/* ============================================================
   Call Lead — Landing page
   Charte : marine #0F2A43 · émeraude #10B981 (actions/accents)
   fond clair #F5F9F7 · gris #5B6472 · blanc
   Typo : Manrope (titres) · Inter (texte)
   ============================================================ */

:root {
  --marine: #0F2A43;
  --emeraude: #10B981;
  --emeraude-fonce: #0DA271;
  --fond: #F5F9F7;
  --gris: #5B6472;
  --blanc: #FFFFFF;
  --bordure: #E3EAE6;
  --titres: 'Manrope', 'Segoe UI', system-ui, sans-serif;
  --texte: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 42, 67, 0.08);
  --shadow-sm: 0 4px 14px rgba(15, 42, 67, 0.06);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--texte);
  font-size: 17px;
  line-height: 1.6;
  color: var(--marine);
  background: var(--blanc);
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }

h1, h2, h3, h4 { font-family: var(--titres); letter-spacing: -0.02em; line-height: 1.15; }

h1 { font-weight: 800; font-size: clamp(2.1rem, 5.2vw, 3.6rem); }
h2 { font-weight: 800; font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-weight: 700; font-size: 1.2rem; }
h4 { font-weight: 700; font-size: 1.05rem; }

p { color: var(--gris); }

.container { width: min(1160px, 92%); margin: 0 auto; }

.section { padding: 88px 0; }

.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-head h2 { color: var(--marine); margin-bottom: 14px; }
.section-lede { font-size: 1.06rem; }

.kicker {
  font-family: var(--texte);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--emeraude);
  margin-bottom: 12px;
}
.kicker-light { color: var(--emeraude); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-block;
  font-family: var(--titres);
  font-weight: 700;
  text-decoration: none;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  text-align: center;
}
.btn-primary {
  background: var(--emeraude);
  color: var(--blanc);
  padding: 13px 26px;
  font-size: 1rem;
}
.btn-primary:hover { background: var(--emeraude-fonce); transform: translateY(-1px); }
.btn-lg { padding: 16px 32px; font-size: 1.06rem; }
.btn-ghost {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--blanc);
  padding: 14px 28px;
  font-size: 1.02rem;
}
.btn-ghost:hover { border-color: var(--blanc); background: rgba(255, 255, 255, 0.08); }
.btn-block { display: block; width: 100%; }
.btn-header { padding: 10px 20px; font-size: 0.92rem; }

/* ---------- Icônes ---------- */
.icon-badge {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.1);
  color: var(--emeraude);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.icon-badge svg { width: 24px; height: 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--bordure);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 16px 0;
}
.logo {
  font-family: var(--titres);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  text-decoration: none;
  line-height: 1;
}
.logo-call { color: var(--marine); }
.logo-call-light { color: var(--blanc); }
.logo-lead { color: var(--emeraude); }
.main-nav { display: flex; gap: 26px; margin-left: auto; }
.main-nav a {
  color: var(--marine);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}
.main-nav a:hover { color: var(--emeraude); }
.nav-toggle { display: none; }

/* ---------- Héros ---------- */
.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--marine);
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(15, 42, 67, 0.92) 0%, rgba(15, 42, 67, 0.72) 55%, rgba(15, 42, 67, 0.45) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 120px 0;
  max-width: 720px;
  margin-left: calc((100% - min(1160px, 92%)) / 2);
}
.hero-kicker {
  display: inline-block;
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--blanc);
  background: rgba(16, 185, 129, 0.22);
  border: 1px solid rgba(16, 185, 129, 0.5);
  border-radius: 999px;
  padding: 7px 16px;
  margin-bottom: 22px;
}
.hero h1 { color: var(--blanc); margin-bottom: 18px; }
.hero-sub {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.12rem;
  max-width: 560px;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Douleur ---------- */
.pain { background: var(--blanc); }
.pain-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: stretch;
}
.pain-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.pain-photo img { width: 100%; height: 100%; object-fit: cover; }
.pain-cards { display: flex; flex-direction: column; gap: 18px; }
.pain-card {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 18px;
  background: var(--fond);
  border: 1px solid var(--bordure);
  border-radius: var(--radius);
  padding: 24px;
}
.pain-card h3 { grid-column: 2; margin-bottom: 6px; }
.pain-card p { grid-column: 2; font-size: 0.98rem; }
.pain-card .icon-badge { grid-row: 1 / span 2; }

/* ---------- Parcours (pièce centrale) ---------- */
.journey { background: var(--fond); }
.phase {
  background: var(--blanc);
  border: 1px solid var(--bordure);
  border-radius: 18px;
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.phase-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.phase-tag {
  font-family: var(--texte);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blanc);
  background: var(--marine);
  border-radius: 999px;
  padding: 7px 16px;
}
.phase-tag-growth { background: var(--emeraude); }
.phase-header h3 { font-size: 1.3rem; }

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 34px 1fr 34px 1fr 34px 1fr;
  gap: 12px;
  align-items: stretch;
}
.step {
  position: relative;
  background: var(--fond);
  border: 1px solid var(--bordure);
  border-radius: var(--radius);
  padding: 24px 20px 20px;
}
.step-num {
  position: absolute;
  top: -13px;
  left: 20px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--marine);
  color: var(--blanc);
  font-family: var(--titres);
  font-weight: 800;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step .icon-badge { margin-bottom: 14px; }
.step h4 { margin-bottom: 8px; }
.step p { font-size: 0.92rem; }
.step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emeraude);
}
.step-arrow svg { width: 26px; height: 26px; }

.phase-transition {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  padding: 26px 0;
}
.phase-transition .down-arrow { width: 30px; height: 30px; color: var(--emeraude); }
.phase-transition p {
  font-family: var(--titres);
  font-weight: 700;
  color: var(--marine);
  font-size: 1.06rem;
}

.growth-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.growth-card {
  background: var(--fond);
  border: 1px solid var(--bordure);
  border-radius: var(--radius);
  padding: 24px 20px;
}
.growth-card .icon-badge { margin-bottom: 14px; }
.growth-card h4 { margin-bottom: 8px; }
.growth-card p { font-size: 0.92rem; }

.journey-cta {
  text-align: center;
  margin-top: 44px;
}
.journey-cta p {
  font-family: var(--titres);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--marine);
  margin-bottom: 18px;
}

/* ---------- Vidéo de présentation ---------- */
.video-section {
  position: relative;
  padding: 130px 0;
  overflow: hidden;
  background: var(--marine);
}
.video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 42, 67, 0.93) 0%, rgba(15, 42, 67, 0.75) 60%, rgba(15, 42, 67, 0.5) 100%);
}
.video-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin-left: calc((100% - min(1160px, 92%)) / 2);
}
.video-content h2 { color: var(--blanc); margin-bottom: 16px; }
.video-content p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.08rem;
  margin-bottom: 28px;
}

/* ---------- Poste de pilotage ---------- */
.cockpit { background: var(--blanc); }
.dash-shot {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--bordure);
  box-shadow: var(--shadow);
  margin-bottom: 48px;
  background: var(--blanc);
}
.dash-chrome {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--marine);
  padding: 12px 18px;
}
.chrome-pill {
  font-family: var(--texte);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 6px 20px;
}
.dash-scroll { overflow-x: auto; }
.dash-scroll img { width: 100%; }

.cockpit-points {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cockpit-points li { padding: 8px 4px; }
.cockpit-points .icon-badge { margin-bottom: 14px; }
.cockpit-points h3 { margin-bottom: 8px; font-size: 1.1rem; }
.cockpit-points p { font-size: 0.95rem; }

/* ---------- Ce qui est inclus ---------- */
.included { background: var(--fond); }
.included-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.included-card {
  background: var(--blanc);
  border: 1px solid var(--bordure);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
}
.included-card .icon-badge { margin-bottom: 14px; }
.included-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.included-card p { font-size: 0.94rem; }

/* ---------- Le calcul ---------- */
.calc {
  background: var(--marine);
  padding: 96px 0;
}
.calc-inner { text-align: center; }
.calc h2 { color: var(--blanc); margin-bottom: 36px; }
.calc-grid {
  display: grid;
  grid-template-columns: 1fr 70px 1fr;
  gap: 20px;
  align-items: center;
  max-width: 920px;
  margin: 0 auto 40px;
}
.calc-block {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 28px;
  text-align: left;
}
.calc-block p { color: rgba(255, 255, 255, 0.88); font-size: 1.02rem; }
.calc-block strong { color: var(--emeraude); }
.calc-vs { display: flex; justify-content: center; color: var(--emeraude); }
.calc-vs svg { width: 36px; height: 36px; }

/* ---------- Échéance ---------- */
.deadline { background: var(--blanc); }
.deadline-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 36px;
  align-items: center;
  background: var(--fond);
  border: 1px solid var(--bordure);
  border-radius: 18px;
  padding: 44px;
}
.deadline-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: var(--marine);
  color: var(--blanc);
  border-radius: var(--radius);
  padding: 26px 30px;
  font-family: var(--titres);
  font-weight: 800;
  font-size: 1.15rem;
  white-space: nowrap;
}
.deadline-badge svg { width: 34px; height: 34px; color: var(--emeraude); }
.deadline-text h2 { margin-bottom: 12px; }
.deadline-text p { font-size: 1.02rem; }

/* ---------- FAQ + Formulaire ---------- */
.faq-form { background: var(--fond); }
.faq-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.faq-col h2 { margin-bottom: 26px; }
.faq-item {
  background: var(--blanc);
  border: 1px solid var(--bordure);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 46px 18px 20px;
  font-family: var(--titres);
  font-weight: 700;
  font-size: 1rem;
  color: var(--marine);
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--emeraude);
  border-bottom: 2px solid var(--emeraude);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq-item p { padding: 0 20px 18px; font-size: 0.96rem; }

.form-card {
  background: var(--blanc);
  border: 1px solid var(--bordure);
  border-radius: 18px;
  padding: 36px;
  box-shadow: var(--shadow);
}
.form-title { font-size: 1.5rem; margin-bottom: 8px; }
.form-lede { margin-bottom: 24px; font-size: 0.98rem; }
.form-row { margin-bottom: 16px; }
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.audit-form label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--marine);
  margin-bottom: 6px;
}
.audit-form input,
.audit-form select {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--bordure);
  border-radius: 10px;
  font-family: var(--texte);
  font-size: 0.95rem;
  color: var(--marine);
  background: var(--fond);
}
.audit-form input:focus,
.audit-form select:focus {
  outline: 2px solid var(--emeraude);
  outline-offset: 0;
  border-color: var(--emeraude);
  background: var(--blanc);
}
.audit-form input::placeholder { color: #9AA3AD; }
.audit-form .btn { margin-top: 8px; }
.form-note {
  margin-top: 14px;
  font-size: 0.82rem;
  text-align: center;
}
.form-contact {
  margin-top: 10px;
  font-size: 0.88rem;
  text-align: center;
  color: var(--gris);
}
.form-contact a { color: var(--emeraude-fonce); font-weight: 600; text-decoration: none; }
.form-contact a:hover { text-decoration: underline; }
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.form-success {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  margin-bottom: 20px;
  background: rgba(16, 185, 129, 0.10);
  border: 1px solid var(--emeraude);
  border-radius: var(--radius);
}
.form-success[hidden] { display: none; }
.form-success svg { width: 24px; height: 24px; color: var(--emeraude-fonce); flex-shrink: 0; }
.form-success p { color: var(--marine); font-weight: 600; margin: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--marine);
  padding: 64px 0 0;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  align-items: start;
  padding-bottom: 44px;
}
.footer-col { min-width: 0; }
.logo-footer { font-size: 1.5rem; margin-bottom: 10px; }
.footer-tagline { color: var(--emeraude); font-weight: 600; font-size: 0.98rem; margin-bottom: 14px; }
.footer-about { color: rgba(255, 255, 255, 0.6); font-size: 0.92rem; line-height: 1.6; max-width: 34ch; }
.footer-heading {
  color: var(--blanc);
  font-family: var(--titres);
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.footer-nav { display: flex; flex-direction: column; gap: 12px; }
.footer-nav a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.2s ease;
}
.footer-nav a:hover { color: var(--emeraude); }
.footer-contact-line { margin-bottom: 8px; }
.footer-contact-line a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}
.footer-contact-line a:hover { color: var(--emeraude); }
.footer-contact-note { color: rgba(255, 255, 255, 0.55); font-size: 0.88rem; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-bottom p { color: rgba(255, 255, 255, 0.5); font-size: 0.85rem; }
.footer-bottom a { color: rgba(255, 255, 255, 0.8); text-decoration: underline; }
.footer-bottom a:hover { color: var(--emeraude); }

/* ---------- Apparition douce ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   TABLETTE (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .section { padding: 68px 0; }

  .steps {
    grid-template-columns: 1fr 1fr;
    gap: 26px 16px;
  }
  .step-arrow { display: none; }

  .growth-grid { grid-template-columns: repeat(2, 1fr); }
  .included-grid { grid-template-columns: repeat(2, 1fr); }
  .cockpit-points { grid-template-columns: 1fr; gap: 18px; }

  .pain-grid { grid-template-columns: 1fr; }
  .pain-photo { max-height: 380px; }

  .faq-form-grid { grid-template-columns: 1fr; }

  .calc-grid { grid-template-columns: 1fr; max-width: 640px; }
  .calc-vs svg { transform: rotate(90deg); }

  .hero-content, .video-content { margin-left: 4%; }

  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px 32px; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ============================================================
   MOBILE (≤ 720px)
   ============================================================ */
@media (max-width: 720px) {
  body { font-size: 16px; }
  h1 { font-size: 2.05rem; }
  h2 { font-size: 1.5rem; }
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 36px; }

  /* Header : menu repliable */
  .btn-header { display: none; }
  .nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-left: auto;
    background: none;
    border: none;
    padding: 6px;
    cursor: pointer;
  }
  .nav-toggle span {
    width: 24px;
    height: 2.5px;
    background: var(--marine);
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--blanc);
    border-bottom: 1px solid var(--bordure);
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 6%; }

  .hero { min-height: 78vh; }
  .hero-content { padding: 90px 0 70px; width: 92%; margin: 0 auto; }
  .hero-sub { font-size: 1.02rem; }
  .hero-actions .btn { width: 100%; }

  /* Parcours : empilement vertical */
  .phase { padding: 24px 18px; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .step-arrow {
    display: flex;
    padding: 0;
  }
  .step-arrow svg { transform: rotate(90deg); width: 22px; height: 22px; }
  .growth-grid { grid-template-columns: 1fr; }
  .phase-header h3 { font-size: 1.12rem; }
  .journey-cta .btn { width: 100%; }

  .video-section { padding: 84px 0; }
  .video-content { width: 92%; margin: 0 auto; }
  .video-content .btn { width: 100%; }

  /* Capture du poste de pilotage : lisible par défilement horizontal */
  .dash-scroll img { width: auto; min-width: 760px; }

  .included-grid { grid-template-columns: 1fr; }

  .deadline-inner {
    grid-template-columns: 1fr;
    padding: 28px 22px;
    text-align: center;
  }
  .deadline-badge { margin: 0 auto; }

  .form-card { padding: 26px 20px; }
  .form-grid-2 { grid-template-columns: 1fr; gap: 0; }

  .calc { padding: 68px 0; }
  .calc .btn { width: 100%; }

  .footer-top { grid-template-columns: 1fr; gap: 34px; text-align: center; }
  .footer-about { margin-left: auto; margin-right: auto; }
  .footer-nav { align-items: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* Très petits écrans */
@media (max-width: 380px) {
  h1 { font-size: 1.8rem; }
  .hero-kicker { font-size: 0.72rem; }
}
