/* ============================================================
   CSS Variables — Design System (all pages)
   ============================================================ */
:root {
  --wine:       oklch(0.32 0.12 275);   /* deep navy-violet headings */
  --gold:       #E0B758;                /* gold accents & links */
  --cream:      oklch(0.96 0.018 70);   /* warm cream footer */
  --background: #ffffff;
  --foreground: oklch(0.25 0.08 270);   /* body text */
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans:  "Montserrat", system-ui, sans-serif;
}

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

html,
body {
  font-family: var(--font-sans);
  font-weight: 300;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--wine);
}

a {
  text-decoration: none;
  color: inherit;
}

address {
  font-style: normal;
}

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

sup {
  font-size: 0.65em;
}

/* ============================================================
   Shared Utilities
   ============================================================ */
.section-title {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 2rem;
  color: var(--wine);
  line-height: 1.3;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.5rem;
  }
}

/* Body copy — 25px outer padding; 12.5px between stacked blocks (25px total gap) */
.intro-body > p,
.cuvee-tech-col > p,
.timeline-col .timeline-text,
.actu-article__meta > div,
.actu-article__text,
.presse-items > div,
.info-block__text > div {
  margin: 0;
  padding-top: 12.5px;
  padding-bottom: 12.5px;
}

.intro-body > p:first-child,
.cuvee-tech-col > p:first-of-type,
.timeline-col > .timeline-text:first-of-type,
.actu-article__meta > div:first-child,
.presse-items > div:first-child,
.info-block__text > div:first-child {
  padding-top: 25px;
}

.intro-body > p:last-child,
.cuvee-tech-col > p:last-of-type,
.presse-items > div:last-child,
.info-block__text > div:last-child {
  padding-bottom: 25px;
}

.timeline-col > .timeline-text:only-of-type {
  padding-bottom: 25px;
}

.timeline-companion .timeline-text {
  padding-top: 12.5px;
  padding-bottom: 25px;
}

.actu-article__meta + .actu-article__text {
  padding-top: 12.5px;
  padding-bottom: 25px;
}

.actu-article__meta > div:only-child {
  padding-bottom: 12.5px;
}

.page-intro-text,
.hero-subtitle,
.experiences-text,
.contact-intro,
.cuvee-hero__desc,
.cuvee-chars__text {
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 25px;
  padding-bottom: 25px;
}

.link-gold {
  color: var(--gold);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  font-size: 0.875rem;
  transition: opacity 0.2s;
}

.link-gold:hover {
  opacity: 0.75;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--background);
  transition: box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 2px 16px rgba(30, 27, 64, 0.1);
}

.header-inner {
  max-width: 80rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.5rem 1.5rem;
}

@media (min-width: 1024px) {
  .header-inner {
    justify-content: space-between;
  }
}

/* Desktop nav groups */
.nav-group {
  display: none;
  flex: 1;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 640px) {
  .nav-group {
    display: flex;
  }
}

@media (min-width: 1024px) {
  .nav-group {
    gap: 1.75rem;
  }
}

.nav-left  { justify-content: flex-end; }
.nav-right { justify-content: flex-start; }

.nav-link {
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wine);
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--gold);
}

@media (min-width: 768px) {
  .nav-link {
    letter-spacing: 0.15em;
  }
}

/* Logo */
.logo-link {
  display: block;
  flex-shrink: 0;
}

.logo-img {
  height: 6rem;
  width: auto;
  object-fit: contain;
}

@media (min-width: 1024px) {
  .logo-img {
    height: 8rem;
  }
}

/* Mobile hamburger button */
.mobile-menu-btn {
  all: unset;
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  cursor: pointer;
  padding: 8px !important;
  margin-left: auto;
  color: inherit !important;
  border-radius: 0 !important;
}

.mobile-menu-btn:hover,
.mobile-menu-btn:focus,
.mobile-menu-btn:active {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  color: inherit !important;
  outline: none !important;
}

@media (min-width: 640px) {
  .mobile-menu-btn {
    display: none !important;
  }

  .mobile-nav,
  .mobile-nav.open {
    display: none !important;
  }
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--wine);
  border-radius: 2px;
  transition: all 0.3s;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav panel */
.mobile-nav {
  display: none;
  flex-direction: column;
  background-color: var(--background);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding: 0.25rem 1.5rem 0.75rem;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav .nav-link {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  letter-spacing: 0.1em;
}

.mobile-nav .nav-link:last-child {
  border-bottom: none;
}

/* ============================================================
   HERO CONTAINER  (header + hero fill full viewport height)
   ============================================================ */
.hero-container {
  display: flex;
  flex-direction: column;
  height: calc(100svh - 7rem);
  overflow: hidden;
}

@media (min-width: 1024px) {
  .hero-container {
    height: calc(100svh - 9rem);
  }
}

/* Mobile: crop hero image height on Accueil/Domaine/Vins/Œnotourisme/Actualités
   (Presse & Contact use .page-banner instead, handled separately). */
@media (max-width: 767px) {
  .hero-container {
    height: 450px;
  }
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  flex: 1;
  width: 100%;
  overflow: hidden;
  background-color: var(--background);
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 1.5rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.hero-title {
  font-family: var(--font-serif);
  font-style: italic;
  color: white;
  font-size: 2rem;
  line-height: 1.25;
  max-width: calc(100vw - 3rem);
  text-wrap: balance;
}

@media (min-width: 640px)  { .hero-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 3.75rem; } }

.hero-subtitle {
  color: white;
  font-size: 0.875rem;
  max-width: calc(100vw - 3rem);
  padding-left: 70px;
  padding-right: 70px;
}

@media (min-width: 768px)  { .hero-subtitle { font-size: 1.125rem; } }
@media (min-width: 1024px) { .hero-subtitle { font-size: 1.25rem; } }

/* Mobile: bump hero paragraph text up from 14px to 16px for readability. */
@media (max-width: 767px) {
  .hero-subtitle { font-size: 1rem; }
}

.hero--bold .hero-title {
  font-weight: 700;
}

.hero--bold .hero-subtitle {
  font-weight: 600;
  max-width: calc(72rem - 3rem);
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
}

/* Homepage hero subtitle */
.hero:not(.hero--bold) .hero-subtitle {
  font-weight: 600;
}

/* ============================================================
   NAV CARDS
   ============================================================ */
.nav-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding: 1.5rem;
  background-color: var(--background);
}

@media (min-width: 768px) {
  .nav-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.nav-card {
  position: relative;
  display: block;
  height: 14rem;
  overflow: hidden;
}

.nav-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

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

.nav-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-card-overlay span {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 700;
  font-size: 1.8rem;
  color: white;
  text-align: center;
  padding: 0 1rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

/* ============================================================
   INTRO
   ============================================================ */
.intro {
  max-width: 72rem;
  margin: 0 auto;
  padding: 20px 1.5rem 10px;
}

.intro-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .intro-inner {
    grid-template-columns: 1fr 1fr;
  }
}

.intro-body {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: rgba(30, 27, 64, 0.8);
}

.intro-link.btn-gold {
  margin-top: 1rem;
}

.intro-image img {
  width: 100%;
  max-width: 24rem;
  margin: 0 auto;
  height: 22.5rem;
  object-fit: cover;
  object-position: top;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* ============================================================
   EXPERIENCES BANNER
   ============================================================ */
.experiences {
  position: relative;
  margin-top: 3rem;
  padding: 5rem 0;
}

@media (min-width: 768px) {
  .experiences {
    margin-top: 4rem;
    padding: 7rem 0;
  }
}

.experiences-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.experiences-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.3);
}

.experiences-content {
  position: relative;
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.experiences-title {
  font-family: var(--font-serif);
  font-style: italic;
  color: white;
  font-size: 1.875rem;
  line-height: 1.25;
  text-wrap: balance;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

@media (min-width: 640px) { .experiences-title { font-size: 2.25rem; } }
@media (min-width: 768px) { .experiences-title { font-size: 3rem; } }

.experiences-text {
  color: white;
  font-size: 0.875rem;
  max-width: 42rem;
  line-height: 1.7;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

@media (min-width: 768px)  { .experiences-text { font-size: 1rem; } }
@media (min-width: 1024px) { .experiences-text { font-size: 1.125rem; } }

.btn-gold {
  display: inline-block;
  margin-top: 2rem;
  background-color: var(--gold);
  color: white;
  font-weight: 500;
  font-size: 0.875rem;
  padding: 0.75rem 2.5rem;
  border-radius: 0.25rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: opacity 0.2s;
}

.btn-gold:hover {
  opacity: 0.9;
}

@media (min-width: 768px) {
  .btn-gold {
    font-size: 1rem;
  }
}

/* ============================================================
   WINES CAROUSEL
   ============================================================ */
.wines {
  padding: 30px 0;
}

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

.wines-title-link {
  color: var(--wine);
  transition: color 0.2s;
}

.wines-title-link:hover {
  color: var(--gold);
}

.carousel-wrapper {
  position: relative;
  max-width: 72rem;
  margin: 3rem auto 0;
  padding: 0 3rem;
}

.carousel {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Mobile: 1 item visible; Desktop ≥768px: 2 items visible */
.carousel-item {
  flex: 0 0 100%;
  display: flex;
  align-items: stretch;
}

@media (min-width: 768px) {
  .carousel-item {
    flex: 0 0 50%;
  }
}

.carousel-item-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  color: inherit;
  text-decoration: none;
}

.carousel-item-inner:hover .bottle-name {
  color: var(--gold);
}

.carousel-bottle-stack {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 15rem;
  height: 22.5rem;
  transition: transform 0.5s ease;
}

@media (min-width: 768px) {
  .carousel-bottle-stack {
    width: 18rem;
    height: 26.25rem;
  }
}

.carousel-item-inner:hover .carousel-bottle-stack {
  transform: translateY(-8px);
}

.carousel-bottle-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 15rem;
  height: 15rem;
  max-width: none;
  object-fit: contain;
  display: block;
}

@media (min-width: 768px) {
  .carousel-bottle-circle {
    width: 18rem;
    height: 18rem;
  }
}

.carousel-bottle-img {
  position: relative;
  z-index: 1;
  height: 22.5rem;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .carousel-bottle-img { height: 26.25rem; }
}

.bottle-name {
  margin-top: 1rem;
  margin-bottom: 14.592px;
  line-height: 1;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.875rem;
  color: var(--wine);
  text-align: center;
}

@media (min-width: 768px) {
  .bottle-name {
    font-size: 2.25rem;
  }
}

/* Prev / Next buttons */
.carousel-btn {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  min-width: 2.5rem;
  min-height: 2.5rem;
  padding: 0;
  border-radius: 50%;
  border: none;
  box-shadow: none;
  cursor: pointer;
  background-color: var(--wine);
  color: white;
  font-size: 1.125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: opacity 0.2s;
  line-height: 1;
}

.carousel-btn:hover {
  opacity: 0.85;
}

.carousel-btn-prev { left:  0; }
.carousel-btn-next { right: 0; }

/* Mobile: keep arrows clear of the screen edge and stop the tap-highlight
   from getting visually "stuck" when a scroll gesture starts on the button. */
@media (max-width: 767px) {
  .carousel-btn {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }
  .carousel-btn-prev { left:  0.75rem; }
  .carousel-btn-next { right: 0.75rem; }
}

.wines-cta {
  margin-top: 0;
  text-align: center;
}

.wines-cta .link-gold {
  font-weight: 700;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background-color: var(--cream);
  padding-top: 3.5rem;
  padding-bottom: 2rem;
}

.footer-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2.5rem;
    padding-left: 0;
    padding-right: 0;
  }

  .footer-col {
    flex: 0 1 auto;
    width: auto;
  }
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.footer-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--wine);
  margin: 0;
  padding: 0;
  line-height: 1.3;
  width: 100%;
}

.footer-contact-link {
  color: inherit;
  font: inherit;
  font-weight: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-contact-link:hover {
  color: var(--gold);
}

.footer-body {
  width: 100%;
  padding-top: 25px;
}

.footer-body .footer-address {
  margin: 0;
  padding-bottom: 25px;
}

.footer-address,
.footer-text {
  font-size: 0.875rem;
  color: rgba(30, 27, 64, 0.8);
  line-height: 1.7;
  margin: 0;
  padding-bottom: 25px;
}

.footer-social {
  margin-top: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0;
  overflow: visible;
  transition: opacity 0.2s;
}

.social-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.social-btn:hover {
  opacity: 0.8;
}

.footer-certs {
  margin-top: 1.25rem;
  display: flex;
  gap: 1rem;
  align-items: center;
}

.footer-certs img {
  height: 4rem;
  width: auto;
  object-fit: contain;
}

.footer-bottom {
  max-width: 72rem;
  margin: 2.5rem auto 0;
  padding: 0 1.5rem;
}

/* ============================================================
   Scroll animations
   ============================================================ */
@keyframes slide-in-from-left {
  from { opacity: 0; transform: translateX(-60px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes slide-in-from-right {
  from { opacity: 0; transform: translateX(60px); }
  to   { opacity: 1; transform: translateX(0); }
}

.slide-from-left,
.slide-from-right {
  opacity: 0;
  will-change: transform, opacity;
}

.slide-from-left.in-view {
  animation: slide-in-from-left 0.9s ease-out forwards;
}

.slide-from-right.in-view {
  animation: slide-in-from-right 0.9s ease-out forwards;
}

/* ============================================================
   HEADER VARIANTS (inner pages)
   ============================================================ */

/* Always justify-between (inner pages with no hero-container centering) */
.header-inner--between {
  justify-content: space-between;
}

/* Mobile: center the logo; keep the menu button on the right. */
@media (max-width: 639px) {
  .header-inner--between {
    justify-content: center;
    position: relative;
  }

  .mobile-menu-btn {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 0;
  }
}

/* Center on mobile, justify-between on ≥1024px (cuvée page) */
.header-inner--center-lg {
  justify-content: center;
}
@media (min-width: 1024px) {
  .header-inner--center-lg {
    justify-content: space-between;
  }
}

/* Nav hidden below lg (cuvée page) */
.nav-group--lg {
  display: none;
}
@media (min-width: 1024px) {
  .nav-group--lg {
    display: flex;
  }
}

/* Active nav link */
.nav-link--active {
  color: var(--gold) !important;
}

/* Smaller nav text (cuvée page) */
.nav-link--sm {
  font-size: 0.625rem;
}
@media (min-width: 768px) {
  .nav-link--sm {
    font-size: 0.75rem;
  }
}

/* ============================================================
   PAGE INTRO (shared centered intro on domaine / vins / oeno)
   ============================================================ */
.page-intro {
  max-width: 72rem;
  margin: 0 auto;
  padding: 3rem 1.5rem 1.5rem;
  text-align: center;
}

.page-intro-inner {
  max-width: 56rem;
  margin: 0 auto;
}

.page-intro .section-title {
  font-size: 32px;
  text-align: center;
  line-height: 1.4;
}

.intro .section-title {
  font-size: 32px;
}

.page-intro-text {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: rgba(30, 27, 64, 0.8);
}

@media (min-width: 768px) {
  .page-intro-text {
    font-size: 1rem;
  }
}

.page-intro--vins .page-intro-text {
  padding-left: max(0px, calc(1.5rem - 30px));
  padding-right: max(0px, calc(1.5rem - 30px));
}

@media (min-width: 768px) {
  .page-intro--vins .page-intro-text {
    margin-left: -30px;
    margin-right: -30px;
  }
}

.page-intro--domaine .page-intro-inner {
  max-width: none;
}

.page-intro--domaine .page-intro-text {
  width: 100%;
  padding-left: 0;
  padding-right: 0;
  margin-left: 0;
  margin-right: 0;
  padding-top: 0;
  padding-bottom: 5px;
}

/* ============================================================
   PAGE BANNER (short aspect-ratio banner — presse / contact)
   ============================================================ */
.page-banner {
  position: relative;
  width: 100%;
  padding-top: calc(236 / 1140 * 100%); /* 1140×236 aspect ratio */
  background-size: cover;
  background-position: center;
  min-height: 120px;
}

/* Mobile: Presse & Contact hero image (only pages using .page-banner) taller
   so it doesn't feel cramped on small screens. */
@media (max-width: 767px) {
  .page-banner {
    height: 250px;
    padding-top: 0;
  }
}

.page-banner-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 1.5rem;
}

.page-banner-title {
  font-family: var(--font-serif);
  font-style: italic;
  color: white;
  font-size: 2rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
  text-wrap: balance;
}

@media (min-width: 640px)  { .page-banner-title { font-size: 2.5rem; } }
@media (min-width: 1024px) { .page-banner-title { font-size: 3.75rem; } }

/* ============================================================
   TIMELINE (domaine page)
   ============================================================ */
.timeline {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem 5rem;
}

.timeline-track {
  position: relative;
}

/* Faint vertical guide */
.timeline-line-bg {
  display: none;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  background-color: rgba(224, 183, 88, 0.15);
  pointer-events: none;
}

/* Scroll-driven progress line */
.timeline-line-progress {
  display: none;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleY(0);
  transform-origin: top;
  width: 1px;
  background-color: var(--gold);
  pointer-events: none;
}

/* Vine leaf marker */
.timeline-leaf {
  display: none;
  position: absolute;
  top: 0;
  left: 50%;
  width: 2.75rem;
  height: auto;
  transform: translate(-50%, 0);
  pointer-events: none;
  user-select: none;
}

@media (min-width: 640px) {
  .timeline-line-bg,
  .timeline-line-progress,
  .timeline-leaf {
    display: block;
  }
}

/* Each timeline row */
.timeline-step {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
  margin-top: 4rem;
}

@media (min-width: 640px) {
  .timeline-step {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 6rem;
    margin-top: 4rem;
  }
}

@media (min-width: 768px) {
  .timeline-step {
    gap: 2rem 8rem;
  }
}

/* Year bullet — desktop (centered on timeline axis, aligned with text column) */
.timeline-bullet--desktop {
  display: none;
  position: absolute;
  left: 50%;
  top: auto;
  transform: translateX(-50%);
  z-index: 10;
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 50%;
  background-color: var(--gold);
  color: white;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.375rem;
  font-weight: 500;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .timeline-bullet--desktop {
    display: flex;
  }
}

/* Year bullet — mobile (inline) */
.timeline-bullet--mobile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 50%;
  background-color: var(--gold);
  color: white;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

@media (min-width: 640px) {
  .timeline-bullet--mobile {
    display: none;
  }
}

/* Companion bullet (1997 — centered on timeline axis) */
.timeline-bullet--companion-desktop {
  display: none;
  position: absolute;
  left: 50%;
  top: auto;
  transform: translateX(-50%);
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 50%;
  background-color: var(--gold);
  color: white;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.375rem;
  font-weight: 500;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 10;
}

@media (min-width: 640px) {
  .timeline-bullet--companion-desktop {
    display: flex;
  }
}

.timeline-companion {
  position: static;
  margin-top: 1.5rem;
  padding-left: 0;
}

/* Image and text columns */
.timeline-col {
  position: static;
}

.timeline-col--left {
  order: 1;
}
.timeline-col--right {
  order: 2;
}

.timeline-step--reverse .timeline-col--left {
  order: 2;
}
.timeline-step--reverse .timeline-col--right {
  order: 1;
}

.timeline-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.timeline-img--contain {
  max-height: 18rem;
  width: auto;
  margin: 0 auto;
  object-fit: contain;
}

.timeline-img--tall {
  max-height: 24rem;
  width: auto;
  margin: 0 auto;
  object-fit: contain;
}

.timeline-heading {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--wine);
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .timeline-heading { font-size: 1.5rem; }
}

.timeline-text {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: rgba(30, 27, 64, 0.8);
}

/* Mobile layout: circle → image → heading → text, all centered, joined by a vertical line */
@media (max-width: 639px) {
  .timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .timeline-step:not(:first-child)::before {
    content: "";
    position: absolute;
    top: -4rem;
    left: 50%;
    width: 1px;
    height: 4rem;
    background-color: rgba(224, 183, 88, 0.4);
    transform: translateX(-50%);
  }

  .timeline-bullet--mobile {
    order: -2;
    margin: 0 auto 1.25rem;
  }

  .timeline-col--img {
    order: -1;
    width: 100%;
    margin-bottom: 1.5rem;
  }

  .timeline-col--text {
    order: 0;
    width: 100%;
  }

  .timeline-heading,
  .timeline-text {
    text-align: center;
  }
}

/* ============================================================
   WINE GRID & TABS (vins page)
   ============================================================ */
.wine-grid-section {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem 5rem;
}

.wine-tabs-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.wine-tabs {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--gold);
  border-radius: 0.25rem;
  overflow: hidden;
  background-color: var(--gold);
}

.wine-tab {
  padding: 0.375rem 1rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
  background-color: var(--background) !important;
  border: none !important;
  border-radius: 0 !important;
  cursor: pointer;
  color: var(--gold) !important;
  transition: background-color 0.2s, color 0.2s;
  -webkit-tap-highlight-color: transparent;
  line-height: 1.4;
  margin: 0;
}

@media (min-width: 768px) {
  .wine-tab {
    font-size: 1.25rem;
    padding: 0.375rem 1.5rem;
  }
}

.wine-tab--active {
  background-color: var(--gold) !important;
  color: white !important;
}

.wine-tab:hover:not(.wine-tab--active) {
  background-color: var(--gold) !important;
  color: white !important;
}

.wine-tab:focus,
.wine-tab:active {
  outline: none !important;
  box-shadow: none !important;
}

.wine-tab:focus:not(.wine-tab--active),
.wine-tab:active:not(.wine-tab--active) {
  background-color: var(--background) !important;
  color: var(--gold) !important;
}

.wine-tab--active:focus,
.wine-tab--active:active,
.wine-tab--active:hover {
  background-color: var(--gold) !important;
  color: white !important;
}

.wine-tab:focus-visible {
  outline: 2px solid var(--gold) !important;
  outline-offset: 2px;
}

.wine-tab--active:focus-visible {
  outline: 2px solid white !important;
  outline-offset: -2px;
}

.wine-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem 4rem;
  justify-items: center;
}

@media (min-width: 640px) {
  .wine-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .wine-grid { grid-template-columns: repeat(3, 1fr); }
}

.wine-carousel-wrapper {
  position: relative;
}

.wine-carousel-wrapper[hidden] {
  display: none;
}

@media (max-width: 767px) {
  .wine-carousel-wrapper {
    padding: 0 2.75rem;
  }

  .wine-carousel {
    overflow: hidden;
  }

  .wine-grid {
    display: flex;
    gap: 0;
    justify-items: stretch;
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  .wine-grid .wine-card {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 0.25rem;
  }

  .wine-carousel-wrapper--single .carousel-btn {
    display: none;
  }
}

@media (min-width: 768px) {
  .wine-carousel-wrapper > .carousel-btn {
    display: none;
  }

  .wine-grid {
    transform: none !important;
  }
}

.wine-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.wine-card__bottle-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin-top: 0.5rem;
}

.wine-card__name {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.875rem;
  color: var(--wine);
  line-height: 1.2;
}

@media (min-width: 768px) {
  .wine-card__name { font-size: 2.25rem; }
}

.wine-card__name--link:hover {
  color: var(--gold);
}

.wine-card__appellation {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.125rem;
  color: var(--wine);
  margin-top: 0.5rem;
  margin-bottom: 0;
  padding-bottom: 0;
}

.wine-card__year {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: #E07A2B;
  margin-top: 0;
}

.wine-card__bottle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;
}

.wine-card__circle-stack {
  position: relative;
  width: 15rem;
  height: 22rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wine-card__circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 15rem;
  height: 15rem;
  object-fit: contain;
  display: block;
}

.wine-card__bottle-img {
  position: relative;
  z-index: 1;
  height: 22rem;
  width: auto;
  max-width: none;
  object-fit: contain;
}

.wine-card__bottle-group > .link-gold {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  text-align: center;
}

/* ============================================================
   BOOKING SECTION (oenotourisme)
   ============================================================ */
.booking-section {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

.booking-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .booking-grid { grid-template-columns: repeat(2, 1fr); }
}

.booking-title {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--wine);
  margin-bottom: 0.75rem;
  text-align: center;
}

.booking-frame-box {
  overflow: hidden;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  background-color: white;
}

.booking-iframe {
  width: 100%;
  height: 700px;
  border: 0;
  display: block;
  background-color: white;
}

/* Mobile: the "Dégustation et visite" widget (2nd) has more content and its
   "book now" button gets cut off at the shared 700px height on small screens. */
@media (max-width: 767px) {
  .booking-frame-wrap:nth-child(2) .booking-iframe {
    height: 900px;
  }
}

/* Map section (oeno + contact) */
.oeno-map {
  max-width: 72rem;
  margin: 0 auto 4rem;
  padding: 0 1.5rem;
}

.oeno-map-link {
  display: block;
  overflow: hidden;
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.oeno-map img {
  width: 100%;
  height: auto;
  display: block;
}

/* Œnotourisme page only: the map is a static image, so "zoom" is simulated by
   scaling it up (cropped by the overflow:hidden link wrapper) — mobile only. */
@media (max-width: 767px) {
  .oeno-map--zoom img {
    transform: scale(2);
    transform-origin: center;
  }
}

/* ============================================================
   ACTUALITÉS (actualites page)
   ============================================================ */
.actu-section {
  max-width: 72rem;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 4rem;
}

/* Featured cards */
.actu-featured {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 56rem;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .actu-featured { grid-template-columns: repeat(3, 1fr); }
}

.actu-card {
  display: block;
}

.actu-card__img-wrap {
  aspect-ratio: 1;
  overflow: hidden;
  background-color: var(--cream);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.actu-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.actu-card:hover .actu-card__img-wrap img {
  transform: scale(1.05);
}

.actu-card__title {
  margin-top: 1rem;
  text-align: center;
  font-family: var(--font-serif);
  font-size: 1.125rem;
  color: var(--wine);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (min-width: 768px) {
  .actu-card__title { font-size: 1.25rem; }
}

/* Tabs */
.actu-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 56rem;
  margin: 3.5rem auto 0;
}

@media (min-width: 768px) {
  .actu-tabs { gap: 2rem; }
}

.actu-tab {
  padding: 0.75rem 0.5rem;
  font-family: var(--font-serif);
  font-size: 1rem;
  border-radius: 0.375rem;
  border: 1px solid rgba(224, 183, 88, 0.4) !important;
  background-color: var(--background) !important;
  color: var(--gold) !important;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
  -webkit-tap-highlight-color: transparent;
}

@media (min-width: 768px) {
  .actu-tab { font-size: 1.25rem; }
}

.actu-tab--active {
  background-color: var(--gold) !important;
  color: white !important;
  border-color: var(--gold) !important;
}

.actu-tab:hover:not(.actu-tab--active) {
  background-color: rgba(224, 183, 88, 0.1) !important;
  color: var(--gold) !important;
  border-color: rgba(224, 183, 88, 0.4) !important;
}

.actu-tab:focus,
.actu-tab:active {
  outline: none !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
}

.actu-tab:focus:not(.actu-tab--active),
.actu-tab:active:not(.actu-tab--active) {
  background-color: var(--background) !important;
  color: var(--gold) !important;
  border: 1px solid rgba(224, 183, 88, 0.4) !important;
}

.actu-tab--active:focus,
.actu-tab--active:active,
.actu-tab--active:hover {
  background-color: var(--gold) !important;
  color: white !important;
  border: 1px solid var(--gold) !important;
}

.actu-tab:focus-visible {
  outline: 2px solid var(--gold) !important;
  outline-offset: 2px;
  border: 1px solid var(--gold) !important;
}

.actu-tab--active:focus-visible {
  outline: 2px solid white !important;
  outline-offset: 2px;
  border: 1px solid var(--gold) !important;
}

/* Article entries */
.actu-articles {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.actu-article {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  border: 1px solid rgba(30, 27, 64, 0.1);
  border-radius: 0.375rem;
  padding: 1.25rem;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
  background-color: var(--background);
}

@media (min-width: 640px) {
  .actu-article { grid-template-columns: 200px 1fr; }
}

.actu-article__img {
  aspect-ratio: 1;
  overflow: hidden;
  background-color: var(--cream);
}

.actu-article__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.actu-article__title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--wine);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (min-width: 768px) {
  .actu-article__title { font-size: 1.5rem; }
}

.actu-article__meta {
  font-size: 0.875rem;
  color: rgba(30, 27, 64, 0.85);
  line-height: 1.7;
}

@media (min-width: 768px) {
  .actu-article__meta { font-size: 1rem; }
}

.actu-article__text {
  font-size: 0.875rem;
  color: rgba(30, 27, 64, 0.85);
  line-height: 1.75;
}

@media (min-width: 768px) {
  .actu-article__text { font-size: 1rem; }
}

.actu-more {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
}

/* Voir plus button (shared) */
.btn-voir-plus {
  background-color: rgba(224, 183, 88, 0.7);
  color: var(--wine);
  font-weight: 600;
  padding: 0.5rem 2rem;
  border: none;
  cursor: pointer;
  border-radius: 0.25rem;
  transition: background-color 0.2s;
}

.btn-voir-plus:hover {
  background-color: var(--gold);
  color: white;
}

.btn-voir-plus:focus,
.btn-voir-plus:active {
  outline: none !important;
  background-color: var(--gold) !important;
  color: white !important;
  border: none !important;
  box-shadow: none !important;
}

/* ============================================================
   PRESSE (presse page)
   ============================================================ */
.presse-section {
  max-width: 72rem;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

.presse-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 768px) {
  .presse-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }
}

.presse-photo {
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  aspect-ratio: 3 / 4;
}

/* Mobile: hide the press photo, show only the year list. */
@media (max-width: 767px) {
  .presse-photo {
    display: none;
  }
}

.presse-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
}

.presse-entries {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.presse-year-block { }

.presse-year {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--wine);
}

@media (min-width: 768px) {
  .presse-year { font-size: 2.5rem; }
}

.presse-items {
  display: flex;
  flex-direction: column;
  font-size: 1rem;
  color: rgba(30, 27, 64, 0.85);
  line-height: 1.7;
}

.presse-voir-plus {
  display: flex;
  justify-content: center;
  grid-column: 1 / -1;
}

/* ============================================================
   CONTACT (contact page)
   ============================================================ */
.contact-form-section {
  max-width: 60rem;
  margin: 0 auto;
  padding: 1.75rem 1.5rem 2.5rem;
}

.contact-intro {
  text-align: center;
  font-size: 1rem;
  color: rgba(30, 27, 64, 0.85);
  line-height: 1.75;
  padding-top: 0;
  padding-bottom: 0;
}

.contact-intro p {
  margin: 0;
}

@media (min-width: 768px) {
  .contact-intro { font-size: 1.125rem; }
}

.contact-form {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

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

@media (min-width: 768px) {
  .contact-form__row { grid-template-columns: repeat(2, 1fr); }
}

.contact-form .form-field {
  width: 100%;
  height: auto;
  border-radius: 0.375rem;
  border: 1px solid rgba(224, 183, 88, 0.6) !important;
  background-color: var(--background) !important;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.5;
  font-family: var(--font-sans);
  color: var(--foreground) !important;
  outline: none !important;
  box-shadow: none !important;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.contact-form .form-field::placeholder {
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 400;
  color: rgba(30, 27, 64, 0.5);
}

.contact-form .form-field:focus,
.contact-form .form-field:focus-visible,
.contact-form .form-field:active {
  border: 1px solid var(--gold) !important;
  box-shadow: 0 0 0 1px var(--gold) !important;
  outline: none !important;
}

.contact-form .form-field--textarea {
  min-height: 7.5rem;
  resize: vertical;
}

.contact-form__submit {
  display: flex;
  justify-content: flex-end;
}

.btn-submit {
  background-color: rgba(224, 183, 88, 0.8);
  color: white;
  font-weight: 500;
  font-family: var(--font-sans);
  padding: 0.75rem 3rem;
  border: none;
  border-radius: 0.375rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: background-color 0.2s;
}

.btn-submit:hover {
  background-color: var(--gold);
}

.form-feedback {
  font-size: 0.875rem;
  padding: 0.5rem 0;
  min-height: 1.5rem;
}

.form-feedback--success { color: #16a34a; }
.form-feedback--error   { color: #dc2626; }

/* Info blocks */
.info-blocks {
  max-width: 60rem;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}

.info-blocks-inner {
  display: grid;
  grid-template-columns: max-content;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .info-blocks-inner {
    grid-template-columns: max-content max-content max-content;
    column-gap: 4.5rem;
  }
}

.info-block__title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--wine);
}

.info-block__text {
  font-size: 0.875rem;
  color: rgba(30, 27, 64, 0.85);
  line-height: 1.7;
  font-style: normal;
}


/* ============================================================
   CUVÉE DOMAINE (vins-cuvee-domaine page)
   ============================================================ */

/* Hero section */
.cuvee-hero {
  position: relative;
}

.cuvee-hero__bg {
  height: 18rem;
  overflow: hidden;
}

@media (min-width: 480px) {
  .cuvee-hero__bg { height: 23rem; }
}

@media (min-width: 768px) {
  .cuvee-hero__bg { height: 38rem; }
}

/* Mobile: crop the wine detail page hero image to match other hero sections. */
@media (max-width: 767px) {
  .cuvee-hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
  }
}

.cuvee-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Back button */
.cuvee-hero__back {
  position: absolute;
  left: 1rem;
  top: 0.75rem;
  z-index: 10;
}

/* Mobile: move it clear of the left column so it doesn't collide with the bottle. */
@media (max-width: 767px) {
  .cuvee-hero__back {
    left: 0;
    right: auto;
  }
}

.cuvee-back-btn__arrow {
  display: none;
}

/* Mobile: collapse to an arrow-only tab, flush with the left edge, rounded on the right only. */
@media (max-width: 767px) {
  .cuvee-back-btn {
    padding: 0.5rem 0.875rem 0.5rem 0.625rem;
    border-radius: 0 9999px 9999px 0;
  }

  .cuvee-back-btn__arrow {
    display: inline;
  }

  .cuvee-back-btn__label {
    display: none;
  }
}

.cuvee-back-btn {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  background-color: var(--gold);
  padding: 0.375rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: opacity 0.2s;
}

.cuvee-back-btn:hover { opacity: 0.9; }

.cuvee-back-btn:focus,
.cuvee-back-btn:active {
  outline: none !important;
  background-color: var(--gold) !important;
  color: white !important;
}

/* Title overlay */
.cuvee-hero__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  z-index: 2;
}

@media (max-width: 767px) {
  .cuvee-hero__overlay {
    position: relative;
    inset: auto;
    height: auto;
    width: 100%;
    z-index: 2;
  }
}

.cuvee-hero__overlay-inner {
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1rem;
  align-items: center;
}

@media (max-width: 767px) {
  .cuvee-hero__overlay-inner {
    grid-template-columns: 8.5rem 1fr;
    gap: 0.5rem;
  }
}

@media (min-width: 480px) and (max-width: 767px) {
  .cuvee-hero__overlay-inner {
    grid-template-columns: 9.5rem 1fr;
    gap: 1rem;
  }
}

@media (min-width: 768px) {
  .cuvee-hero__overlay-inner {
    grid-template-columns: 260px 1fr;
    gap: 1rem;
    padding: 0 1.5rem;
  }
}

.cuvee-hero__spacer {
  display: none;
}

@media (max-width: 767px) {
  .cuvee-hero__spacer {
    display: block;
  }
}

@media (min-width: 768px) {
  .cuvee-hero__spacer { display: block; }
}

.cuvee-hero__title-block {
  padding: 1.25rem 0;
}

@media (min-width: 768px) {
  .cuvee-hero__title-block { padding: 0 2.5rem 0 4.5rem; }
}

.cuvee-hero__title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: white;
  font-weight: 600;
  line-height: 1.3;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
  margin-top: 0;
}

@media (min-width: 480px) {
  .cuvee-hero__title { font-size: 2rem; }
}

@media (min-width: 768px) {
  .cuvee-hero__title { font-size: 3rem; }
}

.cuvee-hero__desc {
  font-size: 0.875rem;
  font-weight: 600;
  color: white;
  line-height: 1.65;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
  text-wrap: pretty;
}

@media (min-width: 768px) {
  .cuvee-hero__desc {
    font-size: 1.125rem;
    line-height: 1.7;
  }
}

/* Mobile: keep hero copy readable but compact. */
@media (max-width: 767px) {
  .cuvee-hero__desc {
    font-size: 0.9375rem;
    line-height: 1.55;
    padding-top: 15px !important;
    padding-bottom: 15px !important;
  }
}

/* Bottle + chars section */
.cuvee-detail-hero {
  position: relative;
  z-index: 3;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1rem 2rem;
}

@media (min-width: 768px) {
  .cuvee-detail-hero { padding: 0 1.5rem; }
}

.cuvee-detail-hero-inner {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 1rem;
  align-items: start;
}

@media (min-width: 480px) {
  .cuvee-detail-hero-inner { grid-template-columns: 9.5rem 1fr; }
}

@media (min-width: 768px) {
  .cuvee-detail-hero-inner {
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: stretch;
  }
}

.cuvee-bottle {
  /* Sits between the hero image and the Caract\u00e8res paragraph. */
  margin-top: -13.3rem;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}

/* Mobile: fill the hero column, keep the neck clear of the header. */
@media (max-width: 767px) {
  .cuvee-bottle {
    align-items: center;
    justify-content: center;
    margin-top: -24rem;
  }
}

@media (min-width: 480px) and (max-width: 767px) {
  .cuvee-bottle { margin-top: -25.5rem; }
}

@media (min-width: 768px) {
  .cuvee-bottle {
    margin-top: -53rem;
    justify-content: flex-end;
    padding-bottom: 5rem;
  }
}

@media (min-width: 1024px) {
  .cuvee-bottle { margin-top: -58rem; }
}

.cuvee-bottle img {
  height: 47rem;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.18));
}

@media (max-width: 767px) {
  .cuvee-bottle img {
    width: 8.5rem;
    max-height: 22rem;
    height: auto;
    object-fit: contain;
  }
}

@media (min-width: 480px) and (max-width: 767px) {
  .cuvee-bottle img {
    width: 9.5rem;
    max-height: 24rem;
  }
}

@media (min-width: 768px) {
  .cuvee-bottle img { height: 59rem; }
}

@media (min-width: 1024px) {
  .cuvee-bottle img { height: 67rem; }
}

.cuvee-chars {
  padding-top: 0;
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .cuvee-chars {
    padding-top: 1.5rem;
    padding-bottom: 9rem;
    min-height: 100%;
    gap: 0;
    justify-content: flex-start;
  }

  .cuvee-pictos {
    margin-top: auto;
  }
}

.cuvee-chars__text {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: rgba(30, 27, 64, 0.85);
}

/* Line the copy up with the left edge of the first picto label, which sits wider than the icon. */
@media (min-width: 768px) {
  .cuvee-chars__text {
    padding-left: calc((100% - 6rem) / 6 - 3.75rem);
  }
}

.cuvee-chars__text:has(+ .cuvee-chars__accords) {
  padding-bottom: 0;
}

.cuvee-chars__accords {
  min-height: 3.5em;
  padding-top: 0.75rem;
}

/* Mobile: break out of the narrow text column so it spans the full width, below the bottle. */
@media (max-width: 767px) {
  .cuvee-chars__text {
    margin-left: -9.5rem;
    width: calc(100% + 9.5rem);
  }
}

@media (min-width: 480px) and (max-width: 767px) {
  .cuvee-chars__text {
    margin-left: -10.5rem;
    width: calc(100% + 10.5rem);
  }
}

.cuvee-chars__label {
  font-weight: 600;
  color: var(--wine);
}

.cuvee-pictos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem 2rem;
  text-align: center;
  margin-top: 1.5rem;
  width: 100%;
}

/* Mobile: break out of the narrow text column so the row spans the full width, below the bottle. */
@media (max-width: 767px) {
  .cuvee-pictos {
    margin-left: -9.5rem;
    width: calc(100% + 9.5rem);
  }
}

@media (min-width: 480px) and (max-width: 767px) {
  .cuvee-pictos {
    margin-left: -10.5rem;
    width: calc(100% + 10.5rem);
  }
}

@media (min-width: 480px) {
  .cuvee-pictos {
    gap: 1.5rem 2.5rem;
    margin-top: 2rem;
  }
}

@media (min-width: 768px) {
  .cuvee-pictos {
    gap: 1.5rem 3rem;
    padding-bottom: 0;
    margin-bottom: 0.5rem;
  }
}

.cuvee-picto {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
}

.cuvee-picto img {
  height: 3.25rem;
  width: 3.25rem;
  object-fit: contain;
  margin: 0 auto;
}

@media (min-width: 480px) {
  .cuvee-picto img {
    height: 4.25rem;
    width: 4.25rem;
  }
}

@media (min-width: 768px) {
  .cuvee-picto img {
    height: 6rem;
    width: 6rem;
  }
}

.cuvee-picto div {
  margin-top: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--wine);
  line-height: 1.3;
}

@media (min-width: 480px) {
  .cuvee-picto div {
    margin-top: 0.75rem;
    font-size: 0.8125rem;
  }
}

@media (min-width: 768px) {
  .cuvee-picto div { font-size: 1.0625rem; }
}

/* Technical detail 3-col */
.cuvee-tech {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1rem 2.5rem;
}

@media (min-width: 768px) {
  .cuvee-tech { padding: 0 1.5rem 3rem; }
}

.cuvee-tech-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  font-size: 0.8125rem;
  line-height: 1.75;
  color: rgba(30, 27, 64, 0.85);
}

@media (min-width: 768px) {
  .cuvee-tech-inner {
    grid-template-columns: repeat(3, 1fr);
    font-size: 0.9375rem;
    gap: 2rem;
  }
}

.cuvee-tech-col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Mobile: the label lines (Vendanges/Degré/etc.) read as a tighter list. */
@media (max-width: 767px) {
  .cuvee-tech-col:first-child {
    gap: 0.375rem;
  }
}

.cuvee-tech-col strong {
  color: var(--wine);
}

.cuvee-tech-heading {
  font-family: var(--font-sans);
  font-size: inherit;
  font-weight: 600;
  color: var(--wine);
  margin-bottom: 0;
}

.cuvee-tech-heading--inline {
  margin-bottom: 0;
}

.cuvee-tech-fiche {
  margin-top: 1.5rem;
  text-align: center;
}

.cuvee-tech-fiche .link-gold {
  font-size: 1.125rem;
  font-weight: 700;
}

@media (min-width: 768px) {
  .cuvee-tech-fiche {
    margin-top: 2rem;
    text-align: right;
  }
}

/* Other wines section */
.other-wines {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

.other-wines__title {
  text-align: center;
  font-family: var(--font-serif);
  font-size: 1.875rem;
  color: var(--wine);
  font-weight: 600;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .other-wines__title { font-size: 2.25rem; }
}

.other-wines-wrapper {
  position: relative;
}

.other-wines-carousel {
  overflow: hidden;
  padding: 0 2.5rem;
}

@media (min-width: 768px) {
  .other-wines-carousel { padding: 0 3rem; }
}

.other-wines-track {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.other-wine-item {
  flex: 0 0 100%;
  text-align: center;
  padding: 0 0.5rem;
  color: inherit;
  text-decoration: none;
}

@media (min-width: 480px) {
  .other-wine-item {
    flex: 0 0 50%;
    padding: 0 1rem;
  }
}

@media (min-width: 768px) {
  .other-wine-item { flex: 0 0 25%; }
}

.other-wine-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--wine);
  font-weight: 600;
  margin: 0;
}

@media (min-width: 768px) {
  .other-wine-name { font-size: 1.5rem; }
}

.other-wine-appellation {
  font-family: var(--font-serif);
  font-size: 0.875rem;
  color: var(--wine);
  margin: 0.5rem 0 0;
}

@media (min-width: 768px) {
  .other-wine-appellation { font-size: 1rem; }
}

.other-wine-year {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: #E07A2B;
  margin: 0.5rem 0 0;
}

.other-wine-bottle {
  height: 13rem;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-top: 1rem;
}

@media (min-width: 768px) {
  .other-wine-bottle { height: 16.25rem; }
}

.other-wine-bottle-stack {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 8.875rem;
  height: 100%;
}

.other-wine-bottle-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8.875rem;
  height: 8.875rem;
  max-width: none;
  object-fit: contain;
  display: block;
}

@media (min-width: 768px) {
  .other-wine-bottle-stack { width: 11rem; }

  .other-wine-bottle-circle {
    width: 11rem;
    height: 11rem;
  }
}

.other-wine-bottle-img {
  position: relative;
  z-index: 1;
  height: 100%;
  width: auto;
  max-width: none;
  object-fit: contain;
}

.other-wines-cta {
  margin-top: 3rem;
  text-align: center;
}


/* ============================================================
   WordPress-specific overrides
   ============================================================ */

/* Reset Astra defaults that would conflict */
.main-header-bar-wrap,
#ast-desktop-header,
.ast-primary-header-bar,
.main-header-bar,
.ast-above-header-wrap,
.ast-below-header-wrap {
  display: none !important;
}

/* Remove Astra body padding */
body,
body.ast-header-break-point {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* WP admin bar offset (when logged in) */
.admin-bar .site-header {
  top: 32px;
}
@media screen and (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

/* Remove Astra default link colors inside our templates */
.site-header a,
.site-footer a {
  color: inherit;
}

/* Astra sometimes adds content wrappers - bypass them */
#page,
.site,
#content,
.site-content,
.ast-container,
.entry-content {
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
  width: auto !important;
}

/* ── Contact form feedback ───────────────────────────────────────────────── */
.form-feedback {
  margin-top: 1rem;
  padding: 0.85rem 1.25rem;
  border-radius: 4px;
  font-size: 0.875rem;
  font-family: var(--font-body);
  display: none;
}
.form-feedback:not(:empty)     { display: block; }
.form-feedback--success        { background: #edf7ed; color: #2e7d32; border: 1px solid #a5d6a7; }
.form-feedback--error          { background: #fdecea; color: #c62828; border: 1px solid #ef9a9a; }
.btn-submit:disabled           { opacity: 0.65; cursor: not-allowed; }

/* Domaine intro — keep above Astra resets; padding-top must not collapse */
.page-intro.page-intro--domaine {
  margin-top: 0;
  padding-top: 3rem;
  padding-right: 1.5rem;
  padding-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.page-intro.page-intro--domaine .section-title {
  padding-bottom: 1.5rem;
}
