/* 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 {
  /* Le Passe : la cuisine d'un traiteur. Carrelage métro, inox, basilic, beurre, ticket de commande, tampon tomate. */
  --paper:   #F4F4EF;   /* carrelage */
  --mist:    #E5E8E2;   /* inox clair (sections alternées) */
  --tint:    #ECEEE8;
  --tint-2:  #DDE1DA;
  --ink:     #141814;
  --muted:   #55605A;   /* 5,9:1 sur carrelage, 5,3:1 sur inox */
  --line:    #D3D8D1;
  --night:   #10251A;   /* basilic très sombre (pied de page) */
  --brand:   #1E5B3A;   /* basilic : aplats */
  --sky:     #F2CF4A;
  --action:  #F2CF4A;   /* beurre : boutons, accents */
  --action-hover: #F6DB74;
  --on-action: #141814;
  --on-dark: #F4F4EF;
  --on-dark-muted: #C9D9CE;
  --ticket:  #FCFBF7;   /* papier thermique */
  --stamp:   #C93E22;   /* tampon tomate */

  --font: "Instrument Sans", system-ui, sans-serif;
  --font-display: "Instrument Serif", Georgia, serif;
  --mono: "Fragment Mono", ui-monospace, monospace;   /* uniquement les tickets */

  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(2.4rem, 1.4rem + 3.4vw, 4.6rem);
  --step-3: clamp(3.4rem, 1.6rem + 6vw, 7.6rem);

  --r-pill: 999px;
  --r-lg: 6px;
  --r-md: 4px;
  --r-sm: 2px;
  --space: clamp(3.5rem, 2rem + 4vw, 6rem);
  --wrap: 1280px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --shadow: 0 1px 0 color-mix(in srgb, var(--ink) 8%, transparent), 0 18px 30px -18px color-mix(in srgb, var(--ink) 35%, transparent);
}


/* ── 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: 700; line-height: 1.02; letter-spacing: -.035em; max-width: 20ch; }
h2 { font-size: var(--step-2); font-weight: 650; line-height: 1.08; letter-spacing: -.03em; max-width: 34ch; }
h3 { font-size: var(--step-1); font-weight: 600; line-height: 1.25; letter-spacing: -.01em; }
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; }
.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); }


/* ══ Le Passe ════════════════════════════════════════════════════════════════
   Élément possédé : le bon de commande de cuisine (papier thermique, bord dentelé, mono, tampon), accroché au rail. */
h1, h2, h3 { font-weight: 400; letter-spacing: -.015em; }
h2 { font-size: var(--step-2); line-height: 1; }
h3 { font-family: var(--font-display); font-size: 1.7rem; line-height: 1.05; }
.brand { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; letter-spacing: 0; }
.brand span { font-family: var(--mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; }
.site-head { border-radius: 4px; background: color-mix(in srgb, var(--paper) 94%, transparent); box-shadow: inset 0 0 0 1px var(--line); }
.btn { border-radius: 4px; font-weight: 600; }
.btn-ico { border-radius: 3px; }
.tone-brand { background: var(--brand); color: var(--on-dark); }
.tone-brand :is(h2, h3) { color: var(--on-dark); }
.tone-brand p { color: var(--on-dark-muted); }

/* Le ticket : papier thermique, bords haut et bas dentelés, texte mono, tampon */
.ticket { --tear: radial-gradient(circle at 6px 0, transparent 5px, var(--ticket) 5.5px) 0 0 / 12px 100% repeat-x;
  position: relative; background: var(--ticket); color: var(--ink); border-radius: 0; padding: 1.6rem 1.4rem 1.8rem; box-shadow: var(--shadow);
  -webkit-mask: radial-gradient(circle 5px at 50% 0, #0000 98%, #000) top / 12px 51% repeat-x, radial-gradient(circle 5px at 50% 100%, #0000 98%, #000) bottom / 12px 51% repeat-x;
          mask: radial-gradient(circle 5px at 50% 0, #0000 98%, #000) top / 12px 51% repeat-x, radial-gradient(circle 5px at 50% 100%, #0000 98%, #000) bottom / 12px 51% repeat-x; }
.ticket-no { font: 400 .78rem/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding-bottom: .9rem; border-bottom: 1px dashed var(--muted); display: block; }
.ticket h3 { color: var(--ink); font-size: 1.55rem; margin: .9rem 0 .2rem; }
.ticket p { font-size: .95rem; color: var(--muted); }
.ticket-stamp { align-self: flex-start; margin-top: auto; font: 400 .8rem/1 var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--stamp); border: 1.5px solid var(--stamp); border-radius: 3px; padding: .45rem .6rem; transform: rotate(-6deg); opacity: .85; }

/* Hero : titre à gauche, photo verticale à droite, ticket posé sur la photo */
.hero-pass { background: var(--paper); color: var(--ink); display: block; padding: 7.5rem 0 var(--space); overflow: hidden; }
.hero-pass h1 { color: var(--ink); font-size: var(--step-3); line-height: .95; letter-spacing: -.03em; max-width: 11ch; margin: 0; }
.hero-pass .lede { color: var(--muted); max-width: 44ch; margin: 1.8rem 0 2rem; }
.pick-ask { font-family: var(--mono); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 .8rem; }
.hero-pass .pill span { background: transparent; }
.hero-pass .pill:hover span { background: var(--action); border-color: var(--action); }
.hero-pass-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; align-items: center; }
@media (min-width: 980px) { .hero-pass-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 4rem; } }
.hero-pass-media { margin: 0; position: relative; }
.hero-pass-media .hero-img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; }
.ticket-hero { position: absolute; left: -2.5rem; bottom: 2.5rem; width: min(70%, 270px); transform: rotate(-4deg); }
.ticket-hero dl { margin: .8rem 0 1.2rem; display: grid; gap: .35rem; font: 400 .88rem/1.35 var(--mono); }
.ticket-hero dl div { display: flex; justify-content: space-between; gap: 1rem; }
.ticket-hero dt { color: var(--muted); }
.ticket-hero dd { margin: 0; text-align: right; }
@media (max-width: 979px) { .ticket-hero { left: 1rem; bottom: -1.5rem; } .hero-pass-media { margin-bottom: 2rem; } }

/* Bandeau basilic, mots en serif, perforations en séparateur */
.band { background: var(--brand); color: var(--action); padding-block: 1rem; }
.band li { font: 400 clamp(1.8rem, 1.2rem + 1.8vw, 3rem)/1 var(--font-display); letter-spacing: -.01em; }
.band .mark { color: var(--on-dark); width: .4em; height: .4em; }

/* Texte + photo : la photo prend un cadre de ticket (bord dentelé en bas) */
.has-media .media { border-radius: 4px; }
.prose .checks li::before { border-color: var(--brand); }

/* Rail : barre d'inox, tickets suspendus */
.block-rail { overflow: hidden; }
.rail::before { content: ""; position: absolute; left: 0; right: 0; top: 1.5rem; height: 10px; background: linear-gradient(180deg, #D9DDD7, #A9B0AA 55%, #7F8781); box-shadow: 0 6px 10px -6px rgba(0,0,0,.5); }
.rail-track { padding-top: 2.2rem; gap: 1.6rem; }
.block-rail .ticket { flex-basis: min(76vw, 300px); min-height: 330px; transform-origin: 50% 0; }
.block-rail .ticket::before { content: ""; position: absolute; top: -2px; left: 50%; width: 46px; height: 14px; margin-left: -23px; background: #8D958F; border-radius: 0 0 3px 3px; }
.tone-brand .ticket p { color: var(--muted); }

/* Formules (onglets) : liste numérotée en mono, panneau photo */
.tab-list { border-top-color: var(--ink); counter-reset: f; }
.tab-list .icon { display: none; }
.tab-list [role=tab] { font: 400 1.7rem/1.1 var(--font-display); counter-increment: f; padding: 1rem .4rem; }
.tab-list [role=tab]::before { content: counter(f, decimal-leading-zero); font: 400 .75rem/1 var(--mono); color: var(--muted); margin-right: .6rem; align-self: center; }
.tab-list [aria-selected=true] { background: var(--action); box-shadow: none; padding-left: 1rem; }
.tab-panel { border-radius: 4px; box-shadow: inset 0 0 0 1px var(--line); background: var(--ticket); }
.tab-text h3 { font-size: 2.2rem; }

/* Occasions : photos avec étiquette mono */
.offers article { position: relative; }
.offers img { border-radius: 4px; }
.offers h3 { font-size: 2rem; margin-top: .6rem; }
.offers h3::before { content: "Table"; display: block; font: 400 .72rem/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: .5rem; }

/* Composeur : le bon de commande en pleine largeur */
.composer { grid-template-columns: minmax(0, 1fr) !important; gap: 2rem !important; }
@media (min-width: 960px) { .composer-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 4rem; align-items: end; } .composer-head h2 { margin: 0; } .composer-head p { margin: 0; } }
.composer-form { background: var(--ticket); border-radius: 0; box-shadow: var(--shadow); padding: 2.2rem clamp(1.4rem, 3vw, 2.6rem);
  -webkit-mask: radial-gradient(circle 6px at 50% 0, #0000 98%, #000) top / 14px 51% repeat-x, radial-gradient(circle 6px at 50% 100%, #0000 98%, #000) bottom / 14px 51% repeat-x;
          mask: radial-gradient(circle 6px at 50% 0, #0000 98%, #000) top / 14px 51% repeat-x, radial-gradient(circle 6px at 50% 100%, #0000 98%, #000) bottom / 14px 51% repeat-x; }
@media (min-width: 960px) { .composer-form { grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 4fr); column-gap: 2.5rem; } .composer-out { grid-column: 1 / -1; } }
.composer-form legend { font: 400 .8rem/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.composer-n { font-family: var(--mono); font-size: 2rem; color: var(--ink); }
.composer-out { border-top: 1px dashed var(--muted); }
.composer-sum { font: 400 1.25rem/1.3 var(--mono); max-width: none; }

/* Formulaire final, FAQ, pied de page */
.lead { background: var(--brand); color: var(--on-dark); }
.lead h2 { color: var(--on-dark); }
.lead-copy p, .lead .checks li { color: var(--on-dark-muted); }
.lead .checks li::before { border-color: var(--action); }
.lead-form { border-radius: 4px; background: var(--ticket); }
.form-placeholder { border: 1px dashed var(--muted); min-height: 320px; display: grid; place-content: center; text-align: center; color: var(--muted); }
.form-placeholder p { margin: .2rem auto; }
.faq-list summary { font-family: var(--font-display); font-size: 1.45rem; font-weight: 400; }
.faq-list summary::after { border-color: var(--brand); }
.site-foot { background: var(--night); }
.btn-ghost { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); border-radius: 4px; }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }

.hero-pass .crumbs ol, .hero-pass .crumbs a { color: var(--muted); }
.hero-pass .crumbs a:hover { color: var(--ink); }
.search input { border: 1px solid var(--muted); border-radius: 4px; background: var(--ticket); }
.search label { font-family: var(--mono); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.block-nearby h2 { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); }
.cards { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
a { color: var(--ink); text-decoration-color: var(--stamp); }
a:hover { color: var(--brand); }
.tone-brand a:not(.btn), .lead a:not(.btn) { color: var(--on-dark); }

/* Pages géo : formulaire Tally dans la colonne de droite du hero (règle du template), sur un bon de commande */
.hero-pass-form { padding-bottom: calc(var(--space) * .8); }
.hero-pass-form .hero-pass-grid { align-items: start; }
@media (min-width: 980px) { .hero-pass-form .hero-pass-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.hero-pass-form h1 { font-size: clamp(3rem, 1.6rem + 4.6vw, 6rem); max-width: 14ch; }
.hero-pass-form .lede { margin-bottom: 1.4rem; }
.hero-proofs { list-style: none; padding: 0; margin: 0 0 1.8rem; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; font: 400 .82rem/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.hero-proofs li { display: inline-flex; align-items: center; gap: .45rem; }
.hero-proofs .mark { color: var(--brand); width: .8em; height: .8em; }
.hero-pass-strip { margin: 0; }
.hero-pass-strip img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: 4px; }
.ticket-form { padding: 1.6rem 1.4rem 1.4rem; transform: rotate(.6deg); }
.ticket-form .ticket-no { margin-bottom: .6rem; }
.ticket-form iframe { border: 0; display: block; min-height: 480px; }
@media (max-width: 979px) { .hero-pass-form .hero-pass-copy { display: contents; } .hero-pass-form .hero-pass-grid { gap: 1.5rem; } .hero-pass-strip { order: 3; } .ticket-form { transform: none; } }
@media (min-width: 980px) {
  .hero-pass-form .hero-pass-grid { align-items: stretch; }
  .hero-pass-form .hero-pass-copy { display: flex; flex-direction: column; }
  .hero-pass-strip { flex: 1; min-height: 280px; }
  .hero-pass-strip img { height: 100%; aspect-ratio: auto; }
}

.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; }
