/* ========================================
   LA CAVE À MILLÉSIMES — Styles
   ======================================== */

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

:root {
  --clr-wine: #4a0e0e;
  --clr-wine-deep: #2d0808;
  --clr-gold: #c5a55a;
  --clr-gold-light: #d4ba7a;
  --clr-gold-dark: #a08040;
  --clr-black: #0a0a0a;
  --clr-charcoal: #1a1a1a;
  --clr-dark: #111111;
  --clr-cream: #f5f0eb;
  --clr-cream-dark: #e8e0d6;
  --clr-white: #fefefe;
  --clr-text: #2c2c2c;
  --clr-text-light: #6b6b6b;
  --clr-text-on-dark: #d4d0cb;

  --ff-heading: "Playfair Display", Georgia, "Times New Roman", serif;
  --ff-body: "Lato", "Helvetica Neue", Arial, sans-serif;

  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.25rem;
  --fs-xl: 1.5rem;
  --fs-2xl: 2rem;
  --fs-3xl: 2.5rem;
  --fs-4xl: 3.5rem;
  --fs-5xl: 4.5rem;

  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

body {
  font-family: var(--ff-body);
  color: var(--clr-text);
  background: var(--clr-cream);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 120px 0;
  position: relative;
}

/* --- Section Tags & Titles --- */
.section-tag {
  display: inline-block;
  font-family: var(--ff-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--clr-gold);
  margin-bottom: 16px;
}

.section-tag.light {
  color: var(--clr-gold-light);
}

.section-title {
  font-family: var(--ff-heading);
  font-size: var(--fs-4xl);
  font-weight: 600;
  line-height: 1.15;
  color: var(--clr-charcoal);
  margin-bottom: 20px;
}

.section-title.light {
  color: var(--clr-white);
}

.section-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--clr-gold), var(--clr-gold-light));
  margin-bottom: 32px;
}

.section-divider.centered {
  margin-left: auto;
  margin-right: auto;
}

.section-divider.light {
  background: linear-gradient(90deg, var(--clr-gold-light), transparent);
}

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

.section-description {
  font-size: var(--fs-md);
  color: var(--clr-text-light);
  line-height: 1.8;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 40px;
  font-family: var(--ff-body);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--clr-gold-dark), var(--clr-gold));
  color: var(--clr-black);
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--clr-gold), var(--clr-gold-light));
  opacity: 0;
  transition: opacity var(--transition);
  z-index: -1;
}

.btn-primary:hover::after {
  opacity: 1;
}

.btn-primary {
  position: relative;
  z-index: 1;
  isolation: isolate;
}

.btn-outline {
  background: transparent;
  color: var(--clr-white);
  border: 1px solid rgba(197, 165, 90, 0.6);
}

.btn-outline:hover {
  background: rgba(197, 165, 90, 0.15);
  border-color: var(--clr-gold);
  color: var(--clr-gold-light);
}

.btn-lg {
  padding: 20px 56px;
  font-size: var(--fs-base);
}

.btn-full {
  width: 100%;
}

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all var(--transition);
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--clr-white);
}

.logo-img {
  height: 66px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: opacity var(--transition);
}

.footer-logo-img {
  height: 88px;
  margin-bottom: 16px;
}

.logo-icon {
  font-size: 28px;
  filter: grayscale(0.3);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-family: var(--ff-heading);
  font-size: var(--fs-lg);
  font-weight: 600;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.logo-sub {
  font-size: var(--fs-xs);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--clr-gold);
  opacity: 0.8;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 8px;
}

.nav-menu a {
  display: block;
  padding: 8px 16px;
  font-size: var(--fs-sm);
  font-weight: 400;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition);
}

.nav-menu a:hover {
  color: var(--clr-gold-light);
}

/* Nav Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nav-chevron {
  width: 14px;
  height: 14px;
  transition: transform 0.3s ease;
}

.nav-dropdown:hover .nav-chevron {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 220px;
  background: var(--clr-charcoal);
  border: 1px solid rgba(197, 165, 90, 0.2);
  border-radius: 8px;
  padding: 8px 0;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  transform: translateX(-50%) translateY(16px);
  z-index: 200;
  list-style: none;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(8px);
}

.nav-dropdown-menu li a {
  display: block;
  padding: 10px 24px;
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.75);
  white-space: nowrap;
  transition: all 0.2s ease;
}

.nav-dropdown-menu li a:hover {
  color: var(--clr-gold-light);
  background: rgba(197, 165, 90, 0.08);
  padding-left: 28px;
}

.nav-dropdown-sep {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 6px 16px;
}

.nav-cta {
  background: rgba(197, 165, 90, 0.15);
  border: 1px solid rgba(197, 165, 90, 0.4) !important;
  border-radius: 2px;
  color: var(--clr-gold-light) !important;
}

.nav-cta:hover {
  background: rgba(197, 165, 90, 0.25) !important;
}

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

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--clr-white);
  transition: all 0.3s ease;
}

/* ========================================
   HERO
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--clr-black);
}

.hero-parallax-bg {
  position: absolute;
  inset: -20%;
  background: url("../images/hero_banner_4.jpg") center/cover no-repeat;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(30, 15, 5, 0.6) 0%,
      rgba(60, 30, 10, 0.5) 40%,
      rgba(15, 8, 3, 0.75) 100%
    ),
    radial-gradient(
      ellipse at 50% 50%,
      rgba(197, 165, 90, 0.1) 0%,
      transparent 60%
    );
}

/* Orange/gold color tint layer */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(180, 120, 40, 0.35) 0%,
    rgba(120, 60, 15, 0.38) 50%,
    rgba(50, 20, 5, 0.5) 100%
  );
  z-index: 0;
  pointer-events: none;
}

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  display: block;
}

/* Mouse glow effect */
.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(
    circle,
    rgba(197, 165, 90, 0.22) 0%,
    rgba(197, 165, 90, 0.10) 30%,
    rgba(74, 14, 14, 0.06) 50%,
    transparent 70%
  );
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.6s ease;
  mix-blend-mode: screen;
}

.hero:hover .hero-glow {
  opacity: 1;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 0 24px;
  max-width: 900px;
  transition: transform 0.15s ease-out;
  transform-style: preserve-3d;
  will-change: transform;
}

/* Shimmer line under title on hover */
.hero-title-line-2 {
  position: relative;
  display: inline-block;
}

.hero-title-line-2::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  width: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--clr-gold-light),
    transparent
  );
  transition:
    width 0.8s ease,
    left 0.8s ease;
}

.hero:hover .hero-title-line-2::after {
  width: 80%;
  left: 10%;
}

.hero-badge {
  display: inline-block;
  padding: 8px 24px;
  border: 1px solid rgba(197, 165, 90, 0.4);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--clr-gold);
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s 0.3s forwards;
}

.hero-title {
  font-family: var(--ff-heading);
  color: var(--clr-white);
  margin-bottom: 24px;
}

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

.hero-title-line-1 {
  font-size: var(--fs-2xl);
  font-weight: 400;
  font-style: italic;
  letter-spacing: 4px;
  color: var(--clr-gold-light);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s 0.5s forwards;
}

.hero-title-line-2 {
  font-size: var(--fs-5xl);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.1;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s 0.7s forwards;
}

.hero-subtitle {
  font-size: var(--fs-md);
  color: var(--clr-text-on-dark);
  line-height: 1.8;
  margin-bottom: 48px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s 0.9s forwards;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s 1.1s forwards;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: -120px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--clr-gold);
  font-size: var(--fs-xs);
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeIn 1s 1.5s forwards;
}

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

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  to {
    opacity: 0.7;
  }
}

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

/* ========================================
   STATS BAR
   ======================================== */
.stats-bar {
  background: var(--clr-charcoal);
  padding: 48px 0;
  border-bottom: 1px solid rgba(197, 165, 90, 0.15);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item {
  color: var(--clr-white);
}

.stat-number {
  font-family: var(--ff-heading);
  font-size: var(--fs-4xl);
  font-weight: 700;
  color: var(--clr-gold);
  line-height: 1;
}

.stat-suffix {
  font-family: var(--ff-heading);
  font-size: var(--fs-lg);
  color: var(--clr-gold);
}

.stat-label {
  display: block;
  margin-top: 8px;
  font-size: var(--fs-sm);
  color: var(--clr-text-on-dark);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ========================================
   ABOUT
   ======================================== */
.about {
  background: var(--clr-cream);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-images {
  position: relative;
  height: 600px;
}

.about-img-main {
  position: absolute;
  top: 0;
  left: 0;
  width: 75%;
  height: 85%;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.about-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 6s ease;
}

.about-img-main:hover img {
  transform: scale(1.05);
}

.about-img-accent {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 55%;
  height: 55%;
  overflow: hidden;
  border: 6px solid var(--clr-cream);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.about-img-accent img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-decoration {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 120px;
  height: 120px;
  border: 2px solid var(--clr-gold);
  opacity: 0.3;
}

.about-content .section-title {
  font-size: var(--fs-3xl);
}

.about-lead {
  font-size: var(--fs-md);
  line-height: 1.9;
  margin-bottom: 20px;
}

.about-content p {
  color: var(--clr-text-light);
  margin-bottom: 16px;
}

.about-signature {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--clr-cream-dark);
}

.signature-photo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.about-signature strong {
  display: block;
  font-family: var(--ff-heading);
  font-size: var(--fs-base);
}

.about-signature span {
  font-size: var(--fs-sm);
  color: var(--clr-gold);
}

/* ========================================
   WINES
   ======================================== */
.wines {
  background: var(--clr-white);
  overflow: hidden;
}

.wines-bg-pattern {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 20% 80%,
      rgba(197, 165, 90, 0.04) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(74, 14, 14, 0.03) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.wines-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.wine-card {
  position: relative;
  overflow: hidden;
  background: var(--clr-cream);
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.wine-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.12);
}

.wine-card-img {
  position: relative;
  height: 320px;
  overflow: hidden;
}

.wine-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.wine-card:hover .wine-card-img img {
  transform: scale(1.08);
}

.wine-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}

.wine-card:hover .wine-card-overlay {
  opacity: 1;
}

.wine-card-overlay span {
  padding: 12px 32px;
  border: 1px solid var(--clr-gold);
  color: var(--clr-gold-light);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  transform: translateY(10px);
  transition: transform var(--transition);
}

.wine-card:hover .wine-card-overlay span {
  transform: translateY(0);
}

.wine-card-content {
  padding: 24px;
}

.wine-card-content h3 {
  font-family: var(--ff-heading);
  font-size: var(--fs-xl);
  color: var(--clr-charcoal);
  margin-bottom: 8px;
}

.wine-card-content p {
  font-size: var(--fs-sm);
  color: var(--clr-text-light);
  line-height: 1.7;
}

.wine-card-link {
  display: inline-block;
  margin-top: 12px;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--clr-gold);
  transition: color var(--transition);
}

.wine-card:hover .wine-card-link {
  color: var(--clr-gold-dark);
}

a.wine-card {
  text-decoration: none;
  color: inherit;
}

/* ========================================
   RACHAT DE CAVE
   ======================================== */
.rachat {
  position: relative;
  padding: 160px 0;
  overflow: hidden;
}

.rachat-bg {
  position: absolute;
  inset: 0;
}

.rachat-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rachat-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 10, 10, 0.92) 0%,
    rgba(42, 8, 8, 0.88) 100%
  );
}

.rachat-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.rachat-lead {
  font-size: var(--fs-lg);
  color: var(--clr-text-on-dark);
  margin-bottom: 64px;
  line-height: 1.8;
}

.rachat-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 56px;
}

.rachat-step {
  text-align: center;
  padding: 40px 24px;
  border: 1px solid rgba(197, 165, 90, 0.15);
  background: rgba(255, 255, 255, 0.03);
  transition: all var(--transition);
}

.rachat-step:hover {
  border-color: rgba(197, 165, 90, 0.4);
  background: rgba(197, 165, 90, 0.05);
}

.step-number {
  font-family: var(--ff-heading);
  font-size: var(--fs-3xl);
  font-weight: 700;
  color: var(--clr-gold);
  margin-bottom: 16px;
  line-height: 1;
}

.rachat-step h3 {
  font-family: var(--ff-heading);
  font-size: var(--fs-lg);
  color: var(--clr-white);
  margin-bottom: 12px;
}

.rachat-step p {
  font-size: var(--fs-sm);
  color: var(--clr-text-on-dark);
  line-height: 1.7;
}

.rachat-guarantees {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.guarantee {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--clr-gold-light);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.guarantee svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ========================================
   EVENTS
   ======================================== */
.events {
  background: var(--clr-cream);
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.event-card {
  padding: 48px 36px;
  background: var(--clr-white);
  border: 1px solid var(--clr-cream-dark);
  text-align: center;
  transition: all var(--transition);
}

.event-card:hover {
  border-color: var(--clr-gold);
  box-shadow: 0 16px 40px rgba(197, 165, 90, 0.1);
  transform: translateY(-4px);
}

.event-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(197, 165, 90, 0.3);
  border-radius: 50%;
  color: var(--clr-gold);
  transition: all var(--transition);
}

.event-card:hover .event-icon {
  background: var(--clr-gold);
  color: var(--clr-black);
}

.event-icon svg {
  width: 28px;
  height: 28px;
}

.event-card h3 {
  font-family: var(--ff-heading);
  font-size: var(--fs-xl);
  color: var(--clr-charcoal);
  margin-bottom: 12px;
}

.event-card p {
  font-size: var(--fs-sm);
  color: var(--clr-text-light);
  line-height: 1.8;
  margin-bottom: 20px;
}

.event-detail {
  display: inline-block;
  padding: 6px 16px;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--clr-gold-dark);
  background: rgba(197, 165, 90, 0.1);
}

/* ========================================
   QUOTE
   ======================================== */
.quote-section {
  background: var(--clr-charcoal);
  padding: 100px 0;
}

.quote-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.quote-mark {
  font-family: var(--ff-heading);
  font-size: 120px;
  color: var(--clr-gold);
  line-height: 0.5;
  margin-bottom: 24px;
  opacity: 0.4;
}

.quote-content blockquote {
  font-family: var(--ff-heading);
  font-size: var(--fs-2xl);
  font-style: italic;
  color: var(--clr-white);
  line-height: 1.6;
  margin-bottom: 24px;
}

.quote-content cite {
  font-family: var(--ff-body);
  font-size: var(--fs-sm);
  font-style: normal;
  color: var(--clr-gold);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ========================================
   CONTACT
   ======================================== */
.contact {
  background: var(--clr-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 8px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-item svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--clr-gold);
  margin-top: 4px;
}

.contact-item strong {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--clr-charcoal);
  margin-bottom: 4px;
}

.contact-item p {
  font-size: var(--fs-base);
  color: var(--clr-text-light);
  line-height: 1.6;
}

.contact-item a:hover {
  color: var(--clr-gold);
}

.text-gold {
  color: var(--clr-gold-dark);
  font-weight: 700;
}

.contact-socials {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}

.contact-socials a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--clr-cream-dark);
  color: var(--clr-charcoal);
  transition: all var(--transition);
}

.contact-socials a:hover {
  border-color: var(--clr-gold);
  color: var(--clr-gold);
  background: rgba(197, 165, 90, 0.05);
}

.contact-socials svg {
  width: 20px;
  height: 20px;
}

/* --- Contact Form --- */
.contact-form-wrapper {
  background: var(--clr-cream);
  padding: 48px;
}

.contact-form h3 {
  font-family: var(--ff-heading);
  font-size: var(--fs-xl);
  margin-bottom: 8px;
}

.contact-form > p {
  font-size: var(--fs-sm);
  color: var(--clr-text-light);
  margin-bottom: 32px;
}

.form-group {
  position: relative;
  margin-bottom: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 16px 18px;
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  color: var(--clr-charcoal);
  background: var(--clr-white);
  border: 1px solid var(--clr-cream-dark);
  outline: none;
  transition: border-color var(--transition);
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--clr-gold);
}

.form-group label {
  position: absolute;
  left: 18px;
  top: 16px;
  font-size: var(--fs-base);
  color: var(--clr-text-light);
  pointer-events: none;
  transition: all 0.3s ease;
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
  top: -8px;
  left: 14px;
  font-size: var(--fs-xs);
  color: var(--clr-gold);
  background: var(--clr-white);
  padding: 0 4px;
}

.form-group select {
  color: var(--clr-text-light);
  cursor: pointer;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Upload field (outside .form-group to avoid label conflicts) */
.form-upload-wrapper {
  margin-bottom: 24px;
}

.upload-dropzone {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 24px;
  border: 2px dashed var(--clr-cream-dark);
  border-radius: 8px;
  background: var(--clr-white);
  text-align: center;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
}

.upload-dropzone:hover {
  border-color: var(--clr-gold);
  background: rgba(197, 165, 90, 0.04);
}

.upload-dropzone input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.upload-dropzone svg {
  width: 28px;
  height: 28px;
  color: var(--clr-gold);
  margin-bottom: 8px;
}

.upload-text {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--clr-charcoal);
}

.upload-hint {
  font-size: var(--fs-xs);
  color: var(--clr-text-light);
  margin-top: 4px;
}

.upload-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding: 12px 16px;
  background: var(--clr-cream);
  border-radius: 6px;
  border: 1px solid var(--clr-cream-dark);
}

.upload-file-icon {
  width: 20px;
  height: 20px;
  color: var(--clr-gold);
  flex-shrink: 0;
}

.upload-filename {
  flex: 1;
  font-size: var(--fs-sm);
  color: var(--clr-charcoal);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.upload-remove {
  background: none;
  border: none;
  font-size: var(--fs-xl);
  color: var(--clr-text-light);
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
  transition: color var(--transition);
}

.upload-remove:hover {
  color: #c0392b;
}

/* ========================================
   MAP
   ======================================== */
.map-section {
  width: 100%;
  filter: grayscale(0.5) contrast(1.1);
  transition: filter var(--transition);
}

.map-section:hover {
  filter: grayscale(0) contrast(1);
}

.map-section iframe {
  display: block;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--clr-black);
  padding: 80px 0 0;
  color: var(--clr-text-on-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-brand .logo-main {
  color: var(--clr-white);
}

.footer-tagline {
  font-size: var(--fs-xs);
  color: var(--clr-text-light);
  margin-top: 16px;
  line-height: 1.6;
}

.footer-links h4,
.footer-contact h4 {
  font-family: var(--ff-heading);
  font-size: var(--fs-base);
  color: var(--clr-white);
  margin-bottom: 20px;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a,
.footer-links li {
  font-size: var(--fs-sm);
  color: var(--clr-text-on-dark);
  transition: color var(--transition);
}

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

.footer-contact p {
  font-size: var(--fs-sm);
  margin-bottom: 8px;
}

.footer-contact a:hover {
  color: var(--clr-gold-light);
}

.footer-bottom {
  text-align: center;
  padding: 24px 0;
  font-size: var(--fs-xs);
  color: var(--clr-text-light);
}

/* ========================================
   MODAL
   ======================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--clr-white);
  max-width: 440px;
  width: 90%;
  padding: 48px 40px;
  text-align: center;
  transform: translateY(30px) scale(0.95);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .modal {
  transform: translateY(0) scale(1);
}

.modal-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(197, 165, 90, 0.1);
  color: var(--clr-gold);
}

.modal-icon svg {
  width: 32px;
  height: 32px;
}

.modal h3 {
  font-family: var(--ff-heading);
  font-size: var(--fs-xl);
  color: var(--clr-charcoal);
  margin-bottom: 12px;
}

.modal p {
  font-size: var(--fs-base);
  color: var(--clr-text-light);
  line-height: 1.7;
  margin-bottom: 32px;
}

.modal .btn {
  min-width: 160px;
}

/* ========================================
   REVEAL ANIMATIONS
   ======================================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .section {
    padding: 80px 0;
  }
  .section-title {
    font-size: var(--fs-3xl);
  }
  .hero-title-line-2 {
    font-size: var(--fs-4xl);
  }
  .about-grid {
    gap: 48px;
  }
  .wines-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .rachat-steps {
    gap: 24px;
  }
  .contact-grid {
    gap: 48px;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section {
    padding: 64px 0;
  }
  .section-title {
    font-size: var(--fs-2xl);
  }
  .hero-title-line-1 {
    font-size: var(--fs-lg);
  }
  .hero-title-line-2 {
    font-size: var(--fs-3xl);
  }

  /* Nav mobile */
  .nav-toggle {
    display: flex;
  }
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--clr-charcoal);
    flex-direction: column;
    padding: 80px 32px 32px;
    gap: 0;
    transition: right 0.4s ease;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
  }
  .nav-menu.active {
    right: 0;
  }
  .nav-menu a {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  /* Dropdown mobile */
  .nav-dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0 0 0 16px;
    min-width: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .nav-dropdown.open .nav-dropdown-menu {
    max-height: 400px;
  }
  .nav-dropdown-menu li a {
    padding: 10px 0;
    font-size: var(--fs-sm);
  }
  .nav-dropdown-menu li a:hover {
    padding-left: 4px;
  }
  .nav-dropdown-sep {
    margin: 4px 0;
  }

  /* Stats */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .stat-number {
    font-size: var(--fs-2xl);
  }

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-images {
    height: 400px;
  }
  .about-img-main {
    width: 80%;
    height: 80%;
  }
  .about-img-accent {
    width: 50%;
    height: 50%;
  }

  /* Wines */
  .wines-grid {
    grid-template-columns: 1fr;
  }
  .wine-card-img {
    height: 250px;
  }

  /* Rachat */
  .rachat {
    padding: 100px 0;
  }
  .rachat-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .rachat-guarantees {
    gap: 20px;
  }

  /* Events */
  .events-grid {
    grid-template-columns: 1fr;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-form-wrapper {
    padding: 32px 24px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 480px) {
  .hero-title-line-2 {
    font-size: var(--fs-2xl);
  }
  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }
  .hero-ctas .btn {
    width: 100%;
    max-width: 280px;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .quote-content blockquote {
    font-size: var(--fs-lg);
  }
  .catalog-grid {
    grid-template-columns: 1fr;
  }
  .filters-selects {
    grid-template-columns: 1fr;
  }
  .wine-detail-actions {
    flex-direction: column;
  }
  .wine-detail-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ========================================
   INNER PAGES — Shared
   ======================================== */

/* Navbar for inner pages (always visible, dark bg) */
.navbar-inner {
  background: var(--clr-charcoal);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

/* Page Hero (smaller than homepage hero) */
.page-hero {
  position: relative;
  padding: 160px 0 80px;
  text-align: center;
  overflow: hidden;
  background: var(--clr-charcoal);
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background: url('../images/hero_banner_4.jpg') center/cover no-repeat;
  opacity: 0.2;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26, 26, 26, 0.6) 0%, var(--clr-charcoal) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 1;
}

.page-hero-title {
  font-family: var(--ff-heading);
  font-size: var(--fs-4xl);
  color: var(--clr-white);
  font-weight: 600;
  margin-bottom: 16px;
}

.page-hero-subtitle {
  font-size: var(--fs-lg);
  color: var(--clr-text-on-dark);
  max-width: 600px;
  margin: 0 auto;
}

/* Breadcrumb */
.breadcrumb-bar {
  background: var(--clr-charcoal);
  padding: 100px 0 20px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-sm);
  color: var(--clr-text-light);
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--clr-text-on-dark);
  transition: color var(--transition);
}

.breadcrumb a:hover {
  color: var(--clr-gold);
}

.breadcrumb-sep {
  color: var(--clr-text-light);
  opacity: 0.4;
}

.breadcrumb-current {
  color: var(--clr-gold);
}

/* ========================================
   CATALOG PAGE — Wine Grid
   ======================================== */

/* Filters */
.catalog-filters {
  background: var(--clr-white);
  padding: 32px 0;
  border-bottom: 1px solid var(--clr-cream-dark);
  position: sticky;
  top: 72px;
  z-index: 90;
}

.filters-bar {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.filters-search {
  flex: 1;
  min-width: 250px;
  position: relative;
}

.filters-search svg {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--clr-text-light);
}

.filters-search input {
  width: 100%;
  padding: 14px 16px 14px 48px;
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  border: 1px solid var(--clr-cream-dark);
  border-radius: 8px;
  background: var(--clr-cream);
  color: var(--clr-text);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.filters-search input:focus {
  outline: none;
  border-color: var(--clr-gold);
  box-shadow: 0 0 0 3px rgba(197, 165, 90, 0.15);
}

.filters-selects {
  display: grid;
  grid-template-columns: repeat(3, 180px);
  gap: 12px;
}

/* Hide native selects — replaced by custom dropdowns */
.filters-selects select {
  display: none;
}

/* Custom dropdown */
.custom-select {
  position: relative;
  font-family: var(--ff-body);
  font-size: var(--fs-sm);
  user-select: none;
}

.custom-select-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 16px;
  background: var(--clr-cream);
  border: 1px solid var(--clr-cream-dark);
  border-radius: 8px;
  color: var(--clr-text);
  cursor: pointer;
  transition: border-color 0.2s;
  width: 100%;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.custom-select-btn:focus {
  outline: none;
  border-color: var(--clr-gold);
}

.custom-select.open .custom-select-btn {
  border-color: var(--clr-gold);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.custom-select-arrow {
  flex-shrink: 0;
  transition: transform 0.2s;
  color: var(--clr-text-light);
}

.custom-select.open .custom-select-arrow {
  transform: rotate(180deg);
}

.custom-select-list {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--clr-white);
  border: 1px solid var(--clr-gold);
  border-top: none;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  z-index: 100;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  overflow: hidden;
}

.custom-select.open .custom-select-list {
  display: block;
}

.custom-select-option {
  padding: 10px 16px;
  cursor: pointer;
  font-size: var(--fs-sm);
  color: var(--clr-text);
  transition: background 0.15s, color 0.15s;
}

.custom-select-option:hover {
  background: var(--clr-cream);
  color: var(--clr-gold-dark);
}

.custom-select-option.selected {
  background: var(--clr-charcoal);
  color: var(--clr-gold);
  font-weight: 700;
}

/* Filter Tags */
.filters-tags {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.filter-tag {
  padding: 8px 20px;
  font-family: var(--ff-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 1px solid var(--clr-cream-dark);
  border-radius: 100px;
  background: transparent;
  color: var(--clr-text-light);
  cursor: pointer;
  transition: all var(--transition);
}

.filter-tag:hover {
  border-color: var(--clr-gold);
  color: var(--clr-gold);
}

.filter-tag:focus,
.filter-tag:focus-visible {
  outline: 2px solid var(--clr-gold);
  outline-offset: 2px;
}

.filter-tag.active {
  background: var(--clr-charcoal);
  border-color: var(--clr-charcoal);
  color: var(--clr-gold);
}

.filter-tag.active:focus,
.filter-tag.active:focus-visible {
  outline-color: var(--clr-gold-light);
}

/* Catalog Count */
.catalog-count {
  font-size: var(--fs-sm);
  color: var(--clr-text-light);
  margin-bottom: 24px;
  padding-top: 8px;
}

/* Catalog Section */
.catalog-section {
  padding: 48px 0 120px;
  background: var(--clr-cream);
}

/* Catalog Grid */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.catalog-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* Catalog Card */
.catalog-card {
  display: flex;
  flex-direction: column;
  background: var(--clr-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
  color: var(--clr-text);
}

.catalog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.catalog-card-img {
  position: relative;
  height: 420px;
  overflow: hidden;
  background: var(--clr-cream-dark);
}

.catalog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform var(--transition-slow);
}

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

/* Badges */
.catalog-badge {
  position: absolute;
  top: 12px;
  font-family: var(--ff-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 6px;
  z-index: 2;
}

.badge-coeur {
  right: 12px;
  background: var(--clr-wine);
  color: var(--clr-gold-light);
  font-size: 1.2rem;
  padding: 8px 16px;
  border-radius: 8px;
}

/* ─── Badge Parker ─── */
.parker-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8b1a1a, #4a0e0e);
  border: 3px solid var(--clr-gold);
  box-shadow: 0 4px 20px rgba(74, 14, 14, 0.5), 0 0 0 1px rgba(197, 165, 90, 0.2);
  line-height: 1;
  gap: 2px;
}

.parker-score {
  font-family: var(--ff-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--clr-gold-light);
  letter-spacing: -1px;
}

.parker-label {
  font-family: var(--ff-body);
  font-size: 0.55rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--clr-gold);
  opacity: 0.85;
}

.badge-coeur.badge-lg {
  font-size: var(--fs-sm);
  padding: 8px 16px;
  top: 16px;
  right: 16px;
}

.badge-indispo {
  left: 12px;
  background: rgba(0, 0, 0, 0.7);
  color: var(--clr-text-on-dark);
}

.badge-ancien {
  left: 12px;
  background: var(--clr-gold-dark);
  color: var(--clr-white);
}

.badge-indispo + .badge-ancien {
  top: 48px;
}

/* Card Body */
.catalog-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.catalog-card-region {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--clr-gold);
  margin-bottom: 8px;
}

.catalog-card-title {
  font-family: var(--ff-heading);
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--clr-charcoal);
  margin-bottom: 8px;
  line-height: 1.3;
}

.catalog-card-meta {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  font-size: var(--fs-xs);
  color: var(--clr-text-light);
  margin-bottom: 16px;
}

.catalog-card-meta > span:not(:last-of-type)::after {
  content: '·';
  margin-left: 8px;
}

.card-millesime {
  font-family: var(--ff-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--clr-gold);
  letter-spacing: 0.04em;
}

.card-millesime::after {
  display: none;
}

.card-conditions {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-left: auto;
}

.card-condition-badge {
  position: relative;
  display: inline-block;
  padding: 2px 5px;
  border-radius: 3px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  background: rgba(44, 44, 44, 0.07);
  color: var(--clr-text-light);
  border: 1px solid rgba(44, 44, 44, 0.15);
  cursor: default;
}

/* tooltip géré en JS — voir catalog.js */

.card-qty {
  font-size: 0.72rem;
  color: var(--clr-text-light);
  margin-left: auto;
  margin-right: 4px;
  white-space: nowrap;
}

#conditionTooltip {
  position: fixed;
  background: #1a1a1a;
  color: #f5f0eb;
  font-family: "Lato", sans-serif;
  font-size: 0.72rem;
  white-space: nowrap;
  padding: 5px 10px;
  border-radius: 5px;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.15s;
}

#conditionTooltip.visible {
  opacity: 1;
}

.catalog-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--clr-cream-dark);
}

.catalog-card-price {
  font-family: var(--ff-heading);
  font-size: var(--fs-xl);
  font-weight: 600;
  color: var(--clr-wine);
}

.catalog-card-link {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--clr-gold);
  transition: color var(--transition);
}

.catalog-card:hover .catalog-card-link {
  color: var(--clr-gold-dark);
}

/* Empty State */
.catalog-empty {
  text-align: center;
  padding: 80px 24px;
}

.catalog-empty svg {
  width: 48px;
  height: 48px;
  color: var(--clr-text-light);
  margin-bottom: 16px;
}

.catalog-empty p {
  font-size: var(--fs-lg);
  color: var(--clr-text-light);
  margin-bottom: 24px;
}

.catalog-empty .btn-outline {
  color: var(--clr-charcoal);
  border-color: rgba(44, 44, 44, 0.4);
}

.catalog-empty .btn-outline:hover {
  color: var(--clr-gold-dark);
  border-color: var(--clr-gold);
  background: rgba(197, 165, 90, 0.08);
}

/* ========================================
   WINE DETAIL PAGE
   ======================================== */

.wine-detail {
  padding-top: 60px;
}

.wine-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

/* Images */
.wine-detail-images {
  position: sticky;
  top: 100px;
}

.wine-detail-main-img {
  position: relative;
  background: var(--clr-charcoal);
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 800 / 1191;
  max-height: 600px;
}

.wine-detail-main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wine-detail-thumbs {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.wine-thumb {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  overflow: hidden;
  border: 3px solid transparent;
  outline: none;
  box-shadow: none;
  cursor: pointer;
  background: transparent;
  padding: 0;
  display: block;
  transition: border-color var(--transition);
}

.wine-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wine-thumb.active {
  border-color: var(--clr-gold);
}

/* Info */
.wine-detail-title {
  font-family: var(--ff-heading);
  font-size: var(--fs-4xl);
  font-weight: 600;
  color: var(--clr-charcoal);
  line-height: 1.15;
  margin-bottom: 8px;
}

.wine-detail-millesime {
  display: inline-block;
  font-family: var(--ff-heading);
  font-size: var(--fs-xl);
  font-style: italic;
  color: var(--clr-text-light);
  margin-bottom: 16px;
}

/* Specs */
.wine-detail-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 24px 0;
  padding: 24px;
  background: var(--clr-cream);
  border-radius: 12px;
}

.wine-spec-label {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--clr-gold);
  margin-bottom: 4px;
}

.wine-spec-value {
  font-size: var(--fs-base);
  color: var(--clr-text);
}

/* Description */
.wine-detail-description {
  margin: 24px 0;
  font-size: var(--fs-md);
  line-height: 1.8;
  color: var(--clr-text);
}

/* Price Block */
.wine-detail-price-block {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 32px 0;
  padding: 24px;
  background: var(--clr-charcoal);
  border-radius: 12px;
}

.wine-detail-price {
  font-family: var(--ff-heading);
  font-size: var(--fs-3xl);
  font-weight: 700;
  color: var(--clr-gold);
  line-height: 1;
}

.wine-detail-price-ttc {
  font-size: var(--fs-xs);
  color: var(--clr-text-on-dark);
  opacity: 0.5;
  text-align: right;
  letter-spacing: 0.08em;
  margin-top: -4px;
}

.wine-detail-stock {
  font-size: var(--fs-sm);
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 100px;
}

.stock-ok {
  background: rgba(46, 125, 50, 0.15);
  color: #4caf50;
}

.stock-out {
  background: rgba(211, 47, 47, 0.15);
  color: #ef5350;
}

/* Conditions bouteille */
.wine-conditions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 24px;
}

.wine-condition-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  font-family: var(--ff-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  background: rgba(44, 44, 44, 0.08);
  color: var(--clr-text-light);
  border: 1px solid rgba(44, 44, 44, 0.2);
  cursor: default;
}

/* Actions */
.wine-detail-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.wine-detail-actions .btn {
  display: inline-flex;
  align-items: center;
}

.wine-detail-actions .btn-outline {
  color: var(--clr-charcoal);
  border-color: rgba(44, 44, 44, 0.4);
}

.wine-detail-actions .btn-outline:hover {
  color: var(--clr-gold-dark);
  border-color: var(--clr-gold);
  background: rgba(197, 165, 90, 0.08);
}

/* ─── Lightbox ─── */
.main-img-zoomable {
  cursor: zoom-in;
}

.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 3000;
  align-items: center;
  justify-content: center;
  animation: lbFadeIn 0.25s ease;
}

.lightbox-overlay.active {
  display: flex;
}

@keyframes lbFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.lightbox-content {
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.6);
  transition: opacity 0.12s ease;
}

.lightbox-close {
  position: fixed;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 3001;
  line-height: 1;
}

.lightbox-close:hover {
  background: rgba(255,255,255,0.2);
}

.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 3001;
  line-height: 1;
}

.lightbox-nav:hover {
  background: rgba(255,255,255,0.2);
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-counter {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.6);
  font-size: var(--fs-sm);
  font-family: var(--ff-body);
  letter-spacing: 0.1em;
}

/* ─── Modale contact vin ─── */
.vin-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
  backdrop-filter: blur(4px);
}

.vin-modal-overlay.active {
  display: flex;
}

.vin-modal {
  background: var(--clr-white);
  border-radius: 16px;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
  animation: vinModalIn 0.25s ease;
}

@keyframes vinModalIn {
  from { opacity: 0; transform: translateY(-16px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.vin-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.75rem 1rem;
  border-bottom: 1px solid var(--clr-cream-dark);
}

.vin-modal-title {
  font-family: var(--ff-heading);
  font-size: var(--fs-xl);
  font-weight: 600;
  color: var(--clr-charcoal);
}

.vin-modal-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--clr-cream-dark);
  border-radius: 8px;
  font-size: 1.3rem;
  color: var(--clr-text-light);
  cursor: pointer;
  transition: all 0.2s;
  line-height: 1;
}

.vin-modal-close:hover {
  border-color: var(--clr-wine);
  color: var(--clr-wine);
}

.vin-modal-body {
  padding: 1.5rem 1.75rem 1.75rem;
}

.vin-modal-subtitle {
  font-size: var(--fs-sm);
  color: var(--clr-text-light);
  margin-bottom: 1.5rem;
}

.vin-modal-subtitle strong {
  color: var(--clr-charcoal);
}

.vin-form-row {
  margin-bottom: 1rem;
}

.vin-form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.vin-form-group {
  position: relative;
}

.vin-form-group input,
.vin-form-group textarea {
  width: 100%;
  padding: 0.9rem 1rem 0.3rem;
  background: var(--clr-cream);
  border: 1px solid var(--clr-cream-dark);
  border-radius: 8px;
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  color: var(--clr-text);
  outline: none;
  transition: border-color 0.2s;
}

.vin-form-group textarea {
  resize: vertical;
  min-height: 110px;
  padding-top: 1.2rem;
  line-height: 1.5;
}

.vin-form-group label {
  position: absolute;
  left: 1rem;
  top: 0.65rem;
  font-size: var(--fs-sm);
  color: var(--clr-text-light);
  pointer-events: none;
  transition: all 0.15s;
}

.vin-form-group input:focus,
.vin-form-group textarea:focus {
  border-color: var(--clr-gold);
}

.vin-form-group input:focus ~ label,
.vin-form-group input:not(:placeholder-shown) ~ label,
.vin-form-group textarea:focus ~ label,
.vin-form-group textarea:not(:placeholder-shown) ~ label {
  top: 0.2rem;
  font-size: 0.65rem;
  color: var(--clr-gold-dark);
  letter-spacing: 0.04em;
}

.vin-modal-success {
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 0;
  gap: 8px;
  color: var(--clr-text-light);
}

@media (max-width: 560px) {
  .vin-form-row-2 {
    grid-template-columns: 1fr;
  }
}

/* Related Section */
.related-section {
  background: var(--clr-white);
  padding: 80px 0;
}

/* Nav active link */
.nav-menu a.active {
  color: var(--clr-gold);
}

/* ========================================
   RESPONSIVE — Catalog & Detail
   ======================================== */

@media (max-width: 1024px) {
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .catalog-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .wine-detail-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .wine-detail-images {
    position: static;
  }
  .wine-detail-main-img {
    max-height: 500px;
  }
  .page-hero-title {
    font-size: var(--fs-3xl);
  }
  .filters-selects {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .catalog-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .catalog-card-img {
    height: 320px;
  }
  .filters-bar {
    flex-direction: column;
  }
  .filters-search {
    min-width: 100%;
  }
  .filters-selects {
    width: 100%;
    grid-template-columns: 1fr;
  }
  .wine-detail-title {
    font-size: var(--fs-2xl);
  }
  .wine-detail-price {
    font-size: var(--fs-2xl);
  }
  .page-hero {
    padding: 120px 0 60px;
  }
  .page-hero-title {
    font-size: var(--fs-2xl);
  }
  .breadcrumb-bar {
    padding-top: 80px;
  }
}
