/* =========================================================
   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: 18px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; flex: none; }
.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: 1240px) {
  .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: 1241px) { .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; }

/* =========================================================
   Diagnostic du logement
   ========================================================= */
.diag-start-tag {
  display: inline-flex; align-items: center; gap: 8px; justify-self: start;
  font-size: .78rem; font-weight: 700; letter-spacing: .04em; color: #7A4F00;
  background: #FFF1D1; padding: 6px 12px; border-radius: 999px;
}
.diag-start-tag svg { width: 15px; height: 15px; }
.diag-start {
  position: relative; background: var(--white); border-radius: var(--r-lg); padding: clamp(24px, 3.5vw, 36px);
  box-shadow: var(--shadow-lg); border: 1px solid var(--line); display: grid; gap: 16px; align-content: start;
  max-width: 480px; width: 100%; justify-self: center;
}
.diag-start::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 2px; pointer-events: none;
  background: linear-gradient(135deg, var(--sun), transparent 35%, transparent 65%, var(--blue));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.diag-start-logo { position: absolute; top: -26px; right: 24px; width: 64px; height: 64px; filter: drop-shadow(0 8px 16px rgba(22,50,90,.3)); animation: float 7s ease-in-out infinite; }
.diag-start h2 { font-size: 1.7rem; }
.diag-start p { color: var(--ink-2); font-size: .98rem; }
.diag-start .btn { width: 100%; }
.diag-start-note { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: .84rem !important; color: var(--ink-3) !important; }
.diag-start-note svg { width: 15px; height: 15px; color: var(--ok); }
@media (max-width: 920px) { .diag-start { margin-top: 20px; } }

.diag { padding: clamp(22px, 4vw, 40px); gap: 22px; }
.diag:hover { transform: none; box-shadow: var(--shadow); }
.dhead { display: grid; gap: 10px; font-size: .88rem; color: var(--ink-3); font-weight: 600; }
.dprogress { height: 6px; border-radius: 999px; background: var(--blue-50); overflow: hidden; }
.dprogress span { display: block; height: 100%; width: 25%; background: linear-gradient(90deg, var(--blue), var(--sun)); border-radius: inherit; transition: width .5s var(--ease-out); }
.dstep { display: grid; gap: 20px; animation: dIn .5s var(--ease-out); }
@keyframes dIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.dstep h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.dnav { display: flex; justify-content: space-between; gap: 12px; margin-top: 6px; }
.dchips { display: flex; flex-wrap: wrap; gap: 10px; }
.dchip {
  border: 1.5px solid var(--line); background: var(--cream); border-radius: 999px; padding: 12px 18px; font-weight: 600; cursor: pointer;
  transition: background .2s, border-color .2s, color .2s, transform .2s var(--ease);
}
.dchip:hover { border-color: var(--blue-100); }
.dchip[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.dchip[aria-pressed="true"]::before { content: "✓ "; }
.dradios { display: grid; gap: 10px; }
.dradios label { display: flex; gap: 12px; align-items: center; padding: 16px 18px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--cream); cursor: pointer; font-weight: 600; }
.dradios input { width: 20px; height: 20px; accent-color: var(--blue); }
.dradios label:has(input:checked) { border-color: var(--blue); background: var(--blue-50); }
.stepper output { min-width: 80px; }

.diag-result { display: grid; gap: 18px; }
.diag-result .card:hover { transform: none; box-shadow: none; border-color: var(--line); }
.diag-result.is-in > * { animation: rIn .7s var(--ease-out) both; }
.diag-result.is-in > *:nth-child(2) { animation-delay: .08s; } .diag-result.is-in > *:nth-child(3) { animation-delay: .16s; } .diag-result.is-in > *:nth-child(4) { animation-delay: .24s; }
@keyframes rIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.rhead { grid-template-columns: 200px 1fr; align-items: center; gap: 24px; }
@media (max-width: 600px) { .rhead { grid-template-columns: 1fr; justify-items: center; text-align: center; } }
.rhead h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-top: 8px; }
.rscore { font-weight: 700; color: var(--ok) !important; margin-top: 6px; }
.rgauge { position: relative; width: 200px; }
.gauge { width: 200px; overflow: visible; }
.gauge-fill { animation: gauge 1.4s .3s var(--ease-out) forwards; }
@keyframes gauge { to { stroke-dashoffset: var(--to); } }
.gauge-num { position: absolute; left: 0; right: 0; top: 34px; text-align: center; }
.gauge-num b { font-family: var(--font-display); font-size: 2.6rem; font-weight: 600; color: var(--blue-900); }
.gauge-num span { color: var(--ink-3); font-weight: 600; }
.rbig { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.2rem, 6vw, 3.4rem); color: var(--blue-900); line-height: 1.05; font-variant-numeric: tabular-nums; }
.rtiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 8px 0; }
@media (max-width: 600px) { .rtiles { grid-template-columns: 1fr; } }
.rtiles div { background: var(--cream); border-radius: 14px; padding: 14px; }
.rtiles small { display: block; color: var(--ink-3); font-weight: 600; font-size: .8rem; }
.rtiles b { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; }
.rgain { display: flex; gap: 12px; align-items: center; background: var(--ok-50); color: #165C3D; border-radius: 14px; padding: 14px 16px; font-size: .98rem; }
.rgain svg { width: 24px; height: 24px; flex: none; }
.mchart { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; align-items: end; height: 190px; padding-top: 20px; }
.mbar { height: 100%; display: grid; grid-template-rows: auto 1fr auto; align-items: end; text-align: center; gap: 4px; }
.mbar i { display: block; height: 0; background: linear-gradient(180deg, var(--blue), var(--blue-700)); border-radius: 6px 6px 2px 2px; align-self: end; animation: barUp .9s var(--ease-out) forwards; animation-delay: calc(var(--i) * 45ms + .3s); }
@keyframes barUp { to { height: var(--h); } }
.mbar-v { font-size: .66rem; font-weight: 700; color: var(--ink-2); }
.mbar-m { font-size: .7rem; color: var(--ink-3); font-weight: 600; }
.levers { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.levers li { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 14px 16px; background: var(--cream); border-radius: 14px; }
.levers b { display: block; }
.levers small { color: var(--ink-2); font-size: .88rem; }
.levers em { font-style: normal; font-weight: 700; color: var(--ok); white-space: nowrap; font-size: .92rem; }
@media (max-width: 560px) { .levers li { flex-direction: column; align-items: flex-start; } }

.unlock { grid-template-columns: .8fr 1.2fr; gap: 28px; border: 2px solid var(--blue) !important; position: relative; overflow: hidden; }
@media (max-width: 760px) { .unlock { grid-template-columns: 1fr; } }
.unlock-preview { position: relative; background: var(--blue-50); border-radius: 18px; padding: 24px; display: grid; gap: 14px; align-content: center; min-height: 200px; }
.blur-line { height: 14px; border-radius: 8px; background: linear-gradient(90deg, var(--blue-100), #fff); filter: blur(1.5px); }
.w80 { width: 80%; } .w60 { width: 60%; } .w90 { width: 90%; } .w40 { width: 40%; }
.unlock-lock { position: absolute; inset: 0; display: grid; place-items: center; }
.unlock-lock svg { width: 54px; height: 54px; padding: 14px; border-radius: 50%; background: var(--blue); color: #fff; box-shadow: 0 12px 30px -8px rgba(58,111,181,.7); }
.unlock-body { display: grid; gap: 16px; align-content: start; }
.unlock-body h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
.linkbtn { background: none; border: 0; color: var(--blue); font-weight: 700; cursor: pointer; text-decoration: underline; }

/* Rapport */
.rapport { display: grid; gap: 0; }
.rp-head { display: flex; gap: 20px; align-items: center; margin-bottom: 24px; }
.rp-head img { flex: none; }
.rp-head h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin: 6px 0; }
.rp-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 14px; }
@media (max-width: 700px) { .rp-kpis { grid-template-columns: 1fr; } .rp-head { flex-direction: column; align-items: flex-start; } }
.rp-kpis .tile b { font-size: 1.8rem; color: var(--blue-900); }
.rapport .card:hover { transform: none; box-shadow: none; border-color: var(--line); }
.rp-table td, .rp-table th { padding: 10px 14px; font-size: .92rem; }
.ai { border: 2px solid var(--blue-100) !important; }
.ai-body { display: grid; gap: 16px; }
.ai-body h3 { margin-top: 6px; }
.ai-synth { font-size: 1.15rem; color: var(--ink) !important; line-height: 1.55; }
.ai-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 700px) { .ai-grid { grid-template-columns: 1fr; } }
.ai-plan { margin: 0; padding: 0; list-style: none; counter-reset: plan; display: grid; gap: 10px; }
.ai-plan li { counter-increment: plan; display: grid; grid-template-columns: 36px 1fr; gap: 4px 12px; background: var(--cream); border-radius: 14px; padding: 14px; }
.ai-plan li::before { content: counter(plan); grid-row: span 2; width: 32px; height: 32px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 700; }
.ai-plan span { color: var(--ink-2); font-size: .95rem; }
.ai-next { background: #FFF6E0; border-radius: 14px; padding: 14px 16px; }
.ai-note { font-size: .8rem !important; color: var(--ink-3) !important; }
.ai-body.is-done { animation: rIn .6s var(--ease-out); }
.ai-loading { display: flex; align-items: center; gap: 6px; padding: 12px 0; }
.ai-loading span { width: 10px; height: 10px; border-radius: 50%; background: var(--blue); animation: dot 1.2s infinite ease-in-out; }
.ai-loading span:nth-child(2) { animation-delay: .15s; background: var(--sun); } .ai-loading span:nth-child(3) { animation-delay: .3s; }
.ai-loading p { margin-left: 10px; color: var(--ink-2); font-weight: 600; }
@keyframes dot { 0%, 80%, 100% { transform: scale(.5); opacity: .4; } 40% { transform: scale(1); opacity: 1; } }

.pill { display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 999px; background: var(--blue-50); color: var(--blue-900); font-weight: 700; font-size: .9rem; }
.adm-table td { vertical-align: top; font-size: .9rem; text-align: left !important; }
.adm-table select { min-height: 40px; padding: 6px 36px 6px 10px; }

@media print {
  .topbar, .nav, .footer, .mobile-bar, .no-print, .cta-band .btn-row { display: none !important; }
  body { background: #fff; }
  .card, .tile { break-inside: avoid; }
  .cta-band { background: #fff; color: var(--ink); border: 1px solid var(--line); }
  .cta-band h2, .cta-band p { color: var(--ink); }
}

[hidden] { display: none !important; }
.diag-result > *, .diag > *, .rapport > * { min-width: 0; }
@media (max-width: 560px) {
  .mchart { gap: 3px; height: 160px; }
  .mbar-v { font-size: .54rem; }
  .mbar-m { font-size: .6rem; }
  .rhead { padding: 22px; }
}

/* =========================================================
   Flux de notifications : « Tout passe par nous »
   ========================================================= */
.nowrap { white-space: nowrap; }
@media (max-width: 560px) { .nowrap { white-space: normal; } }
.flow-sec { background: var(--white); overflow: hidden; }
.flow { display: grid; grid-template-columns: minmax(0, 1.15fr) auto minmax(0, .85fr); gap: clamp(20px, 4vw, 56px); align-items: center; }
@media (max-width: 900px) { .flow { grid-template-columns: 1fr; } .flow-arrow { transform: rotate(90deg); justify-self: center; } }

.flow-feed {
  position: relative; height: 520px; overflow: hidden; border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--cream), #F4F0E8);
  border: 1px solid var(--line);
  -webkit-mask: linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent 100%);
          mask: linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent 100%);
}
.flow-track { display: grid; gap: 12px; padding: 0 clamp(14px, 3vw, 28px); animation: flowUp 44s linear infinite; }
.flow-feed:hover .flow-track { animation-play-state: paused; }
@keyframes flowUp { from { transform: translateY(0); } to { transform: translateY(calc(-50% - 6px)); } }

.fcard { display: grid; position: relative; }
.fcard > div { grid-area: 1 / 1; display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 18px; transition: opacity .45s var(--ease), transform .45s var(--ease); }
.fcard-raw { background: var(--white); box-shadow: 0 1px 2px rgba(19,35,59,.06), 0 8px 20px -14px rgba(19,35,59,.35); }
.fcard-done { background: var(--blue); color: #fff; opacity: 0; transform: scale(.97); box-shadow: 0 12px 26px -14px rgba(58,111,181,.9); }
.fcard.done .fcard-raw { opacity: 0; transform: scale(.97); }
.fcard.done .fcard-done { opacity: 1; transform: none; }
.fico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); }
.fico svg { width: 20px; height: 20px; }
.fico--ok { background: rgba(255,255,255,.18); color: var(--sun); }
.ftxt { display: grid; gap: 2px; min-width: 0; }
.fmeta { display: flex; justify-content: space-between; gap: 10px; font-size: .78rem; }
.fmeta b { font-weight: 700; white-space: nowrap; }
.fmeta time { white-space: nowrap; }
.fmeta time { opacity: .6; font-variant-numeric: tabular-nums; }
.fmsg { font-size: .92rem; line-height: 1.35; }
.fcard-raw .fmsg { color: var(--ink-2); }

.flow-line { position: absolute; left: 0; right: 0; top: 50%; height: 0; border-top: 2px dashed var(--blue); z-index: 2; pointer-events: none; }
.flow-line span {
  position: absolute; right: 14px; top: -19px; display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); color: var(--blue-900); font-weight: 700; font-size: .82rem; padding: 3px 12px 3px 3px; border-radius: 999px;
  box-shadow: 0 0 0 2px var(--blue), 0 10px 20px -10px rgba(58,111,181,.8);
}
.flow-line span img { width: 30px; height: 30px; }

.flow-arrow { width: 52px; height: 52px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -10px rgba(58,111,181,.8); }
.flow-arrow svg { width: 22px; height: 22px; }

.flow-owner { display: grid; justify-items: center; gap: 18px; }
.lock { width: min(262px, 74vw); aspect-ratio: 9 / 18.5; border-radius: 44px; background: var(--ink); padding: 11px; box-shadow: var(--shadow-lg); }
.lock-screen {
  height: 100%; border-radius: 34px; overflow: hidden; color: #fff; text-align: center; padding: 48px 14px 18px; display: flex; flex-direction: column; gap: 6px;
  background: radial-gradient(120% 70% at 50% 0%, #4C82C9 0%, var(--blue) 45%, var(--blue-900) 100%);
}
.lock-time { font-family: var(--font-display); font-weight: 500; font-size: 3.6rem; line-height: 1; letter-spacing: -0.02em; }
.lock-date { font-size: .86rem; opacity: .85; margin-bottom: 18px; }
.lock-widget { display: flex; align-items: center; gap: 10px; text-align: left; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.2); border-radius: 16px; padding: 10px 12px; margin-bottom: 8px; }
.lock-widget b { display: block; font-size: .8rem; }
.lock-widget small { font-size: .74rem; opacity: .85; }
.lock-widget .dot { width: 10px; height: 10px; border-radius: 50%; background: #4ADE80; box-shadow: 0 0 0 4px rgba(74,222,128,.25); flex: none; }
.lock-notif {
  display: grid; grid-template-columns: 38px 1fr; gap: 10px; text-align: left; align-items: start;
  background: rgba(255,255,255,.9); color: var(--ink); border-radius: 18px; padding: 12px;
  box-shadow: 0 14px 30px -14px rgba(0,0,0,.5);
}
.lock-notif img { width: 38px; height: 38px; border-radius: 10px; }
.lock-notif p { font-size: .8rem; line-height: 1.35; margin: 2px 0 0; color: var(--ink-2); }
.lock-notif .fmeta { font-size: .74rem; }
.flow-owner.is-in .lock-notif { animation: notifPulse 6s 1s ease-in-out infinite; }
@keyframes notifIn { from { opacity: 0; transform: translateY(-14px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes notifPulse { 0%, 88%, 100% { transform: none; } 92% { transform: scale(1.03); } }
.lock-empty { margin-top: auto; font-size: .76rem; opacity: .6; }
.flow-caption { font-size: 1.1rem; color: var(--ink-2); text-align: center; }
.flow-caption b { color: var(--ink); font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; display: block; }
.flow-note { margin-top: 18px; font-size: .82rem; color: var(--ink-3); }

@media (max-width: 900px) { .flow-feed { height: 440px; } }
@media (prefers-reduced-motion: reduce) {
  .flow-track { animation: none; }
}
.fico--brand { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.fico--brand svg { width: 22px; height: 22px; }

/* =========================================================
   La charte du propriétaire (remplace « Votre tranquillité »)
   ========================================================= */
.charter-sec { position: relative; overflow: hidden; }
.charter-sec::before { content: ""; position: absolute; left: -15vw; bottom: -35vw; width: 70vw; height: 45vw; border: 2px solid rgba(255,255,255,.06); border-top: 0; border-radius: 0 0 70vw 70vw; pointer-events: none; }
.charter-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 6vw, 88px); align-items: center; position: relative; }
@media (max-width: 960px) { .charter-grid { grid-template-columns: 1fr; } }
.charter-intro { display: grid; gap: 22px; justify-items: start; }
.charter-intro h2 { color: #fff; }
.charter {
  background: var(--paper, #FFFDF9); color: var(--ink); border-radius: 26px; padding: clamp(24px, 3.4vw, 40px);
  box-shadow: 0 50px 90px -40px rgba(0,0,0,.65), 0 0 0 1px rgba(255,255,255,.4);
  transform: rotate(-1.2deg); transition: transform .8s var(--ease-out);
  background-image: linear-gradient(#FFFDF9, #FFFDF9), repeating-linear-gradient(0deg, transparent 0 31px, rgba(58,111,181,.05) 31px 32px);
  background-blend-mode: normal;
}
.charter:hover { transform: rotate(0deg) translateY(-4px); }
@media (max-width: 960px) { .charter { transform: none; } }
.charter-head { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.charter-head small { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.charter-head h3 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.charter-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 36px); padding: 22px 0; }
@media (max-width: 620px) { .charter-cols { grid-template-columns: 1fr; } }
.charter-label { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px 6px 8px; border-radius: 999px; margin-bottom: 14px; }
.charter-label svg { width: 16px; height: 16px; }
.charter-label--ok { background: var(--ok-50); color: var(--ok); }
.charter-label--no { background: #FBEAE8; color: var(--danger); }
.charter ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.charter li { display: grid; gap: 2px; padding-left: 16px; border-left: 3px solid var(--blue-100); }
.charter-cols > div:last-child li { border-left-color: #F2CFCB; }
.charter li b { font-size: 1rem; }
.charter li span { font-size: .9rem; color: var(--ink-2); line-height: 1.45; }
.charter-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; border-top: 1px solid var(--line); }
.charter-sign { display: grid; }
.charter-sign .sig { font-family: "Caveat", cursive; font-weight: 600; font-size: 2.6rem; line-height: 1; color: var(--blue-900); transform: rotate(-4deg); transform-origin: left; }
.charter-sign small { color: var(--ink-3); font-size: .82rem; margin-top: 12px; }
.charter-body { padding: 22px 0; }
.charter-list { grid-template-columns: 1fr 1fr; column-gap: clamp(20px, 3vw, 36px); row-gap: 18px !important; }
@media (max-width: 620px) { .charter-list { grid-template-columns: 1fr; } }

/* Signature qui s'écrit + tampon qui se pose (une seule fois, à l'apparition) */
.charter-sign .sig { position: relative; display: inline-block; transform: rotate(-4deg); transform-origin: left; font-family: "Caveat", cursive; font-weight: 600; font-size: 2.6rem; line-height: 1; color: var(--blue-900); }
.sig-text { display: inline-block; padding-right: 6px; }
.seal-wrap { position: relative; width: 112px; height: 112px; flex: none; transform: rotate(-12deg); }
.seal { width: 100%; height: 100%; color: var(--blue); }
.seal-wrap::after { /* ombre du tampon sur le papier */
  content: ""; position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(closest-side, rgba(30,18,6,.45), rgba(30,18,6,0)); opacity: 0; pointer-events: none; will-change: transform, opacity;
}

html:not(.no-js) .charter:not(.signed) .sig-text { clip-path: inset(-20% 100% -20% 0); }
html:not(.no-js) .charter:not(.signed) .seal { opacity: 0; }

.charter.signed .sig-text { animation: sigWrite 1.25s .25s cubic-bezier(.45,.05,.55,.95) both; }
.charter.signed .woodstamp { animation: woodStamp 2s 1.5s both; }
.charter.signed .seal-wrap::after { animation: stampShadow 2s 1.5s ease-in-out both; }
.charter.signed .seal { animation: inkIn .45s 2.95s ease-out both; }
.seal-spin { transform-origin: 60px 60px; transform-box: view-box; }
.charter.signed .seal-spin { animation: sealSpin 36s 8.4s linear infinite; }
@keyframes sealSpin { to { transform: rotate(360deg); } }
.charter.signed .charter-foot { animation: thump .35s 2.5s ease-out both; }

@keyframes sigWrite {
  0% { clip-path: inset(-20% 100% -20% 0); }
  22% { clip-path: inset(-20% 74% -20% 0); }
  30% { clip-path: inset(-20% 66% -20% 0); }
  52% { clip-path: inset(-20% 44% -20% 0); }
  60% { clip-path: inset(-20% 37% -20% 0); }
  82% { clip-path: inset(-20% 14% -20% 0); }
  100% { clip-path: inset(-20% 0 -20% 0); }
}
.woodstamp { position: absolute; left: 50%; bottom: calc(50% - 27px); width: 136px; margin-left: -68px; transform-origin: 50% 100%; opacity: 0; pointer-events: none; z-index: 3; will-change: transform, opacity; backface-visibility: hidden; }
@keyframes woodStamp {
  0%   { opacity: 0; transform: translate3d(46px, -150px, 0) rotate(26deg); animation-timing-function: cubic-bezier(.25,.1,.25,1); }
  12%  { opacity: 1; }
  42%  { transform: translate3d(0, -16px, 0) rotate(14deg); animation-timing-function: cubic-bezier(.6,0,1,1); }
  50%  { transform: translate3d(0, 0, 0) rotate(12deg) scaleY(.94); animation-timing-function: linear; }
  62%  { transform: translate3d(0, 0, 0) rotate(12deg) scaleY(.94); animation-timing-function: cubic-bezier(.2,.8,.3,1); }
  72%  { transform: translate3d(0, -10px, 0) rotate(12deg) scaleY(1); animation-timing-function: cubic-bezier(.4,0,.6,1); }
  90%  { opacity: 1; }
  100% { opacity: 0; transform: translate3d(-30px, -170px, 0) rotate(2deg); }
}
}
}
@keyframes stampShadow { 0% { opacity: 0; transform: scale(1.5) translate(20px, 20px); } 54%, 66% { opacity: .5; transform: none; } 90%, 100% { opacity: 0; transform: scale(1.4); } }
@keyframes inkIn { 0% { opacity: 0; transform: scale(1.04); filter: blur(1.2px); } 100% { opacity: 1; transform: none; filter: none; } }
@keyframes thump { 0% { transform: translateY(0); } 35% { transform: translateY(2px); } 100% { transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  .charter .sig-text, .charter .seal { animation: none !important; clip-path: none !important; stroke-dashoffset: 0 !important; opacity: 1 !important; }
  .charter .woodstamp { display: none; }
  .charter .seal-spin { animation: none !important; }
}

/* Bouton « remonter en haut », avec anneau de progression de lecture */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 55; width: 52px; height: 52px; border-radius: 50%;
  border: 0; padding: 0; cursor: pointer; background: var(--blue); color: #fff;
  display: grid; place-items: center; box-shadow: 0 12px 28px -10px rgba(22,50,90,.6);
  opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease-out), background .2s;
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--blue-700); }
.to-top:hover .to-top-arrow { transform: rotate(-90deg) translateX(2px); }
.to-top-arrow { width: 20px; height: 20px; transform: rotate(-90deg); transition: transform .3s var(--ease-out); }
.to-top-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top-ring circle { fill: none; stroke: var(--sun); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 151; stroke-dashoffset: var(--off, 151); }
@media (max-width: 720px) { .to-top { right: 14px; bottom: 86px; width: 46px; height: 46px; } }

/* =========================================================
   Pourquoi Happy Lock ! — 4 différences
   ========================================================= */
.why-sec { background: var(--cream); }
.why-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 20px; }
.why--linen { grid-column: 1; grid-row: 1 / span 2; }
.why--photo { grid-column: 2; grid-row: 1; }
.why--real { grid-column: 3; grid-row: 1; }
.why--space { grid-column: 2 / span 2; grid-row: 2; }
.why--space .minidash { grid-template-columns: 1fr 1fr; }
@media (max-width: 1000px) {
  .why-grid { grid-template-columns: 1fr 1fr; }
  .why--linen { grid-column: 1 / -1; grid-row: auto; }
  .why--photo, .why--real { grid-column: auto; grid-row: auto; }
  .why--space { grid-column: 1 / -1; grid-row: auto; }
}
@media (max-width: 680px) {
  .why-grid { grid-template-columns: 1fr; }
  .why--space .minidash { grid-template-columns: 1fr; }
}
.why { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 34px); display: grid; gap: 12px; align-content: start; overflow: hidden; }
.why h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); padding-right: 40px; }
.why p { color: var(--ink-2); font-size: .98rem; }
.why-num { position: absolute; top: 24px; right: 26px; font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: var(--blue); background: var(--blue-50); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; }

.why--linen { background: var(--blue); color: #fff; border: 0; }
.why--linen h3 { color: #fff; }
.why--linen p { color: #DCE7F5; }
.why--linen .why-num { background: rgba(255,255,255,.16); color: #fff; }
.linen { margin-top: 10px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: 22px; padding: 22px; display: grid; gap: 18px; }
.linen-seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; background: rgba(0,0,0,.14); padding: 5px; border-radius: 999px; }
.linen-seg button { border: 0; background: none; color: #fff; font-weight: 700; min-height: 44px; border-radius: 999px; cursor: pointer; transition: background .25s, color .25s; }
.linen-seg button[aria-pressed="true"] { background: #fff; color: var(--blue-900); }
.linen-out { display: grid; gap: 4px; }
.linen-label { font-size: .86rem; color: #DCE7F5; font-weight: 600; }
.linen-total { font-family: var(--font-display); font-weight: 600; font-size: clamp(3rem, 6vw, 4.4rem); line-height: 1; color: var(--sun); font-variant-numeric: tabular-nums; }
.linen-detail { font-size: .92rem; color: #fff; display: grid; gap: 4px; margin-top: 6px; }
.linen-detail b { color: #fff; }
.linen-note { font-size: .78rem !important; color: #B9C8DE !important; }

.proofshot { position: relative; margin-top: 6px; border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--sand); }
.proofshot img { width: 100%; height: 100%; object-fit: cover; }
.stamp-time { position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; background: rgba(19,35,59,.82); color: #fff; font-size: .74rem; font-weight: 600; padding: 6px 10px; border-radius: 8px; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.stamp-time svg { width: 14px; height: 14px; color: var(--sun); }
.stamp-ok { position: absolute; right: 10px; top: 10px; display: inline-flex; align-items: center; gap: 4px; background: var(--ok); color: #fff; font-size: .74rem; font-weight: 700; padding: 5px 10px 5px 8px; border-radius: 999px; }
.stamp-ok svg { width: 13px; height: 13px; }

.realbar { display: grid; gap: 10px; margin-top: 6px; }
.realbar > div { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: center; font-size: .84rem; color: var(--ink-3); }
.realbar span { grid-column: 1 / -1; }
.realbar i { display: block; height: 10px; border-radius: 6px; background: repeating-linear-gradient(45deg, #E9E3D8 0 6px, #F3EEE6 6px 12px); width: var(--w); }
.realbar em { font-style: normal; font-weight: 700; color: var(--ink-3); text-decoration: line-through; }
.realbar .ok span { color: var(--ink); font-weight: 600; }
.realbar .ok i { background: var(--blue); }
.realbar .ok em { color: var(--blue); text-decoration: none; }
.realbar small { font-size: .76rem; color: var(--ink-3); }

.minidash { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 8px; }
.minidash li { display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; align-items: center; background: var(--cream); border-radius: 12px; padding: 10px 12px; font-size: .9rem; }
.minidash svg { width: 18px; height: 18px; color: var(--blue); }
.minidash b { font-size: .86rem; color: var(--blue-900); }
.why-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--blue); text-decoration: none; margin-top: 4px; }
.why-link svg { width: 16px; height: 16px; transition: transform .3s var(--ease-out); }
.why-link:hover svg { transform: translateX(3px); }
.why--linen { align-content: space-between; }
.linen-list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 520px) { .linen-list { grid-template-columns: 1fr; } }
.linen-list li { display: flex; align-items: center; gap: 10px; font-size: .92rem; font-weight: 600; background: rgba(255,255,255,.1); border-radius: 12px; padding: 10px 12px; }
.linen-list svg { width: 18px; height: 18px; color: var(--sun); flex: none; }

/* =========================================================
   Arrivée autonome sécurisée
   ========================================================= */
.auto-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 900px) { .auto-grid { grid-template-columns: 1fr; } }
.auto-copy h2 { margin: 16px 0 26px; }
.auto-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.auto-points li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; }
.auto-ico { width: 48px; height: 48px; border-radius: 14px; background: var(--blue); color: #fff; display: grid; place-items: center; }
.auto-ico svg { width: 22px; height: 22px; }
.auto-points b { font-size: 1.08rem; display: block; margin-bottom: 4px; }
.auto-points p { color: var(--ink-2); font-size: .98rem; }
.auto-points strong { color: var(--blue-900); }
.codebox { background: var(--blue-900); color: #fff; border-radius: var(--r-lg); padding: 24px; display: grid; gap: 12px; box-shadow: var(--shadow-lg); }
.codebox-head { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: .92rem; color: #DCE7F5; padding-bottom: 6px; }
.codebox-head svg { width: 20px; height: 20px; color: var(--sun); }
.code-row { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); border-radius: 16px; padding: 14px 16px; }
.code-row time { font-size: .8rem; color: #B9C8DE; font-variant-numeric: tabular-nums; white-space: nowrap; }
.code-dots { letter-spacing: 4px; color: #6F84A3; font-size: .9rem; }
.code-num { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; letter-spacing: 6px; color: var(--sun); }
.code-photo { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; }
.code-photo svg { width: 16px; height: 16px; color: var(--sun); }
.code-row em { font-style: normal; display: inline-flex; align-items: center; gap: 6px; font-size: .76rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.code-row em svg { width: 13px; height: 13px; }
.code-row--locked em { background: rgba(255,255,255,.1); color: #DCE7F5; }
.code-row--open { background: rgba(255,194,75,.12); border-color: rgba(255,194,75,.4); }
.code-row--open em { background: var(--ok); color: #fff; }
.code-row:last-of-type em { background: var(--blue); color: #fff; }
.codebox-note { font-size: .74rem; color: #8FA3C0; text-align: right; }
@media (max-width: 480px) { .code-row { grid-template-columns: 1fr auto; } .code-row time { grid-column: 1 / -1; } }

/* Tarif unique */
.plan--solo { max-width: 980px; margin: 0 auto; }
.plan-solo-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.plan-cols { grid-template-columns: 1fr 1fr; column-gap: 28px; }
@media (max-width: 680px) { .plan-cols { grid-template-columns: 1fr; } }
.exception { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; background: var(--white); border: 1px dashed #CFC9BE; border-radius: var(--r); padding: 22px 26px; }
.exception b { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; }
.exception p { color: var(--ink-2); font-size: .95rem; margin-top: 4px; max-width: 60ch; }

/* Carte « Pourquoi » n° 2 : code */
.stamp-code { position: absolute; left: 10px; top: 10px; display: inline-flex; align-items: center; gap: 6px; background: var(--sun); color: var(--ink); font-size: .74rem; font-weight: 700; padding: 5px 10px 5px 8px; border-radius: 999px; }
.stamp-code svg { width: 13px; height: 13px; }

/* =========================================================
   Expérience voyageur
   ========================================================= */
.guest-grid, .guest-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.page-hero .guest-hero { max-width: var(--wrap); justify-items: stretch; }
.guest-hero > div:first-child { display: grid; gap: 22px; justify-items: start; }
@media (max-width: 900px) { .guest-grid, .guest-hero { grid-template-columns: 1fr; } }
.gphone { width: min(300px, 80vw); margin: 0 auto; aspect-ratio: 9 / 18.5; border-radius: 44px; background: var(--ink); padding: 11px; box-shadow: var(--shadow-lg); transform: rotate(3deg); transition: transform .8s var(--ease-out); }
.gphone:hover { transform: rotate(0); }
.gscreen { height: 100%; border-radius: 34px; overflow: hidden; background: linear-gradient(180deg, var(--blue-50), var(--cream) 40%); padding: 36px 14px 14px; display: flex; flex-direction: column; gap: 9px; }
.gtop { display: flex; align-items: center; gap: 10px; padding: 0 4px 6px; }
.gtop small { display: block; font-size: .7rem; color: var(--ink-3); font-weight: 600; }
.gtop b { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; }
.gcard { display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: center; background: #fff; border-radius: 16px; padding: 10px 12px; box-shadow: 0 1px 2px rgba(19,35,59,.06), 0 6px 14px -10px rgba(19,35,59,.25); }
.gcard svg { width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: var(--blue-50); color: var(--blue); }
.gcard small { display: block; font-size: .68rem; color: var(--ink-3); font-weight: 600; }
.gcard b { font-size: .82rem; line-height: 1.25; }
.gcard--code { background: var(--blue-900); color: #fff; }
.gcard--code svg { background: rgba(255,194,75,.18); color: var(--sun); }
.gcard--code small { color: #B9C8DE; }
.gcard--plus svg { background: #FFF1D1; color: #A86F00; }
.journey { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: j; }
@media (max-width: 980px) { .journey { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .journey { grid-template-columns: 1fr; } }
.journey li { position: relative; background: var(--cream); border-radius: var(--r-lg); padding: 28px; display: grid; gap: 10px; align-content: start; }
.journey-ico { width: 50px; height: 50px; border-radius: 15px; background: var(--blue); color: #fff; display: grid; place-items: center; }
.journey-ico svg { width: 24px; height: 24px; }
.journey-n { position: absolute; top: 26px; right: 26px; font-family: var(--font-display); font-weight: 600; font-size: 2rem; color: var(--blue-100); line-height: 1; }
.journey p { color: var(--ink-2); font-size: .96rem; }

/* =========================================================
   Zone d'intervention : carte + vérificateur de commune
   ========================================================= */
.zcheck { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 36px); align-items: start; }
@media (max-width: 900px) { .zcheck { grid-template-columns: 1fr; } }
.zmap-wrap { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px; }
.zmap { width: 100%; height: auto; display: block; font-family: var(--font-body); }
.zdep { font-size: 13px; font-weight: 700; letter-spacing: .25em; fill: #C9C2B4; }
.zriver { fill: none; stroke: #9DBCE3; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; opacity: .8; }
.zriver--small { stroke-width: 2.5; }
.zriver-l { font-size: 11px; font-style: italic; fill: #7FA3D3; }
.zarea { stroke: var(--blue); stroke-width: 2; stroke-dasharray: 7 6; stroke-linejoin: round; }
.zcity circle { fill: var(--blue); stroke: #fff; stroke-width: 2; }
.zcity text { font-size: 12.5px; font-weight: 600; fill: var(--ink); paint-order: stroke; stroke: var(--white); stroke-width: 4px; stroke-linejoin: round; }
.zmap a:hover .zcity circle { fill: var(--sun); }
.zmap a:hover .zcity text { fill: var(--blue); }
.zbase text { font-size: 12.5px; font-weight: 800; fill: var(--blue-900); paint-order: stroke; stroke: #fff; stroke-width: 4px; }
.zpulse { fill: var(--blue); opacity: .18; transform-box: fill-box; transform-origin: center; animation: zpulse 2.4s ease-out infinite; }
@keyframes zpulse { from { transform: scale(.6); opacity: .35; } to { transform: scale(1.6); opacity: 0; } }
.zpin circle { fill: var(--sun); stroke: var(--ink); stroke-width: 2.5; }
.zpin text { font-size: 13px; font-weight: 800; fill: var(--ink); paint-order: stroke; stroke: #fff; stroke-width: 4px; }
.zpin.ok circle { fill: var(--ok); stroke: #fff; }
.zpin.no circle { fill: var(--danger); stroke: #fff; }

.zsearch { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 32px); display: grid; gap: 14px; align-content: start; }
.zsearch h3 { font-size: 1.6rem; }
.zsearch > p { color: var(--ink-2); }
.zfield { position: relative; }
.zfield > svg { position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--blue); pointer-events: none; }
.zfield input { padding-left: 46px; min-height: 58px; font-size: 1.05rem; border-radius: 16px; }
.zlist { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 20; list-style: none; margin: 0; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); max-height: 290px; overflow: auto; }
.zlist li { display: flex; justify-content: space-between; gap: 10px; padding: 11px 12px; border-radius: 10px; cursor: pointer; font-weight: 600; }
.zlist li small { color: var(--ink-3); font-weight: 500; }
.zlist li[aria-selected="true"], .zlist li:hover { background: var(--blue-50); }
.zresult:empty { display: none; }
.zresult { border-radius: 18px; padding: 18px 20px; display: grid; gap: 10px; animation: rIn .5s var(--ease-out); }
.zresult b { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; display: flex; align-items: center; gap: 10px; }
.zresult b svg { width: 26px; height: 26px; flex: none; }
.zresult p { font-size: .95rem; }
.zresult .btn { justify-self: start; }
.zresult.ok { background: var(--ok-50); color: #165C3D; }
.zresult.edge { background: #FFF4DB; color: #6B4700; }
.zresult.no { background: #F2EEE7; color: var(--ink-2); }
.zmain-l { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-top: 8px; }
.zchips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.zchips a { display: inline-block; padding: 7px 13px; border-radius: 999px; background: var(--cream); border: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: .88rem; transition: background .2s, border-color .2s; }
.zchips a:hover { background: var(--blue-50); border-color: var(--blue-100); }
.zfoot { font-size: .88rem; color: var(--ink-3); }

/* Estimation : écran de confirmation */
.diag-done { padding: clamp(28px, 5vw, 48px); gap: 14px; justify-items: start; }
.diag-done:hover { transform: none; box-shadow: none; }
.done-ico { width: 64px; height: 64px; border-radius: 50%; background: var(--ok-50); color: var(--ok); display: grid; place-items: center; }
.done-ico svg { width: 34px; height: 34px; }
.diag-done h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.diag-done p { color: var(--ink-2); }
.diag-done a:not(.btn) { color: var(--blue); font-weight: 600; }
.dnav.full { grid-column: 1 / -1; }

/* Tarifs : maison / appartement, exemple, forfait annuel */
.plan-top-row { display: flex; align-items: center; gap: 12px; }
.plan-ico { width: 46px; height: 46px; border-radius: 14px; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; }
.plan-ico svg { width: 22px; height: 22px; }
.plan-split { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .92rem; color: var(--ink-2); }
.plan-split span:not(:nth-child(2)) { background: var(--cream); border-radius: 999px; padding: 6px 12px; }
.plan-split b { color: var(--blue-900); }
.example { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3.5vw, 40px); }
@media (max-width: 820px) { .example { grid-template-columns: 1fr; } }
.example h3 { font-size: 1.5rem; margin: 12px 0 8px; }
.example p { color: var(--ink-2); }
.example-calc { display: grid; background: var(--cream); border-radius: 18px; padding: 8px 18px; }
.example-calc div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); color: var(--ink-2); }
.example-calc b { color: var(--ink); font-variant-numeric: tabular-nums; }
.example-calc .zero { color: var(--ok); }
.example-calc .total { border-bottom: 0; font-size: 1.1rem; }
.example-calc .total span, .example-calc .total b { color: var(--blue-900); font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; }
.forfait { margin-top: 20px; display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 44px); align-items: center; background: var(--blue-900); color: #fff; border-radius: var(--r-lg); padding: clamp(24px, 3.5vw, 40px); }
@media (max-width: 680px) { .forfait { grid-template-columns: 1fr; } }
.forfait-price { width: 150px; height: 150px; border-radius: 50%; border: 3px solid var(--sun); display: grid; place-content: center; text-align: center; }
.forfait-price b { font-family: var(--font-display); font-weight: 600; font-size: 2.4rem; line-height: 1; color: var(--sun); }
.forfait-price span { font-size: .9rem; color: #DCE7F5; }
.forfait h3 { font-size: 1.6rem; color: #fff; margin-bottom: 6px; }
.forfait p { color: #C9D6EA; }
.forfait .checks li { color: #DCE7F5; }
.forfait .checks b { color: #fff; }
.forfait .checks svg { color: var(--sun); }
.forfait .muted { color: #9FB1CB !important; }

/* =========================================================
   Plaquette en ligne
   ========================================================= */
.plq { display: grid; grid-template-columns: 300px 1fr; gap: clamp(24px, 4vw, 56px); max-width: 1240px; margin: 0 auto; padding: 32px var(--gutter) 80px; align-items: start; }
.plq-side { position: sticky; top: 96px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; display: grid; gap: 16px; }
.plq-side-head { display: flex; align-items: center; gap: 12px; }
.plq-side-head b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; }
.plq-side-head small { color: var(--ink-3); font-size: .8rem; }
.plq-progress { height: 6px; border-radius: 999px; background: var(--blue-50); overflow: hidden; }
.plq-progress span { display: block; height: 100%; width: 11%; background: linear-gradient(90deg, var(--blue), var(--sun)); border-radius: inherit; transition: width .5s var(--ease-out); }
.plq-toc { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.plq-toc a { display: grid; grid-template-columns: 32px 1fr 18px; gap: 10px; align-items: center; padding: 9px 10px; border-radius: 12px; text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: .94rem; transition: background .2s, color .2s; }
.plq-toc a:hover { background: var(--cream); color: var(--ink); }
.plq-toc-n { width: 32px; height: 32px; border-radius: 10px; background: var(--cream); color: var(--ink-3); display: grid; place-items: center; transition: background .2s, color .2s; }
.plq-toc-n svg { width: 16px; height: 16px; }
.plq-toc-ok { opacity: 0; color: var(--ok); transition: opacity .2s; }
.plq-toc-ok svg { width: 16px; height: 16px; }
.plq-toc a.is-done .plq-toc-ok { opacity: 1; }
.plq-toc a.is-current { background: var(--blue-50); color: var(--blue-900); }
.plq-toc a.is-current .plq-toc-n { background: var(--blue); color: #fff; }
.plq-side-cta { width: 100%; }
.plq-toc-btn { display: none; }
.plq-main { min-width: 0; max-width: 860px; }
.plq-chap { display: grid; gap: 22px; animation: rIn .55s var(--ease-out); }
.plq-chap h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
.plq-chap h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
.plq-chap h1:focus, .plq-chap h2:focus { outline: none; }
.plq-chap .hl { color: var(--ok); }
.plq-num { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.plq-hello { color: var(--blue); display: block; }
.plq-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.plq-stats div { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; display: grid; }
.plq-stats b { font-family: var(--font-display); font-weight: 600; font-size: 1.8rem; color: var(--blue-900); }
.plq-stats span { color: var(--ink-2); font-size: .9rem; }
.plq-quote { display: grid; grid-template-columns: 56px 1fr; gap: 16px; background: var(--blue-900); color: #fff; border-radius: var(--r-lg); padding: 24px; }
.plq-quote p { font-size: 1.08rem; line-height: 1.6; color: #DCE7F5; }
.plq-quote b { display: block; margin-top: 10px; color: var(--sun); font-size: .92rem; }
.plq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.plq-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1100px) { .plq-grid--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .plq-grid, .plq-grid--3, .plq-stats { grid-template-columns: 1fr; } }
.plq-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; display: grid; gap: 8px; align-content: start; }
.plq-card .ico, .plq-steps .ico { width: 42px; height: 42px; border-radius: 12px; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; }
.plq-card .ico svg, .plq-steps .ico svg { width: 21px; height: 21px; }
.plq-card p { color: var(--ink-2); font-size: .94rem; }
.plq-steps { display: grid; gap: 12px; }
.plq-steps > div { display: grid; grid-template-columns: 42px 1fr; gap: 14px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.plq-steps p { color: var(--ink-2); font-size: .94rem; margin-top: 4px; }
.plq-two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
@media (max-width: 760px) { .plq-two { grid-template-columns: 1fr; } }
.plq-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; display: grid; gap: 10px; }
.plq-box h3 { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; }
.plq-box h3 svg { width: 22px; height: 22px; color: var(--blue); }
.plq-box p { color: var(--ink-2); font-size: .95rem; }
.plq-box--kit { background: var(--blue); border: 0; color: #fff; }
.plq-box--kit h3 svg { color: var(--sun); }
.plq-box--kit p { color: #DCE7F5; }
.kit { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.kit--1 { grid-template-columns: 1fr; }
.kit li { display: flex; gap: 8px; align-items: flex-start; font-size: .92rem; font-weight: 600; }
.kit svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--sun); }
.plq-box:not(.plq-box--kit) .kit li { color: var(--ink-2); font-weight: 500; }
.plq-box:not(.plq-box--kit) .kit svg { color: var(--ok); }
.plq-calc { background: var(--cream); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 30px); display: grid; gap: 14px; }
.plq-calc h3 { font-size: 1.3rem; }
.calc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 760px) { .calc-grid { grid-template-columns: 1fr 1fr; } }
.calc-field { display: grid; gap: 6px; font-weight: 700; font-size: .86rem; }
.calc-field .stepper { width: 100%; justify-content: space-between; background: var(--white); }
.calc-field .stepper button { width: 44px; height: 44px; }
.calc-field .stepper output { min-width: 0; }
.calc-out { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
@media (max-width: 760px) { .calc-out { grid-template-columns: 1fr 1fr; } }
.calc-out > div { background: var(--white); border-radius: 14px; padding: 14px; display: grid; gap: 4px; }
.calc-out small { color: var(--ink-3); font-weight: 600; font-size: .78rem; }
.calc-out b { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; }
.calc-total { background: var(--blue-50) !important; }
.calc-total b { color: var(--blue-900); }
.calc-you { background: var(--ok-50) !important; }
.calc-you b { color: var(--ok); font-size: 1.6rem; }
.calc-note { font-size: .8rem; color: var(--ink-3); }
.plq-prices { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .plq-prices { grid-template-columns: 1fr; } }
.plq-price { background: var(--white); border: 2px solid var(--blue-100); border-radius: var(--r-lg); padding: 20px; display: grid; gap: 14px; }
.plq-price-head { display: flex; align-items: center; gap: 10px; }
.plq-price-head svg { width: 24px; height: 24px; color: var(--blue); }
.plq-price-head b { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; }
.plq-price-head strong { margin-left: auto; font-family: var(--font-display); font-weight: 600; font-size: 2.4rem; color: var(--blue-900); }
.plq-split { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.plq-split div { background: var(--cream); border-radius: 12px; padding: 10px 12px; display: grid; }
.plq-split span { font-size: .8rem; color: var(--ink-3); font-weight: 600; }
.plq-split b { font-size: 1.1rem; color: var(--blue-900); }
.plq-examples { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .plq-examples { grid-template-columns: 1fr; } }
.ex-title { border-bottom: 1px solid var(--line) !important; }
.ex-title b { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; color: var(--blue-900) !important; }
.plq-chap .forfait { margin-top: 0; }
.plq-checks { margin: 0; }
.minidash-wrap .minidash { grid-template-columns: 1fr; }
.plq-timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.plq-timeline li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; position: relative; padding-bottom: 22px; }
.plq-timeline li:not(:last-child)::before { content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: 2px; background: var(--blue-100); }
.tl-n { width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; }
.plq-timeline b { display: flex; align-items: center; gap: 8px; font-size: 1.1rem; padding-top: 9px; }
.plq-timeline b svg { width: 18px; height: 18px; color: var(--blue); }
.plq-timeline p { color: var(--ink-2); margin-top: 4px; }
.plq-nav { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 14px; border-top: 1px solid var(--line); margin-top: 10px; }
.plq-nav .btn svg { width: 16px; height: 16px; }
.plq-alt { color: var(--ink-2); }
.plq-alt a { color: var(--blue); font-weight: 600; }
/* Réservation */
.booking { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(18px, 3vw, 28px); display: grid; gap: 18px; }
.bk-days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.bk-days button { flex: none; border: 1.5px solid var(--line); background: var(--cream); border-radius: 14px; padding: 10px 14px; font-weight: 700; font-size: .88rem; cursor: pointer; }
.bk-days button[aria-selected="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.bk-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.bk-slot { border: 1.5px solid var(--blue-100); background: var(--white); color: var(--blue-900); font-weight: 700; border-radius: 12px; min-height: 46px; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.bk-slot:hover { border-color: var(--blue); }
.bk-slot.is-on { background: var(--blue); border-color: var(--blue); color: #fff; }
.bk-form { display: grid; gap: 14px; border-top: 1px solid var(--line); padding-top: 18px; }
.bk-chosen { background: var(--blue-50); border-radius: 12px; padding: 12px 14px; color: var(--blue-900); }
.bk-done { display: grid; gap: 10px; justify-items: start; }
.bk-done h3 { font-size: 1.6rem; }
@media (max-width: 960px) {
  .plq { grid-template-columns: 1fr; padding-top: 16px; }
  .plq-side { position: fixed; inset: auto 12px 12px 12px; top: auto; z-index: 70; max-height: 78vh; overflow: auto; transform: translateY(110%); transition: transform .4s var(--ease-out); box-shadow: var(--shadow-lg); }
  .plq-side.is-open { transform: none; }
  .plq-toc-btn { display: inline-flex; position: fixed; left: 12px; bottom: 12px; z-index: 65; align-items: center; gap: 8px; border: 0; background: var(--blue-900); color: #fff; font-weight: 700; padding: 12px 16px; border-radius: 999px; box-shadow: var(--shadow-lg); cursor: pointer; }
  .plq-toc-btn svg { width: 18px; height: 18px; }
  .plq-toc-btn b { background: rgba(255,255,255,.18); border-radius: 999px; padding: 2px 8px; font-size: .8rem; }
}
body:has(.plq) .mobile-bar, body:has(.plq) .to-top { display: none; }
.adm-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 20px; margin-top: 24px; align-items: start; }
@media (max-width: 900px) { .adm-grid { grid-template-columns: 1fr; } }
.adm-grid .card:hover { transform: none; box-shadow: none; }
.adm-days { display: grid; gap: 8px; }
.adm-day { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .9rem; }
.adm-day b { width: 90px; }
.adm-day input { width: auto; min-height: 40px; padding: 6px 8px; font-size: .9rem; }
#rdv-feed-url { font-size: .8rem; min-height: 40px; }
.plq-examples .example-calc { background: var(--white); border: 1px solid var(--line); }
.bk-slots > p { grid-column: 1 / -1; }
.adm-link { margin-top: 32px; gap: 14px; }
.adm-link:hover { transform: none; box-shadow: none; }
.lien-out { display: flex; gap: 8px; align-items: center; }
.lien-out input { font-size: .85rem; }
.ics-list { display: grid; gap: 8px; }
.ics-row { display: flex; gap: 8px; }
.ics-row input { font-size: .85rem; min-height: 44px; }

/* Plaquette : bouton de fermeture du sommaire (mobile) */
.plq-close { display: none; margin-left: auto; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--cream); color: var(--ink); cursor: pointer; place-items: center; flex: none; }
.plq-close svg { width: 18px; height: 18px; }
.plq-close:hover { background: var(--blue-50); }
.plq-backdrop { display: none; }
@media (max-width: 960px) {
  .plq-close { display: grid; }
  .plq-side-head { position: sticky; top: -20px; background: var(--white); padding: 4px 0 8px; z-index: 1; }
  .plq-backdrop:not([hidden]) { display: block; position: fixed; inset: 0; z-index: 66; background: rgba(19,35,59,.45); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
}
