/* ============================================================
   THEME.CSS — Famille Esperandieu
   Extracted from maquettes HTML (avril 2026)
   ============================================================ */

/* ── RESET & VARIABLES ───────────────────────────────────── */

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

:root {
  --ink: #1a1208;
  --parchment: #f4ede0;
  --terracotta: #8b3a2c;
  --gold: #c19a4a;
  --warm-mid: #6b5540;
  --cream: #faf6ef;
  --cream2: #f0e9d8;
  --blanc-wine: #e8dfa0;
  --section-bg: #f7f2e8;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', sans-serif;
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
}


/* ── NAV ─────────────────────────────────────────────────── */

nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 300;
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 48px;
  transition: background .4s, padding .4s;
  background: rgba(26,18,8,.97);
  backdrop-filter: blur(12px);
}
nav.scrolled {
  padding: 14px 48px;
}
nav::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(26,18,8,.88) 0%, transparent 100%);
  pointer-events: none;
}
/* Wine/list pages: opaque nav from the start, no gradient */
nav.nav--opaque {
  background: rgba(26,18,8,.97);
  backdrop-filter: blur(12px);
}
nav.nav--opaque::before { display: none; }

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem; font-weight: 600;
  letter-spacing: .25em; text-transform: uppercase;
  color: var(--gold); text-decoration: none;
  position: relative; z-index: 1;
}

.nav-links {
  display: flex; gap: 36px; list-style: none;
  position: relative; z-index: 1; align-items: center;
}
.nav-links > li { position: relative; }
.nav-links > li > a {
  font-size: .875rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--parchment); text-decoration: none; opacity: .8;
  transition: opacity .3s, color .3s;
  display: flex; align-items: center; gap: 6px;
}
.nav-links > li > a:hover { opacity: 1; color: var(--gold); }
.nav-links > li > a .arrow { font-size: .625rem; opacity: .5; transition: transform .3s; }
.nav-links > li:hover > a .arrow { transform: rotate(180deg); }

/* Dropdown simple */
.dropdown {
  position: absolute; top: calc(100% + 16px); left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: rgba(20,13,5,.97);
  border: 1px solid rgba(193,154,74,.15);
  padding: 8px 0; min-width: 220px;
  opacity: 0; visibility: hidden;
  transition: opacity .3s, transform .3s, visibility .3s;
  backdrop-filter: blur(10px);
}
.nav-links > li:hover .dropdown {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown a {
  display: block; padding: 10px 20px;
  font-size: .9rem; letter-spacing: .08em;
  color: rgba(244,237,224,.65); text-decoration: none;
  transition: color .2s, background .2s;
}
.dropdown a:hover { color: var(--parchment); background: rgba(193,154,74,.08); }

/* Mega-menu Nos Vins */
.megamenu {
  position: absolute; top: calc(100% + 16px); left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: rgba(16,10,4,.98);
  border: 1px solid rgba(193,154,74,.15);
  padding: 32px 0 24px; width: 680px;
  opacity: 0; visibility: hidden;
  transition: opacity .3s, transform .3s, visibility .3s;
  backdrop-filter: blur(12px);
}
.nav-links > li:hover .megamenu {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.megamenu-inner {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 0; padding: 0 8px;
}
.megamenu-col { padding: 0 20px; border-right: 1px solid rgba(193,154,74,.08); }
.megamenu-col:last-child { border-right: none; }
.megamenu-col-title {
  font-size: .69rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold); opacity: .55;
  padding: 0 0 10px; margin-bottom: 4px;
  border-bottom: 1px solid rgba(193,154,74,.1);
  display: block; text-decoration: none;
  transition: opacity .3s;
}
.megamenu-col-title:hover { opacity: 1; }
.megamenu-col-wines a {
  display: block; padding: 7px 0;
  font-size: .9rem; letter-spacing: .06em;
  color: rgba(244,237,224,.5); text-decoration: none;
  transition: color .2s, padding .2s;
  border-bottom: 1px solid rgba(193,154,74,.04);
}
.megamenu-col-wines a:last-child { border-bottom: none; }
.megamenu-col-wines a:hover { color: var(--parchment); padding-left: 6px; }

/* Nav right */
.nav-right { display: flex; align-items: center; gap: 20px; position: relative; z-index: 1; }
.nav-social { display: flex; gap: 14px; align-items: center; }
.nav-social a {
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  color: var(--parchment); opacity: .55;
  transition: opacity .3s, color .3s;
  text-decoration: none; flex-shrink: 0;
}
.nav-social a:hover { opacity: 1; color: var(--gold); }
.nav-social a svg { width: 16px; height: 16px; display: block; }
.nav-social a[aria-label="LinkedIn"] svg { width: 12px; height: 12px; }

/* Burger */
.burger {
  display: none; flex-direction: column;
  justify-content: center; align-items: center;
  gap: 5px; width: 36px; height: 36px;
  background: none; border: none; cursor: pointer;
  padding: 4px; position: relative; z-index: 1;
}
.burger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--parchment);
  transition: all .3s; transform-origin: center;
}
.burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }


/* ── MOBILE MENU ─────────────────────────────────────────── */

.mobile-menu {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(26,18,8,.98);
  display: flex; flex-direction: column;
  align-items: center;
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  padding: 100px 24px 48px;
  opacity: 0; visibility: hidden;
  transition: opacity .4s, visibility .4s;
  backdrop-filter: blur(16px);
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu-inner {
  display: flex; flex-direction: column;
  align-items: center; gap: 6px; text-align: center;
  margin: auto 0;
}
.mobile-menu-section {
  font-size: .58rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold); opacity: .6;
  margin-top: 20px; margin-bottom: 4px;
}
.mobile-menu-inner a {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 5vw, 2.6rem); font-weight: 300;
  color: var(--parchment); text-decoration: none;
  letter-spacing: .05em; transition: color .3s; padding: 4px 0;
}
.mobile-menu-inner a:hover { color: var(--gold); }
.mobile-menu-divider { width: 40px; height: 1px; background: rgba(193,154,74,.3); margin: 14px 0; }
.mobile-social { display: flex; gap: 20px; margin-top: 32px; }
.mobile-social a { color: var(--parchment); opacity: .5; transition: opacity .3s; display: flex; }
.mobile-social a:hover { opacity: 1; }
.mobile-social svg { width: 18px; height: 18px; display: block; }
.mobile-social a[aria-label="LinkedIn"] svg { width: 14px; height: 14px; }


/* ── SHARED LAYOUT ───────────────────────────────────────── */

section { padding: 100px 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 48px; }

/* Text alignment utilities */
.uk-text-left { text-align: left; }
.uk-text-center { text-align: center; }
.uk-text-right { text-align: right; }

.section-eyebrow {
  font-size: .65rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--terracotta); margin-bottom: 20px;
  display: flex; align-items: center; gap: 14px;
}
.section-eyebrow::after {
  content: ''; display: block; flex: 1; height: 1px;
  background: rgba(139,58,44,.2); max-width: 80px;
}

.section-eyebrow-gold {
  font-size: .62rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center; gap: 14px;
}
.section-eyebrow-gold::before,
.section-eyebrow-gold::after {
  content: ''; display: block; width: 32px; height: 1px;
  background: var(--gold); opacity: .4;
}

.btn-secondary {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--terracotta); text-decoration: none;
  font-size: .7rem; letter-spacing: .2em; text-transform: uppercase;
  padding: 12px 0;
  border-bottom: 1px solid rgba(139,58,44,.3);
  transition: gap .3s, border-color .3s, color .3s;
  margin-top: 8px;
}
.btn-secondary:hover { gap: 20px; border-color: var(--terracotta); color: var(--ink); }
.btn-secondary span { position: relative; }


/* ── PAGE HEADER (inner pages) ───────────────────────────── */

.page-header {
  padding: 160px 0 80px; text-align: center;
  background: var(--ink); position: relative;
}
.page-header::after {
  content: ''; position: absolute; bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, rgba(193,154,74,.4), transparent);
}
.page-eyebrow {
  font-size: .62rem; letter-spacing: .4em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center; gap: 16px;
}
.page-eyebrow::before,
.page-eyebrow::after {
  content: ''; display: block; width: 32px; height: 1px;
  background: var(--gold); opacity: .45;
}
.page-header h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 5vw, 5rem); font-weight: 300;
  line-height: 1.05; color: var(--parchment);
}
.page-header h1 em { font-style: italic; color: var(--gold); }


/* ── FOOTER ──────────────────────────────────────────────── */

footer {
  background: #0d0b07; padding: 60px 0 32px;
  color: rgba(244,237,224,.4);
}
.footer-inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px; align-items: start;
}
.footer-logo-img {
  height: 120px; width: auto; display: block;
  filter: brightness(0) invert(1) opacity(.75);
}
.footer-brand p {
  font-family: 'Libre Baskerville', serif; font-style: italic;
  font-size: .8rem; line-height: 1.7;
  color: rgba(244,237,224,.35); max-width: 240px;
}
.footer-col h4 {
  font-size: .62rem; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(244,237,224,.5); margin-bottom: 20px;
}
.footer-col h4 a {
  color: inherit; font-size: inherit; letter-spacing: inherit; text-transform: inherit;
  text-decoration: none; transition: color .3s;
}
.footer-col h4 a:hover { color: var(--gold); }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  font-size: .8rem; color: rgba(244,237,224,.35);
  text-decoration: none; transition: color .3s;
}
.footer-col a:hover { color: var(--gold); }
.footer-social-icons { display: flex; gap: 10px; margin-top: 16px; }
.footer-social-icons a {
  width: 34px; height: 34px;
  border: 1px solid rgba(193,154,74,.2); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(244,237,224,.4); transition: all .3s; flex-shrink: 0;
}
.footer-social-icons a:hover {
  border-color: var(--gold); color: var(--gold);
  background: rgba(193,154,74,.05);
}
.footer-social-icons a svg { width: 14px; height: 14px; display: block; }
.footer-social-icons a[aria-label="LinkedIn"] svg { width: 11px; height: 11px; }
.footer-bottom {
  border-top: 1px solid rgba(244,237,224,.08);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-bottom p { font-size: .68rem; }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a {
  font-size: .68rem; color: rgba(244,237,224,.3);
  text-decoration: none; transition: color .3s;
}
.footer-bottom-links a:hover { color: var(--gold); }

.footer-langs {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .62rem; letter-spacing: .25em; text-transform: uppercase;
}
.footer-lang {
  color: rgba(244,237,224,.35); text-decoration: none;
  transition: color .3s;
}
.footer-lang:hover { color: var(--parchment); }
.footer-lang.is-active { color: var(--gold); }
.footer-langs-sep { color: rgba(244,237,224,.18); user-select: none; }


/* ============================================================
   PAGE-SPECIFIC STYLES
   ============================================================ */


/* ── HOME: HERO ──────────────────────────────────────────── */

.hero {
  min-height: 100vh;
  display: grid; grid-template-columns: 1fr 1fr;
  position: relative; overflow: hidden;
  background: var(--ink);
}
.hero-visual { position: relative; overflow: hidden; }
.hero-photo {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.hero-photo-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(26,18,8,.45) 0%, rgba(26,18,8,.1) 60%),
    linear-gradient(to right, rgba(26,18,8,.55) 0%, transparent 100%);
}
.hero-vine-texture {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    -45deg, transparent, transparent 40px,
    rgba(193,154,74,.025) 40px, rgba(193,154,74,.025) 41px
  );
}
.hero-scroll {
  position: absolute; bottom: 40px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: .6rem; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(244,237,224,.5);
  animation: scrollBounce 2s infinite;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(193,154,74,.6), transparent);
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(6px); }
}
.hero-content {
  display: flex; flex-direction: column;
  justify-content: center;
  padding: 120px 64px 80px 72px;
  position: relative;
}
.hero-eyebrow {
  font-size: .65rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 28px;
  display: flex; align-items: center; gap: 16px;
}
.hero-eyebrow::before {
  content: ''; display: block; width: 40px; height: 1px;
  background: var(--gold); opacity: .5;
}
.hero h1,
h1.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.5rem, 5vw, 5.5rem); font-weight: 300;
  line-height: 1.05; color: var(--parchment); margin-bottom: 12px;
}
.hero h1 em { font-style: italic; color: var(--gold); }
.hero-tagline {
  font-family: 'Libre Baskerville', serif; font-style: italic;
  font-size: 1.05rem; color: rgba(244,237,224,.55);
  margin: 24px 0 40px; line-height: 1.7; max-width: 400px;
}
.hero-cta {
  display: inline-flex; align-items: center; gap: 16px;
  color: var(--parchment); text-decoration: none;
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
  padding: 14px 32px;
  border: 1px solid rgba(193,154,74,.4);
  transition: all .4s;
  position: relative; overflow: hidden;
  align-self: flex-start;
}
.hero-cta::before {
  content: ''; position: absolute; inset: 0;
  background: var(--terracotta);
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s;
}
.hero-cta:hover::before { transform: scaleX(1); }
.hero-cta span { position: relative; }

/* Hero — light variant (inverted) */
.hero--light { background: var(--cream); }
.hero--light .hero-photo-overlay {
  background:
    linear-gradient(135deg, rgba(244,237,224,.45) 0%, rgba(244,237,224,.1) 60%),
    linear-gradient(to right, rgba(244,237,224,.55) 0%, transparent 100%);
}
.hero--light .hero-scroll { color: var(--warm-mid); }
.hero--light .scroll-line { background: linear-gradient(to bottom, var(--terracotta), transparent); }
.hero--light .hero-eyebrow { color: var(--terracotta); }
.hero--light .hero-eyebrow::before { background: var(--terracotta); }
.hero--light h1 { color: var(--ink); }
.hero--light h1 em { color: var(--terracotta); }
.hero--light .hero-tagline { color: var(--warm-mid); }
.hero--light a.hero-cta { color: var(--ink) !important; }


/* ── SPLIT SECTION (2 colonnes image + texte) ────────────── */

.media-text { background: var(--cream); color: var(--ink); padding: 100px 0; }
.media-text-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.media-text-img-wrap { position: relative; }
.media-text-img-block {
  width: 100%; aspect-ratio: 3/4; overflow: hidden;
  background-size: cover; background-position: center top;
}
.media-text-accent-line {
  position: absolute; top: -20px; right: -20px;
  width: 60%; height: 60%;
  border: 1px solid rgba(193,154,74,.3); z-index: -1;
}
.media-text-year-badge {
  position: absolute; bottom: -24px; right: -24px;
  width: 90px; height: 90px;
  background: var(--terracotta); border-radius: 50%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; color: white;
}
.media-text-year-badge .year {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem; font-weight: 600; line-height: 1;
}
.media-text-year-badge .since {
  font-size: .5rem; letter-spacing: .15em;
  text-transform: uppercase; opacity: .8;
}
.media-text-grid--invert { direction: rtl; }
.media-text-grid--invert > * { direction: ltr; }
.media-text-grid--invert .media-text-accent-line { right: auto; left: -20px; }
.media-text-grid--invert .media-text-year-badge { right: auto; left: -24px; }

.media-text h1,
.media-text h2,
.media-text h3,
.media-text h4,
.media-text h5,
.media-text h6 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300; line-height: 1.15;
  color: var(--ink); margin-bottom: 28px;
}
.media-text h1 { font-size: clamp(3rem, 5vw, 4.5rem); }
.media-text h2 { font-size: clamp(2.2rem, 3.5vw, 3.2rem); }
.media-text h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.media-text h4 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
.media-text h5 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
.media-text h6 { font-size: clamp(1rem, 1.5vw, 1.3rem); }
.media-text h1 em,
.media-text h2 em,
.media-text h3 em,
.media-text h4 em,
.media-text h5 em,
.media-text h6 em { font-style: italic; color: var(--terracotta); }
.media-text p {
  font-family: 'Libre Baskerville', serif;
  font-size: .9rem; line-height: 1.85;
  color: var(--warm-mid); margin-bottom: 20px;
}

/* Split section — dark variant */
.media-text--dark { background: var(--ink); color: var(--parchment); }
.media-text--dark .section-eyebrow { color: var(--gold); }
.media-text--dark .section-eyebrow::after { background: rgba(193,154,74,.3); }
.media-text--dark .media-text-accent-line { border-color: rgba(193,154,74,.2); }
.media-text--dark h1,
.media-text--dark h2,
.media-text--dark h3,
.media-text--dark h4,
.media-text--dark h5,
.media-text--dark h6 { color: var(--parchment); }
.media-text--dark h1 em,
.media-text--dark h2 em,
.media-text--dark h3 em,
.media-text--dark h4 em,
.media-text--dark h5 em,
.media-text--dark h6 em { color: var(--gold); }
.media-text--dark p { color: rgba(244,237,224,.55); }
.media-text--dark .btn-secondary {
  color: var(--gold); border-color: rgba(193,154,74,.3);
}
.media-text--dark .btn-secondary:hover { color: var(--parchment); border-color: var(--gold); }


/* ── CARD GRID ───────────────────────────────────────────── */

.card-grid { background: var(--ink); padding: 100px 0; }
.card-grid-header { text-align: center; margin-bottom: 72px; }
.card-grid-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 4vw, 4rem); font-weight: 300;
  color: var(--parchment); margin-bottom: 16px;
}
.card-grid-header h2 em { font-style: italic; color: var(--gold); }
.card-grid-header p {
  font-family: 'Libre Baskerville', serif; font-style: italic;
  color: rgba(244,237,224,.45); font-size: .95rem;
}
.card-grid-items { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 2px; }
.vin-card {
  position: relative; overflow: hidden; aspect-ratio: 3/4;
  cursor: pointer; text-decoration: none; display: block;
}
.vin-card-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform .6s ease;
}
.vin-card:hover .vin-card-bg { transform: scale(1.05); }
.vin-card-tint { position: absolute; inset: 0; }
.vin-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top,
    rgba(26,18,8,.95) 0%, rgba(26,18,8,.25) 55%, rgba(26,18,8,.05) 100%
  );
}
.vin-card-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 28px 28px 52px; }
.vin-card-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem; font-weight: 300;
  color: var(--parchment); line-height: 1.15;
}
.vin-card-arrow {
  position: absolute; bottom: 28px; right: 28px;
  width: 36px; height: 36px;
  border: 1px solid rgba(193,154,74,.35); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: .85rem;
  transform: translateX(10px); opacity: 0;
  transition: all .3s;
}
.vin-card:hover .vin-card-arrow { transform: translateX(0); opacity: 1; }


/* ── HOME: REGION ────────────────────────────────────────── */

.region { background: var(--parchment); color: var(--ink); }
.region-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.region h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3vw, 2.8rem); font-weight: 300;
  line-height: 1.2; margin-bottom: 24px; color: var(--ink);
}
.region h2 em { font-style: italic; color: var(--terracotta); }
.region p {
  font-family: 'Libre Baskerville', serif;
  font-size: .88rem; line-height: 1.9;
  color: var(--warm-mid); margin-bottom: 16px;
}
.region-map-block {
  position: relative; aspect-ratio: 4/5;
  background: linear-gradient(135deg, #c5b89a 0%, #a89070 50%, #8b7450 100%);
  overflow: hidden;
}
.region-map-block::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 60%, rgba(139,58,44,.25) 0%, transparent 60%);
}
.map-label {
  position: absolute;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic; color: rgba(26,18,8,.5);
}
.map-label.l1 { top: 20%; left: 30%; font-size: .8rem; }
.map-label.l2 { top: 45%; left: 50%; font-size: 1.1rem; font-weight: 600; }
.map-label.l3 { top: 65%; left: 20%; font-size: .7rem; }
.map-dot {
  position: absolute; width: 8px; height: 8px;
  background: var(--terracotta); border-radius: 50%;
  top: 48%; left: 42%;
  box-shadow: 0 0 0 4px rgba(139,58,44,.2), 0 0 0 8px rgba(139,58,44,.08);
}
.map-dot::after {
  content: 'Domazan'; position: absolute; top: -22px; left: 50%;
  transform: translateX(-50%);
  font-size: .6rem; letter-spacing: .1em;
  color: var(--terracotta); white-space: nowrap;
}


/* ── CORPORATE: STORY BLOCKS (histoire, savoir-faire) ──── */

.story-section { background: var(--cream); padding: 100px 0; }
.story-block {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center; margin-bottom: 80px;
}
.story-block:last-child { margin-bottom: 0; }
.story-img-wrap { position: relative; }
.story-img-wrap img {
  width: 100%; aspect-ratio: 4/5;
  object-fit: cover; object-position: center top; display: block;
}
.story-block:not(.reverse) .story-img-wrap::after {
  content: ''; position: absolute; top: -16px; left: -16px;
  width: 50%; height: 50%;
  border: 1px solid rgba(193,154,74,.25); z-index: -1;
}
.story-block.reverse .story-img-wrap::after {
  content: ''; position: absolute; bottom: -16px; right: -16px;
  width: 50%; height: 50%;
  border: 1px solid rgba(193,154,74,.25); z-index: -1;
}
.story-block.reverse .story-img-wrap { order: 2; }
.story-block.reverse .story-text { order: 1; }
.story-text { color: var(--ink); }
.story-eyebrow {
  font-size: .62rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--terracotta); margin-bottom: 18px;
  display: flex; align-items: center; gap: 12px;
}
.story-eyebrow::after {
  content: ''; display: block; width: 48px; height: 1px;
  background: rgba(139,58,44,.3);
}
.story-text h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3vw, 2.8rem); font-weight: 300;
  line-height: 1.15; color: var(--ink); margin-bottom: 24px;
}
.story-text h2 em { font-style: italic; color: var(--terracotta); }
.story-text p {
  font-family: 'Libre Baskerville', serif;
  font-size: .9rem; line-height: 1.9;
  color: var(--warm-mid); margin-bottom: 16px;
}
.story-text p:last-child { margin-bottom: 0; }
.story-sep {
  height: 1px;
  max-width: 1104px;
  margin: auto;
  background-image: linear-gradient(to right, transparent, rgba(193,154,74,.3), transparent);
}


/* ── CORPORATE: MOSAIC ───────────────────────────────────── */

.mosaic-section { background: var(--ink); padding: 100px 0; }
.mosaic-header { text-align: center; margin-bottom: 56px; }
.mosaic-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 300;
  color: var(--parchment);
}
.mosaic-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 300px 300px; gap: 3px;
}
.mosaic-item { position: relative; overflow: hidden; cursor: pointer; }
.mosaic-item:nth-child(1) { grid-column: 1/2; grid-row: 1/3; }
.mosaic-item:nth-child(2) { grid-column: 2/3; grid-row: 1/2; }
.mosaic-item:nth-child(3) { grid-column: 3/4; grid-row: 1/2; }
.mosaic-item:nth-child(4) { grid-column: 2/3; grid-row: 2/3; }
.mosaic-item:nth-child(5) { grid-column: 3/4; grid-row: 2/3; }
.mosaic-item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .6s ease;
}
.mosaic-item:hover img { transform: scale(1.05); }
.mosaic-item-overlay {
  position: absolute; inset: 0;
  background: rgba(26,18,8,0); transition: background .4s;
}
.mosaic-item:hover .mosaic-item-overlay { background: rgba(26,18,8,.18); }

/* Theme light */
.mosaic-section--light { background: var(--cream); }
.mosaic-section--light .mosaic-header h2 { color: var(--ink); }
.mosaic-section--light .mosaic-header h2 em { color: var(--terracotta); }

/* Layout: mosaic (default) — handled above */

/* Layout: grid 2 columns */
.mosaic-grid--grid-2 {
  display: grid; grid-template-columns: 1fr 1fr;
  grid-template-rows: auto; gap: 3px;
}
.mosaic-grid--grid-2 .mosaic-item { aspect-ratio: 3/2; }
.mosaic-grid--grid-2 .mosaic-item:nth-child(n) { grid-column: auto; grid-row: auto; }

/* Layout: grid 3 columns */
.mosaic-grid--grid-3 {
  display: grid; grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto; gap: 3px;
}
.mosaic-grid--grid-3 .mosaic-item { aspect-ratio: 3/2; }
.mosaic-grid--grid-3 .mosaic-item:nth-child(n) { grid-column: auto; grid-row: auto; }

/* Layout: masonry */
.mosaic-grid--masonry {
  display: block; columns: 3; column-gap: 3px;
}
.mosaic-grid--masonry .mosaic-item { break-inside: avoid; margin-bottom: 3px; }
.mosaic-grid--masonry .mosaic-item img { aspect-ratio: auto; height: auto; }


/* ── CONTACT ─────────────────────────────────────────────── */

.contact-section { background: var(--cream); padding: 100px 0; }
.contact-grid { display: grid; grid-template-columns: 3fr 2fr; gap: 80px; align-items: start; }

.contact-accroche { margin-bottom: 48px; }
.contact-accroche h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3vw, 2.8rem); font-weight: 300;
  line-height: 1.15; color: var(--ink); margin-bottom: 20px;
}
.contact-accroche h2 em { font-style: italic; color: var(--terracotta); }
.contact-accroche p {
  font-family: 'Libre Baskerville', serif;
  font-size: .9rem; line-height: 1.9; color: var(--warm-mid);
}

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; margin-bottom: 24px; }
.form-group label {
  font-size: .58rem; letter-spacing: .25em; text-transform: uppercase;
  color: var(--terracotta); opacity: .8; margin-bottom: 10px;
}
.form-group input,
.form-group textarea {
  background: transparent; border: none;
  border-bottom: 1px solid rgba(107,85,64,.3);
  padding: 10px 0;
  font-family: 'Libre Baskerville', serif;
  font-size: .9rem; color: var(--ink);
  outline: none; transition: border-color .3s; width: 100%;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--terracotta); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(107,85,64,.35); font-style: italic; }
.form-group textarea { resize: vertical; min-height: 120px; line-height: 1.7; }
.form-optional {
  font-size: .55rem; letter-spacing: .15em; text-transform: uppercase;
  color: rgba(107,85,64,.4); margin-left: 8px; font-style: normal;
}
.form-submit {
  display: inline-flex; align-items: center; gap: 16px;
  color: var(--parchment); text-decoration: none;
  font-size: .75rem; letter-spacing: .2em; text-transform: uppercase;
  padding: 16px 40px;
  background: var(--terracotta); border: none; cursor: pointer;
  transition: background .3s, gap .3s;
  align-self: flex-start; margin-top: 8px;
}
.form-submit:hover { background: var(--ink); gap: 22px; }
.form-submit span { position: relative; }

/* Form alerts */
.alert {
  font-family: 'Libre Baskerville', serif;
  font-size: .85rem; line-height: 1.6;
  padding: 16px 20px; margin-bottom: 24px;
}
.alert.success { background: rgba(139,58,44,.08); color: var(--terracotta); }
.alert.error { background: rgba(139,58,44,.06); color: var(--terracotta); }
span.alert.error {
  display: block; padding: 6px 0 0; margin-bottom: 0;
  background: none; font-size: .75rem;
}

/* Contact info block */
.contact-right { position: sticky; top: 120px; }
.contact-info-block {
  background: var(--ink); padding: 48px 40px;
  position: relative; overflow: hidden;
}
.contact-info-block::before {
  content: ''; position: absolute; top: -40px; right: -40px;
  width: 200px; height: 200px;
  background-size: contain; background-repeat: no-repeat; background-position: center;
  opacity: .04; pointer-events: none;
}
.info-eyebrow {
  font-size: .58rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold); opacity: .6; margin-bottom: 28px;
  display: flex; align-items: center; gap: 12px;
}
.info-eyebrow::after {
  content: ''; display: block; width: 32px; height: 1px;
  background: var(--gold); opacity: .4;
}
.info-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem; font-weight: 300;
  color: var(--parchment); margin-bottom: 6px;
}
.info-tagline {
  font-family: 'Libre Baskerville', serif; font-style: italic;
  font-size: .8rem; color: rgba(244,237,224,.35); margin-bottom: 36px;
}
.info-sep { width: 100%; height: 1px; background: rgba(193,154,74,.12); margin-bottom: 28px; }
.info-address { margin-bottom: 32px; }
.info-address-label {
  font-size: .55rem; letter-spacing: .25em; text-transform: uppercase;
  color: var(--parchment); opacity: .7; margin-bottom: 12px;
}
.info-address p {
  font-family: 'Libre Baskerville', serif;
  font-size: .88rem; line-height: 1.8; color: rgba(244,237,224,.55);
}
.info-social-label {
  font-size: .55rem; letter-spacing: .25em; text-transform: uppercase;
  color: var(--parchment); opacity: .7; margin-bottom: 16px;
}
.info-social-links { display: flex; flex-direction: column; gap: 12px; }
.info-social-link {
  display: flex; align-items: center; gap: 14px;
  text-decoration: none; color: rgba(244,237,224,.45);
  font-size: .8rem; letter-spacing: .06em;
  transition: color .3s; padding: 10px 0;
  border-bottom: 1px solid rgba(193,154,74,.07);
}
.info-social-link:last-child { border-bottom: none; }
.info-social-link:hover { color: var(--gold); }
.info-social-link:hover .social-icon-wrap {
  border-color: var(--gold); background: rgba(193,154,74,.06);
}
.social-icon-wrap {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(193,154,74,.2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: border-color .3s, background .3s;
}
.social-icon-wrap svg { width: 15px; height: 15px; display: block; }
.info-social-link--linkedin .social-icon-wrap svg { width: 12px; height: 12px; }


/* ── VINS LIST (gamme page) ──────────────────────────────── */

.vins--list { background: var(--cream); padding: 80px 0 120px; }
.vins-list {}
.vins-gamme { margin-bottom: 96px; }
.vins-gamme:last-child { margin-bottom: 0; }
.vins-gamme-header { text-align: center; margin-bottom: 40px; }
.vins-gamme-eyebrow {
  font-size: .62rem; letter-spacing: .4em; text-transform: uppercase;
  color: var(--terracotta); opacity: .85;
  display: flex; align-items: center; justify-content: center; gap: 16px;
  margin-bottom: 18px;
}
.vins-gamme-eyebrow::before,
.vins-gamme-eyebrow::after {
  content: ''; display: block; width: 36px; height: 1px;
  background: var(--terracotta); opacity: .35;
}
.vins-gamme-title {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic; font-weight: 300;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  color: var(--ink); margin: 0; line-height: 1.1;
}
.vins-empty {
  text-align: center;
  font-family: 'Libre Baskerville', serif; font-style: italic;
  font-size: .95rem; color: var(--warm-mid); opacity: .7;
  padding: 32px 0; margin: 0;
  border-top: 1px solid rgba(107,85,64,.15);
  border-bottom: 1px solid rgba(107,85,64,.15);
}
.vin-row {
  display: flex; align-items: center; gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(107,85,64,.15);
  text-decoration: none; color: inherit;
  transition: padding-left .25s;
  position: relative;
}
.vin-row:first-child { border-top: 1px solid rgba(107,85,64,.15); }
.vin-row:hover { padding-left: 12px; }
.vin-row:hover .vin-name { color: var(--terracotta); }
.vin-row:hover .vin-row-arrow { opacity: 1; transform: translateX(4px); }
.vin-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem; font-weight: 300;
  color: rgba(107,85,64,.35);
  min-width: 36px; flex-shrink: 0;
}
.vin-name-col { flex: 1; }
.vin-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.5rem, 2.5vw, 2.2rem); font-weight: 300;
  color: var(--ink); transition: color .25s;
}
.vin-name em { font-style: italic; }
.vin-appel {
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--warm-mid); opacity: .7; flex-shrink: 0;
}
.vin-color-badge {
  display: flex; align-items: center; gap: 9px;
  font-size: .58rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--warm-mid); flex-shrink: 0;
}
.vin-color-dot {
  width: 12px; height: 12px; border-radius: 50%;
  flex-shrink: 0; box-shadow: 0 1px 4px rgba(0,0,0,.2);
}
.vin-color-dot.rouge { background: radial-gradient(circle at 38% 35%, #c06060, #7a1f1f); }
.vin-color-dot.blanc { background: radial-gradient(circle at 38% 35%, #edf0b8, #b8c455); }
.vin-color-dot.rose  { background: radial-gradient(circle at 38% 35%, #f5b8bc, #d4607a); }
.vin-row-arrow {
  font-size: 1.1rem; color: var(--terracotta);
  opacity: 0; transition: opacity .25s, transform .3s; flex-shrink: 0;
}


/* ── VIN DETAIL: PAGE HEADER VARIANT ─────────────────────── */

.page-header--vin { padding: 140px 0 56px; }
.page-header--vin::after { height: 40px; }
.gamme-tag {
  font-size: .6rem; letter-spacing: .38em; text-transform: uppercase;
  color: rgba(193,154,74,.5); margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center; gap: 12px;
}
.gamme-tag::before,
.gamme-tag::after {
  content: ''; display: block; width: 20px; height: 1px;
  background: rgba(193,154,74,.25);
}
.page-header .appellation {
  font-size: .9rem; letter-spacing: .35em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 10px;
}
.page-header--vin h1 { font-style: italic; }


/* ── VIN DETAIL: HERO PACKSHOT ───────────────────────────── */

.hero-packshot { width: 100%; overflow: hidden; line-height: 0; }
.hero-packshot img {
  width: 100%; height: 520px;
  object-fit: cover; object-position: center;
  display: block;
}


/* ── VIN DETAIL: POINTS CLÉS ────────────────────────────── */

.points-cles {
  background: var(--cream2, #f0e9d8);
  padding: 40px 0;
  border-bottom: 1px solid rgba(107,85,64,.12);
}
.points-cles-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 48px;
  display: grid; grid-template-columns: 1fr 1fr 1fr 2fr;
  gap: 0; align-items: center;
}
.point {
  padding: 0 36px;
  border-right: 1px solid rgba(107,85,64,.12);
}
.point:first-child { padding-left: 0; }
.point-label {
  font-size: .52rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--terracotta); opacity: .7; margin-bottom: 6px;
}
.point-val {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem; font-weight: 400; color: var(--ink);
}
.point-val .color-dot {
  display: inline-block; width: 10px; height: 10px; border-radius: 50%;
  margin-right: 7px; vertical-align: middle;
}
.point-val .color-dot.rouge { background: radial-gradient(circle at 38% 35%, #c06060, #7a1f1f); }
.point-val .color-dot.blanc { background: radial-gradient(circle at 38% 35%, #edf0b8, #b8c455); }
.point-val .color-dot.rose  { background: radial-gradient(circle at 38% 35%, #f5b8bc, #d4607a); }
.point-accroche { padding: 0 0 0 36px; }
.point-accroche blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem; font-style: italic; font-weight: 300;
  color: var(--ink); line-height: 1.5;
}
.fiche-cta {
  text-align: center;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid rgba(107,85,64,.12);
}
.btn-fiche {
  display: inline-flex; align-items: center; gap: 16px;
  color: var(--ink); text-decoration: none;
  font-family: 'Jost', sans-serif;
  font-size: .72rem; letter-spacing: .25em; text-transform: uppercase;
  padding: 18px 44px;
  border: 1px solid rgba(26,18,8,.55);
  background: transparent;
  transition: border-color .3s, color .3s, background .3s, gap .3s;
}
.btn-fiche:hover {
  border-color: var(--terracotta);
  color: var(--terracotta);
  background: rgba(139,58,44,.04);
  gap: 22px;
}


/* ── VIN DETAIL: CONTENT (pagebuilder) ──────────────────── */

.vin-content { background: var(--cream); padding: 80px 0 100px; }


/* ── BLOCK: GRILLE DE TEXTES ────────────────────────────── */

.textes-section { background: var(--cream); padding: 80px 0 100px; }
.textes-grid {
  display: grid;
  grid-template-columns: repeat(var(--cols, 3), 1fr);
  gap: 1px; background: rgba(107,85,64,.1);
}
.texte-bloc {
  background: var(--cream); padding: 48px 40px;
}
.texte-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem; font-weight: 300;
  color: rgba(139,58,44,.07); line-height: 1; margin-bottom: 4px;
}
.texte-titre {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem; font-weight: 300; font-style: italic;
  color: var(--ink); margin-bottom: 12px; line-height: 1.2;
}
.texte-sep {
  width: 28px; height: 1px;
  background: rgba(139,58,44,.3); margin-bottom: 24px;
}
.texte-body {
  font-family: 'Libre Baskerville', serif;
  font-size: .85rem; line-height: 1.9; color: var(--warm-mid);
}


/* ── VIN DETAIL: AMBIANCE ────────────────────────────────── */

.ambiance-section { position: relative; height: 420px; overflow: hidden; }
.ambiance-img {
  width: 100%; height: 100%; object-fit: cover; object-position: center; display: block;
}
.ambiance-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right,
    rgba(26,18,8,.72) 0%, rgba(26,18,8,.15) 55%, rgba(26,18,8,.05) 100%
  );
}
.ambiance-text {
  position: absolute; top: 50%; left: 48px;
  transform: translateY(-50%); max-width: 420px;
  display: flex; flex-direction: column; align-items: flex-start;
}
.ambiance-text blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 300; font-style: italic;
  color: var(--parchment); line-height: 1.4; margin-bottom: 16px;
}
.ambiance-text cite {
  display: block; font-style: normal;
  font-size: .62rem; letter-spacing: .25em; text-transform: uppercase;
  color: var(--gold); opacity: .7;
}
.ambiance-text .hero-cta { margin-top: 24px; }

/* Ambiance — align center */
.ambiance-overlay--center {
  background: rgba(26,18,8,.5);
}
.ambiance-text--center {
  left: 50%; transform: translate(-50%, -50%); text-align: center;
  align-items: center;
}
.ambiance-text--center .hero-cta { align-self: center; }
/* Ambiance — align right */
.ambiance-overlay--right {
  background: linear-gradient(to left,
    rgba(26,18,8,.72) 0%, rgba(26,18,8,.15) 55%, rgba(26,18,8,.05) 100%
  );
}
.ambiance-text--right {
  left: auto; right: 48px; text-align: right;
  align-items: flex-end;
}
.ambiance-text--right .hero-cta { align-self: flex-end; }


/* ── VIN DETAIL: WINE NAV ────────────────────────────────── */

.wine-nav {
  background: var(--ink); padding: 40px 0;
  border-top: 1px solid rgba(193,154,74,.1);
}
.wine-nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 48px;
  display: flex; align-items: center; justify-content: space-between;
}
.wine-nav-link {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: rgba(244,237,224,.45);
  font-size: .68rem; letter-spacing: .18em; text-transform: uppercase;
  transition: color .3s; padding: 8px 0;
}
.wine-nav-link:hover { color: var(--gold); }
.wine-nav-link svg {
  width: 16px; height: 16px; opacity: .5;
  transition: opacity .3s, transform .3s;
}
.wine-nav-link:hover svg { opacity: 1; }
.wine-nav-link.prev:hover svg { transform: translateX(-4px); }
.wine-nav-link.next:hover svg { transform: translateX(4px); }
.wine-nav-center { text-align: center; }
.wine-nav-center a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem; font-style: italic;
  color: rgba(244,237,224,.35); text-decoration: none;
  letter-spacing: .08em; transition: color .3s;
}
.wine-nav-center a:hover { color: var(--gold); }
.wine-nav-center span {
  display: block; font-size: .55rem; letter-spacing: .25em;
  text-transform: uppercase; color: rgba(193,154,74,.4); margin-bottom: 4px;
}


/* ── HEADING BLOCK ──────────────────────────────────────── */

.heading {
  
}
.heading.align-text-center {
  text-align: center;
}
.heading.margin-auto {
  margin-left: auto;
  margin-right: auto;
}

.heading h1,
.heading h2,
.heading h3,
.heading h4,
.heading h5,
.heading h6 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300; line-height: 1.15;
  color: var(--ink);
  margin-bottom: 16px;
}
.heading h1 { font-size: clamp(3rem, 5vw, 4.5rem); }
.heading h2 { font-size: clamp(2.2rem, 3.5vw, 3.2rem); }
.heading h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.heading h4 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
.heading h5 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
.heading h6 { font-size: clamp(1rem, 1.5vw, 1.3rem); }
.heading h1 em,
.heading h2 em,
.heading h3 em,
.heading h4 em,
.heading h5 em,
.heading h6 em { font-style: italic; color: var(--terracotta); }

.heading .qodef-m-subtitle {
  font-family: 'Libre Baskerville', serif;
  font-size: .95rem; line-height: 1.8;
  color: var(--warm-mid);
  margin-top: 16px;
}

/* ── TEXT BLOCK ──────────────────────────────────────────── */

.text-block {
  font-family: 'Libre Baskerville', serif;
  font-size: .95rem; line-height: 1.85;
  color: var(--warm-mid);
}
.text-block p { margin-bottom: 20px; }
.text-block p:last-child { margin-bottom: 0; }
.text-block a { color: var(--terracotta); text-decoration: underline; text-underline-offset: 3px; }
.text-block a:hover { color: var(--gold); }
.text-block strong { color: var(--ink); }
.text-block em { font-style: italic; color: var(--terracotta); }

.text-block.uk-text-center { margin-left: auto; margin-right: auto; }

/* ── LAYOUT GRID ────────────────────────────────────────── */

.layout-row {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}
.layout-row--2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

/* Full-bleed blocks: break out of layout-row container */
.layout-row--1col > .layout-col > .hero,
.layout-row--1col > .layout-col > .media-text,
.layout-row--1col > .layout-col > .card-grid,
.layout-row--1col > .layout-col > .mosaic-section,
.layout-row--1col > .layout-col > .ambiance-section {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

/* Heading inside narrow layout columns */
.layout-row--2col .heading {
  max-width: none;
}
.layout-row--2col .heading h1 { font-size: clamp(2.2rem, 3.5vw, 3.2rem); }
.layout-row--2col .heading h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.layout-row--2col .heading h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
.layout-row--2col .heading h4 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
.layout-row--2col .heading h5 { font-size: clamp(1rem, 1.5vw, 1.3rem); }
.layout-row--2col .heading h6 { font-size: clamp(.9rem, 1.2vw, 1.1rem); }


/* ── RESPONSIVE ──────────────────────────────────────────── */

@media (max-width: 900px) {

  /* Nav */
  nav { padding: 18px 24px; }
  nav.scrolled { padding: 12px 24px; }
  .nav-links { display: none; }
  .burger { display: flex; }

  /* Layout */
  .container { padding: 0 24px; }
  .layout-row { padding: 0 24px; }
  .layout-row--2col { grid-template-columns: 1fr; gap: 32px; }
  section { padding: 60px 0; }

  /* Page header */
  .page-header { padding: 120px 0 60px; }

  /* Home */
  .hero { grid-template-columns: 1fr; padding: 75px 0 0; }
  .hero-visual { height: 50vh; }
  .hero-content { padding: 60px 24px 48px; }
  .media-text { padding: 60px 0; }
  .media-text-grid, .region-inner { grid-template-columns: 1fr; gap: 48px; }
  .card-grid-items { grid-template-columns: 1fr !important; }

  /* Corporate (histoire, savoir-faire) */
  .story-section { padding: 60px 0; }
  .story-block,
  .story-block.reverse { grid-template-columns: 1fr; gap: 32px; margin-bottom: 60px; }
  .story-block.reverse .story-img-wrap { order: 1; }
  .story-block.reverse .story-text { order: 2; }
  .story-sep { margin: 0 0 60px; }
  .story-img-wrap img { aspect-ratio: 3/2; }
  .mosaic-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 180px 180px 180px;
  }
  .mosaic-item { grid-column: auto !important; grid-row: auto !important; }
  .mosaic-grid--grid-2,
  .mosaic-grid--grid-3 { grid-template-columns: 1fr 1fr; }
  .mosaic-grid--masonry { columns: 2; }

  /* Contact */
  .page-header--contact { padding: 110px 0 56px; }
  .contact-section { padding: 60px 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 56px; }
  .contact-right { position: static; }
  .form-row { grid-template-columns: 1fr; }

  /* Vins list */
  .vins--list { padding: 56px 0 80px; }
  .vin-appel { display: none; }

  /* Vin detail */
  .page-header--vin { padding: 110px 0 48px; }
  .hero-packshot img { height: 320px; }
  .points-cles-inner {
    grid-template-columns: 1fr 1fr; gap: 24px; padding: 0 24px;
  }
  .point { padding: 0; border-right: none; border-bottom: 1px solid rgba(107,85,64,.12); padding-bottom: 16px; }
  .point-accroche { padding: 0; border: none; grid-column: 1 / -1; }
  .fiche-cta { margin-top: 28px; }
  .btn-fiche { padding: 16px 32px; font-size: .68rem; }
  .vin-content { padding: 56px 0 72px; }
  .textes-section { padding: 56px 0 72px; }
  .textes-grid { grid-template-columns: 1fr; }
  .ambiance-section { height: 320px; }
  .ambiance-text { left: 24px; right: 24px; max-width: none; }
  .ambiance-text--center { left: 24px; right: 24px; transform: translateY(-50%); }
  .wine-nav-inner { flex-direction: column; gap: 20px; text-align: center; padding: 0 24px; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}


/******** BLOCK IMAGE  *********/
.text-right { text-align: right }
.text-left { text-align: left }
.text-center { text-align: center }
.inline-block { display: inline-block }
.block-image img {
  max-width: 100%;
  height: auto;
}
.block-image.xl .wrapper{
	max-width: 50rem;
}
.block-image.md .wrapper{
	max-width: 35rem;
}
.block-image.sm .wrapper{
	max-width: 16rem;
}
.block-image.xs .wrapper{
	max-width: 4rem;
}
.block-image.custom .wrapper{
	max-width: 100%;
}
@media screen and (min-width:1024px){
	.block-image.custom .wrapper{
		max-width: var(--max-width, 100%);
	}
}
.block-image.custom.custom-fix .wrapper{
	max-width: var(--max-width, 100%);
}
.block-image .block-image-wrapper{
	display: inline-block;
	position: relative;
}

.block-image figcaption {
  font-family: 'Libre Baskerville', serif;
  font-style: italic;
  font-size: .82rem;
  line-height: 1.6;
  letter-spacing: .02em;
  color: var(--warm-mid);
}
