/* ==============================================
   STYLE.CSS — Complément au CDN Tailwind CSS
   Landing page freelance création web
   ============================================== */

/* -----------------------------------------------
   0. RESET & BASE
----------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #F8F9FB;
  color: #1A1A2E;
}

/* -----------------------------------------------
   1. NAVIGATION
----------------------------------------------- */
.nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(59, 91, 219, 0.08);
}

.btn-nav {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 1.1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #3B5BDB;
  border: 1.5px solid #3B5BDB;
  border-radius: 999px;
  transition: background-color 0.18s ease, color 0.18s ease;
  text-decoration: none;
}

.btn-nav:hover {
  background-color: #3B5BDB;
  color: #ffffff;
}

/* -----------------------------------------------
   2. HERO SECTION
----------------------------------------------- */
.hero-section {
  position: relative;
  overflow: hidden;
  background-color: #F8F9FB;
}

/* Forme diagonale décorative en fond du hero */
.hero-bg-shape {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    150deg,
    #EEF2FF 0%,
    #F8F9FB 45%,
    #F8F9FB 100%
  );
  z-index: 0;
}

/* Badge pill "Sans abonnement" */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #3B5BDB;
  background-color: #EEF2FF;
  border: 1px solid rgba(59, 91, 219, 0.2);
  border-radius: 999px;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #3B5BDB;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(1.3); }
}

/* Titre hero */
.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #1A1A2E;
}

/* Sous-titre hero */
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 400;
  line-height: 1.65;
  color: #4A4A6A;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* -----------------------------------------------
   3. BOUTONS CTA
----------------------------------------------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 0.8rem 1.75rem;
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  background-color: #3B5BDB;
  border-radius: 12px;
  text-decoration: none;
  transition: background-color 0.18s ease, transform 0.15s ease, box-shadow 0.18s ease;
  box-shadow: 0 4px 16px rgba(59, 91, 219, 0.3);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: #2F4AC4;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(59, 91, 219, 0.38);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-primary--large {
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
  border-radius: 14px;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 0.8rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  color: #4A4A6A;
  background-color: transparent;
  border: 1.5px solid #D4D8E8;
  border-radius: 12px;
  text-decoration: none;
  transition: border-color 0.18s ease, color 0.18s ease;
}

.btn-ghost:hover {
  border-color: #3B5BDB;
  color: #3B5BDB;
}

/* -----------------------------------------------
   4. SECTIONS COMMUNES
----------------------------------------------- */
.section-pad {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #3B5BDB;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: #1A1A2E;
}

.section-subtitle {
  font-size: 1rem;
  color: #4A4A6A;
  line-height: 1.65;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* -----------------------------------------------
   5. CARTES AVANTAGES
----------------------------------------------- */
.avantage-card {
  padding: 2rem;
  background-color: #F8F9FB;
  border: 1px solid #E8EAF4;
  border-radius: 20px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.avantage-card:hover {
  box-shadow: 0 8px 32px rgba(59, 91, 219, 0.1);
  transform: translateY(-4px);
}

/* Variante mise en avant (carte centrale) */
.avantage-card--featured {
  background-color: #3B5BDB;
  border-color: #3B5BDB;
}

.avantage-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background-color: #EEF2FF;
  border-radius: 12px;
  color: #3B5BDB;
  margin-bottom: 1.25rem;
}

.avantage-icon--featured {
  background-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.avantage-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1A1A2E;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

.avantage-title--featured {
  color: #ffffff;
}

.avantage-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #4A4A6A;
}

.avantage-text--featured {
  color: rgba(255, 255, 255, 0.85);
}

/* -----------------------------------------------
   6. BLOC PRIX
----------------------------------------------- */
.prix-card {
  background-color: #ffffff;
  border: 1px solid #E8EAF4;
  border-radius: 28px;
  padding: 3rem 2.5rem;
  text-align: center;
  box-shadow: 0 12px 48px rgba(59, 91, 219, 0.08);
}

/* Le grand chiffre — signature de la section */
.prix-montant {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.prix-chiffre {
  font-size: clamp(5rem, 15vw, 9rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  color: #1A1A2E;
  line-height: 0.9;
}

.prix-devise {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #3B5BDB;
  margin-top: 0.6rem;
  margin-left: 0.25rem;
}

.prix-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: #8888AA;
  letter-spacing: 0.03em;
  margin-bottom: 1.75rem;
}

.prix-divider {
  width: 48px;
  height: 3px;
  background-color: #EEF2FF;
  border-radius: 999px;
  margin: 0 auto 1.75rem;
}

/* Liste des inclus */
.prix-liste {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.prix-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.975rem;
  color: #1A1A2E;
  line-height: 1.5;
}

.prix-check {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background-color: #EEF2FF;
  color: #3B5BDB;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
  margin-top: 1px;
}

/* -----------------------------------------------
   7. FORMULAIRE DE CONTACT
----------------------------------------------- */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1A1A2E;
}

.form-input {
  width: 100%;
  padding: 0.85rem 1.1rem;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  color: #1A1A2E;
  background-color: #F8F9FB;
  border: 1.5px solid #D4D8E8;
  border-radius: 12px;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.form-input::placeholder {
  color: #AAAAC0;
}

.form-input:focus {
  border-color: #3B5BDB;
  box-shadow: 0 0 0 4px rgba(59, 91, 219, 0.12);
  background-color: #ffffff;
}

.form-note {
  text-align: center;
  font-size: 0.8rem;
  color: #8888AA;
  margin-top: 0.5rem;
}

/* -----------------------------------------------
   8. FOOTER
----------------------------------------------- */
.footer {
  background-color: #F8F9FB;
  border-top: 1px solid #E8EAF4;
}

/* -----------------------------------------------
   9. ACCESSIBILITÉ — Focus visible au clavier
----------------------------------------------- */
:focus-visible {
  outline: 2.5px solid #3B5BDB;
  outline-offset: 3px;
  border-radius: 4px;
}


/*----------------------------------------------
        logo dans le footer et la nav
-----------------------------------------------*/
.logo_image {
  height: 10rem;
  width: auto;
  display: inline-block;
  vertical-align: middle;
  margin-top: 0.5rem;
}

/* -----------------------------------------------
   10. MOTION RÉDUITE — Respect des préférences
----------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* Petit correctif visuel */
.prix-liste {
  max-width: 450px;
  margin: 2rem auto 0 auto;
}