/* ==========================================================================
   Vectis Énergies — feuille de style unique
   Couleurs, polices et réglages globaux : variables ci-dessous.
   Polices Archivo et Source Sans 3 (licence libre OFL), hébergées sur le site :
   aucun appel à un service tiers, chargement plus rapide.
   ========================================================================== */
@font-face { font-family: "Archivo"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/fonts/archivo-600.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 700; font-style: normal; font-display: swap; src: url("/assets/fonts/archivo-700.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 800; font-style: normal; font-display: swap; src: url("/assets/fonts/archivo-800.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/source-sans-3-400.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/fonts/source-sans-3-600.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 700; font-style: normal; font-display: swap; src: url("/assets/fonts/source-sans-3-700.woff2") format("woff2"); }

:root {
  --ink: #14212b;
  --ink-2: #33434e;
  --muted: #5d6b75;
  --line: #dde2e5;
  --line-2: #c5cdd2;
  --bg: #ffffff;
  --bg-alt: #f3f5f6;
  --dark: #0a2b2b;
  --brand: #0e4d48;
  --brand-700: #0a3934;
  --brand-50: #e8f1f0;
  --accent: #f0a030;
  --accent-700: #d98914;
  --accent-ink: #14212b;
  --danger: #b42318;
  --danger-50: #fdecea;
  --radius: 4px;
  --font-head: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Source Sans 3", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --maxw: 1200px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); font-size: 18px; line-height: 1.55; color: var(--ink); background: var(--bg); }
img { max-width: 100%; display: block; }
svg { display: block; }
a { color: var(--brand); text-underline-offset: 2px; }
a:hover { color: var(--brand-700); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; color: inherit; }
h1 { font-size: clamp(2rem, 4.3vw, 3.15rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 800; }
h3 { font-size: 1.18rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .container { padding: 0 28px; } }
.todo { background: #fff2a8; padding: 0 .2em; }

/* ---------- Barre d'information (haut de page) ---------- */
.topbar { background: var(--brand-700); color: #d5e5e2; font-size: .86rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar a { color: #fff; text-decoration: none; }
.segments { display: flex; gap: 0; height: 38px; }
.segments a { display: flex; align-items: center; padding: 0 14px; font-weight: 600; color: #b9d3cf; border-bottom: 2px solid transparent; }
.segments a:first-child { padding-left: 0; }
.segments a[aria-current="page"] { color: #fff; border-bottom-color: var(--accent); }
.segments a:hover { color: #fff; }
.topbar-info { display: none; gap: 18px; align-items: center; }
.topbar-info span { white-space: nowrap; }
@media (min-width: 760px) { .topbar-info { display: flex; } }

/* ---------- En-tête ---------- */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
.logo img { width: 38px; height: 38px; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text strong { font-family: var(--font-head); font-size: 1.28rem; font-weight: 800; letter-spacing: .06em; }
.logo-text small { font-family: var(--font-head); font-size: .66rem; font-weight: 600; letter-spacing: .32em; color: var(--muted); margin-top: 4px; }
.main-nav { display: none; gap: 26px; }
.main-nav a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 1rem; }
.main-nav a:hover { color: var(--brand); }
@media (min-width: 980px) { .main-nav { display: flex; } }
/* Menu mobile */
.menu-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-right: -10px; background: none; border: 0; color: var(--ink); cursor: pointer; }
.menu-toggle svg { width: 24px; height: 24px; }
@media (min-width: 980px) { .menu-toggle { display: none; } }
@media (max-width: 979px) {
  .site-header .container { min-height: 64px; gap: 12px; }
  .main-nav.open {
    display: grid; gap: 0; position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(0, 0, 0, .08); padding: 4px 16px 12px;
  }
  .main-nav.open a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .main-nav.open a:last-child { border-bottom: 0; }
  .header-actions .btn-small { min-height: 40px; padding: 0 14px; }
}
@media (max-width: 380px) { .logo-text small { letter-spacing: .24em; } .header-actions .btn-small { display: none; } }

/* Barre d'action fixe en bas d'écran (mobile) */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: flex; gap: 10px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line);
  box-shadow: 0 -6px 20px rgba(0, 0, 0, .08); transform: translateY(110%); transition: transform .2s ease;
}
.mobile-cta.show { transform: translateY(0); }
.mobile-cta .btn { flex: 1; min-height: 50px; }
.mobile-cta .btn-call { flex: none; width: 56px; padding: 0; }
.mobile-cta .btn-call svg { width: 22px; height: 22px; }
@media (min-width: 960px) { .mobile-cta { display: none; } }
@media (max-width: 959px) { body.has-mobile-cta .site-footer { padding-bottom: 96px; } }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; color: var(--brand); font-weight: 700; text-decoration: none; white-space: nowrap; }
.header-phone svg { width: 20px; height: 20px; }
.header-phone .label { display: none; }
@media (min-width: 560px) { .header-phone .label { display: inline; } }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: var(--radius); border: 2px solid transparent;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem; letter-spacing: .01em;
  text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s;
}
.btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-700); color: var(--accent-ink); }
.btn-brand { background: var(--brand); color: #fff; }
.btn-brand:hover { background: var(--brand-700); color: #fff; }
.btn-outline { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn-outline:hover { background: var(--brand-50); }
.btn-light { background: #fff; color: var(--brand-700); }
.btn-light:hover { background: var(--brand-50); color: var(--brand-700); }
.btn-small { min-height: 42px; padding: 0 16px; font-size: .92rem; }
.btn-link { background: none; border: 0; padding: 0; min-height: 0; color: var(--muted); font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; }
.btn[disabled] { opacity: .65; cursor: progress; }
.arrow::after { content: "→"; font-family: var(--font-body); }

/* ---------- Mention France Rénov' (obligatoire, art. L122-26 Code conso) ---------- */
.frenov { background: var(--bg-alt); border-bottom: 1px solid var(--line); font-size: .78rem; line-height: 1.4; color: var(--ink-2); padding: 7px 0; }
@media (min-width: 760px) { .frenov { font-size: .86rem; } }
.frenov p { margin: 0; }
.frenov a { font-weight: 700; }

/* ---------- Héros avec photo ---------- */
/* Mobile : la photo occupe le haut, le titre est posé dessus, le formulaire suit juste après.
   Ordinateur : photo plein cadre, texte à gauche, formulaire à droite. */
.hero { position: relative; color: #fff; background: var(--dark); overflow: hidden; }
.hero-bg { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 290px; object-fit: cover; object-position: 72% center; }
.hero::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 292px; z-index: 1;
  background: linear-gradient(180deg, rgba(6, 30, 30, .15) 0%, rgba(6, 30, 30, .55) 45%, var(--dark) 100%);
}
@media (min-width: 960px) {
  .hero-bg { height: 100%; bottom: 0; }
  .hero::before { height: auto; bottom: 0; background: linear-gradient(90deg, rgba(6, 30, 30, .9) 0%, rgba(6, 30, 30, .78) 42%, rgba(6, 30, 30, .25) 75%, rgba(6, 30, 30, .1) 100%); }
}
.hero > .container { position: relative; z-index: 2; }
.hero-grid { display: grid; gap: 20px; padding-top: 120px; padding-bottom: 36px; grid-template-areas: "intro" "quiz" "more"; }
.hero-intro h1 { text-shadow: 0 1px 12px rgba(0, 0, 0, .35); }
@media (max-width: 959px) {
  .hero h1 { font-size: clamp(1.75rem, 7.4vw, 2.3rem); }
  .hero .overline { margin-bottom: 10px; }
}
.hero-intro { grid-area: intro; }
.hero-grid > .quiz { grid-area: quiz; }
.hero-more { grid-area: more; }
@media (min-width: 960px) {
  .hero-grid {
    padding-top: 76px; padding-bottom: 88px; grid-template-columns: 1fr 440px; grid-template-rows: auto 1fr;
    grid-template-areas: "intro quiz" "more quiz"; column-gap: 64px; row-gap: 22px; align-items: start;
  }
}
.overline {
  display: flex; align-items: center; gap: 12px; margin: 0 0 14px;
  font-family: var(--font-head); font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand);
}
.overline::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.hero .overline { color: var(--accent); }
.hero h1 { margin: 0; max-width: 15em; }
.hero .lead { color: rgba(255, 255, 255, .86); font-size: 1.15rem; max-width: 34em; }
.hero-points { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 10px; }
.hero-points li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.hero-points svg { flex: none; width: 20px; height: 20px; margin-top: 3px; color: var(--accent); }

/* ---------- Formulaire en étapes ---------- */
.quiz { background: #fff; color: var(--ink); border-radius: 6px; border-top: 4px solid var(--accent); box-shadow: 0 24px 60px rgba(0, 0, 0, .28); padding: 22px 18px 20px; scroll-margin-top: 90px; }
@media (min-width: 640px) { .quiz { padding: 28px 28px 24px; } }
.quiz-head h2 { font-size: 1.4rem; margin-bottom: 4px; }
.quiz-head p { color: var(--muted); font-size: .98rem; margin: 0 0 16px; }
.progress { height: 4px; background: var(--line); overflow: hidden; }
.progress span { display: block; height: 100%; width: 0; background: var(--brand); transition: width .25s ease; }
.progress-label { font-size: .85rem; color: var(--muted); margin: 8px 0 16px; font-weight: 600; }
.step { border: 0; margin: 0; padding: 0; min-width: 0; }
.step legend { font-family: var(--font-head); font-size: 1.12rem; font-weight: 700; margin: 0 0 14px; padding: 0; line-height: 1.25; }
.step-hint { color: var(--muted); font-size: .95rem; margin: -6px 0 14px; }
.choices { display: grid; gap: 8px; grid-template-columns: 1fr; }
@media (min-width: 420px) { .choices.cols-2 { grid-template-columns: 1fr 1fr; } }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span {
  display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 11px 14px;
  border: 1px solid var(--line-2); border-radius: var(--radius); background: #fff;
  font-weight: 600; line-height: 1.25; transition: border-color .12s, background-color .12s, box-shadow .12s;
}
.choice span::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #9aa6ad; background: #fff; }
.choice:hover span { border-color: var(--brand); }
.choice input:checked + span { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); background: var(--brand-50); }
.choice input:checked + span::before { border-color: var(--brand); background: var(--brand); box-shadow: inset 0 0 0 3px #fff; }
.choice input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-weight: 700; font-size: .95rem; }
.field .optional { font-weight: 400; color: var(--muted); }
.field input, .field select {
  width: 100%; min-height: 50px; padding: 10px 14px; font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius);
}
.field input:focus, .field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-50); }
.field.invalid input, .field.invalid select { border-color: var(--danger); }
.field-row { display: grid; gap: 0 12px; }
@media (min-width: 480px) { .field-row { grid-template-columns: 1fr 1fr; } }
.error { display: none; color: var(--danger); font-size: .9rem; font-weight: 600; margin: 0; }
.invalid > .error, .field.invalid .error { display: block; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--ink-2); margin: 4px 0 12px; line-height: 1.45; }
.consent input { flex: none; width: 20px; height: 20px; margin-top: 1px; accent-color: var(--brand); }
.consent-wrap.invalid .consent { color: var(--danger); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.quiz-nav { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 18px; }
.quiz-nav .btn { flex: 1; }
.legal-small { font-size: .82rem; color: var(--muted); margin: 12px 0 0; }
.notice { padding: 10px 12px; font-size: .94rem; margin: 0 0 14px; background: var(--brand-50); border-radius: var(--radius); }
.notice-error { background: var(--danger-50); color: var(--danger); font-weight: 600; }
.stop-message h3 { font-size: 1.15rem; }
/* Étapes animées, retour sur la réponse, récapitulatif et garanties */
.step:not([hidden]) { animation: step-in .28s ease both; }
@keyframes step-in { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .step:not([hidden]) { animation: none; } .progress span { transition: none; } }
.ack {
  display: flex; gap: 10px; align-items: flex-start; margin: 0 0 14px; padding: 10px 12px;
  background: var(--brand-50); border-left: 3px solid var(--brand); font-size: .93rem; line-height: 1.4; color: var(--ink);
  animation: step-in .28s ease both;
}
.ack::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: 2px; background: var(--brand); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%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 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.recap { border: 1px dashed var(--line-2); padding: 10px 12px; margin: 0 0 16px; font-size: .92rem; color: var(--ink-2); }
.recap strong { display: block; font-family: var(--font-head); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: 2px; }
.reassure-list { list-style: none; margin: 4px 0 14px; padding: 0; display: grid; gap: 6px; font-size: .9rem; color: var(--ink-2); }
.reassure-list li { display: flex; gap: 8px; align-items: flex-start; }
.reassure-list li::before { content: "✓"; color: var(--brand); font-weight: 700; }
.submit-note { text-align: center; font-size: .85rem; color: var(--muted); margin: 10px 0 0; }
.quiz-reassure { display: flex; gap: 8px; align-items: center; justify-content: center; font-size: .85rem; color: var(--muted); margin: 14px 0 0; }
.quiz-reassure svg { width: 15px; height: 15px; }

/* ---------- Bandeau de garanties sous le héros ---------- */
.trust { border-bottom: 1px solid var(--line); background: #fff; }
.trust ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; }
@media (min-width: 560px) { .trust ul { grid-template-columns: 1fr 1fr; } }
@media (max-width: 959px) { .hero-points { display: none; } .hero .lead { margin: 0; font-size: 1.05rem; } .trust li { padding: 16px 0; } }
@media (min-width: 900px) { .trust ul { grid-template-columns: repeat(4, 1fr); } }
.trust li { display: flex; gap: 12px; align-items: flex-start; padding: 20px 14px 20px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .trust li { border-bottom: 0; padding: 26px 20px; border-left: 1px solid var(--line); } .trust li:first-child { border-left: 0; padding-left: 0; } }
.trust svg { flex: none; width: 26px; height: 26px; color: var(--brand); }
.trust strong { display: block; font-family: var(--font-head); font-size: 1rem; line-height: 1.25; }
.trust span { display: block; font-size: .9rem; color: var(--muted); line-height: 1.35; margin-top: 3px; }

/* Bandeau partenaire (logo KopeeV) */
.partner { display: flex; align-items: center; gap: 10px 18px; flex-wrap: wrap; padding: 16px 0 18px; border-top: 1px solid var(--line); font-size: .92rem; color: var(--muted); }
.partner a { display: inline-flex; }
.partner img { height: 38px; width: auto; }
.trust .partner { border-top: 0; }
@media (min-width: 900px) { .trust .partner { border-top: 1px solid var(--line); } }
.partner-inline { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 18px; }
.partner-inline img { height: 34px; width: auto; }

/* ---------- Sections ---------- */
.section { padding: 60px 0; }
@media (min-width: 960px) { .section { padding: 96px 0; } }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 46em; margin-bottom: 36px; }
.section-head p { color: var(--ink-2); font-size: 1.08rem; }
.split { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; } .split.reverse > :first-child { order: 2; } }
.photo { margin: 0; position: relative; background: var(--bg-alt); }
.photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.photo figcaption { font-size: .85rem; color: var(--muted); margin-top: 8px; }
.ticks { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 16px; }
.ticks li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; }
.ticks svg { width: 22px; height: 22px; color: var(--brand); margin-top: 2px; }
.ticks strong { display: block; font-family: var(--font-head); font-size: 1.05rem; }
.ticks p { margin: 2px 0 0; color: var(--ink-2); }

/* Déroulé en étapes (frise verticale) */
.timeline { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.timeline li { position: relative; counter-increment: step; padding: 0 0 26px 58px; }
.timeline li::before {
  content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 0; width: 38px; height: 38px;
  display: grid; place-items: center; background: var(--brand); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .92rem; border-radius: 2px;
}
.timeline li::after { content: ""; position: absolute; left: 18px; top: 44px; bottom: 6px; width: 2px; background: var(--line); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li:last-child::after { display: none; }
.timeline h3 { margin: 6px 0 4px; font-size: 1.08rem; }
.timeline p { margin: 0; color: var(--ink-2); }

.info-box { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--brand); padding: 20px 22px; }
.info-box p:last-child { margin-bottom: 0; }
.info-box h3 { font-size: 1.05rem; }

.sectors { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
@media (min-width: 760px) { .sectors { grid-template-columns: repeat(4, 1fr); } }
.sectors div { padding: 18px 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-weight: 600; background: #fff; }

.faq { max-width: 860px; border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { cursor: pointer; list-style: none; position: relative; padding: 20px 40px 20px 0; font-family: var(--font-head); font-weight: 700; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 26px; width: 10px; height: 10px; border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(45deg); transition: transform .15s; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 31px; }
.faq details p { margin: 0 0 20px; color: var(--ink-2); max-width: 44em; }

/* Bandeau d'appel final avec photo */
.cta-photo { position: relative; color: #fff; background: var(--dark); overflow: hidden; }
.cta-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(6, 30, 30, .8); }
.cta-photo .container { position: relative; z-index: 2; padding-top: 64px; padding-bottom: 64px; display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .cta-photo .container { grid-template-columns: 1fr auto; padding-top: 80px; padding-bottom: 80px; } }
.cta-photo h2 { margin-bottom: 8px; }
.cta-photo p { margin: 0; color: rgba(255, 255, 255, .85); font-size: 1.08rem; }

/* ---------- Accueil : entrées Particuliers / Professionnels ---------- */
.home-hero { background: var(--dark); color: #fff; padding: 56px 0 120px; }
@media (min-width: 960px) { .home-hero { padding: 80px 0 150px; } }
.home-hero .overline { color: var(--accent); }
.home-hero h1 { max-width: 18em; }
.home-hero .lead { color: rgba(255, 255, 255, .84); font-size: 1.15rem; max-width: 38em; margin: 0; }
.entries { display: grid; gap: 20px; margin-top: -84px; }
@media (min-width: 820px) { .entries { grid-template-columns: 1fr 1fr; gap: 28px; margin-top: -104px; } }
.entry { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); box-shadow: 0 10px 30px rgba(10, 43, 43, .12); transition: box-shadow .2s; }
.entry:hover { color: var(--ink); box-shadow: 0 14px 40px rgba(10, 43, 43, .2); }
.entry img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--bg-alt); }
.entry-body { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.entry-body .overline { margin: 0; }
.entry-body h2 { font-size: 1.5rem; margin: 0; }
.entry-body p { color: var(--ink-2); margin: 0; }
.entry-body .btn { margin-top: 14px; align-self: flex-start; }
.commitments { display: grid; gap: 0; border-top: 1px solid var(--line-2); }
@media (min-width: 900px) { .commitments { grid-template-columns: repeat(3, 1fr); } }
.commitments div { padding: 26px 0; border-bottom: 1px solid var(--line-2); }
@media (min-width: 900px) { .commitments div { padding: 30px 28px 30px 0; border-bottom: 0; } .commitments div + div { padding-left: 28px; border-left: 1px solid var(--line-2); } }
.commitments h3 { margin-bottom: 6px; }
.commitments p { margin: 0; color: var(--ink-2); }

/* ---------- Page merci & pages légales ---------- */
.thanks { max-width: 720px; }
.thanks .big-check { width: 56px; height: 56px; margin: 0 0 20px; color: var(--brand); }
.thanks .box { border: 1px solid var(--line); border-left: 4px solid var(--brand); padding: 20px 22px; margin: 28px 0; }
.thanks .box ul { margin: 8px 0 0; padding-left: 20px; }
.prose { max-width: 800px; }
.prose h1 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); }
.prose h2 { font-size: 1.35rem; margin-top: 1.9em; }
.prose p, .prose li { color: var(--ink-2); }
.prose table { border-collapse: collapse; width: 100%; font-size: .95rem; margin-bottom: 1em; }
.prose th, .prose td { text-align: left; border-bottom: 1px solid var(--line); padding: 9px 8px 9px 0; vertical-align: top; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--dark); color: #b7cbc8; padding: 56px 0 28px; font-size: .95rem; }
.site-footer a { color: #e9f1f0; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; } }
.site-footer .logo { color: #fff; }
.site-footer .logo-text small { color: #8fb0ab; }
.site-footer h3 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer .btn-link { color: #e9f1f0; font-weight: 400; text-decoration: none; }
.site-footer .btn-link:hover { text-decoration: underline; }
.footer-company p { margin: 14px 0 0; line-height: 1.5; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 40px; padding-top: 20px; font-size: .86rem; color: #8fb0ab; display: grid; gap: 6px; }

/* ---------- Bandeau cookies ---------- */
.cookie-banner {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; max-width: 560px; margin: 0 auto;
  background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 12px 40px rgba(0, 0, 0, .22);
  padding: 18px; font-size: .94rem;
}
.cookie-banner h2 { font-size: 1.05rem; margin-bottom: 6px; }
.cookie-banner p { color: var(--ink-2); margin-bottom: 14px; }
.cookie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cookie-actions .btn { min-height: 46px; padding: 0 12px; }
