/* ============================================================
   AUTOFLOW — Design system
   Toutes les couleurs, typos et espacements se règlent ICI.
   ============================================================ */

:root {
  /* ---- Couleurs (modifiez ici pour rethèmer tout le site) ---- */
  --bg:            #0a0c10;   /* fond principal (noir anthracite) */
  --bg-raised:     #10141a;   /* fond des sections alternées */
  --surface:       #151a22;   /* cartes */
  --surface-2:     #1b222c;   /* cartes survolées / bordures internes */
  --line:          #232c38;   /* traits & bordures */
  --accent:        #35b8ff;   /* bleu électrique — couleur d'action */
  --accent-strong: #0f9bea;   /* bleu appuyé (hover, dégradés) */
  --accent-glow:   rgba(53, 184, 255, 0.18);
  --text:          #eef3f8;   /* texte principal */
  --text-muted:    #97a5b4;   /* texte secondaire */
  --text-faint:    #5f6c7b;   /* légendes */
  --success:       #35d98a;
  --danger:        #ff5f6b;
  --whatsapp:      #25d366;

  /* ---- Typographies ---- */
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body:    "Barlow", "Helvetica Neue", Arial, sans-serif;

  /* ---- Rythme ---- */
  --radius: 14px;
  --radius-sm: 9px;
  --section-pad: clamp(64px, 10vw, 120px);
  --container: 1120px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

::selection { background: var(--accent); color: #04121c; }

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

/* ---- Titres : condensé, majuscules, esprit automobile ---- */
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.04;
}

h1 { font-size: clamp(2.6rem, 7vw, 4.6rem); }
h2 { font-size: clamp(2rem, 5vw, 3.2rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.6rem); letter-spacing: 0.02em; }

.accent { color: var(--accent); }

/* Surlignage type "coup de marqueur" sur les mots clés */
.mark {
  background: linear-gradient(180deg, transparent 58%, var(--accent-glow) 58%);
  padding-inline: 2px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.82rem;
  color: var(--accent);
  margin-bottom: 18px;
}
.kicker::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--accent);
}

.section { padding-block: var(--section-pad); position: relative; }
.section--raised { background: var(--bg-raised); border-block: 1px solid var(--line); }

.section-head { max-width: 680px; margin-bottom: clamp(36px, 6vw, 64px); }
.section-head p { color: var(--text-muted); margin-top: 16px; font-size: 1.06rem; }

/* ============================================================
   Boutons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1.02rem;
  padding: 15px 28px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
/* Sur petit écran, les libellés longs peuvent passer à la ligne
   plutôt que de déborder horizontalement */
@media (max-width: 480px) {
  .btn { white-space: normal; text-align: center; }
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #04121c;
  box-shadow: 0 8px 28px -8px var(--accent-glow), 0 0 0 1px rgba(53,184,255,0.35) inset;
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px -8px rgba(53, 184, 255, 0.45);
}

.btn--ghost {
  border-color: var(--line);
  color: var(--text);
  background: rgba(255,255,255,0.02);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn--lg { padding: 18px 34px; font-size: 1.1rem; }

/* ============================================================
   Header / navigation
   ============================================================ */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  transition: background 0.25s ease, border-color 0.25s ease;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(10, 12, 16, 0.86);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.5rem;
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  gap: 9px;
}
.logo__badge {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  display: grid; place-items: center;
  color: #04121c;
  flex-shrink: 0;
}
.logo span em { color: var(--accent); font-style: normal; }

.nav { display: flex; gap: 28px; align-items: center; }
.nav a {
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: color 0.15s ease;
}
.nav a:hover { color: var(--text); }

.header .btn { padding: 11px 20px; font-size: 0.92rem; white-space: nowrap; }

@media (max-width: 860px) {
  .nav { display: none; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 110px;
  padding-bottom: 70px;
  position: relative;
  overflow: hidden;
}

/* Atmosphère : halo bleu + grille technique + grain */
.hero::before {
  content: "";
  position: absolute;
  width: 900px; height: 900px;
  top: -320px; right: -260px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 62%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.16;
  mask-image: radial-gradient(ellipse 90% 70% at 70% 30%, black, transparent 75%);
  pointer-events: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(36px, 6vw, 72px);
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero__sub {
  margin-top: 22px;
  font-size: clamp(1.05rem, 2.4vw, 1.22rem);
  color: var(--text-muted);
  max-width: 560px;
}

.hero__ctas {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__trust {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  color: var(--text-faint);
  font-size: 0.9rem;
}
.hero__trust li { list-style: none; display: flex; align-items: center; gap: 8px; }
.hero__trust svg { color: var(--success); flex-shrink: 0; }

/* Visuel héro : mockup "appel capté" au-dessus d'une image auto */
.hero__visual { position: relative; }
.hero__photo {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  aspect-ratio: 4 / 4.6;
  background: linear-gradient(160deg, #131a24, #0b0e13);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.8);
}
.hero__photo img, .hero__photo svg { width: 100%; height: 100%; object-fit: cover; }

.callcard {
  position: absolute;
  left: -34px; bottom: 34px;
  width: min(300px, 86%);
  background: rgba(18, 23, 30, 0.94);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: 0 24px 60px -18px rgba(0, 0, 0, 0.75);
  animation: floaty 5s ease-in-out infinite;
}
.callcard__top {
  display: flex; align-items: center; gap: 12px;
  padding-bottom: 12px; margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.callcard__dot {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  display: grid; place-items: center; color: #04121c;
  position: relative;
}
.callcard__dot::after {
  content: "";
  position: absolute; inset: -5px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  opacity: 0.5;
  animation: pulse-ring 2s ease-out infinite;
}
.callcard__title { font-weight: 600; font-size: 0.95rem; }
.callcard__sub { font-size: 0.8rem; color: var(--success); }
.callcard__row {
  display: flex; justify-content: space-between;
  font-size: 0.85rem; color: var(--text-muted);
  padding-block: 3px;
}
.callcard__row strong { color: var(--text); font-weight: 600; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes pulse-ring {
  0% { transform: scale(0.9); opacity: 0.6; }
  100% { transform: scale(1.5); opacity: 0; }
}

@media (max-width: 900px) {
  .hero { min-height: auto; padding-top: 120px; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__photo { aspect-ratio: 16 / 11; }
  .callcard { left: 12px; bottom: 16px; }
}

/* ============================================================
   Le problème — chiffres chocs
   ============================================================ */
.pain { text-align: left; }
.pain__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 44px;
}
.stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  position: relative;
  overflow: hidden;
}
.stat::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--accent), transparent);
}
.stat__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  line-height: 1;
  color: var(--accent);
}
.stat__label { margin-top: 10px; color: var(--text-muted); font-size: 0.98rem; }

.pain__punch {
  margin-top: 42px;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.4vw, 2rem);
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text);
  border-left: 3px solid var(--accent);
  padding-left: 20px;
  max-width: 760px;
}
.pain__punch em { color: var(--accent); font-style: normal; }

@media (max-width: 760px) {
  .pain__stats { grid-template-columns: 1fr; }
}

/* ============================================================
   Les 3 piliers
   ============================================================ */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.pillar {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.pillar:hover {
  transform: translateY(-6px);
  border-color: rgba(53, 184, 255, 0.45);
  box-shadow: 0 22px 50px -20px rgba(0, 0, 0, 0.7);
}
.pillar__num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--text-faint);
}
.pillar__icon {
  width: 52px; height: 52px;
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(53,184,255,0.16), rgba(53,184,255,0.05));
  border: 1px solid rgba(53, 184, 255, 0.3);
  display: grid; place-items: center;
  color: var(--accent);
}
.pillar__benefit {
  font-weight: 600;
  color: var(--accent);
  font-size: 0.98rem;
}
.pillar p { color: var(--text-muted); font-size: 0.98rem; }

/* Bandeau fil conducteur */
.thread {
  margin-top: 44px;
  border: 1px dashed rgba(53, 184, 255, 0.4);
  border-radius: var(--radius);
  padding: 26px 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 10px;
  background: rgba(53, 184, 255, 0.04);
  text-align: center;
}
.thread__step {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.06em;
  font-size: clamp(1rem, 2.4vw, 1.25rem);
}
.thread__step small {
  display: block;
  font-family: var(--font-body);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.85rem;
}
.thread__arrow { color: var(--accent); flex-shrink: 0; }

@media (max-width: 900px) {
  .pillars { grid-template-columns: minmax(0, 1fr); }
  .thread { flex-direction: column; }
  .thread__arrow { transform: rotate(90deg); }
}

/* ============================================================
   Focus agent vocal
   ============================================================ */
.agent__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 72px);
  align-items: start;
}

.agent__steps { display: flex; flex-direction: column; gap: 0; margin-top: 34px; }
.astep {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  position: relative;
  padding-bottom: 28px;
}
.astep:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 21px; top: 46px; bottom: 4px;
  width: 2px;
  background: linear-gradient(180deg, var(--line), transparent);
}
.astep__badge {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--accent);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.astep h3 { font-size: 1.15rem; margin-bottom: 4px; }
.astep p { color: var(--text-muted); font-size: 0.97rem; }

/* Simulation de conversation (transcript) */
.phone {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 34px 80px -28px rgba(0, 0, 0, 0.8);
  position: sticky;
  top: 100px;
}
.phone__bar {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}
.phone__bar .callcard__dot { width: 34px; height: 34px; }
.phone__bar-name { font-weight: 600; font-size: 0.95rem; }
.phone__bar-status { font-size: 0.78rem; color: var(--success); display: flex; align-items: center; gap: 6px; }
.phone__bar-status::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--success);
  animation: blink 1.6s ease infinite;
}
@keyframes blink { 50% { opacity: 0.3; } }

.phone__chat {
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 320px;
}
.bubble {
  max-width: 85%;
  padding: 11px 15px;
  border-radius: 15px;
  font-size: 0.92rem;
  line-height: 1.5;
}
/* L'animation des bulles ne masque le contenu que si JS est actif */
.js .bubble {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.js .bubble.is-visible { opacity: 1; transform: none; }
.bubble--client {
  align-self: flex-end;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-bottom-right-radius: 4px;
}
.bubble--ia {
  align-self: flex-start;
  background: linear-gradient(135deg, rgba(53,184,255,0.16), rgba(53,184,255,0.07));
  border: 1px solid rgba(53, 184, 255, 0.3);
  border-bottom-left-radius: 4px;
}
.bubble__who {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 4px;
  color: var(--text-faint);
}
.bubble--ia .bubble__who { color: var(--accent); }

.phone__audio {
  padding: 16px 20px 20px;
  border-top: 1px solid var(--line);
  background: var(--surface-2);
}
.phone__audio p { font-size: 0.82rem; color: var(--text-faint); margin-bottom: 10px; }
.phone__audio audio { width: 100%; height: 40px; }

@media (max-width: 900px) {
  .agent__grid { grid-template-columns: minmax(0, 1fr); }
  .phone { position: static; }
}

/* ============================================================
   Comment ça se passe — 4 étapes
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: step;
}
.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
  counter-increment: step;
}
.step::before {
  content: "0" counter(step);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.6rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(53, 184, 255, 0.55);
  display: block;
  margin-bottom: 16px;
}
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { color: var(--text-muted); font-size: 0.94rem; }

@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* ============================================================
   Résultats / bénéfices
   ============================================================ */
.results {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.result {
  text-align: center;
  padding: 34px 20px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), transparent);
  border: 1px solid var(--line);
}
.result__icon { color: var(--accent); margin-bottom: 14px; display: inline-flex; }
.result__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 4.5vw, 3rem);
  line-height: 1;
}
.result__num span { color: var(--accent); }
.result__label { margin-top: 8px; color: var(--text-muted); font-size: 0.95rem; }

.results__note {
  margin-top: 20px;
  text-align: center;
  color: var(--text-faint);
  font-size: 0.85rem;
}

@media (max-width: 900px) { .results { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .results { grid-template-columns: minmax(0, 1fr); } }

/* ============================================================
   Preuve sociale
   ============================================================ */
.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.review {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.review__stars { color: #ffc233; letter-spacing: 3px; font-size: 1rem; }
.review__text { color: var(--text-muted); font-size: 0.98rem; flex: 1; }
.review__author { display: flex; align-items: center; gap: 12px; }
.review__avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--surface-2), var(--line));
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--accent);
}
.review__name { font-weight: 600; font-size: 0.95rem; }
.review__biz { font-size: 0.82rem; color: var(--text-faint); }

.gbadge {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.gbadge strong { color: var(--text); }

@media (max-width: 900px) { .reviews { grid-template-columns: minmax(0, 1fr); } }

/* ============================================================
   FAQ
   ============================================================ */
.faq { max-width: 760px; margin-inline: auto; }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 4px;
  font-weight: 600;
  font-size: 1.05rem;
  transition: color 0.15s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--accent);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  padding: 0 4px 24px;
  color: var(--text-muted);
  max-width: 640px;
}

/* ============================================================
   CTA final + formulaire
   ============================================================ */
.contact { overflow: hidden; }
.contact::before {
  content: "";
  position: absolute;
  width: 760px; height: 760px;
  bottom: -420px; left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 65%);
  pointer-events: none;
}

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 6vw, 72px);
  align-items: start;
  position: relative;
  z-index: 2;
}

.contact__list { margin-top: 26px; display: flex; flex-direction: column; gap: 16px; }
.contact__list li {
  list-style: none;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: var(--text-muted);
}
.contact__list svg { color: var(--success); flex-shrink: 0; margin-top: 3px; }
.contact__list strong { color: var(--text); }

.contact__direct {
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.98rem;
  color: var(--text-muted);
}
.contact__direct a { color: var(--accent); font-weight: 600; }

/* ---- Formulaire ---- */
.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(26px, 4vw, 40px);
  box-shadow: 0 34px 80px -30px rgba(0, 0, 0, 0.75);
}
.form-card h3 { margin-bottom: 6px; }
.form-card > p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 26px; }

/* Conteneur du formulaire GoHighLevel embarqué (iframe) */
.ghl-form {
  background: #fff;
  border-radius: var(--radius-sm);
  overflow: hidden;
  min-height: 620px; /* évite le saut de page pendant le chargement de l'iframe */
}
.ghl-form iframe { display: block; width: 100%; min-height: 620px; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: 0.84rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
}
.field label .req { color: var(--accent); }
.field input, .field select {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 13px 15px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  width: 100%;
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2397a5b4' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
}
.field input:focus, .field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.field input.is-invalid { border-color: var(--danger); }
.field .error-msg { font-size: 0.8rem; color: var(--danger); display: none; }
.field.has-error .error-msg { display: block; }

/* Honeypot : invisible pour les humains, rempli par les bots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.form-submit { margin-top: 22px; width: 100%; }
.form-note {
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--text-faint);
  text-align: center;
}

/* Message de confirmation */
.form-success {
  display: none;
  text-align: center;
  padding: 40px 10px;
}
.form-success.is-visible { display: block; }
.form-success__icon {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(53, 217, 138, 0.12);
  border: 1px solid rgba(53, 217, 138, 0.4);
  display: grid; place-items: center;
  color: var(--success);
}
.form-success h3 { margin-bottom: 10px; }
.form-success p { color: var(--text-muted); }

.form-error-global {
  display: none;
  margin-top: 16px;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 95, 107, 0.1);
  border: 1px solid rgba(255, 95, 107, 0.35);
  color: var(--danger);
  font-size: 0.9rem;
}
.form-error-global.is-visible { display: block; }

@media (max-width: 900px) {
  .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 110px; /* marge basse pour la barre sticky mobile */
  background: var(--bg-raised);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
}
.footer p, .footer li, .footer a { color: var(--text-muted); font-size: 0.94rem; }
.footer li { list-style: none; padding-block: 4px; }
.footer a:hover { color: var(--accent); }
.footer h4 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.95rem;
  margin-bottom: 14px;
  color: var(--text);
}
.footer__brand p { margin-top: 14px; max-width: 320px; }
.footer__bottom {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  color: var(--text-faint);
  font-size: 0.85rem;
}

@media (max-width: 760px) { .footer__grid { grid-template-columns: minmax(0, 1fr); } }

/* ============================================================
   Boutons flottants (appel + WhatsApp) & CTA sticky mobile
   ============================================================ */
.floaters {
  position: fixed;
  right: 18px;
  bottom: 92px;
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.floater {
  width: 54px; height: 54px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.6);
  transition: transform 0.18s ease;
}
.floater:hover { transform: scale(1.08); }
.floater--call { background: linear-gradient(135deg, var(--accent), var(--accent-strong)); color: #04121c; }
.floater--wa { background: var(--whatsapp); }

.stickycta {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 85;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(10, 12, 16, 0.92);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform 0.3s ease;
}
.stickycta.is-visible { transform: none; }
.stickycta .btn { width: 100%; }

@media (min-width: 861px) {
  .stickycta { display: none; }
  .floaters { bottom: 24px; }
  .footer { padding-bottom: 56px; }
}

/* ============================================================
   Animations d'apparition au scroll
   ============================================================ */
/* Le masquage ne s'applique que si JS est actif (classe "js" sur <html>) :
   sans JS, tout le contenu reste visible. */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js .reveal.is-visible { opacity: 1; transform: none; }
.reveal--d1 { transition-delay: 0.1s; }
.reveal--d2 { transition-delay: 0.2s; }
.reveal--d3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .callcard { animation: none; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
