/* Les Terriens — feuille de style
   Mise en page : le noir du caveau comme fond principal, des bandes « chaux » ponctuelles,
   photos plein cadre, texte en colonne étroite. Charte : noir, blanc, bois brut, rouge et or des étiquettes. */
/* Polices hébergées sur le site (aucun appel à Google) */
@font-face { font-family: "Jost"; src: url("fonts/jost-latin-300-normal.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("fonts/jost-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Spectral"; src: url("fonts/spectral-latin-300-normal.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Spectral"; src: url("fonts/spectral-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Spectral"; src: url("fonts/spectral-latin-300-italic.woff2") format("woff2"); font-weight: 300; font-style: italic; font-display: swap; }
:root {
  --noir: #121212;        /* murs et plafond du caveau, étiquettes */
  --noir-2: #1b1a19;      /* noir chaud pour les cartes */
  --chaux: #f1efea;       /* blanc des murs de la cuverie */
  --bois: #b08458;        /* chêne des barriques et des caisses */
  --bois-clair: #d6b48c;
  --or: #c9a55a;          /* dorure de l'étiquette Côte-Rôtie */
  --etiquette: #e30613;   /* rouge des vins rouges */
  --jaune: #ffd965;       /* jaune des vins blancs */
  --gris: #6d6a66;
  --gris-clair: #a9a5a0;

  --f-titre: "Jost", "Futura", "Century Gothic", "Avenir Next", sans-serif;
  --f-texte: "Spectral", "Georgia", "Times New Roman", serif;
  --mesure: 64ch;
  --large: 1200px;
  --gouttiere-g: max(20px, env(safe-area-inset-left, 0px));
  --gouttiere-d: max(20px, env(safe-area-inset-right, 0px));

  /* Contexte par défaut : sombre */
  --fond: var(--noir);
  --texte: var(--chaux);
  --sourd: var(--gris-clair);
  --ligne: rgba(255,255,255,.14);
  --accent: var(--bois-clair);
  --rouge: var(--etiquette);
  color-scheme: dark;
}
.clair {
  --fond: var(--chaux);
  --texte: var(--noir);
  --sourd: var(--gris);
  --ligne: rgba(18,18,18,.14);
  --accent: var(--bois);
  --rouge: #e30613;
  background: var(--fond); color: var(--texte);
  color-scheme: light;
}

[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0; background: var(--fond); color: var(--texte);
  font-family: var(--f-texte); font-size: 1.1rem; line-height: 1.65; font-weight: 300;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

h1, h2, h3, .surtitre, .btn, nav, label, .chip, .legende {
  font-family: var(--f-titre); font-weight: 300; letter-spacing: .14em; text-transform: uppercase;
}
h1, h2, h3 { text-wrap: balance; line-height: 1.15; margin: 0; }
h1 { font-size: clamp(2rem, 5vw, 3.6rem); letter-spacing: .16em; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.15rem; letter-spacing: .12em; }
p { margin: 0; }
.surtitre { font-size: .78rem; letter-spacing: .28em; color: var(--accent); display: block; }
.note { font-size: .92rem; color: var(--sourd); }

.wrap { max-width: var(--large); margin: 0 auto; padding-left: var(--gouttiere-g); padding-right: var(--gouttiere-d); }
.etroit { max-width: calc(var(--mesure) + 40px); }
.bande { padding-block: clamp(64px, 10vw, 128px); }
.pile { display: flex; flex-direction: column; gap: 1.25rem; }
.filet { border-top: 1px solid var(--ligne); }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  font-size: .8rem; letter-spacing: .2em; padding: 1em 1.8em; min-height: 48px;
  border: 1px solid currentColor; background: transparent; color: inherit;
  text-decoration: none; cursor: pointer; transition: background .25s, color .25s, border-color .25s;
}
.btn:hover { background: var(--texte); color: var(--fond); border-color: var(--texte); }
.btn-plein { background: var(--texte); color: var(--fond); border-color: var(--texte); }
.btn-plein:hover { background: var(--accent); border-color: var(--accent); color: var(--noir); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* En-tête */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--noir); }
.entete {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(18,18,18,.94); color: var(--chaux);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.entete .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.marque { display: block; padding-block: 8px; text-decoration: none; }
.marque img { height: 58px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 30px); font-size: .76rem; letter-spacing: .2em; }
.nav a { text-decoration: none; padding-block: 8px; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--bois-clair); }
.nav .btn { padding: .75em 1.2em; min-height: 40px; font-size: .72rem; }
.burger { display: none; background: none; border: 1px solid rgba(255,255,255,.2); color: var(--chaux); width: 44px; height: 44px; cursor: pointer; }
.burger span, .burger span::before, .burger span::after { display: block; width: 18px; height: 1px; background: currentColor; margin: 0 auto; position: relative; content: ""; }
.burger span::before { position: absolute; top: -6px; } .burger span::after { position: absolute; top: 6px; }
@media (max-width: 920px) {
  .burger { display: block; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--noir); padding: 8px var(--gouttiere-d) 20px var(--gouttiere-g); border-bottom: 1px solid rgba(255,255,255,.12); }
  .nav a { padding-block: 14px; border-bottom: 1px solid rgba(255,255,255,.12); }
  .nav .btn { margin-top: 16px; }
  .nav:not(.ouvert) { display: none; }
}

/* Héros */
.hero { position: relative; color: var(--chaux); background: var(--noir); overflow: hidden; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .6; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,18,18,.2) 0%, rgba(18,18,18,.85) 100%); }
.hero .wrap { position: relative; z-index: 1; padding-block: clamp(96px, 16vw, 200px) clamp(56px, 8vw, 96px); display: flex; flex-direction: column; gap: 28px; }
.hero .logo { width: clamp(150px, 20vw, 230px); }
.accroche { font-size: clamp(1.15rem, 2vw, 1.4rem); max-width: 42ch; font-style: italic; }
.hero-page .wrap { padding-block: clamp(80px, 12vw, 150px) clamp(40px, 6vw, 72px); }

/* Blocs texte + image */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.duo > * { min-width: 0; }
.duo.inverse > :first-child { order: 2; }
.duo figure { margin: 0; }
.duo figure img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
@media (max-width: 820px) { .duo { grid-template-columns: 1fr; } .duo.inverse > :first-child { order: 0; } .duo figure img { aspect-ratio: 4/3; } }
.lettrine::first-letter { font-family: var(--f-titre); font-size: 3.2em; float: left; line-height: .9; padding: .06em .12em 0 0; color: var(--accent); }
.citation { font-family: var(--f-titre); text-transform: uppercase; letter-spacing: .18em; font-size: clamp(1rem, 2vw, 1.3rem); line-height: 1.6; border-top: 1px solid var(--ligne); padding-top: 1.25rem; }

/* Étapes vigne → verre (séquence réelle) */
.etapes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; margin-top: 48px; }
.etape { background: var(--noir-2); min-width: 0; }
.etape img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.etape div { padding: 22px 20px 28px; display: flex; flex-direction: column; gap: .6rem; }
.etape .num { font-family: var(--f-titre); color: var(--bois-clair); font-size: .8rem; letter-spacing: .24em; }
.etape p { font-size: .98rem; color: var(--gris-clair); }
.etape h3 { color: var(--chaux); }
@media (max-width: 920px) { .etapes { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .etapes { grid-template-columns: 1fr; } .etape img { aspect-ratio: 16/10; } }

/* Liste des cuvées (accueil) */
.cuvees-grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: start; margin-top: 40px; }
.cuvees-grille figure { margin: 0; position: sticky; top: 100px; }
.cuvees-grille figure img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
@media (max-width: 820px) { .cuvees-grille { grid-template-columns: 1fr; } .cuvees-grille figure { position: static; } .cuvees-grille figure img { aspect-ratio: 16/10; } }
.cuvees { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ligne); }
.cuvees li { border-bottom: 1px solid var(--ligne); }
.cuvees a { display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 16px; align-items: baseline; padding: 15px 0; text-decoration: none; transition: padding .25s; }
.cuvees a:hover { padding-left: 10px; }
.cuvees .nom { font-family: var(--f-titre); text-transform: uppercase; letter-spacing: .14em; font-size: 1rem; }
.cuvees .appel { color: var(--sourd); font-size: .92rem; }
.chip { font-size: .64rem; letter-spacing: .2em; padding: .35em .8em; border: 1px solid currentColor; white-space: nowrap; }
.chip.rouge { color: var(--rouge); } .chip.blanc { color: var(--jaune); }
@media (max-width: 600px) { .cuvees a { grid-template-columns: 1fr auto; } .cuvees .appel { grid-column: 1; grid-row: 2; } .cuvees .chip { grid-row: 1 / span 2; align-self: center; } }

/* Bandeau photo */
.plein { position: relative; min-height: clamp(340px, 50vw, 600px); display: flex; align-items: flex-end; color: var(--chaux); background: var(--noir); overflow: hidden; }
.plein > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.plein::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,18,18,.9) 0%, rgba(18,18,18,.55) 50%, rgba(18,18,18,.1) 100%); }
.plein .wrap { position: relative; z-index: 1; width: 100%; padding-block: 48px; }
.photo-bande { margin: 0; background: var(--noir); }
.photo-bande img { width: 100%; height: clamp(260px, 42vw, 520px); object-fit: cover; }

/* Fiches vins */
.filtres { display: flex; flex-wrap: wrap; gap: 8px; }
.filtres button { font-family: var(--f-titre); text-transform: uppercase; letter-spacing: .18em; font-size: .74rem; padding: .8em 1.3em; min-height: 44px; background: transparent; border: 1px solid var(--ligne); cursor: pointer; color: var(--texte); }
.filtres button[aria-pressed="true"] { background: var(--texte); color: var(--fond); border-color: var(--texte); }
.sommaire { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .9rem; color: var(--sourd); }
.sommaire a { text-decoration: none; } .sommaire a:hover { color: var(--texte); }
.fiche { display: grid; grid-template-columns: 56px minmax(0, 300px) minmax(0, 1fr); gap: clamp(20px, 4vw, 52px); padding-block: 52px; border-bottom: 1px solid var(--ligne); scroll-margin-top: 90px; }
.fiche .rang { font-family: var(--f-titre); font-size: .8rem; letter-spacing: .2em; color: var(--sourd); padding-top: .35em; }
.fiche-tete { display: flex; flex-direction: column; gap: 14px; }
.fiche-tete h3 { font-size: clamp(1.35rem, 2.6vw, 1.8rem); letter-spacing: .14em; }
.fiche-tete h3 small { display: block; font-size: .5em; letter-spacing: .24em; color: var(--sourd); margin-top: .5em; }
.appellation { font-family: var(--f-titre); text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; }
.appellation.rouge { color: var(--rouge); } .appellation.blanc { color: var(--jaune); }
.faits { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 6px 0 0; font-size: .95rem; }
.faits dt { font-family: var(--f-titre); text-transform: uppercase; letter-spacing: .16em; font-size: .68rem; color: var(--sourd); padding-top: .35em; }
.faits dd { margin: 0; }
.fiche-texte { display: flex; flex-direction: column; gap: 1rem; max-width: var(--mesure); }
@media (max-width: 860px) { .fiche { grid-template-columns: 1fr; gap: 18px; } .fiche .rang { padding-top: 0; } }

/* Galerie */
.galerie { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 6px; margin-top: 40px; }
.galerie button { padding: 0; border: 0; background: var(--noir-2); cursor: zoom-in; overflow: hidden; display: block; }
.galerie img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .5s, opacity .3s; }
.galerie button:hover img { transform: scale(1.04); opacity: .9; }
.visionneuse { position: fixed; inset: 0; z-index: 100; margin: 0; background: rgba(10,10,10,.97); display: flex; align-items: center; justify-content: center;
  padding: calc(64px + env(safe-area-inset-top, 0px)) max(72px, env(safe-area-inset-right, 0px)) calc(64px + env(safe-area-inset-bottom, 0px)) max(72px, env(safe-area-inset-left, 0px)); }
.visionneuse img { max-height: 100%; max-width: 100%; object-fit: contain; }
.visionneuse button { position: absolute; z-index: 2; background: rgba(18,18,18,.7); border: 1px solid rgba(255,255,255,.3); color: var(--chaux); width: 52px; height: 52px; cursor: pointer; font-family: var(--f-titre); font-size: 1.5rem; line-height: 1; }
.visionneuse button:hover { background: var(--chaux); color: var(--noir); }
.visionneuse .fermer { top: calc(14px + env(safe-area-inset-top, 0px)); right: max(14px, env(safe-area-inset-right, 0px)); }
.visionneuse .prec { left: max(10px, env(safe-area-inset-left, 0px)); top: 50%; transform: translateY(-50%); }
.visionneuse .suiv { right: max(10px, env(safe-area-inset-right, 0px)); top: 50%; transform: translateY(-50%); }
.visionneuse figcaption { position: absolute; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); left: 16px; right: 16px; text-align: center; color: var(--gris-clair); font-size: .9rem; }
@media (max-width: 600px) { .visionneuse { padding-left: 8px; padding-right: 8px; } .visionneuse .prec, .visionneuse .suiv { top: auto; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); transform: none; } }

/* Formulaires */
.formulaire { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.formulaire .pleine { grid-column: 1 / -1; }
.champ { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
label, .legende { font-size: .72rem; letter-spacing: .2em; color: var(--sourd); }
input, select, textarea {
  font: inherit; font-size: 1rem; color: inherit; background: transparent; width: 100%;
  border: 0; border-bottom: 1px solid var(--ligne); padding: 10px 2px; border-radius: 0; min-height: 46px;
}
select option { background: var(--fond); color: var(--texte); }
input:focus, select:focus, textarea:focus { outline: none; border-bottom-color: var(--accent); }
textarea { min-height: 120px; resize: vertical; }
fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
fieldset legend { margin-bottom: 10px; padding: 0; }
.choix { position: relative; }
.choix input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choix span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.1em; border: 1px solid var(--ligne); cursor: pointer; font-family: var(--f-titre); text-transform: uppercase; letter-spacing: .14em; font-size: .74rem; color: var(--texte); }
.choix input:checked + span { background: var(--bois); border-color: var(--bois); color: var(--noir); }
.choix input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.confirmation { border: 1px solid var(--accent); padding: 20px 22px; }
@media (max-width: 640px) { .formulaire { grid-template-columns: 1fr; } }

/* Infos pratiques */
.infos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--ligne); border: 1px solid var(--ligne); margin-top: 40px; }
.infos > div { background: var(--fond); padding: 28px 24px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.infos .val { font-size: 1.05rem; overflow-wrap: anywhere; }
@media (max-width: 760px) { .infos { grid-template-columns: 1fr; } }
.carte { margin-top: 32px; border: 1px solid var(--ligne); background: var(--noir); position: relative; }
.carte iframe { display: block; width: 100%; height: 420px; border: 0; filter: grayscale(1) contrast(1.05); }
.carte-statique { position: relative; min-height: 320px; display: flex; align-items: flex-end; color: var(--chaux); }
.carte-statique img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.carte-statique div { position: relative; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.itineraires { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 40px; }
.itineraires > div { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
@media (max-width: 760px) { .itineraires { grid-template-columns: 1fr; } }

/* Pied de page */
.pied { background: #0b0b0b; color: var(--gris-clair); padding-block: 72px 40px; font-size: .95rem; border-top: 1px solid rgba(255,255,255,.08); }
.pied-grille { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 40px; }
.pied-grille > * { min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.pied h3, .pied h2 { font-family: var(--f-titre); text-transform: uppercase; font-weight: 400; line-height: 1.4; max-width: none; color: var(--chaux); font-size: .78rem; letter-spacing: .24em; margin-bottom: 6px; }
.pied a { text-decoration: none; } .pied a:hover { color: var(--chaux); }
.pied .logo { width: 120px; }
.pied form { display: flex; border-bottom: 1px solid rgba(255,255,255,.2); }
.pied form input { border: 0; min-width: 0; color: var(--chaux); }
.pied form button { background: none; border: 0; color: var(--bois-clair); font-family: var(--f-titre); text-transform: uppercase; letter-spacing: .18em; font-size: .72rem; cursor: pointer; padding: 0 4px; min-height: 46px; }
.reseaux { display: flex; gap: 18px; }
.legal { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .82rem; }
@media (max-width: 920px) { .pied-grille { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .pied-grille { grid-template-columns: 1fr; } }

/* Bouton réservation flottant (mobile) */
.reserver-flottant { display: none; }
@media (max-width: 620px) {
  .reserver-flottant { display: flex; position: fixed; z-index: 40; left: 0; right: 0; bottom: 0;
    padding: 10px var(--gouttiere-d) calc(10px + env(safe-area-inset-bottom, 0px)) var(--gouttiere-g); background: rgba(18,18,18,.96); border-top: 1px solid rgba(255,255,255,.12); }
  .reserver-flottant .btn { width: 100%; background: var(--chaux); color: var(--noir); border-color: var(--chaux); }
  body.avec-flottant { padding-bottom: 72px; }
}

.mentions h2 { font-size: 1.1rem; margin-top: 2.2rem; }
.a-completer { background: #fff3c4; color: #5b4500; padding: 0 .3em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Accueil : photo principale moins assombrie */
.hero-accueil > img { opacity: .9; }
.hero-accueil::after { background: linear-gradient(180deg, rgba(18,18,18,.05) 0%, rgba(18,18,18,.15) 45%, rgba(18,18,18,.7) 100%); }
.hero-accueil .accroche, .hero-accueil .logo { filter: drop-shadow(0 1px 8px rgba(0,0,0,.45)); }

/* Bandeau Instagram */
.insta { background: var(--noir); padding-block: clamp(56px, 8vw, 96px); border-top: 1px solid rgba(255,255,255,.08); }
.insta-tete { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 32px; }
.insta-grille { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; }
.insta-grille a { display: block; overflow: hidden; background: var(--noir-2); }
.insta-grille img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .5s, opacity .3s; }
.insta-grille a:hover img { transform: scale(1.05); opacity: .85; }
@media (max-width: 820px) { .insta-grille { grid-template-columns: repeat(3, 1fr); } }

.infos-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 760px) { .infos-2 { grid-template-columns: 1fr; } }

/* Grille des vins */
.vins-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 28px 20px; margin-top: 36px; }
.vins-grille.petite { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); max-width: 900px; }
.carte-vin { min-width: 0; }
.carte-vin a { display: flex; flex-direction: column; height: 100%; text-decoration: none; background: var(--noir-2); border: 1px solid var(--ligne); transition: border-color .25s; }
.clair .carte-vin a { background: #fff; }
.carte-vin a:hover { border-color: var(--accent); }
.carte-photo { position: relative; overflow: hidden; }
.carte-photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .6s; }
.carte-vin a:hover .carte-photo img { transform: scale(1.04); }
.carte-photo .rang { position: absolute; top: 12px; left: 12px; font-family: var(--f-titre); font-size: .72rem; letter-spacing: .2em; background: rgba(18,18,18,.75); color: var(--chaux); padding: .35em .6em; }
.carte-corps { padding: 20px 20px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.carte-corps h2 { font-size: 1.15rem; letter-spacing: .14em; }
.carte-corps h2 small { display: block; font-size: .62em; letter-spacing: .22em; color: var(--sourd); margin-top: .4em; }
.carte-corps p { font-size: .95rem; color: var(--sourd); }
.lien-fiche { margin-top: auto; padding-top: 10px; font-family: var(--f-titre); text-transform: uppercase; letter-spacing: .2em; font-size: .7rem; color: var(--accent); }

/* Page d'un vin */
.fil { font-size: .85rem; color: var(--gris-clair); }
.fil a { text-decoration: none; } .fil a:hover { color: var(--chaux); }
.h1-sous { color: var(--accent); }
.fiche-vin { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.fiche-vin .fiche-texte { font-size: 1.15rem; }
@media (max-width: 820px) { .fiche-vin { grid-template-columns: 1fr; } }
.voisins { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center; border-top: 1px solid var(--ligne); border-bottom: 1px solid var(--ligne); padding-block: 22px; }
.voisins a { text-decoration: none; display: flex; flex-direction: column; gap: 4px; font-family: var(--f-titre); text-transform: uppercase; letter-spacing: .14em; min-width: 0; }
.voisins a.droite { text-align: right; }
.voisins a.tous { font-size: .72rem; letter-spacing: .2em; border: 1px solid currentColor; padding: .9em 1.4em; }
.voisins a:hover span:last-child { color: var(--accent); }
@media (max-width: 640px) { .voisins { grid-template-columns: 1fr 1fr; } .voisins a.tous { grid-column: 1 / -1; grid-row: 2; text-align: center; } }

/* Fiche détaillée d'un vin */
.detail-vin { border-top: 1px solid var(--ligne); padding-top: clamp(48px, 7vw, 88px); }
.detail-grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--ligne); border: 1px solid var(--ligne); margin-top: 40px; }
.detail-bloc { background: var(--fond); padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.detail-bloc .num { font-family: var(--f-titre); font-size: .75rem; letter-spacing: .24em; color: var(--accent); }
.detail-bloc h3 { font-size: 1.05rem; }
.detail-bloc dl { margin: 0; display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 12px 18px; }
.detail-bloc dt { font-family: var(--f-titre); text-transform: uppercase; letter-spacing: .16em; font-size: .68rem; color: var(--sourd); padding-top: .4em; }
.detail-bloc dd { margin: 0; }
@media (max-width: 760px) { .detail-grille { grid-template-columns: 1fr; } .detail-bloc dl { grid-template-columns: 1fr; gap: 4px; } .detail-bloc dd { margin-bottom: 10px; } }

.badge-bio { align-self: flex-start; font-family: var(--f-titre); text-transform: uppercase; letter-spacing: .18em; font-size: .66rem; padding: .45em .9em; border: 1px solid #8fae6b; color: #a9c788; }
.carte-photo .badge-bio { position: absolute; top: 12px; right: 12px; background: rgba(18,18,18,.78); }

/* Code couleur des vins : rouge pour les rouges, doré pour les blancs */
.vin-rouge { --accent: var(--etiquette); }
.vin-blanc { --accent: var(--jaune); }
.vin-rouge .btn-plein:hover, .vin-blanc .btn-plein:hover { background: var(--accent); border-color: var(--accent); color: var(--noir); }
.vin-rouge .btn-plein:hover { color: var(--chaux); }
.vin-rouge .faits dt, .vin-blanc .faits dt { color: var(--accent); opacity: .85; }
.vin-rouge .carte-vin a:hover, .vin-blanc .carte-vin a:hover { border-color: var(--accent); }
.vin-rouge .voisins a:hover span:last-child, .vin-blanc .voisins a:hover span:last-child { color: var(--accent); }
.carte-vin[data-couleur="rouge"] { --accent: var(--etiquette); }
.carte-vin[data-couleur="blanc"] { --accent: var(--jaune); }

/* Sur fond clair, version un peu plus soutenue pour rester lisible */

/* Bouteille détourée : vignette et page du vin */
.vignette-bouteille { aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; padding-block: 14px;
  background: radial-gradient(ellipse at 50% 60%, #2a2826 0%, #161515 70%); }
.vignette-bouteille img { height: 100%; width: auto; aspect-ratio: auto; object-fit: contain; filter: drop-shadow(0 10px 14px rgba(0,0,0,.6)); transition: transform .6s; }
.carte-vin a:hover .vignette-bouteille img { transform: translateY(-4px) scale(1.03); }
.fiche-vin.avec-bouteille { grid-template-columns: 170px minmax(0, 340px) minmax(0, 1fr); gap: clamp(28px, 4.5vw, 72px); }
.bouteille-vin { margin: -150px 0 0; position: relative; z-index: 2; display: flex; justify-content: center; }
.bouteille-vin img { height: 560px; width: auto; max-width: 100%; object-fit: contain; filter: drop-shadow(0 24px 30px rgba(0,0,0,.65)); }
@media (max-width: 1020px) { .fiche-vin.avec-bouteille { grid-template-columns: 150px minmax(0, 1fr); } .fiche-vin.avec-bouteille .fiche-texte { grid-column: 2; } .bouteille-vin img { height: 500px; } }
@media (max-width: 640px) { .fiche-vin.avec-bouteille { grid-template-columns: 1fr; } .fiche-vin.avec-bouteille .fiche-texte { grid-column: auto; }
  .bouteille-vin { margin: -110px 0 0; } .bouteille-vin img { height: 340px; } }

/* Photo du haut éclaircie (page Ainsi soit-il) */
.hero-clair > img { opacity: .92; filter: brightness(1.12); }
.hero-clair::after { background: linear-gradient(90deg, rgba(18,18,18,.55) 0%, rgba(18,18,18,.15) 55%, rgba(18,18,18,0) 100%), linear-gradient(180deg, rgba(18,18,18,0) 40%, rgba(18,18,18,.7) 100%); }
.hero-clair .wrap { text-shadow: 0 1px 10px rgba(0,0,0,.55); }

/* Bas des pages de vins : fond noir pour garder le rouge et le jaune partout */
.suite-vins { background: #0f0f0f; border-top: 1px solid var(--ligne); }
.suite-vins .carte-vin a { background: var(--noir-2); }

/* Icônes réseaux sociaux */
.reseaux { display: flex; gap: 10px; align-items: center; }
.reseaux { gap: 14px; }
.reseaux a { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; color: var(--chaux); transition: color .25s, transform .25s; }
.reseaux a svg { width: 22px; height: 22px; }
.reseaux a:hover { color: var(--bois-clair); transform: translateY(-1px); }
.btn svg { width: 16px; height: 16px; flex: none; }

/* Mosaïque photo animée */
.mosaique { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: clamp(32px, 5vw, 56px); }
.mosaique figure { margin: 0; overflow: hidden; }
.mosaique img { width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.mosaique figure:hover img { transform: scale(1.05); }
@media (max-width: 820px) {
  .mosaique { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; margin-inline: -16px; padding: 0 16px 8px; scrollbar-width: none; }
  .mosaique::-webkit-scrollbar { display: none; }
  .mosaique figure { flex: 0 0 68%; scroll-snap-align: center; }
  .mosaique figure:nth-child(even) { margin-top: 0; }
}
.js .apparait { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.js .apparait.vu { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .apparait { opacity: 1; transform: none; transition: none; } .mosaique img { transition: none; } }
.mosaique-seule .mosaique { margin-top: 0; }

/* En-têtes plus lumineux : pages vins et caveau */
.hero-vin > img { opacity: .82; }
.hero-vin::after { background: linear-gradient(90deg, rgba(18,18,18,.6) 0%, rgba(18,18,18,.2) 50%, rgba(18,18,18,0) 75%), linear-gradient(180deg, rgba(18,18,18,0) 30%, rgba(18,18,18,.7) 100%); }
.hero-vin .wrap, .hero-doux .wrap { text-shadow: 0 1px 12px rgba(0,0,0,.5); }
.hero-vin.hero-clair > img { opacity: .92; }
.hero-doux > img { opacity: .85; }
.hero-doux::after { background: linear-gradient(90deg, rgba(18,18,18,.6) 0%, rgba(18,18,18,.2) 50%, rgba(18,18,18,0) 75%), linear-gradient(180deg, rgba(18,18,18,0) 30%, rgba(18,18,18,.7) 100%); }

/* Cuvée précédente / suivante : couleur du vin visé au survol */
.voisins a.vers-rouge:hover span:last-child, .vin-blanc .voisins a.vers-rouge:hover span:last-child { color: var(--etiquette); }
.voisins a.vers-blanc:hover span:last-child, .vin-rouge .voisins a.vers-blanc:hover span:last-child { color: var(--jaune); }
.piege { display: none !important; }
.merci-nl { color: var(--bois-clair); }

/* Accueil : en-tête centré */
.hero-accueil .wrap { align-items: center; text-align: center; }
.hero-accueil .accroche { margin-inline: auto; }
.hero-accueil .actions { justify-content: center; }
.hero-accueil::after { background: radial-gradient(ellipse 60% 55% at 50% 55%, rgba(18,18,18,.32) 0%, rgba(18,18,18,0) 100%), linear-gradient(180deg, rgba(18,18,18,.05) 0%, rgba(18,18,18,.15) 45%, rgba(18,18,18,.7) 100%); }

.carte.chargee .carte-statique { display: none; }

/* Sélecteur de langue FR / EN */
.nav a.langue { font-size: .72rem; letter-spacing: .2em; text-decoration: none; opacity: .75; padding: .3em .2em; border-bottom: 1px solid transparent; }
.nav a.langue:hover { opacity: 1; border-bottom-color: currentColor; }
