/*
Theme Name: Maison Gaussens
Theme URI: https://maison-gaussens.com/
Author: Vanessa
Author URI: https://maison-gaussens.com/
Description: Thème sur mesure pour Maison Gaussens — sélection et transmission de vins français. Design élégant, bilingue FR/EN, entièrement administrable via WordPress.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: maison-gaussens
Tags: custom-theme, wine, elegant, bilingual, responsive
*/

/* ================================================================
   VARIABLES & RESET
================================================================ */
:root {
  --gold: #b89b72;
  --gold-dark: #8a7254;
  --gold-light: #d4bc96;
  --black: #1e1e1e;
  --white: #ffffff;
  --grey: #6b6b6b;
  --bg-light: #fefcf8;
  --footer-bg: #2c2a28;
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Montserrat', 'Helvetica Neue', sans-serif;
  --tr: 0.3s ease;
  --bandeau-haut: 180px;
  --bandeau-haut-mobile: 90px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: var(--sans);
  background: var(--bg-light);
  color: var(--black);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 300; }

/* ================================================================
   HEADER
================================================================ */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 800;
  padding: 0 40px;
  height: var(--bandeau-haut);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  transition: height 0.3s, box-shadow var(--tr);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
#header.scrolled { box-shadow: 0 2px 12px rgba(0,0,0,0.05); }
.header-left {
  display: flex;
  align-items: center;
  gap: 25px;
  z-index: 10;
  position: relative;
}
.search-icon {
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  transition: color var(--tr);
}
.search-icon:hover { color: var(--gold); }
.lang-absolute {
  position: absolute;
  top: 45px;
  left: -4px;
  white-space: nowrap;
}
.lang-switch {
  display: flex;
  gap: 8px;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
}
.lang-switch button {
  background: none;
  border: none;
  color: var(--grey);
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.65rem;
  transition: color var(--tr);
}
.lang-switch button.active { color: var(--gold); font-weight: 600; }
.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 10;
}
.btn-icon {
  background: none;
  border: none;
  color: var(--black);
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--tr);
}
.btn-icon:hover { color: var(--gold); }
.btn-burger {
  flex-direction: column;
  gap: 6px;
}
.btn-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  transition: all var(--tr);
}
.btn-burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.btn-burger.open span:nth-child(2) { opacity: 0; }
.btn-burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.brand-banner {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}
.main-title {
  font-family: var(--serif);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
  line-height: 1.1;
  font-size: inherit;
}
.main-title .big { font-size: 5.625rem; }
.main-title .small { font-size: 4.6875rem; }
.sub-line {
  font-family: var(--serif);
  margin-top: 8px;
  font-size: 0.95rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0.02em;
  line-height: 1.3;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.brand-banner.animate .sub-line { opacity: 1; }

@media (max-width: 974px) {
  #header {
    display: grid;
    grid-template-columns: 40px 1fr 40px;
    align-items: center;
    height: var(--bandeau-haut-mobile);
    padding: 0 8px;
    gap: 4px;
  }
  .header-left {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    position: static;
  }
  .search-icon {
    width: 40px;
    height: 40px;
  }
  .header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0;
    position: static;
  }
  .btn-burger {
    width: 40px;
    height: 40px;
  }
  .lang-absolute { display: none; }
  .brand-banner {
    position: static;
    transform: none;
    text-align: center;
    min-width: 0;
    width: 100%;
  }
  .main-title {
    white-space: nowrap;
    line-height: 1;
  }
  .main-title .big { font-size: 1.25rem; }
  .main-title .small { font-size: 1.05rem; }
  .sub-line {
    display: block;
    font-size: 0.52rem;
    line-height: 1.25;
    margin-top: 3px;
    letter-spacing: 0.01em;
    color: rgba(0,0,0,0.65);
    padding: 0 2px;
  }
  .menu-overlay-nav .lang-switch { display: flex; margin-top: 32px; }
  #menu-overlay {
    padding: calc(var(--bandeau-haut-mobile) + 20px) 20px 40px;
  }
}
/* ================================================================
   MENU OVERLAY
================================================================ */
#menu-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg-light);
  z-index: 700;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: calc(var(--bandeau-haut) + 20px) 20px 60px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1), opacity 0.3s, visibility 0.3s;
  will-change: transform, opacity;
}
#menu-overlay.open { opacity: 1; visibility: visible; transform: translateX(0); }
.menu-overlay-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.menu-overlay-nav a {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 300;
  color: var(--black);
  transition: color var(--tr), font-style var(--tr);
}
.menu-overlay-nav a:hover { color: var(--gold); font-style: italic; }
.menu-overlay-contact {
  margin-top: 48px;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--grey);
  text-align: center;
}
.menu-overlay-contact a { color: inherit; text-decoration: none; }
.menu-overlay-contact a:hover { color: var(--gold); }
.menu-socials {
  display: flex;
  gap: 24px;
  margin: 20px 0 0;
  justify-content: center;
}
.menu-socials a svg {
  width: 26px;
  height: 26px;
  fill: var(--grey);
  transition: fill 0.2s;
}
.menu-socials a:hover svg { fill: var(--gold); }

/* ================================================================
   HERO
================================================================ */
.hero {
  position: relative;
  height: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  overflow: hidden;
  scroll-margin-top: var(--bandeau-haut);
}
.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
  margin-bottom: 15px;
}
.hero-cta-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  transform: translateY(35px);
}
.btn-primary, .btn-secondary, .btn-outline-gold {
  display: inline-block;
  padding: 8px 20px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: all var(--tr);
}
.btn-primary { background: var(--gold); color: var(--white); }
.btn-primary:hover { background: var(--gold-dark); }
.btn-secondary {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
}
.btn-secondary:hover { background: var(--gold); color: var(--white); }
.btn-outline-gold {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
}
.btn-outline-gold:hover { background: var(--gold); color: var(--white); }

.hero-signature {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 60px;
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1.4;
}
@media (max-width: 768px) {
  .hero { height: 500px; scroll-margin-top: var(--bandeau-haut-mobile); }
  .hero-cta-group { transform: translateY(96px); flex-direction: column; align-items: center; gap: 14px; }
  .btn-primary, .btn-secondary { width: 100%; max-width: 280px; text-align: center; }
  .hero-signature { margin-top: 10px; margin-bottom: 40px; font-size: 1.25rem; }
}

/* ================================================================
   SECTIONS
================================================================ */
section {
  padding: 100px 40px;
  scroll-margin-top: 90px;
  background: var(--bg-light);
}

/* Sur mobile : décalage plus généreux pour les ancres du menu burger */
@media (max-width: 974px) {
  section {
    scroll-margin-top: 30px;
  }
}
#contact {
  scroll-margin-top: calc(var(--bandeau-haut) + 30px);
}
@media (max-width: 974px) {
  #contact {
    scroll-margin-top: calc(var(--bandeau-haut-mobile) + 20px);
  }
}
.section-container {
  max-width: 1600px;
  margin: 0 auto;
}
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-tag {
  font-size: 0.6rem;
  letter-spacing: 0.5em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 16px;
  display: block;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  line-height: 1.1;
}
.gold-line {
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin: 24px auto 0;
}
.section-subtitle {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 300;
  font-style: italic;
  color: rgba(0,0,0,0.6);
  margin-top: 16px;
  line-height: 1.7;
}

/* ================================================================
   LA MAISON
================================================================ */
.maison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.maison-image { width: 100%; }
.img-1536x1024 {
  width: 100%;
  aspect-ratio: 1536 / 1024;
  background: #e0d8cc;
  border-radius: 16px;
  overflow: hidden;
}
.img-1536x1024 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.maison-content { text-align: left; }
.maison-content p { margin-bottom: 1rem; }
.maison-stats {
  display: flex;
  gap: 40px;
  justify-content: center;
  margin-top: 32px;
  flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-number {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--gold);
  line-height: 1.1;
}
.stat-label {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--grey);
  text-transform: none;
  margin-top: 4px;
  line-height: 1.3;
}
.stat-experience { color: var(--black); }
.stat-experience .gold { color: var(--gold); }
.maison-signature {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--gold);
  margin: 32px 0;
}
.btn-group-row {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}
@media (max-width: 1024px) {
  .maison-grid { grid-template-columns: 1fr; gap: 40px; }
  .maison-image { order: 1; }
  .maison-content { order: 2; text-align: center; }
}

/* ================================================================
   COLLECTIONS
================================================================ */
.collections-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(260px, 1fr));
  gap: 32px;
  margin-top: 40px;
}
.collection-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.collection-title {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 400;
  color: #8a7254;
  margin-bottom: 8px;
}
.collection-desc {
  font-family: var(--serif);
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(0,0,0,0.7);
  margin-bottom: 20px;
}
.collection-card {
  background: white;
  border: 1px solid rgba(0,0,0,0.05);
  padding: 20px;
  transition: all var(--tr);
  box-shadow: 0 4px 12px rgba(0,0,0,0.02);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.collection-card:hover { transform: translateY(-6px); border-color: var(--gold); }
.collection-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
}
.collection-cta {
  display: inline-block;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 4px;
  margin-top: 2px;
  cursor: pointer;
}
@media (max-width: 1024px) {
  .collections-grid { grid-template-columns: repeat(2, minmax(240px, 1fr)); }
  .collection-card { height: auto; min-height: 280px; }
}
@media (max-width: 768px) {
  .collections-grid { grid-template-columns: 1fr; }
  .collection-card { height: auto; min-height: auto; }
  .collection-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
  }
}

/* ================================================================
   DÉGUSTATIONS
================================================================ */
.degustations-wrapper {
  display: flex;
  flex-direction: column;
  gap: 60px;
}
.degu-photos-wrapper {
  display: flex;
  justify-content: center;
  gap: 4%;
  padding: 0 5%;
  align-items: stretch;
  width: 100%;
}
.degu-photo-wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e0d8cc;
  border-radius: 12px;
  overflow: hidden;
  flex: 0 1 auto;
}
.degu-photo-wrap img {
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}
@media (max-width: 1024px) {
  .degu-photos-wrapper {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    padding: 0;
    height: auto !important;
  }
  .degu-photo-wrap {
    height: auto !important;
    width: 100%;
    max-width: 100%;
  }
  .degu-photo-wrap img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
  }
}
.offres-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 20px;
}
.offre-card {
  border: 1px solid rgba(184,155,114,0.3);
  padding: 20px 24px;
  transition: all var(--tr);
  background: white;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.offre-card:hover {
  background: var(--gold);
  border-color: var(--gold-dark);
  transform: translateX(4px);
}
.offre-card:hover .offre-title,
.offre-card:hover .offre-badge,
.offre-card:hover .offre-desc { color: white; }
.offre-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.offre-title {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 500;
  transition: color var(--tr);
}
.offre-badge {
  background: #d9c5a7;
  color: white;
  font-size: 0.52rem;
  letter-spacing: 0.18em;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  transition: background var(--tr), color var(--tr);
}
.offre-card:hover .offre-badge { background: white; color: var(--gold-dark); }
.offre-desc {
  font-family: var(--serif);
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.65;
  transition: color var(--tr);
}
.zones-container { margin-top: 60px; }
.zones-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 20px;
  border-top: 1px solid var(--gold);
  padding-top: 24px;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 20px;
}
.zone-name {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--gold);
  text-align: center;
}
@media (max-width: 768px) {
  .offres-grid { grid-template-columns: 1fr; }
  .zones-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ================================================================
   CARROUSEL ACTUALITÉS
================================================================ */
.actu-carousel-wrap { position: relative; }
.actu-carousel-container {
  position: relative;
  width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  display: flex;
  gap: 24px;
  padding: 4px 4px 20px;
  scrollbar-width: thin;
}
.actu-carousel-container::-webkit-scrollbar { height: 4px; }
.actu-carousel-container::-webkit-scrollbar-track { background: #e0d8cc; border-radius: 4px; }
.actu-carousel-container::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 4px; }
.actu-card {
  position: relative;
  min-width: 300px;
  width: 300px;
  aspect-ratio: 3 / 4;
  flex-shrink: 0;
  scroll-snap-align: start;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  align-items: flex-end;
  padding: 26px;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s, box-shadow 0.4s;
}
.actu-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20,20,20,0.88) 0%, rgba(20,20,20,0.3) 45%, transparent 78%);
}
.actu-card:hover { transform: translateY(-6px); box-shadow: 0 24px 40px rgba(0,0,0,0.18); }
.actu-card-inner { position: relative; z-index: 2; }
.actu-title {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 500;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 10px;
}
.actu-lire {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.58rem;
  letter-spacing: 0.25em;
  color: #d4bc96;
  text-transform: uppercase;
  transition: gap 0.3s;
}
.actu-card:hover .actu-lire { gap: 14px; }
.actu-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: rgba(255,255,255,0.92);
  color: var(--gold);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  z-index: 10;
}
.actu-nav:hover { background: var(--gold); color: #fff; }
.actu-nav.prev { left: -12px; }
.actu-nav.next { right: -12px; }
@media (max-width: 768px) { .actu-nav { display: none; } }

/* ================================================================
   MODALES
================================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal-box {
  background: var(--bg-light);
  max-width: 760px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  border: 1px solid rgba(184,155,114,0.3);
  border-radius: 12px;
}
#modalCollection .modal-box {
  max-width: 950px;
}
.modal-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: var(--grey);
  cursor: pointer;
  font-size: 1.2rem;
  transition: color var(--tr);
  z-index: 20;
}
.modal-close:hover { color: var(--gold); }
.modal-body {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.9;
  color: rgba(0,0,0,0.75);
  padding: 20px 40px 40px 40px;
}
#modalArticleTitle {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1.25;
  color: var(--gold-dark);
  margin: 0 0 20px 0;
  padding: 0;
  text-align: center;
}
.modal-body h1, .modal-body h2, .modal-body h3 {
  font-family: var(--serif);
  font-weight: 400;
  margin: 1.5em 0 0.5em 0;
}
.modal-body h1 { font-size: 1.8rem; }
.modal-body h2 { font-size: 1.4rem; }
.modal-body h3 { font-size: 1.2rem; }
.modal-body p { margin-bottom: 0.8rem; }
.modal-body ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.modal-body li { margin-bottom: 0.3rem; }
.modal-img {
  max-width: 100%;
  max-height: 50vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto 18px;
  border-radius: 10px;
}
.modal-contact-btn { margin-top: 30px; text-align: center; }
.bottle-info-btn {
  margin-top: 15px;
  background: var(--gold);
  border: none;
  padding: 8px 20px;
  border-radius: 30px;
  color: white;
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  transition: background 0.2s;
}
.bottle-info-btn:hover { background: var(--gold-dark); }
.modal-white-header {
  background: white;
  padding: 15px 20px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  border-radius: 12px 12px 0 0;
  position: sticky;
  top: 0;
  z-index: 10;
  position: relative;
}
.modal-white-header-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  position: relative;
}
.modal-white-header-logo {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 50%;
}
.modal-white-header-title {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
  margin: 0;
  text-align: center;
  white-space: normal;
  padding: 0 60px;
}

/* Mobile : le logo passe au-dessus du titre */
@media (max-width: 600px) {
  .modal-white-header-content {
    flex-direction: column;
    gap: 8px;
    padding: 4px 0;
  }
  .modal-white-header-logo {
    position: static;
    transform: none;
    width: 36px;
    height: 36px;
  }
  .modal-white-header-title {
    font-size: 1.15rem;
    padding: 0 10px;
    line-height: 1.3;
  }
}
.collection-modal-subtitle {
  text-align: center;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: var(--gold-dark);
  text-transform: uppercase;
  padding: 20px 40px 0;
  margin-bottom: 0;
}
.collection-gold-card {
  background: var(--gold);
  color: white;
  border: none;
  padding: 24px 28px;
  margin: 20px 40px 30px 40px;
  border-radius: 12px;
}
.collection-gold-card .offre-desc {
  color: white;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  text-align: center;
}
.wine-description { text-align: center; margin-top: 10px; }
.wine-line-gold {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 4px;
}
.wine-line-black {
  color: var(--black);
  font-family: var(--serif);
  font-size: 0.9rem;
  font-style: italic;
}

/* ================================================================
   RECHERCHE
================================================================ */
.search-results-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.search-results-modal.open { opacity: 1; visibility: visible; }
.search-results-content {
  background: var(--bg-light);
  max-width: 800px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  border-radius: 20px;
  padding: 30px;
  position: relative;
}
.search-results-content .search-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--grey);
}
.search-results-content .search-close:hover { color: var(--gold); }
.search-input-wrapper {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}
.search-input-wrapper input {
  flex: 1;
  padding: 12px 20px;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 40px;
  font-size: 1rem;
  font-family: var(--sans);
  outline: none;
}
.search-input-wrapper input:focus { border-color: var(--gold); }
.search-input-wrapper button {
  background: var(--gold);
  border: none;
  padding: 0 20px;
  border-radius: 40px;
  color: white;
  cursor: pointer;
  font-weight: 600;
}
.search-results-list { margin-top: 20px; }
.search-result-item {
  border-bottom: 1px solid rgba(0,0,0,0.05);
  padding: 12px 0;
  cursor: pointer;
  transition: background 0.2s;
}
.search-result-item:hover {
  background: rgba(184,155,114,0.1);
  padding-left: 10px;
}
.search-result-item h4 {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--gold-dark);
  margin-bottom: 4px;
}
.search-result-item p { font-size: 0.85rem; color: var(--grey); }

/* ================================================================
   COOKIE MANAGER (Complianz prend le relais — styles maison conservés pour compat)
================================================================ */
.cookie-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}
.cookie-modal-card {
  background: var(--bg-light);
  max-width: 520px;
  width: 90%;
  border-radius: 24px;
  box-shadow: 0 20px 35px rgba(0,0,0,0.2);
  overflow: hidden;
  position: relative;
  animation: fadeInUp 0.3s ease;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-modal-header {
  padding: 24px 24px 16px;
  text-align: center;
  background: white;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  position: relative;
}
.cookie-modal-logo {
  width: 60px;
  height: 60px;
  margin: 0 auto 12px;
  border-radius: 50%;
  object-fit: contain;
}
.cookie-modal-header h2 {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--black);
  margin: 0;
}
.cookie-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--grey);
  transition: color 0.2s;
}
.cookie-close:hover { color: var(--gold); }
.cookie-modal-body { padding: 24px; background: white; }
.cookie-modal-body p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--black);
  margin-bottom: 20px;
}
.cookie-policy-link { margin-bottom: 20px; }
.cookie-policy-link a {
  color: var(--gold);
  text-decoration: underline;
  font-size: 0.8rem;
}
.cookie-reasons {
  background: #f9f9f9;
  padding: 16px;
  border-radius: 12px;
  margin-top: 10px;
}
.cookie-reasons span {
  display: block;
  font-weight: 600;
  margin-bottom: 12px;
  font-size: 0.85rem;
}
.cookie-reasons ul { list-style: none; margin: 0; padding: 0; }
.cookie-reasons li { margin-bottom: 8px; font-size: 0.85rem; }
.cookie-reasons label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.cookie-reasons input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--gold);
}
.cookie-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 16px 24px 24px;
  background: white;
  border-top: 1px solid rgba(0,0,0,0.05);
  flex-wrap: wrap;
}
.cookie-btn-secondary, .cookie-btn-primary {
  padding: 10px 20px;
  border-radius: 40px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}
.cookie-btn-secondary {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
}
.cookie-btn-secondary:hover { background: var(--gold); color: white; }
.cookie-btn-primary { background: var(--gold); color: white; }
.cookie-btn-primary:hover { background: var(--gold-dark); }

/* ================================================================
   CONTACT & FOOTER
================================================================ */
.contact-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding-top: 20px;
}
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  text-align: left;
  margin-top: 48px;
}
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group.full { grid-column: 1/-1; }
.form-group label {
  font-size: 0.58rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  text-transform: uppercase;
}
.form-group input, .form-group textarea, .form-group select {
  background: white;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 8px;
  padding: 12px 16px;
  font-family: var(--serif);
  font-size: 1rem;
  width: 100%;
  outline: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--gold); }
.phone-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: white;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 8px;
  padding: 0 12px;
}
.phone-code-display {
  font-size: 0.9rem;
  color: var(--gold);
  font-weight: 600;
  white-space: nowrap;
  background: #f0e9df;
  padding: 8px 12px;
  border-radius: 6px;
  margin: 6px 0;
}
.phone-row input {
  border: none;
  padding: 12px 0;
  flex: 1;
  background: transparent;
}
.phone-row input:focus { outline: none; }
.form-submit { grid-column: 1/-1; text-align: center; margin-top: 16px; }
.form-success {
  display: none;
  padding: 20px;
  background: rgba(74,185,74,0.1);
  border: 1px solid #4ab94a;
  border-radius: 8px;
  font-family: var(--serif);
  font-size: 1rem;
  text-align: center;
  margin-top: 24px;
}
.new-request-btn {
  background: var(--gold);
  border: none;
  padding: 10px 24px;
  border-radius: 30px;
  color: white;
  cursor: pointer;
  font-weight: 600;
  margin-top: 20px;
}
.contact-coords {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid rgba(0,0,0,0.1);
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}
.coord-label {
  font-size: 0.52rem;
  letter-spacing: 0.35em;
  color: var(--gold);
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
  font-family: var(--sans);
}
.coord-value {
  font-family: var(--sans);
  font-size: 0.85rem;
  transition: color var(--tr);
}
.coord-value a {
  color: var(--gold);
  text-decoration: underline;
  transition: color 0.2s, text-decoration 0.2s;
}
.coord-value a:hover {
  color: var(--gold-dark);
  text-decoration: underline;
}
footer {
  background: var(--footer-bg);
  color: #ccc;
  padding: 64px 40px 40px;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
  text-align: center;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.footer-brand .brand-name {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 300;
  margin: 0 0 10px 0;
  color: var(--gold);
  text-transform: uppercase;
}
.footer-brand p {
  font-family: var(--serif);
  font-size: 0.88rem;
  line-height: 1.75;
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255,255,255,0.8);
}
.footer-socials {
  display: flex;
  gap: 20px;
  margin-top: 24px;
  justify-content: center;
}
.footer-social-link {
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: color var(--tr);
  color: rgba(255,255,255,0.6);
}
.footer-social-link:hover { color: var(--gold); }
.footer-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.footer-col h4 {
  font-size: 0.58rem;
  letter-spacing: 0.35em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; padding: 0; }
.footer-col ul li a {
  font-family: var(--serif);
  font-size: 0.88rem;
  transition: color var(--tr);
  color: rgba(255,255,255,0.6);
  cursor: pointer;
}
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom {
  text-align: center;
  padding-top: 11px;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 0;
}
.footer-copy {
  font-size: 0.52rem;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 8px;
}
.footer-alcohol {
  font-size: 0.52rem;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.4);
  margin-top: 8px;
}
@media (max-width: 768px) {
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand, .footer-col { text-align: center; }
}

/* ================================================================
   ANIMATIONS & ACCESSIBILITÉ
================================================================ */
.reveal, .reveal-left, .reveal-right {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal { transform: translateY(32px); }
.reveal-left { transform: translateX(-32px); }
.reveal-right { transform: translateX(32px); }
.reveal.visible, .reveal-left.visible, .reveal-right.visible {
  opacity: 1;
  transform: translate(0);
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.manage-cookies-link {
  cursor: pointer;
  display: inline-block;
  margin-top: 12px;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.5);
  text-decoration: underline;
}
.manage-cookies-link:hover { color: var(--gold); }
.modal-body a {
  color: var(--gold);
  text-decoration: underline;
  transition: color 0.2s;
}
.modal-body a:hover {
  color: var(--gold-dark);
  text-decoration: underline;
}