/* =========================================================
   Flow Gourmet — VARIANTE d'accueil « Liquid Editorial »
   Style : éditorial-luxe + verre liquide (glassmorphism) + motif eau animé
   Réutilise les tokens de style.css (petrol/terracotta/crème, Fraunces/DM Sans).
   N'affecte QUE index-v2.html.
   ========================================================= */

:root {
  --glass-dark: rgba(13, 28, 30, .42);
  --glass-light: rgba(246, 241, 219, .10);
  --glass-border: rgba(255, 255, 255, .16);
}

/* ---------- HERO immersif (fond dégradé liquide animé, sans photo) ---------- */
.v-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: radial-gradient(120% 120% at 70% 10%, #23414a 0%, #1a333a 42%, #10242a 100%);
  color: #fff;
  isolation: isolate;
}
/* vraie photo de fond */
.v-hero__photo { position: absolute; inset: 0; z-index: 0; }
.v-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
/* Heure dorée : plus de nappes « aurora » — un simple voile chaud fait le travail */
.v-hero__mesh { display: none; }

/* scrim chaud ambré par-dessus la photo (lisibilité + chaleur) */
.v-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(38,26,15,.52) 0%, rgba(38,26,15,.26) 38%, rgba(30,22,14,.55) 80%, rgba(24,18,11,.85) 100%),
    radial-gradient(95% 80% at 18% 34%, rgba(35,24,13,.55), transparent 58%);
}

.v-hero__inner { position: relative; z-index: 3; padding-block: clamp(120px, 16vw, 180px) clamp(150px, 16vw, 210px); width: 100%; }

/* Hero immersif pour les pages intérieures (plus court que la home) */
.v-hero--page { min-height: clamp(360px, 54vh, 560px); align-items: flex-end; }
.v-hero--page .v-hero__inner { padding-block: clamp(128px, 17vw, 172px) clamp(40px, 6vw, 66px); }
.v-hero--page h1 { font-size: clamp(36px, 6vw, 74px); }
.v-hero__eyebrow { color: #e8c7b3; }
.v-hero h1 {
  color: #fff; font-size: clamp(42px, 7vw, 84px); font-weight: 560; font-stretch: 112%;
  line-height: 1.05; letter-spacing: -.015em; max-width: 15ch;
  margin: 18px 0 18px;
}
.v-hero h1 em { font-style: normal; color: #eccdb9; }
.v-hero__lead { font-size: clamp(17px, 2vw, 21px); max-width: 50ch; color: rgba(255,255,255,.86); }
.v-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* barre de specs en verre, flottante en bas du hero */
.v-specbar {
  position: absolute; left: 0; right: 0; bottom: clamp(28px, 5vw, 56px);
  margin-inline: auto;
  width: min(calc(100% - 2 * var(--pad)), 1040px);
  display: grid; grid-template-columns: repeat(4, 1fr);
  z-index: 4; border-radius: 16px; overflow: hidden;
}
.v-glass {
  background: var(--glass-dark);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid var(--glass-border);
}
.v-specbar .stat { padding: 20px 14px; }
.v-specbar .stat + .stat { border-left: 0; }
.v-specbar .stat__num { color: #fff; }
.v-specbar .stat__label { color: rgba(255,255,255,.66); }

.v-scroll { position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); z-index: 5;
  font-family: var(--font-head); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.5); }

/* vague SVG de séparation (signature « ligne d'eau ») */
.v-wave { position: relative; line-height: 0; margin-top: -1px; }
.v-wave svg { display: block; width: 100%; height: clamp(48px, 7vw, 90px); }
.v-wave .wpath { fill: var(--sand-2); }
.v-wave--cream .wpath { fill: var(--sand-2); }
.v-wave--sand .wpath { fill: var(--sand); }
.v-wave--paper .wpath { fill: var(--paper); }
.v-wave--ink .wpath { fill: #10242a; }
.v-wave--up svg { transform: scaleY(-1); }

/* La vague dynamique mord le bas du hero : la ligne d'eau animée devient
   la bordure basse de la photo, en continuité avec la section suivante. */
.v-hero + .v-wave { position: relative; z-index: 6; pointer-events: none;
  margin-top: calc(-1 * clamp(26px, 3.6vw, 48px)); }

/* vague animée — défilement horizontal sans couture (1 période = 1440 unités) */
.v-wave .wave-anim { will-change: transform; animation: waveDrift 16s linear infinite; }
@keyframes waveDrift { from { transform: translateX(0); } to { transform: translateX(-1440px); } }
@media (prefers-reduced-motion: reduce) {
  .v-wave .wave-anim { animation: none; }
}

/* ---------- Manifeste : déclaration pleine largeur ----------
   Les mots montent un à un depuis un masque (piloté par .reveal.in),
   « au fil de l'eau » se fait souligner par la ligne d'eau qui se dessine. */
.v-manifesto { background: var(--sand-2); padding-block: clamp(80px, 11vw, 150px); overflow: hidden; }
.v-manifesto .container { text-align: center; }
.v-mani {
  font-family: var(--font-display); font-weight: 620; font-stretch: 114%;
  font-size: clamp(30px, 5.6vw, 76px); line-height: 1.1; letter-spacing: -.02em;
  color: var(--ink); max-width: none; text-wrap: balance;
}
.v-mani em { font-style: italic; font-stretch: 104%; color: var(--terra); }

/* masque par mot : chaque mot glisse vers le haut, en cascade */
.v-mani .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .06em; margin-bottom: -.06em; }
.v-mani .w > i {
  display: inline-block; font-style: inherit; transform: translateY(115%);
  transition: transform .85s var(--ease); transition-delay: calc(var(--i) * 75ms);
}
.v-mani.reveal.in .w > i { transform: none; }

/* « au fil de l'eau » : la ligne d'eau se dessine sous la phrase */
.v-mani__sea { position: relative; display: inline-block; }
.v-mani__wave {
  position: absolute; left: 2%; right: 2%; bottom: -.12em; width: 96%; height: .18em;
  overflow: visible; pointer-events: none;
}
.v-mani__wave path {
  stroke: var(--terra); stroke-width: 3.4; stroke-linecap: round;
  stroke-dasharray: 320; stroke-dashoffset: 320;
  transition: stroke-dashoffset 1.1s var(--ease) 1s;
}
.v-mani.reveal.in .v-mani__wave path { stroke-dashoffset: 0; }

.v-manifesto .small { font-family: var(--font-head); font-size: 15.5px; color: var(--muted);
  max-width: 52ch; margin: clamp(24px, 3vw, 38px) auto 0; line-height: 1.65; }

@media (prefers-reduced-motion: reduce) {
  .v-mani .w > i, .v-mani.reveal.in .w > i { transition: none; transform: none; }
  .v-mani__wave path { transition: none; stroke-dashoffset: 0; }
}

/* ---------- « Pourquoi » : liste éditoriale numérotée ---------- */
.v-why { background: var(--sand-2); padding-block: clamp(40px, 6vw, 80px) clamp(72px, 10vw, 128px); }
.v-why__head { margin-bottom: clamp(28px, 4vw, 48px); }
/* Grille 2 colonnes compacte. Au lieu d'un filet générique, chaque item
   est marqué par une « vaguelette » — la ligne d'eau, signature du site. */
.v-adv { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(32px, 5vw, 80px); }
.v-adv__item { padding-block: clamp(16px, 2.2vw, 24px); }
.v-adv__item::before {
  content: ""; display: block; width: 58px; height: 8px; margin-bottom: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 8'%3E%3Cpath d='M0 4C5.3 .9 10.7 .9 16 4S26.7 7.1 32 4 42.7 .9 48 4 58.7 7.1 64 4' fill='none' stroke='%23c2673b' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E") left center / 64px 8px no-repeat;
  opacity: .55; transition: opacity .35s var(--ease), transform .45s var(--ease);
}
.v-adv__item:hover::before { opacity: 1; transform: translateX(6px); }
@media (prefers-reduced-motion: reduce) {
  .v-adv__item::before, .v-adv__item:hover::before { transition: none; transform: none; }
}
.v-adv__top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.v-adv__item h3 { font-size: clamp(18px, 1.8vw, 21px); }
.v-adv__tag {
  flex: none; font-family: var(--font-head); font-size: 11.5px; letter-spacing: .06em;
  text-transform: uppercase; color: var(--terra-dark); white-space: nowrap;
}
.v-adv__item p { color: var(--muted); font-size: 14.5px; line-height: 1.55; max-width: 52ch; margin-top: 6px; }
@media (max-width: 720px) {
  .v-adv { grid-template-columns: 1fr; }
}

/* ---------- Section signature (dark, verre) ---------- */
.v-signature { position: relative; background: radial-gradient(120% 100% at 80% 0%, #23414a, #10242a 70%); color: #fff; overflow: hidden; isolation: isolate; }
.v-signature__glass { padding: 0; }
.v-signature h2 { color: #fff; font-size: clamp(30px, 4.4vw, 50px); }
.v-signature p { color: rgba(255,255,255,.82); }
.v-signature .pill { border-color: rgba(255,255,255,.34); color: #fff; }
.v-blur-orb { position: absolute; width: 40vw; height: 40vw; border-radius: 50%; background: #c2673b; opacity: .22; filter: blur(80px); right: -10%; top: -10%; z-index: -1; }

/* ---------- Solutions (cartes verre claire) ---------- */
.v-solutions { background: var(--sand); padding-block: clamp(64px, 9vw, 120px); }
.v-card {
  background: var(--paper);
  border: 1px solid var(--line); border-radius: 14px;
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.v-card:hover { transform: translateY(-5px); box-shadow: 0 18px 44px rgba(16,58,64,.14); border-color: transparent; }
.v-sol__head { text-align: center; }
.v-card .v-badge { margin: 0 0 12px; }
/* Bannière métier : la photo occupe le haut de la carte, l'image zoome au survol. */
.v-card__media { aspect-ratio: 16 / 11; border-radius: 0; }
.v-card__media img { transition: transform 1.1s var(--ease); }
.v-card:hover .v-card__media img { transform: scale(1.05); }
.v-card__body { padding: clamp(22px, 2.4vw, 30px); }
/* L'icône chevauche le bas de la photo, comme un sceau. */
.v-card .card__icon { background: var(--green); color: #fff; margin-top: -50px; position: relative; box-shadow: 0 8px 20px rgba(16,58,64,.22); }
.v-card h3 { font-size: 24px; margin-bottom: 4px; }
.v-card .tag { font-family: var(--font-head); font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--terra-dark); margin-bottom: 12px; }
.v-card p { color: var(--muted); font-size: 15px; }
@media (prefers-reduced-motion: reduce) {
  .v-card__media img, .v-card:hover .v-card__media img { transition: none; transform: none; }
}

/* ---------- CTA partenaire (verre sur petrol) ---------- */
.v-cta { position: relative; background: radial-gradient(110% 120% at 50% -10%, #23414a, #10242a 75%); color: #fff; overflow: hidden; isolation: isolate; }
/* Le CTA sombre précède le footer sombre : on resserre le bas de section
   pour éviter un grand vide entre le formulaire et le footer. */
.v-cta.section { padding-block: clamp(64px, 9vw, 128px) clamp(36px, 4.5vw, 56px); }
.v-cta__panel { max-width: 620px; margin-inline: auto; padding: clamp(8px, 2vw, 24px); text-align: center; }
.v-cta h2 { color: #fff; font-size: clamp(28px, 4vw, 46px); }
.v-cta .lead { color: rgba(255,255,255,.82); }
.v-cta .field { background: rgba(255,255,255,.92); border-color: transparent; }
.v-cta .form__note { color: rgba(255,255,255,.62); }

/* ---------- FAQ (accordéon par catégories) ----------
   En-tête centré, pilules de filtre, cartes avec badge thématique
   + chevron, pied « Une autre question ? ». */
.v-faq { background: var(--sand); padding-block: clamp(64px, 9vw, 120px); }
.v-faq__head { text-align: center; max-width: 640px; margin-inline: auto; }
.v-faq__head .lead { margin-inline: auto; }

/* pilules de filtre */
.v-faq__cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  margin-top: clamp(24px, 3vw, 36px); }
.v-faq__cat {
  font-family: var(--font-head); font-size: 13.5px; font-weight: 500; cursor: pointer;
  padding: 9px 18px; border-radius: 100px; border: 1px solid var(--line);
  background: var(--paper); color: var(--muted);
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.v-faq__cat:hover { color: var(--green); border-color: var(--green); }
.v-faq__cat.is-active { background: var(--green); border-color: var(--green); color: #fff; }
.v-faq__cat:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

/* cartes accordéon */
.v-faq__list { max-width: 780px; margin: clamp(24px, 3.4vw, 40px) auto 0; display: grid; gap: 12px; }
.v-faq__item { background: var(--paper); border: 1px solid var(--line); border-radius: 16px;
  padding-inline: clamp(18px, 2.4vw, 26px); box-shadow: 0 2px 12px rgba(60,44,20,.05);
  transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.v-faq__item:hover { box-shadow: 0 10px 28px rgba(60,44,20,.09); transform: translateY(-1px); }
.v-faq__item.is-hidden { display: none; }
.v-faq__item summary {
  list-style: none; cursor: pointer; padding: clamp(16px, 2.2vw, 22px) 0;
  display: flex; align-items: center; gap: 16px;
  font-family: var(--font-head); font-weight: 600; font-size: clamp(15.5px, 1.6vw, 17.5px);
  color: var(--ink); transition: color .25s var(--ease);
}
.v-faq__item summary::-webkit-details-marker { display: none; }
.v-faq__item summary:hover { color: var(--green); }
.v-faq__item summary:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; border-radius: 4px; }
.v-faq__q { flex: 1; }

/* badge thématique (pastille colorée + libellé) — partagé FAQ / solutions */
.v-badge,
.v-faq__badge {
  flex: none; display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-head); font-size: 11px; font-weight: 600; letter-spacing: .05em;
  text-transform: uppercase; color: var(--muted); white-space: nowrap;
  padding: 5px 11px; border-radius: 100px; background: var(--sand-2);
}
.v-badge::before,
.v-faq__badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--badge, var(--muted)); }
.v-faq__badge--navigation   { --badge: var(--teal); }
.v-faq__badge--exploitation { --badge: var(--terra); }
.v-faq__badge--experience   { --badge: var(--green); }
.v-faq__badge--partenariat  { --badge: var(--terra-dark); }
.v-badge--collectivites { --badge: var(--teal); }
.v-badge--loueurs       { --badge: var(--terra); }
.v-badge--hoteliers     { --badge: var(--green); }

/* chevron */
.v-faq__item summary::after {
  content: ""; flex: none; width: 9px; height: 9px; margin-right: 4px;
  border-right: 2px solid var(--terra); border-bottom: 2px solid var(--terra);
  transform: rotate(45deg); transition: transform .3s var(--ease);
}
.v-faq__item[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }

.v-faq__a { padding: 0 0 clamp(16px, 2.2vw, 22px); color: var(--muted); max-width: 66ch; line-height: 1.7; font-size: 15px; }
.v-faq__a strong { color: var(--ink); font-weight: 700; }
.v-faq__item[open] .v-faq__a { animation: faqIn .35s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* pied : une autre question ? */
.v-faq__more { margin-top: clamp(28px, 4vw, 44px); text-align: center; }
.v-faq__more p { font-family: var(--font-display); font-size: clamp(18px, 2vw, 22px); color: var(--ink); margin-bottom: 16px; }

@media (max-width: 560px) {
  .v-faq__badge { display: none; }   /* sur mobile, la question seule suffit */
}
@media (prefers-reduced-motion: reduce) {
  .v-faq__item[open] .v-faq__a { animation: none; }
  .v-faq__item:hover { transform: none; }
}

/* ---------- Anatomie : vue éclatée + légende interactive ---------- */
.v-anat { background: var(--sand-2); }
/* Le rendu porte toute la section : on lui donne nettement plus de largeur
   qu'a la legende, dont les paragraphes restent courts. */
.v-anat__layout { display: grid; grid-template-columns: 1.45fr .85fr; gap: clamp(24px, 3vw, 48px); align-items: start; }
.v-anat__figure { position: sticky; top: clamp(90px, 11vw, 120px); }
.v-anat__stage { position: relative; }
/* Le cadre épouse le rendu (pas de bandes blanches) : les pastilles sont donc
   positionnées en % de l'image elle-même, quel que soit son ratio. */
.v-anat__stage .media { background: var(--paper); aspect-ratio: auto; min-height: 240px; }
.v-anat__stage .media img { object-fit: contain; height: auto; display: block; }
.v-anat__caption { font-family: var(--font-head); font-size: 13px; color: var(--muted); margin-top: 12px; }

/* Gros plan de l'element survole, en fondu par-dessus la vue eclatee.
   Il est en position absolue pour ne pas faire sauter la hauteur du cadre :
   c'est la vue eclatee, en flux, qui continue de la donner. Les pastilles
   s'effacent avec elle, puisqu'elles ne designent plus rien. */
.v-anat__zoom {
  position: absolute; inset: 0; z-index: 2;
  width: 100%; height: 100%; object-fit: contain;
  background: var(--paper);
  opacity: 0; pointer-events: none;
  transition: opacity .45s var(--ease);
}
.v-anat__stage.is-zoomed .v-anat__zoom { opacity: 1; }
.v-anat__stage.is-zoomed .v-dot { opacity: 0; transition: opacity .3s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  .v-anat__zoom, .v-anat__stage.is-zoomed .v-dot { transition: none; }
}

/* pastilles posées sur le rendu — coordonnées en % via --x / --y */
.v-dot {
  position: absolute; left: var(--x); top: var(--y); translate: -50% -50%;
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--paper); color: var(--green); border: 1.5px solid var(--green);
  font-family: var(--font-head); font-weight: 700; font-size: 13px; line-height: 1;
  box-shadow: 0 4px 14px rgba(16,58,64,.18);
  transition: background .3s var(--ease), color .3s var(--ease), scale .3s var(--ease);
}
.v-dot::before {
  content: ""; position: absolute; inset: -8px; border-radius: 50%;
  border: 1.5px solid var(--terra); opacity: 0; scale: .7;
  transition: opacity .35s var(--ease), scale .35s var(--ease);
}
.v-dot.is-active { background: var(--terra); color: #fff; border-color: var(--terra); scale: 1.12; }
.v-dot.is-active::before { opacity: .55; scale: 1; }

/* légende */
.v-anat__list { display: grid; gap: 4px; }
.v-part {
  display: grid; grid-template-columns: 34px 1fr; gap: 16px;
  padding: clamp(16px, 1.8vw, 22px) 0;
  border-bottom: 0; border-radius: 12px;
  transition: padding-left .35s var(--ease), background .35s var(--ease);
  cursor: default;
}
.v-part:hover, .v-part:focus-within { background: rgba(16,58,64,.045); padding-left: 14px; }
.v-part__num {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid var(--green); color: var(--green);
  font-family: var(--font-head); font-weight: 700; font-size: 13px; line-height: 1;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.v-part:hover .v-part__num, .v-part:focus-within .v-part__num { background: var(--terra); border-color: var(--terra); color: #fff; }
.v-part h3 { font-size: clamp(19px, 2.1vw, 23px); }
.v-part p { color: var(--muted); font-size: 15px; margin-top: 4px; max-width: 46ch; }
.v-part__mat { font-family: var(--font-head); font-size: 12.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--terra-dark); margin-top: 8px; }

@media (max-width: 900px) {
  .v-anat__layout { grid-template-columns: 1fr; }
  .v-anat__figure { position: static; }
}

/* ---------- Route a quatre etapes ----------
   La « route de navigation » de la page reserver est concue pour trois etapes.
   La transformation du pont en compte quatre : seule la grille change, tout le
   reste du composant est repris tel quel. */
.route--4 .route__steps { grid-template-columns: repeat(4, 1fr); }
/* A quatre colonnes les cartes deviennent etroites : le texte respire mieux
   sans la contrainte de 30ch pensee pour trois. */
.route--4 .route__card p { max-width: 32ch; }
/* La ligne d'eau remonte au centre des marqueurs, qu'elle relie en passant
   derriere eux, au lieu de flotter sous la rangee. */
.route--4 .route__path { top: 6px; }
/* Sur fond sable, un blanc a 50 % laissait les cartes se confondre avec la
   section : on les detache. */
.route--4 .route__card { background: rgba(255,255,255,.72); }

@media (max-width: 1040px) {
  .route--4 .route__steps { grid-template-columns: repeat(2, 1fr); }
  .route--4 .route__path { display: none; }
}
@media (max-width: 760px) {
  .route--4 .route__steps { grid-template-columns: 1fr; }
}

/* ---------- Visuels affiches en entier ----------
   .media impose un aspect-ratio et recadre en `cover` : les rendus dont le
   rapport ne correspond pas au cadre se retrouvaient tronques. Ces deux
   utilitaires rendent la main a l'image. */

/* Rapport naturel, aucun recadrage. Pour une image seule dans sa colonne :
   c'est elle qui donne sa hauteur au bloc. */
.media--free { aspect-ratio: auto; }
.media--free img { height: auto; display: block; }

/* Cadre commun, plus haut que le 16/10 d'origine. Dans une grille les cartes
   doivent s'aligner alors que les visuels n'ont pas le meme rapport : on garde
   donc `cover`, mais un cadre en 4/3 rogne beaucoup moins et laisse plus de
   place a l'image. Un `contain` supprimerait tout recadrage, au prix de bandes
   vides differentes sur chaque carte — teste, et visuellement moins bon. */
.media--frame { aspect-ratio: 4 / 3; background: var(--paper); }

/* Les sections en deux colonnes portees par une image donnent plus de place
   au visuel qu'au texte. */
.split--media { grid-template-columns: 1.25fr 1fr; }

@media (max-width: 820px) {
  .split--media { grid-template-columns: 1fr; }
}

/* ---------- Galerie « sous tous les angles » ---------- */
/* Les rendus n'ont pas tous le même blanc de studio : chaque visuel porte sa
   couleur de fond en inline (`--bg`), sinon une bande de raccord apparaît sur
   les côtés. Le JS reporte celle de la vignette choisie sur le grand cadre. */
/* Vignettes en colonne à gauche, grand cadre à droite (le DOM garde le cadre
   en premier, la grille les replace). */
.v-gal__layout {
  max-width: 920px;
  display: grid;
  grid-template-columns: clamp(72px, 8vw, 104px) 1fr;
  gap: clamp(14px, 1.6vw, 22px);
  align-items: start;
}
.v-gal__stage { grid-column: 2; grid-row: 1; min-width: 0; }
.v-gal__stage .media { border: 1px solid var(--line); aspect-ratio: 4 / 3; }
.v-gal__stage .media img { object-fit: contain; }
.v-gal__caption {
  font-family: var(--font-head); font-size: 14px; color: var(--muted);
  margin-top: 14px; min-height: 1.4em;
}
.v-gal__thumbs {
  grid-column: 1; grid-row: 1;
  display: grid; grid-template-columns: 1fr;
  gap: clamp(8px, 1vw, 14px);
}
.v-gal__thumb {
  aspect-ratio: 4 / 3; padding: 0; overflow: hidden; cursor: pointer;
  background: var(--bg, var(--paper)); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .4s var(--ease), transform .4s var(--ease);
}
.v-gal__thumb img { width: 100%; height: 100%; object-fit: contain; }
.v-gal__thumb:hover { transform: translateY(-2px); border-color: var(--terra); }
.v-gal__thumb.is-active { border-color: var(--terra); box-shadow: inset 0 0 0 1px var(--terra); }
.v-gal__thumb:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; }

@media (max-width: 700px) {
  /* En mobile, la colonne de gauche mangerait le cadre : les vignettes repassent
     sous le grand visuel. */
  .v-gal__layout { grid-template-columns: 1fr; }
  .v-gal__stage { grid-column: 1; grid-row: 1; }
  .v-gal__thumbs {
    grid-column: 1; grid-row: 2;
    grid-template-columns: repeat(3, 1fr);
    margin-top: clamp(16px, 2vw, 24px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .v-gal__thumb { transition: none; }
  .v-gal__thumb:hover { transform: none; }
}

/* ---------- Événements (mosaïque photo, légende sur scrim) ---------- */
.v-ev { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 1.6vw, 20px); }
.v-ev__tile {
  position: relative; display: block; overflow: hidden; border-radius: var(--radius-lg);
  aspect-ratio: 16 / 9; isolation: isolate;
}
.v-ev__tile img { width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s var(--ease); }
.v-ev__tile:hover img { transform: scale(1.05); }
.v-ev__tile::after { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, transparent 42%, rgba(10,20,23,.82)); }
.v-ev__cap { position: absolute; z-index: 2; inset: auto 0 0 0;
  padding: clamp(16px, 2vw, 24px); color: #fff; }
.v-ev__cap b { display: block; font-family: var(--font-display); font-stretch: 112%; font-weight: 600;
  font-size: clamp(18px, 2vw, 24px); line-height: 1.15; }
.v-ev__cap > span { display: block; margin-top: 5px; font-size: 14px; color: rgba(255,255,255,.82);
  max-width: 46ch; }
.v-ev__tile:focus-visible { outline: 3px solid var(--tan); outline-offset: 3px; }
@media (max-width: 720px) { .v-ev { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  .v-ev__tile img, .v-ev__tile:hover img { transition: none; transform: none; }
}

/* ---------- Matières & finitions ---------- */
/* Les cartes respirent au lieu d'etre collees : a 2px d'ecart la grille se
   lisait comme un tableau. */
.v-mat__grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(14px, 1.6vw, 20px); margin-top: clamp(28px, 4vw, 44px);
}
.v-mat__item {
  position: relative; overflow: hidden;
  background: linear-gradient(158deg, var(--paper), #f8f3e9);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(24px, 2.8vw, 34px);
  display: grid; grid-template-columns: 64px 1fr; gap: 20px; align-items: start;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
/* Filet terracotta qui se deploie du haut vers le bas au survol : reprend la
   vaguelette de la section « pourquoi », sans ajouter de nouveau motif. */
.v-mat__item::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--terra); transform: scaleY(0); transform-origin: top;
  transition: transform .45s var(--ease);
}
.v-mat__item:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: transparent; }
.v-mat__item:hover::before { transform: scaleY(1); }
/* L'echantillon devient lisible comme une matiere, pas comme une pastille de
   couleur : trame du bois, tissage de la toile, bandes du poli miroir. Tout est
   en CSS, aucune image a charger. */
.v-mat__swatch {
  width: 64px; height: 64px; border-radius: 14px; flex: none;
  position: relative; overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(20,32,31,.12), 0 6px 16px rgba(20,32,31,.14);
}
.v-mat__swatch::after {          /* reflet oblique : donne du relief a l'echantillon */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(255,255,255,.5) 0 18%, transparent 44%);
}
.v-mat__swatch[data-mat="elium"] { background: linear-gradient(150deg, #fff, #f1ece1 55%, #e3d9c8); }
.v-mat__swatch[data-mat="bois"] {
  background:
    repeating-linear-gradient(93deg, rgba(92,56,20,.11) 0 1.5px, transparent 1.5px 6px),
    linear-gradient(150deg, #e6c491, #b8874e);
}
.v-mat__swatch[data-mat="inox"] {
  background: linear-gradient(150deg, #fafcfc, #aab4b8 34%, #eef2f3 48%, #93a0a5 66%, #e2e7e9);
}
.v-mat__swatch[data-mat="toile"] {
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,.2) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(-45deg, rgba(40,25,10,.11) 0 1px, transparent 1px 3px),
    linear-gradient(150deg, #d3b189, #a5805a);
}

.v-mat__item h3 { font-size: 20px; }
.v-mat__item p { color: var(--muted); font-size: 14.5px; margin-top: 6px; }
/* Troisieme niveau de lecture, dans la micro-typo deja utilisee par l'anatomie. */
.v-mat__spec {
  font-family: var(--font-head); font-size: 12px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--terra-dark); margin-top: 12px;
}

@media (max-width: 720px) {
  .v-mat__grid { grid-template-columns: 1fr; }
  .v-mat__item { grid-template-columns: 52px 1fr; gap: 16px; }
  .v-mat__swatch { width: 52px; height: 52px; border-radius: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .v-mat__item, .v-mat__item::before { transition: none; }
  .v-mat__item:hover { transform: none; }
  .v-mat__item:hover::before { transform: scaleY(1); }
}

/* ---------- Fin de vie / recyclabilité ---------- */
.v-loop { position: relative; background: radial-gradient(120% 110% at 20% 0%, #23414a, #10242a 72%); color: #fff; overflow: hidden; isolation: isolate; }
.v-loop h2 { color: #fff; font-size: clamp(28px, 4vw, 46px); }
.v-loop p { color: rgba(255,255,255,.82); }
.v-loop .eyebrow { color: #e8c7b3; }
.v-loop__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); margin-top: clamp(30px, 4vw, 48px); }
.v-loop__cell { border-top: 1px solid rgba(255,255,255,.22); padding-top: 20px; }
.v-loop__cell h3 { color: #fff; font-size: 21px; margin-bottom: 6px; }
.v-loop__cell p { font-size: 15px; }
@media (max-width: 720px) { .v-loop__grid { grid-template-columns: 1fr; } }

/* ---------- Boucle de recyclage verre-Elium ---------- */
.v-elium {
  margin-top: clamp(44px, 6vw, 76px);
  display: grid; grid-template-columns: 1.1fr .9fr;
  gap: clamp(28px, 4vw, 56px); align-items: center;
  border-top: 1px solid rgba(255,255,255,.22); padding-top: clamp(32px, 4vw, 52px);
}
.v-elium__head { grid-column: 1 / -1; max-width: 62ch; }
.v-elium__head h3 { color: #fff; font-size: clamp(22px, 2.6vw, 30px); margin: 10px 0 12px; }
.v-elium__head p { font-size: 15.5px; }

/* Scene : l'ellipse tient la place, les pastilles se posent dessus en % */
.v-elium__viz { position: relative; width: 100%; aspect-ratio: 800 / 340; }
.v-elium__ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ve-track { stroke: url(#veFade); stroke-width: 1.6; }
.ve-flow  { stroke: #e8c7b3; stroke-width: 1.4; opacity: .5;
  stroke-dasharray: 3 12; stroke-linecap: round; animation: veFlow 9s linear infinite; }
@keyframes veFlow { to { stroke-dashoffset: -300; } }
.ve-runner { fill: #e8c7b3; }

/* Chaque libelle sort de l'anneau du cote ou il y a de la place : place
   systematiquement sous la pastille, il barrait le trait a gauche et a droite. */
/* Le bouton fait exactement la taille de la pastille : c'est elle qui doit
   tomber sur l'ellipse. Le libelle est sorti du flux et pousse vers l'exterieur
   de l'anneau, sinon il en barrait le trait. */
.ve-node {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
  width: 42px; height: 42px; padding: 0;
  background: none; border: 0; cursor: pointer;
  transition: transform .3s var(--ease);
}
.ve-node__label { position: absolute; }
.ve-node--top .ve-node__label    { bottom: calc(100% + 9px); left: 50%; transform: translateX(-50%); }
.ve-node--bottom .ve-node__label { top: calc(100% + 9px);    left: 50%; transform: translateX(-50%); }
.ve-node--left .ve-node__label   { right: calc(100% + 12px); top: 50%;  transform: translateY(-50%); }
.ve-node--right .ve-node__label  { left: calc(100% + 12px);  top: 50%;  transform: translateY(-50%); }
.ve-node__dot {
  width: 100%; height: 100%; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: 15px;
  color: #e8c7b3; background: rgba(16,36,42,.9);
  border: 1.5px solid rgba(232,199,179,.45);
  transition: background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.ve-node__label {
  font-family: var(--font-head); font-size: 12.5px; font-weight: 600;
  letter-spacing: .04em; color: rgba(255,255,255,.7); white-space: nowrap;
  transition: color .3s var(--ease);
}
.ve-node:hover { transform: translate(-50%, -50%) scale(1.06); }
.ve-node.is-active .ve-node__dot { background: var(--terra); border-color: var(--terra); color: #fff; }
.ve-node.is-active .ve-node__label { color: #fff; }
.ve-node:focus-visible { outline: 2px solid #e8c7b3; outline-offset: 4px; border-radius: 12px; }

/* Le texte se detache du fond : sans cadre il flottait a cote du schema sans
   qu'on voie qu'il en depend. */
.v-elium__panel {
  position: relative; min-height: 7em;
  background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px; padding: clamp(22px, 2.4vw, 30px);
}
.v-elium__panel p[data-step] { display: none; font-size: 16px; line-height: 1.7; }
.v-elium__panel p[data-step].is-active { display: block; }
.v-elium__note {
  margin-top: 16px; font-size: 12.5px !important;
  color: rgba(255,255,255,.5) !important;
}

@media (max-width: 900px) {
  .v-elium { grid-template-columns: 1fr; }
  /* Les libelles se chevauchent des que l'ellipse retrecit : ils passent sous
     la pastille et le texte est reduit. */
  .ve-node__label { font-size: 11px; }
  .ve-node { width: 34px; height: 34px; }
  .ve-node__dot { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .ve-flow { animation: none; }
  .ve-runner { display: none; }
  .ve-node, .ve-node:hover { transition: none; transform: translate(-50%, -50%); }
}

/* ---------- Bandeau de consentement ----------
   Encart discret en bas a gauche plutot qu'un voile plein ecran : le site ne
   depose rien avant le choix, rien ne justifie de bloquer la lecture. */
.fg-cookie {
  position: fixed; z-index: 200;
  left: clamp(12px, 2vw, 24px); bottom: clamp(12px, 2vw, 24px);
  width: min(calc(100vw - 24px), 420px);
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--line); border-radius: 20px;
  padding: clamp(20px, 2.4vw, 26px);
  box-shadow: 0 18px 48px rgba(20,32,31,.22);
  opacity: 0; transform: translateY(14px);
  transition: opacity .32s var(--ease), transform .32s var(--ease);
}
.fg-cookie.is-open { opacity: 1; transform: none; }
.fg-cookie__title { font-family: var(--font-head); font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.fg-cookie__text { font-size: 14px; line-height: 1.6; color: var(--muted); }

.fg-cookie__prefs { margin-top: 16px; display: grid; gap: 12px; }
/* `display: grid` l'emporte sur le `display: none` de l'attribut hidden : sans
   cette regle le panneau reste visible, avec une case a cocher que les boutons
   « Tout accepter » / « Refuser » ne prennent pas en compte. */
.fg-cookie__prefs[hidden] { display: none; }
.fg-cookie__row { display: grid; grid-template-columns: 18px 1fr; gap: 11px; align-items: start; cursor: pointer; }
.fg-cookie__row.is-locked { cursor: default; opacity: .72; }
.fg-cookie__row input { margin-top: 3px; accent-color: var(--terra); }
.fg-cookie__row strong { display: block; font-family: var(--font-head); font-size: 14px; }
.fg-cookie__row em { display: block; font-style: normal; font-size: 12.5px; line-height: 1.5; color: var(--muted); margin-top: 2px; }

.fg-cookie__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; }
.fg-cookie__actions .btn { padding: 11px 20px; font-size: 14px; }
.fg-cookie__link {
  background: none; border: 0; cursor: pointer; padding: 6px 2px;
  font-family: var(--font-head); font-size: 13.5px; font-weight: 600;
  color: var(--terra-dark); text-decoration: underline; text-underline-offset: 3px;
}
.fg-cookie__legal { margin-top: 12px; font-size: 12.5px; }
.fg-cookie__legal a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  .fg-cookie { transition: none; transform: none; }
}

/* ---------- Réglages responsive ---------- */
@media (max-width: 720px) {
  .v-specbar { grid-template-columns: repeat(2, 1fr); }
  
  
}

/* ---------- Accessibilité : mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  .v-hero__mesh span { animation: none; }
}
