/* ===== Polices auto-hébergées (OFL — Google Fonts, sous-ensemble latin) ===== */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/outfit-latin-var.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url('fonts/cormorant-garamond-latin-var.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/cormorant-garamond-italic-latin-400.woff2') format('woff2');
}

/* ===== Variables — palette inspirée de l’étiquette Domaine Mayard ===== */
:root {
  /* ===== Charte graphique Domaine Mayard (APERÇU — à valider) =====
     Couleurs officielles : orange Pantone 1665 #CD5924, rouge foncé Pantone 7622 #7E271B, noir #222221,
     secondaires : jaune olive #C4C42C, orange #D67C1C, jaune #F2CD51. */
  --brand-orange: #CD5924;     /* décor : filets, bordures, puces, grands chiffres (≥ 24 px) */
  --brand-red: #7E271B;        /* textes d'accent, liens, sur-titres, fonds de boutons, pied de page */
  --brand-black: #222221;      /* texte courant */
  --brand-olive: #C4C42C;      /* fond d'état actif (texte noir) */
  --brand-orange-2: #D67C1C;   /* secondaire (décor uniquement) */
  --brand-yellow: #F2CD51;     /* décor et textes sur fonds sombres uniquement */

  /* Variables historiques, remappées sur la charte */
  --primary: #CD5924;          /* était #c45c26 — désormais décoratif */
  --primary-dark: #7E271B;     /* était #8b3a18 */
  --primary-light: #D67C1C;    /* était #e07a3d */
  --accent: #F2CD51;           /* était #d4a84b */
  --accent-light: #F2CD51;     /* était #e8c97a */
  --cream: #f7f1e6;            /* inchangé */
  --cream-dark: #ebe3d4;       /* inchangé */
  --earth: #5c4a3a;            /* inchangé */
  --olive: #6b7a4f;            /* inchangé (n'est plus utilisé pour du texte) */
  --text: #222221;             /* était #2e261c — noir de la charte */
  --text-light: #5e5346;       /* inchangé */
  --white: #ffffff;
  --bordeaux: #7E271B;         /* était #c45c26 (alias) — sert aux textes/boutons */
  --bordeaux-dark: #7E271B;    /* était #8b3a18 — titres, pied de page */
  --bordeaux-light: #D67C1C;   /* était #e07a3d — décor uniquement */
  --gold: #CD5924;             /* était #d4a84b — filets et puces décoratifs sur fond clair */
  --gold-light: #F2CD51;       /* était #e8c97a — textes clairs sur fond sombre */
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Outfit', system-ui, sans-serif;
  --max-width: 1120px;
  --header-height: 72px;
  --transition: 0.3s ease;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== Typography ===== */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.2;
  color: var(--bordeaux-dark);
}

h1 {
  font-size: clamp(2.8rem, 7vw, 4.5rem);
  letter-spacing: 0.02em;
}

h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin-bottom: 0.75rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.lead {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 1.25rem;
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 0.9rem 1.8rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all var(--transition);
  cursor: pointer;
  border: 1.5px solid transparent;
}

.btn-primary {
  background: var(--bordeaux);
  color: var(--cream);
  border-color: var(--bordeaux);
}

.btn-primary:hover {
  background: var(--bordeaux-dark);
  border-color: var(--bordeaux-dark);
}

.btn-outline {
  background: transparent;
  color: var(--cream);
  border-color: rgba(255,255,255,0.5);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--cream);
}

.section-alt .btn-outline,
.contact-details .btn-outline {
  color: var(--bordeaux);
  border-color: var(--bordeaux);
}

.section-alt .btn-outline:hover,
.contact-details .btn-outline:hover {
  background: var(--bordeaux);
  color: var(--cream);
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}

.header.scrolled {
  background: rgba(248, 244, 236, 0.97);
  box-shadow: 0 1px 20px rgba(0,0,0,0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  /* Logo vectoriel de la charte (167×62). 36 px de haut ≈ 97 px de large (min. 76 px en couleur) ;
     zone de protection X ≈ ½ hauteur = 18 px, assurée par les 72 px de l'en-tête. */
  height: 36px;
  width: auto;
  display: block;
}

/* En-tête transparent sur la photo d'accueil : logo en réserve blanche ;
   en-tête crème (défilement, pages secondaires) : logo rouge 7622. */
.header .logo-img-dark { display: none; }
.header.scrolled .logo-img-light { display: none; }
.header.scrolled .logo-img-dark { display: block; }

.nav {
  display: flex;
  gap: 2rem;
}

.nav a {
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.85);
  position: relative;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav a:hover::after {
  width: 100%;
}

.header.scrolled .nav a {
  color: var(--text);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--cream);
  transition: all var(--transition);
}

.header.scrolled .nav-toggle span {
  background: var(--bordeaux-dark);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    linear-gradient(160deg, rgba(46,38,28,0.65) 0%, rgba(126,39,27,0.45) 55%, rgba(107,122,79,0.3) 100%),
    url('images/vendanges-2025-1920.jpg') center/cover no-repeat;
  background:
    linear-gradient(160deg, rgba(46,38,28,0.65) 0%, rgba(126,39,27,0.45) 55%, rgba(107,122,79,0.3) 100%),
    image-set(url('images/vendanges-2025-1920.webp') type('image/webp'), url('images/vendanges-2025-1920.jpg') type('image/jpeg')) center/cover no-repeat;
  color: var(--cream);
}

@media (max-width: 1280px) {
  .hero {
    background:
      linear-gradient(160deg, rgba(46,38,28,0.65) 0%, rgba(126,39,27,0.45) 55%, rgba(107,122,79,0.3) 100%),
      image-set(url('images/vendanges-2025-1280.webp') type('image/webp'), url('images/vendanges-2025-1920.jpg') type('image/jpeg')) center/cover no-repeat;
  }
}

@media (max-width: 600px) {
  .hero {
    background:
      linear-gradient(160deg, rgba(46,38,28,0.65) 0%, rgba(126,39,27,0.45) 55%, rgba(107,122,79,0.3) 100%),
      image-set(url('images/vendanges-2025-portrait-900.webp') type('image/webp'), url('images/vendanges-2025-1920.jpg') type('image/jpeg')) center/cover no-repeat;
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 0%, rgba(0,0,0,0.25) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 1.5rem;
}

.hero-eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.25rem;
}

.hero h1 {
  color: var(--cream);
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 30px rgba(0,0,0,0.3);
}

.hero-subtitle {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-style: italic;
  font-weight: 400;
  opacity: 0.92;
  margin-bottom: 2.5rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.7;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(0.7); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ===== Sections ===== */
.section {
  padding: 6rem 0;
}

.section-alt {
  background: var(--cream-dark);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.section-intro {
  margin-top: 1rem;
  color: var(--text-light);
  font-size: 1.05rem;
}

/* ===== Domaine ===== */
.domaine-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4rem;
  align-items: start;
}

.domaine-text p {
  margin-bottom: 1.25rem;
  color: var(--text-light);
}

.domaine-text strong {
  color: var(--bordeaux);
  font-weight: 500;
}

.domaine-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.stat {
  background: var(--white);
  padding: 1.75rem 1.25rem;
  text-align: center;
  border: 1px solid rgba(92,26,26,0.08);
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.stat-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--bordeaux);
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.stat-label {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-light);
}

/* ===== Philosophie / Practices ===== */
.practices-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.practice-card {
  background: var(--white);
  padding: 0 0 1.5rem;
  border: 1px solid rgba(92,26,26,0.06);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.practice-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}

.practice-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #1a1a1a;
  margin-bottom: 1.25rem;
}

.practice-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.practice-card:hover .practice-thumb img {
  transform: scale(1.04);
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(205, 89, 36, 0.92);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  padding-left: 3px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  transition: background 0.25s ease, transform 0.25s ease;
}

.practice-thumb:hover .play-btn {
  background: var(--accent);
  transform: translate(-50%, -50%) scale(1.08);
}

.practice-card h3 {
  font-size: 1.2rem;
  margin: 0 1.5rem 0.75rem;
}

.practice-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0 1.5rem 1.25rem;
  flex-grow: 1;
}

.practice-link {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--primary);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), color var(--transition);
  margin: 0 1.5rem;
}

.practice-link:hover {
  border-bottom-color: var(--primary);
  color: var(--accent);
}

.philosophy-quote {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
  border-top: 1px solid rgba(92,26,26,0.12);
  border-bottom: 1px solid rgba(92,26,26,0.12);
}

.philosophy-quote blockquote {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--bordeaux-dark);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.philosophy-quote cite {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  font-style: normal;
}

/* ===== Vins ===== */
.wines-showcase {
  display: grid;
  grid-template-columns: 0.9fr 1.6fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 2.5rem;
}

.wines-bottle {
  text-align: center;
}

.wines-bottle img {
  max-height: 480px;
  margin: 0 auto;
  filter: drop-shadow(0 20px 40px rgba(46,38,28,0.18));
  border-radius: 4px;
}

.wines-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.wine-card {
  background: var(--white);
  padding: 2rem 1.75rem;
  border: 1px solid rgba(205,89,36,0.1);
  position: relative;
}

.wine-card.featured {
  background: linear-gradient(160deg, var(--bordeaux-dark) 0%, var(--bordeaux) 100%);
  color: var(--cream);
  border: none;
}

.wine-card.featured h3,
.wine-card.featured .wine-blend {
  color: var(--cream);
}

.wine-card.featured p {
  color: rgba(248,244,236,0.9);
}

.wine-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--bordeaux-dark);
  padding: 0.3rem 0.7rem;
  font-weight: 500;
}

.wine-blend {
  font-size: 0.85rem;
  color: var(--gold);
  margin-bottom: 1rem;
  letter-spacing: 0.03em;
}

.wine-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.wine-notes {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.wine-notes li {
  font-size: 0.85rem;
  color: rgba(248,244,236,0.8);
  padding: 0.25rem 0;
  padding-left: 1rem;
  position: relative;
}

.wine-notes li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--gold);
}

.wines-note {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-light);
  font-style: italic;
}

/* ===== Presse ===== */
.press-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.press-card {
  background: var(--white);
  padding: 2rem 1.75rem;
  border: 1px solid rgba(92,26,26,0.06);
  transition: transform var(--transition), box-shadow var(--transition);
}

.press-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.06);
}

.press-card.featured-press {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #faf6f0 0%, #f3ebe0 100%);
  border-color: rgba(205,89,36,0.15);
}

.press-source {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1rem;
}

.press-card blockquote {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.65;
  color: var(--text);
  margin: 0;
}

/* ===== Galerie ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.gallery-item {
  margin: 0;
  overflow: hidden;
  border-radius: 4px;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(46,38,28,0.06);
}

.gallery-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-item figcaption {
  padding: 0.9rem 1rem;
  font-size: 0.85rem;
  color: var(--text-light);
  text-align: center;
}

/* ===== Visites ===== */
.visits-content {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.visits-list {
  margin: 1.5rem 0 2rem;
}

.visits-list li {
  padding: 0.5rem 0 0.5rem 1.4rem;
  position: relative;
  color: var(--text-light);
}

.visits-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.visits-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-box {
  background: var(--white);
  padding: 1.5rem;
  border-left: 3px solid var(--gold);
}

.info-box h3 {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
  font-family: var(--font-sans);
  font-weight: 500;
}

.info-box p {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.5;
}

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
}

.contact-details h3 {
  margin-bottom: 1.25rem;
}

.contact-details p {
  margin-bottom: 1.25rem;
  color: var(--text-light);
  line-height: 1.6;
}

.contact-details a {
  color: var(--bordeaux);
}

.contact-details a:hover {
  color: var(--bordeaux-light);
}

.map-link {
  margin-top: 1.5rem;
}

.contact-form {
  background: var(--white);
  padding: 2.25rem;
  border: 1px solid rgba(92,26,26,0.07);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  border: 1px solid rgba(92,26,26,0.15);
  background: var(--cream);
  color: var(--text);
  border-radius: 2px;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--bordeaux);
}

.form-note {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ===== Footer ===== */
.footer {
  background: var(--bordeaux-dark);
  color: rgba(248,244,236,0.75);
  padding: 3.5rem 0 2rem;
}

.footer-inner {
  text-align: center;
}

.footer-brand .logo {
  display: inline-block;
  /* zone de protection X ≈ ½ hauteur du logo */
  margin-bottom: 1.75rem;
}

.footer-brand .logo-img {
  /* logo blanc en réserve sur le fond rouge 7622 */
  height: 56px;
}

.footer-brand p {
  font-size: 0.9rem;
  margin-bottom: 1.75rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.75rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.footer-links a {
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-legal {
  font-size: 0.95rem;
  color: var(--cream);
  font-weight: 500;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.5;
}

/* ===== Croquis interactif ===== */
.sketch-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 1.5rem;
  align-items: start;
  margin-bottom: 2.5rem;
}

.sketch-wrap {
  background: var(--white);
  border: 1px solid rgba(92,26,26,0.08);
  padding: 0.65rem;
  box-shadow: 0 10px 28px rgba(46,38,28,0.06);
}

.sketch-frame {
  position: relative;
  overflow: hidden;
}

.sketch-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.hotspot {
  position: absolute;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transform: translate(-50%, -50%);
  box-shadow: 0 2px 8px rgba(0,0,0,0.28);
  transition: transform 0.18s ease, background 0.18s ease;
  z-index: 2;
  padding: 0;
  font-family: var(--font-serif);
}

.hotspot:hover,
.hotspot.active {
  background: var(--olive);
  transform: translate(-50%, -50%) scale(1.12);
}

.sketch-hint {
  margin: 0.55rem 0.2rem 0.15rem;
  font-size: 0.82rem;
  color: var(--text-light);
  font-style: italic;
}

.sketch-panel {
  background: var(--white);
  border: 1px solid rgba(92,26,26,0.08);
  padding: 1.2rem 1.25rem 1.3rem;
  box-shadow: 0 10px 28px rgba(46,38,28,0.06);
  position: sticky;
  top: calc(var(--header-height) + 12px);
}

.sketch-panel .tag {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 0.45rem;
}

.sketch-panel h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

#legend-body p {
  font-size: 0.94rem;
  color: var(--text-light);
  margin-bottom: 0.55rem;
}

#legend-body ul {
  margin: 0.2rem 0 0.7rem 1.1rem;
}

#legend-body li {
  font-size: 0.92rem;
  color: var(--text-light);
  margin: 0.2rem 0;
}

.legend-list {
  margin-top: 1rem;
  border-top: 1px dashed rgba(92,26,26,0.15);
  padding-top: 0.65rem;
}

.legend-list button {
  display: flex;
  width: 100%;
  gap: 0.5rem;
  align-items: flex-start;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 0.38rem 0.2rem;
  cursor: pointer;
  font: inherit;
  color: inherit;
  border-radius: 4px;
}

.legend-list button:hover,
.legend-list button.active {
  background: #f3ead8;
}

.legend-list .num {
  flex: 0 0 21px;
  height: 21px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.legend-list button.active .num {
  background: var(--olive);
}

.sketch-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.sketch-card {
  background: var(--white);
  border: 1px solid rgba(92,26,26,0.08);
  padding: 1.1rem 1.15rem;
}

.sketch-card h3 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--olive);
  margin-bottom: 0.4rem;
}

.sketch-card p {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .domaine-grid,
  .visits-content,
  .contact-grid,
  .wines-showcase,
  .sketch-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .sketch-panel {
    position: static;
  }

  .sketch-cards {
    grid-template-columns: 1fr 1fr;
  }

  .practices-grid {
    grid-template-columns: 1fr 1fr;
  }

  .press-grid {
    grid-template-columns: 1fr;
  }

  .wines-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .wines-bottle img {
    max-height: 380px;
  }

  .wine-card.featured {
    order: -1;
  }
}

@media (max-width: 720px) {
  .practices-grid,
  .sketch-cards {
    grid-template-columns: 1fr;
  }

  .domaine-stats {
    grid-template-columns: 1fr 1fr;
  }

  .section {
    padding: 4.5rem 0;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .domaine-stats {
    grid-template-columns: 1fr;
  }
}

/* ===== Menu burger (seuil élargi : 8 liens ne tiennent plus en ligne sous ce seuil) ===== */
@media (max-width: 900px) {
  .nav {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    color: var(--text) !important;
    font-size: 1.05rem;
    padding: 0.4rem 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.open span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
  }
  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.open span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
  }

}

/* ===== Accessibilité ===== */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 3000;
  background: var(--cream);
  color: var(--text);
  padding: 0.75rem 1.25rem;
  font-weight: 500;
}
.skip-link:focus { top: 1rem; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--primary-dark);
  outline-offset: 3px;
}
.hero a:focus-visible,
.footer a:focus-visible { outline-color: var(--cream); }

main:focus { outline: none; }

picture { display: contents; }

.info-box a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ===== Formulaire ===== */
.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-status:empty { display: none; }
.form-status {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  border-left: 3px solid var(--olive);
  background: var(--cream);
  color: var(--text);
}
.form-status.is-error { border-left-color: var(--primary-dark); }
.contact-form button[disabled] { opacity: 0.6; cursor: wait; }
.form-note a { color: var(--primary-dark); text-decoration: underline; }

/* ===== Pied de page ===== */
.footer-meta {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--cream);
}
.footer-meta a { color: var(--cream); text-decoration: underline; text-underline-offset: 2px; }
.footer-meta a:hover { color: var(--gold-light); }

/* ===== Avertissement d'âge ===== */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(46, 38, 28, 0.88);
}
.age-gate[hidden] { display: none; }
.age-gate-box {
  background: var(--cream);
  color: var(--text);
  max-width: 480px;
  width: 100%;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}
.age-gate-box h2 { margin-bottom: 1rem; }
.age-gate-box .eyebrow { color: var(--primary-dark); }
.age-gate-box p { line-height: 1.6; }
.age-gate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin: 1.75rem 0 1.25rem;
}
.btn-outline-dark {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--text);
}
.btn-outline-dark:hover { background: var(--text); color: var(--cream); }
.age-gate-refus {
  font-weight: 500;
  color: var(--primary-dark);
  margin-bottom: 1rem;
}
.age-gate-evin { font-size: 0.85rem; color: var(--text-light); }
body.age-gate-open { overflow: hidden; }

/* ===== Pages légales et 404 ===== */
.page-simple .header { background: rgba(248, 244, 236, 0.97); box-shadow: 0 1px 20px rgba(0,0,0,0.06); }
.page-simple .back-link { color: var(--text); font-size: 0.95rem; }
.page-simple .back-link:hover { color: var(--primary-dark); }
.legal-main {
  padding: calc(var(--header-height) + 3rem) 0 4rem;
  min-height: 70vh;
}
.legal-content { max-width: 760px; margin: 0 auto; }
.legal-content h1 { font-size: clamp(2rem, 4vw, 2.75rem); margin-bottom: 0.5rem; color: var(--primary-dark); }
.legal-content h2 { font-size: 1.6rem; margin: 2.5rem 0 0.75rem; }
.legal-content p, .legal-content li { line-height: 1.7; margin-bottom: 0.75rem; }
.legal-content ul { padding-left: 1.25rem; }
.legal-content a { color: var(--primary-dark); text-decoration: underline; }
.legal-updated { color: var(--text-light); font-size: 0.9rem; }
.todo {
  background: #fff3c4;
  color: #5a3d00;
  padding: 0 0.3em;
  font-weight: 600;
  border: 1px dashed #b38600;
}
.notice-draft {
  background: #fff3c4;
  border-left: 4px solid #b38600;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  color: #3d2a00;
}
.page-404 { text-align: center; }
.page-404 .btn { margin-top: 1.5rem; }
[tabindex="-1"]:focus:not(:focus-visible) { outline: none; }

/* ===== Positions des pastilles du croquis (déplacées depuis le HTML pour la CSP) ===== */
.hotspot[data-id="1"] { left: 48%; top: 78%; }
.hotspot[data-id="2"] { left: 78%; top: 58%; }
.hotspot[data-id="3"] { left: 62%; top: 62%; }
.hotspot[data-id="4"] { left: 36%; top: 72%; }
.hotspot[data-id="5"] { left: 50%; top: 34%; }
.hotspot[data-id="6"] { left: 52%; top: 14%; }

/* ===== Presse — carte mise en avant, note, liens (20/10/2026) =====
   Couleurs de texte : uniquement des valeurs existantes de la palette, contraste ≥ 4,5:1 sur
   les fonds blanc (#fff) et dégradé (#faf6f0 → #f3ebe0). L'or (--gold) sert seulement de décor. */
.press-source {
  color: var(--primary-dark);          /* #8b3a18 : 7,7:1 sur blanc, 6,5:1 sur #f3ebe0 (au lieu de 4,3 / 3,6) */
}

.press-card.featured-press {
  position: relative;
  border: 1px solid rgba(126,39,27,0.18);
  border-left: 4px solid var(--gold);  /* décor uniquement */
  box-shadow: 0 6px 22px rgba(46,38,28,0.06);
  padding: 2.25rem 2.25rem 2rem;
}

.press-card.featured-press blockquote {
  font-size: 1.2rem;
}

.press-score {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.75rem;
  margin: 0 0 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--gold); /* filet doré décoratif */
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);                  /* #2e261c : 12,6:1 sur #f3ebe0 */
}

.press-score strong {
  font-family: var(--font-serif);
  font-size: clamp(2.75rem, 6vw, 3.75rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--primary-dark);          /* #8b3a18 : 6,5:1 sur #f3ebe0, 7,7:1 sur blanc */
  font-variant-numeric: lining-nums;
}

.press-card > p {
  margin-top: 1rem;
  line-height: 1.6;
}

.press-card blockquote + p:not(:last-child) {
  font-size: 0.95rem;
  color: var(--text-light);            /* traduction : #5e5346, 6,3:1 sur #f3ebe0 */
}

.press-card a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 24px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--primary-dark);          /* 7,7:1 sur blanc, 6,5:1 sur #f3ebe0 */
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color var(--transition), text-decoration-thickness var(--transition);
}

.press-card a::after {
  content: "→";
  content: "→" / "";                   /* flèche décorative, ignorée par les lecteurs d'écran */
  text-decoration: none;
  transition: transform var(--transition);
}

.press-card a:hover {
  color: var(--text);                  /* 14,9:1 */
  text-decoration-thickness: 2px;
}

.press-card a:hover::after { transform: translateX(3px); }

.press-card a:focus-visible {
  outline: 3px solid var(--primary-dark);
  outline-offset: 3px;
  text-decoration-thickness: 2px;
}

@media (max-width: 720px) {
  .press-card.featured-press { padding: 1.75rem 1.4rem 1.5rem; }
  .press-card.featured-press blockquote { font-size: 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .press-card, .press-card a, .press-card a::after { transition: none; }
  .press-card:hover { transform: none; }
}


/* ===== Charte graphique — ajustements d'accessibilité (APERÇU) =====
   Règle : tout texte ≥ 4,5:1 (≥ 3:1 pour les grands textes). L'orange #CD5924 n'atteint que
   3,7:1 sur crème et 4,16:1 sur blanc : il est réservé au décor et aux très grands chiffres.
   Aucun texte (crème ou noir) n'atteint 4,5:1 sur fond orange : les boutons pleins sont donc rouge foncé. */

/* Sur-titres et petits titres : rouge foncé au lieu de l'or */
.eyebrow,
.info-box h3,
.wine-blend,
.sketch-panel .tag,
.sketch-card h3 { color: var(--brand-red); }          /* 8,5:1 crème · 7,5:1 #ebe3d4 · 9,6:1 blanc */

.hero-eyebrow { color: var(--brand-yellow); }        /* sur photo assombrie */

/* Boutons pleins : rouge foncé + texte crème (8,5:1) ; survol noir (14,2:1) */
.btn-primary { background: var(--brand-red); border-color: var(--brand-red); color: var(--cream); }
.btn-primary:hover { background: var(--brand-black); border-color: var(--brand-black); color: var(--cream); }

/* Liens */
.practice-link { color: var(--brand-red); border-bottom-color: rgba(205,89,36,0.45); }
.practice-link:hover { color: var(--brand-black); border-bottom-color: var(--brand-orange); }
.contact-details a:hover { color: var(--brand-black); }

/* Chiffres clés : orange de la charte (grand texte 35 px, 4,16:1 blanc / 3,7:1 crème ≥ 3:1) */
.stat-number { color: var(--brand-orange); }

/* Vidéos : pastille lecture orange (icône), survol rouge */
.practice-thumb:hover .play-btn { background: var(--brand-red); }

/* Croquis : pastilles rouges (texte blanc 9,6:1), état actif jaune olive + texte noir (≈ 8:1) */
.hotspot, .legend-list .num { background: var(--brand-red); color: #fff; }
.hotspot.active, .legend-list button.active .num { background: var(--brand-olive); color: var(--brand-black); }

/* Cuvée phare : dégradé rouge foncé → plus sombre (texte crème ≥ 8:1), badge jaune */
.wine-card.featured { background: linear-gradient(160deg, var(--brand-red) 0%, #5c1c13 100%); }
.wine-card.featured .wine-blend { color: var(--brand-yellow); }    /* 6,2:1 sur #7E271B */
.wine-badge { background: var(--brand-yellow); color: var(--brand-red); }   /* 6,2:1 */
.wine-notes li::before { color: var(--brand-yellow); }

/* Décors sur fonds sombres en jaune, sur fonds clairs en orange */
.scroll-line { background: linear-gradient(to bottom, var(--brand-yellow), transparent); }
.hero .nav a::after, .nav a::after { background: var(--brand-orange); }
.footer { background: var(--brand-red); color: rgba(247,241,230,0.9); }
.footer-links a { color: rgba(247,241,230,0.92); }
.footer-links a:hover, .footer-meta a:hover { color: var(--brand-yellow); }   /* 6,2:1 */
.form-status { border-left-color: var(--brand-olive); }

/* Presse */
.press-card.featured-press { border-left-color: var(--brand-orange); }
.press-score { border-bottom-color: var(--brand-orange); }

/* ===== Pratiques : bouton lecture déplacé en bas à droite (20/10/2026) =====
   Ne masque plus les croquis. Icône blanche sur orange #CD5924 = 4,16:1 (≥ 3:1 pour un graphique) ;
   au survol/focus, fond rouge #7E271B = 9,58:1. Liseré blanc pour détacher la pastille du croquis. */
.practice-thumb img {
  object-position: center;
}

.play-btn {
  top: auto;
  left: auto;
  right: 0.75rem;
  bottom: 0.75rem;
  transform: none;
  width: 40px;
  height: 40px;
  font-size: 0.85rem;
  padding-left: 2px;
  background: var(--brand-orange);
  border: 2px solid #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.28);
  pointer-events: none;          /* le clic passe au lien qui couvre toute la vignette */
}

.practice-thumb:hover .play-btn,
.practice-thumb:focus-visible .play-btn {
  background: var(--brand-red);
  transform: scale(1.08);
}

.practice-thumb:focus-visible {
  outline: none;                 /* la carte (overflow: hidden) et l'image rognaient le contour */
}
.practice-thumb:focus-visible::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  box-shadow: inset 0 0 0 3px var(--brand-red), inset 0 0 0 5px #fff;
  pointer-events: none;
}
.play-btn { z-index: 3; }

@media (prefers-reduced-motion: reduce) {
  .practice-thumb:hover .play-btn,
  .practice-thumb:focus-visible .play-btn { transform: none; }
}

/* ===== PROPOSITION — section « Nos vins » (gamme en photo + liste) ===== */
.vins-v2 {
  --cap-rose: #d48a9b;
  --cap-blanc: #e2b93b;
  --cap-cdr: #2f5d97;
  --cap-lirac: #6e2530;
  --cap-cdp: #d0652a;
  background: linear-gradient(180deg, var(--cream) 0%, #fbf8f2 100%);
}
.vins-lineup {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr);
  gap: 3.5rem;
  align-items: center;
  margin-bottom: 3rem;
}
.vins-photo { margin: 0; }
.vins-photo-frame {
  position: relative;
  background: #fff;
  border-radius: 18px;
  padding: 1.25rem 1.25rem 1.75rem;
  box-shadow: 0 30px 60px -30px rgba(62, 30, 14, 0.28), 0 0 0 1px rgba(126, 39, 27, 0.06);
}
.vins-photo-frame picture,
.vins-photo-frame img { display: block; width: 100%; height: auto; }
.vins-photo figcaption {
  margin-top: 1rem;
  text-align: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--text-light);
}
/* repères positionnés sur la photo (coordonnées en % de l’image) */
.vins-marker {
  position: absolute;
  inset: 1.25rem 1.25rem 1.75rem;   /* = padding du cadre : même repère que l’image */
  pointer-events: none;
}
.vins-marker::before {               /* halo au sol, sous la bouteille */
  content: '';
  position: absolute;
  left: var(--x);
  top: var(--floor);
  width: 17%;
  height: 4.5%;
  transform: translate(-50%, -50%) scale(0.6);
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--c), transparent);
  opacity: 0;
  transition: opacity .35s ease, transform .35s ease;
}
.vins-marker-num {                   /* pastille numérotée au-dessus de la cire */
  position: absolute;
  left: var(--x);
  top: var(--cap);
  transform: translate(-50%, calc(-100% - 10px));
  width: 26px; height: 26px;
  border-radius: 50%;
  display: grid; place-items: center;
  font: 600 0.72rem/1 var(--font-sans);
  color: var(--text-light);
  background: #fff;
  box-shadow: 0 0 0 1px rgba(34, 34, 33, 0.14);
  transition: background .3s ease, color .3s ease, box-shadow .3s ease, transform .3s ease;
}
.vins-marker.is-active::before { opacity: .55; transform: translate(-50%, -50%) scale(1); }
.vins-marker.is-active .vins-marker-num {
  background: var(--c);
  color: #fff;
  box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--c), 0 6px 14px rgba(0,0,0,.18);
  transform: translate(-50%, calc(-100% - 14px)) scale(1.12);
}
.vins-marker[data-wine="blanc"].is-active .vins-marker-num { color: var(--brand-black); }


/* couleurs de cire et position de chaque bouteille (pas de style inline : CSP style-src 'self') */
.vins-v2 [data-wine="rose"] { --c: var(--cap-rose); }
.vins-marker[data-wine="rose"] { --x: 13.4%; --cap: 15.8%; --floor: 86.5%; }
.vins-v2 [data-wine="blanc"] { --c: var(--cap-blanc); }
.vins-marker[data-wine="blanc"] { --x: 29.5%; --cap: 13.4%; --floor: 90.9%; }
.vins-v2 [data-wine="cdr"] { --c: var(--cap-cdr); }
.vins-marker[data-wine="cdr"] { --x: 48.7%; --cap: 9.6%; --floor: 95.6%; }
.vins-v2 [data-wine="lirac"] { --c: var(--cap-lirac); }
.vins-marker[data-wine="lirac"] { --x: 73.1%; --cap: 11.2%; --floor: 93.6%; }
.vins-v2 [data-wine="cdp"] { --c: var(--cap-cdp); }
.vins-marker[data-wine="cdp"] { --x: 86.5%; --cap: 14.3%; --floor: 88.1%; }

/* liste des vins */
.vins-list {
  list-style: none;
  margin: 0; padding: 0;
  counter-reset: vin;
  border-top: 1px solid rgba(126, 39, 27, 0.14);
}
.vins-item {
  counter-increment: vin;
  position: relative;
  display: grid;
  grid-template-columns: 2.6rem minmax(0, 1fr) auto;
  gap: 0 1.1rem;
  align-items: start;
  padding: 1.35rem 1.25rem 1.35rem 0.9rem;
  border-bottom: 1px solid rgba(126, 39, 27, 0.14);
  border-radius: 10px;
  cursor: default;
  transition: background .3s ease, box-shadow .3s ease;
  outline: none;
}
.vins-item::after {                  /* filet de couleur à gauche */
  content: '';
  position: absolute;
  left: 0; top: 18%; bottom: 18%;
  width: 3px; border-radius: 3px;
  background: var(--c);
  transform: scaleY(0);
  transition: transform .3s ease;
}
.vins-item:focus-visible,
.vins-item.is-active { background: #fff; box-shadow: 0 12px 28px -18px rgba(62, 30, 14, 0.35); }
.vins-item:focus-visible::after,
.vins-item.is-active::after { transform: scaleY(1); }
.vins-item:focus-visible { box-shadow: 0 0 0 2px var(--brand-red), 0 12px 28px -18px rgba(62, 30, 14, 0.35); }
.vins-dot {
  position: relative;
  margin-top: 0.35rem;
  width: 1.15rem; height: 1.15rem;
  border-radius: 50%;
  background: var(--c);
  box-shadow: inset 0 -2px 3px rgba(0,0,0,.18), 0 0 0 4px rgba(255,255,255,.9), 0 0 0 5px rgba(34,34,33,.08);
}
.vins-dot::after {
  content: counter(vin, decimal-leading-zero);
  position: absolute;
  left: 50%; top: calc(100% + 0.55rem);
  transform: translateX(-50%);
  font: 500 0.68rem/1 var(--font-sans);
  letter-spacing: .08em;
  color: var(--text-light);
}
.vins-body h3 {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.15;
  color: var(--bordeaux-dark);
  margin: 0;
}
.vins-title { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .75rem; }
.vins-badge {
  font: 500 0.66rem/1 var(--font-sans);
  letter-spacing: .12em;
  text-transform: uppercase;
  background: var(--brand-red);
  color: var(--brand-yellow);
  padding: .4rem .6rem;
  border-radius: 999px;
}
.vins-meta {
  margin: .3rem 0 .45rem;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-red);
}
.vins-body p:not(.vins-meta) {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-light);
}
.vins-year {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--brand-orange);
  padding-top: .15rem;
}
.vins-item.is-featured { background: linear-gradient(100deg, rgba(205,89,36,.07), rgba(205,89,36,0) 70%); }
.vins-item.is-featured:focus-visible,
.vins-item.is-featured.is-active { background: #fff; }

@media (max-width: 960px) {
  .vins-lineup { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .vins-photo { max-width: 520px; margin: 0 auto; width: 100%; }
}
@media (max-width: 480px) {
  .vins-photo-frame { padding: .75rem .75rem 1.25rem; border-radius: 14px; }
  .vins-marker { inset: .75rem .75rem 1.25rem; }
  .vins-marker-num { width: 22px; height: 22px; font-size: .66rem; }
  .vins-item { grid-template-columns: 2rem minmax(0, 1fr); gap: 0 .8rem; padding: 1.15rem .75rem 1.15rem .6rem; }
  .vins-year { position: absolute; top: 1.3rem; right: .75rem; }
  .vins-body h3, .vins-title { padding-right: 3.4rem; }
  .vins-title h3 { padding-right: 0; }
  .vins-body h3 { font-size: 1.35rem; }
  .vins-year { font-size: 1.35rem; }
  .vins-meta { font-size: .68rem; letter-spacing: .1em; }
}
@media (prefers-reduced-motion: reduce) {
  .vins-item, .vins-item::after, .vins-marker::before, .vins-marker-num { transition: none; }
}

/* ===== Visites — avis visiteurs (statique, relevé du 20/10/2026) =====
   Aucun widget ni script tiers : notes et extraits recopiés à la main, liens vers chaque plateforme.
   Textes : --brand-red #7E271B (≥ 9:1 sur blanc), --text-light #5e5346 (≥ 5,7:1 sur #ebe3d4). Étoiles décoratives. */
.visits-reviews {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(126,39,27,0.15);
}

.reviews-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--brand-red);
  text-align: center;
  margin-bottom: 2rem;
}

.reviews-badges {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0 0 2rem;
}

.review-badge {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.35rem 0.75rem;
  height: 100%;
  padding: 1.1rem 1.25rem;
  background: var(--white);
  border: 1px solid rgba(126,39,27,0.12);
  border-top: 3px solid var(--gold);   /* décor */
  color: var(--text);
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.review-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
  border-color: rgba(126,39,27,0.3);
}

.review-badge:hover .review-platform { text-decoration: underline; text-underline-offset: 3px; }

.review-platform {
  grid-column: 1 / -1;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-red);
}

.review-note {
  font-size: 0.95rem;
  color: var(--text-light);
}

.review-note strong {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
  color: var(--brand-red);
  font-variant-numeric: lining-nums;
}

.review-count {
  grid-column: 1 / -1;
  font-size: 0.9rem;
  color: var(--text-light);
}

/* Étoiles : 5 caractères ★ remplis selon la note (classe, pas de style en ligne — CSP) */
.review-stars {
  --fill: 100%;
  display: inline-block;
  font-size: 1.05rem;
  letter-spacing: 0.1em;
  line-height: 1;
  white-space: nowrap;
}

.review-stars::before {
  content: "★★★★★";
  background: linear-gradient(90deg, var(--gold) var(--fill), #d4c8b4 var(--fill));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.review-badge .review-stars { justify-self: end; grid-row: 2; grid-column: 2; }
.review-badge .review-note { grid-row: 2; grid-column: 1; }

.stars-50 { --fill: 100%; }
.stars-49 { --fill: 98%; }
.stars-48 { --fill: 96%; }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.review-card {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 1.75rem 1.5rem 1.5rem;
  background: var(--white);
  border: 1px solid rgba(92,26,26,0.06);
}

.review-card-note { margin-bottom: 0.9rem; }

.review-card blockquote {
  flex: 1;
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--text);
}

.review-card blockquote p + p { margin-top: 0.75rem; }

.review-card figcaption {
  margin-top: 1.25rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(205,89,36,0.35);  /* filet décoratif */
  font-size: 0.85rem;
  color: var(--text-light);
}

.review-author {
  font-weight: 600;
  color: var(--brand-red);
}

.reviews-cta {
  margin-top: 2rem;
  text-align: center;
}

.reviews-legal {
  max-width: 720px;
  margin: 1.5rem auto 0;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--text-light);            /* #5e5346 sur #ebe3d4 : ≈ 5,8:1 */
  text-align: center;
}

@media (max-width: 960px) {
  .reviews-grid { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
}

@media (max-width: 720px) {
  .visits-reviews { margin-top: 3rem; padding-top: 2.25rem; }
  .reviews-badges { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .review-card { padding: 1.5rem 1.25rem 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  .review-badge { transition: none; }
  .review-badge:hover { transform: none; }
}

/* ===== Carte des appellations (#histoire) ===== */
/* ===== #histoire : texte en haut, puis chiffres clés (petits, à gauche) + carte (à droite) ===== */
#histoire .domaine-grid { display: block; }
#histoire .domaine-text { max-width: 46rem; margin: 0 auto; }

.histoire-row {
  display: grid;
  grid-template-columns: minmax(150px, 200px) minmax(0, 640px);
  justify-content: center;
  align-items: center;            /* chiffres centrés verticalement par rapport à la carte */
  gap: 3rem;
  margin-top: 3rem;
}

.histoire-row .domaine-stats {
  grid-template-columns: 1fr;     /* empilés dans la colonne étroite */
  gap: 0.875rem;
}

.histoire-row .stat {
  padding: 0.9rem 0.75rem;
}

.histoire-row .stat-number {
  font-size: 1.75rem;             /* 28 px gras = grand texte : orange 4,16:1 sur blanc ≥ 3:1 */
  margin-bottom: 0.2rem;
}

.histoire-row .stat-label {
  font-size: 0.75rem;
}

.histoire-carte { max-width: 640px; width: 100%; margin: 0; }
.histoire-carte img { display: block; width: 100%; height: auto; }
.histoire-carte figcaption { margin-top: .75rem; text-align: center; font-size: .95rem; color: var(--primary-dark); }
.histoire-carte figcaption small { display: block; margin-top: .25rem; font-size: .75rem; line-height: 1.5; opacity: .8; }
@media (max-width: 960px) {
  .histoire-row { gap: 2rem; grid-template-columns: minmax(140px, 170px) minmax(0, 640px); }
}
@media (max-width: 760px) {
  .histoire-row { grid-template-columns: 1fr; gap: 1.5rem; margin-top: 2rem; }
  .histoire-row .domaine-stats { grid-template-columns: 1fr 1fr; gap: 0.75rem; }   /* 2×2 au-dessus de la carte */
  .histoire-carte { max-width: none; }
}

/* ===== Nos vins : fiches techniques dépliables (d'après les fiches du domaine) ===== */
.vins-fiche { margin-top: .7rem; }
.vins-fiche summary {
  display: inline-flex; align-items: center; gap: .45rem;
  cursor: pointer; list-style: none;
  font: 500 0.72rem/1 var(--font-sans);
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand-red);
  padding: .35rem 0;
}
.vins-fiche summary::-webkit-details-marker { display: none; }
.vins-fiche summary::before { content: '+'; font-size: 1rem; line-height: 1; width: .8rem; }
.vins-fiche[open] summary::before { content: '–'; }
.vins-fiche summary:focus-visible { outline: 2px solid var(--brand-red); outline-offset: 3px; border-radius: 2px; }
.vins-fiche dl { margin: .5rem 0 0; display: grid; gap: .55rem; }
.vins-fiche dl > div { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: .75rem; }
.vins-fiche dt { font-size: .74rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--bordeaux-dark); padding-top: .15rem; }
.vins-fiche dd { margin: 0; font-size: .9rem; line-height: 1.55; color: var(--text-light); }
@media (max-width: 600px) {
  .vins-fiche dl > div { grid-template-columns: minmax(0, 1fr); gap: .1rem; }
}

/* ===== Galerie — Proposition B : grand carrousel ===== */
.gal-b .section-header { margin-bottom: 2.5rem; }
.gal-b .carousel { position: relative; }
.gal-b .carousel-track {
  --slide-h: clamp(380px, 76vh, 820px);
  display: flex; gap: 1.25rem;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 0 max(1.5rem, calc((100vw - 1400px) / 2)) 0.5rem;
  scroll-padding: 0 max(1.5rem, calc((100vw - 1400px) / 2));
  scrollbar-width: none;
}
.gal-b .carousel-track::-webkit-scrollbar { display: none; }
.gal-b .carousel-track:focus-visible { outline: 3px solid var(--brand-red); outline-offset: 4px; }
.gal-b .carousel-slide { flex: 0 0 auto; margin: 0; scroll-snap-align: center; }
.gal-b .carousel-slide picture { display: block; }
.gal-b .carousel-slide img {
  display: block; height: var(--slide-h); width: auto; max-width: min(84vw, 1240px);
  object-fit: cover; border-radius: 3px;
  box-shadow: 0 18px 40px rgba(46,38,28,0.18);
}
.gal-b .carousel-pano img { object-position: 50% 60%; }
.gal-b .carousel-slide figcaption {
  margin-top: 0.9rem; font-family: var(--font-serif); font-style: italic;
  font-size: 1.2rem; color: var(--text); text-align: center;
}
.gal-b .carousel-slide:not(.is-active) img { opacity: 0.55; }
.gal-b .carousel-slide img { transition: opacity 0.5s ease; }
.gal-b .carousel-controls {
  display: flex; align-items: center; justify-content: center; gap: 1.5rem; margin-top: 1.75rem;
}
.gal-b .carousel-arrow {
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--brand-red); background: transparent; color: var(--brand-red);
  font-size: 1.3rem; cursor: pointer; transition: background var(--transition), color var(--transition);
}
.gal-b .carousel-arrow:hover { background: var(--brand-red); color: #fff; }
.gal-b .carousel-arrow[disabled] { opacity: 0.35; cursor: default; background: transparent; color: var(--brand-red); }
.gal-b .carousel-dots { display: flex; gap: 0.6rem; }
.gal-b .carousel-dot {
  width: 12px; height: 12px; padding: 0; border-radius: 50%;
  border: 1px solid var(--brand-red); background: transparent; cursor: pointer;
  position: relative;
}
.gal-b .carousel-dot::after { content: ''; position: absolute; inset: -10px; }
.gal-b .carousel-dot[aria-current="true"] { background: var(--brand-red); }
@media (max-width: 720px) {
  .gal-b .carousel-track { --slide-h: 62vh; gap: 0.75rem; padding: 0 4vw 0.5rem; scroll-padding: 0 4vw; }
  .gal-b .carousel-slide img { width: 88vw; max-width: 88vw; }
  .gal-b .carousel-pano img { object-position: 68% 50%; }
  .gal-b .carousel-slide:nth-child(4) img { object-position: 30% 50%; }
  .gal-b .carousel-slide figcaption { font-size: 1.05rem; }
  .gal-b .carousel-controls { gap: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .gal-b .carousel-track { scroll-behavior: auto; }
  .gal-b .carousel-slide img { transition: none; }
}

/* ===== Sélecteur de langue FR | EN (en-tête et menu mobile) ===== */
.nav .lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: 0.25rem;
  padding-left: 1.25rem;
  border-left: 1px solid rgba(255,255,255,0.35);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}
.header.scrolled .nav .lang-switch { border-left-color: rgba(0,0,0,0.15); }
.nav .lang-switch a { font-size: 0.8rem; opacity: 0.75; }
.nav .lang-switch a[aria-current="page"] { opacity: 1; font-weight: 500; }
.nav .lang-switch a[aria-current="page"]::after { width: 100%; }
.nav .lang-sep { opacity: 0.5; color: rgba(255,255,255,0.85); }
.header.scrolled .nav .lang-sep { color: var(--text); }
@media (max-width: 900px) {
  .nav .lang-switch { margin: 0.5rem 0 0; padding: 0.75rem 0 0; border-left: 0; border-top: 1px solid rgba(0,0,0,0.12); }
  .nav .lang-switch a { font-size: 0.95rem; }
  .nav .lang-sep { color: var(--text); }
}
/* Traductions des citations (page anglaise) */
.translation { font-size: 0.9em; font-style: italic; opacity: 0.85; }
/* Écrans intermédiaires : 8 liens + sélecteur de langue tiennent sur une ligne */
@media (min-width: 901px) {
  .nav { align-items: center; }
  .nav a { white-space: nowrap; }
}
@media (min-width: 901px) and (max-width: 1140px) {
  .nav { gap: 1rem; }
  .nav a { font-size: 0.84rem; letter-spacing: 0.02em; }
  .nav .lang-switch { padding-left: 0.9rem; margin-left: 0; }
}

/* ===== #histoire : frise chronologique ===== */
.frise-wrap { max-width: 50rem; margin: 4.5rem auto 0; }
.frise-header { text-align: center; margin-bottom: 2.5rem; }
.frise-header h3 { font-size: clamp(1.75rem, 3.5vw, 2.25rem); margin-bottom: 0; }
.frise { list-style: none; position: relative; margin: 0; padding: 0; }
.frise::before {                 /* filet vertical */
  content: ""; position: absolute; top: .6rem; bottom: .6rem;
  left: calc(10.5rem + 1.25rem); width: 1px;
  background: linear-gradient(to bottom, var(--brand-orange), var(--brand-red));
  opacity: .55;
}
.frise-item {
  position: relative;
  display: grid;
  grid-template-columns: 10.5rem minmax(0, 1fr);
  column-gap: 2.5rem;
  padding: 0 0 2rem;
}
.frise-item:last-child { padding-bottom: 0; }
.frise-item::before {            /* point sur le filet */
  content: ""; position: absolute;
  left: calc(10.5rem + 1.25rem - 6px); top: .55rem;
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--cream, #f7f1e6);
  border: 2px solid var(--brand-orange);
  box-sizing: border-box;
}
.frise-date {
  text-align: right;
  font-family: var(--font-serif);
  font-size: 1.6rem; font-weight: 600; line-height: 1.1;
  color: var(--brand-red);
}
.frise-date sup { font-size: .55em; }
.frise-body h4 {
  font-family: var(--font-sans);
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand-red); margin: .3rem 0 .35rem;
}
.frise-body p { margin: 0; line-height: 1.65; }
@media (max-width: 760px) {
  .frise-wrap { margin-top: 3rem; }
  .frise-header { margin-bottom: 1.75rem; }
  .frise::before { left: 6px; }
  .frise-item { grid-template-columns: 1fr; padding: 0 0 1.75rem 2rem; }
  .frise-item::before { left: 0; top: .45rem; }
  .frise-date { text-align: left; font-size: 1.45rem; }
  .frise-body h4 { margin-top: .2rem; }
}
.frise-date { font-variant-numeric: lining-nums; }
.frise-item:last-child::after {  /* le filet s'arrête au dernier point */
  content: ""; position: absolute; left: calc(10.5rem + 1.25rem - 3px);
  top: calc(.55rem + 13px); bottom: -1rem; width: 7px; background: var(--cream, #f7f1e6);
}
@media (max-width: 760px) {
  .frise-item:last-child::after { left: 3px; top: calc(.45rem + 13px); }
}

/* ===== Illustrations de fond (trame) — d'après les dessins du domaine =====
   Décor seul : pseudo-élément derrière le contenu, sans effet sur la mise en page.
   Le fond est rogné par la boîte du pseudo-élément (inset: 0) : aucun débordement horizontal.
   Retirer ce bloc suffit à revenir en arrière. */
#histoire, #pratiques, #vins, #contact {
  position: relative;
  isolation: isolate;            /* le décor reste au-dessus du fond de la section */
}
#histoire::before, #pratiques::before, #vins::before, #contact::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-repeat: no-repeat;
}
/* Racines — bas droit de « Notre histoire », à côté de la frise */
#histoire::before {
  background-image: url("images/illus-racines.svg");
  background-size: 440px auto;
  background-position: right -90px bottom -60px;
  opacity: .08;
}
/* Village et vignes — haut gauche de « Nos pratiques » */
#pratiques::before {
  background-image: url("images/illus-village.svg");
  background-size: 520px auto;
  background-position: left -140px top 24px;
  opacity: .11;
}
/* Racines — bas gauche de « Nos vins », sous la photo des bouteilles */
#vins::before {
  background-image: url("images/illus-racines.svg");
  background-size: 400px auto;
  background-position: left -120px bottom -90px;
  opacity: .08;
}
/* Village et vignes — posé sur le bas de « Nous contacter », au-dessus du pied de page */
#contact::before {
  background-image: url("images/illus-village.svg");
  background-size: 720px auto;
  background-position: left -60px bottom 0;
  opacity: .12;
}
@media (max-width: 760px) {
  #histoire::before { background-size: 260px auto; background-position: right -70px bottom -40px; opacity: .07; }
  #pratiques::before { display: none; }
  #vins::before { display: none; }
  #contact::before { background-size: 420px auto; background-position: center bottom 0; opacity: .10; }
}

/* ===== Eurofeuille (logo bio UE) ===== */
.footer-bio { display:flex; align-items:center; justify-content:center; gap:14px; margin:0 auto 1rem; }
.footer-bio img { height:48px; width:auto; display:block; }
.footer-bio span { font-size:.8rem; line-height:1.35; text-align:left; color:var(--cream, #F7F1E6); }
.bio-badge { display:flex; align-items:center; gap:10px; margin-top:.5rem; }
.bio-badge img { height:36px; width:auto; display:block; }
.bio-badge span { font-size:.75rem; line-height:1.3; color:var(--text-light); }

/* ===== Objectif (remplace la citation de #pratiques) ===== */
.philosophy-objectif { text-align: left; max-width: 640px; }
.philosophy-objectif .eyebrow { text-align: center; }
.objectif-lead { font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-size: 1.3rem; line-height: 1.5; color: var(--brand-red, #7E271B); margin: .5rem 0 1rem; text-align: center; }
.objectif-list { list-style: none; margin: 0 auto; padding: 0; display: grid; gap: .55rem; max-width: 520px; }
.objectif-list li { position: relative; padding-left: 1.4rem; line-height: 1.5; }
.objectif-list li::before { content: ""; position: absolute; left: 0; top: .6em; width: .5rem; height: .5rem; border-radius: 50%; background: #CD5924; }

/* ===== #distribution : où trouver nos vins (agents en France, importateurs) =====
   Source : document du domaine. Couleurs des pastilles = légende de la carte des agents. */
.distrib-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 3rem; align-items: start; }
.distrib-block h3 { font-family: var(--font-serif); font-size: clamp(1.5rem, 2.6vw, 1.9rem); color: var(--brand-red); margin-bottom: 1.25rem; }
.distrib-map { margin: 0 0 1.5rem; background: var(--white); border: 1px solid var(--cream-dark); padding: 0.75rem; }
.distrib-map img { display: block; width: 100%; height: auto; max-width: 647px; margin: 0 auto; }
.distrib-map figcaption { font-family: var(--font-sans); font-size: 0.85rem; color: var(--text-light); margin-top: 0.6rem; text-align: center; }
.distrib-agents { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.15rem 1.5rem; grid-template-columns: 1fr 1fr; }
.distrib-agents li { display: grid; grid-template-columns: 0.9rem 1fr; align-content: start; column-gap: 0.6rem; padding: 0.55rem 0; border-bottom: 1px solid var(--cream-dark); font-family: var(--font-sans); }
.distrib-swatch { grid-row: span 2; width: 0.9rem; height: 0.9rem; margin-top: 0.2rem; border: 1px solid rgba(34,34,33,0.25); }
.distrib-agent { font-weight: 500; color: var(--brand-black); font-size: 0.95rem; }
.distrib-deps { font-size: 0.84rem; color: var(--text-light); line-height: 1.45; }
.distrib-continent { background: var(--white); border-left: 3px solid var(--brand-orange); padding: 1.1rem 1.4rem; margin-bottom: 1rem; }
.distrib-continent h4 { font-family: var(--font-sans); font-size: 0.8rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand-red); margin: 0 0 0.6rem; }
.distrib-continent dl { margin: 0; }
.distrib-continent dl > div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.35rem 0; border-bottom: 1px dotted var(--cream-dark); font-family: var(--font-sans); font-size: 0.92rem; }
.distrib-continent dl > div:last-child { border-bottom: 0; }
.distrib-continent dt { color: var(--text-light); }
.distrib-continent dd { margin: 0; font-weight: 500; color: var(--brand-black); text-align: right; }
.distrib-cta { text-align: center; margin-top: 2.5rem; }
@media (max-width: 900px) {
  .distrib-grid { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 560px) {
  .distrib-agents { grid-template-columns: 1fr; }
  .distrib-map { padding: 0.4rem; }
}

/* ===== #distribution v2 : carte SVG des agents (variante A) + pastilles charte =====
   Teintes identiques aux attributs fill de images/carte-agents-france*.svg (générés par distrib/build_svg.py). */
.sw-bonvivant { background: #7E271B; } .sw-foudre { background: #CD5924; } .sw-francdepied { background: #E8B04B; }
.sw-ivrognes { background: #6F95A3; } .sw-anneesvins { background: #B84A62; } .sw-massale { background: #A9B98F; }
.sw-origines { background: #4E5B3A; } .sw-passeur { background: #C98A8A; } .sw-pion { background: #C4C42C; }
.sw-racines { background: #D9C3A0; } .sw-recolte { background: #6F8B5E; } .sw-resonance { background: #5C4A3A; }
.sw-jesson { background: #9C6B4E; } .sw-stanisjack { background: #7D5A80; }
.distrib-swatch { border-radius: 50%; border-color: rgba(34,34,33,0.15); }
.distrib-carte { background: #fffdf9; padding: 1rem; }
.distrib-carte svg, .distrib-carte img { display: block; width: 100%; height: auto; max-width: 560px; margin: 0 auto; }
.distrib-carte .ca-dep { transition: fill-opacity 0.2s ease, stroke 0.2s ease; }
.distrib-carte.is-hl .ca-dep { fill-opacity: 0.28; }
.distrib-carte.is-hl .ca-dep.is-on { fill-opacity: 1; stroke: #222221; stroke-width: 0.9; }
.distrib-regions { display: none; }
.distrib-agents li[data-agent] { cursor: default; transition: background-color 0.2s ease; }
.distrib-agents li[data-agent]:focus { outline: none; }
.distrib-agents li[data-agent]:focus-visible { outline: 2px solid var(--brand-orange); outline-offset: 2px; }
.distrib-agents li.is-on { background: rgba(205,89,36,0.08); }
.distrib-agents li.is-on .distrib-agent { color: var(--brand-red); }
@media (prefers-reduced-motion: reduce) {
  .distrib-carte .ca-dep, .distrib-agents li[data-agent] { transition: none; }
}

/* ===== #vins : liens vers les sites des appellations ===== */
.aoc-links { font-family: var(--font-sans); font-size: 0.95rem; color: var(--text-light); text-align: center; max-width: 44rem; margin: 1.5rem auto 0; }
.aoc-links a { color: var(--brand-red); text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
.aoc-links a:hover, .aoc-links a:focus-visible { color: var(--brand-orange); }

/* ===== Source fond de carte distribution ===== */
.distrib-source { display:inline-block; margin-top:.35rem; font-size:.7rem; opacity:.7; }

/* ===== Photo de nous trois (#histoire) ===== */
#histoire .domaine-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 3.5rem; align-items: center; max-width: 72rem; margin: 0 auto; }
#histoire .domaine-text { max-width: none; margin: 0; }
.domaine-photo { margin: 0; }
.domaine-photo img { display: block; width: 100%; height: auto; border-radius: 4px; box-shadow: 0 18px 40px -22px rgba(60, 25, 15, .55); }
.domaine-photo figcaption { margin-top: .75rem; font-size: .85rem; color: #7E271B; text-align: center; letter-spacing: .02em; }
@media (max-width: 960px) {
  #histoire .domaine-grid { grid-template-columns: 1fr; gap: 2rem; }
  .domaine-photo { max-width: 26rem; margin: 0 auto; order: -1; }
}

/* ===== #visites : nos tables autour de nous & caves (adresses) ===== */
.visits-adresses { margin-top: 4rem; padding-top: 3rem; border-top: 1px solid rgba(126,39,27,0.15); }
.visits-adresses .reviews-title { margin-bottom: 0.75rem; }
.adresses-intro { font-family: var(--font-sans); font-size: 0.98rem; color: var(--text-light); text-align: center; max-width: 40rem; margin: 0 auto 1.75rem; }
.adresses-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.adresses-caves { grid-template-columns: repeat(2, minmax(0, 17rem)); justify-content: center; }
.adresse-card { background: var(--white, #fff); border-top: 3px solid var(--brand-orange); padding: 1.1rem 1.15rem 1.2rem; }
.adresse-nom { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 600; line-height: 1.2; margin: 0 0 0.4rem; }
.adresse-nom a { color: var(--brand-red); text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size 0.2s ease; }
.adresse-nom a:hover, .adresse-nom a:focus-visible { background-size: 100% 1px; color: var(--brand-red); }
.adresse-nom a:focus-visible { outline: 2px solid var(--brand-orange); outline-offset: 2px; }
.adresse-ville { font-family: var(--font-sans); font-size: 0.85rem; font-weight: 500; letter-spacing: 0.02em; color: var(--brand-red); margin: 0 0 0.15rem; white-space: nowrap; }
.adresse-rue { font-family: var(--font-sans); font-size: 0.9rem; color: var(--text); line-height: 1.45; margin: 0; }
.adresses-fermes { margin-top: 2.5rem; }
.adresses-soustitre { font-family: var(--font-serif); font-size: clamp(1.3rem, 2.4vw, 1.55rem); font-weight: 600; color: var(--brand-red); text-align: center; margin: 0 0 0.5rem; }
@media (max-width: 1100px) { .adresses-tables { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .visits-adresses { margin-top: 3rem; padding-top: 2.25rem; }
  .adresses-tables, .adresses-caves { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
}
@media (max-width: 480px) { .adresses-tables, .adresses-caves { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .adresse-nom a { transition: none; } }

/* ===== Adresses : présentation discrète (liste simple, sans cartes) ===== */
.visits-adresses { margin-top: 3rem; padding-top: 2rem; max-width: 70rem; margin-left: auto; margin-right: auto; }
.visits-adresses .reviews-title { font-size: clamp(1.25rem, 2.2vw, 1.45rem); margin-bottom: .4rem; }
.visits-adresses .adresses-intro { font-size: .9rem; margin-bottom: 1rem; }
.adresses-grid, .adresses-caves, .adresses-tables { display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem 0; grid-template-columns: none; }
.adresse-card { background: none; border: 0; padding: 0; display: flex; align-items: baseline; gap: .4rem; }
.adresse-card + .adresse-card::before { content: "·"; color: var(--brand-orange); margin: 0 .7rem; }
.adresse-nom { font-size: 1.1rem; margin: 0; }
.adresse-ville { font-size: .8rem; font-weight: 400; color: var(--text-light); margin: 0; }
.adresse-rue { display: none; }
.adresses-fermes { margin-top: 1.5rem; }
.adresses-soustitre { font-size: 1.1rem; margin-bottom: .25rem; }
@media (max-width: 1000px) {
  .adresses-grid, .adresses-caves, .adresses-tables { flex-direction: column; align-items: center; gap: .3rem; }
  .adresse-card + .adresse-card::before { content: none; }
}
