/* styles.css — composants du template + DA d'exemple (tiny house : bois, atelier, forêt).
   Une nouvelle thématique réécrit le bloc :root (skill direction-artistique), les polices dans partials/header.php,
   et retouche les composants qui portent sa signature (hero, carte du hero, cartes). Aucune couleur ni police en dur plus bas.
   Rayons : --r-pill boutons, --r-lg conteneurs, --r-md cartes internes, --r-sm petits éléments.
   Un seul bloc sombre (tone 'dark') dans le contenu, plus le hero et le footer. */

:root {
  /* Lattis — plâtre, charbon (bardage brûlé), bois douglas, une touche de lampe. Élément possédé : la cote d'architecte. */
  --paper:   #F3F3EF;   /* plâtre : fond */
  --sheet:   #FBFBF8;   /* papier du plan, cartes */
  --mist:    #E7E8E2;   /* sections alternées */
  --tint:    #DCDED6;
  --tint-2:  #C9CCC3;
  --ink:     #171917;   /* charbon : texte, boutons */
  --muted:   #545852;   /* AA sur --paper et --mist */
  --line:    #CDD0C8;
  --night:   #171917;   /* bardage brûlé : section sombre, footer */
  --brand:   #9C6B42;   /* douglas : détails, cotes sur fond sombre (grands éléments seulement) */
  --sky:     #D8B48C;   /* bois clair sur fond sombre */
  --action:  #171917;
  --action-hover: #3A3D37;
  --on-dark: #F3F3EF;
  --on-action: #FBFBF8;
  --on-dark-muted: #B9BCB4;

  --font: "Hanken Grotesk", system-ui, sans-serif;
  --font-display: "Archivo", "Hanken Grotesk", sans-serif;   /* utilisée élargie (font-stretch) : esprit plan, signalétique */
  --mono: "IBM Plex Mono", ui-monospace, monospace;        /* cotes et dimensions uniquement */

  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.9rem, 1.3rem + 2.2vw, 3.3rem);
  --step-3: clamp(2.7rem, 1.4rem + 4.8vw, 6rem);

  /* Angles nets d'architecte : petits rayons, filets fins, pas d'ombre floue */
  --r-pill: 6px;
  --r-lg: 6px;
  --r-md: 4px;
  --r-sm: 3px;
  --space: clamp(3.75rem, 2rem + 4.5vw, 6.25rem);
  --wrap: 1240px;
  --ease: cubic-bezier(.32, .72, 0, 1);
  --shadow: 0 30px 60px -36px color-mix(in srgb, var(--night) 45%, transparent);
  --pop: #F2C14E;    /* lampe : rares accents sur fond sombre */
  --sticker: var(--sheet);
  --hard: 0 0 0 transparent;
  --bar: 64px;
  --liser: 9px;
  --photo: saturate(.9) contrast(1.02);
  --stretch: 118%;   /* largeur des titres (axe wdth d'Archivo) */
}

/* ── Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--step-0)/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; height: auto; }
/* Titres : largeur généreuse, retour à la ligne naturel. Pas de text-wrap: balance (lignes artificiellement courtes). */
h1, h2, h3 { font-family: var(--font-display); color: var(--ink); margin: 0 0 .55em; overflow-wrap: break-word; min-width: 0; text-wrap: pretty; }
h1 { font-size: var(--step-3); font-weight: 600; font-stretch: var(--stretch); line-height: .96; letter-spacing: -.035em; max-width: 20ch; }
h2 { font-size: var(--step-2); font-weight: 600; font-stretch: var(--stretch); line-height: 1.02; letter-spacing: -.03em; max-width: 34ch; }
h3 { font-size: var(--step-1); font-weight: 600; font-stretch: 108%; line-height: 1.2; letter-spacing: -.015em; }
p { margin: 0 0 1em; max-width: 72ch; }
strong { font-weight: 600; color: var(--ink); }
a { color: var(--action); text-underline-offset: .2em; }
a:hover { color: var(--action-hover); }
:focus-visible { outline: 2px solid var(--action); outline-offset: 3px; border-radius: 4px; }
small { color: var(--muted); font-size: .82em; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 820px; }
.lede { font-size: var(--step-1); color: var(--muted); line-height: 1.5; }
.eyebrow { font-weight: 500; color: var(--action); margin: 0 0 1rem; font-size: .95rem; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 60; background: var(--paper); padding: .5rem 1rem; }

/* ── Boutons : pilule + flèche dans sa pastille ───── */
.btn { display: inline-flex; align-items: center; gap: .75rem; background: var(--action); color: var(--on-action); padding: .45rem .45rem .45rem 1.4rem; border-radius: var(--r-pill); text-decoration: none; border: 0; cursor: pointer; font: 600 1rem/1.2 var(--font); white-space: nowrap; transition: background-color .3s var(--ease), transform .3s var(--ease); }
.btn-ico { display: grid; place-items: center; flex: none; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: rgb(255 255 255 / .16); transition: transform .4s var(--ease); }
.btn-ico .icon { width: 1.05rem; height: 1.05rem; }
.btn:hover { background: var(--action-hover); color: var(--on-action); }
.btn:hover .btn-ico { transform: translate(2px, -2px) scale(1.06); }
.btn:active { transform: scale(.98); }
.btn-lg { font-size: 1.05rem; padding-left: 1.6rem; }
.btn-lg .btn-ico { width: 2.6rem; height: 2.6rem; }
.btn-sm { font-size: .93rem; padding: .3rem .3rem .3rem 1.1rem; gap: .55rem; }
.btn-sm .btn-ico { width: 1.9rem; height: 1.9rem; }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light .btn-ico { background: var(--action); color: var(--on-dark); }
.btn-light:hover { background: var(--tint); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--action); box-shadow: inset 0 0 0 1.5px var(--action); padding: .8rem 1.4rem; }
.btn-ghost:hover { background: var(--action); color: var(--on-dark); }
.link-light { color: var(--on-dark); font-weight: 500; text-decoration: underline; text-decoration-color: rgb(255 255 255 / .4); }
.link-light:hover { color: var(--on-dark); text-decoration-color: currentColor; }

/* ── En-tête : îlot flottant ──────────────────────── */
.site-head { position: fixed; z-index: 40; top: .75rem; left: 50%; transform: translateX(-50%); width: min(100% - 1.5rem, 1240px); background: rgb(255 255 255 / .9); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-radius: var(--r-pill); box-shadow: 0 10px 30px -12px color-mix(in srgb, var(--night) 25%, transparent), inset 0 0 0 1px rgb(255 255 255 / .6); }
.head-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 60px; width: auto; padding: 0 .4rem 0 1.4rem; }
.brand { font-weight: 700; font-size: 1.02rem; letter-spacing: -.02em; color: var(--ink); text-decoration: none; line-height: 1.1; }
.brand span { display: block; font-weight: 500; font-size: .78rem; color: var(--muted); letter-spacing: 0; }
.menu { display: flex; align-items: center; gap: .3rem; }
.menu a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; padding: .5rem .9rem; border-radius: var(--r-pill); transition: background-color .3s var(--ease); }
.menu a:not(.btn):hover { background: var(--tint); color: var(--ink); }
.menu .btn { margin-left: .5rem; }
.menu-toggle { display: none; background: var(--tint); border: 0; border-radius: var(--r-pill); padding: .55em 1em; font: 500 .95rem var(--font); color: var(--ink); cursor: pointer; }
@media (max-width: 860px) {
  .menu-toggle { display: block; margin-left: auto; }
  .menu { display: contents; }
  .menu a:not(.btn) { display: none; }
  .menu.open { display: flex; position: absolute; top: calc(100% + .5rem); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: .2rem; background: var(--paper); border-radius: var(--r-lg); padding: .75rem; box-shadow: var(--shadow); }
  .menu.open a:not(.btn) { display: block; padding: .9rem 1rem; }
  .menu .btn { order: 3; margin-left: .3rem; }
  .menu.open .btn { justify-content: space-between; margin: .5rem 0 0; }
}

/* ── Fil d'Ariane ─────────────────────────────────── */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0 0 1.5rem; font-size: .88rem; color: var(--on-dark-muted); }
.crumbs li + li::before { content: "/"; margin-right: .4rem; opacity: .5; }
.crumbs a { color: var(--on-dark-muted); text-decoration: none; }
.crumbs a:hover { color: var(--on-dark); }

/* ── Hero accueil : photo plein cadre ─────────────── */
.hero { position: relative; background: var(--night); color: var(--on-dark); display: grid; grid-template-columns: minmax(0, 1fr); }
.hero h1 { color: var(--on-dark); }
.hero .lede { color: var(--on-dark-muted); }
.hero .eyebrow { color: var(--sky); }
.hero-full { min-height: min(100dvh, 900px); align-items: end; overflow: hidden; }
.hero-full .hero-img { position: absolute; inset: 0 0 0 auto; width: 72%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.hero-full::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--night) 28%, color-mix(in srgb, var(--night) 75%, transparent) 45%, color-mix(in srgb, var(--night) 0%, transparent) 70%), linear-gradient(0deg, color-mix(in srgb, var(--night) 60%, transparent) 0%, transparent 35%); }
.hero-full .hero-inner { position: relative; z-index: 2; padding: 8rem 0 clamp(3rem, 7vw, 5.5rem); }
.hero-full .lede { max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.8rem; margin-top: 2rem; }
.hero-card { position: absolute; z-index: 2; right: max(1.25rem, (100vw - var(--wrap)) / 2); bottom: clamp(3rem, 7vw, 5.5rem); width: 330px; background: var(--paper); color: var(--ink); border-radius: var(--r-md); padding: 1.1rem; display: grid; grid-template-columns: auto 1fr; gap: .9rem 1rem; align-items: center; box-shadow: var(--shadow); }
.hero-card img { width: 64px; height: 64px; border-radius: 16px; object-fit: cover; object-position: 50% 12%; }
.hero-card-name { margin: 0; font-weight: 650; letter-spacing: -.01em; }
.hero-card-role { margin: 0; font-size: .85rem; color: var(--muted); }
.hero-card dl { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding-top: .9rem; border-top: 1px solid var(--line); }
.hero-card dt { font-size: 1.2rem; font-weight: 600; color: var(--action); }
.hero-card dd { margin: 0; font-size: .78rem; color: var(--muted); }
@media (max-width: 960px) {
  .hero-full { min-height: 0; }
  .hero-full .hero-img { position: relative; inset: auto; width: 100%; height: auto; aspect-ratio: 4 / 3.4; max-height: 62svh; }
  .hero-full::before { display: none; }
  .hero-full .hero-inner { padding: 2.5rem 0 2rem; }
  .hero-card { position: relative; right: auto; bottom: auto; margin: 0 1.25rem 2.5rem; width: auto; }
  .hero-local > .hero-inner { padding-top: 2.5rem; }
}

/* ── Hero des pages : split texte / photo ─────────── */
.hero-local .hero-img { width: 100%; height: 100%; min-height: 300px; max-height: 52svh; object-fit: cover; object-position: 50% 15%; }
.hero-local > .hero-inner { padding: 7.5rem 0 3.5rem; }
.hero-local h1 { font-size: clamp(2.1rem, 1.4rem + 2.8vw, 3.6rem); max-width: 22ch; }
@media (min-width: 960px) {
  .hero-local { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: min(70vh, 620px); }
  .hero-local .hero-img { grid-column: 2; grid-row: 1; height: 0; min-height: 100%; max-height: none; }
  .hero-local > .hero-inner { grid-column: 1; grid-row: 1; align-self: center; width: auto; margin: 0; padding-left: max(1.25rem, (100vw - var(--wrap)) / 2); padding-right: 3rem; }
  .hero-local:not(:has(.hero-img)) > .hero-inner { grid-column: 1 / -1; }
}
.local-stats { display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; margin: 2.2rem 0 0; }
.local-stats dt { font-size: .82rem; color: var(--on-dark-muted); }
.local-stats dd { margin: 0; font-family: var(--mono); font-size: 1.15rem; font-weight: 600; }

/* ── Sections ─────────────────────────────────────── */
.block { padding-block: var(--space); }
/* Deux sections de même fond qui se suivent : un seul espacement entre elles (pas de double vide) */
.block:not([class*=" tone-"]) + .block:not([class*=" tone-"]), .tone-alt + .tone-alt, .tone-dark + .tone-dark { padding-top: 0; }
/* idem quand un JSON-LD (<script>, FAQ) sépare les deux sections */
.block:not([class*=" tone-"]) + script + .block:not([class*=" tone-"]) { padding-top: 0; }
.pad-s { padding-block: calc(var(--space) * .6); }
.pad-l { padding-block: calc(var(--space) * 1.3); }
.anchor { display: block; position: relative; top: -6rem; visibility: hidden; }
.tone-alt { background: var(--mist); }
.tone-dark { background: var(--night); color: var(--on-dark); }
.tone-dark :is(h2, h3, strong) { color: var(--on-dark); }
.tone-dark :is(p, .lede, dd) { color: var(--on-dark-muted); }
.block .lede { margin-bottom: 0; }
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; align-items: center; }
@media (min-width: 900px) { .has-media .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 5rem; } }
.media img { border-radius: var(--r-lg); width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }
.media { margin: 0; overflow: hidden; border-radius: var(--r-lg); }
.prose .btn { margin-top: .75rem; }
.checks { list-style: none; padding: 0; margin: 1.2rem 0 1.8rem; }
.checks li { padding: .4rem 0 .4rem 1.9rem; position: relative; }
.checks li::before { content: ""; position: absolute; left: .2rem; top: .9rem; width: .75rem; height: .4rem; border: solid var(--action); border-width: 0 0 2px 2px; transform: rotate(-45deg); }

/* Bento "à distance" */
.bento { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; margin-top: 3rem; }
.bento-cell { background: var(--tint); border-radius: var(--r-lg); padding: 2rem; position: relative; overflow: hidden; }
.bento-cell .icon { width: 2.6rem; height: 2.6rem; padding: .55rem; border-radius: 14px; background: var(--paper); color: var(--action); margin-bottom: 1.4rem; }
.bento-cell h3 { font-size: 1.3rem; }
.bento-cell p { color: var(--muted); margin: 0; }
.bento-cell:nth-of-type(3) { background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.bento-photo { min-height: 460px; display: flex; align-items: flex-end; color: var(--on-dark); background: var(--night); }
.bento-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bento-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, color-mix(in srgb, var(--night) 92%, transparent) 0%, color-mix(in srgb, var(--night) 35%, transparent) 55%, transparent 80%); }
.bento-text { position: relative; z-index: 1; max-width: 34ch; }
.bento-photo h3 { color: var(--on-dark); font-size: 1.6rem; }
.bento-photo p { color: var(--on-dark-muted); }
.bento-photo .icon { background: rgb(255 255 255 / .14); color: var(--on-dark); }
.bento-price { background: var(--action); color: var(--on-dark); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding: 1.5rem 1.5rem 1.5rem 2rem; }
.bento-price p { color: rgb(255 255 255 / .85); margin: 0; font-size: 1.05rem; }
.bento-price .mono { color: var(--on-dark); font-size: 1.9rem; font-weight: 600; margin-right: .6rem; }
@media (min-width: 900px) {
  .bento { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: minmax(220px, auto) minmax(220px, auto) auto; }
  .bento-photo { grid-column: 1 / 8; grid-row: 1 / 3; }
  .bento-cell:nth-of-type(2), .bento-cell:nth-of-type(3) { grid-column: 8 / 13; }
  .bento-price { grid-column: 1 / -1; }
}

/* Présentation */
.about { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; align-items: center; }
@media (min-width: 900px) { .about { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 5.5rem; } }
.about-media { margin: 0; position: relative; }
.about-media img { border-radius: var(--r-lg); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 15%; }
.about-badge { position: absolute; right: -1.25rem; bottom: 2rem; background: var(--paper); border-radius: var(--r-md); padding: .9rem 1.2rem; box-shadow: var(--shadow); display: flex; align-items: baseline; gap: .5rem; color: var(--muted); font-size: .9rem; }
.about-badge .mono { font-size: 1.8rem; font-weight: 600; color: var(--action); }
@media (max-width: 640px) { .about-badge { right: 1rem; } }
.about-subs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 1.5rem 2.5rem; margin: 2rem 0; padding: 1.8rem 0; border-block: 1px solid var(--line); }
.about-subs dt { font-weight: 600; margin-bottom: .3rem; }
.about-subs dd { margin: 0; color: var(--muted); }
.certs { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.certs img { height: 40px; width: auto; }
.certs-text { flex: 1 1 260px; font-size: .85rem; color: var(--muted); margin: 0; }

/* Bandeau défilant du palmarès (un seul par page) */
.marquee { border-block: 1px solid var(--line); background: var(--paper); overflow: hidden; padding-block: 1.3rem; }
.marquee-track { display: flex; width: max-content; }
.marquee ul { display: flex; gap: 3rem; list-style: none; margin: 0; padding: 0 1.5rem; }
.marquee li { white-space: nowrap; font-weight: 500; display: flex; align-items: baseline; gap: .5rem; }
.marquee li .mono { color: var(--action); font-weight: 600; }
@media (prefers-reduced-motion: no-preference) {
  .marquee-track { animation: slide 48s linear infinite; }
  .marquee:hover .marquee-track { animation-play-state: paused; }
  @keyframes slide { to { transform: translateX(-50%); } }
}
@media (prefers-reduced-motion: reduce) { .marquee { overflow-x: auto; } .marquee ul[aria-hidden] { display: none; } }

/* Records : le seul bloc sombre, chiffres façon chrono */
.facts { background: var(--night); color: var(--on-dark); padding-block: var(--space); }
.facts h2 { color: var(--on-dark); }
.facts .lede { color: var(--on-dark-muted); }
.facts .wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; align-items: end; }
@media (min-width: 960px) { .facts .wrap { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 4rem; } }
.facts-img { margin-top: 2rem; border-radius: var(--r-lg); width: 100%; max-width: 360px; aspect-ratio: 1; object-fit: cover; }
.chrono { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); gap: 0 1.5rem; margin: 0; }
.chrono:has(> div:nth-child(4):last-child) { grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }  /* 4 repères : 2 × 2, pas de dernier orphelin */
.chrono > div { padding: 1.6rem 1rem 1.6rem 0; border-top: 1px solid rgb(255 255 255 / .14); }
.chrono dt { white-space: nowrap; font-size: clamp(2.1rem, 1.4rem + 2vw, 3.1rem); font-weight: 600; line-height: 1; color: var(--on-dark); }
.chrono dd { margin: .6rem 0 0; color: var(--sky); font-weight: 500; }

/* Offre : coque + cœur (double-bezel) */
.offer { margin-top: 3rem; background: var(--tint-2); border-radius: calc(var(--r-lg) + 8px); padding: 8px; }
.offer-core { display: grid; grid-template-columns: minmax(0, 1fr); background: var(--paper); border-radius: var(--r-lg); overflow: hidden; box-shadow: inset 0 1px 0 rgb(255 255 255 / .8); }
@media (min-width: 900px) { .offer-core { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.offer-main { padding: clamp(1.75rem, 4vw, 3.25rem); }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.ticks li { display: grid; grid-template-columns: auto 1fr; gap: .9rem; align-items: start; }
.ticks .icon { width: 1.6rem; height: 1.6rem; padding: .3rem; border-radius: 50%; background: var(--tint); color: var(--action); stroke-width: 2.4; }
.offer-extras-title { margin: 2.2rem 0 .8rem; font-weight: 600; }
.offer-extras { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: .75rem; }
.offer-extras li { background: var(--mist); border-radius: var(--r-sm); padding: .8rem 1rem; font-size: .9rem; color: var(--muted); display: grid; gap: .15rem; }
.offer-extras strong { color: var(--ink); }
.offer-price { background: var(--night); color: var(--on-dark); padding: clamp(1.75rem, 4vw, 3.25rem); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 1.4rem; }
.price { margin: 0; display: flex; align-items: baseline; gap: .4rem; }
.price .mono { font-size: clamp(3.2rem, 2.2rem + 4vw, 5rem); font-weight: 600; line-height: 1; letter-spacing: -.05em; }
.price .per { color: var(--sky); font-weight: 500; font-size: 1.1rem; }
.offer-reassure { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; font-size: .92rem; color: var(--on-dark-muted); }
.offer-reassure li::before { content: ""; display: inline-block; width: .45rem; height: .45rem; border-radius: 50%; background: var(--sky); margin-right: .6rem; vertical-align: .12em; }

/* Méthode : titre + photo fixes, étapes qui défilent */
.sticky-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
.sticky-side img { margin-top: 2rem; border-radius: var(--r-lg); width: 100%; max-width: 440px; aspect-ratio: 1; object-fit: cover; }
@media (min-width: 960px) {
  .sticky-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 5rem; align-items: start; }
  .sticky-side { position: sticky; top: 6.5rem; }
}
.steps-list { list-style: none; padding: 0; margin: 0; }
.steps-list li { display: grid; grid-template-columns: 4.2rem minmax(0, 1fr); column-gap: 1rem; padding: 2rem 0; border-top: 1px solid var(--line); }
.steps-list li:last-child { border-bottom: 1px solid var(--line); }
.step-n { grid-row: span 2; font-size: 2.6rem; line-height: 1; font-weight: 500; color: var(--sky); transition: color .4s var(--ease); }
.steps-list li:hover .step-n { color: var(--action); }
.steps-list h3 { margin-bottom: .35rem; }
.steps-list p { color: var(--muted); margin: 0; }
.steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 2.5rem 2rem; padding: 0; margin: 2.5rem 0 0; }
.steps li { counter-increment: s; border-top: 1px solid var(--line); padding-top: 1.2rem; }
.steps li::before { content: counter(s); display: block; font: 500 2rem/1 var(--mono); color: var(--sky); margin-bottom: 1rem; }
.steps p { color: var(--muted); margin: 0; }

/* Témoignages : citation mise en avant + liste */
.wall { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; margin-top: 3rem; }
@media (min-width: 960px) { .wall { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.quote { margin: 0; background: var(--paper); border-radius: var(--r-md); padding: 1.7rem; display: flex; flex-direction: column; gap: 1.1rem; box-shadow: inset 0 0 0 1px var(--line); }
.quote blockquote { margin: 0; }
.quote p { margin: 0; font-size: .98rem; }
.quote figcaption strong { display: block; }
.quote figcaption span { display: block; color: var(--muted); font-size: .88rem; }
.quote-feature { background: var(--night); color: var(--on-dark); box-shadow: none; padding: clamp(2rem, 4vw, 3rem); border-radius: var(--r-lg); position: relative; overflow: hidden; justify-content: flex-end; min-height: 480px; }
.quote-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.quote-feature > * { position: relative; z-index: 1; }
.quote-feature > img { position: absolute; z-index: 0; }
.quote-feature p { font-size: clamp(1.8rem, 1.2rem + 2.2vw, 3rem); font-weight: 650; letter-spacing: -.03em; line-height: 1.08; text-wrap: balance; max-width: 18ch; }
.quote-feature strong { color: var(--on-dark); }
.quote-feature figcaption span { color: var(--sky); }
.quote-feature details { color: var(--on-dark-muted); }
.quote-feature summary { cursor: pointer; font-weight: 500; color: var(--on-dark); }
.quote-feature details p { font-size: .98rem; font-weight: 400; letter-spacing: 0; line-height: 1.6; max-width: 60ch; margin-top: .8rem; color: var(--on-dark-muted); }
.wall-list { display: grid; gap: 1rem; align-content: start; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-md); }
@media (max-width: 640px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } .gallery img:last-child { display: none; } }

/* Palmarès complet (page parcours) */
.results { width: 100%; border-collapse: collapse; margin-top: 1.5rem; }
.results td { padding: .9rem .5rem; border-bottom: 1px solid var(--line); vertical-align: baseline; }
.results td:first-child { padding-left: 0; font-weight: 500; }
.results td:nth-child(2) { font-family: var(--mono); font-weight: 600; color: var(--action); white-space: nowrap; }
.results td:last-child { font-family: var(--mono); color: var(--muted); text-align: right; padding-right: 0; }

/* Histoire */
.story { list-style: none; padding: 0; margin: 2.5rem 0 0; border-left: 1px solid var(--line); }
.story li { position: relative; padding: 0 0 2.2rem 2rem; }
.story li::before { content: ""; position: absolute; left: -6px; top: .5rem; width: 11px; height: 11px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 3px var(--action); }
.story h3 small { font-family: var(--mono); font-weight: 500; color: var(--action); margin-left: .5rem; font-size: .78em; }
.story p { margin: 0; }
.video { width: 100%; border-radius: var(--r-lg); background: var(--night); margin-top: 1.5rem; aspect-ratio: 16 / 9; }

/* Partenaires */
.block-logos { padding-block: 3.5rem; }
.block-logos h2 { font-size: 1rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.logos { list-style: none; padding: 0; margin: 1.2rem 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 2rem 4rem; }
.logos img { height: 40px; width: auto; max-width: 170px; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .4s var(--ease), opacity .4s var(--ease); }
.logos img:hover { filter: none; opacity: 1; }

/* Cartes génériques (page entreprises) */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 1rem; margin: 3rem 0 0; }
.cards > div { background: var(--mist); border-radius: var(--r-md); padding: 1.8rem; }
.cards > div:first-child { background: var(--night); }
.cards > div:first-child dt { color: var(--on-dark); }
.cards > div:first-child dd { color: var(--on-dark-muted); }
.cards dt { font-weight: 600; font-size: var(--step-1); margin-bottom: .5rem; letter-spacing: -.01em; }
.cards dd { margin: 0; color: var(--muted); }

/* FAQ : deux colonnes */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
@media (min-width: 960px) { .faq-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 5rem; align-items: start; } }
.faq-side p { color: var(--muted); }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; padding: 1.3rem 3rem 1.3rem 0; font-weight: 500; font-size: 1.08rem; list-style: none; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; position: absolute; right: .3rem; top: 50%; width: .65rem; height: .65rem; border: solid var(--action); border-width: 0 2px 2px 0; transform: translateY(-70%) rotate(45deg); transition: transform .35s var(--ease); }
.faq-list details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-list details p { color: var(--muted); padding-bottom: 1.3rem; }

.block-cta { text-align: center; background: var(--mist); }
.block-cta h2, .block-cta p { margin-inline: auto; }

/* Listes de liens géo */
.block-cities h3 { margin-top: 2.2rem; }
.link-grid { list-style: none; padding: 0; margin: 1.2rem 0 2rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: .1rem 1.5rem; }
.link-grid a { display: block; padding: .5rem 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: color .3s var(--ease), padding .3s var(--ease); }
.link-grid a:hover { color: var(--action); padding-left: .3rem; }
.directory { columns: 3 280px; column-gap: 3rem; }
.directory > div { break-inside: avoid; margin-bottom: 2.5rem; }
.directory h2 { font-size: var(--step-1); }
.directory ul { list-style: none; padding: 0; margin: 0; }
.directory li a { display: block; padding: .3rem 0; text-decoration: none; color: var(--ink); }
.search label { display: block; font-weight: 500; margin-bottom: .5rem; }
.search div { display: flex; gap: .5rem; max-width: 520px; }
.search input { flex: 1; min-width: 0; font: inherit; padding: .85em 1.2em; border: 0; border-radius: var(--r-pill); background: var(--paper); color: var(--ink); }

/* ── Formulaire ───────────────────────────────────── */
.lead { background: var(--mist); padding-block: var(--space); }
.lead-page { background: var(--night); color: var(--on-dark); padding-top: 8rem; }
.lead-page h1 { color: var(--on-dark); }
.lead-page .lede, .lead-page .checks li { color: var(--on-dark-muted); }
.lead-page .checks li::before { border-color: var(--sky); }
.lead-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
@media (min-width: 900px) { .lead-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 4rem; align-items: start; } }
.lead-form { background: var(--paper); color: var(--ink); border-radius: var(--r-lg); box-shadow: var(--shadow), inset 0 0 0 1px var(--line); padding: clamp(1rem, 3vw, 2rem); }
.lead-form iframe, .exit iframe { border: 0; display: block; }
.avatar { width: 84px; height: 84px; border-radius: 22px; object-fit: cover; object-position: 50% 12%; margin-bottom: 1.4rem; }

/* ── Pages légales ────────────────────────────────── */
.legal { padding-block: 8rem var(--space); }
.legal .crumbs ol, .legal .crumbs a { color: var(--muted); }
.legal h2 { font-size: var(--step-1); margin-top: 2rem; }
.table { overflow-x: auto; }
.legal table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.legal th, .legal td { text-align: left; padding: .6rem; border-bottom: 1px solid var(--line); vertical-align: top; }

/* ── Pied de page ─────────────────────────────────── */
.site-foot { background: var(--night); color: var(--on-dark); padding-block: 4.5rem 6.5rem; font-size: .95rem; }
.site-foot a { color: var(--on-dark-muted); text-decoration: none; }
.site-foot a:hover { color: var(--on-dark); }
.site-foot .brand { color: var(--on-dark); font-size: 1.3rem; }
.site-foot .btn { color: var(--on-dark); margin-top: .6rem; }
.site-foot p { color: var(--on-dark-muted); }
.foot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 2.5rem; }
.foot-grid nav { display: flex; flex-direction: column; gap: .4rem; }
.foot-grid h2 { font-size: .95rem; font-weight: 600; color: var(--on-dark); letter-spacing: 0; }
.foot-legal { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgb(255 255 255 / .12); }
.foot-legal p { margin: 0; margin-right: auto; }

/* ── Conversion : barre fixe + popup ──────────────── */
.sticky-cta { position: fixed; z-index: 30; left: 50%; bottom: 1rem; transform: translateX(-50%); width: min(100% - 2rem, 560px); display: flex; align-items: center; gap: 1rem; background: color-mix(in srgb, var(--night) 94%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: var(--on-dark); padding: .45rem .45rem .45rem 1.3rem; border-radius: var(--r-pill); box-shadow: 0 16px 40px -12px color-mix(in srgb, var(--night) 50%, transparent); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.sticky-cta p { margin: 0; flex: 1; font-weight: 500; }
.sticky-cta.away { opacity: 0; pointer-events: none; transform: translate(-50%, 1rem); }
.close { background: none; border: 0; color: inherit; font-size: 1.4rem; line-height: 1; cursor: pointer; padding: .2rem .6rem; }
.exit { border: 0; border-radius: var(--r-lg); padding: 2rem; width: min(100% - 2rem, 560px); max-height: 90vh; background: var(--paper); color: var(--ink); }
.exit::backdrop { background: color-mix(in srgb, var(--night) 60%, transparent); }
.exit .close { position: absolute; top: .7rem; right: .7rem; }

@media (max-width: 520px) {
  .wrap { width: min(100% - 2rem, var(--wrap)); }
  .head-inner { padding-left: 1.1rem; gap: .5rem; }
  .brand { font-size: .95rem; }
  .brand { white-space: nowrap; min-width: 0; overflow: hidden; text-overflow: ellipsis; }  /* nom long : coupé plutôt que de pousser le bouton hors écran */
  .menu .btn { margin-left: 0; flex: none; }
  .brand span { display: none; }
  .menu .btn-sm { padding: .55rem 1rem; }
  .menu .btn-sm .btn-ico { display: none; }
  .menu-toggle { padding: .5em .85em; }
  .sticky-cta { padding-left: .45rem; }
  .sticky-cta p { display: none; }
  .sticky-cta .btn { flex: 1; justify-content: space-between; }
  .btn { white-space: normal; }
  .menu .btn, .sticky-cta .btn { white-space: nowrap; }
}

/* ── Mouvement ────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  @keyframes rise { from { opacity: 0; transform: translateY(24px); filter: blur(6px); } }
  @keyframes settle { from { transform: scale(1.08); } }
  .hero-img { animation: settle 1.8s var(--ease) both; }
  .hero-inner > *, .hero-card { animation: rise .9s var(--ease) both; }
  .hero-inner > :nth-child(2) { animation-delay: .08s; }
  .hero-inner > :nth-child(3) { animation-delay: .16s; }
  .hero-inner > :nth-child(n+4) { animation-delay: .24s; }
  .hero-card { animation-delay: .45s; }

  .js .reveal { opacity: 0; transform: translateY(28px); filter: blur(4px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
  .js .reveal.in { opacity: 1; transform: none; filter: none; }

  .bento-cell, .quote:not(.quote-feature) { transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
  .bento-cell:hover, .quote:not(.quote-feature):hover { transform: translateY(-4px); }
  .bento-photo img, .quote-feature img, .media img, .gallery img { transition: transform 1.2s var(--ease); }
  .bento-photo:hover img, .quote-feature:hover img, .media:hover img, .gallery img:hover { transform: scale(1.04); }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

@media (max-width: 959px) { .hero-local > .hero-inner { padding-top: 2.5rem; } }

/* Gras lisible sur fonds sombres ; espaces resserrées dans les chiffres en chasse fixe */
.cards > div:first-child strong, .facts strong, .hero strong, .bento-photo strong, .offer-price strong { color: var(--on-dark); }

/* Réseaux sociaux */
.socials { display: flex; flex-wrap: wrap; gap: .5rem; }
.social { display: inline-flex; align-items: center; gap: .55rem; padding: .55rem 1rem .55rem .8rem; border-radius: var(--r-pill); background: var(--tint); color: var(--ink); text-decoration: none; font-weight: 500; font-size: .93rem; transition: background-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease); }
.social:hover { background: var(--action); color: var(--on-dark); transform: translateY(-2px); }
.brand-icon { width: 1.15rem; height: 1.15rem; flex: none; }
.about-social { margin-top: 1.8rem; display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.2rem; }
.about-social p { margin: 0; color: var(--muted); font-size: .95rem; }
.hero-card .socials { grid-column: 3; grid-row: 1; gap: .35rem; }
.hero-card { grid-template-columns: auto 1fr auto; }
.hero-card .social { padding: .5rem; }
.site-foot .socials { margin: .4rem 0 1rem; }
.site-foot .social { background: rgb(255 255 255 / .08); color: var(--on-dark); }
.site-foot .social:hover { background: var(--action); color: var(--on-dark); }

/* Avantages partenaires */
.partners-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
@media (min-width: 960px) { .partners-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 5rem; align-items: start; } }
.partners { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 1rem; }
.partners li { background: var(--paper); border-radius: var(--r-md); padding: 1.6rem; box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: .4rem; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.partners li:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
.partners img { height: 36px; width: auto; max-width: 150px; object-fit: contain; object-position: left; margin-bottom: 1rem; }
.partners .deal { margin: 0; font-size: 2.2rem; font-weight: 600; line-height: 1; color: var(--action); }
.partners p:last-child { margin: 0; color: var(--muted); font-size: .95rem; }
.hero-card { width: 370px; }
.hero-card-name { white-space: nowrap; }
@media (max-width: 960px) { .hero-card { width: auto; } }

/* Preuves courtes sous le CTA du hero (optionnel : hero.proofs) */
.proofs { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 1.75rem 0 0; }
.proofs li { font-size: .9rem; font-weight: 500; color: var(--on-dark); padding: .35rem .8rem; border-radius: var(--r-pill); border: 1px solid color-mix(in srgb, var(--on-dark) 25%, transparent); }

/* Offres / usages : grille photo, la première en grand */
.offers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 2.5rem 1.5rem; margin-top: 3rem; }
.offers img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-md); margin-bottom: 1rem; transition: transform .6s var(--ease); }
.offers article { overflow: hidden; }
.offers article:hover img { transform: scale(1.02); }
.offers p { color: var(--muted); margin: 0; }
@media (min-width: 960px) {
  .offers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .offers article:first-child { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; }
  .offers article:first-child img { aspect-ratio: auto; flex: 1; min-height: 0; }
}


/* ── Mise en page sans vide : titre à gauche, texte à droite (bloc text sans image, table) ── */
.split-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem 4.5rem; }
@media (min-width: 900px) {
  .split-head { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
}
.split-head .sh-head h2 { max-width: none; }
.split-head .prose p { max-width: none; }
.results th { text-align: left; font-weight: 600; font-size: .88rem; color: var(--muted); padding: .8rem .5rem; border-bottom: 1px solid var(--line); }

/* Surlignage marqueur (un seul par page) */
mark { background: linear-gradient(transparent 58%, color-mix(in srgb, var(--action) 35%, transparent) 58%, color-mix(in srgb, var(--action) 35%, transparent) 92%, transparent 92%); color: inherit; padding: 0 .08em; }

/* Chiffres clés */
.block-stats { padding-block: clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--line); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 1.5rem 2rem; margin: 0; }
.stats > div { border-top: 1px solid var(--action); padding-top: 1.1rem; }
.stats dt { font: 500 clamp(2.4rem, 1.8rem + 2vw, 3.4rem)/1 var(--mono); color: var(--brand); font-variant-numeric: tabular-nums; white-space: nowrap; }
.stats dd { margin: .6rem 0 0; color: var(--muted); max-width: 26ch; }

/* Onglets synchronisés : liste à gauche, panneau photo + texte à droite */
.tabs { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
@media (min-width: 960px) { .tabs { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 3rem; align-items: start; } }
.tab-list { display: grid; border-top: 1px solid var(--line); }
.tab-list [role=tab] { display: flex; align-items: center; gap: .9rem; width: 100%; padding: 1.05rem .6rem; background: none; border: 0; border-bottom: 1px solid var(--line); font: 600 1.05rem/1.3 var(--font); color: var(--muted); text-align: left; cursor: pointer; transition: color .25s var(--ease), background-color .25s var(--ease), padding .25s var(--ease); }
.tab-list [role=tab] .icon { width: 1.4rem; height: 1.4rem; flex: none; color: var(--action); }
.tab-list [role=tab]:hover { color: var(--ink); }
.tab-list [aria-selected=true] { color: var(--ink); background: var(--mist); padding-left: 1rem; box-shadow: inset 2px 0 0 var(--action); }
.tab-panel { display: grid; grid-template-columns: minmax(0, 1fr); background: var(--paper); border-radius: var(--r-lg); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
@media (min-width: 700px) { .tab-panel { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); min-height: 420px; } }
.tab-panel[hidden] { display: none; }
.tab-panel img { width: 100%; height: 100%; min-height: 240px; object-fit: cover; }
.tab-text { padding: clamp(1.5rem, 3vw, 2.4rem); display: flex; flex-direction: column; justify-content: center; gap: .4rem; }
.tab-text p { color: var(--muted); }
.tab-text .btn { align-self: flex-start; margin-top: .4rem; }

/* Étapes en cartes photo */
.photo-steps { list-style: none; padding: 0; margin: 2.5rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 1rem; }
.photo-steps li { background: var(--tint); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; }
.photo-steps figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; }
.photo-steps img { width: 100%; height: 100%; object-fit: cover; }
.photo-steps .chip { align-self: flex-start; margin: 1.2rem 1.3rem .7rem; font-size: .8rem; font-weight: 600; color: var(--brand); background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-sm); padding: .2rem .55rem; }
.photo-steps h3 { margin: 0 1.3rem .45rem; font-size: 1.2rem; }
.photo-steps p { margin: 0 1.3rem 1.4rem; color: var(--muted); font-size: .95rem; }


/* ══ Composants riches (band, statement, biglist, mosaic, hsteps, composer) ══════════════
   Tokens uniquement. Chaque site les restyle selon sa DA (formes, rayons, tailles) : ne pas les livrer tels quels. */
.mark { width: .9em; height: .9em; flex: none; color: var(--action); }
.mark-lg { width: 2.2rem; height: 2.2rem; color: currentColor; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink .btn-ico { background: color-mix(in srgb, var(--paper) 16%, transparent); }
.btn-ink:hover { background: var(--night); color: var(--paper); }

/* Pastilles de choix */
.pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.pill { position: relative; cursor: pointer; text-decoration: none; }
.pill input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pill span { display: inline-flex; align-items: center; padding: .6rem 1.1rem; border: 1px solid var(--muted); border-radius: var(--r-pill); font-weight: 500; color: var(--ink); background: var(--paper); transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.pill:hover span { border-color: var(--ink); }
.pill input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.pill input:focus-visible + span { outline: 2px solid var(--action); outline-offset: 2px; }

/* Bandeau de mots */
.band { background: var(--action); color: var(--on-action); overflow: hidden; padding-block: 1.1rem; }
.band-track { display: flex; width: max-content; }
.band ul { display: flex; list-style: none; margin: 0; padding: 0; }
.band li { display: inline-flex; align-items: center; gap: 2rem; padding-right: 2rem; font: 500 clamp(1.6rem, 1.1rem + 1.6vw, 2.8rem)/1 var(--font-display); white-space: nowrap; letter-spacing: -.02em; }
.band .mark { color: currentColor; width: .55em; height: .55em; }

/* Manifeste : titre large ; grande photo à gauche ; texte puis petite photo à droite */
.statement { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
.statement-title { font-size: clamp(2.2rem, 1.4rem + 3vw, 4.4rem); max-width: none; margin: 0; }
.statement figure { margin: 0; overflow: hidden; border-radius: var(--r-md); }
.statement figure img { width: 100%; height: 100%; object-fit: cover; }
.statement-a { aspect-ratio: 4 / 5; }
.statement-b { aspect-ratio: 4 / 3; }
@media (min-width: 960px) {
  .statement { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 2rem; row-gap: 2.5rem; }
  .statement-title { grid-column: 1 / 11; }
  .statement-a { grid-column: 1 / 7; grid-row: 2 / 4; }
  .statement-body { grid-column: 8 / 13; grid-row: 2; }
  .statement-b { grid-column: 8 / 13; grid-row: 3; }
}

/* Tête de section : titre à gauche, introduction à droite, alignés en bas */
.biglist-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem 3rem; }
.biglist-head h2 { margin: 0; }
.biglist-head .lede { margin: 0; max-width: 40ch; }

/* Liste en très grands caractères */
.biglist { list-style: none; margin: 2.5rem 0 0; padding: 0; border-top: 1px solid var(--ink); }
.biglist-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .5rem 1.2rem; align-items: center; padding: 1.1rem 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.biglist-name { font: 500 clamp(2rem, 1.2rem + 3.4vw, 5rem)/1 var(--font-display); letter-spacing: -.03em; transition: transform .6s var(--ease), color .3s var(--ease), opacity .3s var(--ease); }
.biglist-desc { grid-column: 1; color: var(--muted); max-width: 46ch; }
.biglist-thumb { grid-column: 2; grid-row: 1 / 3; width: 96px; height: 72px; object-fit: cover; border-radius: var(--r-sm); }
.biglist-follow { display: none; }
@media (min-width: 900px) and (pointer: fine) {
  .biglist-row { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
  .biglist-desc { grid-column: 2; justify-self: end; }
  .biglist-thumb { display: none; }
  .biglist-row:hover .biglist-name { transform: translateX(1.2rem); color: var(--action); }
  .biglist:hover .biglist-row:not(:hover) .biglist-name { opacity: .3; }
  .biglist-follow { display: block; position: fixed; top: 0; left: 0; width: 320px; aspect-ratio: 4 / 3; border-radius: var(--r-md); overflow: hidden; pointer-events: none; z-index: 20; opacity: 0; visibility: hidden; }
  .biglist-follow img { width: 100%; height: 100%; object-fit: cover; }
}

/* Mosaïque */
.mosaic { display: grid; grid-template-columns: minmax(0, 1fr); grid-auto-rows: 320px; gap: 1rem; margin-top: 2.5rem; }
@media (min-width: 900px) {
  .mosaic { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: 280px; }
  .tile-1 { grid-column: 1 / 6; grid-row: span 2; }
  .tile-2 { grid-column: 6 / 13; }
  .tile-3 { grid-column: 6 / 9; }
  .tile-cta { grid-column: 9 / 13; }
}
.tile { position: relative; overflow: hidden; border-radius: var(--r-md); display: flex; align-items: flex-end; color: var(--on-dark); text-decoration: none; background: var(--night); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, color-mix(in srgb, var(--night) 85%, transparent) 0%, transparent 60%); }
a.tile:hover img { transform: scale(1.05); }
.tile-text { position: relative; z-index: 1; display: grid; gap: .35rem; padding: 1.5rem; max-width: 34ch; }
.tile-h { font: 500 1.9rem/1.05 var(--font-display); letter-spacing: -.02em; }
.tile-p { color: var(--on-dark-muted); }
.tile-go { position: absolute; z-index: 1; top: 1rem; right: 1rem; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--action); color: var(--on-action); display: grid; place-items: center; transition: transform .5s var(--ease); }
.tile-go .icon { width: 1.1rem; height: 1.1rem; }
a.tile:hover .tile-go { transform: rotate(45deg); }
.tile-cta { background: var(--action); color: var(--on-action); flex-direction: column; align-items: flex-start; justify-content: space-between; padding: 1.6rem; }
.tile-cta::after { display: none; }
.tile-cta .tile-p { color: var(--on-action); margin: 0; }
.tile-cta .tile-h { margin: 0; }

/* Étapes horizontales */
.block-hsteps { overflow: hidden; }
.hsteps-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem 2rem; margin-bottom: 2.5rem; }
.hsteps-head h2 { margin: 0; }
.hsteps-hint { color: var(--muted); margin: 0; }
.hsteps-track { list-style: none; margin: 0; padding: 0 max(1.25rem, (100% - var(--wrap)) / 2); display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.hsteps-track::-webkit-scrollbar { display: none; }
.hstep { flex: 0 0 min(82vw, 440px); min-height: 340px; border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.8rem; display: flex; flex-direction: column; gap: .6rem; scroll-snap-align: start; }
.hstep-n { font: 500 clamp(3.6rem, 2.8rem + 3vw, 6rem)/1 var(--font-display); color: var(--action); letter-spacing: -.04em; margin-bottom: auto; }
.hstep p { color: var(--muted); margin: 0; }
.tone-dark .hstep { border-color: color-mix(in srgb, var(--on-dark) 16%, transparent); background: color-mix(in srgb, var(--on-dark) 4%, transparent); }
.tone-dark .hstep p, .tone-dark .hsteps-hint { color: var(--on-dark-muted); }
.is-pinned .hsteps-track { overflow: visible; }

/* Composeur */
.composer { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
@media (min-width: 960px) { .composer { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 5rem; align-items: center; } }
.composer-head p { color: var(--muted); }
.composer-form { background: var(--tint); border-radius: var(--r-lg); padding: clamp(1.4rem, 3vw, 2.4rem); display: grid; gap: 1.6rem; }
.composer-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.composer-form legend { display: flex; justify-content: space-between; align-items: baseline; width: 100%; font-weight: 600; margin-bottom: .8rem; padding: 0; }
.composer-n { font: 500 2.2rem/1 var(--font-display); font-variant-numeric: tabular-nums; }
.range { width: 100%; accent-color: var(--ink); height: 1.4rem; cursor: pointer; }
.composer-out { border-top: 1px solid var(--line); padding-top: 1.4rem; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.2rem; }
.composer-sum { font: 500 1.6rem/1.15 var(--font-display); margin: 0; max-width: 24ch; }

/* Rail de cartes (bloc rail) : base, à restyler selon l'élément possédé du site */
.rail-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem 4rem; margin-bottom: 2.5rem; }
@media (min-width: 900px) { .rail-head { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: end; } }
.rail-head h2 { margin: 0; }
.rail-intro p:last-child { margin-bottom: 0; }
.rail { position: relative; }
.rail-track { list-style: none; margin: 0; padding: 1.5rem max(1.25rem, (100% - var(--wrap)) / 2) 2rem; display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.rail-track::-webkit-scrollbar { display: none; }
.ticket { flex: 0 0 min(78vw, 320px); scroll-snap-align: start; background: var(--paper); color: var(--ink); padding: 1.5rem; border-radius: var(--r-sm); display: flex; flex-direction: column; gap: .6rem; }
.ticket p { margin: 0; color: var(--muted); }

/* Pages géo : photo en fond voilé, texte à gauche, formulaire à droite (règle : formulaire en haut des pages géo) */
.hero-geo { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; padding: 6.5rem max(1.25rem, (100% - var(--wrap)) / 2) 3rem; }
.hero-geo .hero-img { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; min-height: 0; object-fit: cover; z-index: 0; }
.hero-geo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--night) 30%, color-mix(in srgb, var(--night) 70%, transparent)); }
.hero-geo > .hero-inner, .hero-geo > .hero-form { position: relative; z-index: 2; min-width: 0; }
.hero-geo > .hero-inner { width: auto; margin: 0; padding: 0; align-self: center; }
.hero-form { background: var(--paper); color: var(--ink); border-radius: var(--r-lg); padding: clamp(1rem, 2.5vw, 1.6rem); box-shadow: var(--shadow); }
.hero-form iframe { border: 0; display: block; min-height: 460px; }
@media (min-width: 960px) {
  .hero-geo { grid-template-columns: minmax(0, 1fr) minmax(0, 440px); column-gap: 4rem; align-items: center; padding-top: 7.5rem; padding-bottom: 4rem; }
  .hero-geo .hero-img { grid-column: auto; grid-row: auto; height: 100%; }
  .hero-geo > .hero-inner { grid-column: 1; padding: 0; }
}

.gsap-motion .hero-inner > *, .gsap-motion .hero-card, .gsap-motion .hero-img { animation: none !important; }

.exit { overflow-y: auto; overscroll-behavior: contain; }
html:has(dialog[open]) { overflow: hidden; }


/* ══ Variantes d'architecture (config.php['layout'] et bloc feed) : styles de base en tokens ══════════
   Venues de Sticky (influence). Un nouveau site qui en reprend une doit la RESTYLER (formes, proportions, détails)
   et créer ses propres variantes : voir direction-artistique, étape « Architecture ». */
.brand-mark { width: 1.3rem; height: 1.3rem; }
/* ── Sticker (élément possédé de Sticky : à transformer, pas à reprendre tel quel) ── */
.sticker { --tilt: -6deg; position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .85rem .55rem; border-radius: var(--r-sm); background: var(--pop); color: var(--ink); font: 800 1rem/1.05 var(--font-display); letter-spacing: -.01em; white-space: nowrap; box-shadow: 0 0 0 1.5px var(--ink), var(--hard); transform: rotate(var(--tilt)); cursor: grab; touch-action: none; user-select: none; }
.sticker .mark { width: 1em; height: 1em; color: var(--action); }
.sticker.is-dragging { cursor: grabbing; z-index: 10; }
.sticker-mention { background: var(--sticker); color: var(--action); --tilt: 4deg; }
.sticker-poll { --tilt: -3deg; flex-direction: column; align-items: stretch; gap: .5rem; padding: .7rem; background: var(--sticker); white-space: normal; width: 11rem; text-align: center; }
.sticker-opts { display: grid; grid-template-columns: 1fr 1fr; gap: .35rem; }
.sticker-opts span { padding: .4rem 0; border-radius: var(--r-pill); background: var(--mist); color: var(--ink); font: 700 .8rem/1 var(--font); }
.sticker-opts span:first-child { background: var(--action); color: var(--on-action); }
.story-bars { position: absolute; z-index: 2; top: .7rem; left: .7rem; right: .7rem; display: flex; gap: 4px; }
.story-bars i { flex: 1; height: 3px; border-radius: 3px; background: color-mix(in srgb, var(--on-dark) 40%, transparent); overflow: hidden; }
.story-bars .done { background: var(--on-dark); }
.story-bars .now::after { content: ""; display: block; height: 100%; background: var(--on-dark); transform-origin: left; transform: scaleX(.45); }
@media (prefers-reduced-motion: no-preference) {
  .story-bars .now::after { animation: story-fill 5s linear infinite; }
  @keyframes story-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}
.story-fmt, .post-label { position: absolute; z-index: 2; top: 1.45rem; left: .8rem; font: 700 .8rem/1 var(--font); color: var(--on-dark); padding: .35rem .6rem; border-radius: var(--r-pill); background: color-mix(in srgb, var(--ink) 50%, transparent); }


/* ── Hero d'accueil : en-tête de profil ── */
.hero.hero-profile { display: block; background: var(--paper); color: var(--ink); padding: 1.1rem 1.1rem 0; }
.hero-profile h1 { color: var(--ink); font-size: clamp(2.5rem, 1.2rem + 4vw, 5.6rem); margin-bottom: .35em; }
.hero-profile .lede { color: var(--muted); margin: 0; max-width: 52ch; }
.hero-profile strong { color: var(--ink); }
.hero-profile .eyebrow { color: var(--brand); }
.profile-cover { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; height: clamp(300px, 46vh, 470px); padding: 14px; background: var(--brand); border-radius: var(--r-lg); }
.cover-item { position: relative; margin: 0; min-width: 0; }
.cover-item > img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-md); }
.cover-item .sticker { left: 50%; top: 52%; translate: -50% 0; }
.cover-1 .sticker { --tilt: -9deg; }
.cover-3 .sticker { --tilt: -4deg; font-size: 1.1rem; top: 60%; }
.cover-4 .sticker { --tilt: 6deg; top: 44%; }
.cover-5 .sticker { --tilt: -7deg; top: 64%; }
.profile { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; padding-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.profile-id { display: flex; align-items: flex-end; gap: 1.1rem; margin-top: -64px; position: relative; z-index: 2; }
.avatar-ring { flex: none; width: 128px; height: 128px; border-radius: 50%; padding: 5px; background: var(--paper); box-shadow: inset 0 0 0 4px var(--brand); display: grid; place-items: center; }
.avatar { width: 104px; height: 104px; border-radius: 50%; background: var(--pop); box-shadow: 0 0 0 1.5px var(--ink); display: grid; place-items: center; }
.avatar .mark { width: 52px; height: 52px; color: var(--action); transform: rotate(-8deg); }
.profile-handle { margin: 0 0 .4rem; display: grid; }
.profile-handle strong { font: 850 1.7rem/1 var(--font-display); letter-spacing: -.03em; }
.profile-handle span { color: var(--muted); font-weight: 500; }
.profile-stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 2.2rem; margin: 0 0 1.5rem; }
.profile-stats dt { font: 850 clamp(1.6rem, 1.2rem + 1vw, 2.2rem)/1 var(--font-display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.profile-stats dd { margin: .3rem 0 0; color: var(--muted); font-size: .92rem; }
.hero-profile .hero-actions { margin: 0; gap: .75rem; }
@media (min-width: 1000px) {
  .profile { grid-template-columns: 200px minmax(0, 1fr); column-gap: 3rem; align-items: start; }
  .profile-id { grid-row: 1 / 3; flex-direction: column; align-items: flex-start; margin-top: -84px; }
  .avatar-ring { width: 168px; height: 168px; }
  .avatar { width: 140px; height: 140px; }
  .avatar .mark { width: 68px; height: 68px; }
  .profile-bio { padding-top: 2.2rem; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 22rem); column-gap: 3rem; align-items: end; }
  .profile-bio > .eyebrow, .profile-bio > h1 { grid-column: 1 / -1; }
  .profile-bio > h1 { margin-bottom: .45em; }
  .profile-side { grid-column: 2; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; padding-top: 1.6rem; border-top: 1.5px solid var(--line); }
  .profile-side .profile-stats { margin: 0; }
}
@media (max-width: 999px) {
  .profile-cover { grid-template-columns: repeat(5, 46vw); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; height: 380px; }
  .cover-item { scroll-snap-align: start; }
  .profile-id { margin-top: -48px; }
  .avatar-ring { width: 104px; height: 104px; }
  .avatar { width: 84px; height: 84px; }
  .avatar .mark { width: 40px; height: 40px; }
}

/* ── Fil de publications (bloc feed) ── */
.feed-head h2 { margin-bottom: .3em; }
.feed-head .lede { max-width: 62ch; }
.highlights { display: flex; gap: 1.3rem; margin: 2rem 0 1.8rem; overflow-x: auto; scrollbar-width: none; padding: .3rem .1rem; }
.hl { flex: none; display: grid; justify-items: center; gap: .45rem; background: none; border: 0; padding: 0; cursor: pointer; font: 500 .88rem/1.2 var(--font); color: var(--ink); }
.hl-ring { width: 84px; height: 84px; border-radius: 50%; padding: 4px; box-shadow: inset 0 0 0 2.5px var(--line); transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.hl-ring img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.hl:hover .hl-ring { transform: scale(1.05); }
.hl[aria-pressed=true] .hl-ring { box-shadow: inset 0 0 0 3px var(--brand); }
.hl[aria-pressed=true] .hl-label { font-weight: 700; }
.feed { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(14rem, auto); grid-auto-flow: dense; gap: 12px; }
.post { position: relative; min-width: 0; border-radius: var(--r-lg); background: var(--mist); }
.post[hidden] { display: none; }
.size-big { grid-column: span 2; grid-row: span 2; }
.size-tall { grid-row: span 2; }
.size-wide { grid-column: span 2; }
.post-link { position: absolute; inset: 0; display: block; color: var(--on-dark); text-decoration: none; border-radius: inherit; overflow: hidden; }
.post-link img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.post-link::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, color-mix(in srgb, var(--night) 88%, transparent) 0%, transparent 55%); }
.post-link:hover img { transform: scale(1.05); }
.post-label { top: .8rem; }
.post-cap { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 1.1rem 1.2rem; display: grid; gap: .25rem; }
.post-photo .post-h { font: 800 1.35rem/1 var(--font-display); letter-spacing: -.02em; }
.post-photo .post-p { color: var(--on-dark-muted); font-size: .92rem; line-height: 1.4; }
.post-photo .sticker { right: 1rem; top: 38%; --tilt: 6deg; }
.post-text, .post-carousel, .post-poll, .post-price { padding: clamp(1.3rem, 1rem + 1vw, 1.9rem); display: flex; flex-direction: column; gap: .7rem; }
.post-text .post-h { font-size: clamp(1.3rem, 1rem + .8vw, 1.8rem); line-height: 1; margin: 0; }
.post-text.size-big .post-h { font-size: clamp(2rem, 1.2rem + 2.4vw, 3.6rem); margin-bottom: auto; padding-bottom: 1.5rem; }
.post-text p { margin: 0; color: var(--muted); }
.post-text.size-big p { font-size: var(--step-1); line-height: 1.45; }
.post-more { display: inline-flex; align-items: center; gap: .3rem; font-weight: 700; color: inherit; margin-top: .4rem; }
.post-more .icon { width: 1.1rem; height: 1.1rem; }
.post.tone-brand { background: var(--brand); color: var(--on-action); }
.post.tone-brand :is(.post-h, p, strong) { color: var(--on-action); }
.post.tone-pop { background: var(--pop); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.post.tone-pop p { color: var(--ink); }
.post.tone-dark { background: var(--night); }
.post.tone-dark :is(.post-h, strong) { color: var(--on-dark); }
.post.tone-dark p { color: var(--on-dark-muted); }
.car-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.car-head .post-h { font-size: 1.35rem; margin: 0; }
.car-count { font: 700 .85rem/1 var(--font); padding: .35rem .6rem; border-radius: var(--r-pill); background: var(--paper); font-variant-numeric: tabular-nums; }
.car-track { list-style: none; margin: 0; padding: 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; flex: 1; }
.car-slide { flex: 0 0 100%; scroll-snap-align: start; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 1.2rem; align-content: center; }
.car-n { grid-row: span 2; font: 850 clamp(3rem, 2rem + 3vw, 5rem)/.85 var(--font-display); color: var(--brand); }
.car-slide h4 { font-size: 1.25rem; margin: 0 0 .3rem; }
.car-slide p { margin: 0; color: var(--muted); }
.car-nav { display: flex; align-items: center; justify-content: space-between; }
.car-btn { width: 2.4rem; height: 2.4rem; border-radius: 50%; border: 1.5px solid var(--ink); background: var(--paper); display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.car-btn[data-dir="-1"] .icon { transform: scaleX(-1); }
.car-btn .icon { width: 1.1rem; height: 1.1rem; }
.car-dots { display: flex; gap: 6px; }
.car-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--tint-2); transition: background-color .3s, width .3s var(--ease); }
.car-dots i.on { background: var(--brand); width: 20px; border-radius: 4px; }
.poll-q { font: 800 1.3rem/1.05 var(--font-display); margin: 0; }
.poll-opts { display: grid; gap: .5rem; }
.poll-opts button { font: 700 .95rem/1 var(--font); padding: .8rem 1rem; border-radius: var(--r-pill); border: 1.5px solid var(--ink); background: var(--sticker); color: var(--ink); cursor: pointer; text-align: left; transition: background-color .25s var(--ease); }
.poll-opts button[aria-pressed=true] { background: var(--action); color: var(--on-action); border-color: var(--action); }
.poll-a { margin: 0; font-size: .92rem; }
.price-v { margin: 0; font: 850 clamp(3rem, 2.2rem + 2vw, 4.4rem)/.9 var(--font-display); color: var(--action); }
.post-price p { margin: 0; }
.post-price .btn { margin-top: auto; align-self: flex-start; }
::view-transition-group(*) { animation-duration: .45s; animation-timing-function: cubic-bezier(.22, 1, .36, 1); }
@media (max-width: 860px) {
  .feed { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(12rem, auto); }
  .size-wide, .size-big { grid-column: span 2; }
  .size-big { grid-row: auto; }
  .post-photo.size-s { min-height: 15rem; }
  .post-photo .sticker { font-size: .75rem; padding: .3rem .5rem; top: 30%; right: .5rem; }
  .post-photo .sticker-poll { width: 7.5rem; }
  .post-text.size-s, .post-poll, .post-price { grid-column: span 2; }
}

/* ── FAQ en messagerie ── */
.dm-head { display: grid; gap: .4rem; margin-bottom: 2rem; }
.dm-head h2 { margin: 0; }
.dm-head p { margin: 0; color: var(--muted); }
.dm { display: grid; grid-template-columns: minmax(0, 1fr); background: var(--paper); border-radius: var(--r-lg); box-shadow: 0 0 0 1.5px var(--ink), var(--hard); overflow: hidden; }
@media (min-width: 900px) { .dm { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); min-height: 30rem; } }
.dm-list { display: flex; flex-direction: column; border-right: 1.5px solid var(--line); background: var(--paper); }
.dm-list [role=tab] { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .8rem; padding: 1rem 1.2rem; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; font: 500 .98rem/1.35 var(--font); color: var(--ink); cursor: pointer; transition: background-color .25s var(--ease); }
.dm-list [role=tab]:hover { background: var(--mist); }
.dm-list [aria-selected=true] { background: var(--mist); font-weight: 700; }
.dm-list .icon { width: 1rem; height: 1rem; color: var(--muted); }
.dm-dot { width: .6rem; height: .6rem; border-radius: 50%; background: var(--tint-2); }
.dm-list [aria-selected=true] .dm-dot { background: var(--brand); }
.dm-panels { display: flex; flex-direction: column; background: var(--mist); }
.dm-thread { display: flex; flex-direction: column; gap: .8rem; padding: 1.2rem 1.4rem 1.6rem; flex: 1; }
.dm-thread[hidden] { display: none; }
.dm-top { display: flex; align-items: center; gap: .7rem; padding-bottom: 1rem; margin-bottom: .4rem; border-bottom: 1px solid var(--line); }
.dm-top strong { display: block; font: 850 1.05rem/1.1 var(--font-display); }
.dm-top small { display: block; color: var(--muted); font-size: .8rem; }
.dm-av { width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--pop); box-shadow: 0 0 0 1.5px var(--ink); display: grid; place-items: center; flex: none; }
.dm-av .mark { width: 1.2rem; height: 1.2rem; transform: rotate(-8deg); }
.bubble { margin: 0; max-width: 82%; padding: .8rem 1.05rem; line-height: 1.5; font-size: 1rem; }
.bubble-out { align-self: flex-end; background: var(--action); color: var(--on-action); border-radius: 20px 20px 6px 20px; font-weight: 600; }
.bubble-in { align-self: flex-start; background: var(--paper); color: var(--ink); border-radius: 20px 20px 20px 6px; box-shadow: inset 0 0 0 1px var(--line); }
@media (prefers-reduced-motion: no-preference) {
  .dm-thread:not([hidden]) .bubble { animation: bubble .45s var(--ease) both; }
  .dm-thread:not([hidden]) .bubble-in { animation-delay: .35s; }
  @keyframes bubble { from { opacity: 0; transform: translateY(10px) scale(.96); } }
}
.dm-compose { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 0 1.2rem 1.2rem; padding: .55rem .55rem .55rem 1.2rem; border-radius: var(--r-pill); background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--ink); color: var(--muted); text-decoration: none; font-weight: 500; }
.dm-compose .icon { width: 2.3rem; height: 2.3rem; padding: .55rem; border-radius: 50%; background: var(--action); color: var(--on-action); }
.dm-compose:hover { color: var(--ink); }
@media (max-width: 899px) {
  .dm-list { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1.5px solid var(--line); scrollbar-width: none; }
  .dm-list [role=tab] { flex: 0 0 72%; border-bottom: 0; border-right: 1px solid var(--line); grid-template-columns: auto minmax(0, 1fr); }
  .dm-list [role=tab] .icon { display: none; }
  .dm-thread { min-height: 22rem; }
}

/* ── Formulaire : un nouveau message, dans un téléphone, entre des bulles ── */
.lead.lead-phone { background: var(--brand); color: var(--on-action); }
.lead-stage { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; align-items: center; }
@media (min-width: 1000px) { .lead-stage { grid-template-columns: minmax(0, 1fr) minmax(0, 420px) minmax(0, 1fr); gap: 3rem; } }
.lead-side { display: flex; flex-direction: column; gap: 1rem; }
.lead-side h2 { color: var(--on-action); font-size: clamp(2.2rem, 1.4rem + 2.4vw, 3.6rem); margin: 0; }
.lead-side .bubble { max-width: 100%; }
.lead-points { list-style: none; margin: 0; padding: 0; }
.lead-points .bubble-out { display: flex; align-items: center; gap: .6rem; background: var(--pop); color: var(--ink); box-shadow: 0 0 0 1.5px var(--ink); transform: rotate(var(--r, 0deg)); }
.lead-points li:nth-child(1) { --r: -2deg; }
.lead-points li:nth-child(2) { --r: 1.5deg; align-self: flex-start; }
.lead-points li:nth-child(3) { --r: -1deg; }
.lead-points .icon { width: 1.1rem; height: 1.1rem; flex: none; stroke-width: 2.6; color: var(--action); }
.phone { background: var(--paper); color: var(--ink); border-radius: 38px; padding: 1rem 1rem 1.2rem; box-shadow: 0 0 0 1.5px var(--ink), 6px 8px 0 var(--ink); }
.phone .dm-top { padding: .3rem .4rem 1rem; }
.phone .lead-form { background: none; box-shadow: none; padding: .4rem; border-radius: 0; }
.lead-page { background: var(--brand); }
.lead-page .lede, .lead-page .checks li, .lead-page .crumbs ol, .lead-page .crumbs a { color: var(--on-action); }
.lead-page .checks li::before { border-color: var(--pop); }
.lead-page .lead-form { box-shadow: 0 0 0 1.5px var(--ink), var(--hard); }


/* ── Footer : colophon + nom géant ── */
.foot-colophon { background: var(--night); color: var(--on-dark); padding: clamp(4rem, 3rem + 3vw, 6rem) 0 0; overflow: hidden; }
.foot-statement { font: 850 clamp(1.9rem, 1.2rem + 2.4vw, 3.4rem)/1 var(--font-display); letter-spacing: -.03em; color: var(--on-dark); max-width: 26ch; margin: 0 0 2rem; }
.foot-dense { margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid color-mix(in srgb, var(--on-dark) 18%, transparent); display: grid; gap: 1rem; font-size: .9rem; line-height: 1.9; }
.foot-dense p { margin: 0; max-width: none; color: var(--on-dark-muted); }
.foot-dense strong { color: var(--pop); margin-right: .6rem; }
.foot-dense a { color: var(--on-dark-muted); text-decoration: none; margin-right: 1.1rem; white-space: nowrap; }
.foot-dense a:hover { color: var(--on-dark); }
.foot-giant { display: flex; align-items: center; gap: 2vw; margin: 3rem 0 -.18em; padding-left: 1.5vw; font: 850 clamp(5rem, 17vw, 19rem)/.8 var(--font-display); letter-spacing: -.05em; color: var(--brand); white-space: nowrap; }
.foot-giant .mark { width: .7em; height: .7em; color: var(--pop); transform: rotate(-10deg); }

.foot-colophon .foot-statement { color: var(--on-dark); }
.foot-colophon .foot-giant { color: var(--brand); }
.dm-send { margin: 0; max-width: none; }

/* ══ Variantes d'architecture issues de Sticky v3 : nav bar, hero inline, reels, versus, colorcards, phonestack, tabs pills, FAQ stack ══
   Styles de base en tokens : à restyler par chaque site (direction-artistique, étape « Architecture »). */
/* ── Bandeau d'annonce + barre pleine largeur (nav « bar ») ── */
.announce { margin: 0; max-width: none; padding: .6rem 1rem; background: var(--brand); color: var(--on-action); text-align: center; font-size: .92rem; font-weight: 500; }
.announce a { color: var(--pop); font-weight: 700; text-underline-offset: .2em; white-space: nowrap; }
.announce a:hover { color: var(--on-action); }
.site-head.head-bar { position: sticky; top: 0; left: auto; transform: none; width: 100%; border-radius: 0; background: var(--paper); backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: 0 1.5px 0 var(--ink); transition: transform .35s var(--ease); }
.head-bar.is-hidden { transform: translateY(-110%); }
.head-bar .head-inner { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; min-height: 72px; padding: 0; }
.head-bar .menu a:not(.btn) { border-radius: var(--r-pill); }
.head-bar .menu a:not(.btn):hover { background: var(--mist); }
@media (max-width: 860px) { .head-bar .menu.open { top: calc(100% + .5rem); left: 1rem; right: 1rem; box-shadow: 0 0 0 1.5px var(--ink), var(--hard); } }
/* la barre n'est plus fixe : les heroes n'ont plus besoin de réserver sa place */
body:has(.head-bar) .hero-local > .hero-inner { padding-top: 3rem; }
body:has(.head-bar) .lead-page, body:has(.head-bar) .legal { padding-top: 4rem; }

/* ── Hero : titre XXL centré avec photos glissées entre les mots, mini-formulaire ── */
.hero.hero-inline { display: block; background: var(--paper); color: var(--ink); text-align: center; padding: clamp(3rem, 2rem + 4vw, 5.5rem) 0 clamp(2rem, 1.5rem + 2vw, 3rem); }
.hero-inline .eyebrow { color: var(--brand); }
.hero-inline .eyebrow .mark { color: var(--brand); }
.hero-inline h1 { color: var(--ink); font-size: var(--step-3); margin: .2em auto .35em; max-width: 14ch; }
.pic { display: inline-block; width: 1.55em; height: .78em; vertical-align: -.04em; border-radius: var(--r-pill); overflow: hidden; box-shadow: 0 0 0 .05em var(--ink), .05em .06em 0 var(--ink); transform: rotate(-5deg); margin-inline: .05em; }
.pic img { width: 100%; height: 100%; object-fit: cover; }
.pic-3 { transform: rotate(5deg); }
.hero-inline .lede { color: var(--muted); margin: 0 auto; max-width: 54ch; }
.hero-brief { display: flex; align-items: center; gap: .5rem; max-width: 680px; margin: 2.2rem auto 0; padding: .45rem; background: var(--sticker); border-radius: var(--r-pill); box-shadow: 0 0 0 1.5px var(--ink), var(--hard); }
.hero-brief input { flex: 1; min-width: 0; border: 0; background: none; font: 500 1.05rem var(--font); color: var(--ink); padding: .8rem 1rem .8rem 1.3rem; }
.hero-brief input:focus { outline: none; }
.hero-brief:focus-within { box-shadow: 0 0 0 2.5px var(--action), var(--hard); }
.hero-brief .btn { flex: none; }
.hero-inline .proofs { justify-content: center; gap: .4rem 1.6rem; margin-top: 1.4rem; }
.hero-inline .proofs li { display: inline-flex; align-items: center; gap: .4rem; border: 0; padding: 0; color: var(--ink); font-weight: 600; }
.hero-inline .proofs .icon { width: 1.05rem; height: 1.05rem; color: var(--action); stroke-width: 2.6; }
@media (max-width: 640px) {
  .hero-brief { flex-direction: column; align-items: stretch; border-radius: var(--r-lg); padding: .6rem; }
  .hero-brief input { text-align: center; padding: .9rem; }
  .hero-brief .btn { justify-content: space-between; }
  .hero-inline .proofs { flex-direction: column; align-items: center; }
}

/* ── Mur de reels (bloc reels) ── */
.block-reels { padding-block: 1.5rem clamp(3.5rem, 2.5rem + 3vw, 5.5rem); overflow: hidden; }
.hero-reels { overflow: hidden; margin-top: clamp(2rem, 1.5rem + 2vw, 3.5rem); text-align: left; }
.reels-track { display: flex; width: max-content; }
.reels-list { display: flex; gap: 18px; list-style: none; margin: 0; padding: 1.5rem 18px 1.5rem 0; }
.reel { position: relative; flex: none; width: clamp(170px, 15vw, 230px); aspect-ratio: 9 / 16; transform: rotate(-3deg); }
.reel:nth-child(even) { transform: rotate(3deg) translateY(22px); }
.reel:nth-child(3n) { transform: rotate(-1deg) translateY(-8px); }
.reel > img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-md); box-shadow: 0 0 0 1.5px var(--ink), 0 30px 40px -24px var(--night); }
.reel .sticker { left: 50%; top: 55%; translate: -50% 0; font-size: .92rem; }
.reel:nth-child(odd) .sticker { --tilt: -8deg; }
.reel:nth-child(even) .sticker { --tilt: 6deg; }
.reel .sticker-poll { width: 9rem; }
@media (prefers-reduced-motion: reduce) { .block-reels, .hero-reels { overflow-x: auto; } .reels-list[aria-hidden] { display: none; } }


/* ── Versus ── */
.versus-head { text-align: center; }
.versus-head h2, .versus-head .lede { margin-inline: auto; }
.versus { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.2rem; margin-top: 2.8rem; }
@media (min-width: 860px) { .versus { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; } }
.versus-card { position: relative; border-radius: var(--r-lg); padding: clamp(1.8rem, 1.2rem + 2vw, 3rem); }
.versus-card h3 { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.2rem); line-height: 1; margin-bottom: 1.5rem; }
.versus-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.versus-card li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .8rem; align-items: start; font-size: 1.08rem; }
.versus-card .icon { width: 1.6rem; height: 1.6rem; padding: .3rem; border-radius: 50%; stroke-width: 2.6; }
.versus-left { background: var(--mist); color: var(--muted); }
.versus-left h3 { color: var(--muted); }
.versus-left .icon { background: var(--tint-2); color: var(--muted); }
.versus-right { background: var(--brand); color: var(--on-action); box-shadow: 0 0 0 1.5px var(--ink), var(--hard); }
.versus-right h3, .versus-right strong { color: var(--on-action); }
.versus-right .icon { background: var(--pop); color: var(--ink); }
.versus-right .sticker { top: -1.1rem; right: 1.5rem; --tilt: 6deg; }

/* ── Bento de cartes colorées (bloc colorcards) ── */
.cc-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 2.5rem; }
.cc { position: relative; overflow: hidden; display: block; min-height: 360px; padding: clamp(1.6rem, 1.2rem + 1vw, 2.2rem); border-radius: var(--r-lg); text-decoration: none; color: var(--ink); transition: transform .5s var(--ease); }
.cc:hover { transform: translateY(-4px); }
.cc-text { position: relative; z-index: 1; display: grid; gap: .6rem; max-width: 56%; }
.cc-h { font: 850 clamp(1.8rem, 1.3rem + 1.6vw, 2.8rem)/.95 var(--font-display); letter-spacing: -.03em; }
.cc-p { font-size: 1.02rem; line-height: 1.5; }
.cc-go { display: inline-flex; align-items: center; gap: .4rem; margin-top: .6rem; font-weight: 700; }
.cc-go .icon { width: 1.6rem; height: 1.6rem; padding: .35rem; border-radius: 50%; background: currentColor; }
.cc-go .icon path { stroke: var(--paper); }
.cc-media { position: absolute; right: 1.6rem; bottom: -2.2rem; width: 38%; aspect-ratio: 3 / 4; border-radius: var(--r-md); overflow: hidden; box-shadow: 0 0 0 1.5px var(--ink), var(--hard); transform: rotate(6deg); transition: transform .6s var(--ease); }
.cc:hover .cc-media { transform: rotate(2deg) translateY(-10px); }
.cc-media img { width: 100%; height: 100%; object-fit: cover; }
.cc-brand { background: var(--brand); color: var(--on-action); }
.cc-night { background: var(--night); color: var(--on-dark); }
.cc-night .cc-p { color: var(--on-dark-muted); }
.cc-pop { background: var(--pop); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.cc-tint { background: var(--tint-2); }
.cc-mist { background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line); }
.cc-mist .cc-p, .cc-tint .cc-p { color: var(--muted); }
@media (min-width: 900px) {
  .cc-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .cc-1, .cc-2 { grid-column: span 3; min-height: 440px; }
  .cc-3, .cc-4, .cc-5 { grid-column: span 2; min-height: 420px; }
  .cc-3 .cc-text, .cc-4 .cc-text, .cc-5 .cc-text { max-width: 100%; }
  .cc-3 .cc-media, .cc-4 .cc-media, .cc-5 .cc-media { width: 44%; bottom: -2.6rem; }
  .cc-3 .cc-go, .cc-4 .cc-go, .cc-5 .cc-go { position: absolute; left: 0; top: calc(100% + 100px); }
}

/* ── Téléphone fixe + étapes (bloc phonestack) ── */
.ps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; margin-top: 2.5rem; }
.ps-phone { display: none; }
.ps-steps { list-style: none; margin: 0; padding: 0; counter-reset: ps; }
.ps-step { padding: 1.8rem 0; border-top: 1.5px solid var(--line); display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 1.2rem; }
.ps-n { grid-row: span 2; font: 850 clamp(2.6rem, 2rem + 2vw, 4.4rem)/.85 var(--font-display); color: var(--brand); }
.ps-step h3 { font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); margin: 0 0 .4rem; }
.ps-step p { margin: 0; color: var(--muted); max-width: 46ch; }
.ps-img { grid-column: 1 / -1; width: 100%; max-width: 420px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-md); margin-top: 1.2rem; }
@media (min-width: 960px) {
  .ps { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 5rem; align-items: start; }
  .ps-phone { display: block; position: sticky; top: 7rem; justify-self: center; width: min(310px, 100%); aspect-ratio: 9 / 18.5; padding: 10px; border-radius: 46px; background: var(--ink); box-shadow: var(--hard), 0 40px 60px -30px var(--night); transform: rotate(-3deg); }
  .ps-screen { position: relative; height: 100%; border-radius: 36px; overflow: hidden; background: var(--night); }
  .ps-screen > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .6s var(--ease), transform 1.2s var(--ease); }
  .ps-screen > img.on { opacity: 1; transform: none; }
  .ps-step { padding: 5rem 0; opacity: .3; transition: opacity .5s var(--ease); }
  .ps-step.on { opacity: 1; }
  .ps-step:first-child { padding-top: 2rem; }
  .ps-img { display: none; }
}

/* ── Onglets en pastilles (tabs layout « pills ») ── */
.tabs.tabs-pills { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
.tabs-pills .tab-list { display: flex; flex-wrap: wrap; gap: .5rem; border: 0; }
.tabs-pills .tab-list [role=tab] { width: auto; border: 0; border-radius: var(--r-pill); padding: .75rem 1.2rem; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--ink); color: var(--ink); font-size: 1rem; }
.tabs-pills .tab-list [role=tab]:hover { background: var(--mist); padding-left: 1.2rem; }
.tabs-pills .tab-list [aria-selected=true] { background: var(--ink); color: var(--paper); padding-left: 1.2rem; box-shadow: none; }
.tabs-pills .tab-list [aria-selected=true] .icon { color: var(--pop); }
.tabs-pills .tab-panel { border-radius: var(--r-lg); box-shadow: 0 0 0 1.5px var(--ink), var(--hard); min-height: 440px; }
@media (min-width: 700px) { .tabs-pills .tab-panel { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.tabs-pills .tab-text { padding: clamp(1.6rem, 1rem + 2vw, 3rem); }
.tabs-pills .tab-text h3 { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.4rem); line-height: 1; }
.tabs-pills .tab-text p { font-size: 1.08rem; }

/* ── FAQ « stack » : titre au-dessus, grandes questions sur toute la largeur ── */
.faq-stack .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
.faq-stack .faq-side { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.6rem; }
.faq-stack .faq-side h2 { flex-basis: 100%; margin-bottom: .2em; }
.faq-stack .faq-side p { margin: 0; }
.faq-stack .faq-list details { border-top: 1.5px solid var(--ink); }
.faq-stack .faq-list details:last-child { border-bottom: 1.5px solid var(--ink); }
.faq-stack .faq-list summary { font: 750 clamp(1.15rem, 1rem + .6vw, 1.55rem)/1.2 var(--font-display); padding: 1.5rem 4rem 1.5rem 0; }
.faq-stack .faq-list summary::after { width: 2.2rem; height: 2.2rem; border: 0; border-radius: 50%; right: 0; transform: translateY(-50%); background: var(--mist) center / 1rem no-repeat; content: "+"; display: grid; place-items: center; font: 500 1.4rem/1 var(--font); color: var(--ink); transition: transform .35s var(--ease), background-color .3s; }
.faq-stack .faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); background-color: var(--pop); }
.faq-stack .faq-list details p { font-size: 1.08rem; max-width: 70ch; }

@media (max-width: 899px) {
  .cc { min-height: 0; padding-bottom: 0; }
  .cc-media { position: relative; right: auto; bottom: auto; display: block; width: 56%; margin: 1.6rem 1rem -1.6rem auto; }
}
@media (max-width: 959px) { .ps-img { aspect-ratio: 16 / 10; max-width: 100%; } }
.cc-brand .cc-go .icon path, .cc-night .cc-go .icon path { stroke: var(--ink); }
.tabs-pills .tab-list .icon { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }


/* ══ Variantes issues de Lisière (pompes funèbres) : liseré, nav letterhead, hero fork, sec-head, annotated, days, lead letter ══
   Styles de base en tokens : à restyler par chaque site. Le bloc days est dessiné pour un fond sombre (tone dark). */
/* ── Liseré : filet fin tracé dans le cadre (svg .liser, dessiné par motion.js « liseré ») ── */
.liser { position: absolute; inset: var(--liser); width: calc(100% - 2 * var(--liser)); height: calc(100% - 2 * var(--liser)); overflow: visible; pointer-events: none; z-index: 0; color: var(--line); }
.liser rect { fill: none; stroke: currentColor; stroke-width: 1; vector-effect: non-scaling-stroke; }
/* même geste sur les photos, en CSS : un filet clair à l'intérieur de l'image */
.photo-liser { outline: 1px solid color-mix(in srgb, var(--sheet) 70%, transparent); outline-offset: calc(-1 * var(--liser) - 2px); }

/* ── Navigation : en-tête de lettre ── */
.site-head.head-letterhead { position: sticky; top: 0; left: auto; transform: none; width: 100%; border-radius: 0; background: var(--paper); backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; border-bottom: 3px double var(--ink); }
.head-letterhead .head-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 1.5rem; width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; min-height: 84px; padding: 0; }
.head-letterhead .menu { justify-self: start; gap: 1.6rem; }
.head-letterhead .menu a:not(.btn) { padding: .3rem 0; border-radius: 0; font-size: .95rem; background: none; box-shadow: inset 0 -1px 0 transparent; transition: box-shadow .3s var(--ease), color .3s var(--ease); }
.head-letterhead .menu a:not(.btn):hover { background: none; color: var(--action); box-shadow: inset 0 -1px 0 currentColor; }
.head-letterhead .brand { display: grid; justify-items: center; text-align: center; gap: .1rem; color: var(--ink); }
.head-letterhead .brand-mark { width: 1.05rem; height: 1.05rem; color: var(--action); }
.head-letterhead .brand .brand-name { display: block; font: 600 2.1rem/1 var(--font-display); letter-spacing: .01em; color: var(--ink); }
.head-letterhead .brand-base { display: block; font-size: .78rem; font-weight: 500; color: var(--muted); letter-spacing: .02em; }
.head-act { justify-self: end; display: flex; align-items: center; gap: .6rem; }
.head-letterhead .menu-toggle { border-radius: var(--r-pill); background: none; box-shadow: inset 0 0 0 1px var(--ink); }
body:has(.head-letterhead) .hero-local > .hero-inner { padding-top: 3.5rem; }
body:has(.head-letterhead) .lead-page, body:has(.head-letterhead) .legal { padding-top: 4rem; }
body:has(.head-letterhead) .hero-geo { padding-top: 3.5rem; }
.anchor { top: -7rem; }
@media (max-width: 860px) {
  .head-letterhead .head-inner { grid-template-columns: auto minmax(0, 1fr); min-height: 68px; gap: .8rem; }
  .head-letterhead .brand { grid-column: 1; grid-row: 1; justify-items: start; text-align: left; grid-template-columns: auto auto; align-items: center; column-gap: .45rem; }
  .head-letterhead .brand-base { display: none; }
  .head-letterhead .brand .brand-name { font-size: 1.7rem; }
  .head-act { grid-column: 2; grid-row: 1; }
  .head-letterhead .menu-toggle { display: block; margin: 0; }
  .head-letterhead .menu.open { top: calc(100% + 3px); left: 0; right: 0; border-radius: 0; background: var(--paper); border-bottom: 3px double var(--ink); box-shadow: none; padding: .5rem 1.25rem 1rem; }
}
@media (max-width: 520px) { .head-letterhead .menu .btn-sm, .head-act .btn-sm { padding: .6rem .8rem; } .head-act .btn-sm .btn-ico { display: none; } }

/* ── Hero : deux portes ── */
.hero.hero-fork { display: block; background: var(--paper); color: var(--ink); padding: clamp(2.5rem, 1.5rem + 3vw, 4.5rem) 0 clamp(2.5rem, 2rem + 2vw, 4rem); }
.hero-fork h1 { color: var(--ink); max-width: 17ch; margin-bottom: 0; }
.hero-fork .lede { color: var(--muted); margin: 0; }
.hero-fork .eyebrow { color: var(--action); grid-column: 1 / -1; margin-bottom: .4rem; }
.fork-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.2rem 4rem; align-items: end; }
@media (min-width: 960px) { .fork-head { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); } }
.fork { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; margin-top: clamp(2rem, 1.5rem + 2vw, 3.2rem); }
@media (min-width: 900px) { .fork { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: stretch; } }
.door { display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; }
.door-dark { background: var(--night); color: var(--on-dark); }
.door-light { background: var(--mist); color: var(--ink); }
.door-media { margin: 0; aspect-ratio: 16 / 9; overflow: hidden; position: relative; }
.door-light .door-media { aspect-ratio: 16 / 10.6; }
.door-media img { width: 100%; height: 100%; object-fit: cover; }
.door-media::after { content: ""; position: absolute; inset: 0; outline: 1px solid color-mix(in srgb, var(--sheet) 65%, transparent); outline-offset: calc(-1 * var(--liser) - 2px); }
.door-body { position: relative; flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: .9rem; padding: clamp(1.8rem, 1.2rem + 1.6vw, 2.8rem); }
.door-body > :not(.liser) { position: relative; z-index: 1; }
.door-dark .liser { color: color-mix(in srgb, var(--on-dark) 22%, transparent); }
.door-body h2 { font-size: clamp(1.9rem, 1.4rem + 1.4vw, 2.8rem); margin: 0; color: inherit; }
.door-body p { margin: 0; color: var(--muted); max-width: 52ch; }
.door-dark .door-body p { color: var(--on-dark-muted); }
.door-points { list-style: none; counter-reset: dp; margin: .3rem 0 .9rem; padding: 0; width: 100%; }
.door-points li { counter-increment: dp; display: grid; grid-template-columns: 2rem minmax(0, 1fr); align-items: baseline; padding: .6rem 0; border-top: 1px solid var(--line); font-weight: 500; }
.door-points li:last-child { border-bottom: 1px solid var(--line); }
.door-points li::before { content: counter(dp); font: 600 1.35rem/1 var(--font-display); color: var(--action); }
.door-dark .door-points li { border-color: color-mix(in srgb, var(--on-dark) 16%, transparent); }
.door-dark .door-points li::before { color: var(--sky); }
.door .btn { margin-top: auto; }
.hero-fork .proofs { margin: 1.6rem auto 0; display: flex; flex-wrap: wrap; gap: .5rem 2rem; margin-top: 1.6rem; }
.hero-fork .proofs li { display: inline-flex; align-items: center; gap: .45rem; border: 0; padding: 0; color: var(--ink); font-weight: 500; font-size: .95rem; }
.hero-fork .proofs .icon { width: 1rem; height: 1rem; color: var(--action); stroke-width: 2.4; }

/* ── Têtes de section : filet d'ardoise au-dessus, titre à gauche, introduction à droite ── */
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem 4rem; align-items: end; padding-top: 1.3rem; border-top: 1px solid var(--ink); }
@media (min-width: 960px) { .sec-head { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.sec-head h2 { margin: 0; max-width: 20ch; }
.sec-head .lede { margin: 0; font-size: 1.12rem; }
.tone-dark .sec-head { border-top-color: color-mix(in srgb, var(--on-dark) 40%, transparent); }
.biglist-head { padding-top: 1.3rem; border-top: 1px solid var(--ink); }

/* ── Document annoté (bloc annotated) ── */
.annot { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; margin-top: clamp(2rem, 1.5rem + 2vw, 3.2rem); }
@media (min-width: 960px) { .annot { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 3.5rem; align-items: start; } }
.annot-doc { position: relative; background: var(--sheet); padding: clamp(1.6rem, 1rem + 2.5vw, 3.4rem); box-shadow: var(--shadow); border-radius: var(--r-sm); }
.annot-doc > :not(.liser) { position: relative; z-index: 1; }
.annot-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .2rem 2rem; align-items: baseline; padding-bottom: 1.2rem; margin-bottom: .6rem; border-bottom: 3px double var(--ink); }
.annot-top p { margin: 0; color: var(--muted); font-size: .9rem; }
.annot-top .annot-kind { grid-row: span 2; font: 600 clamp(1.8rem, 1.4rem + 1.2vw, 2.4rem)/1 var(--font-display); color: var(--ink) !important; }
.annot-top p:last-child { text-align: right; }
.annot-group { display: flex; align-items: baseline; gap: .7rem; margin: 1.8rem 0 .3rem; font-size: 1.35rem; }
.annot-group span { font: 600 1rem/1 var(--font); color: var(--action); }
.annot-lines { list-style: none; margin: 0; padding: 0; }
.annot-line { width: 100%; display: grid; grid-template-columns: 2.6rem minmax(0, 1fr) 5.5rem; align-items: baseline; gap: .8rem; padding: .85rem .6rem; border: 0; border-bottom: 1px dotted var(--tint-2); background: none; color: var(--ink); text-align: left; font: 500 1rem/1.4 var(--font); cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease); }
.annot-n { font: 600 1.05rem/1 var(--font-display); color: var(--muted); font-variant-numeric: oldstyle-nums; }
.annot-amt { align-self: end; height: 1px; margin-bottom: .35rem; background: repeating-linear-gradient(90deg, var(--tint-2) 0 3px, transparent 3px 6px); }
.annot-line:hover { background: var(--paper); }
.annot-lines li.on .annot-line { background: var(--mist); color: var(--ink); box-shadow: inset 2px 0 0 var(--action); }
.annot-lines li.on .annot-n { color: var(--action); }
.annot-tip { margin: .2rem 0 1rem 3.4rem; color: var(--muted); font-size: .95rem; }
.is-live .annot-tip { display: none; }
.is-live .annot-lines li.on .annot-tip { display: block; }
.annot-margin { display: none; }
@media (min-width: 960px) {
  .is-live .annot-lines li.on .annot-tip { display: none; }
  .is-live + .annot-margin, .is-live .annot-margin { display: block; }
  .annot-margin { position: sticky; top: 7.5rem; display: grid; gap: 1.6rem; }
}
.annot-hint { display: flex; align-items: center; gap: .6rem; margin: 0; color: var(--muted); font-size: .92rem; }
.annot-hint::before { content: ""; width: 2.2rem; height: 1px; background: var(--action); }
.annot-note { min-height: 12rem; }
.annot-ref { margin: 0 0 .7rem; color: var(--action); font-weight: 600; font-size: .95rem; }
.annot-text { margin: 0; font: 500 clamp(1.45rem, 1.2rem + .6vw, 1.8rem)/1.25 var(--font-display); color: var(--ink); }
.annot-keep { padding-top: 1.4rem; border-top: 1px solid var(--line); }
.annot-keep-h { margin: 0 0 .4rem; font-weight: 600; }
.annot-keep p { color: var(--muted); }
@media (max-width: 640px) {
  .annot-line { grid-template-columns: 2.2rem minmax(0, 1fr); padding-inline: .3rem; }
  .annot-amt { display: none; }
  .annot-tip { margin-left: 2.8rem; }
  .annot-top { grid-template-columns: minmax(0, 1fr); }
  .annot-top .annot-kind { grid-row: auto; }
  .annot-top p:last-child { text-align: left; }
}

/* ── Calendrier jour par jour (bloc days) ── */
.days { margin-top: clamp(2rem, 1.5rem + 2vw, 3.2rem); }
.days-list { position: relative; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); }
.days-list::before, .days-list::after { content: ""; position: absolute; left: 0; top: 0; height: 1px; background: color-mix(in srgb, var(--on-dark) 25%, transparent); width: 100%; }
.days-list::after { background: var(--on-dark); height: 2px; top: -.5px; width: calc((var(--sel, 0) + 1) / var(--n) * 100%); transition: width .6s var(--ease); }
.days-list [role=tab] { position: relative; display: grid; gap: .25rem; justify-items: start; padding: 1.5rem .8rem 1.3rem 0; background: none; border: 0; text-align: left; color: var(--on-dark-muted); cursor: pointer; font: 500 .9rem/1.3 var(--font); transition: color .3s var(--ease); }
.days-list [role=tab]::before { content: ""; position: absolute; top: -5px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--night); box-shadow: inset 0 0 0 1px var(--sky); transition: background-color .3s var(--ease); }
.days-list [role=tab]:hover { color: var(--on-dark); }
.days-list [aria-selected=true] { color: var(--on-dark); }
.days-list [aria-selected=true]::before { background: var(--on-dark); box-shadow: 0 0 0 4px color-mix(in srgb, var(--on-dark) 18%, transparent); }
.day-k { font: 600 clamp(1.3rem, 1rem + .8vw, 1.75rem)/1 var(--font-display); white-space: nowrap; }
.day-panel { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem 4rem; padding-top: clamp(1.5rem, 1rem + 2vw, 2.8rem); border-top: 1px solid color-mix(in srgb, var(--on-dark) 14%, transparent); }
.day-panel[hidden] { display: none; }
@media (min-width: 960px) { .day-panel { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; } }
.day-big { margin: 0 0 .9rem; font: 500 clamp(3.6rem, 2.4rem + 4vw, 6.5rem)/1.1 var(--font-display); color: var(--sky); letter-spacing: -.02em; }
.day-main h3 { font-size: clamp(1.6rem, 1.3rem + .8vw, 2.1rem); margin-bottom: .6rem; }
.day-main p { margin: 0; }
.day-cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.2rem; }
@media (min-width: 700px) { .day-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.day-cols > div { position: relative; padding: 1.6rem 1.7rem; }
.day-cols > div > :not(.liser) { position: relative; z-index: 1; }
.day-cols > div:first-child { padding-left: 0; }
.day-pro { background: color-mix(in srgb, var(--on-dark) 6%, transparent); border-radius: var(--r-sm); }
.day-pro .liser { color: color-mix(in srgb, var(--on-dark) 22%, transparent); }
.day-h { display: flex; align-items: center; gap: .5rem; margin: 0 0 .8rem; font-weight: 600; color: var(--on-dark) !important; }
.day-h .mark { color: var(--sky); }
.day-cols ul { list-style: none; margin: 0; padding: 0; }
.day-cols li { padding: .65rem 0; border-top: 1px solid color-mix(in srgb, var(--on-dark) 14%, transparent); color: var(--on-dark-muted); }
@media (max-width: 860px) {
  .days-list { grid-template-columns: repeat(var(--n), 8.5rem); overflow-x: auto; scrollbar-width: none; padding-top: 6px; }
  .days-list::before, .days-list::after { top: 6px; width: calc(var(--n) * 8.5rem); }
  .days-list::after { width: calc((var(--sel, 0) + 1) * 8.5rem); }
  .days-list [role=tab]::before { top: 1px; }
  .day-cols > div:first-child { padding: 0; }
}

/* ── Formulaire : carte de correspondance (lead « letter ») ── */
.lead.lead-letter { background: var(--mist); }
.letter { position: relative; max-width: 820px; margin-inline: auto; background: var(--sheet); padding: clamp(2rem, 1rem + 4vw, 4rem) clamp(1.25rem, .5rem + 4vw, 4rem); border-radius: var(--r-sm); box-shadow: var(--shadow); }
.letter > :not(.liser) { position: relative; z-index: 1; }
.letter-head { text-align: center; display: grid; justify-items: center; gap: .3rem; }
.letter-head .mark { color: var(--action); width: 1.6rem; height: 1.6rem; margin-bottom: .6rem; }
.letter-head h2 { margin: 0 auto .3rem; }
.letter-head p { color: var(--muted); margin: 0 auto; max-width: 56ch; }
.letter .lead-form { background: none; box-shadow: none; padding: 1.5rem 0 0; border-radius: 0; }
.letter-points { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.6rem; margin: 1.4rem 0 0; padding: 1.2rem 0 0; border-top: 1px solid var(--line); }
.letter-points li { display: inline-flex; align-items: center; gap: .4rem; font-weight: 500; font-size: .95rem; }
.letter-points .icon { width: 1rem; height: 1rem; color: var(--action); stroke-width: 2.4; }
.letter-note { text-align: center; color: var(--muted); font-size: .85rem; margin: 1rem auto 0; }
.hero-form { position: relative; background: var(--sheet); border-radius: var(--r-sm); }
.hero-form iframe { position: relative; z-index: 1; }


/* ══ Variantes issues de Lisière v2 : hero guide (carte-question sur photo), bloc checklist, horizon() ══
   Styles de base en tokens : à restyler par chaque site. */
/* ── Hero « guide » : texte + photo, carte-question posée sur la photo ── */
.hero.hero-guide { display: block; background: var(--paper); color: var(--ink); padding-top: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); }
.hero-guide h1 { color: var(--ink); margin-bottom: .4em; }
.hero-guide .lede { color: var(--muted); max-width: 40ch; font-size: 1.25rem; }
.guide { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; align-items: center; }
@media (min-width: 1000px) { .guide { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 3.5rem; } }
.hero-guide .proofs { flex-direction: column; gap: .6rem; margin-top: 1.8rem; }
.hero-guide .proofs li { display: flex; align-items: center; gap: .6rem; padding: 0; border: 0; color: var(--ink); font-size: 1.05rem; font-weight: 400; }
.hero-guide .proofs .icon { flex: none; width: 1.6rem; height: 1.6rem; padding: .3rem; border-radius: 50%; background: var(--mist); color: var(--brand); stroke-width: 2.6; }
.guide-visual { position: relative; }
.guide-photo { margin: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 5 / 4.6; }
.guide-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 30%; }
.guide-card { position: relative; margin: -4.5rem 1rem 0; background: var(--sheet); border-radius: var(--r-lg); padding: clamp(1.3rem, 1rem + 1vw, 1.9rem); box-shadow: var(--shadow), 0 0 0 1px var(--line); display: grid; gap: .8rem; }
@media (min-width: 1000px) { .guide-card { position: absolute; left: -3.5rem; bottom: -2rem; margin: 0; width: min(390px, 72%); } .guide-photo { margin-left: 4rem; } }
.guide-card fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: .6rem; min-width: 0; }
.guide-card legend { font: 600 1.4rem/1.2 var(--font-display); color: var(--ink); margin-bottom: .6rem; padding: 0; }
.choice { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .8rem; align-items: start; padding: .85rem 1rem; border-radius: var(--r-sm); box-shadow: inset 0 0 0 1.5px var(--line); cursor: pointer; transition: box-shadow .25s var(--ease), background-color .25s var(--ease); }
.choice:hover { box-shadow: inset 0 0 0 1.5px var(--brand); }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice-dot { width: 1.3rem; height: 1.3rem; margin-top: .15rem; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--muted); transition: box-shadow .2s var(--ease); }
.choice strong { display: block; font-size: 1.05rem; line-height: 1.3; }
.choice small { display: block; color: var(--muted); font-size: .92rem; line-height: 1.35; }
.choice:has(input:checked) { background: var(--mist); box-shadow: inset 0 0 0 2px var(--brand); }
.choice:has(input:checked) .choice-dot { box-shadow: inset 0 0 0 2px var(--brand), inset 0 0 0 5px var(--sheet), inset 0 0 0 10px var(--brand); }
.choice:has(input:focus-visible) { outline: 3px solid var(--brand); outline-offset: 2px; }
.guide-field { font-weight: 700; font-size: 1rem; margin-top: .3rem; }
.guide-input { width: 100%; font: 400 1.15rem var(--font); color: var(--ink); padding: .85rem 1rem; border: 0; border-radius: var(--r-sm); background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line); }
.guide-input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--brand); }
.guide-input::placeholder { color: var(--muted); }
.guide-card .btn { justify-content: space-between; margin-top: .2rem; }
.guide-note { margin: 0; font-size: .9rem; color: var(--muted); text-align: center; }
.horizon { display: block; width: 100%; height: clamp(46px, 6vw, 90px); }
.horizon-hero { color: var(--mist); margin-top: clamp(3rem, 2rem + 4vw, 6rem); }
.hero-guide + .block.tone-alt { padding-top: calc(var(--space) * .6); }

/* ── Liste à cocher (bloc checklist) ── */
.cl { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; margin-top: clamp(2rem, 1.5rem + 2vw, 3rem); }
@media (min-width: 760px) { .cl { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .cl { grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(0, .95fr); } .cl-aside { grid-column: 3; grid-row: 1 / 3; } }
.cl-group { background: var(--sheet); border-radius: var(--r-lg); padding: clamp(1.3rem, 1rem + 1vw, 1.9rem); }
.cl-when { display: flex; align-items: center; gap: .7rem; margin: 0; font: 600 1.4rem/1.2 var(--font-display); color: var(--ink); }
.cl-step { flex: none; display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--brand); color: var(--on-action); font: 700 1rem/1 var(--font); }
.cl-sub { margin: .4rem 0 0 2.8rem; color: var(--muted); font-size: .98rem; }
.cl-group ul { list-style: none; margin: 1rem 0 0; padding: 0; }
.cl-group li + li { border-top: 1px solid var(--line); }
.cl-group label { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .85rem; align-items: start; padding: .8rem 0; cursor: pointer; position: relative; }
.cl-group input { position: absolute; opacity: 0; width: 1.5rem; height: 1.5rem; margin: .8rem 0 0; }
.cl-box { display: grid; place-items: center; width: 1.6rem; height: 1.6rem; margin-top: .05rem; border-radius: 7px; box-shadow: inset 0 0 0 2px var(--brand); background: var(--sheet); transition: background-color .2s var(--ease); }
.cl-box .icon { width: 1.05rem; height: 1.05rem; color: var(--on-action); stroke-width: 3; opacity: 0; transition: opacity .2s var(--ease); }
.cl-group input:checked + .cl-box { background: var(--brand); }
.cl-group input:checked + .cl-box .icon { opacity: 1; }
.cl-group input:checked ~ .cl-text { color: var(--muted); }
.cl-group input:focus-visible + .cl-box { outline: 3px solid var(--brand); outline-offset: 2px; }
.cl-text { line-height: 1.5; }
.cl-tag { display: block; width: fit-content; margin-top: .4rem; padding: .2rem .65rem; border-radius: var(--r-pill); background: var(--mist); color: var(--brand); font-size: .85rem; font-weight: 700; }
.cl-aside { display: flex; flex-direction: column; gap: 1rem; background: var(--night); color: var(--on-dark); border-radius: var(--r-lg); padding: 1rem 1rem 1.6rem; }
.cl-aside img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-md); }
.cl-aside p { margin: 0 .6rem; color: var(--on-dark-muted); font-size: 1.15rem; line-height: 1.55; }
.cl-aside strong { color: var(--on-dark); }
.cl-actions { display: grid; gap: .6rem; margin: .4rem .6rem 0; }
.cl-actions .btn { justify-content: space-between; }
.cl-aside .btn:not(.btn-ghost) { background: var(--sheet); color: var(--ink); }
.cl-aside .btn:not(.btn-ghost) .btn-ico { background: var(--brand); color: var(--on-action); }
.cl-aside .btn-ghost { box-shadow: inset 0 0 0 2px var(--on-dark-muted); color: var(--on-dark); justify-content: center; }
.cl-aside .btn-ghost:hover { background: var(--on-dark); color: var(--ink); }
@media print {
  .print-one body > *:not(main), .print-one main > *:not(.is-printing), .print-one .cl-aside, .print-one .sticky-cta { display: none !important; }
  .print-one .is-printing { padding: 0; background: none; }
  .print-one .cl { grid-template-columns: 1fr 1fr; }
  .print-one .cl-group { break-inside: avoid; box-shadow: 0 0 0 1px var(--line); }
}

.hero-guide .eyebrow, .hero-guide .eyebrow .mark { color: var(--brand); }
.hero-guide strong { color: var(--ink); }
.cl { align-items: start; }
@media (min-width: 1100px) { .cl-aside { grid-row: 1 / 3; align-self: start; position: sticky; top: 7rem; } }
.guide-card .btn { white-space: nowrap; }


/* ══ Lattis : cote d'architecte, hero stage, sizer, restyle des blocs ══════════════════ */
img { color: var(--muted); }
.hero-img, .stage-photo img, .tab-panel img, .statement img { filter: var(--photo); }
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; font: 500 .85rem/1 var(--mono); letter-spacing: .02em; color: var(--ink); }
.eyebrow .mark { width: 1.15em; height: 1.15em; color: var(--brand); }
.btn { font-weight: 600; }
.btn-ico { border-radius: var(--r-sm); background: color-mix(in srgb, var(--on-action) 14%, transparent); }
.btn-ghost { box-shadow: inset 0 0 0 1.5px var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--on-action); }
.link-more { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .3em; }
.lede { color: var(--muted); }

/* ── Cote d'architecte ── */
.cote { position: relative; display: block; color: var(--ink); }
.cote-line { display: block; overflow: visible; }
.cote-line path { fill: none; stroke: currentColor; stroke-width: 1.25; vector-effect: non-scaling-stroke; }
.cote-h .cote-line { width: 100%; height: 12px; }
.cote-v .cote-line { width: 12px; height: 100%; }
.cote-label { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 0 .7rem; background: var(--paper); font: 500 .8rem/1.2 var(--mono); white-space: nowrap; color: var(--ink); }
.cote-v .cote-label { transform: translate(-50%, -50%) rotate(-90deg); }

/* ── Navigation : îlot net ── */
.site-head { border-radius: 8px; background: color-mix(in srgb, var(--sheet) 92%, transparent); box-shadow: 0 0 0 1px var(--line); }
.head-inner { min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: .55rem; font: 700 1.2rem/1 var(--font-display); font-stretch: 125%; letter-spacing: -.02em; }
.brand span { display: none; }
.menu a:not(.btn) { border-radius: var(--r-sm); }

/* ── Hero « stage » : titre large, puis grande photo annotée ── */
.hero.hero-stage { display: block; background: var(--paper); color: var(--ink); padding: 8.5rem 0 clamp(2.5rem, 2rem + 2vw, 3.5rem); }
.hero-stage h1 { color: var(--ink); margin: .35em 0 0; max-width: 13ch; }
.hero-stage .lede { color: var(--muted); margin: 0; }
.stage-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem 4rem; align-items: end; }
@media (min-width: 1000px) { .stage-head { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); } }
.stage-side .hero-actions { margin-top: 1.6rem; gap: 1rem 1.6rem; }
.stage-photo { position: relative; width: min(100% - 2.5rem, 1440px); margin: clamp(2rem, 1.5rem + 2vw, 3.5rem) auto 0; }
.stage-photo figure { margin: 0; aspect-ratio: 21 / 9; overflow: hidden; border-radius: var(--r-lg); background: var(--night); }
.stage-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.stage-cote { margin-bottom: .9rem; }
.stage-tag { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: .5rem; transform: translate(-50%, -50%); padding: .5rem .8rem; border-radius: var(--r-sm); background: var(--sheet); color: var(--ink); font: 600 .9rem/1 var(--font); white-space: nowrap; box-shadow: 0 10px 24px -12px color-mix(in srgb, var(--night) 60%, transparent); }
.stage-tag::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--pop); box-shadow: 0 0 0 3px color-mix(in srgb, var(--pop) 35%, transparent); }
.hero-stage .proofs { display: flex; flex-wrap: wrap; gap: .6rem 2.2rem; margin: 1.4rem auto 0; }
.hero-stage .proofs li { display: inline-flex; align-items: center; gap: .5rem; border: 0; padding: 0; color: var(--ink); font-weight: 500; font-size: .98rem; }
.hero-stage .proofs .mark { width: 1rem; height: 1rem; color: var(--brand); }
@media (max-width: 760px) {
  .hero.hero-stage { padding-top: 6.5rem; }
  .stage-photo { width: calc(100% - 2rem); }
  .stage-photo figure { aspect-ratio: 4 / 3.4; }
  .stage-tag { font-size: .78rem; padding: .4rem .6rem; }
  .stage-tag:nth-of-type(3) { display: none; }
  .hero-stage .proofs { flex-direction: column; }
}

/* ── Têtes de section : titre à gauche, introduction à droite ── */
.sec-head { border-top: 0; padding-top: 0; }

/* ── Sizer : curseur de surface + plan coté ── */
.sizer { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem 4rem; margin-top: clamp(2rem, 1.5rem + 2vw, 3rem); align-items: center; }
@media (min-width: 1000px) { .sizer { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.sizer-lab { display: block; font: 500 .85rem/1 var(--mono); color: var(--muted); }
.sizer-val { margin: .3rem 0 .8rem; font: 600 clamp(3.6rem, 2.4rem + 4vw, 6rem)/1 var(--font-display); font-stretch: var(--stretch); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.sizer .range { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--ink) var(--fill, 29%), var(--tint-2) var(--fill, 29%)); cursor: pointer; }
.sizer .range::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; border-radius: 50%; background: var(--sheet); box-shadow: 0 0 0 2px var(--ink), 0 6px 14px -6px var(--night); }
.sizer .range::-moz-range-thumb { width: 28px; height: 28px; border-radius: 50%; background: var(--sheet); border: 2px solid var(--ink); }
.sizer .range:focus-visible { outline: 3px solid var(--brand); outline-offset: 6px; }
.sizer-scale { display: flex; justify-content: space-between; margin: .6rem 0 1.6rem; font: 500 .78rem/1 var(--mono); color: var(--muted); }
.sizer-rule { background: var(--sheet); border-radius: var(--r-lg); padding: 1.2rem 1.4rem; box-shadow: 0 0 0 1px var(--line); }
.sizer-rule p { margin: 0; color: var(--muted); }
.sizer-rule .sizer-rule-h { color: var(--ink); font: 600 1.15rem/1.3 var(--font-display); font-stretch: 108%; margin-bottom: .3rem; }
.sizer-use { margin: 1.1rem 0 1.5rem; font-weight: 500; }
.sizer-plan { position: relative; margin: 0; aspect-ratio: 3 / 2; border-radius: var(--r-lg); background-color: var(--sheet); background-image: linear-gradient(var(--tint) 1px, transparent 1px), linear-gradient(90deg, var(--tint) 1px, transparent 1px); background-size: 24px 24px; box-shadow: 0 0 0 1px var(--line); }
.plan-box { position: absolute; left: 4.5rem; top: 3rem; width: calc((100% - 6.5rem) * var(--w)); height: calc((100% - 6rem) * var(--d)); transition: width .35s var(--ease), height .35s var(--ease); }
.plan-room { position: absolute; inset: 0; background: color-mix(in srgb, var(--brand) 12%, var(--sheet)); box-shadow: inset 0 0 0 4px var(--ink); }
.plan-door { position: absolute; left: 14%; bottom: 4px; width: 2.4rem; height: 2.4rem; color: var(--ink); opacity: .7; }
.plan-cw { position: absolute; left: 0; right: 0; top: -1.9rem; }
.plan-cd { position: absolute; top: 0; bottom: 0; left: -2.4rem; }
.sizer-plan .cote-label { background: var(--sheet); }
.sizer-plan figcaption { position: absolute; left: 1rem; right: 1rem; bottom: .8rem; font-size: .8rem; color: var(--muted); text-align: right; }
@media (max-width: 640px) { .plan-box { left: 3rem; top: 2.4rem; width: calc((100% - 4rem) * var(--w)); height: calc((100% - 4.4rem) * var(--d)); } .sizer-plan figcaption { font-size: .7rem; bottom: .4rem; } .stage-cote .cote-label { font-size: .68rem; padding: 0 .4rem; } }

/* ── Onglets d'usages ── */
.tab-list [role=tab] { font: 600 1.1rem/1.3 var(--font-display); font-stretch: 108%; }
.tab-list [role=tab] .icon { color: var(--brand); }
.tab-list [aria-selected=true] { background: var(--sheet); box-shadow: inset 3px 0 0 var(--ink); }
.tab-panel { border-radius: var(--r-lg); background: var(--sheet); }
.tab-text h3 { font-size: 1.6rem; }
.tab-text .btn-ghost { padding: .75rem 1.2rem; }

/* ── Étapes horizontales sur charbon ── */
.block-hsteps.tone-dark { background: var(--night); }
.hstep { border-radius: var(--r-lg); min-height: 300px; }
.tone-dark .hstep { background: color-mix(in srgb, var(--on-dark) 5%, transparent); border-color: color-mix(in srgb, var(--on-dark) 14%, transparent); }
.hstep-n { font-family: var(--font-display); font-stretch: 125%; font-weight: 700; color: var(--sky); }
.hstep h3 { font-size: 1.45rem; }

/* ── Manifeste ── */
.statement-title { font-size: clamp(2.3rem, 1.3rem + 3.6vw, 4.6rem); max-width: 16ch; }
.statement figure { border-radius: var(--r-lg); }
.statement-body p { font-size: 1.12rem; }

/* ── Tableau compris / option ── */
.results td:nth-child(2) { font-family: var(--font); font-weight: 400; color: var(--ink); white-space: normal; }
.results td:last-child { font-family: var(--font); text-align: left; color: var(--muted); }
.results th { font: 500 .8rem/1 var(--mono); color: var(--muted); }
.results td { padding: 1rem .6rem; }
.split-head .lede { margin-top: .6rem; }

/* ── FAQ stack ── */
.faq-stack .faq-list details { border-top-color: var(--ink); }
.faq-stack .faq-list summary { font-weight: 600; font-stretch: 108%; }
.faq-stack .faq-list details[open] summary::after { background-color: var(--pop); }

/* ── Formulaire et pied de page ── */
.lead { background: var(--mist); }
.lead-form { border-radius: var(--r-lg); box-shadow: 0 0 0 1px var(--line); }
.site-foot .brand { color: var(--on-dark); }
.foot-grid h2 { font-family: var(--mono); font-weight: 500; font-size: .82rem; }
.brand .brand-mark { width: 1.25rem; height: 1.25rem; color: var(--ink); }
.hero-stage .eyebrow { color: var(--ink); }
.hero-stage h1 { max-width: 15ch; }
.site-foot .brand .brand-mark { color: var(--sky); }
.site-foot .btn { background: var(--on-dark); color: var(--ink); }
.site-foot .btn .btn-ico { background: var(--tint); }
