/* ==========================================================================
   Envia Cuisines — feuille de styles
   Palette issue de la charte : orange #E84427, ardoise #4B5C66, jaune #F9E927
   Typo : Familjen Grotesk (titres) · Figtree (texte) · DM Mono (cotes, prix, repères)
   Motif signature : la « cote » des plans d'implantation (trait + talons)
   ========================================================================== */

:root {
  /* Couleurs */
  --orange: #e84427;
  --orange-ink: #c4351b;      /* orange lisible sur fond clair pour le petit texte */
  --slate: #4b5c66;
  --ink: #1e282e;
  --muted: #5b6a73;
  --line: #d6dde0;
  --ground: #f2f4f4;
  --paper: #ffffff;
  --night: #1b252b;
  --night-2: #243139;
  --night-text: #e6ecee;
  --night-muted: #a9b6bd;
  --yellow: #f9e927;

  /* Typographie */
  --font-display: "Familjen Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Figtree", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --fs-hero: clamp(2.6rem, 1.3rem + 5.4vw, 5.75rem);
  --fs-h1: clamp(2.3rem, 1.4rem + 3.6vw, 4.25rem);
  --fs-h2: clamp(1.95rem, 1.3rem + 2.5vw, 3.35rem);
  --fs-h3: clamp(1.2rem, 1.05rem + .55vw, 1.55rem);
  --fs-lead: clamp(1.08rem, 1rem + .35vw, 1.3rem);
  --fs-body: 1.0625rem;
  --fs-small: .9rem;
  --fs-mono: .72rem;

  /* Mise en page */
  --max: 1320px;
  --gutter: clamp(1rem, 4vw, 3rem);
  --section: clamp(4rem, 8vw, 7.5rem);
  --header-h: 76px;
  --ease: cubic-bezier(.65, 0, .2, 1);
  --ease-out: cubic-bezier(.2, .7, .1, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -.022em;
  text-wrap: balance;
  margin: 0;
}
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
::selection { background: var(--orange); color: #fff; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; margin: -1px;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--ink); color: #fff; padding: .75rem 1rem; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* ---------- Typo utilitaires ---------- */
.mono {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  font-weight: 500;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.eyebrow { font-family: var(--font-mono); font-size: var(--fs-mono); font-weight: 500; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: .6rem; }
.eyebrow::before { content: ""; width: 18px; height: 9px; border-inline: 1px solid var(--orange); background: linear-gradient(var(--orange), var(--orange)) center / 100% 1px no-repeat; }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--muted); max-width: 38rem; }
.prose { max-width: 42rem; display: grid; gap: 1.1rem; }
.prose p { color: var(--muted); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose h2 { font-size: var(--fs-h3); margin-top: 1.25rem; }
.prose ul { padding-left: 1.2rem; display: grid; gap: .4rem; color: var(--muted); }
.num { font-variant-numeric: tabular-nums; }

/* ---------- Cote (motif signature) ---------- */
.cote {
  --cote-color: var(--orange);
  --cote-bg: var(--paper);
  position: relative;
  display: flex; align-items: center; justify-content: center;
  height: 13px;
  color: var(--orange-ink);
}
.cote::before { content: ""; position: absolute; inset: 50% 0 auto; border-top: 1px solid var(--cote-color); }
.cote::after { content: ""; position: absolute; inset: 0; border-inline: 1px solid var(--cote-color); }
.cote > span {
  position: relative; z-index: 1;
  background: var(--cote-bg);
  padding-inline: .55em;
  font-family: var(--font-mono); font-size: .7rem; font-weight: 500; line-height: 1;
  letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
}
.cote--v { width: 13px; height: auto; flex-direction: column; }
.cote--v::before { inset: 0 auto 0 50%; border-top: 0; border-left: 1px solid var(--cote-color); }
.cote--v::after { border-inline: 0; border-block: 1px solid var(--cote-color); }
.cote--v > span { writing-mode: vertical-rl; transform: rotate(180deg); padding: .55em 0; }

@media (prefers-reduced-motion: no-preference) {
  .cote--draw { animation: cote-draw 1.1s var(--ease) .35s both; transform-origin: left center; }
  .cote--draw > span { animation: fade-in .5s ease 1.2s both; }
  .cote--v.cote--draw { transform-origin: center bottom; animation-name: cote-draw-v; }
}
@keyframes cote-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes cote-draw-v { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Liens & boutons ---------- */
.link {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 600; text-decoration: none;
  padding-bottom: 4px;
  background: linear-gradient(var(--orange), var(--orange)) no-repeat 0 100% / 0 1px,
              linear-gradient(currentColor, currentColor) no-repeat 0 100% / 100% 1px;
  transition: background-size .45s var(--ease);
}
.link:hover, .link:focus-visible { background-size: 100% 1px, 100% 1px; }
.link .arrow { transition: transform .35s var(--ease-out); }
.link:hover .arrow { transform: translateX(4px); }

.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .65rem;
  min-height: 52px; padding: .9rem 1.4rem;
  border: 1px solid transparent; border-radius: 2px;
  font-family: var(--font-body); font-size: .98rem; font-weight: 600; line-height: 1.1;
  text-decoration: none; cursor: pointer;
  transition: color .4s var(--ease), border-color .4s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  transform: scaleX(0); transform-origin: right center;
  transition: transform .5s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); transform-origin: left center; }
.btn .arrow { transition: transform .4s var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--primary { background: var(--orange); color: #fff; }
.btn--primary::before { background: var(--ink); }
.btn--ghost { border-color: currentColor; color: var(--ink); background: transparent; }
.btn--ghost::before { background: var(--ink); }
.btn--ghost:hover, .btn--ghost:focus-visible { color: #fff; border-color: var(--ink); }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light::before { background: var(--orange); }
.btn--light:hover { color: #fff; }
.btn--ghost-light { border-color: rgba(255,255,255,.5); color: #fff; }
.btn--ghost-light::before { background: #fff; }
.btn--ghost-light:hover { color: var(--ink); border-color: #fff; }
.btn--block { width: 100%; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.5rem; }
.arrow { width: 1em; height: 1em; flex: none; }

/* ---------- Bandeau promo ---------- */
.promo { background: var(--yellow); color: var(--ink); font-size: .9rem; }
.promo a {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .25rem .9rem;
  padding: .55rem var(--gutter); text-decoration: none; text-align: center;
}
.promo strong { font-weight: 700; }
.promo .mono { font-size: .68rem; }
.promo__cta { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; border-bottom: 1px solid currentColor; }
.promo a:hover .arrow { transform: translateX(3px); }
.promo .arrow { transition: transform .3s; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 2rem; height: var(--header-h); }
.logo { display: block; flex: none; }
.logo img { height: 44px; width: auto; }
.nav { margin-left: auto; display: flex; align-items: center; gap: clamp(1.25rem, 2.2vw, 2.25rem); }
.nav__list { display: flex; align-items: center; gap: clamp(1.25rem, 2.2vw, 2.25rem); list-style: none; }
.nav__link {
  position: relative; display: inline-block; padding-block: .45rem;
  font-size: .96rem; font-weight: 500; text-decoration: none;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 7px;
  border-inline: 1px solid var(--orange);
  background: linear-gradient(var(--orange), var(--orange)) center / 100% 1px no-repeat;
  transform: scaleX(0); transform-origin: left center;
  transition: transform .45s var(--ease);
}
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__cta { min-height: 46px; padding-block: .7rem; }
.nav__extra { display: none; }

.burger {
  display: none; margin-left: auto;
  width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 2px;
  background: var(--paper); cursor: pointer; position: relative;
}
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ink); transition: transform .35s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 23px; }
.burger span:nth-child(3) { top: 29px; }
.nav-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1020px) {
  .burger { display: block; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    height: calc(100dvh - var(--header-h));
    flex-direction: column; align-items: stretch; gap: 2rem;
    padding: 1.5rem var(--gutter) 2rem;
    background: var(--paper);
    border-top: 1px solid var(--line);
    overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .3s ease, transform .4s var(--ease), visibility 0s linear .4s;
  }
  .nav-open .nav { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav-open { overflow: hidden; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list li { border-bottom: 1px solid var(--line); }
  .nav__link { display: flex; justify-content: space-between; padding-block: 1.05rem; font-family: var(--font-display); font-size: 1.75rem; font-weight: 600; letter-spacing: -.02em; }
  .nav__link::after { display: none; }
  .nav__link[aria-current="page"] { color: var(--orange-ink); }
  .nav__extra { display: grid; gap: .6rem; }
  .nav__extra a { color: var(--muted); text-decoration: none; }
  .nav__cta { min-height: 56px; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--ground { background: var(--ground); }
.section--ground .cote { --cote-bg: var(--ground); }
.section--night { background: var(--night); color: var(--night-text); }
.section--night .eyebrow, .section--night .lead, .section--night .prose p { color: var(--night-muted); }
.section--night .cote { --cote-bg: var(--night); color: #ff8a70; }

.section-head {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end;
  gap: 1rem 2rem; margin-bottom: clamp(2rem, 4vw, 3.5rem);
}
.section-head h2 { font-size: var(--fs-h2); margin-top: .9rem; max-width: 22ch; }
.section-head .lead { grid-column: 1 / -1; margin-top: -.25rem; }
.section-head__aside { display: flex; align-items: center; gap: 1rem; }
@media (max-width: 700px) { .section-head { grid-template-columns: 1fr; } }

/* ---------- Hero accueil ---------- */
.hero { padding-block: clamp(2rem, 5vw, 4rem) 0; }
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(2rem, 5vw, 5rem); align-items: center;
}
.hero__title { font-size: var(--fs-hero); font-weight: 600; line-height: .98; letter-spacing: -.035em; margin-top: 1.4rem; }
.hero__title .accent { color: var(--orange); }
.measure { position: relative; display: inline-block; white-space: nowrap; padding-bottom: .42em; }
.measure .cote { position: absolute; left: .02em; right: .02em; bottom: 0; }
.measure .cote > span { font-size: .72rem; letter-spacing: .08em; }
.hero .lead { margin-top: 1.6rem; }
.hero .actions { margin-top: 2.2rem; }
.hero__media { position: relative; margin: 0; padding-left: 34px; }
.hero__media .cote--v { position: absolute; left: 0; top: 0; bottom: 0; }
.hero__img { position: relative; overflow: hidden; aspect-ratio: 4 / 4.6; max-height: 700px; width: 100%; background: var(--ground); }
.hero__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.hero__media:hover .hero__img img { transform: scale(1.03); }
.hero__tag {
  position: absolute; right: 0; bottom: 0;
  display: grid; gap: .2rem; padding: 1rem 1.25rem 1.05rem;
  background: var(--paper); text-decoration: none; min-width: 230px;
}
.hero__tag strong { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; letter-spacing: -.01em; }
.hero__tag .price { color: var(--muted); font-size: .92rem; }
.hero__tag .price b { color: var(--ink); font-weight: 600; }
.hero__tag .arrow { position: absolute; right: 1.1rem; top: 1.1rem; color: var(--orange); transition: transform .4s var(--ease-out); }
.hero__tag:hover .arrow { transform: translate(3px, -3px); }

.proof {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid var(--line);
}
.proof__item { display: grid; grid-template-columns: auto 1fr; gap: .25rem 1rem; align-items: baseline; padding: 1.6rem 1.5rem 1.6rem 0; }
.proof__item + .proof__item { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.proof__value { font-family: var(--font-display); font-size: clamp(1.9rem, 1.4rem + 1.4vw, 2.6rem); font-weight: 600; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.proof__value small { font-size: .5em; color: var(--muted); letter-spacing: 0; }
.proof__text { color: var(--muted); font-size: .95rem; line-height: 1.4; }
.proof__text strong { display: block; color: var(--ink); font-weight: 600; }

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { padding-left: 0; }
  .hero__media .cote--v { display: none; }
  .hero__img { aspect-ratio: 4 / 3; }
  .proof { grid-template-columns: 1fr; }
  .proof__item, .proof__item + .proof__item { padding: 1.2rem 0; border-left: 0; }
  .proof__item + .proof__item { border-top: 1px solid var(--line); }
}
@media (max-width: 480px) {
  .hero__tag { position: relative; min-width: 0; padding-inline: 0; }
  .hero__tag .arrow { right: 0; }
  .measure .cote > span { font-size: .62rem; }
}

/* ---------- Styles (panneaux accordéon) ---------- */
.style-panels { display: flex; gap: .75rem; height: clamp(440px, 48vw, 620px); }
.style-panel {
  position: relative; flex: 1 1 0; min-width: 0; overflow: hidden;
  color: #fff; text-decoration: none; background: var(--night);
  transition: flex-grow .8s var(--ease);
}
.style-panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.style-panel::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(16, 23, 27, .82) 0%, rgba(16, 23, 27, .25) 45%, rgba(16, 23, 27, 0) 70%);
}
.style-panel__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: clamp(1.1rem, 2vw, 1.8rem); display: grid; gap: .55rem; }
.style-panel__meta { font-family: var(--font-mono); font-size: var(--fs-mono); letter-spacing: .09em; text-transform: uppercase; color: rgba(255,255,255,.8); white-space: nowrap; }
.style-panel h3 { font-size: clamp(1.5rem, 1.1rem + 1.3vw, 2.4rem); white-space: nowrap; }
.style-panel p {
  max-width: 30rem; font-size: .98rem; line-height: 1.5; color: rgba(255,255,255,.88);
  opacity: 0; transform: translateY(8px); max-height: 0;
  transition: opacity .4s ease, transform .5s var(--ease-out), max-height .6s var(--ease);
}
.style-panel__go {
  position: absolute; right: clamp(1.1rem, 2vw, 1.8rem); top: clamp(1.1rem, 2vw, 1.8rem); z-index: 1;
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.55); border-radius: 50%;
  transition: background-color .35s, border-color .35s, transform .5s var(--ease-out);
}
.style-panel__body { opacity: 0; transition: opacity .3s ease; }
.style-panel__vlabel {
  position: absolute; left: clamp(1rem, 1.6vw, 1.5rem); bottom: clamp(1.1rem, 2vw, 1.8rem); z-index: 1;
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-family: var(--font-display); font-size: clamp(1.4rem, 1.1rem + .9vw, 2rem); font-weight: 600; letter-spacing: -.02em; line-height: 1;
  white-space: nowrap; transition: opacity .3s ease;
}
.style-panel:hover .style-panel__body, .style-panel:focus-visible .style-panel__body,
.style-panels:not(:hover):not(:focus-within) .style-panel:first-child .style-panel__body { opacity: 1; transition-delay: .25s; }
.style-panel:hover .style-panel__vlabel, .style-panel:focus-visible .style-panel__vlabel,
.style-panels:not(:hover):not(:focus-within) .style-panel:first-child .style-panel__vlabel { opacity: 0; transition-delay: 0s; }
.style-panel:hover, .style-panel:focus-visible,
.style-panels:not(:hover):not(:focus-within) .style-panel:first-child { flex-grow: 2.4; }
.style-panel:hover img, .style-panel:focus-visible img { transform: scale(1.04); }
.style-panel:hover p, .style-panel:focus-visible p,
.style-panels:not(:hover):not(:focus-within) .style-panel:first-child p { opacity: 1; transform: none; max-height: 8rem; }
.style-panel:hover .style-panel__go, .style-panel:focus-visible .style-panel__go { background: var(--orange); border-color: var(--orange); transform: rotate(-45deg); }

@media (max-width: 900px) {
  .style-panels {
    height: auto; display: grid; grid-auto-flow: column; grid-auto-columns: min(78%, 340px);
    overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .5rem;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
  }
  .style-panel { height: 440px; scroll-snap-align: start; }
  .style-panel p { opacity: 1; transform: none; max-height: none; }
  .style-panel .style-panel__body { opacity: 1; }
  .style-panel__vlabel { display: none; }
}

/* ---------- À la carte ---------- */
.carte { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.carte__figure { margin: 0; background: var(--paper); padding: clamp(1.25rem, 3vw, 2.5rem); position: sticky; top: calc(var(--header-h) + 1.5rem); }
.carte__figure img { width: 100%; mix-blend-mode: multiply; }
.carte__figure figcaption { display: grid; gap: .6rem; margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .95rem; }
.carte h2 { font-size: var(--fs-h2); margin-top: .9rem; }
.carte .lead { margin-top: 1.25rem; }
.carte-list { list-style: none; margin-top: 2.25rem; border-top: 1px solid var(--ink); }
.carte-list li {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .2rem 1.5rem; align-items: center;
  padding: 1.15rem .25rem; border-bottom: 1px solid var(--line);
  transition: background-color .35s ease, padding .45s var(--ease);
}
.carte-list li:hover { background: var(--paper); padding-inline: 1rem; }
.carte-list h3 { font-size: 1.25rem; letter-spacing: -.012em; }
.carte-list p { grid-column: 1; color: var(--muted); font-size: .95rem; line-height: 1.45; }
.chip {
  grid-row: 1 / span 2; grid-column: 2;
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .45rem .7rem; border: 1px solid currentColor; border-radius: 100px;
  font-family: var(--font-mono); font-size: .68rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
}
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.chip--in { color: var(--orange-ink); }
.chip--opt { color: var(--slate); }
.chip--opt::before { background: transparent; border: 1px solid currentColor; }
@media (max-width: 900px) {
  .carte { grid-template-columns: 1fr; }
  .carte__figure { position: static; order: 2; }
}

/* ---------- Cartes modèles ---------- */
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(270px, 29%, 400px);
  gap: clamp(1rem, 2vw, 1.5rem); overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 1.25rem; scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
.rail > * { scroll-snap-align: start; }
@media (max-width: 700px) {
  .rail { grid-auto-columns: 80%; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
}
.rail-nav { display: flex; gap: .5rem; }
.rail-btn {
  width: 48px; height: 48px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%; background: var(--paper); cursor: pointer;
  transition: border-color .3s, background-color .3s, color .3s;
}
.rail-btn:hover:not(:disabled) { background: var(--ink); border-color: var(--ink); color: #fff; }
.rail-btn:disabled { opacity: .35; cursor: default; }
.rail-btn--prev .arrow { transform: rotate(180deg); }
@media (max-width: 700px) { .rail-nav { display: none; } }

.model-card { position: relative; }
.model-card__link { display: grid; gap: 1rem; text-decoration: none; }
.model-card__media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--ground); }
.model-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.model-card__link:hover .model-card__media img, .model-card__link:focus-visible .model-card__media img { transform: scale(1.06); }
.model-card__badge {
  position: absolute; left: .75rem; top: .75rem;
  padding: .35rem .55rem; background: var(--paper); color: var(--ink);
  font-family: var(--font-mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase;
}
.model-card__meta { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: .15rem 1rem; }
.model-card__style { grid-column: 1 / -1; font-family: var(--font-mono); font-size: var(--fs-mono); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.model-card__name { font-size: 1.35rem; letter-spacing: -.015em; }
.model-card__price { color: var(--muted); font-size: .92rem; white-space: nowrap; }
.model-card__price b { color: var(--ink); font-weight: 600; font-size: 1.02rem; font-variant-numeric: tabular-nums; }
.model-card__rule { display: block; height: 9px; margin-top: -.35rem; border-inline: 1px solid var(--orange); background: linear-gradient(var(--orange), var(--orange)) center / 100% 1px no-repeat; transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.model-card__link:hover .model-card__rule, .model-card__link:focus-visible .model-card__rule { transform: scaleX(1); }

.models-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 3.25rem) clamp(1rem, 2vw, 1.75rem); }
@media (max-width: 1000px) { .models-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .models-grid { grid-template-columns: 1fr; } }

/* ---------- Étapes (chaîne de cotes) ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: step; }
.step { position: relative; padding-top: 2.4rem; padding-right: clamp(1rem, 2.5vw, 2rem); }
.step::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 15px;
  border-left: 1px solid var(--orange);
  background: linear-gradient(var(--orange), var(--orange)) center / 100% 1px no-repeat;
}
.step:last-child::before { border-right: 1px solid var(--orange); }
.step__num { font-family: var(--font-mono); font-size: var(--fs-mono); letter-spacing: .09em; text-transform: uppercase; color: var(--orange-ink); }
.step h3 { font-size: var(--fs-h3); margin-top: .65rem; }
.step p { margin-top: .75rem; color: var(--muted); font-size: .98rem; line-height: 1.55; }
.step .link { margin-top: 1rem; font-size: .95rem; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; row-gap: 2.5rem; }
  .step:nth-child(2)::before { border-right: 1px solid var(--orange); }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; row-gap: 0; }
  .step { padding: 0 0 2.2rem 2rem; }
  .step::before { left: 0; right: auto; top: 0; bottom: 0; width: 15px; height: auto; border-left: 0; border-top: 1px solid var(--orange); background: linear-gradient(var(--orange), var(--orange)) center / 1px 100% no-repeat; }
  .step:nth-child(2)::before, .step:last-child::before { border-right: 0; }
  .step:last-child::before { border-bottom: 1px solid var(--orange); }
  .step:last-child { padding-bottom: .5rem; }
}

/* ---------- Bloc éditorial image + texte ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.split--rev { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.split--rev .split__media { order: 2; }
.split__media { margin: 0; position: relative; overflow: hidden; }
.split__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.split__media:hover img { transform: scale(1.03); }
.split h2 { font-size: var(--fs-h2); margin-top: .9rem; }
.split .prose { margin-top: 1.5rem; }
.split .actions { margin-top: 2rem; }
@media (max-width: 900px) {
  .split, .split--rev { grid-template-columns: 1fr; }
  .split--rev .split__media { order: 0; }
}

/* ---------- Satisfaction ---------- */
.score { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.score__value { font-family: var(--font-display); font-weight: 600; line-height: .82; letter-spacing: -.06em; font-size: clamp(6rem, 3rem + 11vw, 12.5rem); font-variant-numeric: tabular-nums; color: #fff; }
.score__value sup { font-size: .3em; letter-spacing: -.02em; vertical-align: top; position: relative; top: .35em; color: var(--night-muted); margin-left: .12em; }
.score__caption { margin-top: 1.25rem; }
.score h2 { font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.7rem); margin-top: .9rem; color: #fff; }
.score .prose { margin-top: 1.25rem; }
.score .actions { margin-top: 2rem; }
.score__trophy { width: clamp(150px, 16vw, 230px); transform: rotate(3deg); transition: transform .8s var(--ease-out); box-shadow: 0 30px 60px -25px rgba(0,0,0,.6); }
.score__trophy:hover { transform: rotate(0deg) translateY(-6px); }
@media (max-width: 1000px) {
  .score { grid-template-columns: 1fr auto; }
  .score__text { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 520px) { .score { grid-template-columns: 1fr; } .score__trophy { width: 150px; } }

/* ---------- Carte de France (l'Hexagone) ---------- */
.hexa { width: 100%; height: auto; overflow: visible; }
.hexa__outline { fill: var(--ground); stroke: var(--slate); stroke-width: 1; stroke-dasharray: 3 4; stroke-linejoin: round; }
.section--ground .hexa__outline { fill: var(--paper); }
.hexa__dot { fill: var(--orange); stroke: var(--paper); stroke-width: 2; transform-box: fill-box; transform-origin: center; transition: transform .35s var(--ease-out), fill .3s; cursor: pointer; }
.hexa a:hover .hexa__dot, .hexa a:focus-visible .hexa__dot, .hexa__dot.is-active { transform: scale(1.7); fill: var(--ink); }
.hexa a:focus-visible { outline: none; }
.hexa__label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; fill: var(--ink); paint-order: stroke; stroke: var(--paper); stroke-width: 4px; opacity: 0; transition: opacity .25s; pointer-events: none; }
.hexa a:hover .hexa__label, .hexa a:focus-visible .hexa__label, .hexa__label.is-active { opacity: 1; }
.hexa__dot--muted { fill: var(--line); stroke: var(--paper); }

.stores-teaser { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.stores-teaser h2 { font-size: var(--fs-h2); margin-top: .9rem; }
.stores-teaser .lead { margin-top: 1.25rem; }
@media (max-width: 900px) { .stores-teaser { grid-template-columns: 1fr; } .stores-teaser .hexa-wrap { max-width: 520px; } }

.search-field { display: flex; margin-top: 2rem; max-width: 34rem; border: 1px solid var(--ink); background: var(--paper); }
.search-field input { flex: 1; min-width: 0; border: 0; padding: 1rem 1.1rem; background: transparent; font-size: 1rem; }
.search-field input:focus { outline: none; }
.search-field:focus-within { outline: 2px solid var(--orange); outline-offset: 2px; }
.search-field .btn { border-radius: 0; }

/* ---------- Offre reprise ---------- */
.offer { background: var(--yellow); color: var(--ink); }
.offer__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.offer .eyebrow { color: var(--ink); }
.offer h2 { font-size: var(--fs-h2); margin-top: .9rem; }
.offer__amount { color: var(--orange-ink); white-space: nowrap; }
.offer p { margin-top: 1.1rem; max-width: 34rem; }
.offer p.eyebrow { margin-top: 0; }
.offer small { display: block; margin-top: 1.25rem; font-size: .8rem; opacity: .8; }
.offer .actions { margin-top: 1.8rem; }
.offer__media { margin: 0; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(30, 40, 46, .45); }
.offer__media img { transition: transform 1.2s var(--ease-out); }
.offer__media:hover img { transform: scale(1.03); }
@media (max-width: 900px) { .offer__grid { grid-template-columns: 1fr; } }

/* ---------- Actualités ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); }
.news-card a { display: grid; gap: .9rem; text-decoration: none; }
.news-card__media { overflow: hidden; aspect-ratio: 4 / 3; background: var(--ground); }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.news-card a:hover img { transform: scale(1.05); }
.news-card time { font-family: var(--font-mono); font-size: var(--fs-mono); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.news-card h3 { font-size: 1.3rem; letter-spacing: -.015em; line-height: 1.15; background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 1px; transition: background-size .5s var(--ease); display: inline; }
.news-card a:hover h3 { background-size: 100% 1px; }
.news-card p { color: var(--muted); font-size: .96rem; line-height: 1.5; }
@media (max-width: 900px) { .news-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .news-grid { grid-template-columns: 1fr; } }

/* ---------- Liens de réseau (pré-footer) ---------- */
.network { list-style: none; border-top: 1px solid var(--ink); }
.network li { border-bottom: 1px solid var(--line); }
.network a {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto; gap: .5rem 2rem; align-items: center;
  padding-block: clamp(1.3rem, 2.5vw, 2rem); text-decoration: none;
  transition: padding .5s var(--ease), color .3s;
}
.network h3 { font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.6rem); }
.network p { color: var(--muted); }
.network .network__go { width: 56px; height: 56px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; transition: background-color .35s, border-color .35s, color .35s, transform .5s var(--ease-out); }
.network a:hover { padding-left: 1.25rem; }
.network a:hover h3 { color: var(--orange-ink); }
.network a:hover .network__go { background: var(--orange); border-color: var(--orange); color: #fff; transform: rotate(-45deg); }
@media (max-width: 700px) {
  .network a { grid-template-columns: minmax(0, 1fr) auto; }
  .network p { grid-column: 1; grid-row: 2; }
  .network .network__go { grid-row: 1 / span 2; grid-column: 2; width: 46px; height: 46px; }
}

/* ---------- Pied de page ---------- */
.site-footer { background: var(--night); color: var(--night-text); padding-block: clamp(3.5rem, 7vw, 6rem) 2rem; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(4, minmax(0, 1fr)); gap: 2.5rem 2rem; }
.footer-brand img { height: 52px; width: auto; }
.footer-brand p { margin-top: 1.25rem; color: var(--night-muted); max-width: 22rem; font-size: .95rem; }
.footer-brand .btn { margin-top: 1.5rem; }
.footer-col h2 { font-family: var(--font-mono); font-size: var(--fs-mono); font-weight: 500; letter-spacing: .09em; text-transform: uppercase; color: var(--night-muted); }
.footer-col ul { list-style: none; display: grid; gap: .6rem; margin-top: 1.1rem; }
.footer-col a { text-decoration: none; color: var(--night-text); background: linear-gradient(var(--orange), var(--orange)) no-repeat 0 100% / 0 1px; padding-bottom: 2px; transition: background-size .4s var(--ease), color .3s; }
.footer-col a:hover { background-size: 100% 1px; color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; margin-top: clamp(3rem, 6vw, 5rem); padding-top: 1.5rem; border-top: 1px solid var(--night-2); color: var(--night-muted); font-size: .85rem; }
.footer-bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.footer-bottom a { color: inherit; text-decoration: none; }
.footer-bottom a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1000px) { .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 420px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- En-tête de page intérieure ---------- */
.page-hero { padding-block: clamp(2rem, 5vw, 4rem) clamp(2.5rem, 5vw, 4rem); }
.page-hero h1 { font-size: var(--fs-h1); margin-top: 1.1rem; max-width: 18ch; }
.page-hero .lead { margin-top: 1.25rem; }
.page-hero .actions { margin-top: 2rem; }
.page-hero--split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: end; }
@media (max-width: 900px) { .page-hero--split { grid-template-columns: 1fr; } }

.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; font-size: .85rem; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: .35rem; color: var(--line); }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb + * { margin-top: 1.75rem; }

/* ---------- Catalogue : filtres ---------- */
.filters {
  position: sticky; top: var(--header-h); z-index: 20;
  background: rgba(255,255,255,.96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-block: 1px solid var(--line);
}
.filters__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; padding-block: .85rem; }
.filter-chips { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
.filter-chips::-webkit-scrollbar { display: none; }
.filter-chip {
  flex: none; display: inline-flex; align-items: center; gap: .45rem;
  padding: .6rem 1rem; border: 1px solid var(--line); border-radius: 100px; background: var(--paper);
  font-size: .92rem; font-weight: 500; cursor: pointer; white-space: nowrap;
  transition: border-color .3s, background-color .3s, color .3s;
}
.filter-chip span { font-family: var(--font-mono); font-size: .7rem; color: var(--muted); transition: color .3s; }
.filter-chip:hover { border-color: var(--ink); }
.filter-chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.filter-chip[aria-pressed="true"] span { color: rgba(255,255,255,.7); }
.filters__right { display: flex; align-items: center; gap: 1.25rem; }
.filters__count { font-family: var(--font-mono); font-size: var(--fs-mono); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; border: 1px solid var(--line); border-radius: 2px; background: var(--paper); padding: .6rem 2.4rem .6rem .9rem; font-size: .92rem; cursor: pointer; }
.select::after { content: ""; position: absolute; right: .95rem; top: 50%; width: 7px; height: 7px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
@media (max-width: 700px) { .filters__right { width: 100%; justify-content: space-between; } }
.model-card[hidden] { display: none; }
.price-note { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 1.25rem; align-items: center; margin-top: clamp(3rem, 6vw, 4.5rem); padding: 1.25rem; background: var(--ground); font-size: .95rem; color: var(--muted); }
.price-note img { mix-blend-mode: multiply; }
.price-note strong { color: var(--ink); }
@media (max-width: 480px) { .price-note { grid-template-columns: 1fr; } .price-note img { max-width: 160px; } }

/* ---------- Fiche modèle ---------- */
.product { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.product__media { margin: 0; position: relative; overflow: hidden; background: var(--ground); }
.product__media img { width: 100%; }
.product__info { position: sticky; top: calc(var(--header-h) + 1.5rem); display: grid; gap: 1.4rem; }
.product__info h1 { font-size: clamp(2.3rem, 1.6rem + 2.6vw, 3.8rem); }
.product__style { text-decoration: none; color: var(--orange-ink); }
.product__price { display: grid; gap: .3rem; padding-block: 1.3rem; border-block: 1px solid var(--line); }
.product__price .from { font-size: .95rem; color: var(--muted); }
.product__price .amount { font-family: var(--font-display); font-size: clamp(2.2rem, 1.8rem + 1.4vw, 3rem); font-weight: 600; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.product__price small { color: var(--muted); font-size: .85rem; }
.product__includes { display: grid; gap: .9rem; font-size: .95rem; }
.product__includes div { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; }
.product__includes .label { width: 100%; font-family: var(--font-mono); font-size: var(--fs-mono); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.tag { padding: .3rem .65rem; border: 1px solid var(--line); border-radius: 100px; font-size: .88rem; }
.tag--in { border-color: rgba(232, 68, 39, .45); color: var(--orange-ink); }
.product__info .btn { width: 100%; }
.product__info .actions { display: grid; gap: .6rem; }
@media (max-width: 900px) { .product { grid-template-columns: 1fr; } .product__info { position: static; } }

.desc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.desc h2 { font-size: var(--fs-h2); margin-top: .9rem; }
.desc figure { margin: 0; background: var(--paper); padding: 1.5rem; }
.desc figure img { mix-blend-mode: multiply; }
.desc figcaption { margin-top: 1rem; font-size: .9rem; color: var(--muted); }
@media (max-width: 900px) { .desc { grid-template-columns: 1fr; } }

/* ---------- Bande CTA ---------- */
.cta-band { display: grid; grid-template-columns: minmax(0, 1.2fr) auto; gap: 2rem 4rem; align-items: end; }
.cta-band h2 { font-size: var(--fs-h2); margin-top: .9rem; max-width: 20ch; }
.cta-band .lead { margin-top: 1.1rem; }
@media (max-width: 800px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- Magasins ---------- */
.stores-layout { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.stores-map { position: sticky; top: calc(var(--header-h) + 1.5rem); background: var(--ground); padding: clamp(1rem, 3vw, 2.5rem); }
.stores-toolbar { display: flex; flex-wrap: wrap; gap: .75rem; align-items: stretch; }
.stores-toolbar .search-field { flex: 1 1 280px; margin-top: 0; }
.stores-status { margin-top: 1.25rem; font-family: var(--font-mono); font-size: var(--fs-mono); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); min-height: 1.2em; }
.store-list { list-style: none; margin-top: 1rem; border-top: 1px solid var(--ink); }
.store-card { border-bottom: 1px solid var(--line); transition: background-color .3s; }
.store-card[hidden] { display: none; }
.store-card.is-active, .store-card:hover { background: var(--ground); }
.store-card__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .35rem 1.5rem; padding: 1.2rem .75rem; }
.store-card h3 { font-size: 1.3rem; letter-spacing: -.015em; }
.store-card h3 a { text-decoration: none; }
.store-card h3 a:hover { color: var(--orange-ink); }
.store-card address { font-style: normal; color: var(--muted); font-size: .95rem; line-height: 1.45; }
.store-card__side { grid-row: 1 / span 3; grid-column: 2; display: grid; justify-items: end; align-content: space-between; gap: .75rem; text-align: right; }
.store-card__links { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; margin-top: .45rem; font-size: .92rem; }
.store-card__distance { font-family: var(--font-mono); font-size: .72rem; color: var(--muted); }
.status { display: inline-flex; align-items: center; gap: .45rem; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; color: var(--muted); }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--line); }
.status--open { color: #2f7a4d; }
.status--open::before { background: #34a061; box-shadow: 0 0 0 3px rgba(52, 160, 97, .18); }
.status--closed::before { background: #b6c0c5; }
.empty { padding: 2rem 0; color: var(--muted); }
@media (max-width: 900px) {
  .stores-layout { grid-template-columns: 1fr; }
  .stores-map { position: static; order: -1; }
}
@media (max-width: 480px) {
  .store-card__inner { grid-template-columns: 1fr; }
  .store-card__side { grid-row: auto; grid-column: 1; justify-items: start; text-align: left; }
}

/* ---------- Fiche magasin ---------- */
.store-page { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.info-block { padding-block: 1.4rem; border-top: 1px solid var(--line); display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: .5rem 1.5rem; }
.info-block:first-child { border-top-color: var(--ink); }
.info-block h2 { font-family: var(--font-mono); font-size: var(--fs-mono); font-weight: 500; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); padding-top: .3rem; }
.info-block address { font-style: normal; font-size: 1.05rem; }
.info-block .tel { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; letter-spacing: -.02em; text-decoration: none; font-variant-numeric: tabular-nums; }
.info-block .tel:hover { color: var(--orange-ink); }
.hours { width: 100%; border-collapse: collapse; font-size: .96rem; font-variant-numeric: tabular-nums; }
.hours th, .hours td { text-align: left; padding: .45rem 0; border-bottom: 1px dashed var(--line); font-weight: 400; }
.hours td { text-align: right; color: var(--muted); }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 600; color: var(--ink); }
.hours tr.is-today th::after { content: " · aujourd’hui"; font-family: var(--font-mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-ink); font-weight: 500; }
@media (max-width: 900px) { .store-page { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .info-block { grid-template-columns: 1fr; } }

/* ---------- Formulaires ---------- */
.form-card { background: var(--ground); padding: clamp(1.5rem, 4vw, 2.75rem); }
.form-card h2 { font-size: clamp(1.6rem, 1.3rem + 1.1vw, 2.2rem); }
.form-card > p { margin-top: .6rem; color: var(--muted); }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1rem; margin-top: 1.75rem; }
.form fieldset { grid-column: 1 / -1; border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1rem; }
.form legend { grid-column: 1 / -1; font-family: var(--font-mono); font-size: var(--fs-mono); letter-spacing: .09em; text-transform: uppercase; color: var(--orange-ink); padding: 0; margin-bottom: .9rem; }
.field { display: grid; gap: .4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 600; }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 2px; background: var(--paper);
  padding: .85rem .9rem; font-size: 1rem; transition: border-color .25s, box-shadow .25s;
}
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.5rem; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--slate); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(232, 68, 39, .22); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--orange-ink); }
.field__error { font-size: .82rem; color: var(--orange-ink); min-height: 0; }
.form__legal { grid-column: 1 / -1; font-size: .82rem; color: var(--muted); }
.form__legal a { color: inherit; }
.form__submit { grid-column: 1 / -1; }
.form__success { grid-column: 1 / -1; padding: 1rem 1.1rem; background: var(--paper); border-left: 3px solid #34a061; }
.form__success strong { display: block; }
@media (max-width: 560px) { .form, .form fieldset { grid-template-columns: 1fr; } }

/* ---------- Chiffres (ouvrir un magasin) ---------- */
.figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid rgba(255,255,255,.18); }
.figure { padding: 2rem 2rem 2rem 0; }
.figure + .figure { padding-left: 2rem; border-left: 1px solid rgba(255,255,255,.18); }
.figure .figure__value { margin-top: 0; font-family: var(--font-display); font-size: clamp(3rem, 2rem + 4vw, 5.5rem); font-weight: 600; letter-spacing: -.05em; line-height: .9; color: #fff; font-variant-numeric: tabular-nums; }
.figure h3 { margin-top: 1rem; font-size: 1.15rem; color: #fff; }
.figure p { margin-top: .6rem; color: var(--night-muted); font-size: .95rem; }
@media (max-width: 800px) { .figures { grid-template-columns: 1fr; } .figure, .figure + .figure { padding: 1.75rem 0; border-left: 0; } .figure + .figure { border-top: 1px solid rgba(255,255,255,.18); } }

.wordmarks { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.25rem; list-style: none; }
.wordmarks li { padding: .55rem 1rem; border: 1px solid var(--line); font-family: var(--font-display); font-weight: 600; letter-spacing: -.01em; }

/* ---------- Témoignages ---------- */
.quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); }
.quote { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 1.5rem; align-items: start; padding-top: 1.5rem; border-top: 1px solid var(--ink); margin: 0; }
.quote img { width: 120px; height: 120px; object-fit: cover; border-radius: 50%; filter: grayscale(.2); transition: filter .5s; }
.quote:hover img { filter: none; }
.quote blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); line-height: 1.3; letter-spacing: -.01em; }
.quote figcaption { margin-top: 1rem; font-size: .92rem; color: var(--muted); }
.quote figcaption strong { color: var(--ink); }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .quote { grid-template-columns: 1fr; } .quote img { width: 88px; height: 88px; } }

.checks { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
.checks li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: .75rem; padding-block: 1rem; border-bottom: 1px solid var(--line); color: var(--muted); }
.checks li::before { content: ""; width: 14px; height: 8px; margin-top: .45rem; border-left: 1.5px solid var(--orange); border-bottom: 1.5px solid var(--orange); transform: rotate(-45deg); }
.checks strong { color: var(--ink); font-weight: 600; }

/* ---------- Tutos vidéo ---------- */
.tutos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem 1.5rem; list-style: none; }
.tuto a { display: grid; gap: .8rem; text-decoration: none; }
.tuto__media { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: var(--night); }
.tuto__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out), opacity .4s; opacity: .92; }
.tuto__play { position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--ink); transition: transform .45s var(--ease-out), background-color .3s, color .3s; }
.tuto a:hover .tuto__media img { transform: scale(1.05); opacity: 1; }
.tuto a:hover .tuto__play { transform: scale(1.12); background: var(--orange); color: #fff; }
.tuto__num { font-family: var(--font-mono); font-size: var(--fs-mono); letter-spacing: .09em; text-transform: uppercase; color: var(--orange-ink); }
.tuto h3 { font-size: 1.12rem; letter-spacing: -.01em; line-height: 1.2; }
@media (max-width: 900px) { .tutos { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .tutos { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 1.5rem; align-items: center; padding-block: 1.35rem; cursor: pointer; font-family: var(--font-display); font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem); font-weight: 600; letter-spacing: -.012em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(var(--ink), var(--ink)) center / 100% 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.5px 100% no-repeat; transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--orange-ink); }
.faq .faq__body { padding-bottom: 1.5rem; max-width: 46rem; color: var(--muted); display: grid; gap: .8rem; }

/* ---------- Article ---------- */
.article { max-width: 46rem; margin-inline: auto; }
.article h1 { font-size: clamp(2.1rem, 1.5rem + 2.4vw, 3.5rem); margin-top: 1rem; }
.article time { display: block; margin-top: 1.25rem; }
.article__media { margin: clamp(2rem, 4vw, 3rem) 0; }
.article .prose { max-width: none; }
.article .prose p { font-size: 1.1rem; color: #3c4a52; }

/* ---------- Pages légales ---------- */
.legal { max-width: 48rem; }
.legal h2 { font-size: 1.35rem; margin-top: 2.25rem; }
.legal p, .legal li { color: var(--muted); margin-top: .8rem; }
.legal ul { padding-left: 1.2rem; }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; align-content: center; gap: 1.5rem; }
.notfound .code { font-family: var(--font-display); font-weight: 600; font-size: clamp(6rem, 4rem + 10vw, 12rem); letter-spacing: -.06em; line-height: .85; color: var(--orange); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- Variantes ---------- */
.steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) {
  .steps--3 .step:nth-child(2)::before { border-right: 0; }
}
@media (max-width: 760px) and (min-width: 561px) {
  .steps--3 { grid-template-columns: 1fr; row-gap: 0; }
  .steps--3 .step { padding: 0 0 2.2rem 2rem; }
  .steps--3 .step::before { left: 0; right: auto; top: 0; bottom: 0; width: 15px; height: auto; border-left: 0; border-top: 1px solid var(--orange); background: linear-gradient(var(--orange), var(--orange)) center / 1px 100% no-repeat; }
  .steps--3 .step:last-child::before { border-right: 0; border-bottom: 1px solid var(--orange); }
}
.news-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 600px) { .news-grid--2 { grid-template-columns: 1fr; } }

/* ---------- Ajustements mobile ---------- */
@media (max-width: 700px) {
  .promo { font-size: .82rem; }
  .promo .mono { display: none; }
  .promo a { padding-block: .5rem; }
  .filters { position: static; }
}
@media (max-width: 900px) {
  .stores-map { padding: 1rem; }
  .stores-map .hexa { display: block; max-width: 300px; margin-inline: auto; }
}
