/* ============================================
   THÈMES RÉUTILISABLES
   Styles cohérents pour boutons et bannières
   ============================================ */

/* --------- Variables globales --------- */
:root {
  --container-max: 1400px;                /* largeur max desktop */
  --container-max-tablet: 1100px;         /* largeur max tablette */
  --x-space: clamp(16px, 4vw, 24px);      /* marge latérale fluide */
  --x-space-tight: clamp(12px, 3.5vw, 20px);
  --y-space: clamp(24px, 6vw, 48px);      /* marge verticale fluide */
}

/* ===== STYLES DE BOUTONS ===== */

.btn-theme {
  font-weight: 600;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  border: none;
  padding: 14px 32px;
  font-size: 1.1rem;
  border-radius: 8px;
  cursor: pointer;
  display: inline-block;
  text-align: center;
  min-width: 200px;
}

/* Reset pour les états focus */
.btn-theme:focus {
  outline: 2px solid rgba(0, 123, 255, 0.5);
  outline-offset: 2px;
}

.btn-theme:active {
  transform: translateY(-1px);
}

/* Style Main levée 1 - Élégant stylo plume */
.btn-theme-handwritten-1 {
  background: transparent;
  color: #2c1810;
  border: 2px solid #8b4513;
  font-family: 'Indie Flower', 'Segoe Script', 'Brush Script MT', cursive, sans-serif;
  font-weight: normal;
  font-size: 1.2rem;
  padding: 12px 28px;
  border-radius: 4px;
  position: relative;
  background: linear-gradient(to bottom, #fffaf0, #fdf5e6);
  box-shadow: 0 2px 8px rgba(139, 69, 19, 0.1);
}

.btn-theme-handwritten-1::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="paper" patternUnits="userSpaceOnUse" width="20" height="20"><rect width="20" height="20" fill="%23fffaf0"/><path d="M20 0 L0 20" stroke="%23f0e6d6" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23paper)"/></svg>');
  opacity: 0.6;
  z-index: -1;
  border-radius: 6px;
}

.btn-theme-handwritten-1::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.8) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.btn-theme-handwritten-1:hover::after { transform: translateX(100%); }

.btn-theme-handwritten-1:hover {
  color: #5d4037;
  border-color: #a0522d;
  background: linear-gradient(to bottom, #fff8e1, #ffecb3);
  transform: translateY(-2px) rotate(-1deg);
  box-shadow:
    0 4px 15px rgba(139, 69, 19, 0.2),
    inset 0 0 0 1px rgba(255, 255, 255, 0.5);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Style Main levée 2 - Crayon feutre moderne */
.btn-theme-handwritten-2 {
  background: #4a90e2;
  color: #ffffff;
  border: 3px solid #2c5aa0;
  font-family: 'Permanent Marker', 'Comic Sans MS', cursive, sans-serif;
  font-weight: normal;
  font-size: 1.3rem;
  padding: 14px 30px;
  border-radius: 6px;
  position: relative;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
  box-shadow:
    0 4px 0 #2c5aa0,
    0 6px 8px rgba(0, 0, 0, 0.1);
  transform: translateY(0);
  transition: all 0.2s ease;
}

.btn-theme-handwritten-2::before {
  content: '';
  position: absolute;
  top: 2px; left: 2px; right: 2px; bottom: 2px;
  background: linear-gradient(135deg, transparent 40%, rgba(255, 255, 255, 0.3) 50%, transparent 60%);
  border-radius: 4px;
  opacity: 0.7;
}

.btn-theme-handwritten-2:hover {
  background: #5a9ef2;
  transform: translateY(-3px);
  box-shadow:
    0 6px 0 #2c5aa0,
    0 10px 15px rgba(0, 0, 0, 0.15);
  animation: themeMarkerShake 0.5s ease;
}

.btn-theme-handwritten-2:active {
  transform: translateY(1px);
  box-shadow:
    0 2px 0 #2c5aa0,
    0 3px 5px rgba(0, 0, 0, 0.1);
}

@keyframes themeMarkerShake {
  0%, 100% { transform: translateY(-3px) rotate(0deg); }
  25% { transform: translateY(-3px) rotate(-1deg); }
  50% { transform: translateY(-3px) rotate(1deg); }
  75% { transform: translateY(-3px) rotate(-0.5deg); }
}

/* ===== STYLES DE BANNIÈRES HERO ===== */

.hero-theme {
  position: relative;
  overflow: hidden;
  transition: all 0.5s ease;
  margin: 0;
  padding: 0;
}

/* --------- Classique --------- */
.hero-theme-classic {
  background: var(--hero-bg, #F8F1ED);
  min-height: 500px;
  display: flex;
  align-items: flex-start;
  padding: 0;
}

.hero-theme-classic .hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  width: 100%;
  margin: 0 auto;
  padding-inline: 0;
  height: 100%;
  min-height: 500px;
}

.hero-theme-classic .hero-content {
  padding: 40px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--hero-bg, #F8F1ED); 
  height: 100%;
}

.hero-theme-classic .hero-title {
  color: #2C1810;
  font-size: 2.8rem;
  font-weight: 400;
  margin-bottom: 12px;
  line-height: 1.1;
  font-family: 'Georgia', serif;
}

.hero-theme-classic .hero-rating {
  color: #8B4513;
  font-size: 1rem;
  margin-bottom: 15px;
  font-style: italic;
}

.hero-theme-classic .hero-description {
  color: #5D4037;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 25px;
  max-width: 500px;
}

.hero-theme-classic .hero-image { height: 100%; position: relative; }

.hero-theme-classic .hero-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* --------- Moderne --------- */
.hero-theme-modern { background: #FFFFFF; padding: 40px 0; }

.hero-theme-modern .hero-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.hero-theme-modern .hero-content { padding-right: 20px; }

.hero-theme-modern .hero-title {
  color: #000000;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero-theme-modern .hero-rating {
  color: #666666;
  font-size: 1rem;
  margin-bottom: 15px;
  font-weight: 500;
}

.hero-theme-modern .hero-description {
  color: #333333;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 25px;
  font-weight: 300;
}

.hero-theme-modern .hero-image { position: relative; }

.hero-theme-modern .hero-banner-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow:
    0 15px 30px -8px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.05);
  filter: brightness(1.05) contrast(1.1);
}

/* --------- Main Levée --------- */
.hero-theme-handwritten {
  background:
    linear-gradient(135deg, #FDF5E6 0%, #F5EBD6 100%),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%23FDF5E6"/><path d="M0,20 L100,20 M0,40 L100,40 M0,60 L100,60 M0,80 L100,80" stroke="%23D7CCC8" stroke-width="1" opacity="0.3"/></svg>');
  padding: 40px 0;
  position: relative;
  border-top: 2px solid #8B4513;
  border-bottom: 2px solid #8B4513;
}

.hero-theme-handwritten::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50px;
  width: 2px;
  height: 100%;
  background: repeating-linear-gradient(
    to bottom,
    transparent,
    transparent 10px,
    #8B4513 10px,
    #8B4513 12px
  );
  opacity: 0.3;
}

.hero-theme-handwritten .hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 0 40px;
}

.hero-theme-handwritten .hero-content { position: relative; }

.hero-theme-handwritten .hero-title {
  color: #3E2723;
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.2;
  font-family: 'Indie Flower', cursive;
  position: relative;
  display: inline-block;
}

.hero-theme-handwritten .hero-title::after {
  content: '';
  position: absolute;
  bottom: -5px; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, #8B4513, transparent);
}

.hero-theme-handwritten .hero-rating {
  color: #795548;
  font-size: 1rem;
  margin-bottom: 12px;
  font-family: 'Indie Flower', cursive;
  position: relative;
  padding-left: 25px;
}

.hero-theme-handwritten .hero-rating::before {
  content: '★';
  position: absolute;
  left: 0;
  color: #FFD700;
}

.hero-theme-handwritten .hero-description {
  color: #5D4037;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
  font-family: 'Indie Flower', cursive;
  border-left: 3px solid #8B4513;
  padding-left: 15px;
}

.hero-theme-handwritten .hero-image { position: relative; }

.hero-theme-handwritten .hero-banner-img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow:
    0 6px 15px rgba(139, 69, 19, 0.2),
    inset 0 0 0 1px rgba(139, 69, 19, 0.1);
  border: 1px solid rgba(139, 69, 19, 0.2);
  transform: rotate(-1deg);
  position: relative;
}

.hero-theme-handwritten .hero-banner-img::before {
  content: '';
  position: absolute;
  top: -10px; left: -10px; right: -10px; bottom: -10px;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="note" patternUnits="userSpaceOnUse" width="20" height="20"><rect width="20" height="20" fill="%23FDF5E6"/><circle cx="5" cy="5" r="1" fill="%238B4513" opacity="0.3"/><circle cx="15" cy="15" r="1" fill="%238B4513" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23note)"/></svg>');
  z-index: -1;
  border-radius: 8px;
}

/* --------- Chic --------- */
.hero-theme-chic {
  background: linear-gradient(135deg, #FAF3E0 0%, #F5EBD6 50%, #E8DCC9 100%);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.hero-theme-chic::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #B8860B, transparent);
}

.hero-theme-chic::after {
  content: '';
  position: absolute;
  top: 50%; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(184, 134, 11, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-theme-chic .hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.hero-theme-chic .hero-content {
  padding: 25px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  border: 1px solid rgba(184, 134, 11, 0.2);
  box-shadow:
    0 10px 25px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.hero-theme-chic .hero-title {
  color: #2C1810;
  font-size: 2.4rem;
  font-weight: 300;
  margin-bottom: 12px;
  line-height: 1.2;
  font-family: 'Playfair Display', serif;
  position: relative;
}

.hero-theme-chic .hero-title::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 0;
  width: 40px; height: 2px;
  background: #B8860B;
}

.hero-theme-chic .hero-rating {
  color: #B8860B;
  font-size: 1rem;
  margin-bottom: 15px;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.hero-theme-chic .hero-description {
  color: #5D4037;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 25px;
  font-weight: 300;
}

.hero-theme-chic .hero-image { position: relative; }

.hero-theme-chic .hero-banner-img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow:
    0 15px 30px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(184, 134, 11, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  filter: sepia(0.1) brightness(1.05);
}

.hero-theme-chic .hero-image::before {
  content: '';
  position: absolute;
  top: -10px; left: -10px; right: 10px; bottom: 10px;
  border: 2px solid #B8860B;
  border-radius: 12px;
  opacity: 0.3;
  z-index: -1;
}

/* --------- Monochrome --------- */
.hero-theme-monochrome { background: #1A1A1A; padding: 60px 0; position: relative; }

.hero-theme-monochrome .hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-theme-monochrome .hero-content { position: relative; }

.hero-theme-monochrome .hero-title {
  color: #FFFFFF;
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  position: relative;
}

.hero-theme-monochrome .hero-title::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 0;
  width: 60px; height: 3px;
  background: #FFFFFF;
}

.hero-theme-monochrome .hero-rating {
  color: #CCCCCC;
  font-size: 1rem;
  margin-bottom: 15px;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.hero-theme-monochrome .hero-description {
  color: #CCCCCC;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 25px;
  font-weight: 300;
  max-width: 500px;
}

.hero-theme-monochrome .hero-image { position: relative; }

.hero-theme-monochrome .hero-banner-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 0;
  filter: grayscale(100%) contrast(120%);
  border: 2px solid #333333;
  box-shadow:
    0 10px 25px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: filter 0.3s ease;
}

.hero-theme-monochrome .hero-banner-img:hover { filter: grayscale(100%) contrast(140%); }

.hero-theme-monochrome .hero-image::before {
  content: '';
  position: absolute;
  top: 10px; left: 10px; right: -10px; bottom: -10px;
  border: 1px solid #333333;
  z-index: -1;
}

/* ===== VARIANTES DE COULEURS ===== */

.hero-theme-cafe {
  --hero-bg: #F8F1ED;
  --hero-text: #2C1810;
  --hero-accent: #8B4513;
  --hero-muted: #5D4037;
}
.hero-theme-cafe .hero-content { background: var(--hero-bg); }
.hero-theme-cafe .hero-title { color: var(--hero-text); }
.hero-theme-cafe .hero-rating { color: var(--hero-accent); }
.hero-theme-cafe .hero-description { color: var(--hero-muted); }

.hero-theme-nature {
  --hero-bg: #F0F7ED;
  --hero-text: #1A331A;
  --hero-accent: #4A7C59;
  --hero-muted: #5D735D;
}
.hero-theme-nature .hero-content { background: var(--hero-bg); }
.hero-theme-nature .hero-title { color: var(--hero-text); }
.hero-theme-nature .hero-rating { color: var(--hero-accent); }
.hero-theme-nature .hero-description { color: var(--hero-muted); }

.hero-theme-night {
  --hero-bg: #1A1A2E;
  --hero-text: #FFFFFF;
  --hero-accent: #4CC9F0;
  --hero-muted: #CCCCCC;
}
.hero-theme-night .hero-content { background: var(--hero-bg); }
.hero-theme-night .hero-title { color: var(--hero-text); }
.hero-theme-night .hero-rating { color: var(--hero-accent); }
.hero-theme-night .hero-description { color: var(--hero-muted); }

/* ===== RESPONSIVE — TABLETTE & MOBILE (2 colonnes jusqu'à 849px) ===== */

/* <= 849.98px : on bascule en 1 colonne */
@media (max-width: 849.98px) {
  .hero-theme-classic,
  .hero-theme-modern,
  .hero-theme-handwritten,
  .hero-theme-chic,
  .hero-theme-monochrome {
    padding: 0;
    margin: 0;
  }

  .hero-theme-classic .hero-container,
  .hero-theme-modern .hero-container,
  .hero-theme-handwritten .hero-container,
  .hero-theme-chic .hero-container,
  .hero-theme-monochrome .hero-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: var(--container-max-tablet);
    margin-inline: auto;
    padding-inline: var(--x-space);
    gap: var(--y-space);
    min-height: auto;
    box-sizing: border-box;
    padding: 0;
  }

  /* Image en premier */
  .hero-theme-classic .hero-image,
  .hero-theme-modern .hero-image,
  .hero-theme-handwritten .hero-image,
  .hero-theme-chic .hero-image,
  .hero-theme-monochrome .hero-image {
    order: 1;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;               /* ratio stable sur tablette/mobile */
  }

  .hero-theme-classic .hero-banner-img,
  .hero-theme-modern .hero-banner-img,
  .hero-theme-handwritten .hero-banner-img,
  .hero-theme-chic .hero-banner-img,
  .hero-theme-monochrome .hero-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    display: block;
  }

  /* Contenu en second, centré */
  .hero-theme-classic .hero-content,
  .hero-theme-modern .hero-content,
  .hero-theme-handwritten .hero-content,
  .hero-theme-chic .hero-content,
  .hero-theme-monochrome .hero-content {
    order: 2;
    padding: 24px var(--x-space-tight);
    text-align: center;
    width: 100%;
    margin: 0;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;     /* centrage horizontal */
    justify-content: center; /* centrage vertical dans le bloc */
    box-sizing: border-box;
  }

  .hero-theme-classic .hero-description,
  .hero-theme-modern .hero-description,
  .hero-theme-handwritten .hero-description,
  .hero-theme-chic .hero-description,
  .hero-theme-monochrome .hero-description {
    max-width: 40ch; /* largeur de ligne confortable */
  }

  /* Boutons centrés en colonne */
  .hero-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;  /* centrage horizontal des boutons */
    justify-content: center;
    gap: 12px;
    width: 100%;
  }

  .btn-theme {
    min-width: 220px;
    width: auto;
    padding: 12px 20px;
    font-size: 1rem;
  }

  /* Nettoyage des effets trop chargés */
  .hero-theme-chic .hero-content {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: none;
    border-radius: 10px;
    border: 1px solid rgba(184, 134, 11, 0.15);
    box-shadow: none;
  }

  .hero-theme-handwritten::before { display: none; }
  .hero-theme-handwritten .hero-description {
    border-left: none;
    padding-left: 0;
  }
  .hero-theme-chic::before,
  .hero-theme-chic::after,
  .hero-theme-chic .hero-image::before { display: none; }

  /* Typo responsive */
  .hero-theme-classic .hero-title,
  .hero-theme-modern .hero-title,
  .hero-theme-handwritten .hero-title,
  .hero-theme-chic .hero-title,
  .hero-theme-monochrome .hero-title {
    font-size: clamp(1.6rem, 4.5vw, 2rem);
    margin-bottom: 10px;
    line-height: 1.2;
  }

  .hero-theme-classic .hero-rating,
  .hero-theme-modern .hero-rating,
  .hero-theme-handwritten .hero-rating,
  .hero-theme-chic .hero-rating,
  .hero-theme-monochrome .hero-rating {
    font-size: clamp(0.9rem, 2.8vw, 1rem);
    margin-bottom: 12px;
  }

  .hero-theme-classic .hero-description,
  .hero-theme-modern .hero-description,
  .hero-theme-handwritten .hero-description,
  .hero-theme-chic .hero-description,
  .hero-theme-monochrome .hero-description {
    font-size: clamp(0.95rem, 2.8vw, 1.05rem);
    margin-bottom: 18px;
    line-height: 1.55;
  }
}

/* <= 575.98px : petits mobiles */
@media (max-width: 575.98px) {
  .hero-theme-classic .hero-image,
  .hero-theme-modern .hero-image,
  .hero-theme-handwritten .hero-image,
  .hero-theme-chic .hero-image,
  .hero-theme-monochrome .hero-image {
    aspect-ratio: 5 / 4; /* un peu plus haut sur très petits écrans */
  }

  .hero-theme-classic .hero-content,
  .hero-theme-modern .hero-content,
  .hero-theme-handwritten .hero-content,
  .hero-theme-chic .hero-content,
  .hero-theme-monochrome .hero-content {
    padding: 16px var(--x-space-tight);
  }

  .hero-theme-classic .hero-title,
  .hero-theme-modern .hero-title,
  .hero-theme-handwritten .hero-title,
  .hero-theme-chic .hero-title,
  .hero-theme-monochrome .hero-title {
    font-size: clamp(1.35rem, 5.2vw, 1.6rem);
    margin-bottom: 8px;
  }

  .hero-theme-classic .hero-rating,
  .hero-theme-modern .hero-rating,
  .hero-theme-handwritten .hero-rating,
  .hero-theme-chic .hero-rating,
  .hero-theme-monochrome .hero-rating {
    font-size: 0.9rem;
    margin-bottom: 8px;
  }

  .hero-theme-classic .hero-description,
  .hero-theme-modern .hero-description,
  .hero-theme-handwritten .hero-description,
  .hero-theme-chic .hero-description,
  .hero-theme-monochrome .hero-description {
    font-size: 0.95rem;
    margin-bottom: 14px;
  }

  .btn-theme {
    width: 100%;
    min-width: 0;
    padding: 12px 16px;
    font-size: 1rem;
  }
}

/* ===== ANIMATIONS ===== */

@keyframes themeFadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes themeFadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes themeFadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}

.hero-theme .hero-content { animation: themeFadeInLeft 0.8s ease-out; }
.hero-theme .hero-image   { animation: themeFadeInRight 0.8s ease-out; }

/* Animation spécifique pour l'ordre mobile (seulement < 850px) */
@media (max-width: 849.98px) {
  .hero-theme .hero-image   { animation: themeFadeInUp 0.6s ease-out; }
  .hero-theme .hero-content { animation: themeFadeInUp 0.6s ease-out 0.2s both; }
}

