/*!
 * Saintonge Pergolas & Carports — site.css (v3 « polish »)
 * DA : blanc + gris sauge doux, marque vert-sarcelle profond, CTA terracotta chaud.
 * Formes généreuses (rayons 12–32 px, boutons pill), photos arrondies, ombres légères.
 * Typo : Archivo (titres, UI) + Source Sans 3 (texte). Compatible CSP stricte.
 *
 * 01 Fonts · 02 Tokens · 03 Base · 04 Layout · 05 Type · 06 Buttons · 07 Header · 08 Mobile nav
 * 09 Heroes · 10 Sections · 11 Components · 12 Gallery · 13 Forms · 14 Article · 15 Footer
 * 16 Mobile CTA · 17 Cookies · 18 Lightbox · 19 Motion · 20 Utilities
 */

/* ==================================================================== 01 FONTS */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/archivo-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/archivo-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/archivo-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/source-sans-3-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/source-sans-3-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/source-sans-3-latin-600-normal.woff2") format("woff2"); }

/* =================================================================== 02 TOKENS */
:root {
  /* Couleurs — neutres légèrement sauge, jamais crème */
  --c-white: #ffffff;
  --c-grey-50: #f3f6f5;
  --c-grey-100: #e7edeb;
  --c-line: #dde4e1;
  --c-line-strong: #bccac5;
  --c-muted: #59656a;
  --c-ink: #17201f;
  --c-ral7016: #383e42;
  /* Marque : vert-sarcelle profond */
  --c-brand: #2a524e;
  --c-brand-700: #1f403c;
  --c-brand-050: #e6efec;
  --c-brand-light: #a8c7bf;
  --c-dark: #1b3533;
  --c-dark-2: #23403d;
  --c-sage: #8ea398;
  /* Action : terracotta chaud (blanc dessus = 4,55:1, AA) */
  --c-cta: #b85c33;
  --c-cta-700: #9c4b28;
  --c-cta-soft: #e7a37a;
  --c-cta-050: #fbf1ea;
  --c-error: #b42318;
  --c-success: #1d7a46;

  /* Typo */
  --f-head: "Archivo", "Arial Nova", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Source Sans 3", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-xs: 0.8125rem;
  --fs-h1: clamp(2.25rem, 1.55rem + 2.6vw, 3.75rem);
  --fs-h2: clamp(1.75rem, 1.3rem + 1.6vw, 2.625rem);
  --fs-h3: clamp(1.25rem, 1.12rem + 0.45vw, 1.5rem);
  --fs-lead: clamp(1.125rem, 1.05rem + 0.3vw, 1.3125rem);

  /* Espacements */
  --gutter: clamp(1.25rem, 3.6vw, 3rem);
  --container: 82.5rem;
  --space-section: clamp(4rem, 8vw, 7.5rem);
  --space-tight: clamp(2.5rem, 5vw, 4rem);
  --gap: clamp(1.25rem, 2.6vw, 2.5rem);
  --inset: clamp(0.75rem, 2vw, 1.75rem);

  /* Formes */
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 24px;
  --r-xl: clamp(24px, 3vw, 40px);
  --r-pill: 999px;
  --shadow-soft: 0 14px 34px -18px rgb(27 53 51 / 0.28);
  --shadow-pop: 0 26px 56px -24px rgb(27 53 51 / 0.42);
  --header-h: 5rem;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ===================================================================== 03 BASE */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1.5rem); }
:root:has(.subnav) { scroll-padding-top: calc(var(--header-h) + 5rem); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--c-white);
  color: var(--c-ink);
  font-family: var(--f-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body.is-locked { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote, table, fieldset { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
a { color: var(--c-brand); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--c-brand-700); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
address { font-style: normal; }
table { border-collapse: collapse; width: 100%; }
fieldset { border: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
hr { border: 0; border-top: 1px solid var(--c-line); margin: 2rem 0; }
:focus-visible { outline: 2px solid var(--c-brand); outline-offset: 3px; }
.section--dark :focus-visible, .site-footer :focus-visible, .cta-band :focus-visible, .hero-band :focus-visible, .topbar :focus-visible, .band-split :focus-visible, .inline-cta :focus-visible { outline-color: var(--c-cta-soft); }
::selection { background: var(--c-brand); color: var(--c-white); }
main:focus { outline: none; }
[hidden] { display: none !important; }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon--fill { fill: currentColor; stroke: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* =================================================================== 04 LAYOUT */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(54rem + var(--gutter) * 2); }

.section { padding-block: var(--space-section); }
.section--tight { padding-block: var(--space-tight); }
.section--flush-top { padding-top: 0; }
.section--flush-bottom { padding-bottom: 0; }
.section--grey { background: var(--c-grey-50); }
.section--rule { border-top: 1px solid var(--c-line); }
.section--dark { background: var(--c-dark); color: #d3e0dc; }
.section--dark h2, .section--dark h3, .section--dark strong { color: var(--c-white); }
.section--dark a:not(.btn) { color: var(--c-white); }

.grid { display: grid; gap: var(--gap); }
@media (min-width: 40em) { .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64em) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.split { display: grid; gap: var(--gap); align-items: center; }
@media (min-width: 56em) {
  .split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2.5rem, 5vw, 5rem); }
  .split--even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split--reverse > :first-child { order: 2; }
  .split--top { align-items: start; }
}
.split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); }

.with-aside { display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); }
@media (min-width: 64em) {
  .with-aside { grid-template-columns: minmax(0, 1fr) 22.5rem; align-items: start; }
  .with-aside--left { grid-template-columns: 20rem minmax(0, 1fr); }
  .with-aside__sticky { position: sticky; top: calc(var(--header-h) + 5.5rem); }
}

.stack > * + * { margin-top: var(--flow, 1rem); }
.stack-lg > * + * { margin-top: clamp(3rem, 6vw, 4.5rem); }

/* ===================================================================== 05 TYPE */
h1, h2, h3, h4, .h1, .h2, .h3 { font-family: var(--f-head); color: var(--c-ink); font-weight: 700; letter-spacing: -0.015em; text-wrap: balance; }
h1, .h1 { font-size: var(--fs-h1); line-height: 1.06; letter-spacing: -0.022em; }
h2, .h2 { font-size: var(--fs-h2); line-height: 1.1; }
h3, .h3 { font-size: var(--fs-h3); line-height: 1.22; letter-spacing: -0.01em; }
h4 { font-size: 1.0625rem; line-height: 1.3; letter-spacing: 0; }
p { text-wrap: pretty; }
strong { font-weight: 600; }

.label {
  display: block;
  font-family: var(--f-head);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-brand);
}
.section--dark .label, .cta-band .label, .hero-band .label, .band-split .label { color: var(--c-cta-soft); }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--c-ink); }
.muted { color: var(--c-muted); }
.small { font-size: var(--fs-small); }
.section--dark .muted { color: #a9bcb6; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--f-head); font-size: var(--fs-small); font-weight: 700;
  color: var(--c-ink); text-decoration: none;
  border-bottom: 2px solid var(--c-cta); padding-bottom: 0.2rem;
}
.link-arrow .icon { width: 1.1em; height: 1.1em; transition: transform 0.2s var(--ease); }
.link-arrow:hover { color: var(--c-brand); }
.link-arrow:hover .icon { transform: translateX(3px); }

.checklist { display: grid; gap: 0.65rem; }
.checklist li { display: flex; gap: 0.75rem; align-items: flex-start; }
.checklist .icon { color: var(--c-brand); margin-top: 0.2em; }
.section--dark .checklist .icon, .band-split .checklist .icon { color: var(--c-cta-soft); }

/* ================================================================== 06 BUTTONS */
.btn {
  --btn-bg: var(--c-ink); --btn-fg: var(--c-white); --btn-bd: var(--btn-bg);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 3rem; padding: 0.75rem 1.5rem;
  border: 1.5px solid var(--btn-bd); border-radius: var(--r-pill);
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--f-head); font-size: 0.9375rem; font-weight: 700; line-height: 1.15; letter-spacing: 0.005em;
  text-decoration: none; text-align: center;
  transition: background-color 0.18s, border-color 0.18s, color 0.18s, box-shadow 0.18s;
}
.btn:hover { color: var(--btn-fg); }
.btn .icon { width: 1.15em; height: 1.15em; }
.btn .icon--arrow { transition: transform 0.2s var(--ease); }
.btn:hover .icon--arrow { transform: translateX(3px); }
.btn--primary { --btn-bg: var(--c-cta); box-shadow: 0 10px 22px -14px rgb(184 92 51 / 0.9); }
.btn--primary:hover { --btn-bg: var(--c-cta-700); }
.btn--brand { --btn-bg: var(--c-brand); }
.btn--brand:hover { --btn-bg: var(--c-brand-700); }
.btn--dark { --btn-bg: var(--c-brand); }
.btn--dark:hover { --btn-bg: var(--c-brand-700); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--c-brand); --btn-bd: var(--c-brand); }
.btn--outline:hover { --btn-bg: var(--c-brand); --btn-fg: var(--c-white); }
.btn--light { --btn-bg: var(--c-white); --btn-fg: var(--c-brand); }
.btn--light:hover { --btn-bg: var(--c-brand-050); --btn-fg: var(--c-brand-700); }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: var(--c-white); --btn-bd: rgb(255 255 255 / 0.55); }
.btn--ghost-light:hover { --btn-bg: var(--c-white); --btn-fg: var(--c-brand); --btn-bd: var(--c-white); }
.btn--lg { min-height: 3.5rem; padding: 0.95rem 1.9rem; font-size: 1rem; }
.btn--sm { min-height: 2.5rem; padding: 0.5rem 1.1rem; font-size: 0.875rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.6; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }

/* =================================================================== 07 HEADER */
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 200; padding: 0.75rem 1.1rem; border-radius: var(--r-pill); background: var(--c-brand); color: var(--c-white); font-family: var(--f-head); font-weight: 700; }
.skip-link:focus { top: 1rem; color: var(--c-white); }

.topbar { background: var(--c-dark); color: #b9ccc6; font-size: var(--fs-xs); }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; min-height: 2.375rem; }
.topbar__list { display: flex; gap: 1.75rem; align-items: center; }
.topbar__item { display: inline-flex; align-items: center; gap: 0.45rem; }
.topbar__item .icon { width: 1rem; height: 1rem; color: var(--c-cta-soft); }
.topbar a { color: var(--c-white); text-decoration: none; font-weight: 600; }
.topbar a:hover { text-decoration: underline; color: var(--c-white); }
@media (max-width: 63.99em) { .topbar { display: none; } }
@media (max-width: 79.99em) { .topbar__item--wide { display: none; } }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--c-white); border-bottom: 1px solid var(--c-line); transition: box-shadow 0.2s, border-color 0.2s; }
.site-header.is-scrolled { border-bottom-color: transparent; box-shadow: 0 12px 28px -22px rgb(27 53 51 / 0.45); }
.site-header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--c-ink); flex: none; }
.brand:hover { color: var(--c-ink); }
.brand__mark { width: 2.75rem; height: 2.75rem; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--f-head); font-size: 1.3125rem; font-weight: 800; letter-spacing: 0.035em; text-transform: uppercase; }
.brand__tagline { margin-top: 0.3rem; font-family: var(--f-head); font-size: 0.625rem; font-weight: 700; letter-spacing: 0.17em; text-transform: uppercase; color: var(--c-brand); }
.brand--light, .brand--light:hover { color: var(--c-white); }
.brand--light .brand__tagline { color: var(--c-brand-light); }

.nav { display: none; margin-left: auto; }
.nav__list { display: flex; align-items: stretch; gap: 0.25rem; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link {
  position: relative; display: flex; align-items: center; min-height: var(--header-h);
  padding-inline: 0.7rem;
  font-family: var(--f-head); font-size: 0.9375rem; font-weight: 600; color: var(--c-ink); text-decoration: none;
}
.nav__link::after { content: ""; position: absolute; left: 0.7rem; right: 0.7rem; bottom: 1.15rem; height: 3px; border-radius: var(--r-pill); background: var(--c-cta); transform: scaleX(0); transform-origin: left; transition: transform 0.2s var(--ease); }
.nav__link:hover { color: var(--c-brand); }
.nav__link:hover::after, .nav__link[aria-current]::after, .nav__item.is-open > .nav__link::after { transform: scaleX(1); }
.nav__link[aria-current] { color: var(--c-brand); }
.nav__item--has-sub .nav__link { padding-right: 0.15rem; }
.nav__item--has-sub .nav__link::after { right: 0.15rem; }
.nav__toggle { display: grid; place-items: center; width: 1.75rem; height: 1.75rem; margin-right: 0.35rem; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--c-muted); }
.nav__toggle:hover { background: var(--c-grey-50); color: var(--c-brand); }
.nav__toggle .icon { width: 1rem; height: 1rem; transition: transform 0.2s; }
.nav__toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }

.nav__sub {
  position: absolute; top: calc(100% - 0.5rem); left: -1rem; z-index: 60;
  width: 41rem; padding: 1.25rem;
  background: var(--c-white); border-radius: var(--r-lg);
  box-shadow: var(--shadow-pop);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.25rem 0.75rem;
  visibility: hidden; opacity: 0; transform: translateY(8px);
  transition: opacity 0.18s, transform 0.18s, visibility 0s 0.18s;
}
.nav__item.is-open > .nav__sub { visibility: visible; opacity: 1; transform: none; transition: opacity 0.18s, transform 0.18s; }
@media (hover: hover) {
  .nav__item--has-sub:hover > .nav__sub { visibility: visible; opacity: 1; transform: none; transition: opacity 0.18s, transform 0.18s; }
}
.nav__sub-link {
  display: grid; grid-template-columns: 5.5rem 1fr; grid-template-rows: auto 1fr; column-gap: 0.9rem;
  padding: 0.6rem; border-radius: var(--r-md); text-decoration: none; color: var(--c-ink);
}
.nav__sub-link:hover { background: var(--c-grey-50); color: var(--c-ink); }
.nav__sub-img { grid-row: span 2; width: 5.5rem; height: 4rem; object-fit: cover; border-radius: var(--r-sm); }
.nav__sub-title { align-self: end; font-family: var(--f-head); font-size: 0.9375rem; font-weight: 700; }
.nav__sub-link:hover .nav__sub-title { color: var(--c-brand); }
.nav__sub-desc { font-size: var(--fs-small); color: var(--c-muted); line-height: 1.35; }
.nav__sub-all {
  grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between;
  margin-top: 0.6rem; padding: 0.85rem 1rem; border-radius: var(--r-md); background: var(--c-brand-050);
  font-family: var(--f-head); font-size: var(--fs-small); font-weight: 700; color: var(--c-brand); text-decoration: none;
}
.nav__sub-all:hover { background: var(--c-brand); color: var(--c-white); }

.header-actions { display: flex; align-items: center; gap: 0.75rem; margin-left: auto; }
.nav + .header-actions { margin-left: 0.75rem; }
.header-phone { display: none; align-items: center; gap: 0.65rem; padding-right: 0.5rem; color: var(--c-ink); text-decoration: none; }
.header-phone__icon { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--c-brand-050); color: var(--c-brand); }
.header-phone__icon .icon { width: 1.1rem; height: 1.1rem; }
.header-phone__text { display: flex; flex-direction: column; line-height: 1.15; }
.header-phone__label { font-size: var(--fs-xs); color: var(--c-muted); }
.header-phone__number { font-family: var(--f-head); font-size: 1.0625rem; font-weight: 800; letter-spacing: 0.01em; white-space: nowrap; }
.header-phone:hover .header-phone__number { color: var(--c-brand); }
.header-call { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--c-brand-050); color: var(--c-brand); }
.header-call .icon { width: 1.2rem; height: 1.2rem; }
.btn--quote { display: none; }
.burger { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0; border: 0; border-radius: 50%; background: var(--c-brand); color: var(--c-white); }
.burger:hover { background: var(--c-brand-700); }
.burger .icon { width: 1.35rem; height: 1.35rem; }

@media (min-width: 40em) {
  .btn--quote { display: inline-flex; }
}
@media (min-width: 64em) {
  .header-call { display: none; }
  .header-phone { display: flex; }
}
@media (min-width: 75em) {
  .nav { display: block; }
  .burger { display: none; }
}
@media (max-width: 39.99em) {
  :root { --header-h: 4.25rem; }
  .brand__mark { width: 2.375rem; height: 2.375rem; }
  .brand__name { font-size: 1.125rem; }
  .brand__tagline { font-size: 0.5625rem; letter-spacing: 0.14em; }
  .header-actions { gap: 0.5rem; }
}

/* =============================================================== 08 MOBILE NAV */
.mobile-nav { position: fixed; inset: 0; z-index: 120; visibility: hidden; }
.mobile-nav.is-open { visibility: visible; }
.mobile-nav__backdrop { position: absolute; inset: 0; background: rgb(27 53 51 / 0.55); opacity: 0; transition: opacity 0.25s; }
.mobile-nav.is-open .mobile-nav__backdrop { opacity: 1; }
.mobile-nav__panel {
  position: absolute; inset: 0 0 0 auto; width: min(100%, 28rem);
  display: flex; flex-direction: column; overflow: hidden; background: var(--c-white);
  border-radius: var(--r-lg) 0 0 var(--r-lg);
  transform: translateX(100%); transition: transform 0.3s var(--ease);
}
.mobile-nav.is-open .mobile-nav__panel { transform: none; }
.mobile-nav__head { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); padding-inline: var(--gutter); border-bottom: 1px solid var(--c-line); }
.mobile-nav__close { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 0; border-radius: 50%; background: var(--c-brand-050); color: var(--c-brand); }
.mobile-nav__close .icon { width: 1.3rem; height: 1.3rem; }
.mobile-nav__body { flex: 1; overflow-y: auto; padding: 0.5rem var(--gutter) 1.5rem; }
.mobile-nav__list > li { border-bottom: 1px solid var(--c-line); }
.mobile-nav__link, .mobile-nav summary {
  display: flex; align-items: center; justify-content: space-between; min-height: 3.5rem;
  font-family: var(--f-head); font-size: 1.1875rem; font-weight: 700; color: var(--c-ink); text-decoration: none; cursor: pointer; list-style: none;
}
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary .icon { transition: transform 0.2s; color: var(--c-muted); }
.mobile-nav details[open] summary .icon { transform: rotate(180deg); }
.mobile-nav__link[aria-current] { color: var(--c-brand); }
.mobile-nav__sub { padding: 0 0 1rem; display: grid; gap: 0.25rem; }
.mobile-nav__sub a { display: block; padding: 0.6rem 1rem; border-radius: var(--r-sm); background: var(--c-grey-50); color: var(--c-ink); text-decoration: none; font-weight: 600; }
.mobile-nav__sub a:hover { background: var(--c-brand-050); color: var(--c-brand); }
.mobile-nav__foot { display: grid; gap: 0.75rem; padding: 1.25rem var(--gutter) calc(1.25rem + env(safe-area-inset-bottom)); background: var(--c-grey-50); }
.mobile-nav__info { font-size: var(--fs-small); color: var(--c-muted); }

/* ================================================================== 09 HEROES */
/* Crumbs bar (pages intérieures) */
.crumbs { background: var(--c-white); }
.crumbs:has(+ .page-head) { background: var(--c-grey-50); }
.crumbs .container { display: flex; align-items: center; min-height: 3rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; list-style: none; margin: 0; padding: 0; font-size: var(--fs-small); color: var(--c-muted); }
.breadcrumb li { display: inline-flex; align-items: center; gap: 0.5rem; }
.breadcrumb li + li::before { content: ""; width: 0.4rem; height: 0.4rem; border-top: 1.5px solid var(--c-line-strong); border-right: 1.5px solid var(--c-line-strong); transform: rotate(45deg); }
.breadcrumb a { color: var(--c-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--c-brand); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--c-ink); font-weight: 600; }

/* Hero accueil / produit : photo pleine largeur au bas arrondi + panneau blanc flottant */
.hero { position: relative; background: var(--c-white); }
@media (max-width: 55.99em) { .hero__inner { padding-inline: var(--inset); } }
.hero__frame { position: relative; overflow: hidden; height: clamp(17rem, 62vw, 28rem); border-radius: 0 0 var(--r-xl) var(--r-xl); background: var(--c-dark); }
.hero__media, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__media { object-position: 50% 40%; }
.hero__video { opacity: 0; transition: opacity 0.8s; }
.hero__video.is-playing { opacity: 1; }
.hero__video-toggle {
  position: absolute; right: var(--gutter); top: 1rem; z-index: 3;
  display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.5rem; padding: 0.4rem 1rem;
  border: 0; border-radius: var(--r-pill); background: rgb(27 53 51 / 0.72); color: var(--c-white);
  font-family: var(--f-head); font-size: var(--fs-xs); font-weight: 700;
}
.hero__video-toggle .icon { width: 0.95rem; height: 0.95rem; }
.hero__video-toggle .icon-play, .hero__video-toggle[aria-pressed="true"] .icon-pause { display: none; }
.hero__video-toggle[aria-pressed="true"] .icon-play { display: block; }
.hero__panel { position: relative; z-index: 2; margin-top: -2.5rem; padding: 1.75rem 1.5rem 2rem; border-radius: var(--r-lg); background: var(--c-white); box-shadow: var(--shadow-soft); }
.hero__label { margin-bottom: 0.9rem; }
.hero__title { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.375rem); }
.hero__lead { margin-top: 1rem; font-size: var(--fs-lead); color: var(--c-muted); max-width: 36rem; }
.hero__actions { margin-top: 1.75rem; }
.hero__meta { margin-top: 1.25rem; font-size: var(--fs-small); color: var(--c-muted); }
.hero__meta a { font-family: var(--f-head); font-weight: 700; color: var(--c-ink); text-decoration: none; }
@media (min-width: 56em) {
  .hero { min-height: clamp(36rem, calc(100svh - var(--header-h) - 2.375rem), 52rem); display: flex; align-items: flex-end; }
  .hero__frame { position: absolute; inset: 0; height: auto; }
  .hero__inner { position: relative; z-index: 2; width: 100%; }
  .hero__panel { width: min(40rem, 56%); margin: 0 0 5rem; padding: 2.75rem 3rem 3rem; box-shadow: var(--shadow-pop); }
  .hero__video-toggle { top: auto; bottom: 4.5rem; }
  .hero--product { min-height: clamp(32rem, 72vh, 44rem); align-items: center; }
  .hero--product .hero__panel { width: min(38rem, 52%); margin-block: 3rem; }
  .hero--product .hero__video-toggle { bottom: 1.75rem; }
}

/* Barre de gammes (flotte sur le bas du hero) */
.range-bar { position: relative; z-index: 3; }
.range-bar__list { display: flex; gap: 0.5rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-block: 1.25rem; }
.range-bar__list::-webkit-scrollbar { display: none; }
.range-bar__item { flex: 1 0 15rem; scroll-snap-align: start; }
.range-bar__link {
  display: grid; grid-template-columns: 4.25rem 1fr auto; align-items: center; gap: 0.9rem;
  height: 100%; padding: 0.75rem 1rem 0.75rem 0.75rem; border-radius: var(--r-md); background: var(--c-grey-50);
  color: var(--c-ink); text-decoration: none; transition: background-color 0.18s;
}
.range-bar__img { width: 4.25rem; height: 3.25rem; object-fit: cover; border-radius: var(--r-sm); }
.range-bar__name { display: block; font-family: var(--f-head); font-weight: 700; font-size: 0.9875rem; line-height: 1.2; }
.range-bar__meta { display: block; font-size: var(--fs-xs); color: var(--c-muted); margin-top: 0.15rem; }
.range-bar__link .icon { width: 1.1rem; height: 1.1rem; color: var(--c-cta); transition: transform 0.2s var(--ease); }
.range-bar__link:hover { background: var(--c-brand-050); color: var(--c-brand); }
.range-bar__link:hover .icon { transform: translateX(3px); }
@media (min-width: 56em) {
  .range-bar { margin-top: -3.25rem; }
  .range-bar__list { padding: 0.6rem; border-radius: var(--r-lg); background: var(--c-white); box-shadow: var(--shadow-soft); }
  .range-bar__link { background: transparent; }
  .range-bar__item + .range-bar__item { position: relative; }
  .range-bar__item + .range-bar__item::before { content: ""; position: absolute; left: -0.25rem; top: 20%; bottom: 20%; width: 1px; background: var(--c-line); }
}

/* Hero « bande » (pages hub / ville / à propos) : photo + bandeau sarcelle, bas arrondi */
.hero-band { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: clamp(26rem, 58vh, 38rem); overflow: hidden; border-radius: 0 0 var(--r-xl) var(--r-xl); color: var(--c-white); background: var(--c-dark); }
.hero-band__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-band__bar { position: relative; background: rgb(27 53 51 / 0.86); }
.hero-band__inner { display: grid; gap: 1.25rem 3rem; padding-block: clamp(1.75rem, 3.5vw, 2.75rem) clamp(2rem, 4vw, 3.25rem); }
.hero-band h1 { color: var(--c-white); font-size: clamp(2rem, 1.45rem + 2.2vw, 3.25rem); }
.hero-band__lead { color: #d3e0dc; font-size: var(--fs-lead); max-width: 40rem; }
.hero-band .label { margin-bottom: 0.75rem; }
@media (min-width: 64em) {
  .hero-band__inner { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
  .hero-band__actions { justify-content: flex-end; }
}

/* En-tête de page sans photo : bloc gris sauge au bas arrondi */
.page-head { padding-block: clamp(2rem, 5vw, 4rem) clamp(2.25rem, 4.5vw, 3.5rem); border-radius: 0 0 var(--r-xl) var(--r-xl); background: var(--c-grey-50); }
.page-head__inner { display: grid; gap: 1.25rem 3rem; }
.page-head h1 { max-width: 20ch; }
.page-head .lead { color: var(--c-muted); max-width: 44rem; }
.page-head__aside { font-size: var(--fs-small); color: var(--c-muted); }
.page-head__aside strong { display: block; font-family: var(--f-head); font-size: 2.5rem; line-height: 1; color: var(--c-brand); }
.page-head__aside a { display: block; margin-block: 0.35rem; color: var(--c-ink); text-decoration: none; }
.page-head__aside a:hover strong { color: var(--c-cta); }
@media (min-width: 56em) {
  .page-head__inner { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
  .page-head__aside { padding: 1.25rem 1.5rem; border-radius: var(--r-md); background: var(--c-white); }
}
.page-head--grey { background: var(--c-grey-50); }

/* ================================================================= 10 SECTIONS */
.section-head { display: grid; gap: 1rem 3rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head h2 { max-width: 22ch; }
.section-head p { color: var(--c-muted); max-width: 40rem; }
.section-head .label { margin-bottom: -0.25rem; }
@media (min-width: 56em) {
  .section-head--split { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: end; }
  .section-head--split > :last-child { justify-self: end; text-align: left; }
  .section-head--split .label { grid-column: 1 / -1; }
}
.section-head--center { text-align: center; justify-items: center; }
.section--dark .section-head p { color: #a9bcb6; }

/* Intro + faits clés */
.intro { display: grid; gap: 2rem var(--gap); }
@media (min-width: 56em) { .intro { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } }
.intro h2 { max-width: 18ch; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; margin-top: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 56em) { .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.fact { padding: 1.5rem; border-radius: var(--r-md); background: var(--c-grey-50); }
.fact__value { display: block; font-family: var(--f-head); font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem); font-weight: 700; line-height: 1; letter-spacing: -0.02em; color: var(--c-brand); }
.fact__value small { font-size: 0.5em; font-weight: 700; margin-left: 0.15em; color: var(--c-cta); }
.fact__label { display: block; margin-top: 0.6rem; font-size: var(--fs-small); color: var(--c-muted); }
.section--grey .fact { background: var(--c-white); }
.section--dark .fact { background: rgb(255 255 255 / 0.06); }
.section--dark .fact__value { color: var(--c-white); }
.section--dark .fact__value small { color: var(--c-cta-soft); }
.section--dark .fact__label { color: #a9bcb6; }

/* Lignes produit : grande photo arrondie + texte */
.product-rows { display: grid; gap: clamp(3.5rem, 7vw, 6rem); }
.product-row { display: grid; gap: 1.75rem; align-items: center; }
.product-row__media { position: relative; }
.product-row__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-lg); }
.product-row__tag { position: absolute; left: 1rem; bottom: 1rem; padding: 0.45rem 0.95rem; border-radius: var(--r-pill); background: var(--c-white); box-shadow: var(--shadow-soft); font-family: var(--f-head); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--c-brand); }
.product-row__title { margin-top: 0.75rem; font-size: clamp(1.75rem, 1.35rem + 1.4vw, 2.5rem); line-height: 1.08; }
.product-row__title a { color: inherit; text-decoration: none; }
.product-row__title a:hover { color: var(--c-brand); }
.product-row__text { margin-top: 1rem; color: var(--c-muted); }
.product-row__specs { margin-top: 1.5rem; display: grid; gap: 0.4rem; }
.product-row__specs li { display: flex; align-items: center; gap: 0.75rem; padding: 0.65rem 1rem; border-radius: var(--r-sm); background: var(--c-grey-50); font-size: var(--fs-small); }
.product-row__specs li::before { content: ""; flex: none; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--c-cta); }
.product-row__actions { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; }
@media (min-width: 56em) {
  .product-row { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2.5rem, 5vw, 5rem); }
  .product-row--reverse .product-row__media { order: 2; }
}

/* Tuiles de gamme (photo arrondie + titre, lien étendu) */
.tiles { display: grid; gap: 2.5rem var(--gap); }
@media (min-width: 40em) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64em) { .tiles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .tiles--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tile { position: relative; display: flex; flex-direction: column; border-radius: var(--r-lg); }
.tile__media { overflow: hidden; border-radius: var(--r-lg); background: var(--c-grey-100); }
.tile__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.6s var(--ease); }
.tile:hover .tile__media img { transform: scale(1.04); }
.tile__body { display: flex; flex-direction: column; flex: 1; padding: 1.1rem 0.25rem 0; }
.tile__kicker { font-size: var(--fs-xs); font-family: var(--f-head); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-cta-700); }
.tile__title { margin-top: 0.3rem; font-size: 1.3125rem; }
.tile__title a { color: var(--c-ink); text-decoration: none; }
.tile__title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-lg); }
.tile:hover .tile__title a { color: var(--c-brand); }
.tile__text { margin-top: 0.5rem; color: var(--c-muted); font-size: var(--fs-small); }
.tile__list { margin-top: 0.75rem; display: grid; gap: 0.3rem; font-size: var(--fs-small); }
.tile__list li { display: flex; align-items: center; gap: 0.6rem; }
.tile__list li::before { content: ""; flex: none; width: 0.4rem; height: 0.4rem; border-radius: 50%; background: var(--c-cta); }
.tile__more { margin-top: auto; padding-top: 1rem; display: inline-flex; align-items: center; gap: 0.45rem; font-family: var(--f-head); font-size: var(--fs-small); font-weight: 700; color: var(--c-brand); }
.tile__more .icon { width: 1.75rem; height: 1.75rem; padding: 0.4rem; border-radius: 50%; background: var(--c-brand-050); transition: transform 0.2s var(--ease), background-color 0.2s, color 0.2s; }
.tile:hover .tile__more .icon { transform: translateX(3px); background: var(--c-cta); color: var(--c-white); }
.tile__title a:focus-visible { outline: none; }
.tile:focus-within { outline: 2px solid var(--c-brand); outline-offset: 6px; }

/* Bande photo + texte : bloc sarcelle arrondi, en retrait des bords */
.band-split { display: grid; width: min(100% - var(--inset) * 2, calc(var(--container) + 6rem)); margin-inline: auto; overflow: hidden; border-radius: var(--r-xl); background: var(--c-brand); color: #d3e0dc; }
.band-split__media { position: relative; min-height: 18rem; }
.band-split__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band-split__body { padding: clamp(2.25rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4.5rem); }
.band-split__body h2 { color: var(--c-white); max-width: 18ch; }
.band-split__body p { margin-top: 1.25rem; max-width: 34rem; }
.band-split__body .checklist { margin-top: 1.75rem; }
.band-split__body .btn-row { margin-top: 2rem; }
@media (min-width: 56em) {
  .band-split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .band-split__body { align-self: center; }
  .band-split--reverse .band-split__media { order: 2; }
}
.band-split--brand { background: var(--c-dark); }

/* Étapes : pastilles numérotées reliées */
.steps { display: grid; gap: 1.5rem; counter-reset: step; }
@media (min-width: 64em) { .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.25rem; } }
.step { counter-increment: step; position: relative; display: grid; grid-template-columns: 3rem 1fr; gap: 0 1rem; align-content: start; }
.step::before {
  content: counter(step); display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%;
  background: var(--c-brand-050); color: var(--c-brand); font-family: var(--f-head); font-size: 1.125rem; font-weight: 800;
}
.step:first-child::before { background: var(--c-brand); color: var(--c-white); }
.step__title { font-size: 1.125rem; padding-top: 0.6rem; }
.step__text { margin-top: 0.4rem; font-size: var(--fs-small); color: var(--c-muted); }
.step__meta { display: inline-block; margin-top: 0.75rem; padding: 0.25rem 0.7rem; border-radius: var(--r-pill); background: var(--c-cta-050); font-family: var(--f-head); font-size: var(--fs-xs); font-weight: 700; color: var(--c-cta-700); }
@media (min-width: 64em) {
  .step { grid-template-columns: 1fr; gap: 1rem; }
  .step__title { padding-top: 0; }
  .step:not(:last-child)::after { content: ""; position: absolute; top: 1.5rem; left: 3.75rem; right: -0.5rem; height: 2px; border-radius: 2px; background: var(--c-line); }
}
.section--grey .step::before { background: var(--c-white); }
.section--grey .step:first-child::before { background: var(--c-brand); }
.section--grey .step__meta { background: var(--c-white); }

/* Zones */
.zones { display: grid; gap: var(--gap); align-items: center; }
@media (min-width: 56em) { .zones { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 5vw, 5rem); } }
.zones__map img { width: 100%; border-radius: var(--r-lg); }
.cities { display: grid; border-top: 1px solid var(--c-line); }
@media (min-width: 30em) { .cities--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; } }
.city-link { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.85rem 0.25rem; border-bottom: 1px solid var(--c-line); color: var(--c-ink); text-decoration: none; font-family: var(--f-head); font-weight: 600; }
.city-link small { font-family: var(--f-body); font-weight: 400; font-size: var(--fs-small); color: var(--c-muted); }
.city-link:hover { color: var(--c-brand); }
.city-link--main { font-weight: 800; }
.city-link--main small { padding: 0.15rem 0.6rem; border-radius: var(--r-pill); background: var(--c-brand-050); color: var(--c-brand); font-weight: 600; }

/* FAQ : questions en blocs arrondis */
.faq { display: grid; gap: 0.75rem; }
.faq__item { border-radius: var(--r-md); background: var(--c-grey-50); transition: background-color 0.2s; }
.section--grey .faq__item { background: var(--c-white); }
.faq__q {
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.15rem 1.25rem 1.15rem 1.5rem; cursor: pointer; list-style: none;
  font-family: var(--f-head); font-size: 1.0625rem; font-weight: 700; line-height: 1.35;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: ""; flex: none; width: 2rem; height: 2rem; border-radius: 50%;
  background: linear-gradient(currentColor 0 0) center / 12px 2px no-repeat, linear-gradient(currentColor 0 0) center / 2px 12px no-repeat, var(--c-brand-050);
  color: var(--c-brand); transition: background-color 0.2s;
}
.faq__item[open] .faq__q::after { background: linear-gradient(currentColor 0 0) center / 12px 2px no-repeat, var(--c-brand); color: var(--c-white); }
.faq__q:hover { color: var(--c-brand); }
.faq__a { padding: 0 4rem 1.4rem 1.5rem; color: var(--c-muted); }
.faq__a p + p { margin-top: 0.75rem; }

/* Bandeau CTA : bloc sarcelle arrondi */
.cta-band { width: min(100% - var(--inset) * 2, calc(var(--container) + 6rem)); margin: 0 auto var(--space-tight); border-radius: var(--r-xl); background: var(--c-brand); color: #d3e0dc; }
.cta-band__inner { display: grid; gap: 1.75rem 3rem; padding-block: clamp(2.5rem, 6vw, 4.25rem); padding-inline: clamp(1.5rem, 5vw, 4.5rem); }
.cta-band h2 { color: var(--c-white); max-width: 20ch; }
.cta-band__text { margin-top: 1rem; max-width: 36rem; }
.cta-band__actions { display: grid; gap: 1rem; align-content: center; }
.cta-band__phone { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--c-white); font-family: var(--f-head); font-size: 1.375rem; font-weight: 800; text-decoration: none; letter-spacing: 0.01em; }
.cta-band__phone:hover { color: var(--c-white); text-decoration: underline; }
.cta-band__hours { font-size: var(--fs-small); color: #a9c1ba; }
@media (min-width: 56em) {
  .cta-band__inner { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .cta-band__actions { justify-items: start; padding-left: 3rem; border-left: 1px solid rgb(255 255 255 / 0.18); }
}

/* Témoignages : cartes chaudes très légères */
.testimonials { display: grid; gap: 1rem; }
@media (min-width: 56em) { .testimonials { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.testimonial { padding: 1.75rem; border-radius: var(--r-lg); background: var(--c-cta-050); }
.testimonial__stars { display: flex; gap: 0.15rem; color: var(--c-cta); }
.testimonial__stars .icon { width: 1.05rem; height: 1.05rem; }
.testimonial__quote { margin-top: 1rem; font-size: 1.125rem; line-height: 1.55; }
.testimonial__author { margin-top: 1rem; font-size: var(--fs-small); color: var(--c-muted); }
.testimonial__author strong { color: var(--c-ink); font-family: var(--f-head); }
.placeholder-flag { display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 1.25rem; padding: 0.4rem 0.85rem; border: 1px dashed var(--c-error); border-radius: var(--r-pill); color: var(--c-error); font-size: var(--fs-xs); font-weight: 600; }
.is-placeholder { opacity: 0.75; }

/* ============================================================== 11 COMPONENTS */
/* Tableaux */
.table-scroll { overflow-x: auto; border: 1px solid var(--c-line); border-radius: var(--r-md); background: var(--c-white); }
.compare { min-width: 40rem; font-size: var(--fs-small); }
.compare th, .compare td { padding: 1rem 1.25rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--c-line); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare thead th { font-family: var(--f-head); font-size: 1rem; font-weight: 800; background: var(--c-brand-050); color: var(--c-brand); }
.compare tbody th { font-weight: 600; color: var(--c-ink); width: 28%; }
.compare td { color: var(--c-muted); }
.rating { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--c-ink); }
.rating { --s1: var(--c-brand); --s2: var(--c-line-strong); --s3: var(--c-line-strong); }
.rating--2 { --s2: var(--c-brand); }
.rating--3 { --s2: var(--c-brand); --s3: var(--c-brand); }
.rating::before { content: ""; flex: none; width: 44px; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--s1) 0 12px, transparent 12px 16px, var(--s2) 16px 28px, transparent 28px 32px, var(--s3) 32px 44px); }

.specs { border-collapse: separate; border-spacing: 0; overflow: hidden; border: 1px solid var(--c-line); border-radius: var(--r-md); }
.specs th, .specs td { padding: 0.95rem 1.25rem; border-bottom: 1px solid var(--c-line); text-align: left; vertical-align: top; }
.specs tr:last-child th, .specs tr:last-child td { border-bottom: 0; }
.specs th { width: 36%; background: var(--c-grey-50); font-family: var(--f-head); font-size: var(--fs-small); font-weight: 700; }
.specs td { color: var(--c-muted); }

/* Options (pictos en pastille) */
.options { display: grid; gap: 1.25rem 2.5rem; }
@media (min-width: 40em) { .options { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.option { display: grid; grid-template-columns: 3rem 1fr; gap: 0.2rem 1rem; align-items: start; }
.option .icon { grid-row: span 2; width: 3rem; height: 3rem; padding: 0.7rem; border-radius: 50%; background: var(--c-brand-050); color: var(--c-brand); stroke-width: 1.6; }
.option__title { font-size: 1.0625rem; padding-top: 0.2rem; }
.option__text { font-size: var(--fs-small); color: var(--c-muted); }
.section--grey .option .icon { background: var(--c-white); }
.section--dark .option .icon { background: rgb(255 255 255 / 0.08); color: var(--c-cta-soft); }

/* Liste d'options compacte (pastilles) */
.taglist { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.taglist li { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.55rem 1rem; border-radius: var(--r-pill); background: var(--c-grey-50); font-size: var(--fs-small); font-weight: 600; }
.taglist .icon { width: 1.05rem; height: 1.05rem; color: var(--c-brand); }

/* Nuancier RAL */
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr)); gap: 1.25rem; }
.swatch { font-size: var(--fs-small); line-height: 1.35; }
.swatch strong { display: block; font-family: var(--f-head); }
.swatch span { color: var(--c-muted); }
.swatch__chip { display: block; height: 4.5rem; margin-bottom: 0.65rem; border-radius: var(--r-md); border: 1px solid rgb(0 0 0 / 0.08); }
.swatch__chip--7016 { background: #383e42; }
.swatch__chip--9016 { background: #f1f0ea; }
.swatch__chip--9005 { background: #0e0e10; }
.swatch__chip--7035 { background: #c5c7c4; }
.swatch__chip--1015 { background: #e6d2b5; }
.swatch__chip--sable { background: #8b8c7a; }

/* Sous-navigation produit (ancres en pastilles) */
.subnav { position: sticky; top: var(--header-h); z-index: 30; background: rgb(255 255 255 / 0.96); border-bottom: 1px solid var(--c-line); }
.subnav__inner { display: flex; align-items: center; gap: 1.5rem; min-height: 3.75rem; }
.subnav__list { display: flex; gap: 0.25rem; overflow-x: auto; scrollbar-width: none; flex: 1; }
.subnav__list::-webkit-scrollbar { display: none; }
.subnav__list a { display: block; padding: 0.5rem 1rem; border-radius: var(--r-pill); white-space: nowrap; font-family: var(--f-head); font-size: var(--fs-small); font-weight: 600; color: var(--c-muted); text-decoration: none; transition: background-color 0.18s, color 0.18s; }
.subnav__list a:hover { color: var(--c-ink); background: var(--c-grey-50); }
.subnav__list a.is-active { color: var(--c-brand); background: var(--c-brand-050); }
.subnav .btn { display: none; }
@media (min-width: 56em) { .subnav .btn { display: inline-flex; } }

/* Encadré latéral devis */
.aside-box { padding: 1.75rem; border-radius: var(--r-lg); background: var(--c-grey-50); }
.section--grey .aside-box { background: var(--c-white); box-shadow: var(--shadow-soft); }
.aside-box h2 { font-size: 1.375rem; }
.aside-box p { margin-top: 0.75rem; color: var(--c-muted); font-size: var(--fs-small); }
.aside-box .btn { margin-top: 1.25rem; width: 100%; }
.aside-box__phone { display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin-top: 0.75rem; padding: 0.75rem; border-radius: var(--r-pill); background: var(--c-white); border: 1.5px solid var(--c-line); font-family: var(--f-head); font-weight: 800; color: var(--c-brand); text-decoration: none; }
.aside-box__phone:hover { border-color: var(--c-brand); color: var(--c-brand); }
.aside-list { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--c-line); font-size: var(--fs-small); }
.aside-stack { display: grid; gap: 1.25rem; }

/* Encadré info (teinte chaude légère) */
.callout { padding: 1.25rem 1.5rem; border-radius: var(--r-md); background: var(--c-cta-050); }
.callout__title { font-family: var(--f-head); font-weight: 800; color: var(--c-cta-700); margin-bottom: 0.35rem; }

/* Liste de contact */
.contact-list { display: grid; border-top: 1px solid var(--c-line); }
.contact-list li { display: grid; grid-template-columns: 2.75rem 1fr; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--c-line); }
.contact-list__icon { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--c-brand-050); color: var(--c-brand); }
.contact-list__icon .icon { width: 1.15rem; height: 1.15rem; }
.contact-list__label { display: block; font-family: var(--f-head); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-muted); margin-bottom: 0.2rem; }
.contact-list a { font-family: var(--f-head); font-weight: 800; font-size: 1.1875rem; color: var(--c-brand); text-decoration: none; }
.contact-list a:hover { color: var(--c-cta); }

/* Horaires */
.hours { font-size: var(--fs-small); }
.hours th, .hours td { padding: 0.45rem 0; border-bottom: 1px solid var(--c-line); text-align: left; font-weight: 400; }
.hours td { text-align: right; }
.hours .is-closed td { color: var(--c-muted); }
.hours .is-today th, .hours .is-today td { font-weight: 700; color: var(--c-ink); }
.hours .is-today th::after { content: " · aujourd’hui"; font-weight: 400; color: var(--c-cta-700); }
.site-footer .hours th, .site-footer .hours td { border-color: rgb(255 255 255 / 0.1); }
.site-footer .hours .is-today th, .site-footer .hours .is-today td { color: var(--c-white); }
.site-footer .hours .is-today th::after { color: var(--c-cta-soft); }
.site-footer .hours .is-closed td { color: #86a099; }

/* Carte (chargée au clic) */
.map-embed { position: relative; min-height: 22rem; overflow: hidden; border-radius: var(--r-lg); background: var(--c-grey-100); }
.map-embed--tall { min-height: 28rem; }
.map-embed__placeholder { position: absolute; inset: 0; display: grid; place-items: center; padding: 1.5rem; }
.map-embed__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.map-embed__card { position: relative; max-width: 22rem; padding: 1.5rem; border-radius: var(--r-md); background: var(--c-white); box-shadow: var(--shadow-soft); text-align: left; }
.map-embed__card .icon--pin { width: 1.5rem; height: 1.5rem; color: var(--c-cta); }
.map-embed__address { margin: 0.6rem 0 1rem; font-family: var(--f-head); font-weight: 700; line-height: 1.35; }
.map-embed__remember { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.85rem; font-size: var(--fs-small); }
.map-embed__remember input { width: 1.05rem; height: 1.05rem; accent-color: var(--c-brand); }
.map-embed__note { margin-top: 0.85rem; font-size: var(--fs-xs); color: var(--c-muted); }
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-embed.is-loaded .map-embed__placeholder { display: none; }

/* Articles (conseils) — carte cliquable */
.posts { display: grid; gap: 2.5rem var(--gap); }
@media (min-width: 40em) { .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64em) { .posts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.post { position: relative; display: flex; flex-direction: column; border-radius: var(--r-lg); }
.post__media { overflow: hidden; border-radius: var(--r-lg); background: var(--c-grey-100); }
.post__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 0.6s var(--ease); }
.post:hover .post__media img { transform: scale(1.04); }
.post__meta { display: flex; gap: 1rem; align-items: center; margin-top: 1.1rem; font-size: var(--fs-xs); color: var(--c-muted); }
.post__cat { padding: 0.2rem 0.65rem; border-radius: var(--r-pill); background: var(--c-brand-050); font-family: var(--f-head); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-brand); }
.post__title { margin-top: 0.6rem; font-size: 1.25rem; line-height: 1.25; }
.post__title a { color: var(--c-ink); text-decoration: none; }
.post__title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-lg); }
.post__title a:focus-visible { outline: none; }
.post:focus-within { outline: 2px solid var(--c-brand); outline-offset: 6px; }
.post:hover .post__title a { color: var(--c-brand); }
.post__excerpt { margin-top: 0.5rem; font-size: var(--fs-small); color: var(--c-muted); }
.post--featured { display: grid; gap: 1.5rem var(--gap); padding: clamp(0.75rem, 2vw, 1.25rem); margin-bottom: clamp(2.5rem, 5vw, 3.5rem); border-radius: var(--r-xl); background: var(--c-grey-50); }
.post--featured .post__title { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.125rem); }
.post--featured .post__excerpt { font-size: var(--fs-body); }
.post--featured .post__cat { background: var(--c-white); }
@media (min-width: 56em) { .post--featured { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; } .post--featured > div:last-child { padding-right: 2rem; } .post--featured .post__meta { margin-top: 0; } }

.cat-nav { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2.5rem; }
.cat-nav a { display: block; padding: 0.6rem 1.15rem; border-radius: var(--r-pill); background: var(--c-grey-50); font-family: var(--f-head); font-size: var(--fs-small); font-weight: 600; color: var(--c-ink); text-decoration: none; }
.cat-nav a[aria-current] { background: var(--c-brand); color: var(--c-white); }
.cat-nav a:hover:not([aria-current]) { background: var(--c-brand-050); color: var(--c-brand); }

.pagination { display: flex; justify-content: center; gap: 0.4rem; margin-top: 3.5rem; }
.pagination a, .pagination span { display: grid; place-items: center; min-width: 2.75rem; height: 2.75rem; padding-inline: 0.75rem; border-radius: var(--r-pill); background: var(--c-grey-50); font-family: var(--f-head); font-weight: 700; color: var(--c-ink); text-decoration: none; }
.pagination [aria-current] { background: var(--c-brand); color: var(--c-white); }
.pagination a:hover { background: var(--c-brand-050); color: var(--c-brand); }

/* 404 */
.notfound { display: grid; gap: var(--gap); align-items: center; }
@media (min-width: 56em) { .notfound { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.notfound__code { font-family: var(--f-head); font-size: clamp(5rem, 3rem + 8vw, 10rem); font-weight: 800; line-height: 0.85; letter-spacing: -0.05em; color: var(--c-brand); }
.notfound__links { margin-top: 2rem; max-width: 32rem; }
.notfound img { width: 100%; max-width: 34rem; margin-inline: auto; padding: 2rem; border-radius: var(--r-xl); background: var(--c-grey-50); }

/* ================================================================= 12 GALLERY */
.gallery { display: grid; gap: 0.75rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 56em) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; } .gallery--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.gallery__item { position: relative; }
.gallery__link { position: relative; display: block; height: 100%; overflow: hidden; border-radius: var(--r-md); background: var(--c-grey-100); color: var(--c-white); text-decoration: none; }
.gallery__link img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.6s var(--ease); }
.gallery__link:hover img { transform: scale(1.05); }
.gallery__caption {
  position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column;
  padding: 2.75rem 1.1rem 0.95rem; background: linear-gradient(transparent, rgb(20 40 38 / 0.8));
  font-size: var(--fs-xs); line-height: 1.3; color: #d3e0dc;
}
.gallery__caption strong { font-family: var(--f-head); font-size: 0.9375rem; color: var(--c-white); }
.gallery__zoom { position: absolute; top: 0.75rem; right: 0.75rem; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--c-white); color: var(--c-brand); opacity: 0; transform: scale(0.85); transition: opacity 0.2s, transform 0.2s var(--ease); }
.gallery__zoom .icon { width: 1rem; height: 1rem; }
.gallery__link:hover .gallery__zoom, .gallery__link:focus-visible .gallery__zoom { opacity: 1; transform: none; }
.gallery__link:focus-visible { outline-offset: -3px; outline-color: var(--c-white); box-shadow: inset 0 0 0 5px var(--c-brand); }

/* Mosaïque accueil */
@media (min-width: 56em) {
  .gallery--mosaic { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 15rem; grid-auto-flow: dense; }
  .gallery--mosaic .gallery__link { border-radius: var(--r-lg); }
  .gallery--mosaic .gallery__link img { aspect-ratio: auto; }
  .gallery__item--wide { grid-column: span 2; }
  .gallery__item--tall { grid-row: span 2; }
  .gallery__item--big { grid-column: span 2; grid-row: span 2; }
}

/* Filtres (pastilles) */
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.75rem; }
.filter-btn {
  display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.75rem; padding: 0.5rem 1.15rem;
  border: 0; border-radius: var(--r-pill); background: var(--c-grey-50);
  font-family: var(--f-head); font-size: var(--fs-small); font-weight: 600; color: var(--c-ink);
  transition: background-color 0.18s, color 0.18s;
}
.filter-btn:hover { background: var(--c-brand-050); color: var(--c-brand); }
.filter-btn[aria-pressed="true"] { background: var(--c-brand); color: var(--c-white); }
.filter-btn__count { display: grid; place-items: center; min-width: 1.5rem; height: 1.5rem; padding-inline: 0.35rem; border-radius: var(--r-pill); background: var(--c-white); font-size: var(--fs-xs); font-weight: 700; color: var(--c-muted); }
.filter-btn__count:empty { display: none; }
.filter-btn[aria-pressed="true"] .filter-btn__count { background: rgb(255 255 255 / 0.16); color: var(--c-white); }
.gallery-note { margin-top: 1.5rem; font-size: var(--fs-xs); color: var(--c-muted); }

/* =================================================================== 13 FORMS */
.quote-layout { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 64em) { .quote-layout { grid-template-columns: minmax(0, 1fr) 22.5rem; align-items: start; } }

.quote { overflow: hidden; border: 1px solid var(--c-line); border-radius: var(--r-lg); background: var(--c-white); box-shadow: var(--shadow-soft); }
.quote__head { padding: 1.75rem clamp(1.25rem, 3vw, 2.25rem) 0; }
.quote__head h2 { font-size: clamp(1.5rem, 1.25rem + 0.8vw, 2rem); }
.quote__head p { margin-top: 0.5rem; color: var(--c-muted); font-size: var(--fs-small); }
.quote__steps { display: none; }
.quote.is-enhanced .quote__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 1.5rem; }
.quote__indicator { display: flex; align-items: center; gap: 0.6rem; padding: 0.85rem 0.5rem 0.85rem 0; font-family: var(--f-head); font-size: var(--fs-small); font-weight: 600; color: var(--c-muted); position: relative; }
.quote__indicator-num { display: grid; place-items: center; flex: none; width: 2rem; height: 2rem; border-radius: 50%; background: var(--c-grey-100); font-size: var(--fs-xs); font-weight: 800; }
.quote__indicator.is-current { color: var(--c-ink); }
.quote__indicator.is-current .quote__indicator-num { background: var(--c-cta); color: var(--c-white); }
.quote__indicator.is-done .quote__indicator-num { background: var(--c-brand); color: var(--c-white); }
@media (max-width: 39.99em) {
  .quote.is-enhanced .quote__steps { display: flex; gap: 1rem; }
  .quote__indicator { flex: none; white-space: nowrap; }
  .quote__indicator.is-current { flex: 1; }
  .quote__indicator-text { display: none; }
  .quote__indicator.is-current .quote__indicator-text { display: inline; }
}
.quote__bar { display: none; height: 6px; border-radius: var(--r-pill); background: var(--c-grey-100); overflow: hidden; }
.quote.is-enhanced .quote__bar { display: block; }
.quote__bar::before { content: ""; display: block; height: 100%; width: 33.333%; border-radius: var(--r-pill); background: var(--c-brand); transition: width 0.3s var(--ease); }
.quote__bar[data-progress="2"]::before { width: 66.666%; }
.quote__bar[data-progress="3"]::before { width: 100%; }
.quote__body { padding: 1.75rem clamp(1.25rem, 3vw, 2.25rem) 2rem; }
.quote__step { border: 0; padding: 0; min-width: 0; }
.quote__step + .quote__step { margin-top: 2.5rem; padding-top: 2.5rem; border-top: 1px solid var(--c-line); }
.quote.is-enhanced .quote__step { display: none; margin-top: 0; padding-top: 0; border-top: 0; }
.quote.is-enhanced .quote__step.is-active { display: block; }
.quote__step-title { display: block; margin-bottom: 1.25rem; padding: 0; font-family: var(--f-head); font-size: 1.25rem; font-weight: 800; }
.quote__step-title:focus { outline: none; }
.quote__step-num { color: var(--c-cta); margin-right: 0.35rem; }
.quote__nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--c-line); }
.quote__nav--end { justify-content: flex-end; }
.quote__legal { margin-top: 1.25rem; font-size: var(--fs-xs); color: var(--c-muted); }

/* Choix illustrés (radio) */
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; border: 0; padding: 0; margin: 0; min-width: 0; }
@media (min-width: 40em) { .choices { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.choices legend { padding: 0; }
.choice { position: relative; display: flex; flex-direction: column; overflow: hidden; border: 2px solid var(--c-line); border-radius: var(--r-md); background: var(--c-white); cursor: pointer; transition: border-color 0.15s, box-shadow 0.15s; }
.choice:hover { border-color: var(--c-brand-light); }
.choice__input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.choice__name { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; padding: 0.75rem 0.85rem; font-family: var(--f-head); font-size: var(--fs-small); font-weight: 700; line-height: 1.25; }
.choice__name::after { content: ""; flex: none; width: 1.15rem; height: 1.15rem; border: 1.5px solid var(--c-line-strong); border-radius: 50%; }
.choice:has(.choice__input:checked) { border-color: var(--c-brand); box-shadow: var(--shadow-soft); }
.choice:has(.choice__input:checked) .choice__name { color: var(--c-brand); }
.choice:has(.choice__input:checked) .choice__name::after { border: 5px solid var(--c-brand); }
.choice:has(.choice__input:focus-visible) { outline: 2px solid var(--c-brand); outline-offset: 2px; }
.choice--text { background: var(--c-grey-50); border-color: transparent; }
.choice--text .choice__name { min-height: 3.25rem; }

.segmented { display: flex; flex-wrap: wrap; gap: 0.5rem; border: 0; padding: 0; margin: 0; min-width: 0; }
.segmented label { position: relative; }
.segmented input { position: absolute; opacity: 0; }
.segmented span { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0.5rem 1.15rem; border: 1.5px solid transparent; border-radius: var(--r-pill); background: var(--c-grey-50); font-family: var(--f-head); font-size: var(--fs-small); font-weight: 600; cursor: pointer; }
.segmented label:hover span { background: var(--c-brand-050); }
.segmented input:checked + span { border-color: var(--c-brand); background: var(--c-brand-050); color: var(--c-brand); }
.segmented input:focus-visible + span { outline: 2px solid var(--c-brand); outline-offset: 2px; }

.fields { display: grid; gap: 1.25rem; }
@media (min-width: 40em) { .fields--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .field--full { grid-column: 1 / -1; } }
.field { display: grid; gap: 0.4rem; align-content: start; }
.field__label, .fieldset-label { font-family: var(--f-head); font-size: var(--fs-small); font-weight: 700; color: var(--c-ink); }
.field__label .req { color: var(--c-cta); }
.field__opt { font-family: var(--f-body); font-weight: 400; color: var(--c-muted); }
.field__hint { font-size: var(--fs-xs); color: var(--c-muted); }
.field__input {
  width: 100%; min-height: 3.125rem; padding: 0.75rem 1rem;
  border: 1.5px solid var(--c-line); border-radius: var(--r-sm); background: var(--c-grey-50);
  font-size: 1rem; line-height: 1.4; transition: border-color 0.15s, background-color 0.15s, box-shadow 0.15s;
}
.field__input:hover { border-color: var(--c-line-strong); }
.field__input:focus { outline: none; border-color: var(--c-brand); background: var(--c-white); box-shadow: 0 0 0 4px rgb(42 82 78 / 0.14); }
.field__input[aria-invalid="true"] { border-color: var(--c-error); background: #fff7f6; }
textarea.field__input { min-height: 7.5rem; resize: vertical; }
select.field__input { appearance: none; padding-right: 2.5rem; }
.field__select { position: relative; }
.field__select::after { content: ""; position: absolute; right: 1.1rem; top: 50%; width: 0.5rem; height: 0.5rem; border-right: 2px solid var(--c-brand); border-bottom: 2px solid var(--c-brand); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.field__unit { position: relative; }
.field__unit .field__input { padding-right: 2.5rem; }
.field__unit::after { content: attr(data-unit); position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); color: var(--c-muted); font-weight: 600; pointer-events: none; }
.field__error { display: flex; align-items: flex-start; gap: 0.4rem; font-size: var(--fs-small); font-weight: 600; color: var(--c-error); }
.field__error:empty { display: none; }
.field__error .icon { width: 1.05rem; height: 1.05rem; margin-top: 0.15em; }
.check { display: grid; grid-template-columns: 1.25rem 1fr; gap: 0.75rem; align-items: start; font-size: var(--fs-small); color: var(--c-muted); cursor: pointer; }
.check input { width: 1.25rem; height: 1.25rem; margin: 0.1rem 0 0; accent-color: var(--c-brand); }
.check a { color: var(--c-brand); }
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.quote-success { padding: clamp(2rem, 4vw, 3rem); border-radius: var(--r-lg); background: var(--c-brand-050); }
.quote-success .icon { width: 3rem; height: 3rem; color: var(--c-success); }
.quote-success h2 { margin-top: 1rem; font-size: 1.75rem; }
.quote-success p { margin-top: 0.75rem; color: var(--c-muted); }
.quote-success:focus, .quote-success h2:focus { outline: none; }

.form-alert { display: flex; gap: 0.75rem; padding: 1rem 1.25rem; border-radius: var(--r-sm); background: #fdf2f1; color: var(--c-error); font-weight: 600; }

/* ================================================================= 14 ARTICLE */
.article-head { padding-block: clamp(2.5rem, 5vw, 4rem) 2rem; }
.article-head h1 { font-size: clamp(2rem, 1.45rem + 2.2vw, 3.25rem); max-width: 22ch; }
.article-meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--c-line); font-size: var(--fs-small); color: var(--c-muted); }
.article-meta strong { color: var(--c-ink); }
.article-hero img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: var(--r-xl); }
.article-hero figcaption { margin-top: 0.75rem; font-size: var(--fs-xs); color: var(--c-muted); }
.article-layout { display: grid; gap: 2.5rem; padding-block: clamp(2.5rem, 5vw, 4rem) var(--space-section); }
@media (min-width: 64em) { .article-layout { grid-template-columns: 15rem minmax(0, 46rem) 1fr; gap: clamp(2.5rem, 5vw, 4.5rem); } }

.toc { font-size: var(--fs-small); }
.toc__title { font-family: var(--f-head); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-muted); margin-bottom: 0.75rem; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.15rem; }
.toc a { display: block; padding: 0.45rem 0.85rem; border-radius: var(--r-sm); color: var(--c-muted); text-decoration: none; line-height: 1.35; }
.toc a:hover { color: var(--c-ink); background: var(--c-grey-50); }
.toc a.is-active { background: var(--c-brand-050); color: var(--c-brand); font-weight: 600; }
.toc--desktop { display: none; }
@media (min-width: 64em) { .toc--desktop { display: block; position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; } .toc--mobile { display: none; } }
.toc--mobile { border-radius: var(--r-md); background: var(--c-grey-50); }
.toc--mobile summary { padding: 0.9rem 1.1rem; font-family: var(--f-head); font-weight: 700; cursor: pointer; }
.toc--mobile ol { margin: 0 0.5rem 0.75rem; }

.prose { font-size: 1.125rem; line-height: 1.7; }
.prose > * + * { margin-top: 1.25rem; }
.prose h2 { margin-top: 3rem; font-size: clamp(1.5rem, 1.25rem + 0.8vw, 2rem); }
.prose h3 { margin-top: 2.25rem; font-size: 1.3125rem; }
.prose h2 + *, .prose h3 + * { margin-top: 0.85rem; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li + li { margin-top: 0.4rem; }
.prose ul li::marker { color: var(--c-cta); }
.prose figure img { width: 100%; border-radius: var(--r-lg); }
.prose figcaption { margin-top: 0.6rem; font-size: var(--fs-xs); color: var(--c-muted); }
.prose blockquote { padding: 1.25rem 1.5rem; border-radius: var(--r-md); background: var(--c-brand-050); font-family: var(--f-head); font-size: 1.1875rem; font-weight: 600; line-height: 1.45; color: var(--c-brand-700); }
.prose table { font-size: var(--fs-small); }
.prose th, .prose td { padding: 0.75rem 1rem; border-bottom: 1px solid var(--c-line); text-align: left; vertical-align: top; }
.prose thead th { background: var(--c-grey-50); }
.prose tbody tr:last-child th, .prose tbody tr:last-child td { border-bottom: 0; }
.prose th { font-family: var(--f-head); }
.prose--compact { font-size: var(--fs-body); }
.prose--compact > :first-child { margin-top: 0; }

.inline-cta { display: grid; gap: 1rem; margin-block: 2.5rem; padding: 1.75rem; border-radius: var(--r-lg); background: var(--c-brand); color: #d3e0dc; }
.inline-cta strong { display: block; font-family: var(--f-head); font-size: 1.25rem; color: var(--c-white); }
@media (min-width: 40em) { .inline-cta { grid-template-columns: 1fr auto; align-items: center; } }

.legal-nav { font-size: var(--fs-small); }

/* ================================================================== 15 FOOTER */
.site-footer { border-radius: var(--r-xl) var(--r-xl) 0 0; background: var(--c-dark); color: #a9bcb6; font-size: var(--fs-small); }
.site-footer a:not(.btn) { color: #d3e0dc; text-decoration: none; }
.site-footer a:not(.btn):hover { color: var(--c-white); text-decoration: underline; }
.site-footer .brand:hover { text-decoration: none; }
.footer-cta { color: #d3e0dc; }
.footer-cta__inner { display: grid; gap: 1.5rem 3rem; padding-block: clamp(2.5rem, 5vw, 3.5rem); border-bottom: 1px solid rgb(255 255 255 / 0.1); }
.footer-cta__title { font-family: var(--f-head); font-size: clamp(1.5rem, 1.2rem + 1vw, 2.125rem); font-weight: 700; line-height: 1.15; color: var(--c-white); letter-spacing: -0.015em; max-width: 26ch; }
.footer-cta__title span { display: block; margin-top: 0.35rem; font-family: var(--f-body); font-size: 1.0625rem; font-weight: 400; color: #a9c1ba; letter-spacing: 0; }
.footer-cta .btn--ghost-light:hover { --btn-fg: var(--c-dark); }
@media (min-width: 56em) { .footer-cta__inner { grid-template-columns: minmax(0, 1fr) auto; align-items: center; } }
.footer-main { display: grid; gap: 2.5rem var(--gap); padding-block: clamp(3rem, 6vw, 4.5rem); }
@media (min-width: 40em) { .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64em) { .footer-main { grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; } }
.footer-brand p { margin-top: 1.25rem; max-width: 22rem; }
.footer-badges { display: grid; gap: 0.5rem; margin-top: 1.5rem; color: #d3e0dc; }
.footer-badges li { display: flex; align-items: center; gap: 0.6rem; }
.footer-badges .icon { width: 1.05rem; height: 1.05rem; color: var(--c-cta-soft); }
.footer-col__title { margin-bottom: 1rem; font-family: var(--f-head); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-white); }
.footer-links { display: grid; gap: 0.55rem; }
.footer-contact { display: grid; gap: 0.85rem; }
.footer-contact li { display: flex; gap: 0.75rem; }
.footer-contact .icon { width: 1.1rem; height: 1.1rem; margin-top: 0.15em; color: var(--c-cta-soft); }
.footer-contact a { font-family: var(--f-head); font-size: 1.125rem; font-weight: 800; color: var(--c-white); }
.mt-6.footer-col__title { margin-top: 2rem; }
.footer-bottom { border-top: 1px solid rgb(255 255 255 / 0.1); }
.footer-bottom__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; padding-block: 1.5rem; font-size: var(--fs-xs); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.footer-legal button { padding: 0; border: 0; background: none; color: #d3e0dc; font-size: inherit; text-decoration: underline; text-underline-offset: 0.2em; }
.footer-legal button:hover { color: var(--c-white); }
@media (max-width: 63.99em) { .site-footer { padding-bottom: 5.5rem; } }

/* ============================================================== 16 MOBILE CTA */
.mobile-cta {
  position: fixed; left: 0.75rem; right: 0.75rem; bottom: calc(0.75rem + env(safe-area-inset-bottom)); z-index: 40;
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 0.375rem; padding: 0.375rem;
  border-radius: var(--r-pill); background: var(--c-white); box-shadow: var(--shadow-pop);
  transition: transform 0.25s var(--ease);
}
.mobile-cta .btn { min-height: 3.125rem; box-shadow: none; }
.mobile-cta .btn--outline { --btn-bd: transparent; --btn-bg: var(--c-brand-050); --btn-fg: var(--c-brand); }
.mobile-cta .btn--outline:hover { --btn-bg: var(--c-brand); --btn-fg: var(--c-white); }
.mobile-cta.is-hidden { transform: translateY(160%); }
@media (min-width: 64em) { .mobile-cta { display: none; } }
.has-cookie-banner .mobile-cta { transform: translateY(160%); }

/* ================================================================= 17 COOKIES */
.cookie-banner {
  position: fixed; left: 0.75rem; right: 0.75rem; bottom: calc(0.75rem + env(safe-area-inset-bottom)); z-index: 90;
  display: grid; gap: 1rem 2rem; padding: 1.5rem;
  border-radius: var(--r-lg); background: var(--c-white); box-shadow: var(--shadow-pop);
}
.cookie-banner__title { display: flex; align-items: center; gap: 0.5rem; font-size: 1.0625rem; }
.cookie-banner__title .icon { color: var(--c-cta); }
.cookie-banner__text { font-size: var(--fs-small); color: var(--c-muted); max-width: 52rem; }
.cookie-banner__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.cookie-banner__actions .btn { min-width: 9.5rem; }
.cookie-banner__more { justify-self: start; padding: 0.25rem 0; border: 0; background: none; font-family: var(--f-head); font-size: var(--fs-small); font-weight: 700; color: var(--c-brand); text-decoration: underline; text-underline-offset: 0.2em; }
@media (min-width: 64em) {
  .cookie-banner { left: 50%; right: auto; width: min(calc(100% - 3rem), 72rem); transform: translateX(-50%); grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding: 1.5rem 2rem; }
  .cookie-banner__title, .cookie-banner__text { grid-column: 1; }
  .cookie-banner__actions { grid-column: 2; grid-row: 1 / span 2; }
  .cookie-banner__more { grid-column: 2; grid-row: 3; justify-self: center; }
}

.cookie-prefs { width: min(36rem, calc(100% - 2rem)); max-height: calc(100% - 2rem); padding: 0; border: 0; border-radius: var(--r-lg); background: var(--c-white); color: var(--c-ink); box-shadow: var(--shadow-pop); }
.cookie-prefs::backdrop { background: rgb(27 53 51 / 0.6); }
.cookie-prefs__inner { padding: 1.75rem; }
.cookie-prefs__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.cookie-prefs__head h2 { font-size: 1.5rem; }
.cookie-prefs__close { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border: 0; border-radius: 50%; background: var(--c-grey-50); color: var(--c-brand); }
.cookie-prefs__intro { margin: 0.75rem 0 1.25rem; font-size: var(--fs-small); color: var(--c-muted); }
.cookie-cat { display: grid; grid-template-columns: 1fr auto; gap: 0.3rem 1rem; padding: 1rem 0; border-top: 1px solid var(--c-line); }
.cookie-cat__title { font-size: 1rem; }
.cookie-cat__status { font-size: var(--fs-xs); font-weight: 600; color: var(--c-success); }
.cookie-cat__desc { grid-column: 1 / -1; font-size: var(--fs-small); color: var(--c-muted); }
.cookie-prefs__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--c-line); }
.cookie-prefs__actions .btn--save { grid-column: 1 / -1; }
.switch { position: relative; display: inline-block; width: 3rem; height: 1.75rem; cursor: pointer; }
.switch input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.switch__track { position: absolute; inset: 0; border-radius: var(--r-pill); background: var(--c-line-strong); transition: background-color 0.2s; }
.switch__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: calc(1.75rem - 6px); height: calc(1.75rem - 6px); border-radius: 50%; background: var(--c-white); box-shadow: 0 1px 3px rgb(0 0 0 / 0.2); transition: transform 0.2s var(--ease); }
.switch input:checked + .switch__track { background: var(--c-brand); }
.switch input:checked + .switch__track::after { transform: translateX(1.25rem); }
.switch input:focus-visible + .switch__track { outline: 2px solid var(--c-brand); outline-offset: 2px; }

/* ================================================================ 18 LIGHTBOX */
.lightbox { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: rgb(16 30 29 / 0.96); color: var(--c-white); }
.lightbox::backdrop { background: rgb(16 30 29 / 0.96); }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; padding: 0.75rem var(--gutter); }
.lightbox__counter { font-family: var(--f-head); font-size: var(--fs-small); font-weight: 600; color: #a9bcb6; }
.lightbox__stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 clamp(0.5rem, 5vw, 5rem); }
.lightbox__img { max-width: 100%; max-height: calc(100vh - 9rem); object-fit: contain; border-radius: var(--r-md); }
.lightbox__caption { padding: 1rem var(--gutter) 1.5rem; text-align: center; font-size: var(--fs-small); color: #d3e0dc; }
.lightbox__btn { display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border: 0; border-radius: 50%; background: rgb(255 255 255 / 0.14); color: var(--c-white); transition: background-color 0.18s, color 0.18s; }
.lightbox__btn:hover { background: var(--c-white); color: var(--c-brand); }
.lightbox__next { background: var(--c-cta); }
.lightbox__prev, .lightbox__next { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox__prev { left: clamp(0.5rem, 2vw, 1.5rem); }
.lightbox__next { right: clamp(0.5rem, 2vw, 1.5rem); }
.lightbox :focus-visible { outline-color: var(--c-cta-soft); }

/* =================================================================== 19 MOTION */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js [data-reveal-delay="1"] { transition-delay: 0.08s; }
.js [data-reveal-delay="2"] { transition-delay: 0.16s; }
.js [data-reveal-delay="3"] { transition-delay: 0.24s; }
.js [data-reveal-delay="4"] { transition-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .hero__video { display: none; }
}

/* ================================================================ 20 UTILITIES */
.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; }
.no-js .js-only { display: none !important; }
.js .no-js-only { display: none !important; }
.mt-2 { margin-top: 0.5rem; } .mt-4 { margin-top: 1rem; } .mt-5 { margin-top: 1.25rem; } .mt-6 { margin-top: 1.5rem; } .mt-8 { margin-top: 2rem; } .mt-10 { margin-top: 2.5rem; } .mt-12 { margin-top: 3rem; }
.mb-4 { margin-bottom: 1rem; } .mb-6 { margin-bottom: 1.5rem; } .mb-8 { margin-bottom: 2rem; }
.text-center { text-align: center; }
.obj-right { object-position: 88% 50%; }
.obj-left { object-position: 12% 50%; }
.obj-bottom { object-position: 50% 100%; }
.maxw-prose { max-width: 40rem; }
@media print {
  .topbar, .site-header, .mobile-nav, .mobile-cta, .cookie-banner, .cookie-prefs, .footer-cta, .hero__video, .hero__video-toggle { display: none !important; }
  body { font-size: 11pt; }
}
