/*
 * ============================================================================
 * H LOGISTIC - FEUILLE DE STYLE PRINCIPALE
 * ============================================================================
 * Site: h-logistic.eu
 * Thème: Terroir Français - Gastronomie & Hospitalité
 * Palette: Terracotta (#E2725B), Sage Green (#87A96B), Warm Beige (#F5F5DC)
 * Typographie: Playfair Display (titres), Lora (corps)
 * ============================================================================
 */

/* ========================================
   VARIABLES CSS - THÈME TERROIR FRANÇAIS
   ======================================== */

:root {
  /* Couleurs principales - Thème Terroir */
  --color-terracotta: #E2725B;
  --color-terracotta-dark: #c45a44;
  --color-terracotta-light: #f08d7a;

  --color-sage: #87A96B;
  --color-sage-dark: #6b8a52;
  --color-sage-light: #a8c48f;

  --color-beige: #F5F5DC;
  --color-beige-dark: #e8e8c8;
  --color-beige-light: #fafaf5;

  --color-cream: #FFF8E7;
  --color-warm-white: #FFFEF9;
  --color-coffee: #4A3B32;
  --color-rust: #B85C38;
  --color-olive: #6B7B3C;

  /* Couleurs secondaires */
  --color-stone: #8B7355;
  --color-sand: #D4C4A8;
  --color-brown: #3D2914;
  --color-gold: #C9A962;

  /* Mode Clair */
  --color-primary: #2b2d42;
  --color-secondary: #8d99ae;
  --color-accent: #edf2f4;
  --color-neutral: #ef233c;
  --color-bg: #ffffff;
  --color-text: #1a1a1a;

  /* Couleurs dérivées */
  --color-success: var(--color-sage);
  --color-warning: var(--color-terracotta);
  --color-error: #d62828;
  --color-info: #457b9d;

  /* Typographie */
  --font-primary: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-secondary: 'Lora', Georgia, serif;
  --font-montserrat: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-lato: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-system: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;

  /* Tailles de police */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;

  /* Espacement */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;
  --spacing-4xl: 6rem;
  --spacing-5xl: 8rem;

  /* Arrondis */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* Ombres */
  --shadow-sm: 0 1px 2px rgba(74, 59, 50, 0.05);
  --shadow-md: 0 4px 6px rgba(74, 59, 50, 0.07);
  --shadow-lg: 0 10px 15px rgba(74, 59, 50, 0.1);
  --shadow-xl: 0 20px 25px rgba(74, 59, 50, 0.15);
  --shadow-soft: 0 8px 30px rgba(226, 114, 91, 0.15);
  --shadow-terroir: 0 4px 20px rgba(107, 123, 60, 0.12);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;
  --transition-smooth: 500ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Z-index */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;

  /* Largeurs de conteneur */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;
  --container-2xl: 1536px;

  /* Hauteur de header */
  --header-height: 80px;
  --header-height-scrolled: 60px;
}

/* ========================================
   MODE SOMBRE
   ======================================== */

[data-theme="dark"] {
  --color-primary: #edf2f4;
  --color-secondary: #8d99ae;
  --color-accent: #2b2d42;
  --color-neutral: #ef233c;
  --color-bg: #1a1a1a;
  --color-text: #f5f5dc;

  --color-beige: #2a2520;
  --color-beige-dark: #3d3630;
  --color-beige-light: #1f1b17;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.6);
}

/* ========================================
   RESET ET BASE
   ======================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-secondary);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   TYPOGRAPHIE
   ======================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-coffee);
  margin-bottom: var(--spacing-lg);
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-2xl); }
h5 { font-size: var(--text-xl); }
h6 { font-size: var(--text-lg); }

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-base);
}

h1 a:hover, h2 a:hover, h3 a:hover,
h4 a:hover, h5 a:hover, h6 a:hover {
  color: var(--color-terracotta);
}

p {
  margin-bottom: var(--spacing-lg);
}

a {
  color: var(--color-terracotta);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover {
  color: var(--color-terracotta-dark);
}

strong, b {
  font-weight: 700;
}

em, i {
  font-style: italic;
}

/* ========================================
   CONTENEURS ET MISE EN PAGE
   ======================================== */

.container {
  width: 100%;
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.container-fluid {
  width: 100%;
  padding: 0 var(--spacing-lg);
}

.section {
  padding: var(--spacing-4xl) 0;
  position: relative;
}

.section-sm { padding: var(--spacing-2xl) 0; }
.section-md { padding: var(--spacing-3xl) 0; }
.section-lg { padding: var(--spacing-5xl) 0; }

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 calc(-1 * var(--spacing-lg));
}

.col {
  flex: 1 0 0%;
  padding: 0 var(--spacing-lg);
}

/* Grille responsive */
.grid {
  display: grid;
  gap: var(--spacing-xl);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ========================================
   HEADER ET NAVIGATION
   ======================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-fixed);
  background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-beige-light) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(226, 114, 91, 0.1);
  box-shadow: var(--shadow-soft);
  transition: all var(--transition-smooth);
  height: var(--header-height);
}

.header.scrolled {
  height: var(--header-height-scrolled);
  background: rgba(255, 254, 249, 0.95);
  box-shadow: var(--shadow-md);
}

.header-container {
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 0 var(--spacing-xl);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  text-decoration: none;
  transition: transform var(--transition-base);
}

.logo:hover {
  transform: scale(1.02);
}

.logo svg {
  width: auto;
  height: 50px;
  transition: transform var(--transition-base);
}

.logo-text {
  font-family: var(--font-primary);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-coffee);
  letter-spacing: -0.02em;
}

.logo-tagline {
  font-family: var(--font-secondary);
  font-size: var(--text-xs);
  color: var(--color-terracotta);
  font-style: italic;
}

/* Navigation principale */
.nav {
  display: flex;
  align-items: center;
  gap: var(--spacing-xl);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-coffee);
  text-decoration: none;
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--color-terracotta);
  transition: all var(--transition-base);
  transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 60%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-terracotta);
}

/* Bouton du menu mobile */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--spacing-sm);
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--color-coffee);
  transition: all var(--transition-base);
  border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================================
   BOUTONS
   ======================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  font-family: var(--font-montserrat);
  font-size: var(--text-base);
  font-weight: 600;
  padding: var(--spacing-md) var(--spacing-xl);
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn:focus {
  outline: 2px solid var(--color-terracotta);
  outline-offset: 2px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-terracotta) 0%, var(--color-rust) 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(226, 114, 91, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(226, 114, 91, 0.4);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--color-sage) 0%, var(--color-olive) 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(135, 169, 107, 0.3);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(135, 169, 107, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--color-coffee);
  border: 2px solid var(--color-terracotta);
}

.btn-outline:hover {
  background: var(--color-terracotta);
  color: white;
}

.btn-terroir {
  background: linear-gradient(135deg, var(--color-terracotta) 0%, var(--color-sage) 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(226, 114, 91, 0.25);
  animation: pulse-terroir 2s infinite;
}

@keyframes pulse-terroir {
  0%, 100% { box-shadow: 0 4px 15px rgba(226, 114, 91, 0.25); }
  50% { box-shadow: 0 4px 25px rgba(226, 114, 91, 0.4); }
}

.btn-terroir:hover {
  transform: translateY(-2px);
  animation: none;
}

.btn-sm {
  padding: var(--spacing-sm) var(--spacing-lg);
  font-size: var(--text-sm);
}

.btn-lg {
  padding: var(--spacing-lg) var(--spacing-2xl);
  font-size: var(--text-lg);
}

/* ========================================
   CARDS
   ======================================== */

.card {
  background: var(--color-warm-white);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-terroir);
  transition: all var(--transition-smooth);
  border: 1px solid rgba(226, 114, 91, 0.1);
  position: relative;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-terracotta), var(--color-sage));
  opacity: 0;
  transition: opacity var(--transition-base);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.card:hover::before {
  opacity: 1;
}

.card-image {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.card:hover .card-image {
  transform: scale(1.05);
}

.card-body {
  padding: var(--spacing-xl);
}

.card-title {
  font-family: var(--font-primary);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-coffee);
  margin-bottom: var(--spacing-md);
}

.card-text {
  font-family: var(--font-secondary);
  font-size: var(--text-base);
  color: var(--color-stone);
  line-height: 1.8;
  margin-bottom: var(--spacing-lg);
}

.card-footer {
  padding: var(--spacing-lg) var(--spacing-xl);
  background: linear-gradient(135deg, var(--color-beige) 0%, var(--color-cream) 100%);
  border-top: 1px solid rgba(226, 114, 91, 0.1);
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 0;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(3px);
  transform: scale(1.05);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg,
    rgba(74, 59, 50, 0.5) 0%,
    rgba(74, 59, 50, 0.3) 50%,
    rgba(74, 59, 50, 0.5) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: white;
  padding: var(--spacing-3xl);
  max-width: 900px;
}

.hero-title {
  font-family: var(--font-primary);
  font-size: var(--text-6xl);
  font-weight: 700;
  color: white;
  margin-bottom: var(--spacing-lg);
  text-shadow: 2px 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-family: var(--font-secondary);
  font-size: var(--text-xl);
  color: var(--color-beige);
  margin-bottom: var(--spacing-2xl);
  text-shadow: 1px 2px 10px rgba(0, 0, 0, 0.3);
  line-height: 1.8;
}

/* ========================================
   SECTION AVEC IMAGE DE FOND
   ======================================== */

.section-with-bg {
  position: relative;
  padding: var(--spacing-4xl) 0;
  overflow: hidden;
}

.section-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(3px);
  z-index: 0;
}

.section-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(245, 245, 220, 0.85);
  z-index: 1;
}

.section-content {
  position: relative;
  z-index: 2;
}

/* ========================================
   FORMULAIRES
   ======================================== */

.form-group {
  margin-bottom: var(--spacing-xl);
}

.form-label {
  display: block;
  font-family: var(--font-montserrat);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-coffee);
  margin-bottom: var(--spacing-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-control {
  width: 100%;
  padding: var(--spacing-md) var(--spacing-lg);
  font-family: var(--font-lato);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-warm-white);
  border: 2px solid var(--color-beige);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-terracotta);
  box-shadow: 0 0 0 3px rgba(226, 114, 91, 0.1);
}

.form-control::placeholder {
  color: var(--color-sand);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.form-text {
  font-size: var(--text-sm);
  color: var(--color-stone);
  margin-top: var(--spacing-sm);
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
  background: linear-gradient(135deg, var(--color-coffee) 0%, var(--color-brown) 100%);
  color: var(--color-beige);
  padding: var(--spacing-4xl) 0 var(--spacing-xl);
}

.footer-container {
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 0 var(--spacing-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--spacing-3xl);
  margin-bottom: var(--spacing-3xl);
}

.footer-brand {
  color: var(--color-beige);
}

.footer-brand .logo-text {
  color: var(--color-beige);
  font-size: var(--text-2xl);
  margin-bottom: var(--spacing-md);
}

.footer-description {
  font-family: var(--font-secondary);
  font-size: var(--text-base);
  line-height: 1.8;
  color: var(--color-beige-light);
}

.footer-title {
  font-family: var(--font-primary);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-terracotta);
  margin-bottom: var(--spacing-lg);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: var(--spacing-md);
}

.footer-links a {
  color: var(--color-beige-light);
  font-family: var(--font-lato);
  font-size: var(--text-base);
  transition: color var(--transition-base);
}

.footer-links a:hover {
  color: var(--color-terracotta);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.footer-contact-icon {
  width: 24px;
  height: 24px;
  color: var(--color-terracotta);
  flex-shrink: 0;
}

.footer-contact-text {
  font-family: var(--font-lato);
  font-size: var(--text-base);
  color: var(--color-beige-light);
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid rgba(245, 245, 220, 0.2);
  padding-top: var(--spacing-xl);
  text-align: center;
}

.footer-bottom p {
  font-family: var(--font-lato);
  font-size: var(--text-sm);
  color: var(--color-sand);
  margin: 0;
}

/* ========================================
   DIVISEURS ORGANIQUES
   ======================================== */

.divider {
  width: 100%;
  height: 60px;
  margin: var(--spacing-3xl) 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 60' preserveAspectRatio='none'%3E%3Cpath d='M0,30 Q300,0 600,30 T1200,30' stroke='%23E2725B' stroke-width='2' fill='none' opacity='0.3'/%3E%3Cpath d='M0,40 Q300,10 600,40 T1200,40' stroke='%2387A96B' stroke-width='1.5' fill='none' opacity='0.3'/%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
}

.divider-leaf {
  text-align: center;
  margin: var(--spacing-3xl) 0;
  color: var(--color-terracotta);
  opacity: 0.5;
}

/* ========================================
   THEME SWITCHER
   ======================================== */

.theme-switcher {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: var(--spacing-sm);
}

.theme-toggle {
  width: 60px;
  height: 30px;
  background: linear-gradient(135deg, var(--color-beige) 0%, var(--color-sage) 100%);
  border-radius: var(--radius-full);
  position: relative;
  cursor: pointer;
  transition: all var(--transition-base);
  border: 2px solid var(--color-terracotta);
}

.theme-toggle::after {
  content: '';
  position: absolute;
  width: 22px;
  height: 22px;
  background: var(--color-terracotta);
  border-radius: 50%;
  top: 2px;
  left: 2px;
  transition: all var(--transition-base);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .theme-toggle::after {
  left: calc(100% - 24px);
  background: var(--color-sage);
}

.theme-toggle:hover {
  transform: scale(1.05);
}

.theme-icon {
  width: 20px;
  height: 20px;
  color: var(--color-coffee);
}

/* ========================================
   ICÔNES
   ======================================== */

.icon {
  width: 24px;
  height: 24px;
  display: inline-block;
  vertical-align: middle;
}

.icon-sm { width: 16px; height: 16px; }
.icon-lg { width: 32px; height: 32px; }
.icon-xl { width: 48px; height: 48px; }

.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--color-terracotta) 0%, var(--color-sage) 100%);
  border-radius: var(--radius-xl);
  color: white;
  margin-bottom: var(--spacing-lg);
  box-shadow: var(--shadow-soft);
}

/* ========================================
   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;
}

:focus-visible {
  outline: 2px solid var(--color-terracotta);
  outline-offset: 2px;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--color-terracotta);
  color: white;
  padding: var(--spacing-md) var(--spacing-lg);
  text-decoration: none;
  z-index: 9999;
  transition: top var(--transition-base);
}

.skip-link:focus {
  top: 0;
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.6s ease-out;
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

.animate-fade-in-down {
  animation: fadeInDown 0.6s ease-out;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
  .hero-title {
    font-size: var(--text-4xl);
  }

  .hero-subtitle {
    font-size: var(--text-lg);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
  }
}

@media (max-width: 768px) {
  .header {
    height: auto;
    padding: var(--spacing-md) 0;
  }

  .header-container {
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: flex;
  }

  .nav {
    display: none;
    width: 100%;
    padding-top: var(--spacing-md);
  }

  .nav.active {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-sm);
  }

  .nav-link {
    width: 100%;
    padding: var(--spacing-md);
  }

  .hero-title {
    font-size: var(--text-3xl);
  }

  .hero-subtitle {
    font-size: var(--text-base);
  }

  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-contact-item {
    justify-content: center;
  }

  .section {
    padding: var(--spacing-2xl) 0;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: var(--text-2xl);
  }

  .btn {
    width: 100%;
  }

  .container {
    padding: 0 var(--spacing-md);
  }
}

/* ========================================
   UTILITAIRES
   ======================================== */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-terracotta { color: var(--color-terracotta); }
.text-sage { color: var(--color-sage); }
.text-coffee { color: var(--color-coffee); }

.bg-terracotta { background-color: var(--color-terracotta); }
.bg-sage { background-color: var(--color-sage); }
.bg-beige { background-color: var(--color-beige); }
.bg-cream { background-color: var(--color-cream); }

.mt-1 { margin-top: var(--spacing-lg); }
.mt-2 { margin-top: var(--spacing-2xl); }
.mt-3 { margin-top: var(--spacing-3xl); }

.mb-1 { margin-bottom: var(--spacing-lg); }
.mb-2 { margin-bottom: var(--spacing-2xl); }
.mb-3 { margin-bottom: var(--spacing-3xl); }

.p-1 { padding: var(--spacing-lg); }
.p-2 { padding: var(--spacing-2xl); }
.p-3 { padding: var(--spacing-3xl); }
