/* ════════════════════════════════════════════════════════════════
   comparesimple.ch : feuille de style
   Une seule famille (TeX Gyre Heros, hébergée sur le site), fond blanc,
   vert sapin pour les actions, brun « corne » pour les détails.
   ════════════════════════════════════════════════════════════════ */
@font-face { font-family: 'Heros'; src: url('/assets/fonts/heros-regular.woff') format('woff'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Heros'; src: url('/assets/fonts/heros-bold.woff') format('woff'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Heros'; src: url('/assets/fonts/heros-italic.woff') format('woff'); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --sapin: #1d4a3a;
  --sapin-fonce: #133428;
  --sapin-clair: #f0f5f2;
  --encre: #1b2420;
  --ardoise: #56625d;
  --brume: #eef2ef;
  --trait: #d5ddd8;
  --champ: #b4c0ba;
  --corne: #9c5a22;
  --erreur: #b42318;
  --blanc: #ffffff;
  --r: 8px;
  --wrap: 1180px;
  --pad: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--blanc); color: var(--encre);
  font-family: 'Heros', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 1.0625rem; line-height: 1.55; font-feature-settings: 'kern', 'liga';
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sapin); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
p { margin: 0 0 1em; text-wrap: pretty; }
h1, h2, h3 { margin: 0 0 .5em; font-weight: 700; color: var(--encre); text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 1.35rem + 3.1vw, 3.6rem); line-height: 1.04; letter-spacing: -.028em; }
h2 { font-size: clamp(1.55rem, 1.2rem + 1.45vw, 2.25rem); line-height: 1.12; letter-spacing: -.02em; }
h3 { font-size: 1.15rem; line-height: 1.3; letter-spacing: -.005em; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--corne); outline-offset: 2px; border-radius: 2px; }
[hidden] { display: none !important; }

.container { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.narrow > * { max-width: 46rem; }
.visually-hidden { position: absolute !important; 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: 200; background: var(--sapin); color: #fff; padding: 10px 14px; border-radius: var(--r); }
.skip:focus { top: 12px; }
.icon { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.todo { background: #fff1c7; color: #6b4300; padding: 0 4px; border-radius: 3px; }

/* ───────── Boutons ───────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px; min-height: 52px; border-radius: 6px; border: 2px solid transparent;
  font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--sapin); color: #fff; }
.btn-primary:hover { background: var(--sapin-fonce); }
.btn-secondary { background: #fff; color: var(--sapin); border-color: var(--sapin); }
.btn-secondary:hover { background: var(--sapin-clair); }
.btn-small { padding: 9px 16px; min-height: 42px; font-size: .95rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .55; cursor: default; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.link-btn { background: none; border: 0; padding: 0; color: var(--sapin); text-decoration: underline; text-underline-offset: .18em; }

/* ───────── En-tête ───────── */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--trait); }
.header-row { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 9px; color: var(--encre); text-decoration: none; font-size: 1.3rem; letter-spacing: -.03em; line-height: 1; }
.logo b { font-weight: 700; }
.logo i { font-style: normal; color: var(--ardoise); }
.logo-mark { width: 28px; height: 28px; color: var(--sapin); }
.main-nav { display: flex; gap: 24px; margin-left: auto; }
.main-nav a { color: var(--encre); text-decoration: none; font-size: .98rem; padding: 6px 0; }
.main-nav a:hover { color: var(--sapin); }
.main-nav a[aria-current] { box-shadow: inset 0 -2px 0 var(--sapin); }
.header-phone { display: inline-flex; align-items: center; gap: 8px; color: var(--encre); text-decoration: none; font-weight: 700; font-size: .98rem; font-variant-numeric: tabular-nums; }
.header-phone .icon { color: var(--sapin); }
.burger { display: none; width: 46px; height: 46px; margin-right: -10px; align-items: center; justify-content: center; background: none; border: 0; }
.burger .icon { width: 26px; height: 26px; }
.mobile-menu { border-top: 1px solid var(--trait); background: #fff; }
.mobile-menu nav { display: flex; flex-direction: column; padding-top: 8px; padding-bottom: 16px; }
.mobile-menu a { display: flex; align-items: center; gap: 10px; padding: 13px 0; border-bottom: 1px solid var(--brume); color: var(--encre); text-decoration: none; font-size: 1.1rem; }
.mobile-menu a:last-child { border: 0; font-weight: 700; color: var(--sapin); }

/* ───────── Accueil : en-tête de page ───────── */
.hero-home { overflow: hidden; }
.home-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 40px; align-items: end; }
.hero-home .hero-copy { padding: 72px 0 84px; }
.hero-home h1 { max-width: 13.5em; }
.lead { font-size: 1.2rem; line-height: 1.5; max-width: 34em; }
.hero-text { max-width: 36em; font-size: 1.1rem; line-height: 1.55; }
.hero-text p { margin: 0 0 .8em; }
.hero-text p:last-child { margin-bottom: 0; }
.hero-note { margin: 18px 0 0; font-size: .95rem; color: var(--ardoise); }
.hero-figure { height: 500px; overflow: hidden; }
.hero-mascot { width: 100%; max-width: 360px; margin-left: auto; }

/* Bandeau « Par quoi voulez-vous commencer ? » */
.start { background: var(--brume); border-top: 2px solid var(--sapin); padding: 64px 0 76px; }
.start-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.start-head p { color: var(--ardoise); max-width: 26em; }

/* ───────── Questionnaire ───────── */
.quiz-panel { position: relative; }
.quiz { position: relative; z-index: 1; background: #fff; border: 1px solid var(--trait); border-radius: 12px; padding: 28px; min-height: 280px; }
.tiles { display: flex; flex-direction: column; }
.tile {
  display: grid; grid-template-columns: 1fr auto; column-gap: 16px; align-items: center; text-align: left;
  padding: 18px 2px; background: none; border: 0; border-bottom: 1px solid var(--trait);
}
.tile:first-child { padding-top: 4px; }
.tile:last-child { border-bottom: 0; padding-bottom: 4px; }
.t-title { font-weight: 700; font-size: 1.2rem; letter-spacing: -.01em; }
.t-sub { grid-column: 1; color: var(--ardoise); font-size: .98rem; margin-top: 2px; }
.t-go { grid-column: 2; grid-row: 1 / span 2; color: var(--sapin); width: 22px; height: 22px; transition: transform .15s; }
.tile:hover .t-title { color: var(--sapin); }
.tile:hover .t-go { transform: translateX(3px); }
.quiz-meta { display: flex; justify-content: space-between; align-items: center; min-height: 28px; }
.quiz-back { display: inline-flex; align-items: center; gap: 4px; background: none; border: 0; padding: 4px 6px 4px 0; color: var(--sapin); font-size: .95rem; }
.quiz-count { color: var(--ardoise); font-size: .9rem; font-variant-numeric: tabular-nums; }
.quiz-progress { height: 4px; background: var(--brume); border-radius: 2px; margin: 10px 0 0; overflow: hidden; }
.quiz-progress span { display: block; height: 100%; background: var(--sapin); }
.quiz-q { font-size: 1.35rem; margin: 22px 0 6px; outline: none; }
.quiz-help { color: var(--ardoise); font-size: .98rem; margin: 0; }
.options { display: grid; gap: 10px; margin-top: 18px; }
.opt {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
  padding: 14px 16px; min-height: 54px; background: #fff; border: 1.5px solid var(--trait); border-radius: var(--r); line-height: 1.35;
}
.opt:hover { border-color: var(--sapin); }
.opt[aria-pressed="true"] { border-color: var(--sapin); background: var(--sapin-clair); }
.mark { width: 20px; height: 20px; flex: none; border: 2px solid var(--champ); border-radius: 50%; background: #fff; }
.opt.multi .mark { border-radius: 5px; }
.opt[aria-pressed="true"] .mark { border-color: var(--sapin); background: var(--sapin); box-shadow: inset 0 0 0 3px #fff; }
.opt.multi[aria-pressed="true"] .mark { box-shadow: none; background: var(--sapin) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.step-actions { margin-top: 18px; }
.summary { background: var(--brume); border-radius: var(--r); padding: 11px 14px; font-size: .95rem; margin: 16px 0 20px; }

/* ───────── Champs de formulaire ───────── */
.field { margin-bottom: 16px; min-width: 0; }
.field label, .bk-type legend { display: block; font-weight: 700; font-size: .95rem; margin-bottom: 6px; }
.opt-label { font-weight: 400; color: var(--ardoise); }
.input, .select {
  display: block; width: 100%; height: 50px; padding: 0 14px; background: #fff;
  border: 1.5px solid var(--champ); border-radius: 6px; font-size: 1rem;
}
textarea.input { height: auto; padding: 12px 14px; resize: vertical; min-height: 90px; }
.select { appearance: none; padding-right: 40px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%231d4a3a' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") right 12px center / 18px no-repeat; }
.input:focus, .select:focus, .phone:focus-within { outline: none; border-color: var(--sapin); box-shadow: 0 0 0 3px #d2e2d9; }
.input.invalid, .select.invalid, .phone.invalid { border-color: var(--erreur); }
.input::placeholder { color: #8c9893; }
.field-error { display: block; color: var(--erreur); font-size: .88rem; margin-top: 6px; }
.hint { display: block; color: var(--ardoise); font-size: .85rem; margin-top: 5px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.row-npa { grid-template-columns: minmax(0, .5fr) minmax(0, 1fr); }
.phone { display: flex; height: 50px; background: #fff; border: 1.5px solid var(--champ); border-radius: 6px; }
.phone-cc { position: relative; display: flex; align-items: center; gap: 6px; padding: 0 10px 0 12px; border-right: 1px solid var(--trait); font-size: .98rem; margin: 0 !important; font-weight: 400 !important; }
.phone-cc .icon { width: 14px; height: 14px; color: var(--ardoise); }
.phone-cc select { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.phone input { flex: 1; min-width: 0; border: 0; background: none; padding: 0 12px; outline: none; font-size: 1rem; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 0 10px; font-size: .9rem; color: var(--ardoise); margin: 4px 0 18px; line-height: 1.45; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--sapin); }
.consent .field-error { grid-column: 2; }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-alert { background: #fdeeec; color: var(--erreur); border-radius: 6px; padding: 12px 14px; margin-top: 14px; font-size: .95rem; }
.form-note { font-size: .88rem; color: var(--ardoise); margin: 12px 0 0; }

/* ───────── Sections ───────── */
.section { padding: 88px 0; }
.section-tint { background: var(--brume); }
.section-flush { padding-top: 0; }
.section:not(.section-tint) + .section:not(.section-tint) { border-top: 1px solid var(--trait); }
.nw { white-space: nowrap; }
.section-intro { max-width: 46rem; margin-bottom: 32px; }
.section-intro p, .split-head p { color: var(--ardoise); }
.split { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 64px; align-items: start; }
.split-head h2 { margin-top: -.12em; }

.steps { list-style: none; counter-reset: s; margin-top: 8px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 64px 1fr; padding: 26px 0; border-top: 1px solid var(--trait); }
.steps li:last-child { border-bottom: 1px solid var(--trait); }
.steps li::before { content: counter(s); grid-row: 1 / span 2; font-size: 2.2rem; font-weight: 700; line-height: 1; color: var(--corne); letter-spacing: -.03em; }
.steps h3 { font-size: 1.25rem; margin: 2px 0 6px; }
.steps p { color: var(--ardoise); margin: 0; }

.ruled { list-style: none; border-top: 1px solid var(--trait); }
.ruled li { padding: 20px 0; border-bottom: 1px solid var(--trait); }
.ruled h3 { margin: 0 0 4px; }
.ruled p { color: var(--ardoise); margin: 0; }
.section-tint .ruled, .section-tint .ruled li, .section-tint .facts > div { border-color: #c9d3cd; }

.facts { margin: 0; }
.facts > div { padding: 20px 0; border-top: 1px solid var(--trait); }
.facts > div:last-child { border-bottom: 1px solid var(--trait); }
.facts dt { font-weight: 700; font-size: 1.15rem; }
.facts dd { margin: 4px 0 0; color: var(--ardoise); max-width: 38em; }

.faq { border-top: 1px solid var(--trait); }
.faq details { border-bottom: 1px solid var(--trait); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; font-weight: 700; font-size: 1.1rem; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--sapin); width: 22px; height: 22px; transition: transform .2s; }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq .answer { padding: 0 0 20px; color: var(--ardoise); max-width: 40em; }
.faq .answer p:last-child { margin: 0; }

.booking-line { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.booking-line h2 { margin-bottom: 8px; }
.booking-line p { color: var(--ardoise); margin: 0; max-width: 40em; }

.end-cta { border-top: 1px solid var(--trait); }
.end-cta p { color: var(--ardoise); font-size: 1.1rem; }
.end-cta .btns { margin-top: 20px; }

/* ───────── Pages produit ───────── */
.hero-product { padding: 40px 0 88px; }
.product-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 540px); gap: 64px; align-items: start; }
.hero-product .hero-copy { padding-top: 72px; }
.hero-product h1 { max-width: 12em; }
.fact { border-left: 3px solid var(--corne); padding: 2px 0 2px 16px; margin-top: 28px; max-width: 30em; }
.hero-product .quiz-panel { margin-top: 128px; }
.peek { position: absolute; z-index: 0; width: 168px; right: 30px; top: -124px; pointer-events: none; user-select: none; }

/* ───────── Pages simples ───────── */
.page-hero { padding: 64px 0 40px; }
.page-hero .lead { color: var(--encre); }
.rdv-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: end; }
.hours { margin: 0 0 6px; border-left: 3px solid var(--corne); padding-left: 18px; }
.hours div { display: flex; flex-direction: column; }
.hours div + div { margin-top: 10px; }
.hours dt { font-weight: 700; }
.hours dd { margin: 0; color: var(--ardoise); }
.about-head { display: grid; grid-template-columns: minmax(0, 1fr) 170px; gap: 48px; align-items: end; }
.about-mascot { width: 170px; }
.prose { max-width: calc(46rem + 2 * var(--pad)); margin-left: max(0px, calc((100% - var(--wrap)) / 2)); padding-bottom: 96px; }
.prose h2 { font-size: 1.45rem; margin: 44px 0 12px; }
.prose ul { padding-left: 1.2em; margin-bottom: 1em; }
.prose li { margin-bottom: 6px; }
.fiche { margin: 8px 0 0; border-top: 1px solid var(--trait); }
.fiche > div { display: grid; grid-template-columns: 200px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--trait); }
.fiche dt { font-weight: 700; }
.fiche dd { margin: 0; }
.thanks { padding: 96px 0 112px; }
.thanks .note { background: var(--brume); border-radius: var(--r); padding: 14px 16px; }

/* ───────── Prise de rendez-vous ───────── */
.booking { background: #fff; border: 1px solid var(--trait); border-radius: 12px; overflow: hidden; }
.bk-grid { display: grid; grid-template-columns: 300px minmax(0, 1fr); }
.bk-side { padding: 28px; border-right: 1px solid var(--trait); }
.bk-type { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.bk-choice { display: block; position: relative; margin-bottom: 8px; cursor: pointer; }
.bk-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bk-choice > span { display: grid; grid-template-columns: 22px 1fr; column-gap: 12px; align-items: center; padding: 11px 14px; border: 1.5px solid var(--trait); border-radius: var(--r); }
.bk-choice .icon { grid-row: 1 / span 2; color: var(--ardoise); width: 20px; height: 20px; }
.bk-choice b { font-size: 1rem; line-height: 1.3; }
.bk-choice small { color: var(--ardoise); font-size: .85rem; line-height: 1.3; }
.bk-choice:hover > span { border-color: var(--sapin); }
.bk-choice input:checked + span { border-color: var(--sapin); background: var(--sapin-clair); }
.bk-choice input:checked + span .icon { color: var(--sapin); }
.bk-choice input:focus-visible + span { outline: 3px solid var(--corne); outline-offset: 2px; }
.bk-duration { color: var(--ardoise); font-size: .9rem; margin: 6px 0 0; }
.bk-cal { padding: 28px; min-width: 0; }
.bk-loading, .bk-empty { color: var(--ardoise); margin: 8px 0 0; }
.bk-week { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.bk-range { font-weight: 700; font-size: 1.1rem; margin: 0; }
.bk-nav { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; background: #fff; border: 1.5px solid var(--trait); border-radius: var(--r); color: var(--sapin); }
.bk-nav:hover:not(:disabled) { border-color: var(--sapin); }
.bk-nav:disabled { opacity: .35; cursor: default; }
.bk-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.bk-day { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 9px 0 8px; background: #fff; border: 1.5px solid var(--trait); border-radius: var(--r); line-height: 1.15; min-width: 0; }
.bk-day span { font-size: .82rem; color: var(--ardoise); }
.bk-day b { font-size: 1.2rem; font-variant-numeric: tabular-nums; }
.bk-day small { font-size: .7rem; color: var(--ardoise); }
.bk-day:hover:not(:disabled) { border-color: var(--sapin); }
.bk-day.is-off { background: #f6f8f7; border-color: transparent; color: #98a39e; cursor: default; }
.bk-day.is-off b { font-weight: 400; }
.bk-day.is-past { border-color: transparent; color: #c4ccc8; }
.bk-day.is-past span { color: #c4ccc8; }
.bk-day[aria-pressed="true"] { background: var(--sapin); border-color: var(--sapin); color: #fff; }
.bk-day[aria-pressed="true"] span { color: #cfe0d7; }
.bk-times { margin-top: 24px; min-height: 140px; }
.bk-date { font-weight: 700; margin: 0 0 4px; }
.bk-slot-group > p { font-size: .88rem; color: var(--ardoise); margin: 12px 0 8px; }
.bk-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; }
.bk-slot { padding: 11px 4px; background: #fff; border: 1.5px solid var(--trait); border-radius: var(--r); font-variant-numeric: tabular-nums; white-space: nowrap; }
.bk-slot:hover { border-color: var(--sapin); }
.bk-slot[aria-pressed="true"] { background: var(--sapin); border-color: var(--sapin); color: #fff; font-weight: 700; }
.bk-form { border-top: 1px solid var(--trait); background: #fafbfa; padding: 28px; }
.bk-form-grid { display: grid; grid-template-columns: 244px minmax(0, 1fr); gap: 56px; }
.bk-form form { max-width: 620px; }
.bk-recap h3 { margin: 0 0 10px; outline: none; }
.bk-recap p b { display: block; font-size: 1.05rem; }
.bk-recap p span { display: block; color: var(--ardoise); margin-top: 4px; }
.bk-done { padding: 40px 32px 44px; outline: none; }
.bk-done h3 { font-size: 1.6rem; letter-spacing: -.015em; }
.bk-done-when { font-weight: 700; font-size: 1.15rem; }
.bk-done p { max-width: 38em; }
.bk-done .btns { margin-top: 20px; }
.bk-off { padding: 28px; }
.bk-off p { max-width: 40em; margin: 0; }
.bk-off .btns { margin-top: 18px; }

/* ───────── Pied de page ───────── */
.site-footer { background: var(--sapin-fonce); color: #d9e4de; padding: 64px 0 28px; font-size: .98rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.site-footer .logo { color: #fff; margin-bottom: 16px; }
.site-footer .logo i { color: #9fb7ab; }
.site-footer .logo-mark { color: #fff; }
.footer-about p { max-width: 26em; margin: 0; }
.site-footer h2 { font-size: 1rem; letter-spacing: 0; color: #fff; margin: 4px 0 12px; }
.site-footer ul { list-style: none; }
.site-footer li { margin: 0 0 8px; }
.site-footer a { color: #d9e4de; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { position: relative; margin-top: 48px; padding-top: 20px; font-size: .88rem; color: #9fb7ab; }
.footer-bottom::before { content: ''; position: absolute; top: 0; left: var(--pad); right: var(--pad); border-top: 1px solid rgba(255, 255, 255, .14); }

/* ───────── Fenêtre de rappel ───────── */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgba(19, 52, 40, .55); }
.modal-box { position: relative; width: 100%; max-width: 440px; max-height: calc(100vh - 32px); overflow: auto; background: #fff; border-radius: 12px; padding: 30px 28px 26px; }
.modal-box h2 { font-size: 1.6rem; margin: 0 0 6px; }
.modal-box .intro { color: var(--ardoise); }
.modal-close { position: absolute; top: 10px; right: 10px; width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; background: none; border: 0; border-radius: 6px; color: var(--ardoise); }
.modal-close:hover { background: var(--brume); }
body.modal-open { overflow: hidden; }

/* ───────── Barre fixe (mobile) ───────── */
.sticky-bar { display: none; }

/* ───────── Responsive ───────── */
@media (max-width: 1120px) {
  .header-phone span { display: none; }
  .main-nav { gap: 18px; }
}
@media (max-width: 980px) {
  .main-nav, .header-phone { display: none; }
  .header-cta { margin-left: auto; }
  .burger { display: inline-flex; }
  .home-grid { grid-template-columns: minmax(0, 1fr) 240px; gap: 24px; }
  .hero-figure { height: 420px; }
  .start-grid, .split { grid-template-columns: 1fr; gap: 28px; }
  .product-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-product .hero-copy { padding-top: 32px; }
  .hero-product h1 { max-width: 16em; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
  .bk-grid { grid-template-columns: 1fr; }
  .bk-side { border-right: 0; border-bottom: 1px solid var(--trait); }
  .bk-type { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .bk-type legend { grid-column: 1 / -1; }
  .bk-choice { margin: 0; }
  .bk-choice > span { height: 100%; }
  .bk-side .field { max-width: 420px; }
  .bk-form-grid { grid-template-columns: 1fr; gap: 20px; }
  .rdv-head, .about-head { grid-template-columns: 1fr; gap: 24px; }
  .about-mascot { display: none; }
}
@media (max-width: 760px) {
  :root { --pad: 16px; }
  body { font-size: 1.03rem; }
  .header-row { height: 64px; gap: 12px; }
  .logo { font-size: 1.18rem; }
  .logo-mark { width: 25px; height: 25px; }
  .header-cta { display: none; }
  .burger { margin-left: auto; }
  .home-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-home .hero-copy { padding: 36px 0 8px; }
  .lead { font-size: 1.1rem; }
  .hero-text { font-size: 1.03rem; }
  .hero-home .btns { flex-direction: column; align-items: stretch; margin-top: 22px; }
  .hero-figure { height: 268px; margin-top: 12px; }
  .hero-mascot { width: 215px; margin-right: 6px; }
  .start { padding: 40px 0 48px; }
  .quiz { padding: 22px 18px; }
  .section { padding: 60px 0; }
  .section-flush { padding-top: 0; }
  .split { gap: 20px; }
  .steps li { grid-template-columns: 48px 1fr; }
  .booking-line { flex-direction: column; align-items: flex-start; gap: 22px; }
  .hero-product { padding-bottom: 56px; }
  .hero-product .quiz-panel { margin-top: 104px; }
  .peek { width: 128px; top: -97px; right: 18px; }
  .page-hero { padding: 40px 0 28px; }
  .fiche > div { grid-template-columns: 1fr; gap: 2px; }
  .row-2 { grid-template-columns: 1fr; }
  .row-npa { grid-template-columns: minmax(0, .45fr) minmax(0, 1fr); }
  .bk-side, .bk-cal, .bk-form { padding: 20px 16px; }
  .bk-type { grid-template-columns: 1fr; gap: 0; }
  .bk-choice { margin-bottom: 8px; }
  .bk-days { gap: 4px; }
  .bk-day { padding: 8px 0 7px; }
  .bk-day small { display: none; }
  .bk-day b { font-size: 1.08rem; }
  .bk-slots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bk-done { padding: 28px 20px 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .site-footer { padding-bottom: 104px; }
  .sticky-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--trait);
    transition: transform .2s;
  }
  .sticky-bar .btn { min-height: 48px; padding: 10px 12px; }
  .sticky-bar.is-hidden { transform: translateY(110%); }
}
@media (max-width: 380px) {
  .logo { font-size: 1.08rem; }
  .bk-day span { font-size: .74rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .sticky-bar, .site-footer, .modal { display: none !important; }
}
