/* =========================================================
   Happy Lock ! Conciergerie — feuille de style
   Charte issue du logo : bleu #3A6FB5, blanc, sourire arrondi.
   ========================================================= */

:root {
  --blue: #3A6FB5;
  --blue-700: #2A548D;
  --blue-900: #16325A;
  --blue-100: #DCE7F5;
  --blue-50: #EEF3FA;
  --ink: #13233B;
  --ink-2: #46566D;
  --ink-3: #7A889B;
  --cream: #FBF8F3;
  --sand: #F3EDE3;
  --line: #E4E0D8;
  --white: #FFFFFF;
  --sun: #FFC24B;
  --ok: #23885C;
  --ok-50: #E6F4EC;
  --danger: #B5413A;

  --font-display: "Fredoka", "Figtree", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-sm: 12px;
  --r: 20px;
  --r-lg: 32px;
  --shadow-sm: 0 1px 2px rgba(19,35,59,.06), 0 2px 8px rgba(19,35,59,.05);
  --shadow: 0 2px 4px rgba(19,35,59,.04), 0 12px 32px -8px rgba(19,35,59,.14);
  --shadow-lg: 0 4px 8px rgba(19,35,59,.04), 0 30px 60px -20px rgba(22,50,90,.30);

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); }
h3 { font-size: 1.32rem; line-height: 1.25; }
p { margin: 0; text-wrap: pretty; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section--tight { padding: clamp(48px, 7vw, 80px) 0; }
.section--white { background: var(--white); }
.section--sand { background: var(--sand); }
.section--blue { background: var(--blue-900); color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue);
}
.eyebrow::before {
  content: ""; width: 22px; height: 10px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 10'%3E%3Cpath d='M2 2c5 7 13 7 18 0' fill='none' stroke='black' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 10'%3E%3Cpath d='M2 2c5 7 13 7 18 0' fill='none' stroke='black' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;
}
.section--blue .eyebrow { color: var(--sun); }

.lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: var(--ink-2); max-width: 60ch; }
.section--blue .lead { color: #C9D6EA; }
.muted { color: var(--ink-3); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

.head { display: grid; gap: 18px; margin-bottom: clamp(40px, 6vw, 64px); max-width: 760px; }
.head.center { margin-left: auto; margin-right: auto; justify-items: center; }

/* Mot souligné par le sourire du logo */
.smile { position: relative; white-space: nowrap; display: inline-block; }
.smile svg {
  position: absolute; left: -2%; right: -2%; width: 104%; bottom: -0.22em; height: .42em;
  overflow: visible; pointer-events: none;
}
.smile path { stroke: var(--sun); stroke-width: 7; fill: none; stroke-linecap: round;
  stroke-dasharray: 300; stroke-dashoffset: 300; animation: smileDraw 1.1s .5s var(--ease-out) forwards; }
@keyframes smileDraw { to { stroke-dashoffset: 0; } }

/* ---------------- Boutons ---------------- */
.btn {
  --bg: var(--blue); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border: 0; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
  box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 8px 20px -8px rgba(58,111,181,.7);
  white-space: nowrap;
}
.btn:hover { background: var(--blue-700); transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--sun); outline-offset: 3px;
}
.btn--ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { background: var(--white); box-shadow: inset 0 0 0 1.5px var(--ink-3); }
.btn--white { --bg: #fff; --fg: var(--blue-900); box-shadow: 0 10px 30px -10px rgba(0,0,0,.4); }
.btn--white:hover { background: var(--blue-50); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .94rem; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------------- En-tête ---------------- */
.topbar {
  background: var(--blue-900); color: #DCE7F5; font-size: .86rem;
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar a { text-decoration: none; color: #fff; font-weight: 600; }
.topbar .stars { color: var(--sun); letter-spacing: 1px; }
.topbar-right { display: flex; gap: 20px; }
@media (max-width: 720px) { .topbar-right { display: none; } .topbar .wrap { justify-content: center; } }

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,248,243,.82);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
          backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.nav.is-scrolled { border-bottom-color: var(--line); background: rgba(251,248,243,.94); }
.nav .wrap { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand img { width: 50px; height: 50px; transition: transform .5s var(--ease-out); }
.brand:hover img { transform: rotate(-8deg) scale(1.04); }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; line-height: 1; white-space: nowrap; color: var(--blue-900); }
.brand-name small { display: block; font-family: var(--font-body); font-size: .68rem; font-weight: 700; letter-spacing: .2em; color: var(--blue); margin-top: 4px; }
.nav-links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 10px 14px; border-radius: 999px;
  text-decoration: none; font-weight: 600; font-size: .96rem; color: var(--ink-2); white-space: nowrap;
  transition: background .2s, color .2s;
}
.nav-links a:hover { background: var(--white); color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--blue); background: var(--blue-50); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.btn-account svg { width: 18px; height: 18px; }

.burger {
  display: none; width: 46px; height: 46px; border-radius: 50%;
  border: 0; background: var(--white); box-shadow: var(--shadow-sm); cursor: pointer;
  align-items: center; justify-content: center;
}
.burger span { position: relative; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: background .2s; }
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--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); }

@media (max-width: 1180px) {
  .nav-links, .nav-cta .btn-estimate { display: none; }
  .burger { display: inline-flex; }
  .nav .wrap { gap: 10px; }
  .nav.is-open .nav-links {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream); padding: 12px var(--gutter) 24px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .nav.is-open .nav-links a { padding: 14px 8px; font-size: 1.1rem; border-radius: 10px; }
  .nav-links .mobile-only { display: block; }
}
@media (min-width: 1181px) { .nav-links .mobile-only { display: none; } }
@media (max-width: 480px) {
  .brand-name { display: none; }
}
.label-short { display: none; }
@media (max-width: 720px) {
  .label-long { display: none; }
  .label-short { display: inline; }
}

/* ---------------- Hero ---------------- */
.hero { position: relative; padding: clamp(40px, 7vw, 88px) 0 clamp(64px, 8vw, 104px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, rgba(58,111,181,.16), rgba(58,111,181,0));
  pointer-events: none;
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { display: grid; gap: 26px; justify-items: start; }
.hero-copy .lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); }
.trust-inline { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .94rem; color: var(--ink-2); font-weight: 600; }
.trust-inline span { display: inline-flex; align-items: center; gap: 8px; }
.trust-inline svg { width: 18px; height: 18px; color: var(--ok); flex: none; }

/* Scène 3D : médaillon + cartes de transparence */
.stage { position: relative; aspect-ratio: 1 / 1; perspective: 1200px; max-width: 560px; width: 100%; justify-self: center; }
.stage-inner { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .6s var(--ease-out); }
.medal {
  position: absolute; left: 50%; top: 50%; width: 62%; aspect-ratio: 1; transform: translate3d(-50%,-50%,0);
  border-radius: 50%; transform-style: preserve-3d;
}
.medal-face {
  position: absolute; inset: 0; border-radius: 50%; overflow: hidden;
  box-shadow: 0 40px 80px -24px rgba(22,50,90,.55), 0 0 0 10px rgba(255,255,255,.7), 0 0 0 11px var(--line);
  animation: float 7s ease-in-out infinite;
}
.medal-face img { width: 100%; height: 100%; object-fit: cover; }
.medal-face::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: linear-gradient(115deg, rgba(255,255,255,0) 35%, rgba(255,255,255,.45) 48%, rgba(255,255,255,0) 60%);
  background-size: 250% 100%; background-position: var(--glint, 120%) 0;
  mix-blend-mode: soft-light; transition: background-position .4s;
}
@keyframes float { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-12px) rotate(2deg); } }

.chip {
  position: absolute; background: var(--white); border-radius: 18px; padding: 14px 16px;
  box-shadow: var(--shadow-lg); display: flex; gap: 12px; align-items: center;
  font-size: .9rem; line-height: 1.3; min-width: 0; max-width: 270px;
  border: 1px solid rgba(228,224,216,.8);
  opacity: 0; animation: chipIn .9s var(--ease-out) forwards;
}
.chip b { display: block; font-weight: 700; color: var(--ink); }
.chip small { color: var(--ink-3); font-size: .8rem; }
.chip .ico { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; }
.chip .ico svg { width: 22px; height: 22px; }
.chip--1 { top: 6%; left: -4%; animation-delay: .5s; }
.chip--1 .ico { background: var(--ok-50); color: var(--ok); }
.chip--2 { top: 60%; right: -3%; animation-delay: .75s; }
.chip--2 .ico { background: var(--blue-50); color: var(--blue); }
.chip--3 { bottom: 2%; left: 0%; animation-delay: 1s; }
.chip--3 .ico { background: #FFF4DB; color: #A86F00; }
.chip .amount { font-family: var(--font-display); font-size: 1.15rem; color: var(--blue-900); }
@keyframes chipIn { from { opacity: 0; transform: translate3d(0,16px,0) scale(.96); } to { opacity: 1; transform: translate3d(0,0,var(--z,40px)); } }
.chip--1 { --z: 70px; } .chip--2 { --z: 110px; } .chip--3 { --z: 50px; }

@media (max-width: 920px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .stage { max-width: 400px; margin-top: 8px; }
  .chip { font-size: .82rem; padding: 10px 12px; max-width: 220px; }
  .chip .ico { width: 34px; height: 34px; }
  .chip--1 { left: 0; } .chip--2 { right: 0; } .chip--3 { left: 4%; }
}

/* ---------------- Bande de preuves ---------------- */
.proof { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.proof .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-item { padding: 30px 20px; text-align: center; display: grid; gap: 4px; justify-items: center; }
.proof-item + .proof-item { border-left: 1px solid var(--line); }
.proof-num { font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 3.4vw, 2.8rem); color: var(--blue-900); line-height: 1; }
.proof-num .unit { font-size: .55em; color: var(--blue); margin-left: 4px; }
.proof-label { color: var(--ink-2); font-size: .94rem; font-weight: 600; }
.proof-stars { color: var(--sun); letter-spacing: 2px; font-size: 1rem; }
@media (max-width: 760px) {
  .proof .wrap { grid-template-columns: 1fr 1fr; padding: 0; }
  .proof-item:nth-child(3) { border-left: 0; }
  .proof-item:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------------- Grilles et cartes ---------------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border-radius: var(--r); padding: 28px;
  border: 1px solid var(--line); display: grid; gap: 12px; align-content: start;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .35s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.card p { color: var(--ink-2); font-size: .98rem; }
.card .ico {
  width: 48px; height: 48px; border-radius: 14px; background: var(--blue-50); color: var(--blue);
  display: grid; place-items: center; margin-bottom: 6px;
}
.card .ico svg { width: 24px; height: 24px; }

/* Avant / Après : le souci du voyageur → réglé */
.fix-list { display: grid; gap: 14px; }
.fix {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 24px;
}
.fix-problem { color: var(--ink-2); display: flex; gap: 12px; align-items: center; }
.fix-problem .t { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); display: block; }
.fix-arrow { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); }
.fix-arrow svg { width: 20px; height: 20px; }
.fix-solution { font-weight: 600; color: var(--ink); display: flex; gap: 10px; align-items: flex-start; }
.fix-solution svg { width: 22px; height: 22px; color: var(--ok); flex: none; margin-top: 2px; }
@media (max-width: 760px) {
  .fix { grid-template-columns: 1fr; gap: 10px; }
  .fix-arrow { transform: rotate(90deg); width: 34px; height: 34px; }
}

/* ---------------- Étapes ---------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 31px; left: 10%; right: 10%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--blue-100) 0 8px, transparent 8px 16px);
}
.step { position: relative; display: grid; gap: 12px; justify-items: start; }
.step-num {
  counter-increment: step; width: 62px; height: 62px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--blue-100); display: grid; place-items: center;
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--blue);
  position: relative; z-index: 1; transition: background .5s, color .5s, border-color .5s;
}
.step.is-in .step-num { background: var(--blue); color: #fff; border-color: var(--blue); }
.step-num::before { content: counter(step); }
.step p { color: var(--ink-2); font-size: .98rem; }
.step .when { font-size: .8rem; font-weight: 700; color: var(--blue); letter-spacing: .06em; text-transform: uppercase; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps::before { top: 10px; bottom: 10px; left: 30px; right: auto; width: 2px; height: auto;
    background: repeating-linear-gradient(180deg, var(--blue-100) 0 8px, transparent 8px 16px); }
  .step { grid-template-columns: 62px 1fr; column-gap: 20px; }
  .step-num { grid-row: span 3; }
}

/* ---------------- Confiance ---------------- */
.trust-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; align-items: stretch; }
@media (max-width: 900px) { .trust-grid { grid-template-columns: 1fr; } }
.promise-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .promise-list { grid-template-columns: 1fr; } }
.promise {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r);
  padding: 22px; display: grid; gap: 8px; align-content: start;
}
.promise .ico { width: 42px; height: 42px; border-radius: 12px; background: rgba(255,194,75,.14); color: var(--sun); display: grid; place-items: center; }
.promise .ico svg { width: 22px; height: 22px; }
.promise h3 { font-size: 1.1rem; color: #fff; }
.promise p { color: #B9C8DE; font-size: .94rem; }

.never {
  background: var(--white); color: var(--ink); border-radius: var(--r-lg); padding: clamp(26px, 3vw, 36px);
  display: grid; gap: 18px; align-content: start; position: relative; overflow: hidden;
}
.never h3 { font-size: 1.5rem; }
.never ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.never li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; color: var(--ink-2); }
.never li b { color: var(--ink); display: block; }
.never .x { width: 28px; height: 28px; border-radius: 50%; background: #FBEAE8; color: var(--danger); display: grid; place-items: center; }
.never .x svg { width: 14px; height: 14px; }
.never-stamp {
  justify-self: start; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue); background: var(--blue-50); padding: 8px 12px; border-radius: 999px;
}

/* ---------------- Aperçu de l'espace propriétaire ---------------- */
.space { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 900px) { .space { grid-template-columns: 1fr; } }
.space-copy { display: grid; gap: 22px; justify-items: start; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; color: var(--ink-2); }
.checks li b { color: var(--ink); }
.checks svg { width: 22px; height: 22px; color: var(--ok); margin-top: 2px; }

.device {
  background: var(--white); border-radius: 26px; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  overflow: hidden; transform: perspective(1400px) rotateY(-8deg) rotateX(4deg); transition: transform .8s var(--ease-out);
}
.device:hover { transform: perspective(1400px) rotateY(-2deg) rotateX(1deg); }
@media (max-width: 900px) { .device { transform: none; } .device:hover { transform: none; } }
.device-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #FAFAF8; }
.device-bar i { width: 10px; height: 10px; border-radius: 50%; background: #E2DED6; }
.device-url { margin-left: 10px; flex: 1; display: flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 4px 10px; font-size: .78rem; color: var(--ink-2); }
.device-url svg { width: 12px; height: 12px; color: var(--ok); }
.device-body { padding: 22px; display: grid; gap: 16px; }
.dash-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.dash-head b { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; }
.pill { font-size: .76rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: var(--ok-50); color: var(--ok); }
.dash-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { background: var(--cream); border-radius: 14px; padding: 12px; }
.kpi small { display: block; font-size: .72rem; color: var(--ink-3); font-weight: 600; }
.kpi b { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--blue-900); }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 110px; padding: 0 4px; border-bottom: 1px solid var(--line); }
.bars span { flex: 1; background: var(--blue-100); border-radius: 6px 6px 0 0; height: 0; transition: height 1s var(--ease-out); }
.bars span:last-child { background: var(--blue); }
.device.is-in .bars span { height: var(--h); }
.dash-rows { display: grid; gap: 8px; }
.dash-row { display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; align-items: center; font-size: .86rem; color: var(--ink-2); padding: 8px 0; border-top: 1px dashed var(--line); }
.dash-row svg { width: 18px; height: 18px; color: var(--blue); }
.dash-row b { color: var(--ink); }
.demo-note { font-size: .78rem; color: var(--ink-3); text-align: center; margin-top: 10px; }

/* ---------------- Simulateur ---------------- */
.sim { display: grid; grid-template-columns: 1fr 1fr; background: var(--white); border-radius: var(--r-lg); border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow); }
@media (max-width: 900px) { .sim { grid-template-columns: 1fr; } }
.sim-form { padding: clamp(24px, 4vw, 44px); display: grid; gap: 22px; align-content: start; }
.sim-result { padding: clamp(24px, 4vw, 44px); background: var(--blue-900); color: #fff; display: grid; gap: 20px; align-content: center; position: relative; overflow: hidden; }
.sim-result::after {
  content: ""; position: absolute; right: -80px; bottom: -120px; width: 320px; height: 200px;
  border: 22px solid rgba(255,255,255,.06); border-top: 0; border-radius: 0 0 320px 320px;
}
.sim-result .label { color: #B9C8DE; font-size: .92rem; font-weight: 600; }
.sim-big { font-family: var(--font-display); font-size: clamp(2rem, 4.2vw, 3.2rem); text-wrap: balance; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; }
.sim-big small { font-size: .4em; color: #B9C8DE; font-weight: 500; }
.sim-split { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sim-split div { background: rgba(255,255,255,.07); border-radius: 14px; padding: 14px; }
.sim-split small { display: block; color: #B9C8DE; font-size: .8rem; }
.sim-split b { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.sim-note { font-size: .82rem; color: #9FB1CB; }

.field { display: grid; gap: 8px; }
.field label, .field .label { font-weight: 700; font-size: .92rem; }
.field .hint { font-size: .84rem; color: var(--ink-3); }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 14px;
  border: 1.5px solid var(--line); background: var(--cream); color: var(--ink); font: inherit; font-size: 1rem;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
textarea { min-height: 120px; resize: vertical; }
input:hover, select:hover, textarea:hover { border-color: #CFC9BE; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(58,111,181,.14); }
select { appearance: none; -webkit-appearance: none; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2346566D' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; }

.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label {
  display: grid; place-items: center; text-align: center; min-height: 64px; padding: 8px; border-radius: 14px;
  border: 1.5px solid var(--line); background: var(--cream); font-weight: 600; font-size: .9rem; cursor: pointer; line-height: 1.2;
  transition: border-color .2s, background .2s, color .2s;
}
.seg label small { display: block; font-weight: 500; color: var(--ink-3); font-size: .78rem; }
.seg input:checked + label { border-color: var(--blue); background: var(--blue-50); color: var(--blue-900); }
.seg input:focus-visible + label { outline: 3px solid var(--sun); outline-offset: 2px; }
@media (max-width: 480px) { .seg { grid-template-columns: repeat(2, 1fr); } }

.stepper { display: flex; align-items: center; gap: 0; border: 1.5px solid var(--line); border-radius: 14px; background: var(--cream); width: max-content; }
.stepper button { width: 52px; height: 50px; border: 0; background: none; cursor: pointer; font-size: 1.4rem; color: var(--blue); }
.stepper button:hover { background: var(--blue-50); }
.stepper button:first-child { border-radius: 12px 0 0 12px; } .stepper button:last-child { border-radius: 0 12px 12px 0; }
.stepper output { min-width: 110px; text-align: center; font-weight: 700; }

.toggle { display: flex; align-items: center; gap: 12px; cursor: pointer; font-weight: 600; }
.toggle input { appearance: none; -webkit-appearance: none; width: 48px; height: 28px; border-radius: 999px; background: var(--line); position: relative; cursor: pointer; transition: background .2s; flex: none; }
.toggle input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease-out); }
.toggle input:checked { background: var(--blue); }
.toggle input:checked::after { transform: translateX(20px); }

.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: .9rem; color: var(--ink-2); cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--blue); margin-top: 2px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { border-radius: 14px; padding: 16px 18px; font-weight: 600; display: none; }
.form-status.ok { display: block; background: var(--ok-50); color: #165C3D; }
.form-status.err { display: block; background: #FBEAE8; color: #7D2A25; }
.secure-note { display: flex; gap: 8px; align-items: center; font-size: .84rem; color: var(--ink-3); }
.secure-note svg { width: 16px; height: 16px; color: var(--ok); flex: none; }

/* ---------------- Formules ---------------- */
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 980px; margin: 0 auto; }
@media (max-width: 820px) { .plans { grid-template-columns: 1fr; } }
.plan {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(26px, 3.5vw, 40px);
  display: grid; gap: 20px; align-content: start; position: relative;
}
.plan--featured { border: 2px solid var(--blue); box-shadow: var(--shadow-lg); }
.plan-badge { position: absolute; top: -14px; left: 32px; background: var(--blue); color: #fff; font-size: .78rem; font-weight: 700; padding: 6px 14px; border-radius: 999px; letter-spacing: .04em; }
.plan-name { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; }
.plan-for { color: var(--ink-2); }
.plan-price { display: flex; align-items: baseline; gap: 10px; }
.plan-price b { font-family: var(--font-display); font-size: 4rem; font-weight: 600; line-height: 1; color: var(--blue-900); }
.plan-price span { color: var(--ink-2); font-size: .95rem; line-height: 1.3; }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.plan li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: .97rem; color: var(--ink-2); }
.plan li svg { width: 20px; height: 20px; color: var(--ok); margin-top: 2px; }
.plan li.plus { color: var(--ink); font-weight: 600; }
.plan li.plus svg { color: var(--blue); }
.plan hr { border: 0; border-top: 1px solid var(--line); margin: 0; }

.table-wrap { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line); background: var(--white); }
table.compare { width: 100%; border-collapse: collapse; min-width: 560px; font-size: .96rem; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.compare th { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; background: var(--cream); }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; width: 22%; }
.compare tr:last-child td { border-bottom: 0; }
.compare .yes { color: var(--ok); font-weight: 700; }
.compare .no { color: var(--ink-3); }

.price-list { display: grid; gap: 0; background: var(--white); border-radius: var(--r); border: 1px solid var(--line); overflow: hidden; }
.price-row { display: flex; justify-content: space-between; gap: 16px; padding: 18px 22px; border-top: 1px solid var(--line); align-items: baseline; }
.price-row:first-child { border-top: 0; }
.price-row span { color: var(--ink-2); }
.price-row b { white-space: nowrap; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; }

/* ---------------- Zones ---------------- */
.zones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .zones { grid-template-columns: 1fr; } }
.zone { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; display: grid; gap: 14px; align-content: start; }
.zone-head { display: flex; align-items: center; gap: 14px; }
.zone-num { width: 52px; height: 52px; border-radius: 16px; background: var(--blue); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; }
.zone h3 { font-size: 1.35rem; }
.zone ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.zone li a {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--cream);
  border: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: .9rem; transition: background .2s, border-color .2s, color .2s;
}
.zone li a:hover { background: var(--blue-50); border-color: var(--blue-100); color: var(--blue-900); }
.zone li a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }

/* ---------------- Avis ---------------- */
.rating-card {
  display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center;
  background: var(--white); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line);
}
@media (max-width: 640px) { .rating-card { grid-template-columns: 1fr; text-align: center; justify-items: center; } }
.rating-big { font-family: var(--font-display); font-size: 5rem; font-weight: 600; line-height: .9; color: var(--blue-900); }
.rating-big small { font-size: .35em; color: var(--ink-3); }
.stars-row { display: flex; gap: 4px; margin-top: 8px; }
.stars-row svg { width: 26px; height: 26px; }

/* ---------------- FAQ ---------------- */
.faq { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--blue-100); box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 24px; font-weight: 700; font-size: 1.05rem;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%233A6FB5' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center no-repeat;
  transition: transform .3s var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 24px 22px; color: var(--ink-2); display: grid; gap: 10px; }

/* ---------------- Bandeau final ---------------- */
.cta-band {
  background: var(--blue); color: #fff; border-radius: var(--r-lg); padding: clamp(36px, 6vw, 72px);
  display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; right: -60px; bottom: -150px; width: 420px; height: 260px;
  border: 30px solid rgba(255,255,255,.1); border-top: 0; border-radius: 0 0 420px 420px; pointer-events: none;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #DCE7F5; margin-top: 12px; font-size: 1.1rem; }
.cta-band .btn-row { position: relative; z-index: 1; }
.cta-band .btn--ghost { --fg: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5); }
.cta-band .btn--ghost:hover { background: rgba(255,255,255,.1); }
@media (max-width: 820px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------------- Pages intérieures ---------------- */
.page-hero { padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 5vw, 64px); }
.page-hero .wrap { display: grid; gap: 22px; justify-items: start; max-width: 900px; margin-left: auto; margin-right: auto; }
.page-hero.center .wrap { justify-items: center; text-align: center; }
.crumbs { font-size: .86rem; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--blue); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.prose { display: grid; gap: 18px; color: var(--ink-2); font-size: 1.05rem; }
.prose h2 { color: var(--ink); font-size: clamp(1.7rem, 3vw, 2.3rem); margin-top: 12px; }
.prose h3 { color: var(--ink); margin-top: 8px; }
.prose a { color: var(--blue); font-weight: 600; }
.prose ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }

.quote-card { background: var(--white); border-radius: var(--r-lg); padding: clamp(28px, 4vw, 44px); border: 1px solid var(--line); display: grid; gap: 20px; }
.quote-card blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.3; color: var(--blue-900); font-weight: 500; }
.founder { display: flex; align-items: center; gap: 14px; }
.avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; }

.info-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 760px) { .info-tiles { grid-template-columns: 1fr; } }
.tile { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; display: grid; gap: 6px; }
.tile small { color: var(--ink-3); font-weight: 700; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.tile b { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; }
.tile p { color: var(--ink-2); font-size: .94rem; }

.contact-cards { display: grid; gap: 12px; }
.contact-card { display: flex; gap: 16px; align-items: center; padding: 18px 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; transition: border-color .2s, transform .2s var(--ease); }
.contact-card:hover { border-color: var(--blue-100); transform: translateX(3px); }
.contact-card .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); flex: none; }
.contact-card .ico.wa { background: #E3F6EA; color: #128C4B; }
.contact-card .ico svg { width: 24px; height: 24px; }
.contact-card small { display: block; color: var(--ink-3); font-size: .84rem; }
.contact-card b { font-size: 1.1rem; }

.legal { max-width: 820px; margin: 0 auto; }
.legal h2 { font-size: 1.5rem; margin-top: 18px; }
.todo { background: #FFF4DB; color: #6B4700; padding: 2px 6px; border-radius: 6px; font-weight: 600; }

/* ---------------- Pied de page ---------------- */
.footer { background: var(--blue-900); color: #B9C8DE; padding: 72px 0 32px; margin-top: 0; }
.footer a { color: #DCE7F5; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; font-family: var(--font-body); font-weight: 700; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: .94rem; }
.footer .brand-name { color: #fff; }
.footer .brand-name small { color: var(--sun); }
.footer-about { display: grid; gap: 18px; align-content: start; font-size: .94rem; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .84rem; }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; }
.socials a:hover { background: rgba(255,255,255,.16); }
.socials svg { width: 18px; height: 18px; }

/* Barre d'action mobile */
.mobile-bar { display: none; }
@media (max-width: 720px) {
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 60;
    background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    padding: 8px; border-radius: 20px; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
    transform: translateY(140%); transition: transform .4s var(--ease-out);
  }
  .mobile-bar.is-visible { transform: none; }
  .mobile-bar .btn { min-height: 48px; padding: 0 12px; font-size: .94rem; }
  body { padding-bottom: 0; }
}

/* ---------------- Apparitions au scroll ---------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .smile path { stroke-dashoffset: 0; }
  .chip { opacity: 1; }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }
