/* ==========================================================================
   Domaine Sylvain Faudot — version moderne (index.html + pages intérieures)
   Direction : storytelling éditorial, palette terre du domaine,
   Poppins pour tous les textes.
   ========================================================================== */

/* 1. Variables & reset
   ========================================================================== */
:root {
  --beige-very-light: #fbf3e7;
  --beige-light: #f3dfc1;
  --beige: #d8bf98;
  --beige-deep: #b99668;
  --brown: #56351f;
  --brown-dark: #2b1b11;
  --brown-soft: #745239;
  --shadow: rgba(43, 27, 17, 0.18);

  --line: rgba(86, 53, 31, 0.14);
  --line-light: rgba(251, 243, 231, 0.18);

  --font-display: 'Poppins', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --font-body: 'Poppins', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;

  --container: 1240px;
  --gutter: clamp(20px, 5vw, 56px);
  --section-y: clamp(88px, 12vw, 160px);
  --radius-lg: 28px;
  --radius-md: 18px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 0.25s ease;
  --nav-h: 76px;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--brown-dark);
  background: var(--beige-very-light);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

svg {
  flex-shrink: 0;
}

/* Un numéro de téléphone ne se coupe jamais en fin de ligne */
a[href^="tel:"] {
  white-space: nowrap;
}

:focus-visible {
  outline: 2px solid var(--beige-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: min(var(--container), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--brown-dark);
  color: var(--beige-very-light);
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform var(--t-fast);
}

.skip-link:focus {
  transform: translateY(0);
}

/* 2. Éléments typographiques partagés
   ========================================================================== */
.eyebrow,
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brown-soft);
}

.eyebrow--light,
.kicker--light {
  color: var(--beige);
}

.kicker {
  margin-bottom: 22px;
}

.kicker-num {
  font-family: var(--font-display);
  font-size: 18px;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--brown);
}

.kicker--light .kicker-num {
  color: var(--beige-light);
}

.kicker-num::after {
  content: '';
  display: inline-block;
  width: 36px;
  height: 1px;
  margin-left: 14px;
  vertical-align: middle;
  background: currentColor;
  opacity: 0.6;
}

.display {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(30px, 3.8vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--brown);
  text-wrap: balance;
}

.display--light {
  color: var(--beige-very-light);
}

.prose p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--brown-soft);
  text-wrap: pretty;
}

.prose p + p {
  margin-top: 18px;
}

/* 3. Boutons & liens
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}

.btn svg,
.link-arrow svg,
.visit-card-cta svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform var(--t-fast);
}

.btn:hover svg,
.link-arrow:hover svg,
.visit-card:hover .visit-card-cta svg {
  transform: translateX(4px);
}

.btn--sm {
  min-height: 44px;
  padding: 0 20px;
  font-size: 14px;
}

.btn--primary {
  background: var(--brown);
  color: var(--beige-very-light);
}

.btn--primary:hover {
  background: var(--brown-dark);
}

.btn--gold {
  background: var(--beige-light);
  color: var(--brown-dark);
}

.btn--gold:hover {
  background: var(--beige-very-light);
  transform: translateY(-2px);
}

.btn--ghost-light {
  color: var(--beige-very-light);
  border-color: rgba(251, 243, 231, 0.4);
}

.btn--ghost-light:hover {
  border-color: var(--beige-very-light);
  background: rgba(251, 243, 231, 0.08);
  transform: translateY(-2px);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--brown);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: border-color var(--t-fast), color var(--t-fast);
}

.link-arrow:hover {
  color: var(--brown-dark);
  border-color: var(--brown);
}

/* 4. Navigation
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  width: 100%;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 clamp(16px, 4vw, 56px);
  border-bottom: 1px solid var(--line-light);
  /* Voile sombre flouté : texte lisible même sur une photo claire */
  background: linear-gradient(to bottom, rgba(43, 27, 17, 0.78), rgba(43, 27, 17, 0.55));
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  backdrop-filter: blur(14px) saturate(1.1);
  text-shadow: 0 1px 2px rgba(43, 27, 17, 0.35);
  color: var(--beige-very-light);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease), color 0.4s var(--ease);
}

.navbar[data-scrolled='true'],
body.menu-open .navbar {
  color: var(--brown-dark);
  background: rgba(251, 243, 231, 0.94);
  border-bottom-color: var(--line);
  text-shadow: none;
  box-shadow: 0 6px 24px rgba(43, 27, 17, 0.08);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  backdrop-filter: blur(18px) saturate(1.3);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 56px;
  height: 44px;
}

.brand-mark img {
  grid-area: 1 / 1;
  width: 100%;
  height: auto;
  transition: opacity 0.4s var(--ease);
}

/* Logo clair sur le hero, logo foncé une fois la barre opaque */
.brand-mark-dark,
.navbar[data-scrolled='true'] .brand-mark-light,
body.menu-open .brand-mark-light {
  opacity: 0;
}

.navbar[data-scrolled='true'] .brand-mark-dark,
body.menu-open .brand-mark-dark {
  opacity: 1;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand-region {
  margin-top: 3px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.72;
}

.menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.2vw, 34px);
  flex: 1;
}

.menu a {
  position: relative;
  padding: 8px 0;
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  opacity: 0.92;
  transition: opacity var(--t-fast);
}

.menu a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}

.menu a:hover,
.menu a.is-active {
  opacity: 1;
}

.menu a:hover::after,
.menu a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu .menu-cta {
  display: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.navbar:not([data-scrolled='true']) .nav-contact {
  background: var(--beige-very-light);
  color: var(--brown-dark);
}

.navbar:not([data-scrolled='true']) .nav-contact:hover {
  background: var(--beige-light);
}

/* Sélecteur de langue */
.lang-switcher {
  position: relative;
}

.lang-switcher-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid currentColor;
  border-color: color-mix(in srgb, currentColor 30%, transparent);
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font: 600 13px/1 var(--font-body);
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: border-color var(--t-fast), background var(--t-fast);
}

.lang-switcher-toggle:hover {
  border-color: currentColor;
}

.lang-switcher-flag {
  font-size: 16px;
  line-height: 1;
}

.lang-switcher-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 160px;
  padding: 6px;
  list-style: none;
  background: var(--beige-very-light);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 18px 40px rgba(43, 27, 17, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--t-fast), visibility var(--t-fast), transform var(--t-fast);
}

.lang-switcher.is-open .lang-switcher-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-switcher-option {
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--brown-dark);
  font: 500 14px/1 var(--font-body);
  text-align: left;
  cursor: pointer;
  transition: background var(--t-fast);
}

.lang-switcher-option:hover,
.lang-switcher-option.is-active {
  background: rgba(86, 53, 31, 0.08);
  color: var(--brown);
}

/* Burger */
.menu-toggle {
  display: none;
  position: relative;
  width: 46px;
  height: 46px;
  border: 1px solid color-mix(in srgb, currentColor 30%, transparent);
  border-radius: 999px;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.menu-toggle-bar {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.35s var(--ease), top 0.35s var(--ease);
}

.menu-toggle-bar:nth-child(1) { top: 18px; }
.menu-toggle-bar:nth-child(2) { top: 26px; }

body.menu-open .menu-toggle-bar:nth-child(1) {
  top: 22px;
  transform: rotate(45deg);
}

body.menu-open .menu-toggle-bar:nth-child(2) {
  top: 22px;
  transform: rotate(-45deg);
}

/* 5. Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--nav-h) + 60px) 0 36px;
  color: var(--beige-very-light);
  background: var(--brown-dark);
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-media img,
.hero-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% center;
  transform: scale(1.08);
  animation: hero-zoom 14s var(--ease) forwards;
}

.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 70% 40%, rgba(43, 27, 17, 0) 0%, rgba(43, 27, 17, 0.45) 100%),
    linear-gradient(to top, rgba(43, 27, 17, 0.94) 0%, rgba(43, 27, 17, 0.5) 42%, rgba(43, 27, 17, 0.35) 100%),
    linear-gradient(90deg, rgba(43, 27, 17, 0.72) 0%, rgba(43, 27, 17, 0) 65%);
}

/* Bouton lecture / pause de la vidéo de fond */
.hero-footer-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.video-toggle {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(251, 243, 231, 0.3);
  border-radius: 50%;
  background: rgba(43, 27, 17, 0.25);
  color: var(--beige-very-light);
  cursor: pointer;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}

.video-toggle:hover {
  background: rgba(251, 243, 231, 0.12);
  border-color: var(--beige-very-light);
}

.video-toggle:active {
  transform: scale(0.94);
}

.video-toggle svg {
  grid-area: 1 / 1;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.video-toggle-play {
  fill: currentColor !important;
  stroke-width: 0 !important;
  transform: translateX(1px);
}

.video-toggle[aria-pressed='false'] .video-toggle-play,
.video-toggle[aria-pressed='true'] .video-toggle-pause {
  display: none;
}

@keyframes hero-zoom {
  to {
    transform: scale(1);
  }
}

.hero-content {
  padding-bottom: clamp(40px, 7vh, 88px);
}

.hero-content > * {
  opacity: 0;
  transform: translateY(24px);
  animation: hero-in 1s var(--ease) forwards;
}

.hero-content > :nth-child(1) { animation-delay: 0.15s; }
.hero-content > :nth-child(2) { animation-delay: 0.3s; }
.hero-content > :nth-child(3) { animation-delay: 0.5s; }
.hero-content > :nth-child(4) { animation-delay: 0.62s; }
.hero-content > :nth-child(5) { animation-delay: 0.74s; }
.hero-content > :nth-child(6) { animation-delay: 0.86s; }

@keyframes hero-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  margin: 22px 0 10px;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(40px, 7vw, 104px);
  line-height: 1;
  letter-spacing: -0.035em;
}

.hero-title-line {
  display: block;
}

.hero-title-line + .hero-title-line {
  padding-left: clamp(24px, 8vw, 140px);
}

/* « Père & Fils » : troisième ligne du titre, plus discrète */
.hero-title-family {
  margin-top: 0.12em;
  font-size: 0.46em;
  letter-spacing: -0.01em;
  color: var(--beige-light);
}

/* Raison sociale entre le titre et la signature */
.hero-company {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 18px 0 10px;
  padding-left: clamp(24px, 8vw, 140px);
  font-size: clamp(15px, 1.5vw, 19px);
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--beige);
}

.hero-company::before {
  content: '';
  width: 36px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.hero-slogan {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(20px, 2.3vw, 30px);
  font-weight: 300;
  color: var(--beige);
  padding-left: clamp(24px, 8vw, 140px);
}

.hero-lead {
  max-width: 640px;
  text-wrap: balance;
  margin-top: clamp(28px, 4vh, 44px);
  font-size: 17px;
  line-height: 1.65;
  color: rgba(251, 243, 231, 0.84);
}

/* Une seule ligne dès que l’écran est assez large pour l’afficher en entier */
@media (min-width: 1000px) {
  .hero-lead {
    max-width: none;
    white-space: nowrap;
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--line-light);
  opacity: 0;
  animation: hero-in 1s var(--ease) 1s forwards;
}

.hero-address {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: 14px;
  color: rgba(251, 243, 231, 0.82);
  text-decoration: none;
  transition: color var(--t-fast);
}

.hero-address:hover {
  color: var(--beige-very-light);
}

.hero-address svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--beige);
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(251, 243, 231, 0.72);
}

.scroll-cue-line {
  position: relative;
  width: 1px;
  height: 36px;
  overflow: hidden;
  background: var(--line-light);
}

.scroll-cue-line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--beige);
  animation: scroll-cue 2.2s var(--ease) infinite;
}

@keyframes scroll-cue {
  from { transform: translateY(-100%); }
  to { transform: translateY(100%); }
}

/* 6. Chiffres clés
   ========================================================================== */
.facts {
  padding: clamp(56px, 7vw, 88px) 0;
  border-bottom: 1px solid var(--line);
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.fact {
  padding: 8px clamp(16px, 2.5vw, 36px);
}

.fact + .fact {
  border-left: 1px solid var(--line);
}

.fact-value {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 300;
  line-height: 1;
  color: var(--brown);
  font-variant-numeric: lining-nums tabular-nums;
}

.fact-value small {
  font-size: 0.42em;
  font-style: italic;
  color: var(--beige-deep);
}

.fact-label {
  max-width: 220px;
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--brown-soft);
}

/* 7. Chapitres
   ========================================================================== */
.chapter {
  padding: var(--section-y) 0;
}

.chapter--dark {
  background: var(--brown-dark);
  color: var(--beige-very-light);
}

.chapter--sand {
  background: var(--beige-light);
}

.chapter-head {
  max-width: 760px;
  margin-bottom: clamp(48px, 6vw, 80px);
}

.chapter-head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  max-width: none;
}

.chapter-head--row > div {
  max-width: 720px;
}

.chapter-head--center {
  margin-inline: auto;
  text-align: center;
}

.chapter-intro {
  max-width: 560px;
  margin-top: 22px;
  font-size: 17px;
  color: rgba(251, 243, 231, 0.74);
}

/* Split image / texte */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(48px, 8vw, 120px);
  align-items: center;
}

.split--reverse .split-media {
  order: 2;
}

.split-media {
  position: relative;
}

.split-body .display {
  margin-bottom: 30px;
}

.photo {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--beige);
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.split-media:hover .photo img {
  transform: scale(1.03);
}

.photo--tall {
  aspect-ratio: 4 / 5;
  width: 82%;
}

.photo--inset {
  position: absolute;
  right: 0;
  bottom: -48px;
  width: 44%;
  aspect-ratio: 3 / 4;
  border: 8px solid var(--beige-very-light);
  box-shadow: 0 30px 60px var(--shadow);
}

.photo--portrait {
  aspect-ratio: 4 / 5;
}

.photo--portrait img {
  object-position: center 22%;
}

.villages {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.villages-title {
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brown-soft);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.chips li {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  color: var(--brown);
  background: rgba(243, 223, 193, 0.4);
}

/* Cépages */
.grapes {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  list-style: none;
}

.grape {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(360px, 34vw, 480px);
  padding: 22px 20px;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--brown);
  isolation: isolate;
}

.grape-photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 1.2s var(--ease), filter 0.6s var(--ease);
  filter: saturate(0.9);
}

.grape::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(43, 27, 17, 0.92) 0%, rgba(43, 27, 17, 0.35) 45%, rgba(43, 27, 17, 0.05) 70%);
  transition: opacity 0.6s var(--ease);
}

.grape::before {
  content: '';
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 0;
  height: 2px;
  background: var(--grape-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}

.grape:hover .grape-photo {
  transform: scale(1.08);
  filter: saturate(1.05);
}

.grape:hover::before {
  transform: scaleX(1);
}

.grape--white { --grape-color: var(--beige-light); }
.grape--red { --grape-color: var(--beige-deep); }

.grape-index {
  position: absolute;
  top: 18px;
  left: 20px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  color: var(--beige-very-light);
  text-shadow: 0 1px 8px rgba(43, 27, 17, 0.6);
}

.grape-name {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.3vw, 34px);
  font-weight: 400;
  line-height: 1.05;
  color: var(--beige-very-light);
}

.grape-type {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--beige);
}

.grape-type::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--grape-color);
}

/* Cuvées */
.wines {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
}

.wine {
  display: block;
  text-decoration: none;
  color: inherit;
}

.wine:nth-child(2) {
  margin-top: clamp(0px, 6vw, 72px);
}

.wine-media {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--beige);
}

.wine-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.wine:hover .wine-media img {
  transform: scale(1.04);
}

.wine-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(251, 243, 231, 0.92);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--brown);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.wine-appellation {
  margin-top: 22px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--beige-deep);
}

.wine-name {
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.2vw, 30px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--brown);
  transition: color var(--t-fast);
}

.wine:hover .wine-name {
  color: var(--brown-dark);
}

.wine-grape {
  margin-top: 4px;
  font-size: 14px;
  color: var(--brown-soft);
}

/* L'A Plume */
.photo--portrait {
  position: relative;
}

/* Encadré historique posé dans la photo, effet verre dépoli */
.fact-card {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  border-radius: var(--radius-md);
  background: rgba(43, 27, 17, 0.52);
  border: 1px solid rgba(251, 243, 231, 0.16);
  box-shadow: inset 0 1px 0 rgba(251, 243, 231, 0.12), 0 20px 40px rgba(43, 27, 17, 0.25);
  color: var(--beige-very-light);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
}

.fact-card-year {
  padding-right: 18px;
  border-right: 1px solid rgba(251, 243, 231, 0.25);
  font-family: var(--font-display);
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--beige-light);
}

.fact-card-text {
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(251, 243, 231, 0.88);
  text-wrap: pretty;
}

.signature {
  margin-top: 36px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 26px;
  color: var(--brown);
}

/* Partenaires */
.partners {
  padding: clamp(56px, 7vw, 88px) 0;
  text-align: center;
}

.partners-title {
  margin-bottom: 32px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brown-soft);
}

.partners-viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.partners-track {
  display: flex;
  width: max-content;
  animation: partners-scroll var(--partners-duration, 40s) linear infinite;
}

/* Un groupe = les logos une fois ; v2.js le duplique pour couvrir tout l’écran */
.partners-group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: clamp(64px, 10vw, 140px);
  padding-right: clamp(64px, 10vw, 140px);
}

.partners-viewport:hover .partners-track {
  animation-play-state: paused;
}

.partners-group img {
  height: 64px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: grayscale(1) sepia(0.35);
  opacity: 0.75;
  transition: filter var(--t-fast), opacity var(--t-fast);
}

.partners-group img:hover {
  filter: none;
  opacity: 1;
}

/* Décalage exact d’un groupe : la boucle est invisible */
@keyframes partners-scroll {
  to {
    transform: translateX(var(--partners-shift, -50%));
  }
}

/* Visite */
.chapter--visit {
  padding-top: clamp(56px, 7vw, 96px);
  border-top: 1px solid var(--line);
}

.visit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 28px);
}

.visit-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(420px, 42vw, 560px);
  overflow: hidden;
  border-radius: var(--radius-lg);
  color: var(--beige-very-light);
  text-decoration: none;
  isolation: isolate;
  background: var(--brown-dark);
}

.visit-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.visit-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(43, 27, 17, 0.9) 0%, rgba(43, 27, 17, 0.35) 55%, rgba(43, 27, 17, 0.1) 100%);
}

.visit-card:hover img {
  transform: scale(1.05);
}

.visit-card-body {
  padding: clamp(28px, 3.5vw, 44px);
}

.visit-card h3 {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.2vw, 44px);
  font-weight: 400;
  line-height: 1.05;
}

.visit-card p {
  max-width: 380px;
  margin-top: 12px;
  font-size: 15.5px;
  color: rgba(251, 243, 231, 0.82);
}

.visit-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(251, 243, 231, 0.4);
  font-size: 14px;
  font-weight: 500;
  transition: border-color var(--t-fast);
}

.visit-card:hover .visit-card-cta {
  border-color: var(--beige-very-light);
}

/* 8. Footer
   ========================================================================== */
.site-footer {
  padding: clamp(64px, 8vw, 104px) 0 32px;
  background: var(--brown-dark);
  color: rgba(251, 243, 231, 0.78);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line-light);
}

.footer-name {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--beige-very-light);
}

.footer-slogan {
  margin-top: 10px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 19px;
  color: var(--beige);
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.footer-heading {
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--beige-deep);
}

.footer-col address {
  font-style: normal;
  font-size: 15px;
  line-height: 1.7;
}

.footer-col a,
.footer-legal a,
.footer-copy a {
  font-size: 15px;
  text-decoration: none;
  transition: color var(--t-fast);
}

.footer-col a:hover,
.footer-legal a:hover,
.footer-copy a:hover {
  color: var(--beige-very-light);
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social-link {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  transition: border-color var(--t-fast), background var(--t-fast);
}

.footer-social-link:hover {
  border-color: var(--beige);
  background: rgba(251, 243, 231, 0.06);
}

.footer-social-link svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding-top: 28px;
}

.footer-evin {
  flex-basis: 100%;
  order: -1;
  margin-bottom: 4px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-light);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--beige);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.footer-legal a,
.footer-copy,
.footer-copy a {
  font-size: 13px;
}

.footer-copy a {
  color: var(--beige);
}

/* Bandeau de consentement (Google Analytics) */
.consent {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 90;
  width: min(480px, calc(100% - 32px));
  padding: 22px 24px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  background: var(--brown-dark);
  color: var(--beige-very-light);
  box-shadow: 0 24px 60px rgba(20, 12, 7, 0.4);
  animation: consent-in 0.5s var(--ease);
}

.consent[hidden] {
  display: none;
}

@keyframes consent-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}

.consent-title {
  font-size: 15px;
  font-weight: 600;
}

.consent-body {
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(251, 243, 231, 0.8);
}

.consent-more {
  color: var(--beige);
  text-underline-offset: 3px;
}

.consent-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

/* Refuser et Accepter ont exactement le même poids visuel (exigence CNIL) */
.consent-btn {
  flex: 1;
  min-height: 44px;
  border: 1px solid rgba(251, 243, 231, 0.45);
  border-radius: 999px;
  background: transparent;
  color: var(--beige-very-light);
  font: 500 14px/1 var(--font-body);
  cursor: pointer;
  transition: background var(--t-fast), border-color var(--t-fast);
}

.consent-btn:hover {
  border-color: var(--beige-very-light);
  background: rgba(251, 243, 231, 0.1);
}

.footer-cookie-btn {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  transition: color var(--t-fast);
}

.footer-cookie-btn:hover {
  color: var(--beige-very-light);
}

/* 9. Révélations au scroll (activées par v2.js)
   ========================================================================== */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* 10. Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .menu {
    display: none;
  }

  .menu-toggle {
    display: inline-block;
  }

  /* Menu plein écran */
  body.menu-open .menu {
    display: flex;
  }

  .menu {
    position: fixed;
    inset: 0;
    z-index: -1;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    padding: 120px var(--gutter) 48px;
    background: var(--beige-very-light);
    color: var(--brown-dark);
    border-radius: 0;
    animation: menu-in 0.4s var(--ease);
  }

  .menu a {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-display);
    font-size: clamp(28px, 7vw, 40px);
    font-weight: 400;
    opacity: 1;
  }

  .menu a::after {
    display: none;
  }

  .menu .menu-cta {
    display: block;
    margin-top: 28px;
    padding: 16px 24px;
    border: 0;
    border-radius: 999px;
    background: var(--brown);
    color: var(--beige-very-light);
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 500;
    text-align: center;
  }

  body.menu-open {
    overflow: hidden;
  }

  /* La barre de nav reste lisible au-dessus du menu plein écran */
  body.menu-open .navbar {
    box-shadow: none;
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  /* Cépages : défilement horizontal avec aimantation */
  .grapes {
    display: flex;
    gap: 12px;
    margin-inline: calc(-1 * var(--gutter));
    padding: 0 var(--gutter) 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }

  .grapes::-webkit-scrollbar {
    display: none;
  }

  .grape {
    flex: 0 0 min(280px, 72vw);
    min-height: 400px;
    scroll-snap-align: start;
  }

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@keyframes menu-in {
  from {
    opacity: 0;
  }
}

@media (max-width: 820px) {
  :root {
    --nav-h: 64px;
  }

  .navbar {
    gap: 12px;
    padding: 0 12px 0 16px;
  }

  .nav-contact {
    display: none;
  }

  .brand-mark {
    width: 44px;
  }

  .brand-name {
    font-size: 17px;
    letter-spacing: 0.1em;
  }

  .brand-region {
    display: none;
  }

  .hero-title-line + .hero-title-line,
  .hero-company,
  .hero-slogan {
    padding-left: 0;
  }

  .hero-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .scroll-cue {
    display: none;
  }

  .facts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 36px;
  }

  .fact:nth-child(3) {
    border-left: 0;
  }

  .split,
  .split--reverse {
    grid-template-columns: 1fr;
  }

  .split--reverse .split-media {
    order: 0;
  }

  .photo--tall {
    width: 78%;
  }

  .photo--inset {
    bottom: -32px;
    width: 46%;
    border-width: 6px;
  }

  .split:not(.split--reverse) .split-media {
    margin-bottom: 32px;
  }


  .chapter-head--row {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .wine:nth-child(2) {
    margin-top: 0;
  }

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

  .visit-card {
    min-height: 420px;
  }

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

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .fact {
    padding-inline: 12px;
  }

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

  .navbar {
    gap: 8px;
  }

  .brand {
    min-width: 0;
    gap: 10px;
  }

  .brand-mark {
    width: 36px;
  }

  .brand-name {
    font-size: 15px;
    letter-spacing: 0.06em;
    white-space: nowrap;
  }

  .nav-actions {
    gap: 6px;
  }

  .lang-switcher-toggle {
    padding: 0 12px;
  }

  .lang-switcher-flag {
    display: none;
  }

  .fact-card {
    grid-template-columns: 1fr;
    gap: 8px;
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 16px 18px;
  }

  .fact-card-year {
    padding-right: 0;
    border-right: 0;
  }
}

/* 11. Mouvement réduit
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-media img {
    transform: none;
  }

  .hero-content > *,
  .hero-footer {
    opacity: 1;
    transform: none;
  }

  .partners-track {
    animation: none;
    justify-content: center;
    width: auto;
  }

  .partners-group {
    flex-wrap: wrap;
    justify-content: center;
    padding-right: 0;
  }

  .scroll-cue-line::after {
    display: none;
  }
}
