/* ==========================================================================
   Blabla Devis — site vitrine · feuille de style
   Direction : pro & rassurant · bleu ardoise + vert WhatsApp · motif blueprint
   ========================================================================== */

/* ---------- Design tokens ------------------------------------------------ */
:root {
  /* Couleurs — DA « Messagerie chaleureuse » (crème + vert WhatsApp + ambre) */
  --navy:        #0E3B2D;   /* vert profond : titres + sections sombres */
  --navy-900:    #082C20;   /* vert très foncé : footer / conformité */
  --navy-800:    #135140;
  --ink:         #16312A;   /* texte fort (vert-noir chaud) */
  --slate:       #34453E;   /* texte courant chaud */
  --slate-600:   #4B6157;   /* texte secondaire */
  --slate-500:   #6B7E75;
  --slate-400:   #9CA89F;
  --line:        #E8DDCB;   /* lignes chaudes */
  --line-soft:   #F1E8D8;
  --bg:          #FBF4E9;   /* fond crème chaud (plus de blanc froid) */
  --bg-soft:     #F4EAD9;   /* crème plus saturée (sections alternées) */
  --bg-tint:     #ECE0CC;   /* crème chaude (pastilles d'icônes) */
  --whatsapp:    #25D366;
  --whatsapp-600:#1EBE5A;
  --whatsapp-700:#15A24A;
  --whatsapp-ink:#0A5C2B;
  --wa-bubble-out:#D7F4C8;
  --wa-wallpaper: #E9E2D5;
  --gold:        #F4A93D;   /* ambre : touche chaude secondaire */

  /* Typo */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body:    "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;

  /* Rayons (plus ronds, plus amicaux) */
  --r-sm: 12px;
  --r:    18px;
  --r-lg: 26px;
  --r-xl: 34px;
  --pill: 999px;

  /* Ombres */
  --shadow-xs: 0 1px 2px rgba(15, 42, 67, .06);
  --shadow-sm: 0 2px 8px rgba(15, 42, 67, .06);
  --shadow:    0 10px 30px -12px rgba(15, 42, 67, .18);
  --shadow-lg: 0 30px 60px -24px rgba(15, 42, 67, .28);
  --shadow-phone: 0 50px 90px -30px rgba(10, 30, 50, .45);

  /* Mise en page */
  --maxw: 1160px;
  --gutter: clamp(20px, 5vw, 48px);
  --section-y: clamp(64px, 9vw, 128px);
}

/* ---------- Reset -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  font-family: var(--font-body);
  color: var(--slate);
  background: var(--bg);
  line-height: 1.6;
  font-size: clamp(16px, 1.05vw, 17.5px);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--whatsapp); outline-offset: 3px; border-radius: 6px; }

/* ---------- Typographie -------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.04;
  letter-spacing: -0.02em;
  font-weight: 700;
  overflow-wrap: break-word;
}
h1 { font-size: clamp(2.4rem, 5.6vw, 4.05rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.95rem); }
h3 { font-size: clamp(1.18rem, 1.7vw, 1.4rem); letter-spacing: -0.01em; }
/* Fraunces (serif) pour les gros titres ; Jakarta pour les titres de cartes (lisibilité) */
h3, h4 { font-family: var(--font-body); font-weight: 700; letter-spacing: -0.005em; }
p  { color: var(--slate-600); }
strong { color: var(--ink); font-weight: 700; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .005em;
  color: var(--whatsapp-ink);
  background: rgba(7,94,84,.07);
  border: 1px solid var(--line);
  padding: 7px 15px 7px 10px;
  border-radius: var(--pill);
}
.eyebrow::before {
  content: ""; width: 15px; height: 15px; border-radius: 50%; flex: 0 0 auto;
  background: var(--whatsapp);
  box-shadow: 0 0 0 3px rgba(37,211,102,.18);
}
/* centré : le parent .section__head--center a text-align:center, le tag inline-flex suit */

/* ---------- Utilitaires layout ------------------------------------------ */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section__head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 60px); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head h2 { margin-top: 14px; }
.section__head p { margin-top: 18px; font-size: 1.12rem; }
.lead { font-size: 1.18rem; color: var(--slate-600); }

/* ---------- Boutons ------------------------------------------------------ */
.btn {
  --b: var(--navy);
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: 1rem 1.5rem;
  border-radius: var(--pill);
  font-weight: 700;
  font-size: .98rem;
  letter-spacing: -0.01em;
  border: 1.5px solid transparent;
  transition: transform .18s ease, box-shadow .25s ease, background .2s ease, border-color .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn svg { width: 1.15em; height: 1.15em; }
.btn--wa {
  background: var(--whatsapp);
  color: #06351a;
  box-shadow: 0 12px 24px -10px rgba(37, 211, 102, .65), inset 0 1px 0 rgba(255,255,255,.35);
}
.btn--wa:hover { background: var(--whatsapp-600); transform: translateY(-2px); box-shadow: 0 18px 34px -12px rgba(37, 211, 102, .7); }
/* le vert d'un focus-visible serait invisible sur un bouton vert : on force un anneau contrasté */
.btn--wa:focus-visible { outline: 3px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 6px var(--navy); }
.btn--ghost {
  background: #fff;
  color: var(--navy);
  border-color: var(--line);
  box-shadow: var(--shadow-xs);
}
.btn--ghost:hover { border-color: var(--navy); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn--ghost-light {
  background: rgba(255,255,255,.06);
  color: #fff;
  border-color: rgba(255,255,255,.28);
}
.btn--ghost-light:hover { background: rgba(255,255,255,.14); transform: translateY(-2px); }
.btn--lg { padding: 1.15rem 1.9rem; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* ---------- En-tête / nav ------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease, background .3s ease;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-xs); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a { color: var(--slate); font-weight: 600; font-size: .96rem; position: relative; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--whatsapp); border-radius: 2px; transition: width .22s ease;
}
.nav__links a:hover { color: var(--navy); }
.nav__links a:hover::after { width: 100%; }
.nav__cta { display: flex; align-items: center; gap: 14px; }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--font-display); font-weight: 800; font-size: 1.42rem; color: var(--navy); letter-spacing: -0.03em; }
.logo__mark { width: 34px; height: 34px; flex: 0 0 auto; }
.logo__accent { color: var(--whatsapp-ink); font-weight: 800; }
.footer__brand .logo__accent { color: var(--whatsapp); }

/* Burger */
.burger {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px;
  background: #fff; padding: 0; place-items: center;
}
.burger span { display: block; width: 20px; height: 2px; background: var(--navy); border-radius: 2px; position: relative; transition: transform .25s ease, opacity .2s ease; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .25s ease; }
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.nav.is-open .burger span { background: transparent; }
.nav.is-open .burger span::before { transform: translateY(6px) rotate(45deg); }
.nav.is-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero --------------------------------------------------------- */
.hero {
  position: relative; padding-top: clamp(48px, 7vw, 92px); padding-bottom: var(--section-y); overflow: hidden;
  background:
    radial-gradient(1100px 700px at 80% -10%, #FFFBF4, transparent 55%),
    radial-gradient(900px 900px at -5% 115%, #FFF6E8, transparent 50%),
    var(--bg);
}
.hero::before { /* texture à pois (chaleureuse) au lieu de la grille technique */
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-image: radial-gradient(rgba(7,94,84,.06) 1.4px, transparent 1.4px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(120% 90% at 60% 15%, #000 30%, transparent 75%);
          mask-image: radial-gradient(120% 90% at 60% 15%, #000 30%, transparent 75%);
}
.hero::after { /* halo vert discret */
  content: ""; position: absolute; z-index: 0; width: 620px; height: 620px; right: -180px; top: -160px;
  background: radial-gradient(circle, rgba(37,211,102,.16), transparent 62%);
  pointer-events: none;
}
/* bulles flottantes décoratives (personnalité « messagerie ») */
.hero-blobs { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hb { position: absolute; border-radius: 50% 50% 50% 16px; }
.hb1 { width: 120px; height: 120px; left: -32px; top: 132px; background: #FBE2BD; border-radius: 50% 50% 16px 50%; opacity: .55; }
.hb2 { width: 64px; height: 64px; left: 64px; bottom: 78px; background: #CDEEDE; opacity: .85; }
.hb3 { width: 40px; height: 40px; left: 39%; top: 56px; background: #FFD9D0; opacity: .6; border-radius: 50% 50% 14px 50%; }
.hb4 { width: 22px; height: 22px; left: 31%; bottom: 120px; background: var(--whatsapp); opacity: .2; }
.hb5 { width: 16px; height: 16px; left: 47%; top: 38px; background: var(--gold); opacity: .55; border-radius: 50% 50% 50% 6px; }
.hb-dots { position: absolute; left: 7%; top: 52%; display: flex; gap: 9px; }
.hb-dots span { width: 9px; height: 9px; border-radius: 50%; background: var(--whatsapp); opacity: .3; }
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__inner > * { min-width: 0; }
.hero__title { margin-top: 22px; }
.hero__title .accent { color: var(--whatsapp-ink); position: relative; white-space: nowrap; }
.hero__title .accent::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .08em; height: .34em; z-index: -1;
  background: rgba(37,211,102,.26); border-radius: 4px; transform: rotate(-.6deg);
}
.hero__sub { margin-top: 24px; font-size: 1.2rem; max-width: 30em; }
.hero__actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__micro { margin-top: 18px; display: flex; align-items: center; gap: .5rem; font-size: .92rem; color: var(--slate-500); font-weight: 600; }
.hero__micro svg { width: 1.1em; height: 1.1em; color: var(--whatsapp-600); flex: 0 0 auto; }

.trust-strip {
  position: relative; z-index: 1; margin-top: clamp(40px, 6vw, 64px);
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  padding: 16px 22px; border-radius: var(--pill);
  background: var(--bg-soft); border: 1px solid var(--line);
  font-weight: 700; color: var(--navy); width: fit-content;
}
.trust-strip svg { width: 22px; height: 22px; color: var(--whatsapp-600); flex: 0 0 auto; }
.trust-strip small { font-weight: 500; color: var(--slate-600); }

/* ---------- Maquette téléphone (WhatsApp) -------------------------------- */
.phone-stage { position: relative; display: flex; justify-content: center; }
.phone-stage__deco {
  position: absolute; inset: -6% -10% -10% -10%; z-index: 0; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(15,42,67,.07), transparent 70%);
}
.phone {
  position: relative; z-index: 1; width: min(330px, 78vw); aspect-ratio: 9 / 18.6;
  background: #0c1726; border-radius: 46px; padding: 12px;
  box-shadow: var(--shadow-phone), inset 0 0 0 2px rgba(255,255,255,.06);
}
.phone__notch { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 120px; height: 26px; background: #0c1726; border-radius: 0 0 16px 16px; z-index: 5; }
.phone__screen { position: relative; height: 100%; border-radius: 36px; overflow: hidden; background: var(--wa-wallpaper); display: flex; flex-direction: column; }

.wa__bar { display: flex; align-items: center; gap: 10px; padding: 42px 14px 12px; background: #075E54; color: #fff; }
.wa__back { font-size: 1.2rem; opacity: .9; }
.wa__avatar { width: 38px; height: 38px; border-radius: 50%; background: #fff; display: grid; place-items: center; flex: 0 0 auto; }
.wa__avatar svg { width: 22px; height: 22px; }
.wa__peer { display: flex; flex-direction: column; line-height: 1.2; }
.wa__peer strong { color: #fff; font-size: .98rem; font-family: var(--font-display); white-space: nowrap; }
.wa__peer span { font-size: .72rem; color: rgba(255,255,255,.75); }
.wa__verified { display: inline-block; width: 14px; height: 14px; color: #25D366; vertical-align: -2px; margin-left: 3px; }

.wa__body {
  flex: 1; padding: 16px 14px; display: flex; flex-direction: column; gap: 12px; justify-content: flex-end; overflow: hidden;
  background:
    linear-gradient(rgba(233,225,216,.92), rgba(233,225,216,.92)),
    radial-gradient(circle at 20% 10%, rgba(15,42,67,.05) 0 2px, transparent 3px),
    radial-gradient(circle at 70% 60%, rgba(15,42,67,.05) 0 2px, transparent 3px);
  background-size: auto, 60px 60px, 80px 80px;
}
.wa__day { align-self: center; background: rgba(225,245,254,.92); color: #4a6b7a; font-size: .68rem; font-weight: 600; padding: 4px 12px; border-radius: 8px; box-shadow: var(--shadow-xs); }

.bubble { max-width: 84%; padding: 9px 11px 7px; border-radius: 12px; font-size: .82rem; color: #0f2a2a; box-shadow: 0 1px 1px rgba(0,0,0,.08); position: relative; }
.bubble time { display: block; text-align: right; font-size: .62rem; color: #66867a; margin-top: 3px; }
.bubble--out { align-self: flex-end; background: var(--wa-bubble-out); border-top-right-radius: 3px; }
.bubble--in  { align-self: flex-start; background: #fff; border-top-left-radius: 3px; }

/* note vocale */
.voice { display: flex; align-items: center; gap: 9px; min-width: 190px; }
.voice__play { width: 26px; height: 26px; border-radius: 50%; background: #128C7E; display: grid; place-items: center; flex: 0 0 auto; }
.voice__play svg { width: 12px; height: 12px; color: #fff; }
.wave { display: flex; align-items: center; gap: 2.5px; height: 22px; flex: 1; }
.wave span { width: 2.5px; border-radius: 2px; background: #94b3a9; animation: wave 1.3s ease-in-out infinite; }
.voice__dur { font-size: .68rem; color: #66867a; }
@keyframes wave { 0%,100% { transform: scaleY(.4); } 50% { transform: scaleY(1); } }

/* carte PDF */
.pdf-card { display: flex; align-items: center; gap: 10px; background: #f6f6f2; border-radius: 8px; padding: 8px; margin-bottom: 6px; }
.pdf-card__ico { width: 34px; height: 40px; border-radius: 5px; background: #E84C3D; color: #fff; display: grid; place-items: center; font-size: .54rem; font-weight: 800; flex: 0 0 auto; letter-spacing: .02em; }
.pdf-card__meta strong { display: block; font-size: .76rem; color: #0f2a2a; }
.pdf-card__meta span { font-size: .66rem; color: #7a8a86; }

/* badge « même numéro » sur le devis mis à jour */
.tag-same { font-size: .6rem; background: rgba(15,42,67,.09); color: #0f2a43; padding: 1px 6px; border-radius: 6px; margin-left: 2px; white-space: nowrap; vertical-align: 1px; }

/* indicateur « Blabla Devis écrit… » */
.typing { display: none; align-self: flex-start; background: #fff; border-radius: 12px; border-top-left-radius: 3px; padding: 11px 13px; box-shadow: 0 1px 1px rgba(0,0,0,.08); }
.typing span { display: inline-block; width: 6px; height: 6px; margin: 0 1.5px; border-radius: 50%; background: #9aa7a2; animation: typing 1.25s infinite; }
.typing span:nth-child(2) { animation-delay: .18s; }
.typing span:nth-child(3) { animation-delay: .36s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .45; } 30% { transform: translateY(-4px); opacity: 1; } }

/* mode animé : chaque message apparaît à son tour (JS pilote display + .show) */
.wa__body.chat--anim .step { display: none; opacity: 0; transform: translateY(12px) scale(.96); transition: opacity .42s cubic-bezier(.2,.8,.3,1), transform .42s cubic-bezier(.2,.8,.3,1); }
.wa__body.chat--anim .step.show { opacity: 1; transform: none; }

/* ---------- Bandeau métiers ---------------------------------------------- */
.trades { background: var(--navy); color: #fff; padding-block: clamp(28px, 4vw, 42px); }
.trades__inner { display: flex; align-items: center; justify-content: center; gap: clamp(18px, 4vw, 52px); flex-wrap: wrap; }
.trades__label { font-weight: 700; color: rgba(255,255,255,.62); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; }
.trade { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.05rem, 2vw, 1.32rem); color: #fff; }
.trade svg { width: 22px; height: 22px; color: var(--whatsapp); flex: 0 0 auto; }
.trade--more { color: rgba(255,255,255,.62); font-style: italic; font-weight: 500; }

/* ---------- Bande de réassurance ----------------------------------------- */
.proof { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.proof .container { padding-block: clamp(22px, 3.4vw, 36px); }
.proof__line { text-align: center; font-family: var(--font-display); font-weight: 600; letter-spacing: -0.01em; font-size: clamp(1.05rem, 2.2vw, 1.5rem); color: var(--navy); }
.proof__line strong { color: var(--whatsapp-ink); }

/* ---------- Étapes ------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 34px); counter-reset: step; }
.step { position: relative; padding: 30px 26px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r-lg); }
.step__num { counter-increment: step; font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--navy); color: #fff; }
.step__num::before { content: "0" counter(step); }
.step h3 { margin: 20px 0 10px; }
.step p { font-size: .98rem; }
.step .quote { display: inline-block; margin-top: 12px; font-style: italic; color: var(--whatsapp-ink); background: rgba(37,211,102,.1); padding: 6px 12px; border-radius: 10px; font-size: .9rem; }

/* ---------- Bénéfices ---------------------------------------------------- */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); }
.benefit { padding: 28px 26px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease; }
.benefit:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--bg-tint); }
.benefit__ico { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--bg-tint); color: var(--navy); margin-bottom: 18px; }
.benefit__ico svg { width: 26px; height: 26px; }
.benefit h3 { margin-bottom: 9px; }
.benefit p { font-size: .97rem; }

/* ---------- Section conformité (sombre) ---------------------------------- */
.compliance { position: relative; background: var(--navy-900); color: #fff; overflow: hidden; }
.compliance::before { content: ""; position: absolute; inset: 0; opacity: .7;
  background-image: radial-gradient(rgba(255,255,255,.05) 1.4px, transparent 1.4px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(120% 90% at 15% 10%, #000, transparent 70%);
          mask-image: radial-gradient(120% 90% at 15% 10%, #000, transparent 70%);
}
.compliance__grid { position: relative; z-index: 1; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.compliance h2 { color: #fff; }
.compliance .eyebrow { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color: #b8f5cf; }
.compliance__lead { color: rgba(255,255,255,.74); font-size: 1.12rem; margin-top: 18px; }
.compliance__badge { display: inline-flex; align-items: center; gap: .6rem; margin-top: 26px; padding: 10px 16px; border-radius: var(--pill); background: rgba(37,211,102,.14); border: 1px solid rgba(37,211,102,.34); color: #b8f5cf; font-weight: 700; font-size: .9rem; }
.compliance__badge svg { width: 18px; height: 18px; }
.check-list { display: grid; gap: 14px; }
.check-item { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: var(--r); }
.check-item__tick { flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; background: var(--whatsapp); color: #06351a; display: grid; place-items: center; margin-top: 1px; }
.check-item__tick svg { width: 16px; height: 16px; }
.check-item strong { color: #fff; display: block; margin-bottom: 2px; }
.check-item p { color: rgba(255,255,255,.66); font-size: .92rem; margin: 0; }

/* ---------- Tarif -------------------------------------------------------- */
.pricing { background: var(--bg-soft); }
.price-card { max-width: 460px; margin-inline: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(30px, 4vw, 46px); box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.price-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: linear-gradient(90deg, var(--whatsapp), var(--navy)); }
.price-card__tag { display: inline-block; font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--whatsapp-ink); background: rgba(37,211,102,.12); padding: 5px 12px; border-radius: var(--pill); }
.price-card__amount { display: flex; align-items: baseline; gap: .35rem; margin: 22px 0 4px; }
.price-card__amount .num { font-family: var(--font-display); font-weight: 800; font-size: 4rem; color: var(--navy); letter-spacing: -0.03em; line-height: 1; }
.price-card__amount .per { color: var(--slate-500); font-weight: 600; }
.price-card__note { color: var(--slate-500); font-size: .95rem; }
.price-features { list-style: none; padding: 0; margin: 26px 0; display: grid; gap: 13px; }
.price-features li { display: flex; align-items: center; gap: 12px; font-weight: 500; color: var(--ink); }
.price-features svg { width: 20px; height: 20px; color: var(--whatsapp-600); flex: 0 0 auto; }
.price-card__trial { text-align: center; margin-top: 16px; font-size: .9rem; color: var(--slate-500); }

/* ---------- FAQ ---------------------------------------------------------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; text-align: left; background: none; border: 0; padding: 24px 4px; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.05rem, 1.7vw, 1.22rem); color: var(--navy); }
.faq__icon { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; transition: transform .25s ease, background .2s ease, border-color .2s ease; position: relative; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; background: var(--navy); border-radius: 2px; transition: opacity .2s ease, background .2s; }
.faq__icon::before { width: 12px; height: 2px; }
.faq__icon::after { width: 2px; height: 12px; }
.faq__item.is-open .faq__icon { background: var(--whatsapp); border-color: var(--whatsapp); transform: rotate(180deg); }
.faq__item.is-open .faq__icon::before, .faq__item.is-open .faq__icon::after { background: #06351a; }
.faq__item.is-open .faq__icon::after { opacity: 0; }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq__a p { padding: 0 4px 24px; max-width: 70ch; }

/* ---------- CTA final ---------------------------------------------------- */
.cta-final { position: relative; }
.cta-final__box { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-800) 100%); color: #fff; border-radius: var(--r-xl); padding: clamp(40px, 6vw, 80px) var(--gutter); text-align: center; }
.cta-final__box::before { content: ""; position: absolute; width: 460px; height: 460px; right: -120px; bottom: -180px; background: radial-gradient(circle, rgba(37,211,102,.22), transparent 65%); }
.cta-final__box::after { content: ""; position: absolute; inset: 0; opacity: .7;
  background-image: radial-gradient(rgba(255,255,255,.05) 1.4px, transparent 1.4px); background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(80% 80% at 80% 20%, #000, transparent 70%); mask-image: radial-gradient(80% 80% at 80% 20%, #000, transparent 70%); }
.cta-final__box > * { position: relative; z-index: 1; }
.cta-final h2 { color: #fff; }
.cta-final p { color: rgba(255,255,255,.78); font-size: 1.15rem; margin: 18px auto 32px; max-width: 38ch; }
.cta-final .hero__actions { justify-content: center; }

/* ---------- Formulaire démo / modale ------------------------------------ */
.modal { position: fixed; inset: 0; z-index: 100; display: none; place-items: center; padding: 20px; }
.modal.is-open { display: grid; }
.modal__overlay { position: absolute; inset: 0; background: rgba(10,30,50,.55); backdrop-filter: blur(4px); animation: fade .25s ease; }
.modal__panel { position: relative; z-index: 1; width: min(480px, 100%); background: #fff; border-radius: var(--r-lg); padding: clamp(28px, 4vw, 40px); box-shadow: var(--shadow-lg); animation: pop .3s cubic-bezier(.2,.9,.3,1.2); max-height: 92vh; overflow-y: auto; }
.modal__close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--slate); display: grid; place-items: center; font-size: 1.1rem; }
.modal__close:hover { background: var(--bg-soft); }
.modal h3 { font-size: 1.5rem; }
.modal > .modal__panel > p { margin-top: 8px; font-size: .97rem; }
.field { display: block; margin-top: 18px; }
.field span { display: block; font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  font: inherit; color: var(--ink); background: #fff; transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--whatsapp); box-shadow: 0 0 0 3px rgba(37,211,102,.18); }
.field textarea { resize: vertical; min-height: 90px; }
.form-note { margin-top: 14px; font-size: .82rem; color: var(--slate-500); text-align: center; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.97); } }

/* ---------- Footer ------------------------------------------------------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.7); padding-block: clamp(48px, 6vw, 72px) 28px; }
.footer__top { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.footer__brand .logo { color: #fff; }
.footer__brand p { color: rgba(255,255,255,.55); margin-top: 16px; max-width: 30ch; font-size: .95rem; }
.footer__col h4 { color: #fff; font-family: var(--font-body); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.footer__col ul { list-style: none; padding: 0; display: grid; gap: 11px; }
.footer__col a { color: rgba(255,255,255,.66); font-size: .95rem; transition: color .2s ease; }
.footer__col a:hover { color: var(--whatsapp); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: .86rem; color: rgba(255,255,255,.5); }

/* Logo mark coloring inside footer */
.footer__brand .logo__mark .vx-wave { stroke: var(--whatsapp); }

/* ---------- Liste à coches (réutilisable) -------------------------------- */
.ticklist { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.ticklist li { display: flex; align-items: center; gap: 12px; font-weight: 500; color: var(--ink); }
.ticklist svg { width: 20px; height: 20px; color: var(--whatsapp-600); flex: 0 0 auto; }

/* ---------- Aperçu devis (document) -------------------------------------- */
.devis-preview__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.devis-doc { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px 26px 22px; box-shadow: var(--shadow-lg); color: #33414f; position: relative; transform: rotate(-1.2deg); transition: transform .35s ease; }
.devis-doc:hover { transform: rotate(0deg); }
.devis-doc::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; border-radius: 14px 14px 0 0; background: linear-gradient(90deg, var(--whatsapp), var(--navy)); }
.devis-doc__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-top: 6px; }
.devis-doc__co strong { display: block; font-family: var(--font-display); font-size: 1rem; color: var(--navy); letter-spacing: -0.01em; }
.devis-doc__co span { font-size: .7rem; color: var(--slate-500); }
.devis-doc__badge { font-family: var(--font-display); font-weight: 800; font-size: .85rem; letter-spacing: .08em; color: var(--whatsapp-ink); background: rgba(37,211,102,.12); padding: 5px 12px; border-radius: 8px; flex: 0 0 auto; }
.devis-doc__meta { display: flex; gap: 18px; margin: 14px 0 8px; font-weight: 700; color: var(--navy); font-size: .78rem; }
.devis-doc__client { font-size: .74rem; color: var(--slate-600); padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.devis-doc__client span { color: var(--slate-400); margin-right: 4px; }
.devis-doc__table { width: 100%; border-collapse: collapse; margin: 10px 0; font-size: .72rem; }
.devis-doc__table th { text-align: left; color: var(--slate-400); font-weight: 600; font-size: .6rem; text-transform: uppercase; letter-spacing: .04em; padding: 4px 6px; border-bottom: 1px solid var(--line); }
.devis-doc__table td { padding: 7px 6px; border-bottom: 1px solid var(--line-soft); }
.devis-doc__table th:nth-child(n+2), .devis-doc__table td:nth-child(n+2) { text-align: right; white-space: nowrap; }
.devis-doc__totals { margin: 10px 0 0 auto; width: 56%; display: grid; gap: 5px; }
.devis-doc__totals > div { display: flex; justify-content: space-between; font-size: .74rem; }
.devis-doc__ttc { font-family: var(--font-display); font-weight: 800; color: var(--navy); font-size: .95rem; border-top: 1.5px solid var(--navy); padding-top: 6px; margin-top: 3px; }
.devis-doc__legal { margin-top: 16px; font-size: .58rem; color: var(--slate-400); line-height: 1.55; border-top: 1px dashed var(--line); padding-top: 10px; }

/* ---------- Données (souveraineté) -------------------------------------- */
.sovereignty { background: var(--bg-soft); }
.sovereignty__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.sov-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sov-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; transition: transform .2s ease, box-shadow .25s ease; }
.sov-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.sov-card__ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--bg-tint); color: var(--navy); margin-bottom: 14px; }
.sov-card__ico svg { width: 22px; height: 22px; }
.sov-card strong { display: block; color: var(--navy); font-family: var(--font-display); margin-bottom: 3px; }
.sov-card small { color: var(--slate-500); font-size: .85rem; }

/* ---------- Calculateur de temps ---------------------------------------- */
.calc__box { max-width: 660px; margin-inline: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(28px, 4vw, 46px); box-shadow: var(--shadow); }
.calc__label { display: block; text-align: center; font-size: 1.12rem; color: var(--ink); margin-bottom: 24px; }
.calc__label strong { color: var(--whatsapp-ink); font-family: var(--font-display); font-size: 1.45rem; }
#calcRange { width: 100%; -webkit-appearance: none; appearance: none; height: 8px; border-radius: 999px; background: var(--line); outline-offset: 6px; cursor: pointer; }
#calcRange::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 5px solid var(--whatsapp); box-shadow: var(--shadow-sm); cursor: pointer; }
#calcRange::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 5px solid var(--whatsapp); box-shadow: var(--shadow-sm); cursor: pointer; }
.calc__out { display: flex; align-items: center; justify-content: center; gap: clamp(22px, 5vw, 52px); margin: 30px 0 12px; }
.calc__sep { width: 1px; height: 50px; background: var(--line); flex: 0 0 auto; }
.calc__stat { text-align: center; display: flex; flex-direction: column; gap: 4px; }
.calc__big { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.1rem, 5.5vw, 3.1rem); color: var(--navy); line-height: 1; letter-spacing: -0.02em; }
.calc__cap { font-size: .85rem; color: var(--slate-500); font-weight: 600; }
.calc__assume { text-align: center; font-size: .8rem; color: var(--slate-400); margin-top: 6px; }

/* ---------- Bouton WhatsApp flottant ------------------------------------ */
.wa-float { position: fixed; right: clamp(16px, 3vw, 28px); bottom: clamp(16px, 3vw, 28px); z-index: 80; width: 60px; height: 60px; border-radius: 50%; background: var(--whatsapp); color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -8px rgba(37,211,102,.6); transform: translateY(160%); opacity: 0; transition: transform .4s cubic-bezier(.2,.9,.3,1.3), opacity .3s ease, background .2s ease; }
.wa-float.show { transform: none; opacity: 1; }
.wa-float:hover { background: var(--whatsapp-600); }
.wa-float svg { width: 30px; height: 30px; position: relative; z-index: 1; }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; animation: waPulse 2.6s infinite; }
@keyframes waPulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); } 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

/* ---------- Mini-devis dans le téléphone (remplissage ligne par ligne) --- */
.mini-devis { margin-top: 6px; display: grid; gap: 3px; }
.ml { display: flex; justify-content: space-between; gap: 10px; font-size: .74rem; color: #44545f; }
.ml b { font-weight: 700; color: #0f2a2a; white-space: nowrap; }
.ml--new, .ml--new b { color: var(--whatsapp-ink); }
.ml--total { margin-top: 3px; padding-top: 5px; border-top: 1px solid rgba(0,0,0,.12); }
.ml--total span, .ml--total b { color: #0f2a2a; font-weight: 700; }
.wa__body.chat--anim .bubble--in.show .ml { animation: mlIn .42s both; }
.wa__body.chat--anim .bubble--in.show .ml:nth-child(1) { animation-delay: .2s; }
.wa__body.chat--anim .bubble--in.show .ml:nth-child(2) { animation-delay: .44s; }
.wa__body.chat--anim .bubble--in.show .ml:nth-child(3) { animation-delay: .68s; }
.wa__body.chat--anim .bubble--in.show .ml:nth-child(4) { animation-delay: .92s; }
@keyframes mlIn { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }

/* ---------- Responsive des nouveaux blocs -------------------------------- */
@media (max-width: 980px) {
  .devis-preview__grid, .sovereignty__grid { grid-template-columns: 1fr; }
  .devis-doc { transform: none; }
}
@media (max-width: 460px) {
  .sov-cards { grid-template-columns: 1fr; }
  .calc__out { gap: 18px; }
  .wa-float { width: 54px; height: 54px; }
  .wa-float svg { width: 27px; height: 27px; }
}

/* ---------- Animations d'apparition ------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }
.reveal[data-d="5"] { transition-delay: .40s; }

/* ---------- Responsive --------------------------------------------------- */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; }
  /* mobile : le pitch d'abord, la maquette ensuite (sinon le titre passe sous la ligne de flottaison) */
  .phone-stage { margin-top: 20px; }
  .compliance__grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .nav__links, .nav__cta .btn--ghost, .nav__cta .btn--wa { display: none; }
  .burger { display: grid; }
  .nav__menu {
    position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0;
    display: none;
  }
  .nav.is-open .nav__menu { display: flex; }
  .nav__menu a { padding: 14px var(--gutter); font-size: 1.05rem; }
  .nav__menu a::after { display: none; }
  .benefits { grid-template-columns: 1fr; }
  .trades__inner { gap: 14px 24px; }
  .hero__actions .btn { flex: 1 1 auto; }
  /* la pilule 999px devient difforme dès que le texte passe sur 2-3 lignes */
  .trust-strip { border-radius: var(--r); width: auto; align-items: flex-start; }
  .hero-blobs { display: none; }
}
@media (max-width: 460px) {
  .footer__top { grid-template-columns: 1fr; }
  /* sur très petit écran, on empile les CTA pleine largeur (labels longs : « Démarrer sur WhatsApp ») */
  .btn--lg { padding: 1rem 1.25rem; font-size: .97rem; }
  .hero__actions, .cta-final .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; flex: 1 1 auto; }
}
