:root {
  --primary-color: #764ba2;
  /* Deep Purple (from Portees a venir) */
  --secondary-color: #636e72;
  /* Gris élégant */
  --accent-color: #ffe66d;
  /* Jaune doux */
  --dark-color: #2d3436;
  /* Gris foncé élégant */
  --light-color: #f9f7f7;
  /* Blanc cassé doux */
  --wood-color: #d8c3a5;
  /* Couleur bois chaleureuse */
  --cat-eye-green: #636e72;
  /* Vert yeux de chat */
}

/* Nouvelles polices - Playwrite NZ */
html,
body {
  font-family: "Grandstander", cursive !important;
  /* MODIFIÉ : Dégradé GRIS NEUTRE CHAUD (sans teinte bleue) */
  background: radial-gradient(circle at top left, #f0f0f0 0%, #e0e0e0 40%, #d0d0d0 100%);
  color: #2d3436;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  /* Empêche le défilement latéral */
  width: 100%;
  position: relative;
  min-height: 100vh;
}

a {
  text-decoration: none !important;
}

a:hover {
  color: var(--dark-color) !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Grandstander", cursive !important;
  color: var(--dark-color);
  font-weight: 600;
}

.cursive-font {
  font-family: "Amatic SC", cursive !important;
  font-weight: 700;
}

/* ========================================
   MENU NAVIGATION TRANSPARENT - 2 SECTIONS
   ======================================== */

/* Menu Principal Transparent */
#main-nav {
  position: absolute;
  width: 100%;
  z-index: 1000;
  background: transparent;
}

/* Section 1 : Réseaux Sociaux + Logos Associations */
.top-section {
  padding: 8px 0;
  background: transparent;
  backdrop-filter: none;
  border-bottom: none;

}

.top-section .container-fluid {
  max-width: 1400px;
  margin: 0 auto;
}

/* Réseaux Sociaux - Gauche */
.social-links {
  display: flex;
  gap: 4px;
  align-items: center;
}

.social-links .social-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 22px;
  text-decoration: none !important;
  transition: all 0.3s ease;
  padding: 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-links .social-icon:hover {
  transform: translateY(-3px) scale(1.1);
  text-decoration: none !important;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.social-links .tiktok {
  background: black;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.social-links .tiktok::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, #ff0050, #636e72);
  opacity: 0.8;
  z-index: -1;
}

.social-links .youtube {
  background: #ff0000;
}

.social-links .facebook {
  background: #1877f2;
}

.social-links .instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.social-links .whatsapp {
  background: #25d366;
}

/* Logos Associations - Droite */
.association-logos {
  display: flex;
  gap: 18px;
  align-items: center;

  padding: 10px 25px;
  border-radius: 50px;
  box-shadow: 0 5px 15px rgba(118, 75, 162, 0.3);
}

.assoc-logo {
  height: 45px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.assoc-logo:hover {
  transform: scale(1.08);
}

/* Section 2 : Logo + Navigation Buttons */
.nav-section {
  padding: 10px 0;
  background: transparent;
  backdrop-filter: none;
  border-bottom: none;
  box-shadow: none;
}

.nav-section .container-fluid {
  max-width: 1400px;
  margin: 0 auto;
}

.nav-section .d-flex {
  gap: 25px;
  justify-content: center;
}

/* Logo Principal - AGRANDI X1.5 */
.main-logo {
  flex-shrink: 0;
  position: relative;
  width: 135px;
  /* Augmenté de 90px à 135px pour accueillir le logo x1.5 */
  height: 75px;
  z-index: 2000;
}

.main-logo img {
  height: 230px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.2));
  transition: transform 0.3s ease;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-65%, -42%) scale(1.1);
  /* SCALE X1.5 - Le logo est maintenant 1.5x plus grand */
}

.main-logo img:hover {
  transform: translate(-70%, -40%) scale(1.15);
  /* Maintient le scale x1.5 + petit effet hover */
  /* Maintain translation on hover */
}

/* Navigation Buttons */
.nav-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;

}

.nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 130px;
  height: 70px;
  padding: 6px 10px;
  /* NOUVEAU : Fond gris opaque élégant avec glassmorphism */
  background: rgba(118, 75, 162, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  /* NOUVEAU : Texte mauve/violet pour lisibilité */
  color: #ffffff !important;
  font-weight: 400;
  font-size: 13px;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none !important;
  border-radius: 0;
  transition: all 0.4s ease;
  box-shadow: 0 4px 12px rgba(241, 241, 241, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  line-height: 1.2;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* Animation de colorisation de gauche à droite avec ::before */
.nav-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  transition: width 0.4s ease-in-out;
  z-index: -1;
}

.nav-btn span {
  display: block;
  position: relative;
  z-index: 2;
  transition: color 0.4s ease;
}

/* Premier bouton arrondi à gauche */
.nav-btn:first-child {
  border-radius: 25px 5px 5px 25px;
}

/* Dernier bouton arrondi à droite */
.nav-btn:last-child {
  border-radius: 5px 25px 25px 5px;
}

.nav-btn:hover {
  /* Déclencher l'animation de gauche à droite */
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(118, 75, 162, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  border-color: #764ba2;
  text-decoration: none !important;
}

.nav-btn:hover::before {
  /* Remplir de gauche à droite */
  width: 100%;
}

.nav-btn:hover span {
  /* Texte devient blanc au survol */
  color: white !important;
}

.nav-btn:active {
  transform: translateY(-1px);
}


/* Mobile Logo */
.mobile-logo {
  display: none;
  position: absolute !important;
  top: 15px !important;
  left: 15px !important;
  transform: none !important;
  z-index: 1999 !important;
  width: 80px;
  height: auto;
}

.mobile-logo img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.3));
}

/* Mobile Menu Button */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 2000;
  background: var(--primary-color);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
  background: var(--secondary-color);
  transform: scale(1.1);
}

/* Cacher le bouton burger quand le menu est ouvert */
.menu-open .mobile-menu-toggle {
  opacity: 0;
  pointer-events: none;
  transform: scale(0);
}

/* Mobile Menu Overlay */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 1999;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--primary-color);
  /* Fond rouge pour visibilité */
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 2px solid white;
  color: white;
  font-size: 24px;
  cursor: pointer;
  z-index: 2001;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.mobile-menu-close:hover {
  background: var(--secondary-color);
  transform: rotate(90deg) scale(1.1);
}

.mobile-menu-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 20px;
}

.mobile-nav-link {
  color: white !important;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 12px 25px;
  margin: 5px 0;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 350px;
  text-align: center;
}

.mobile-nav-link:hover {
  background: var(--primary-color);
  transform: translateX(10px);
}

/* Styles pour associations et social dans mobile menu */
.mobile-associations-top {
  padding-bottom: 20px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 20px;
}

.mobile-social-bottom {
  padding-top: 20px;
  border-top: 2px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

/* Responsive - Mobile */
@media (max-width: 992px) {

  /* CACHER la top-section (logos sociaux + associations) en mobile */
  .top-section {
    display: none !important;

    /* Complètement cachée en mobile */
  }

  .social-links {
    gap: 8px;
  }

  .social-links .social-icon {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }

  .association-logos {
    gap: 10px;
  }

  .assoc-logo {
    height: 30px;
  }

  .nav-section,
  .nav-buttons,
  .main-logo {
    display: none !important;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .mobile-logo {
    display: block;
  }

  .mobile-menu {
    display: block;
  }
}

/* Fix pour portees_a_venir.php sur mobile - Éviter débordement */
@media (max-width: 768px) {

  /* Règle globale anti-débordement pour toutes les pages */
  * {
    max-width: 100vw;
  }

  .container-fluid,
  .container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    overflow-x: hidden;
  }

  /* Row sans marge négative sur mobile */
  .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* Conteneur principal portees_a_venir */
  .litter-section .container {
    padding-left: 10px !important;
    padding-right: 10px !important;
    max-width: 100vw !important;
  }

  /* Cards */
  .modern-litter-card {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
  }

  /* Éviter débordement horizontal */
  .litter-card-body {
    padding: 20px 15px;
  }

  .litter-card-body .row {
    margin-left: 0;
    margin-right: 0;
  }

  /* Colonnes responsive */
  .litter-card-body [class*="col-"] {
    padding-left: 10px;
    padding-right: 10px;
  }

  /* Hero section mobile */
  .litter-hero {
    padding: 80px 15px 60px;
  }

  .hero-title {
    font-size: 2rem !important;
  }

  .hero-subtitle {
    font-size: 1rem !important;
  }
}

/* Hero Section avec nouvelle vidéo - AMÉLIORÉ */
#hero-section {
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  /* Suppression du filtre pour une image plus nette */
  /* filter: brightness(1.05) contrast(1.05) saturate(1.1); */
}

/* Overlay amélioré pour moins filtrer la vidéo */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  /* Overlay beaucoup plus léger */
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: white;
  padding: 0 20px;
}

/* AMÉLIORATION : Marges pour le titre sur PC */
.hero-title {
  font-size: 5rem;
  margin-bottom: 20px;
  text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.5);
  /* Marge importante sur PC pour éviter d'être collé en haut */
  margin-top: 15vh;
}

@media (min-width: 1200px) {
  .hero-title {
    margin-top: 20vh;
    /* Encore plus d'espace sur grand écran */
  }
}

@media (max-width: 768px) {
  .hero-title {
    margin-top: 0;
    /* Pas de marge supplémentaire sur mobile */
  }
}

.hero-title .highlight {
  color: var(--accent-color);
  position: relative;
  display: inline-block;
}

.hero-title .highlight:after {
  content: "";
  position: absolute;
  bottom: 10px;
  left: 0;
  width: 100%;
  height: 15px;
  background: rgba(255, 230, 109, 0.3);
  z-index: -1;
  transform: skewX(-15deg);
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 30px;
  max-width: 600px;
  line-height: 1.6;
}

/* Boutons créatifs avec pattes de chat */
.btn-cat {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 10px 20px rgba(118, 75, 162, 0.3);
  white-space: nowrap;
  font-size: clamp(0.7rem, 2vw, 0.9rem);
  padding: 10px clamp(10px, 2vw, 20px);
}

.btn-cat: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: 0.5s;
}

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

.btn-cat:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(102, 16, 242, 0.4);
  background: #520dc2;
}

.btn-cat i {
  font-size: 1.2em;
}

.btn-cat-secondary {
  background: var(--secondary-color);
  box-shadow: 0 10px 20px rgba(99, 110, 114, 0.3);
}

.btn-cat-secondary:hover {
  background: #4b555e;
  box-shadow: 0 15px 30px rgba(99, 110, 114, 0.4);
}

/* Section des chatons */
.kitten-section {
  padding: 100px 0;
  /* MODIFIÉ : Background GRIS NEUTRE CHAUD pour séparer visuellement du header violet */
  background: radial-gradient(circle at top left, #f0f0f0 0%, #e0e0e0 40%, #d0d0d0 100%) !important;
  position: relative;
}

/* MODIFIÉ : Style général - GRIS NEUTRE CHAUD pour toutes les sections */
section:not([class*="hero"]):not(.social-links-section) {
  background: radial-gradient(circle at top left, #f0f0f0 0%, #e0e0e0 40%, #d0d0d0 100%) !important;
  position: relative;
}

/* Alternative : sections avec classe spécifique pour plus de contrôle */
.content-section {
  background: radial-gradient(circle at top left, #f0f0f0 0%, #e0e0e0 40%, #d0d0d0 100%) !important;
  padding: 80px 0;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  margin-top: 150px;
}

.section-title h2 {
  font-size: 3rem;
  display: inline-block;
  padding-bottom: 15px;
}

.section-title:after {
  content: "🐾";
  font-size: 2rem;
  display: block;
  margin-top: 10px;
  opacity: 0.6;
}

/* Cartes de chatons créatives - MODIFIÉ POUR CARROUSEL */
.kitten-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  margin-bottom: 30px;
  position: relative;
}

.kitten-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 25px 50px rgba(118, 75, 162, 0.5);
  border: 2px solid var(--primary-color);
}

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

/* Styles pour le carrousel personnalisé */
.kitten-gallery {
  height: 300px;
  position: relative;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
}

.gallery-slider {
  height: 100%;
  width: 100%;
  position: relative;
}

.gallery-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  pointer-events: none;
}

.gallery-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-slide {
  position: relative;
  cursor: pointer;
}

.video-slide .play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(102, 16, 242, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  transition: all 0.3s ease;
  z-index: 2;
}

.video-slide:hover .play-btn {
  background: rgba(102, 16, 242, 1);
  transform: translate(-50%, -50%) scale(1.1);
}

.video-slide .video-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.9);
}

.gallery-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 15px;
  transform: translateY(-50%);
  z-index: 10;
}

.gallery-nav-btn {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  color: var(--dark-color);
  font-size: 18px;
}

.gallery-nav-btn:hover {
  background: white;
  transform: scale(1.1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.gallery-indicators {
  position: absolute;
  bottom: 15px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 10;
}

.gallery-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.gallery-indicator.active {
  background: white;
  transform: scale(1.2);
}

.video-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--primary-color);
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 5px;
}

.kitten-info {
  padding: 25px;
}

.kitten-name {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: var(--dark-color);
}

.kitten-details {
  list-style: none;
  padding: 0;
  margin: 15px 0;
}

.kitten-details li {
  padding: 5px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.kitten-details i {
  color: var(--primary-color);
  width: 20px;
}

.kitten-price {
  font-size: 1.5rem;
  color: var(--primary-color);
  font-weight: 700;
  margin: 15px 0;
}

.kitten-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

/* Filtres créatifs */
.filters-container {
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
}

.filter-title {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--dark-color);
  display: flex;
  align-items: center;
  gap: 10px;
}

.filter-group {
  margin-bottom: 25px;
}

.filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-option {
  padding: 8px 20px;
  background: var(--light-color);
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.filter-option:hover {
  background: var(--primary-color);
  color: white;
}

.filter-option.active {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

/* Footer créatif - MODIFIÉ POUR LOGO PNG */
.cat-footer {
  background: var(--dark-color);
  color: white;
  padding: 60px 0 30px;
  position: relative;
}

.cat-footer:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg,
      var(--primary-color),
      var(--secondary-color));
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 30px;

}

/* Configuration spécifique Footer (Grand Logo) */
.footer-logo .logo-cat {
  width: 200px;
  height: 200px;
  margin-bottom: 10px;

}

.footer-logo .logo-cat img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  position: relative;
  /* Pas d'absolute ici, on veut la taille réelle */
  top: auto;
  left: auto;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));

}

.footer-logo .logo-cat:before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;

  border-radius: 50%;
  top: -10px;
  left: -10px;
  z-index: 1;
  opacity: 0.3;
}

.footer-cats {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 30px 0;
}

.cat-icon {
  font-size: 40px;
  color: var(--wood-color);
  animation: float 3s ease-in-out infinite;
}

.cat-icon:nth-child(2) {
  animation-delay: 0.5s;
}

.cat-icon:nth-child(3) {
  animation-delay: 1s;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin: 30px 0;
}

.footer-links a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
}

.footer-links a:after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: width 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent-color);
}

.footer-links a:hover:after {
  width: 100%;
}

.copyright {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
}

/* Modal pour vidéos */
/* Dynamic Cursor Styles */
.kitten-gallery.is-image .gallery-nav,
.kitten-gallery.is-image .gallery-slider {
  cursor: zoom-in;
}

.kitten-gallery.is-video .gallery-nav,
.kitten-gallery.is-video .gallery-slider {
  cursor: pointer;
}

.gallery-nav-btn {
  cursor: pointer !important;
}

.video-modal,
.image-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.video-modal.active,
.image-modal.active {
  display: flex;
}

.modal-content {
  width: 90%;
  max-width: 900px;
  position: relative;
}

.modal-content-img {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 5px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.modal-close,
.modal-close-img {
  position: absolute;
  top: -40px;
  right: 0;
  color: white;
  font-size: 30px;
  cursor: pointer;
  background: none;
  border: none;
}

.modal-close-img {
  top: 20px;
  right: 20px;
  z-index: 10001;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Animations */
@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

.pulse {
  animation: pulse 2s infinite;
}

/* MENU BURGER & MOBILE NAV */
.mobile-menu-btn {
  display: none;
  font-size: 28px;
  color: var(--primary-color);
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1002;
  padding: 5px;
  transition: transform 0.3s ease;
}

.mobile-menu-btn.active {
  transform: rotate(90deg);
  color: var(--secondary-color);
}

.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(3px);
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Responsive Design - AMÉLIORÉ POUR MOBILE */
@media (max-width: 991px) {
  .mobile-menu-btn {
    display: block;
    position: absolute;
    right: 15px;
    top: 20px;
  }

  .cat-nav {
    position: fixed;
    top: 0;
    right: -100%;
    /* Caché à droite */
    width: 280px;
    height: 100vh;
    background: white;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 100px;
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }

  .cat-nav.active {
    right: 0;
    /* Visible */
  }

  .nav-item-custom {
    margin: 15px 0;
    width: 100%;
    text-align: center;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
  }

  .cat-nav.active .nav-item-custom {
    opacity: 1;
    transform: translateX(0);
  }

  /* Décalage d'animation pour chaque lien */
  .cat-nav.active .nav-item-custom:nth-child(2) {
    transition-delay: 0.1s;
  }

  .cat-nav.active .nav-item-custom:nth-child(4) {
    transition-delay: 0.2s;
  }

  .cat-nav.active .nav-item-custom:nth-child(6) {
    transition-delay: 0.3s;
  }

  .nav-paw {
    display: none;
  }

  .logo-container {
    justify-content: flex-start;
    /* Logo à gauche sur tablette/mobile */
    margin-left: 0;
  }

  /* Cacher les icônes sociales du header sur mobile pour simplifier */
  .col-lg-4:last-child {
    display: none;
  }

  /* Réintégrer les réseaux sociaux dans le menu mobile */
  .mobile-social {
    display: flex !important;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
    margin-top: 0;
    /* Pas de marge sur mobile */
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .kitten-actions {
    flex-direction: column;
  }

  .nav-item-custom {
    margin: 5px 0;
  }

  .kitten-gallery {
    height: 250px;
  }

  .gallery-nav {
    padding: 0 10px;
  }

  .gallery-nav-btn {
    width: 35px;
    height: 35px;
  }

  /* Amélioration vidéo pour mobile */
  .hero-video {
    object-position: center center;
    /* Centré pour mieux voir le sujet */
  }
}

/* Pour les très petits écrans */
@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
    margin-top: 20px;
    /* Un peu d'espace sur très petits écrans */
  }

  .hero-video {
    object-position: center center;
  }

  .logo-text {
    font-size: 24px;

  }
}

/* Pour les tablettes */
@media (min-width: 769px) and (max-width: 1199px) {
  .hero-title {
    margin-top: 120px;
    /* Augmenté pour éviter le chevauchement */
  }
}

/* Pattern de fond chat */
.cat-pattern {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0.03;
  pointer-events: none;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50,20 C70,20 85,35 85,55 C85,75 70,90 50,90 C30,90 15,75 15,55 C15,35 30,20 50,20 Z M50,25 C32,25 20,37 20,55 C20,73 32,85 50,85 C68,85 80,73 80,55 C80,37 68,25 50,25 Z M40,45 C45,45 50,50 50,55 C50,60 45,65 40,65 C35,65 30,60 30,55 C30,50 35,45 40,45 Z M60,45 C65,45 70,50 70,55 C70,60 65,65 60,65 C55,65 50,60 50,55 C50,50 55,45 60,45 Z' fill='%232d3436'/%3E%3C/svg%3E");
  background-size: 200px;
}

/* Solution simple avec emoji (moins personnalisable) */
a:hover,
button:hover {
  cursor:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Ctext x='8' y='24' font-size='24'%3E🐾%3C/text%3E%3C/svg%3E"),
    pointer;
}

/* NOUVEAU : Conteneur vidéo amélioré pour mobile */
.video-container-mobile {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.video-fallback {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* Cache la vidéo si elle ne peut pas être lue et affiche l'image de secours */
@media (max-width: 768px) {
  .video-fallback {
    display: block;
  }

  .hero-video {
    display: none;
  }

  .hero-video.active {
    display: block;
  }
}

/* ========================================
   STYLES AMÉLIORÉS POUR LES CARTES DE CHATONS
   ======================================== */

/* Conteneur de la carte avec animation au survol */
.kitten-card-wrapper {
  perspective: 1000px;
  transition: all 0.3s ease;
}

/* Carte principale - Design moderne */
.kitten-card {
  position: relative;
  background: white;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-style: preserve-3d;
  border: 1px solid rgba(102, 16, 242, 0.1);
}

.kitten-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 60px rgba(102, 16, 242, 0.25);
  border-color: var(--primary-color);
}

/* Slider d'images - HAUTEUR FIXE STRICTE */
.kitten-image-slider {
  position: relative;
  overflow: hidden;
  height: 320px !important;
  /* Force height */
  min-height: 320px;
  max-height: 320px;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.kitten-image-slider .carousel-item {
  height: 320px;
}

.kitten-image-slider img {
  width: 100%;
  height: 320px !important;
  /* Force height on images */
  min-height: 320px;
  object-fit: cover !important;
  /* Important for uniformity */
  object-position: center;
  transition: transform 0.5s ease;
}

/* Force video thumbnail height as well */
.video-thumbnail-container {
  height: 320px !important;
  width: 100%;
  overflow: hidden;
}

.video-thumbnail-container img {
  height: 320px !important;
  object-fit: cover !important;
}

.kitten-card:hover .kitten-image-slider img {
  transform: scale(1.08);
  /* Zoom effect checked - OK with overflow hidden */
}

/* Badge de statut moderne */
.kitten-status {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--primary-color);
  color: white;
  padding: 8px 18px;
  border-radius: 25px;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  z-index: 10;
  animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  }

  50% {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(102, 16, 242, 0.4);
  }
}

.kitten-status.available {
  background: linear-gradient(135deg, #636e72 0%, #00d2a0 100%);
}

.kitten-status.reserved {
  background: linear-gradient(135deg, #f39c12 0%, #f1c40f 100%);
}

.kitten-status.sold {
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

/* Détails du chaton */
.kitten-details {
  padding: 25px;
  position: relative;
}

.kitten-name {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 15px;
  transition: color 0.3s ease;
  font-family: "Vijaya", serif;
}

.kitten-card:hover .kitten-name {
  color: var(--primary-color);
}

/* Icône de genre stylisée */
.kitten-gender {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.kitten-gender.male {
  background: linear-gradient(135deg, #636e72 0%, #44A08D 100%);
  color: white;
}

.kitten-gender.female {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
  color: #636e72;
  /* Couleur verte pour contraster avec le fond rouge */
}

.kitten-card:hover .kitten-gender {
  transform: rotate(360deg) scale(1.1);
}

/* Grille d'informations moderne */
.kitten-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 20px 0;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 12px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.info-item:hover {
  background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
  border-color: var(--primary-color);
  transform: translateX(5px);
  box-shadow: 0 4px 12px rgba(102, 16, 242, 0.15);
}

.info-item i {
  color: var(--primary-color);
  font-size: 1.1rem;
  min-width: 20px;
  transition: transform 0.3s ease;
}

.info-item:hover i {
  transform: scale(1.2) rotate(10deg);
}

.info-item span {
  color: var(--dark-color);
  font-weight: 500;
  font-size: 0.85rem;
}

/* CSS Modal Se Renseigner */
.inquiry-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  justify-content: center;
  align-items: center;
}

.inquiry-modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  border: 1px solid #888;
  width: 90%;
  max-width: 500px;
  border-radius: 20px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  position: relative;
  animation: modalSlideIn 0.4s ease;
}

@keyframes modalSlideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }

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

.inquiry-modal-header {
  padding: 20px 30px;
  background: linear-gradient(135deg, var(--primary-color), #ff8787);
  color: white;
  border-radius: 20px 20px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.inquiry-modal-header h2 {
  margin: 0;
  font-size: 1.8rem;
  color: white;
  font-family: 'Vijaya', serif;
}

.close-modal {
  color: white;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.3s;
}

.close-modal:hover {
  transform: scale(1.2) rotate(90deg);
}

.inquiry-modal-body {
  padding: 30px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--dark-color);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(102, 16, 242, 0.1);
  outline: none;
}

.btn-submit {
  width: 100%;
  padding: 15px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 10px 20px rgba(102, 16, 242, 0.3);
}

.btn-submit:hover {
  background: #520dc2;
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(102, 16, 242, 0.4);
}

/* Conteneur de prix créatif amélioré */
.kitten-price-container {
  background: radial-gradient(circle at center, #fff 50%, #fff5f5 100%);
  padding: 15px;
  border-radius: 15px;
  margin: 20px 0;
  border: 2px solid #ffe3e3;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 20px rgba(102, 16, 242, 0.05);
}

.kitten-price-container::before {
  content: "💎";
  position: absolute;
  top: -15px;
  right: -15px;
  font-size: 5rem;
  opacity: 0.05;
  transform: rotate(20deg);
}

.price-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0;
  padding: 5px 0;
}

.price-row .price-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}

.flag-icon {
  font-size: 1.5rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
  flex-shrink: 0;
}

.price-amount {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--primary-color);
}

.price-amount.secondary {
  color: var(--secondary-color);
}

.old-price {
  position: relative;
  opacity: 0.6;
  font-size: 0.9rem;
  color: #999;
}

.old-price::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 2px;
  background: #e74c3c;
  transform: rotate(-5deg);
}

/* Actions de la carte */
.kitten-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.kitten-actions .btn-cat {
  flex: 1;
  justify-content: center;
  font-size: 0.85rem;
  padding: 12px 15px;
  transition: all 0.3s ease;
}

.kitten-actions .btn-cat:hover {
  transform: translateY(-3px) scale(1.05);
}

/* Contrôles du carousel Bootstrap améliorés */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  background-size: 50%;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
  background-color: var(--primary-color);
  transform: scale(1.1);
}

.carousel-indicators li {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  border: 2px solid white;
  transition: all 0.3s ease;
}

.carousel-indicators li.active {
  background-color: var(--primary-color);
  transform: scale(1.3);
  box-shadow: 0 0 10px rgba(102, 16, 242, 0.6);
}

/* Badge video avec icône play */
.video-thumbnail-container {
  position: relative;
  width: 100%;
  height: 100%;
  cursor: pointer;
  overflow: hidden;
}

.video-thumbnail-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}

.video-thumbnail-container:hover img {
  filter: brightness(0.8);
  transform: scale(1.1);
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 75px;
  background: rgba(102, 16, 242, 0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(102, 16, 242, 0.5);
  animation: pulse-play 2s infinite;
}

@keyframes pulse-play {

  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    transform: translate(-50%, -50%) scale(1.1);
  }
}

.video-thumbnail-container:hover .play-button {
  background: var(--primary-color);
  transform: translate(-50%, -50%) scale(1.2);
  box-shadow: 0 12px 35px rgba(102, 16, 242, 0.7);
}

/* Responsive pour les cartes */
@media (max-width: 768px) {
  .kitten-image-slider {
    height: 280px;
  }

  .kitten-name {
    font-size: 1.5rem;
  }

  .kitten-actions {
    flex-direction: column;
  }

  .kitten-info-grid {
    grid-template-columns: 1fr;
  }

  .info-item {
    font-size: 0.85rem;
  }
}

/* Animation d'entrée progressive pour les cartes - DESKTOP ONLY */
@media (min-width: 993px) {
  .kitten-card-wrapper {
    animation: fadeInUp 0.6s ease forwards;
  }

  .kitten-card-wrapper:nth-child(1) {
    animation-delay: 0.1s;
  }

  .kitten-card-wrapper:nth-child(2) {
    animation-delay: 0.2s;
  }

  .kitten-card-wrapper:nth-child(3) {
    animation-delay: 0.3s;
  }

  .kitten-card-wrapper:nth-child(4) {
    animation-delay: 0.4s;
  }

  .kitten-card-wrapper:nth-child(5) {
    animation-delay: 0.5s;
  }

  .kitten-card-wrapper:nth-child(6) {
    animation-delay: 0.6s;
  }
}



@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

/* ========================================
   FOOTER STYLES - LOGO AGRANDI X2
   ======================================== */

.cat-footer {
  background: linear-gradient(135deg, #2d3436 0%, #1e272e 100%);
  color: white;
  padding: 60px 0 30px;
  position: relative;
  overflow: hidden;
}

.cat-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
}

.footer-logo {
  text-align: center;
  margin-bottom: 40px;
}

.logo-cat {
  position: relative;
  display: inline-block;
  margin-bottom: 15px;
}

/* LOGO FOOTER AGRANDI X2 */
.logo-cat img {
  height: 75px;
  /* Taille de base */
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
  transition: transform 0.3s ease;
  transform: scale(1.5);
  /* SCALE X1.5 - Le logo est maintenant 1.5x plus grand */
}

.logo-cat img:hover {
  transform: scale(1.55);
  /* Petit effet hover en gardant le x1.5 */
}

.logo-text {
  font-family: 'Vijaya', serif;
  font-weight: 700;
  color: white;
  text-align: center;
}

.logo-text span {
  color: var(--primary-color);
}

.footer-cats {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 30px 0;
  font-size: 2rem;
}

.cat-icon {
  transition: transform 0.3s ease;
  cursor: pointer;
}

.cat-icon:hover {
  transform: scale(1.3) rotate(10deg);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 30px 0;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  padding: 5px 10px;
  border-radius: 5px;
}

.footer-links a:hover {
  color: var(--primary-color) !important;
  background: rgba(102, 16, 242, 0.1);
  transform: translateY(-2px);
}

.social-icons {
  display: flex;
  gap: 15px;
}

.copyright {
  text-align: center;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.copyright p {
  margin: 5px 0;
}

.copyright a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.copyright a:hover {
  color: var(--secondary-color) !important;
}

/* Responsive Footer */
@media (max-width: 768px) {
  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .logo-cat img {
    transform: scale(1.2);
    /* Un peu moins agrandi sur mobile pour éviter de prendre trop de place */
  }

  .logo-cat img:hover {
    transform: scale(1.25);
  }
}




/* ========================================
   LITTER HERO STYLE - UTILISÉ SUR TOUTES LES PAGES SAUF INDEX
   ======================================== */

.litter-hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
  color: white;
}

.litter-hero h1,
.litter-hero h2,
.litter-hero h3,
.litter-hero .display-4 {
  color: white !important;
}

.litter-hero .lead,
.litter-hero p {
  color: rgba(255, 255, 255, 0.9) !important;
}

/* AMÉLIORATION : Effet Wave élégant et fluide en bas du header */
.litter-hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 100px;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 120" preserveAspectRatio="none"><path fill="%23f5f7fa" d="M0,64 C240,100 480,100 720,64 C960,28 1200,28 1440,64 L1440,120 L0,120 Z" opacity="1"/></svg>') no-repeat bottom;
  background-size: cover;
  pointer-events: none;
  z-index: 10;
}

/* Global Purple Background - MODIFIÉ pour appliquer GRIS aux sections de contenu */
.purple-hero-bg {
  /* NOUVEAU : Fond GRIS NEUTRE CHAUD au lieu de violet */
  background: radial-gradient(circle at top left, #f0f0f0 0%, #e0e0e0 40%, #d0d0d0 100%);
  position: relative;
  overflow: visible;
}

/* SUPPRIMÉ : L'effet wave du ::before pour ne pas l'appliquer aux sections de contenu */
/* On garde seulement le wave sur .litter-hero qui est le header */

/* Styles de texte pour fond gris - TOUS les textes doivent être sombres */
.purple-hero-bg .section-title h2 {
  color: var(--dark-color) !important;
}

.purple-hero-bg .section-title p {
  color: rgba(45, 52, 54, 0.8) !important;
}

/* Ajout : Assurer que TOUS les textes dans purple-hero-bg sont sombres */
.purple-hero-bg h1,
.purple-hero-bg h2,
.purple-hero-bg h3,
.purple-hero-bg h4,
.purple-hero-bg h5,
.purple-hero-bg h6 {
  color: var(--dark-color) !important;
}

.purple-hero-bg p,
.purple-hero-bg .lead,
.purple-hero-bg span,
.purple-hero-bg div:not(.btn):not(.badge):not([class*="gradient"]) {
  color: var(--dark-color) !important;
}

/* Exception: les éléments qui doivent garder leur couleur spécifique */
.purple-hero-bg .text-white {
  color: white !important;
  /* Pour les éléments avec classe text-white explicite */
}

.purple-hero-bg .text-primary {
  color: var(--primary-color) !important;
}

.purple-hero-bg .text-muted {
  color: #6c757d !important;
}

/* Cacher le logo nav uniquement sur la page d'accueil */
body.home .main-logo {
  display: none !important;
}

/* Cacher aussi le logo mobile sur la page d'accueil */
body.home .mobile-logo {
  display: none !important;
}

/* Kitten Info Grid - Vertical Stack */
.kitten-info-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 15px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.info-item i {
  width: 20px;
  text-align: center;
}

/* Specific styling for checkboxes row to keep them inline/wrapped as requested */
.special-effects-row {
  flex-direction: row;
  flex-wrap: wrap;
}

/* ========================================
   STYLES SPÉCIFIQUES POUR INDEX.PHP MOBILE/TABLETTE
   ======================================== */

/* Sur mobile et tablette uniquement, repositionner le logo de la page d'accueil */
@media (max-width: 992px) {

  /* Pour la page d'accueil uniquement - cacher le logo original dans le hero */
  body.home #hero-section .hero-content img[src="img/logo_principal.png"] {
    display: none !important;
  }

  /* Créer un nouveau logo fixe pour index.php via pseudo-element sur body */
  body.home::before {
    content: '';
    position: fixed !important;
    top: 15px !important;
    left: 15px !important;
    width: 120px !important;
    height: 120px !important;
    background: url('../img/logo_principal.png') no-repeat center center;
    background-size: contain;
    z-index: 1998 !important;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.4));
    pointer-events: all;
    opacity: 1;
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  /* Permettre le clic pour retourner à l'accueil */
  body.home::before {
    cursor: pointer;
  }

  /* Masquer le pseudo-élément au scroll */
  body.home.scrolled::before {
    opacity: 0 !important;
    transform: translateY(-20px);
    pointer-events: none;
  }
}

/* ========================================
   STYLES ISOLÉS POUR CHATONS RÉSERVÉS
   (Pour éviter conflits JS/Animation mobile)
   ======================================== */

.reserved-card-wrapper {
  perspective: 1000px;
  /* PAS d'opacité 0 ni d'animation d'entrée pour garantir la visibilité */
}

.reserved-card {
  position: relative;
  background: white;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-style: preserve-3d;
  border: 1px solid rgba(102, 16, 242, 0.1);
  /* Force visibility */
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

.reserved-card:hover {
  transform: translateY(-12px) scale(1.02) !important;
  box-shadow: 0 20px 60px rgba(102, 16, 242, 0.25);
  border-color: var(--primary-color);
}

.reserved-card-slider {
  position: relative;
  overflow: hidden;
  height: 320px !important;
  min-height: 320px;
  max-height: 320px;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.reserved-card-slider .carousel-item {
  height: 320px;
}

.reserved-card-slider img {
  width: 100%;
  height: 320px !important;
  min-height: 320px;
  object-fit: cover !important;
  object-position: center;
  transition: transform 0.5s ease;
}

.reserved-card-status {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--primary-color);
  color: white;
  padding: 8px 18px;
  border-radius: 25px;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

.reserved-card-details {
  padding: 25px;
  position: relative;
}

.reserved-card-name {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 15px;
  transition: color 0.3s ease;
  font-family: "Vijaya", serif;
}

.reserved-card:hover .reserved-card-name {
  color: var(--primary-color);
}

.reserved-card-info-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 15px;
}

.reserved-card-actions {
  display: flex;
  gap: 10px;
}

/* Fix mobile spécifique pour ces cartes au cas où */
@media (max-width: 992px) {

  .reserved-card-wrapper,
  .reserved-card {
    opacity: 1 !important;
    visibility: visible !important;
    animation: none !important;
    transform: none !important;
  }

  /* Fix pour kitten-card-wrapper (kings.php, queens.php) */
  .kitten-card-wrapper,
  .kitten-card {
    opacity: 1 !important;
    visibility: visible !important;
    animation: none !important;
    animation-delay: 0s !important;
    transform: none !important;
  }

  /* Override each nth-child animation delay explicitly */
  .kitten-card-wrapper:nth-child(1),
  .kitten-card-wrapper:nth-child(2),
  .kitten-card-wrapper:nth-child(3),
  .kitten-card-wrapper:nth-child(4),
  .kitten-card-wrapper:nth-child(5),
  .kitten-card-wrapper:nth-child(6) {
    animation: none !important;
    animation-delay: 0s !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    display: block !important;
  }

  /* FORCE le premier élément à être visible - FIX ULTIME */
  .row>.kitten-card-wrapper:first-child,
  .row>.col-lg-4:first-child,
  .row>.col-md-6:first-child,
  #cats-grid>.kitten-card-wrapper:first-child,
  #cats-grid>.col-lg-4:first-child,
  #cats-grid>.col-md-6:first-child {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    animation: none !important;
    transform: translateY(0) !important;
    position: relative !important;
    z-index: 1 !important;
  }
}

/* Special Effects Badges */
@keyframes pulse-border {
  0% {
    box-shadow: 0 0 0 0 rgba(74, 144, 226, 0.4);
    transform: scale(1);
  }

  50% {
    box-shadow: 0 0 0 4px rgba(74, 144, 226, 0);
    transform: scale(1.02);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(74, 144, 226, 0);
    transform: scale(1);
  }
}

.special-effect-badge {
  display: inline-block;
  padding: 8px 15px;
  margin: 5px 0;
  font-size: 1.1em;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-transform: none;
  letter-spacing: 1px;
  animation: pulse-border 2s infinite;
  text-align: center;
  width: 100%;
  /* Full width in the info item */
}

.info-item.special-effect-container {
  padding: 10px 0;
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
}

/* Mobile Footer Logo Fix */
@media (max-width: 768px) {
  .footer-logo .logo-cat img {
    margin-top: 20px !important;
  }
}

/* Hero Logo Styles moved from inline */
#heroLogo {
  width: 100%;
  max-width: 300px;
  height: auto;
  display: block;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Large Screens (Desktop 1920x1080+) */
@media (min-width: 1600px) {

  /* Subpages adjustment (Large Screens) */
  .nav-btn {
    min-width: 140px !important;
    height: 75px !important;
    font-size: 14px !important;
    padding: 8px 10px !important;
  }

  #heroLogo {
    max-width: 500px;
    /* Agrandissement pour les grands �crans */
  }
}


/* Large Screens (Nav Buttons) */
@media (min-width: 1600px) {

  /* Subpages adjustment (Large Screens) */
  .nav-btn {
    min-width: 130px !important;
    height: 75px !important;
    font-size: 14px !important;
    padding: 8px 10px !important;
  }

  body.home .nav-btn {
    min-width: 155px !important;
    height: 75px !important;
    font-size: 14px !important;
    padding: 8px 10px !important;
    /* Ajustement padding */
  }
}

/* Force Grandstander Font in Footer */
.footer-logo .logo-text {
  font-family: 'Grandstander', cursive !important;
}


/* Large Screens Container Adjustment for Bigger Cards */
@media (min-width: 1600px) {
  .container {
    max-width: 1550px !important;
  }
}


/* ========================================
   LANGUAGE SWITCHER
   ======================================== */
.lang-toggle-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  padding: 8px 20px;
  border-radius: 50px;
  border: 2px solid rgba(118, 75, 162, 0.2);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  color: #2d3436 !important;
  font-family: 'Grandstander', cursive;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.lang-toggle-btn:hover {
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(118, 75, 162, 0.25);
  border-color: var(--primary-color);
  color: #2d3436 !important;
}

.lang-toggle-btn .flag-icon {
  width: 24px;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.language-switcher {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 5px 8px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.language-switcher:hover {
  background: rgba(255, 255, 255, 0.4);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 30px;
  color: #fff;
  /* Default text color for transparency */
  text-decoration: none !important;
  font-family: 'Grandstander', cursive;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.3s ease;
  opacity: 0.7;
}

/* Specific colors for dark background contexts if needed, but here we assume hero */
.lang-btn .lang-text {
  color: #2d3436;
  /* Dark text for visibility on light glossy bg */
}

.lang-btn:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

.lang-btn.active {
  opacity: 1;
  background: var(--primary-color);
  box-shadow: 0 2px 10px rgba(118, 75, 162, 0.3);
}

.lang-btn.active .lang-text {
  color: white !important;
}

.lang-divider {
  width: 1px;
  height: 18px;
  background: rgba(45, 52, 54, 0.2);
  margin: 0 2px;
}

.flag-icon {
  width: 20px;
  height: auto;
  border-radius: 3px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Mobile Responsive */
@media (max-width: 992px) {
  /* Since top-section is hidden on mobile, we might need to add it to mobile menu */
  /* For now, just ensuring it doesn't break anything if top-section was visible */
}