/* ========================================
   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-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;
}

/* ========================================
   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;
}

/* ========================================
   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);
  }

  /* 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);
  }
}
