/* Clos Aurède, domaine viticole près de Lagrasse (Corbières). Démonstration de la formule Pro.
   Principe « la cave et le coteau » : un fond brun-noir de schiste, une grande photo de vigne au crépuscule fondue dans l'ombre
   par des dégradés et une lueur chaude (jamais de voile clair), un seul accent, la paille dorée, et une touche de lie-de-vin
   réservée aux filets et aux pastilles de couleur. Gloock (titres) et Karla (texte).
   Pas de vente en ligne : le bouton principal mène à la réservation d'une visite. */

:root {
  color-scheme: dark;
  --nuit: #0E0A08;
  --cave: #150F0B;
  --brun: #1E1510;
  --terre: #2A1D14;
  --creme: #F2E8D5;
  --sable: #CDBD9F;
  --paille: #E2B95B;
  --paille-clair: #F3D58E;
  --lie: #6B1F2E;
  --filet: rgba(226, 185, 91, 0.26);
  --filet-fort: rgba(226, 185, 91, 0.58);
  --titre: "Gloock", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --texte: "Karla", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --marge: clamp(1.1rem, 5vw, 2.75rem);
  --souffle: clamp(3.5rem, 9vw, 7.5rem);
  --haut: 3.75rem;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .92 0 0 0 0 .78 0 0 0 .9 -.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--nuit); scroll-padding-top: 5rem; }
body { margin: 0; background: var(--nuit); color: var(--creme); font: 400 1.125rem/1.65 var(--texte); font-synthesis: none; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, p, ul, ol, figure, address, table, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: inherit; }
address { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--paille); outline-offset: 3px; }
::selection { background: var(--paille); color: var(--nuit); }
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; }
.saut { position: absolute; left: .5rem; top: -4rem; z-index: 100; background: var(--paille); color: var(--nuit); padding: .7rem 1.1rem; font-weight: 600; }
.saut:focus { top: .5rem; }
.l { width: min(100% - 2 * var(--marge), 78rem); margin-inline: auto; }
.sym { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ───────── En-tête ───────── */
.tete { position: relative; z-index: 60; }
.js .tete { position: fixed; top: 0; left: 0; right: 0; transition: background-color .35s ease, box-shadow .35s ease; }
.js .tete.est-fixe { background: rgba(14, 10, 8, 0.95); box-shadow: 0 1px 0 var(--filet), 0 14px 30px -18px rgba(0, 0, 0, .9); }
.tete-l { position: relative; display: flex; align-items: center; gap: .6rem; flex-wrap: nowrap; min-height: var(--haut); padding-block: .45rem; }
html:not(.js) .tete-l { flex-wrap: wrap; }
.marque { display: inline-flex; align-items: center; gap: .6rem; margin-right: auto; text-decoration: none; color: var(--creme); }
.marque svg { width: 1.9rem; height: 1.9rem; flex: none; color: var(--paille); }
.marque-n { font: 400 1.65rem/1 var(--titre); letter-spacing: .005em; white-space: nowrap; }
.marque-m { display: none; font: 600 .74rem/1.2 var(--texte); letter-spacing: .2em; text-transform: uppercase; color: var(--sable); }
.menu-b { display: none; align-items: center; justify-content: center; gap: .5rem; min-height: 2.75rem; min-width: 2.75rem; padding: 0 .85rem; border: 1px solid var(--paille); border-radius: 2px; background: rgba(14, 10, 8, .55); color: var(--creme); font: 600 .8125rem/1 var(--texte); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.menu-b:hover, .menu-b[aria-expanded="true"] { background: var(--paille); color: var(--nuit); }
.menu-b i, .menu-b i::before { display: block; width: 1.1rem; height: 2px; background: currentColor; border-radius: 2px; }
.menu-b i { position: relative; }
.menu-b i::before { content: ""; position: absolute; left: 0; top: -5px; width: 1.1rem; box-shadow: 0 10px 0 currentColor; }
.js .menu-b { display: inline-flex; }
.nav { flex-basis: 100%; order: 5; }
html:not(.js) .nav { padding-bottom: .3rem; }
.nav ul { display: flex; flex-wrap: wrap; gap: .1rem 1.4rem; padding-bottom: .5rem; }
.nav a { display: inline-flex; align-items: center; min-height: 2.5rem; font-size: 1.0625rem; text-decoration: none; color: var(--creme); }
.nav a:hover { color: var(--paille-clair); }
.nav a[aria-current="page"] { color: var(--paille); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .45em; }
.js .nav { display: none; }
.js .nav.ouvert { display: block; position: absolute; left: 0; right: 0; top: calc(100% + .2rem); margin: 0; padding: .4rem 1.1rem .5rem; background: rgba(21, 15, 11, .98); border: 1px solid var(--filet); border-radius: .6rem; box-shadow: 0 1.4rem 2.4rem -1rem rgba(0, 0, 0, .9); }
.js .nav ul { display: block; padding: 0; }
.js .nav li + li { border-top: 1px solid rgba(226, 185, 91, .16); }
.js .nav a { display: flex; min-height: 3.1rem; font: 400 1.5rem/1 var(--titre); }
.tete-resa { display: none; align-items: center; justify-content: center; min-height: 2.75rem; padding: 0 1.3rem; border: 1px solid var(--paille); border-radius: 2px; background: var(--paille); color: var(--nuit); text-decoration: none; font: 600 .78rem/1 var(--texte); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; transition: background-color .2s ease, color .2s ease; }
.tete-resa:hover { background: var(--nuit); color: var(--paille-clair); }
@media (min-width: 36rem) { .tete-resa { display: inline-flex; } }
@media (max-width: 23.5rem) { .marque svg { display: none; } .marque-n { font-size: 1.5rem; } }

@media (min-width: 75rem) {
  .tete-l { flex-wrap: nowrap; gap: 1.6rem; min-height: 5rem; }
  .js .menu-b { display: none; }
  .nav, .js .nav, .js .nav.ouvert { display: block; position: static; flex-basis: auto; order: 1; margin: 0 0 0 auto; padding: 0; background: none; border: 0; box-shadow: none; border-radius: 0; }
  .nav ul, .js .nav ul { display: flex; flex-wrap: nowrap; gap: 0 1.6rem; padding: 0; }
  .nav a, .js .nav a { display: inline-flex; min-height: 2.75rem; font: 400 1.0625rem/1 var(--texte); white-space: nowrap; }
  .js .nav li + li { border-top: 0; }
  .tete-resa { order: 2; min-height: 2.75rem; padding: 0 1.4rem; }
}
@media (min-width: 100rem) { .marque-m { display: inline; padding-left: .9rem; border-left: 1px solid var(--filet-fort); white-space: nowrap; } }

/* ───────── Boutons et liens ───────── */
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 3rem; padding: .55rem 1.7rem; border: 1px solid var(--paille); border-radius: 2px; background: var(--paille); color: var(--nuit); font: 600 .8125rem/1.3 var(--texte); letter-spacing: .12em; text-transform: uppercase; text-align: center; text-decoration: none; cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.bouton:hover { background: var(--nuit); color: var(--paille-clair); }
.bouton svg { width: 1.1rem; height: 1.1rem; flex: none; }
.gestes { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.6rem; margin-top: 1.7rem; }
.lien-sec { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: .55rem 1.5rem; border: 1px solid var(--paille); border-radius: 2px; background: transparent; color: var(--creme); font: 600 .8125rem/1.3 var(--texte); letter-spacing: .12em; text-transform: uppercase; text-align: center; text-decoration: none; transition: background-color .2s ease, color .2s ease; }
.lien-sec:hover { background: var(--paille); color: var(--nuit); }
.lien-seul { color: var(--paille-clair); text-decoration: underline; text-underline-offset: .25em; text-decoration-thickness: 1px; }
.lien-seul:hover { color: var(--creme); }
.tel { font: 400 2rem/1 var(--titre); text-decoration: none; color: var(--paille-clair); letter-spacing: .01em; white-space: nowrap; }
.tel:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .15em; }

/* ───────── Ouverture de l'accueil : le coteau au crépuscule ───────── */
.ouv { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; min-height: max(100svh, 34rem); background: var(--nuit); }
.ouv-photo { position: absolute; z-index: 0; inset: 0; }
.ouv-photo picture { height: 100%; }
.ouv-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 100% 40%; animation: sortir 2.6s cubic-bezier(.2, .7, .2, 1) both; }
.ouv-glow { position: absolute; z-index: 1; inset: 0; mix-blend-mode: screen; pointer-events: none; background: radial-gradient(ellipse 70% 30% at 70% 26%, rgba(255, 168, 66, .34), rgba(226, 120, 40, .12) 50%, rgba(226, 120, 40, 0) 78%); animation: lueur 3s ease-out both; }
.ouv-ombre { position: absolute; z-index: 2; inset: 0; pointer-events: none; background:
  linear-gradient(to top, #0E0A08 0, rgba(14, 10, 8, .95) 22%, rgba(14, 10, 8, .7) 40%, rgba(14, 10, 8, .18) 62%, rgba(14, 10, 8, 0) 80%),
  linear-gradient(to bottom, rgba(14, 10, 8, .72) 0, rgba(14, 10, 8, 0) 18%),
  radial-gradient(ellipse 95% 85% at 60% 40%, rgba(14, 10, 8, 0) 55%, rgba(0, 0, 0, .62) 100%); }
.ouv-grain, .grain::after { background-image: var(--grain); background-size: 160px; opacity: .07; mix-blend-mode: screen; pointer-events: none; }
.ouv-grain { position: absolute; z-index: 3; inset: 0; }
.ouv-texte { position: relative; z-index: 4; padding-bottom: clamp(2.2rem, 6svh, 4.5rem); padding-top: 7rem; }
.eyebrow { display: flex; align-items: center; gap: .8rem; font: 600 .8rem/1.3 var(--texte); letter-spacing: .2em; text-transform: uppercase; color: var(--paille); }
.eyebrow::before { content: ""; width: 2rem; height: 1px; background: var(--paille); flex: none; }
.ouv h1, .page-ouv h1 { margin-top: .8rem; font: 400 clamp(2.9rem, 2.3rem + 3.6vw, 4.6rem)/1.02 var(--titre); letter-spacing: -.012em; text-wrap: balance; color: var(--creme); text-shadow: 0 2px 34px rgba(0, 0, 0, .7); }
.nb { white-space: nowrap; }
.ouv h1 em, .page-ouv h1 em { font-style: normal; color: var(--paille-clair); }
.chapeau { max-width: 33rem; margin-top: 1.1rem; font-size: 1.1875rem; line-height: 1.55; color: var(--creme); text-wrap: pretty; text-shadow: 0 1px 18px rgba(0, 0, 0, .8); }
.ouv .gestes { margin-top: 1.6rem; }
.ouv-bas { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; margin-top: 1.5rem; padding-top: 1.1rem; border-top: 1px solid var(--filet); font-size: .98rem; color: var(--sable); }
.ouv-bas b { font-weight: 600; color: var(--paille-clair); }
@keyframes sortir { from { opacity: 0; transform: scale(1.1); } to { opacity: 1; transform: scale(1); } }
@keyframes lueur { from { opacity: 0; } to { opacity: 1; } }
/* téléphones : dégradé sombre derrière tout le bloc de texte (la ligne « Domaine viticole » tombait sur les feuilles) */
@media (max-width: 47.99rem) {
  .ouv-ombre { background:
    linear-gradient(to top, #0E0A08 0, rgba(14, 10, 8, .97) 34%, rgba(14, 10, 8, .9) 50%, rgba(14, 10, 8, .72) 60%, rgba(14, 10, 8, .3) 72%, rgba(14, 10, 8, 0) 86%),
    linear-gradient(to bottom, rgba(14, 10, 8, .72) 0, rgba(14, 10, 8, 0) 18%),
    radial-gradient(ellipse 95% 85% at 60% 40%, rgba(14, 10, 8, 0) 55%, rgba(0, 0, 0, .62) 100%); }
  .ouv .eyebrow { text-shadow: 0 1px 12px rgba(0, 0, 0, .9); }
}
/* téléphones bas : le titre et le bouton restent dans l'écran */
@media (max-height: 700px) { .ouv h1 { font-size: 2.6rem; } .ouv .chapeau, .ouv-bas { display: none; } .ouv .gestes { margin-top: 1.2rem; } .ouv-texte { padding-top: 5rem; } }
@media (max-width: 47.99rem) and (min-height: 701px) { .ouv-bas { display: none; } }

/* ordinateur et tablette en largeur : la photo remplit tout, le titre est posé dans l'ombre de gauche */
@media (min-width: 62rem) and (min-aspect-ratio: 5/4) {
  .ouv { height: max(100svh, 40rem); min-height: 40rem; max-height: 62rem; }
  .ouv-photo img { object-position: 50% 62%; }
  .ouv-glow { background: radial-gradient(ellipse 34% 34% at 78% 38%, rgba(255, 168, 66, .36), rgba(226, 120, 40, .12) 50%, rgba(226, 120, 40, 0) 78%); }
  .ouv-ombre { background:
    linear-gradient(90deg, rgba(14, 10, 8, .94) 0, rgba(14, 10, 8, .78) 26%, rgba(14, 10, 8, .28) 52%, rgba(14, 10, 8, 0) 72%),
    linear-gradient(to top, #0E0A08 0, rgba(14, 10, 8, .8) 16%, rgba(14, 10, 8, 0) 42%),
    linear-gradient(to bottom, rgba(14, 10, 8, .7) 0, rgba(14, 10, 8, 0) 20%),
    radial-gradient(ellipse 90% 85% at 60% 45%, rgba(14, 10, 8, 0) 55%, rgba(0, 0, 0, .55) 100%); }
  .ouv-texte { padding-top: 8rem; padding-bottom: clamp(2.5rem, 8svh, 5.5rem); }
  .ouv-texte > * { max-width: 36rem; }
  .ouv-texte .gestes, .ouv-texte .ouv-bas { max-width: none; }
  .ouv h1 { font-size: clamp(3.8rem, 1.2rem + 4.4vw, 6.4rem); max-width: 7em; }
  .ouv-bas { display: flex; max-width: 36rem; }
}

/* ───────── Ouverture des autres pages ───────── */
.page-ouv { position: relative; isolation: isolate; overflow: hidden; background: var(--nuit); padding-top: calc(var(--haut) + 4.4rem); }
.page-ouv .pg-photo { position: absolute; z-index: 0; inset: 0; }
.page-ouv .pg-photo picture { height: 100%; }
.page-ouv .pg-photo img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.page-ouv .pg-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(14, 10, 8, .55) 0, rgba(14, 10, 8, .5) 30%, rgba(14, 10, 8, .86) 68%, #0E0A08 100%); }
.page-ouv .pg-glow { position: absolute; z-index: 1; inset: 0; mix-blend-mode: screen; pointer-events: none; background: radial-gradient(ellipse 50% 70% at 74% 40%, rgba(255, 160, 60, .26), rgba(226, 120, 40, 0) 70%); }
.page-ouv .l { position: relative; z-index: 2; padding-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.page-ouv h1 { font-size: clamp(2.8rem, 2.1rem + 3.4vw, 5rem); max-width: 12em; }
.page-ouv .chapeau { margin-top: 1rem; }
.sommaire { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.sommaire a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 1.2rem; border: 1px solid var(--paille); border-radius: 2px; text-decoration: none; font: 600 .78rem/1.2 var(--texte); letter-spacing: .12em; text-transform: uppercase; background: rgba(14, 10, 8, .6); transition: background-color .2s ease, color .2s ease; }
.sommaire a:hover { background: var(--paille); color: var(--nuit); border-color: var(--paille); }
@media (min-width: 48rem) {
  .page-ouv { display: flex; align-items: flex-end; min-height: clamp(26rem, 60svh, 36rem); padding-top: calc(5rem + 3rem); }
  .page-ouv > .l { width: min(100% - 2 * var(--marge), 78rem); }
  .page-ouv h1 { max-width: 9em; }
  .page-ouv .pg-photo { inset: 0 0 0 30%; }
  .page-ouv .pg-photo::after { background: linear-gradient(90deg, #0E0A08 0, rgba(14, 10, 8, .62) 28%, rgba(14, 10, 8, 0) 64%), linear-gradient(to bottom, rgba(14, 10, 8, .65) 0, rgba(14, 10, 8, 0) 28%, rgba(14, 10, 8, 0) 70%, #0E0A08 100%); }
}

/* ───────── Sections ───────── */
.bloc { position: relative; padding-block: var(--souffle); }
.bloc > .l { position: relative; }
.bloc-brun { background: linear-gradient(180deg, var(--nuit) 0, var(--cave) 14%, var(--cave) 86%, var(--nuit) 100%); }
.bloc-lueur::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 55% 45% at 92% 8%, rgba(226, 150, 60, .12), rgba(226, 150, 60, 0) 70%); }
h2, .h2 { font: 400 clamp(2.1rem, 1.5rem + 2.6vw, 3.5rem)/1.08 var(--titre); letter-spacing: -.008em; color: var(--creme); text-wrap: balance; }
h2 em { font-style: normal; color: var(--paille-clair); }
h3 { font: 400 1.7rem/1.12 var(--titre); }
.etiquette { margin-bottom: .9rem; font: 600 .78rem/1.3 var(--texte); letter-spacing: .2em; text-transform: uppercase; color: var(--paille); }
.intro { max-width: 40rem; margin-top: 1rem; color: var(--sable); font-size: 1.1875rem; }
.petit { font-size: .95rem; line-height: 1.5; color: var(--sable); }
.texte p + p { margin-top: 1rem; }
.texte { color: var(--sable); max-width: 36rem; }
.texte b { font-weight: 600; color: var(--creme); }

/* cadre des photos de contenu : nettes, filet de paille, ombre profonde et lueur chaude autour (rien par-dessus) */
.cadre img, img.cadre { border-radius: 3px; box-shadow: 0 0 0 1px rgba(226, 185, 91, .24), 0 36px 70px -28px rgba(0, 0, 0, .95), 0 0 110px -36px rgba(226, 146, 70, .35); }

/* bouteille dessinée (aucune photo de produit) */
.cuvee-b { flex: none; width: 3rem; height: 10rem; }
.cuvee-b svg { display: block; width: 100%; height: 100%; filter: drop-shadow(0 18px 18px rgba(0, 0, 0, .7)); }

/* cuvées */
.cuvees { display: grid; gap: 1.2rem; margin-top: 2.2rem; }
.cuvee { --vin: #8A2438; --lueur: rgba(160, 40, 62, .5); position: relative; display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: stretch; padding: 1.5rem 1.2rem 1.4rem 1.5rem; overflow: hidden; border-radius: 4px; background: linear-gradient(160deg, var(--brun), var(--cave)); box-shadow: 0 0 0 1px var(--filet), 0 30px 60px -30px rgba(0, 0, 0, .95); }
.cuvee::before { content: ""; position: absolute; right: -14%; top: -8%; width: 68%; height: 96%; background: radial-gradient(closest-side, var(--lueur), rgba(0, 0, 0, 0)); opacity: .55; pointer-events: none; }
.cuvee[data-couleur="blanc"] { --vin: #E3C871; --lueur: rgba(226, 190, 100, .5); }
.cuvee[data-couleur="rose"] { --vin: #E09A97; --lueur: rgba(224, 140, 136, .5); }
.cuvee-c { position: relative; display: flex; flex-direction: column; min-width: 0; }
.cuvee-type { display: inline-flex; align-items: center; gap: .55rem; font: 600 .76rem/1.2 var(--texte); letter-spacing: .18em; text-transform: uppercase; color: var(--sable); }
.cuvee-type::before { content: ""; width: .7rem; height: .7rem; border-radius: 50%; background: var(--vin); box-shadow: 0 0 0 2px rgba(242, 232, 213, .25); flex: none; }
.cuvee h3 { margin-top: .6rem; font-size: clamp(1.55rem, 1.3rem + .8vw, 1.95rem); color: var(--creme); }
.cuvee-cep { margin-top: .5rem; font-size: .95rem; font-weight: 600; letter-spacing: .02em; color: var(--paille-clair); }
.cuvee-d { margin-top: .7rem; font-size: 1rem; line-height: 1.5; color: var(--sable); }
.cuvee-prix { display: flex; align-items: baseline; flex-wrap: wrap; gap: .1rem .6rem; margin-top: auto; padding-top: 1.1rem; }
.cuvee-prix strong { font: 400 1.9rem/1 var(--titre); color: var(--creme); }
.cuvee-prix span { font-size: .9rem; color: var(--sable); }
.cuvee-b { position: relative; align-self: center; }
.cuvee[hidden] { display: none; }
@media (min-width: 40rem) { .cuvees { grid-template-columns: repeat(2, 1fr); gap: 1.4rem; } }
@media (min-width: 64rem) { .cuvees { grid-template-columns: repeat(3, 1fr); } .cuvees-3 { grid-template-columns: repeat(3, 1fr); } }
.cuvee-info { display: flex; flex-direction: column; justify-content: center; gap: .8rem; padding: 1.6rem; border-radius: 4px; background: radial-gradient(ellipse 80% 90% at 50% 120%, rgba(226, 150, 60, .22), rgba(226, 150, 60, 0) 70%), var(--cave); box-shadow: 0 0 0 1px var(--filet-fort); }
.cuvee-info h3 { font-size: 1.7rem; }
.cuvee-info p { color: var(--sable); font-size: 1rem; line-height: 1.5; }
.accueil-vins-bas { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-top: 2rem; }
.accueil-vins-bas p { max-width: 34rem; }

/* filtres de la page des vins */
.filtres { display: none; flex-wrap: wrap; align-items: center; gap: .6rem; margin-top: 1.8rem; }
.js .filtres { display: flex; }
.filtre { min-height: 2.75rem; padding: 0 1.2rem; border: 1px solid var(--paille); border-radius: 2px; background: transparent; color: var(--creme); font: 600 .78rem/1.2 var(--texte); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.filtre:hover { background: var(--paille); color: var(--nuit); }
.filtre[aria-pressed="true"] { background: var(--paille); border-color: var(--paille); color: var(--nuit); }
.compte { margin-left: auto; font-size: .95rem; color: var(--sable); }

/* le domaine en 3 chiffres */
.faits-grille { display: grid; gap: 2.4rem; align-items: center; }
.faits { display: grid; gap: 0; margin-top: 1.8rem; border-top: 1px solid var(--filet); }
.fait { display: grid; grid-template-columns: minmax(7rem, 9.5rem) 1fr; align-items: start; gap: .4rem 1.2rem; padding: 1.1rem 0; border-bottom: 1px solid var(--filet); }
.fait b { font: 400 clamp(2.6rem, 2rem + 2.4vw, 3.8rem)/1 var(--titre); color: var(--paille); white-space: nowrap; }
.fait b small { display: block; margin-top: .5rem; font: 600 .74rem/1.2 var(--texte); letter-spacing: .16em; text-transform: uppercase; color: var(--paille-clair); }
.fait p { color: var(--sable); font-size: 1.0625rem; line-height: 1.45; }
.fait p strong { display: block; font-weight: 600; color: var(--creme); font-size: 1.125rem; }
@media (min-width: 62rem) { .faits-grille { grid-template-columns: 1.02fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); } .faits-grille.inverse > :first-child { order: 2; } }

.faits-grille .cadre img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 62% 50%; }
@media (min-width: 62rem) { .faits-grille .cadre img { aspect-ratio: 4 / 5; } }

/* bandeau photo avec texte : la photo remplit, l'ombre porte le texte */
.bande { position: relative; isolation: isolate; overflow: hidden; background: var(--cave); }
.bande-photo { position: relative; aspect-ratio: 4 / 3; }
.bande-photo picture { height: 100%; }
.bande-photo img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.bande-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(21, 15, 11, .25), rgba(21, 15, 11, 0) 25%, rgba(21, 15, 11, 0) 50%, #150F0B 100%); }
.bande-corps { position: relative; padding-block: 0 var(--souffle); margin-top: -2.5rem; }
.bande-corps .gestes { margin-top: 1.5rem; }
@media (min-width: 62rem) {
  .bande { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: center; min-height: 38rem; }
  .bande-photo { grid-column: 1; grid-row: 1; aspect-ratio: auto; height: 100%; min-height: 38rem; -webkit-mask-image: linear-gradient(90deg, #000 62%, transparent 100%); mask-image: linear-gradient(90deg, #000 62%, transparent 100%); }
  .bande-photo::after { background: linear-gradient(to bottom, #150F0B 0, rgba(21, 15, 11, 0) 18%, rgba(21, 15, 11, 0) 82%, #150F0B 100%); }
  .bande-corps { grid-column: 2; grid-row: 1; margin: 0; padding: var(--souffle) 0; padding-right: max(var(--marge), calc((100vw - 78rem) / 2)); padding-left: 1rem; z-index: 2; }
  .bande-inverse .bande-photo { grid-column: 2; -webkit-mask-image: linear-gradient(270deg, #000 62%, transparent 100%); mask-image: linear-gradient(270deg, #000 62%, transparent 100%); }
  .bande-inverse { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
  .bande-inverse .bande-corps { grid-column: 1; padding-right: 1rem; padding-left: max(var(--marge), calc((100vw - 78rem) / 2)); }
}

/* lignes de tableau : formules, horaires */
.lignes { width: 100%; border-collapse: collapse; }
.lignes th, .lignes td { padding: .8rem 0; border-bottom: 1px solid var(--filet); text-align: left; vertical-align: top; font-size: 1.0625rem; }
.lignes tr:first-child th, .lignes tr:first-child td { border-top: 1px solid var(--filet); }
.lignes th { font-weight: 400; padding-right: 1rem; color: var(--creme); }
.lignes td { text-align: right; color: var(--paille-clair); font-variant-numeric: tabular-nums; white-space: nowrap; }
.lignes small { display: block; font-size: .9rem; color: var(--sable); }
.formules-courtes { margin-top: 1.6rem; }
.formules-courtes th b { display: block; font: 400 1.35rem/1.15 var(--titre); }
.formules-courtes td { white-space: nowrap; }

/* vendanges : photo plein cadre, texte sur l'ombre */
.vendange { position: relative; isolation: isolate; overflow: hidden; min-height: 30rem; display: flex; align-items: flex-end; background: var(--nuit); }
.vendange-photo { position: absolute; z-index: 0; inset: 0; }
.vendange-photo picture { height: 100%; }
.vendange-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 55%; }
.vendange::after { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(to top, rgba(14, 10, 8, .96) 0, rgba(14, 10, 8, .8) 34%, rgba(14, 10, 8, .1) 66%), linear-gradient(to bottom, #0E0A08 0, rgba(14, 10, 8, 0) 22%); }
.vendange .l { position: relative; z-index: 2; padding-block: 3rem 3.2rem; }
.vendange h2 { max-width: 16em; }
.vendange .texte { margin-top: 1.1rem; color: var(--creme); }
@media (min-width: 62rem) { .vendange { min-height: 36rem; } .vendange::after { background: linear-gradient(90deg, rgba(14, 10, 8, .95) 0, rgba(14, 10, 8, .78) 30%, rgba(14, 10, 8, 0) 62%), linear-gradient(to top, #0E0A08 0, rgba(14, 10, 8, 0) 26%), linear-gradient(to bottom, #0E0A08 0, rgba(14, 10, 8, 0) 22%); } .vendange .l > * { max-width: 34rem; } .vendange h2 { max-width: 12em; } .vendange-photo img { object-position: 60% 50%; } }

/* pratique : horaires, où acheter, adresse */
.pratique { display: grid; gap: 2.6rem; }
.pratique h2 { font-size: clamp(1.8rem, 1.4rem + 1.5vw, 2.4rem); margin-bottom: .9rem; }
.pratique p + p, .pratique p + .lignes, .pratique .lignes + p { margin-top: .9rem; }
.pratique p { color: var(--sable); }
.adresse { font-size: 1.1875rem; line-height: 1.55; color: var(--sable); }
.adresse b { font-weight: 600; color: var(--creme); }
.adresse .tel { display: inline-block; margin-top: .7rem; font-size: clamp(1.9rem, 1.4rem + 2vw, 2.4rem); }
@media (min-width: 62rem) { .pratique { grid-template-columns: repeat(3, 1fr); gap: clamp(2rem, 5vw, 5rem); } }

/* bandeau final */
.final { position: relative; isolation: isolate; overflow: hidden; padding-block: var(--souffle); text-align: center; background: var(--nuit); border-top: 1px solid var(--filet); }
.final-photo { position: absolute; z-index: -1; inset: 0; }
.final-photo picture { height: 100%; }
.final-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 80%; opacity: .9; }
.final-photo::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 80% at 50% 60%, rgba(14, 10, 8, .55), rgba(14, 10, 8, .15) 70%), linear-gradient(to bottom, #0E0A08 0, rgba(14, 10, 8, 0) 30%, rgba(14, 10, 8, 0) 70%, #0E0A08 100%); }
.final .l { position: relative; }
.final h2 { max-width: 14em; margin-inline: auto; text-shadow: 0 2px 30px rgba(0, 0, 0, .8); }
.final p.intro { margin-inline: auto; color: var(--creme); text-shadow: 0 1px 16px rgba(0, 0, 0, .8); }
.final .gestes { justify-content: center; }

/* ───────── Page Le domaine ───────── */
.frise { margin-top: 2.2rem; border-top: 1px solid var(--filet); }
.frise li { display: grid; grid-template-columns: 5.4rem 1fr; gap: .3rem 1.2rem; padding: 1.3rem 0; border-bottom: 1px solid var(--filet); }
.frise b { font: 400 2.2rem/1 var(--titre); color: var(--paille); }
.frise h3 { font-size: 1.5rem; margin-bottom: .3rem; }
.frise p { color: var(--sable); }
@media (min-width: 48rem) { .frise li { grid-template-columns: 8rem 1fr; } .frise b { font-size: 2.8rem; } }
.cepages { margin-top: 1.6rem; display: grid; gap: .75rem; }
.cepage { display: grid; grid-template-columns: 9.5rem 1fr 3.4rem; align-items: center; gap: .8rem; font-size: 1.0625rem; }
.cepage span:first-child { color: var(--creme); }
.cepage i { display: block; height: .6rem; border-radius: 999px; background: rgba(226, 185, 91, .14); overflow: hidden; }
.cepage i::before { content: ""; display: block; height: 100%; width: var(--p); border-radius: 999px; background: linear-gradient(90deg, var(--lie), var(--paille)); }
.cepage span:last-child { text-align: right; color: var(--paille-clair); font-variant-numeric: tabular-nums; }
@media (max-width: 26rem) { .cepage { grid-template-columns: 7.4rem 1fr 3rem; gap: .5rem; font-size: 1rem; } }
.liste-points { margin-top: 1.4rem; border-top: 1px solid var(--filet); }
.liste-points li { padding: .85rem 0; border-bottom: 1px solid var(--filet); color: var(--sable); }
.liste-points b { font-weight: 600; color: var(--creme); }

/* ───────── Page Visites et dégustations ───────── */
.formules { display: grid; gap: 1.4rem; margin-top: 2.2rem; }
.formule { position: relative; display: flex; flex-direction: column; padding: 1.7rem 1.5rem 1.6rem; overflow: hidden; border-radius: 4px; background: linear-gradient(160deg, var(--brun), var(--cave)); box-shadow: 0 0 0 1px var(--filet), 0 30px 60px -30px rgba(0, 0, 0, .95); }
.formule::before { content: ""; position: absolute; right: -20%; top: -30%; width: 80%; height: 80%; background: radial-gradient(closest-side, rgba(226, 150, 60, .2), rgba(0, 0, 0, 0)); pointer-events: none; }
.formule > * { position: relative; }
.formule-t { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .3rem 1rem; }
.formule h3 { font-size: 1.85rem; }
.formule-prix { font: 400 2rem/1 var(--titre); color: var(--paille-clair); white-space: nowrap; }
.formule-prix small { font: 400 .9rem/1 var(--texte); color: var(--sable); margin-left: .3rem; }
.formule-meta { display: flex; flex-wrap: wrap; gap: .4rem .5rem; margin-top: 1rem; }
.formule-meta li { padding: .25rem .8rem; border: 1px solid var(--filet-fort); border-radius: 2px; font-size: .92rem; font-weight: 600; color: var(--creme); }
.formule .texte { margin-top: 1.1rem; }
.formule ul.liste-points { margin-top: 1.2rem; }
.formule .gestes { margin-top: auto; padding-top: 1.6rem; }
@media (min-width: 62rem) { .formules { grid-template-columns: repeat(3, 1fr); } }

.resa-grille { display: grid; gap: 3rem; padding-block: var(--souffle); }
.formulaire { display: grid; gap: 1.1rem; margin-top: 1.4rem; }
.champ { display: grid; gap: .4rem; }
.champ label { font-weight: 600; font-size: 1rem; }
.champ input, .champ select, .champ textarea { width: 100%; min-height: 3rem; padding: .7rem .9rem; border: 1px solid rgba(242, 232, 213, .45); border-radius: 4px; background: var(--cave); color: var(--creme); font-size: 1.0625rem; }
.champ select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--paille) 50%), linear-gradient(135deg, var(--paille) 50%, transparent 50%); background-position: calc(100% - 1.15rem) 1.3rem, calc(100% - .8rem) 1.3rem; background-size: .35rem .35rem; background-repeat: no-repeat; padding-right: 2.4rem; }
.champ textarea { resize: vertical; min-height: 6.5rem; }
.champ input[type="date"] { color-scheme: dark; }
.champ input:focus-visible, .champ select:focus-visible, .champ textarea:focus-visible { outline: 2px solid var(--paille); outline-offset: 2px; border-color: var(--paille); }
.avis-envoi { display: none; padding: .9rem 1.1rem; border-radius: 4px; border: 1px solid var(--filet-fort); background: var(--terre); color: var(--creme); scroll-margin-top: 6rem; }
.avis-envoi:target, .avis-envoi.vu { display: block; }
.form-note { font-size: .95rem; color: var(--sable); }
.formulaire .bouton { justify-self: start; }
.resa-cote { align-self: start; }
.resa-cote h2:not(:first-child) { margin-top: 2.4rem; }
.resa-cote h2 { font-size: clamp(1.8rem, 1.4rem + 1.5vw, 2.4rem); margin-bottom: .9rem; }
.resa-cote p { color: var(--sable); }
.resa-cote p + p { margin-top: .8rem; }
@media (min-width: 62rem) { .resa-grille { grid-template-columns: 1.15fr .85fr; gap: clamp(3rem, 7vw, 7rem); align-items: start; } .formulaire { grid-template-columns: 1fr 1fr; } .champ-large, .formulaire .bouton, .formulaire .avis-envoi, .formulaire .form-note { grid-column: 1 / -1; } }

/* ───────── Contact et accès ───────── */
.acces-grille { display: grid; gap: 3.2rem; padding-block: var(--souffle); }
.acces h2, .acces-grille h2 { font-size: clamp(1.8rem, 1.4rem + 1.5vw, 2.4rem); margin-bottom: .9rem; }
.acces h2:not(:first-child) { margin-top: 2.4rem; }
.acces .adresse { margin-bottom: 1.2rem; }
.acces p { color: var(--sable); }
.plan { margin-top: 1.4rem; }
.plan svg { display: block; width: 100%; height: auto; border-radius: 3px; box-shadow: 0 0 0 1px var(--filet-fort), 0 30px 60px -28px rgba(0, 0, 0, .95); }
.plan figcaption { margin-top: .6rem; font-size: .95rem; color: var(--sable); }
@media (min-width: 62rem) { .acces-grille { grid-template-columns: 1fr 1fr; gap: clamp(3rem, 7vw, 7rem); align-items: start; } .acces-grille .formulaire { grid-template-columns: 1fr 1fr; } }

/* ───────── Pied ───────── */
.pied { padding-block: 3.2rem 2.4rem; background: #090605; border-top: 1px solid var(--filet); color: var(--sable); }
.pied-grille { display: grid; gap: 2rem; }
.pied .marque-n { display: block; margin-bottom: .6rem; font: 400 1.9rem/1 var(--titre); color: var(--creme); }
.pied address { line-height: 1.65; }
.pied a { color: var(--creme); }
.pied-tel { display: inline-flex; align-items: center; min-height: 2.75rem; margin-top: .3rem; font: 600 1.4rem/1 var(--texte); letter-spacing: .02em; text-decoration: none; color: var(--paille-clair); }
.pied-tel:hover { text-decoration: underline; text-underline-offset: .2em; }
.pied nav ul { display: grid; gap: 0; }
.pied nav a { display: inline-flex; align-items: center; min-height: 2.5rem; text-decoration: none; }
.pied nav a:hover { color: var(--paille-clair); }
/* mention légale sur l'alcool : visible en pied de chaque page */
.alcool { margin-top: 2.2rem; padding: .95rem 1.1rem; border: 1px solid var(--filet-fort); border-left: 3px solid var(--paille); border-radius: 3px; background: rgba(226, 185, 91, .06); font-size: 1rem; font-weight: 600; line-height: 1.5; color: var(--creme); }
.mention { margin-top: 1.2rem; font-size: .88rem; line-height: 1.55; max-width: 56rem; }
@media (min-width: 48rem) { .pied-grille { grid-template-columns: 1fr 1fr; } }

/* ───────── Petits écrans ───────── */
@media (max-width: 22.5rem) { :root { --marge: 1rem; } .bouton { padding-inline: 1.4rem; } .cuvee { grid-template-columns: 1fr; } .cuvee-b { display: none; } .fait { grid-template-columns: 1fr; } .frise li { grid-template-columns: 1fr; } .formule-prix { font-size: 1.7rem; } .tel { font-size: 1.7rem; } }

/* ───────── Mouvement réduit, impression ───────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .menu-b, .ouv-glow, .ouv-grain, .tete-resa { display: none !important; }
  html, body { background: #fff; color: #111; }
  .tete { position: static !important; }
}

/* Pastille « Démo » repliée sur téléphone : rangée au coin haut droit, sous l'en-tête, sur la photo (sans texte ni bouton), pour ne recouvrir ni le titre ni le bouton du premier écran. */
@media (max-width: 520px) {
  .demo-pastille.reduite { transform: translate(calc(var(--demo-vw, 100vw) - 100% - 10px), 78px) !important; }
}
