/* Terrenas Solar — feuille de style unique, mobile d'abord, sans framework.
   Même charte que les sites du réseau (structure, typographie Outfit, composants, boutons, cartes, icônes),
   couleurs de l'énergie verte : vert (énergie propre), jaune soleil (lumière), bleu (ciel et mer).
   Contrastes WCAG AA : texte foncé sur jaune, jamais de texte jaune sur fond clair (vérifié par un test). */
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/outfit-latin-600-normal.778dd8bec372.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/outfit-latin-ext-600-normal.d4d74d39456b.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/outfit-latin-700-normal.6a0674c3b77b.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #102a24;
  --muted: #45605a;
  --green: #11703a;
  --green-700: #0b5a2e;
  --green-50: #e8f5ec;
  --sun: #ffc629;
  --sun-700: #f0a800;
  --sun-50: #fff7db;
  --sun-ink: #2a2100;
  --blue: #0b5fa5;
  --blue-700: #084a82;
  --sky: #e7f2fb;
  --sand: #fbf9f3;
  --sand-200: #ebe5d6;
  --card: #ffffff;
  --line: #d8e1dc;
  --warn-fg: #8a4500;
  --warn-bg: #fff4e0;
  --danger: #b42318;
  --danger-bg: #fdecea;
  --ok: #1b6e3a;
  --ok-bg: #e8f5ec;
  --wa: #15803d;
  --wa-700: #166534;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(16, 42, 36, 0.06), 0 6px 20px rgba(16, 42, 36, 0.08);
  --font-heading: "Outfit", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --gutter: 16px;
  --maxw: 1180px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--sand); color: var(--ink); font-family: var(--font-body); font-size: 1rem; line-height: 1.55; overflow-x: hidden; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: 2px; }
a:hover { color: var(--blue-700); }
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.18; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.7rem, 4.6vw, 2.6rem); font-weight: 700; }
h2 { font-size: clamp(1.35rem, 3vw, 1.75rem); font-weight: 700; }
h3 { font-size: 1.12rem; font-weight: 600; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
.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-link { position: absolute; left: 8px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: 8px; color: #fff; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.icon { display: inline-block; vertical-align: -0.2em; flex-shrink: 0; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.m0 { margin: 0; }
.mt-1 { margin-top: 16px; }
.mt-2 { margin-top: 28px; }
.center { text-align: center; }

/* En-tête */
.site-header { background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: saturate(1.6) blur(12px); backdrop-filter: saturate(1.6) blur(12px); border-bottom: 1px solid rgba(16, 42, 36, .08); position: sticky; top: 0; z-index: 40; }
.header-inner { display: flex; align-items: center; gap: 12px; min-height: 60px; }
.brand { white-space: nowrap; display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); font-family: var(--font-heading); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.02em; }
.brand:hover { color: var(--ink); }
.brand strong { color: var(--green); font-weight: 700; }
.brand img { width: 34px; height: 34px; }
.header-spacer { flex: 1; }
.main-nav { display: none; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.main-nav a { white-space: nowrap; display: block; padding: 8px 10px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 500; }
.main-nav a:hover, .main-nav a[aria-current="page"] { background: var(--green-50); color: var(--green-700); }
.lang-switch { display: flex; gap: 2px; font-size: .85rem; }
.lang-switch a, .lang-switch span { padding: 6px 7px; border-radius: 6px; text-decoration: none; color: var(--muted); font-weight: 600; }
.lang-switch span[aria-current] { color: #fff; background: var(--green); }
.btn.header-cta { display: none; white-space: nowrap; }
.menu-toggle { display: inline-flex; }
.mobile-menu { position: relative; }
.mobile-menu > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px; border: 1px solid var(--sand-200); border-radius: 10px; font-weight: 600; }
.mobile-menu > summary::-webkit-details-marker { display: none; }
.mobile-menu[open] > summary { background: var(--green-50); }
.mobile-panel { position: absolute; right: 0; top: calc(100% + 8px); width: min(88vw, 340px); max-height: 80vh; overflow: auto; background: #fff; border: 1px solid var(--sand-200); border-radius: var(--radius); box-shadow: var(--shadow); padding: 10px; z-index: 50; }
.mobile-panel ul { list-style: none; margin: 0; padding: 0; }
.mobile-panel a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 500; }
.mobile-panel a:hover { background: var(--green-50); }
.mobile-panel .btn { margin-top: 8px; width: 100%; }
.mobile-panel .nav-sub { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 10px 12px 4px; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 18px; border-radius: 12px; border: 2px solid transparent; font: 600 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s; text-align: center; }
.btn-sun { background: var(--sun); color: var(--sun-ink); border-color: var(--sun-700); }
.btn-sun:hover { background: var(--sun-700); color: var(--sun-ink); }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-700); color: #fff; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-700); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--sand-200); }
.btn-ghost:hover { border-color: var(--green); color: var(--green-700); }
.btn-small { min-height: 42px; padding: 8px 14px; font-size: .94rem; }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 6px 16px rgba(21, 128, 61, .25); }
.btn-wa:hover { background: var(--wa-700); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .65; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* Formulaires */
label, .label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .95rem; }
.req { color: var(--danger); font-weight: 700; }
.opt { color: var(--muted); font-weight: 400; font-size: .85rem; }
input[type="text"], input[type="tel"], input[type="email"], input[type="date"], input[type="number"], input[type="search"], input[type="file"], select, textarea {
  width: 100%; min-height: 46px; padding: 10px 12px; border: 1.5px solid #c5d2cc; border-radius: 10px; background: #fff; color: var(--ink); font: 1rem/1.3 var(--font-body);
}
input[type="file"] { padding: 8px; min-height: 0; }
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--green); outline: 3px solid rgba(17, 112, 58, .2); outline-offset: 0; }
input, select, textarea { min-width: 0; }
.field { margin-bottom: 16px; }
fieldset { border: 0; padding: 0; margin: 0 0 16px; min-width: 0; }
legend { padding: 0; }
.field-row { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
.field-row > * { min-width: 0; }
.help { font-size: .85rem; color: var(--muted); margin-top: 5px; }
.field-error { color: var(--danger); font-size: .9rem; font-weight: 600; margin-top: 6px; display: flex; gap: 6px; }
.has-error input, .has-error select, .has-error textarea { border-color: var(--danger); }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.checkbox input { width: 22px; height: 22px; margin-top: 1px; flex-shrink: 0; accent-color: var(--green); }
.phone-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.hp-field { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.alert { border-radius: var(--radius-sm); padding: 12px 14px; margin: 0 0 16px; border: 1px solid; }
.alert-error { background: var(--danger-bg); border-color: #f5c2bd; color: #7a1a12; }
.alert-info { background: var(--sky); border-color: #bcd8f0; color: var(--blue-700); }
.alert-warn { background: var(--warn-bg); border-color: #f4d9a8; color: var(--warn-fg); }
.alert-ok { background: var(--ok-bg); border-color: #bfe2cb; color: var(--ok); }
.notice { background: #fff; border: 1px solid var(--sand-200); border-left: 4px solid var(--sun-700); border-radius: var(--radius-sm); padding: 12px 14px; }
.notice-green { border-left-color: var(--green); }
.consent-box { background: var(--sand); border-radius: var(--radius-sm); padding: 12px; margin-bottom: 14px; display: grid; gap: 14px; }
.consent-item .help { margin: 4px 0 0 32px; }
.form-card { background: #fff; border: 1px solid var(--sand-200); border-radius: var(--radius); padding: 18px; }
.form-mention { border-left: 4px solid var(--green); }
.more-details { border: 1.5px dashed #c5d2cc; border-radius: 14px; margin: 4px 0 16px; background: #fff; }
.more-details > summary { cursor: pointer; padding: 12px 14px; font-weight: 700; color: var(--green-700); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.more-details > summary::-webkit-details-marker { display: none; }
.more-details > summary::after { content: "+"; font-size: 1.3rem; line-height: 1; }
.more-details[open] > summary::after { content: "–"; }
.more-details-body { padding: 0 14px 4px; }
.form-section-title { font-family: var(--font-heading); font-size: 1.02rem; margin: 18px 0 10px; color: var(--green-700); }
.choice-grid { display: grid; gap: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choice-grid .checkbox { background: #fff; border: 1.5px solid #c5d2cc; border-radius: 10px; padding: 10px; }

/* Sections */
.section { padding: 34px 0; }
.section-tight { padding: 22px 0; }
.section-alt { background: #fff; border-top: 1px solid var(--sand-200); border-bottom: 1px solid var(--sand-200); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; color: var(--muted); }
.breadcrumbs { font-size: .88rem; color: var(--muted); padding-top: 12px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumbs li + li::before { content: "›"; margin-right: 6px; color: #9fb2ab; }
.breadcrumbs a { color: var(--muted); }
.page-head { padding-top: 18px; padding-bottom: 8px; }
.page-head p { color: var(--muted); max-width: 70ch; }
.kicker { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin: 0 0 8px; color: var(--green-700); }

/* Héros */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #dff0fb 0%, #eef7ee 58%, var(--sand) 100%); }
.hero-art { position: absolute; inset: auto 0 0 0; height: 300px; pointer-events: none; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: center bottom; display: block; }
.hero-inner { position: relative; display: grid; gap: 18px; padding-top: 26px; padding-bottom: 210px; }
.hero h1 { max-width: 22ch; }
.hero .brand-line { font-family: var(--font-heading); font-weight: 700; font-size: 1.05rem; color: var(--green-700); margin: 0 0 6px; display: flex; align-items: center; gap: 8px; }
.hero .lead { font-size: 1.08rem; color: var(--ink); max-width: 60ch; }
.hero .lead-note { font-size: .9rem; color: var(--muted); max-width: 60ch; }
.hero-pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-pills li { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--sand-200); border-radius: 999px; padding: 6px 11px; font-size: .84rem; font-weight: 600; }
.quick-card { background: #fff; color: var(--ink); border-radius: 22px; box-shadow: 0 18px 40px rgba(16, 42, 36, .18); padding: 18px 16px; border-top: 6px solid var(--sun); }
.quick-card--flat { box-shadow: none; border: 2px solid var(--green); border-top-width: 6px; }

/* Formulaire rapide */
.quick-lead { display: grid; gap: 12px; }
.quick-title { font-family: var(--font-heading); font-weight: 700; font-size: 1.25rem; line-height: 1.2; margin: 0; }
.quick-sub { color: var(--muted); font-size: .93rem; margin: -6px 0 0; }
.quick-label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 6px; }
.quick-pack { display: flex; align-items: center; gap: 6px; background: var(--green-50); color: var(--green-700); border-radius: 12px; padding: 9px 12px; font-weight: 600; font-size: .92rem; margin: 0; }
.quick-goals { margin: 0; }
.chip-choices { display: flex; gap: 8px; flex-wrap: wrap; }
.chip-choice { position: relative; margin: 0; font-weight: 600; flex: 0 0 auto; }
.chip-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip-choice span { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; border: 1.5px solid #c5d2cc; border-radius: 999px; font-size: .92rem; background: #fff; cursor: pointer; }
.chip-choice input:checked + span { background: var(--green); color: #fff; border-color: var(--green); }
.chip-choice input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.quick-phone-row { display: grid; grid-template-columns: minmax(0, 7.6rem) minmax(0, 1fr); gap: 8px; }
.quick-phone-row select { min-height: 54px; font-size: .92rem; padding: 8px 6px; }
.quick-phone-row input { min-height: 54px; font-size: 1.15rem; letter-spacing: .02em; }
.quick-phone .help { margin-top: 4px; }
.quick-consents { display: grid; gap: 8px; }
.quick-consent { font-size: .82rem; color: var(--muted); }
.quick-consent input { width: 20px; height: 20px; }
.quick-lead .btn-wa { min-height: 56px; font-size: 1.08rem; border-radius: 16px; }
.quick-legal { font-size: .78rem; color: var(--muted); margin: 0; line-height: 1.45; }
.quick-more { font-size: .88rem; margin: 0; text-align: center; }

/* Raccourcis d'objectif */
.goal-grid { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
.goal-card { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--sand-200); border-radius: var(--radius); padding: 14px 16px; text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .15s; }
.goal-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--ink); }
.goal-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0; }
.goal-icon.sun { background: var(--sun); color: var(--sun-ink); }
.goal-icon.green { background: var(--green); color: #fff; }
.goal-icon.blue { background: var(--blue); color: #fff; }
.goal-card h3 { margin: 0 0 2px; }
.goal-card p { margin: 0; font-size: .9rem; color: var(--muted); }

/* Packs */
.pack-grid { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
.pack-card { background: #fff; border: 1px solid var(--sand-200); border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 2px 10px rgba(16, 42, 36, .05); }
.pack-card h3 { margin: 0; font-size: 1.2rem; }
.pack-tag { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--green-700); }
.pack-for { margin: 0; color: var(--muted); font-size: .92rem; }
.pack-facts { margin: 0; display: grid; gap: 6px; font-size: .92rem; }
.pack-facts div { border-top: 1px solid var(--sand-200); padding-top: 6px; }
.pack-facts dt { color: var(--muted); font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; }
.pack-facts dd { margin: 0; }
.price-tag { font-family: var(--font-heading); font-weight: 700; font-size: 1.2rem; }
.price-tag.on-quote { color: var(--green-700); }
.price-note { font-size: .78rem; color: var(--muted); margin: 0; }
.pack-card .btn { margin-top: auto; }
.badge { display: inline-flex; align-items: center; gap: 5px; border-radius: 999px; padding: 3px 9px; font-size: .76rem; font-weight: 700; letter-spacing: .01em; }
.badge-sun { background: var(--sun); color: var(--sun-ink); }
.badge-green { background: var(--green-50); color: var(--green-700); }
.badge-blue { background: var(--sky); color: var(--blue-700); }
.badge-warn { background: var(--warn-bg); color: var(--warn-fg); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); border: 1px solid var(--sand-200); background: #fff; }
.compare-table { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 760px; }
.compare-table th, .compare-table td { padding: 10px 12px; border-bottom: 1px solid var(--sand-200); text-align: left; vertical-align: top; }
.compare-table thead th { background: var(--green-50); color: var(--green-700); font-family: var(--font-heading); font-size: 1rem; position: sticky; top: 0; }
.compare-table tbody th { color: var(--muted); font-weight: 600; width: 170px; background: #fff; position: sticky; left: 0; }
.option-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); }
.option-list li { background: #fff; border: 1px solid var(--sand-200); border-radius: var(--radius-sm); padding: 12px 14px; }
.option-list strong { display: block; }

/* Cartes, contenus */
.card-list { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
.text-card { display: block; background: #fff; border: 1px solid var(--sand-200); border-radius: var(--radius); padding: 16px; text-decoration: none; color: var(--ink); }
.text-card:hover { border-color: var(--green); color: var(--ink); }
.text-card h3, .text-card h2 { color: var(--green-700); }
.text-card p { margin: 0; color: var(--muted); font-size: .94rem; }
.panel { background: #fff; border: 1px solid var(--sand-200); border-radius: var(--radius); padding: 16px; margin-bottom: 16px; }
.panel h2 { font-size: 1.2rem; }
.prose { max-width: 72ch; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.3em; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .35em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: .94rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--sand-200); padding: 8px 10px; text-align: left; vertical-align: top; }
.prose th { background: var(--green-50); }
.prose blockquote { margin: 1em 0; padding: 10px 14px; border-left: 4px solid var(--sun-700); background: #fff; }
.faq-item { background: #fff; border: 1px solid var(--sand-200); border-radius: var(--radius-sm); margin-bottom: 10px; }
.faq-item summary { cursor: pointer; padding: 14px 16px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--green); }
.faq-item[open] summary::after { content: "–"; }
.faq-item .faq-answer { padding: 0 16px 14px; }
.steps { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { background: #fff; border: 1px solid var(--sand-200); border-radius: var(--radius); padding: 16px 16px 16px 60px; position: relative; }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 16px; top: 16px; width: 30px; height: 30px; border-radius: 50%; background: var(--sun); color: var(--sun-ink); font-weight: 700; display: grid; place-items: center; font-family: var(--font-heading); }
.steps h3 { margin-bottom: 4px; }
.steps p { margin: 0; color: var(--muted); font-size: .94rem; }
.trust-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.trust-list li { display: flex; gap: 10px; align-items: flex-start; }
.trust-list .icon { color: var(--green); margin-top: 2px; }
.split { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
.split--aside-first > aside { order: -1; }
.aside-stack { display: flex; flex-direction: column; gap: 14px; }
.aside-stack .h3 { margin: 0; }
.done-box { max-width: 640px; margin: 30px auto; background: #fff; border-radius: var(--radius); border: 1px solid var(--sand-200); padding: 24px; text-align: center; }
.reference { font-family: var(--font-heading); font-size: 1.6rem; letter-spacing: .04em; background: var(--sun-50); color: var(--ink); border: 1px solid var(--sun-700); border-radius: 10px; padding: 8px 14px; display: inline-block; margin: 6px 0 12px; }
.policy-page { max-width: 760px; padding-top: 24px; padding-bottom: 48px; }

/* Schéma du système */
.diagram { background: #fff; border: 1px solid var(--sand-200); border-radius: var(--radius); padding: 16px; }
.diagram svg { display: block; width: 100%; height: auto; }
.diagram figcaption { font-size: .9rem; color: var(--muted); margin-top: 8px; }

/* Simulateur */
.sim-layout { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); padding-bottom: 40px; }
.sim-step { background: #fff; border: 1px solid var(--sand-200); border-radius: var(--radius); padding: 16px; margin-bottom: 14px; }
.sim-step > legend { font-family: var(--font-heading); font-weight: 700; font-size: 1.08rem; display: flex; gap: 10px; align-items: center; margin-bottom: 10px; float: left; width: 100%; }
.sim-step > legend + * { clear: both; }
.sim-step .step-num { width: 28px; height: 28px; border-radius: 50%; background: var(--green); color: #fff; display: inline-grid; place-items: center; font-size: .9rem; }
.counter-row { display: grid; grid-template-columns: minmax(0, 1fr) 6rem; gap: 10px; align-items: center; margin-bottom: 10px; }
.counter-row label { margin: 0; font-weight: 500; }
.or-sep { text-align: center; color: var(--muted); font-size: .85rem; margin: 6px 0 10px; text-transform: uppercase; letter-spacing: .06em; }
.result-hero { background: linear-gradient(135deg, var(--green) 0%, var(--green-700) 100%); color: #fff; border-radius: 20px; padding: 20px; }
.result-hero h2, .result-hero p { color: #fff; }
.result-hero .pack-name { font-family: var(--font-heading); font-size: 1.6rem; font-weight: 700; margin: 2px 0 6px; }
.result-grid { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 14px 0; }
.result-grid > div { background: #fff; border: 1px solid var(--sand-200); border-radius: 14px; padding: 12px; }
.result-grid dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 700; }
.result-grid dd { margin: 4px 0 0; font-family: var(--font-heading); font-weight: 700; font-size: 1.15rem; }
.result-grid .wide { grid-column: 1 / -1; }
.disclaimer { display: flex; gap: 10px; align-items: flex-start; background: var(--sun-50); border: 1px solid var(--sun-700); border-radius: var(--radius-sm); padding: 12px 14px; font-weight: 600; color: var(--ink); }
.answers-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.answers-table th, .answers-table td { text-align: left; padding: 7px 6px; border-bottom: 1px solid var(--sand-200); vertical-align: top; }
.answers-table th { color: var(--muted); font-weight: 600; width: 45%; }
.param-table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 720px; }
.param-table th, .param-table td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--sand-200); vertical-align: top; }
.param-table thead th { background: var(--green-50); color: var(--green-700); }
.param-table .group-row th { background: var(--sand); font-family: var(--font-heading); }

/* Réseau de sites et agence THERD */
.network-grid { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
.network-card { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--sand-200); border-radius: var(--radius); padding: 14px; text-decoration: none; color: var(--ink); }
.network-card:hover { border-color: var(--green); color: var(--ink); }
.site-badge { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; color: #fff; font-family: var(--font-heading); font-weight: 700; flex-shrink: 0; font-size: 1rem; }
.site-badge img { width: 48px; height: 48px; object-fit: contain; border-radius: 12px; background: #fff; }
.network-card h3 { margin: 0 0 2px; font-size: 1.02rem; }
.network-card p { margin: 0; font-size: .88rem; color: var(--muted); }
.network-card .domain { font-size: .8rem; color: var(--blue); font-weight: 600; }
.therd-box { display: grid; gap: 14px; background: linear-gradient(135deg, #0f3b2a 0%, #11703a 100%); color: #fff; border-radius: 20px; padding: 20px; position: relative; overflow: hidden; }
.therd-box::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 198, 41, .5) 0%, rgba(255, 198, 41, 0) 70%); }
.therd-box h2, .therd-box h3 { color: #fff; margin: 0; }
.therd-box p { margin: 0; color: #e7f3ec; }
.therd-box .kicker { color: var(--sun); }
.therd-logo { width: 54px; height: 54px; border-radius: 14px; background: var(--sun); color: var(--sun-ink); display: grid; place-items: center; font-family: var(--font-heading); font-weight: 700; font-size: .8rem; letter-spacing: .02em; flex: none; }
.therd-box .btn { justify-self: start; position: relative; z-index: 1; }
.related-link { display: flex; gap: 10px; align-items: center; background: var(--sky); border-radius: var(--radius-sm); padding: 12px 14px; color: var(--ink); }
.related-link a { font-weight: 600; }

/* Pied de page */
.site-footer { background: var(--ink); color: #d9e6e1; margin-top: 30px; padding: 30px 0 calc(20px + env(safe-area-inset-bottom)); font-size: .92rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); }
.site-footer h2 { font-size: 1rem; color: #fff; margin-bottom: 8px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer-sites li { display: flex; flex-direction: column; }
.footer-sites .site-label { font-size: .8rem; color: #b6cbc3; }
.footer-therd { display: flex; gap: 12px; align-items: center; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 198, 41, .55); border-radius: 16px; padding: 14px; margin-top: 22px; flex-wrap: wrap; }
.footer-therd p { margin: 0; flex: 1 1 220px; }
.footer-therd strong { color: #fff; display: block; font-family: var(--font-heading); }
.footer-therd .btn { min-height: 40px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .14); margin-top: 22px; padding-top: 14px; font-size: .84rem; color: #b6cbc3; }
.footer-bottom p { margin: 0 0 6px; }
.linklike { background: none; border: 0; padding: 0; color: #fff; text-decoration: underline; font: inherit; cursor: pointer; }

/* Barre fixe du bas et feuille de demande rapide */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; background: rgba(255, 255, 255, .95); border-top: 1px solid var(--sand-200); padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); display: flex; gap: 10px; align-items: center; box-shadow: 0 -8px 24px rgba(16, 42, 36, .08); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.sticky-cta .btn { flex-shrink: 0; }
.sticky-text { flex: 1; line-height: 1.2; min-width: 0; }
.sticky-text strong { display: block; font-family: var(--font-heading); font-size: 1rem; }
.sticky-text span { display: block; font-size: .8rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body:has(.sticky-cta) .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
dialog.sheet { margin: auto 0 0; width: 100%; max-width: 100%; max-height: 94dvh; border: 0; padding: 0; border-radius: 24px 24px 0 0; background: #fff; color: var(--ink); overflow: auto; box-shadow: 0 -10px 40px rgba(0, 0, 0, .25); }
dialog.sheet::backdrop { background: rgba(8, 24, 20, .55); }
dialog.sheet[open] { animation: sheet-up .22s ease-out; }
@keyframes sheet-up { from { transform: translateY(40px); opacity: .5; } to { transform: none; opacity: 1; } }
.sheet-inner { padding: 10px 16px calc(18px + env(safe-area-inset-bottom)); }
.sheet-inner::before { content: ""; display: block; width: 42px; height: 5px; border-radius: 99px; background: #d5dfdb; margin: 0 auto 10px; }
.sheet-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.sheet-head h2 { margin: 0; }
.sheet-close { border: 0; background: var(--sand); color: var(--ink); width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; flex-shrink: 0; }
.sheet-inner > .quick-sub { margin: 6px 0 12px; }
.h3 { font-size: 1.12rem; }

/* Bannière cookies (seulement si des balises de mesure sont activées) */
.cookie-banner { position: fixed; left: var(--gutter); right: var(--gutter); bottom: calc(84px + env(safe-area-inset-bottom)); z-index: 60; max-width: 560px; margin: 0 auto; background: #fff; border: 1px solid var(--sand-200); border-radius: 18px; box-shadow: 0 18px 40px rgba(16, 42, 36, .25); padding: 16px; }
.cookie-banner[hidden] { display: none; }
.cookie-banner h2 { font-size: 1.05rem; margin-bottom: 4px; }
.cookie-banner p { font-size: .9rem; margin-bottom: 10px; }
.cookie-banner .btn-row .btn { flex: 1 1 140px; }

/* Réalisations */
.project-card { background: #fff; border: 1px solid var(--sand-200); border-radius: var(--radius); overflow: hidden; }
.project-card img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.project-body { padding: 14px; }

@media (max-width: 479px) {
  .header-inner { gap: 6px; }
  .brand { font-size: 1rem; gap: 6px; }
  .brand img { width: 28px; height: 28px; }
  .lang-switch a, .lang-switch span { padding: 5px 5px; }
  .mobile-menu > summary { padding: 8px; }
  .mobile-menu > summary span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (min-width: 600px) {
  :root { --gutter: 22px; }
  .field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .phone-grid { grid-template-columns: minmax(0, 13rem) minmax(0, 1fr); }
  .card-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
  .goal-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .goal-card { flex-direction: column; align-items: flex-start; }
  .pack-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .network-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .option-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .result-grid { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
  .therd-box { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; }
  .therd-box .btn { justify-self: end; }
  .cookie-banner { bottom: 20px; }
}
@media (min-width: 900px) {
  .main-nav { display: block; }
  .btn.header-cta { display: inline-flex; }
  .menu-toggle { display: none; }
  .hero-inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: start; padding-top: 52px; padding-bottom: 230px; gap: 40px; }
  .hero-art { height: 360px; }
  .quick-card { padding: 24px; }
  .split { grid-template-columns: 1.2fr 1fr; }
  .split--aside-first > aside { order: 0; }
  .pack-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .network-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sim-layout { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: start; }
  .sim-aside { position: sticky; top: 84px; }
  .sticky-cta { display: none; }
  body:has(.sticky-cta) .site-footer { padding-bottom: 20px; }
  dialog.sheet { margin: auto; max-width: 480px; border-radius: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
  dialog.sheet[open] { animation: none; }
}
@media print {
  .site-header, .site-footer, .sticky-cta, .cookie-banner { display: none !important; }
}
.site-badge { background: var(--green); }
.hero-inner--compact { padding-bottom: 34px; }
@media (min-width: 900px) { .hero-inner--compact { padding-bottom: 46px; } }
.center-row { justify-content: center; }
.steps.single { grid-template-columns: minmax(0, 1fr) !important; }
.steps.single li { padding: 12px 12px 12px 52px; }
.steps.single li::before { left: 12px; top: 12px; width: 28px; height: 28px; }
.nowrap { white-space: nowrap; }
/* Héros : formulaire rapide juste après le titre sur téléphone, à droite sur ordinateur */
.hero-inner { grid-template-areas: "copy" "card" "extra"; }
.hero-copy { grid-area: copy; }
.hero-card { grid-area: card; }
.hero-extra { grid-area: extra; }
.diagram { margin: 0; }
.sticky-cta.is-hidden { transform: translateY(110%); }
.sticky-cta { transition: transform .2s ease; }
@media (min-width: 900px) {
  .hero-inner { grid-template-areas: "copy card" "extra card"; grid-template-rows: auto 1fr; row-gap: 8px; }
}
.quick-pack[hidden], .quick-goals[hidden] { display: none; }
