/* ===== CSS VARIABLES ===== */
:root {
  /* Colors - harmonisées avec le logo rouge */
  --primary-color: #d20a11; /* Rouge vif pour les éléments forts */
  --primary-light: #e74c3c; /* Rouge plus clair pour les survols */
  --primary-dark: #a3060c; /* Rouge plus foncé pour les éléments actifs */

  --accent-color: #85878d; /* Gris neutre stylé pour l'accent */
  --accent-light: #a6a8ad; /* Gris plus clair */
  --accent-dark: #5e6066; /* Gris foncé pour contrastes */

  --text-primary: #151515; /* Texte principal toujours bien lisible */
  --text-secondary: #2d2d2d; /* Amélioré pour contraste */
  --text-muted: #666666; /* Amélioré pour contraste */

  --bg-primary: #ffffff;
  --bg-secondary: #f4f4f4; /* Gris très clair */
  --bg-dark: #1a1a1a;

  --border-color: #d9d9d9; /* Gris du contour du logo */
  --shadow: rgba(0, 0, 0, 0.06); /* Plus subtil pour un style élégant */
  --shadow-dark: rgba(0, 0, 0, 0.15);

  /* Typography */
  --font-primary: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  --font-heading: "Playfair Display", Georgia, serif;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-xxl: 4rem;

  /* Layout */
  --container-max-width: 1200px;
  --border-radius: 8px;
  --border-radius-lg: 12px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Tailles tactiles mobiles */
  --touch-target-min: 44px;
}

/* Force override of any blue colors that might appear */
* {
  --blue-override: var(--primary-color) !important;
}

/* ===== RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  min-height: var(--touch-target-min);
  min-width: var(--touch-target-min);
}

/* ===== ACCESSIBILITÉ ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--primary-color);
  color: white;
  padding: 8px;
  text-decoration: none;
  z-index: 10000;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 6px;
}

/* Focus visible amélioré */
*:focus {
  outline: 3px solid var(--primary-color);
  outline-offset: 2px;
}

button:focus,
a:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 3px solid var(--primary-color);
  outline-offset: 2px;
}

/* Honeypot anti-spam */
.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Messages d'erreur */
.error-message {
  color: var(--primary-color);
  font-size: 0.875rem;
  margin-top: 0.25rem;
  min-height: 1.2rem;
}

/* ===== UTILITIES ===== */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.btn-primary {
  display: inline-block;
  background: var(--primary-color);
  color: white;
  padding: var(--spacing-sm) var(--spacing-lg);
  border-radius: var(--border-radius);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  border: none;
  min-height: var(--touch-target-min);
  cursor: pointer;
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: var(--transition-smooth);
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--primary-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--shadow-dark);
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--primary-color);
  padding: var(--spacing-sm) var(--spacing-lg);
  border: 2px solid var(--primary-color);
  border-radius: var(--border-radius);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition-smooth);
  min-height: var(--touch-target-min);
  cursor: pointer;
}

.btn-secondary:hover,
.btn-secondary:focus {
  background: var(--primary-color) !important;
  color: white !important;
  transform: translateY(-2px);
}

.btn-large {
  padding: var(--spacing-md) var(--spacing-xl);
  font-size: 1.1rem;
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-xxl);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--primary-color) !important;
  margin-bottom: var(--spacing-sm);
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--accent-color);
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 20px var(--shadow);
}

.nav-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  height: 50px;
  width: auto;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--spacing-lg);
}

.nav-link {
  color: var(--text-primary);
  font-weight: 500;
  padding: var(--spacing-xs) var(--spacing-sm);
  position: relative;
  transition: var(--transition-fast);
  border-radius: var(--border-radius);
  min-height: var(--touch-target-min);
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after,
.nav-link:focus::after {
  width: 100%;
}

.nav-link:hover,
.nav-link.active,
.nav-link:focus {
  color: var(--primary-color) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
  padding: var(--spacing-xs);
  border-radius: var(--border-radius);
  min-height: var(--touch-target-min);
  min-width: var(--touch-target-min);
  align-items: center;
  justify-content: center;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--primary-color);
  transition: var(--transition-fast);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* ===== HERO SECTION ===== */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 var(--spacing-md);
}

.brand-name {
  display: block;
  font-family: var(--font-primary);
  font-size: clamp(2.5rem, 7vw, 4rem);
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: var(--spacing-sm);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-subtitle {
  display: block;
  font-family: var(--font-primary);
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-weight: 300;
  margin-bottom: var(--spacing-lg);
  opacity: 0.95;
  font-style: italic;
  letter-spacing: 0.5px;
}

.hero-description {
  font-family: var(--font-primary);
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: var(--spacing-xl);
  opacity: 0.9;
  line-height: 1.7;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
}

.hero-cta {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
}

.hero-cta .btn-primary {
  background: var(--primary-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.hero-cta .btn-primary:hover,
.hero-cta .btn-primary:focus {
  background: var(--primary-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.hero-cta .btn-secondary {
  background: transparent;
  color: white;
  border-color: white;
  backdrop-filter: blur(10px);
}

.hero-cta .btn-secondary:hover,
.hero-cta .btn-secondary:focus {
  background: var(--primary-color);
  color: white !important;
}

.scroll-indicator {
  position: absolute;
  bottom: var(--spacing-lg);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: white;
  opacity: 0.8;
  animation: bounce 2s infinite;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: var(--spacing-sm);
  border-radius: var(--border-radius);
  min-height: var(--touch-target-min);
}

.scroll-indicator:hover,
.scroll-indicator:focus {
  opacity: 1;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

.scroll-arrow {
  width: 2px;
  height: 30px;
  background: white;
  margin-top: var(--spacing-xs);
  position: relative;
}

.scroll-arrow::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: -4px;
  width: 10px;
  height: 10px;
  border-right: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(45deg);
}

/* ===== SECTIONS ===== */
.agency-section,
.services-section,
.references-section,
.testimonials-section,
.cave-section {
  padding: var(--spacing-xxl) 0;
}

/* ===== AGENCE SECTION ===== */
.agency-section {
  background: var(--bg-secondary);
  position: relative;
}

.agency-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xxl);
  align-items: center;
  margin-bottom: var(--spacing-xxl);
}

.agency-visual {
  position: relative;
}

.agency-image {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 8px 30px var(--shadow-dark);
  transition: var(--transition-smooth);
}

.agency-image:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px var(--shadow-dark);
}

.agency-info {
  position: relative;
}

.agency-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
}

.feature-card {
  background: white;
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-lg);
  box-shadow: 0 4px 20px var(--shadow);
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px var(--shadow-dark);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon img {
  width: 30px;
  height: 30px;
  filter: brightness(0) invert(1);
}

.feature-content {
  flex: 1;
}

.feature-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-color) !important;
  margin-bottom: var(--spacing-xs);
}

.feature-description {
  color: var(--text-secondary);
  line-height: 1.6;
}

.agency-description-section {
  text-align: center;
  background: white;
  padding: var(--spacing-xl);
  border-radius: var(--border-radius-lg);
  box-shadow: 0 4px 20px var(--shadow);
}

.agency-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
}

/* ===== SERVICES ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}

.service-card {
  background: white;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow);
  transition: var(--transition-smooth);
  position: relative;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px var(--shadow-dark);
}

.service-image {
  width: 100%;
  height: 200px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  position: relative;
}

.service-image img {
  width: 60px;
  height: 60px;
  filter: brightness(0) invert(1);
}

.service-content {
  padding: var(--spacing-lg);
}

.service-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary-color) !important;
  margin-bottom: var(--spacing-sm);
}

.service-description {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.service-features {
  list-style: none;
}

.service-features li {
  padding: var(--spacing-xs) 0;
  color: var(--text-secondary);
  position: relative;
  padding-left: var(--spacing-md);
}

.service-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--accent-color);
  border-radius: 50%;
}

.services-cta {
  text-align: center;
  padding: var(--spacing-xl);
  background: var(--bg-secondary);
  border-radius: var(--border-radius-lg);
}

.services-cta p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

/* ===== REFERENCES - MODIFIÉ POUR CENTRAGE ===== */
.references-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--spacing-lg);
  max-width: 1000px;
  margin: 0 auto;
}

.reference-card {
  background: white;
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-lg);
  text-align: center;
  box-shadow: 0 4px 20px var(--shadow);
  transition: var(--transition-smooth);
  border: 1px solid var(--border-color);
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex: 0 0 auto;
  width: 200px;
}

.reference-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px var(--shadow-dark);
}

.reference-logo {
  width: 120px;
  height: 80px;
  object-fit: contain;
  margin: 0 auto var(--spacing-md);
  filter: grayscale(100%);
  transition: var(--transition-smooth);
}

.reference-card:hover .reference-logo {
  filter: grayscale(0%);
}

.reference-name {
  font-weight: 600;
  color: var(--primary-color) !important;
}

/* ===== TESTIMONIALS ===== */
.testimonials-section {
  background: var(--bg-secondary);
}

.testimonials-slider {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--spacing-lg);
}

.testimonial-card {
  background: white;
  padding: var(--spacing-xl);
  border-radius: var(--border-radius-lg);
  box-shadow: 0 4px 20px var(--shadow);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: var(--spacing-lg);
  font-size: 4rem;
  color: var(--accent-color);
  font-family: serif;
}

.testimonial-text {
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-lg);
  line-height: 1.8;
}

.testimonial-author {
  border-top: 1px solid var(--border-color);
  padding-top: var(--spacing-md);
}

.testimonial-author h4 {
  color: var(--primary-color) !important;
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
}

.testimonial-author p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ===== CAVE SECTION ===== */
.cave-content {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.cave-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto var(--spacing-lg);
}

.wine-preview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-lg);
}

.wine-card {
  background: white;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow);
  transition: var(--transition-smooth);
  position: relative;
}

.wine-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px var(--shadow-dark);
}

.wine-image {
  width: 100%;
  height: 250px;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.wine-image img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
  transition: var(--transition-smooth);
}

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

.wine-info {
  padding: var(--spacing-lg);
  text-align: center;
}

.wine-name {
  font-weight: 600;
  color: var(--primary-color) !important;
  margin-bottom: var(--spacing-xs);
  font-size: 1.1rem;
}

.wine-type {
  color: var(--accent-color);
  font-size: 0.9rem;
  margin-bottom: var(--spacing-sm);
  font-weight: 500;
}

.wine-description {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-dark)
  );
  color: white;
  padding: var(--spacing-xxl) 0;
  text-align: center;
}

.cta-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--spacing-md);
}

.cta-description {
  font-size: 1.2rem;
  margin-bottom: var(--spacing-xl);
  opacity: 0.9;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  background: var(--bg-secondary);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xxl);
}

.contact-info-container {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.contact-info {
  background: white;
  padding: var(--spacing-xl);
  border-radius: var(--border-radius-lg);
  box-shadow: 0 4px 20px var(--shadow);
}

.contact-map {
  background: white;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow);
}

.contact-map iframe {
  border-radius: var(--border-radius-lg);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.contact-icon img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
}

.contact-details h4 {
  color: var(--primary-color) !important;
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
}

.contact-details p {
  color: var(--text-secondary);
}

.contact-form {
  background: white;
  padding: var(--spacing-xl);
  border-radius: var(--border-radius-lg);
  box-shadow: 0 4px 20px var(--shadow);
}

.form-group {
  margin-bottom: var(--spacing-md);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: var(--spacing-md);
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition-fast);
  min-height: var(--touch-target-min);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(133, 135, 141, 0.1);
}

.form-group input:invalid,
.form-group textarea:invalid {
  border-color: var(--primary-color);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-dark);
  color: white;
  padding: var(--spacing-xxl) 0 var(--spacing-lg);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--spacing-xxl);
  margin-bottom: var(--spacing-xl);
}

.footer-brand {
  text-align: center;
}

.footer-logo {
  margin: 0 auto var(--spacing-md);
}

.footer-tagline {
  font-style: italic;
  opacity: 0.8;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
}

.footer-column h3,
.footer-column h4 {
  color: var(--accent-color) !important;
  margin-bottom: var(--spacing-md);
  font-weight: 600;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: var(--spacing-xs);
}

.footer-column ul li a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition-fast);
  padding: var(--spacing-xs) 0;
  display: block;
  min-height: var(--touch-target-min);
  display: flex;
  align-items: center;
}

.footer-column ul li a:hover,
.footer-column ul li a:focus {
  color: var(--accent-color) !important;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--spacing-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-legal {
  font-size: 0.9rem;
  opacity: 0.7;
}

.social-link {
  width: var(--touch-target-min);
  height: var(--touch-target-min);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.social-link:hover,
.social-link:focus {
  background: var(--accent-color) !important;
}

.social-link svg {
  width: 20px;
  height: 20px;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
  .agency-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-links {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-info-container {
    order: 2;
  }

  .contact-form {
    order: 1;
  }

  /* MASQUER L'IMAGE AGENCE SUR TABLETTE */
  .agency-content {
    grid-template-columns: 1fr;
  }

  .agency-visual {
    display: none;
  }

  /* Ajuster les références sur tablette */
  .references-grid {
    max-width: 800px;
  }

  .reference-card {
    width: 180px;
  }
}

@media (max-width: 768px) {
  /* Amélioration mobile */
  .container {
    padding: 0 var(--spacing-sm);
  }

  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: white;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    padding-top: var(--spacing-xl);
    transition: var(--transition-smooth);
    box-shadow: 0 2px 20px var(--shadow);
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    width: 100%;
    text-align: center;
  }

  .nav-link {
    padding: var(--spacing-md);
    width: 100%;
    justify-content: center;
    font-size: 1.1rem;
  }

  .hamburger {
    display: flex;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
  }

  .hero-cta .btn-primary,
  .hero-cta .btn-secondary {
    width: 100%;
    max-width: 280px;
    text-align: center;
    padding: var(--spacing-md) var(--spacing-lg);
  }

  .agency-features,
  .services-grid,
  .testimonials-slider,
  .wine-preview {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--spacing-md);
    text-align: center;
  }

  .feature-card {
    flex-direction: column;
    text-align: center;
  }

  .feature-content {
    text-align: center;
  }

  /* MASQUER L'IMAGE AGENCE SUR MOBILE */
  .agency-visual {
    display: none;
  }

  /* Références sur mobile */
  .references-grid {
    max-width: 600px;
  }

  .reference-card {
    width: 160px;
    min-height: 160px;
    padding: var(--spacing-md);
  }

  .reference-logo {
    width: 100px;
    height: 60px;
  }

  /* Amélioration espacement mobile */
  .agency-section,
  .services-section,
  .references-section,
  .testimonials-section,
  .cave-section {
    padding: var(--spacing-xl) 0;
  }

  .section-title {
    font-size: clamp(2rem, 6vw, 2.5rem);
  }
}

@media (max-width: 480px) {
  .nav-container {
    padding: 0 var(--spacing-sm);
  }

  .hero-content {
    padding: 0 var(--spacing-sm);
  }

  .contact-info,
  .contact-form {
    padding: var(--spacing-lg);
  }

  .agency-description-section {
    padding: var(--spacing-lg);
  }

  .form-group input,
  .form-group textarea {
    padding: var(--spacing-sm);
  }

  .btn-primary,
  .btn-secondary {
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: 0.9rem;
  }

  .testimonial-card,
  .service-card {
    padding: var(--spacing-md);
  }

  /* Références très petits écrans */
  .references-grid {
    max-width: 400px;
  }

  .reference-card {
    width: 140px;
    min-height: 140px;
    padding: var(--spacing-sm);
  }

  .reference-logo {
    width: 80px;
    height: 50px;
  }
}

/* ===== RESPONSIVE SPÉCIFIQUE POUR ÉCRANS HAUTS (portrait) ===== */
@media (orientation: portrait) and (max-width: 1024px) {
  .agency-visual {
    display: none;
  }

  .agency-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInFromRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ===== SCROLL ANIMATIONS ===== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: var(--transition-slow);
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* ===== LOADING STATES ===== */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* ===== PERFORMANCE OPTIMIZATIONS ===== */
.will-change-transform {
  will-change: transform;
}

.will-change-opacity {
  will-change: opacity;
}

/* GPU acceleration for smooth animations */
.gpu-accelerated {
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* ===== PRINT STYLES ===== */
@media print {
  .navbar,
  .hero-cta,
  .scroll-indicator,
  .contact-form,
  .footer-social {
    display: none !important;
  }

  .hero {
    height: auto;
    color: black;
  }

  .hero-overlay {
    display: none;
  }

  body {
    color: black;
    background: white;
  }

  .section-title,
  .feature-title,
  .service-title {
    color: black !important;
  }
}

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

  .hero {
    animation: none;
  }

  .scroll-indicator {
    animation: none;
  }
}
/* ===== BANNIÈRE ANTI-COOKIES - VERSION COMPACTE ===== */
.no-cookie-banner {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-dark)
  );
  color: white;
  padding: var(--spacing-sm) var(--spacing-md);
  box-shadow: 0 4px 20px var(--shadow-dark);
  z-index: 9999;
  transform: translateX(400px);
  opacity: 0;
  transition: all var(--transition-smooth);
  border-radius: var(--border-radius-lg);
  max-width: 350px;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.no-cookie-banner.show {
  transform: translateX(0);
  opacity: 1;
}

.no-cookie-content {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.cookie-icon {
  font-size: 1.5rem;
  animation: cookieWave 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes cookieWave {
  0%,
  100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(-10deg);
  }
  75% {
    transform: rotate(10deg);
  }
}

.no-cookie-text {
  flex: 1;
}

.no-cookie-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: var(--spacing-xs);
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.no-cookie-title::before {
  content: "🎉";
  font-size: 1rem;
}

.no-cookie-description {
  font-size: 0.8rem;
  opacity: 0.9;
  line-height: 1.4;
}

.no-cookie-actions {
  display: flex;
  gap: var(--spacing-xs);
  align-items: center;
  flex-shrink: 0;
}

.no-cookie-btn {
  padding: var(--spacing-xs) var(--spacing-sm);
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition-smooth);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  backdrop-filter: blur(10px);
  font-size: 0.8rem;
}

.no-cookie-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-1px);
}

.close-banner {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: bold;
}

.close-banner:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: rotate(90deg);
}

/* Responsive - Version mobile encore plus compacte */
@media (max-width: 768px) {
  .no-cookie-banner {
    bottom: 15px;
    right: 15px;
    left: 15px;
    max-width: none;
    transform: translateY(100px);
    padding: var(--spacing-sm);
  }

  .no-cookie-banner.show {
    transform: translateY(0);
  }

  .no-cookie-content {
    gap: var(--spacing-xs);
  }

  .cookie-icon {
    font-size: 1.2rem;
  }

  .no-cookie-title {
    font-size: 0.9rem;
  }

  .no-cookie-description {
    font-size: 0.75rem;
    line-height: 1.3;
  }

  .no-cookie-btn {
    font-size: 0.75rem;
    padding: 4px 8px;
  }

  .close-banner {
    width: 24px;
    height: 24px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .no-cookie-banner {
    bottom: 10px;
    right: 10px;
    left: 10px;
  }

  .no-cookie-title {
    font-size: 0.85rem;
  }

  .no-cookie-description {
    font-size: 0.7rem;
  }

  /* Masquer le bouton "Super !" sur très petits écrans */
  .no-cookie-btn {
    display: none;
  }
}

/* Animation d'entrée plus subtile */
@keyframes slideInRight {
  from {
    transform: translateX(400px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.no-cookie-banner.animate-in {
  animation: slideInRight 0.4s ease-out forwards;
}

/* Hover effect sur toute la bannière */
.no-cookie-banner:hover {
  box-shadow: 0 6px 25px var(--shadow-dark);
  transform: translateX(0) translateY(-2px);
}

/* Version encore plus minimaliste - optionnelle */
.no-cookie-banner.minimal {
  padding: 8px 12px;
  max-width: 280px;
}

.no-cookie-banner.minimal .no-cookie-description {
  display: none;
}

.no-cookie-banner.minimal .no-cookie-title {
  margin-bottom: 0;
  font-size: 0.85rem;
}
