@media (max-width: 600px) {
  .navbar-logo {
    width: 120px !important;
    height: 120px !important;
    top: 60px !important;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}
/* --- GLOBAL / FOND --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  background: linear-gradient(180deg, #FFC1CF 0%, #FFD6E0 200vh);
  background-attachment: fixed;
  font-family: 'Segoe UI', 'Arial', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #222;
  letter-spacing: 0.5px;
  overflow-x: hidden;
  scroll-snap-type: y mandatory;
}

/* --- TEXTE ANIMÉ --- */
/* Conteneur principal pour le texte animé et sa ligne décorative */
.animated-text-block {
  position: absolute;
  top: 220px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% / 3);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 50;
  pointer-events: none;
}

/* Titre principal avec animation de machine à écrire */
.animated-title {
  text-align: center;
  font-size: clamp(1rem, 2.5vw, 3rem);
  color: #B84867;
  font-family: 'Allura', cursive;
  font-weight: 400;
  position: relative;
  overflow: visible;
  margin: 0;
  padding: 0 5%;
  white-space: nowrap;
  line-height: 1.2;
}

/* Texte animé visible */
.animated-title-text {
  display: inline-block;
  white-space: nowrap;
}

/* Texte de référence caché pour calculer les dimensions */
.animated-title-text-hidden {
  visibility: hidden;
  position: absolute;
  left: 0;
  top: 0;
}

/* Conteneur pour la ligne décorative qui se trace */
.animated-underline-container {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 4.2em;
  position: relative;
}

/* --- RESPONSIVE TEXTE ANIMÉ --- */
/* Adaptation progressive du texte animé selon la largeur d'écran */
/* Très larges écrans */
@media (max-width: 1800px) {
  .animated-text-block {
    top: 210px;
  }
}

/* Écrans larges */
@media (max-width: 1400px) {
  .animated-text-block {
    top: 200px;
  }
}

/* Écrans moyens */
@media (max-width: 1200px) {
  .animated-text-block {
    top: 150px;
    margin: 0 15px;
  }
}

/* Tablettes */
@media (max-width: 1024px) {
  .animated-text-block {
    top: 140px;
  }
}

/* Petites tablettes */
@media (max-width: 768px) {
  .animated-text-block {
    top: 130px;
    margin: 0 10px;
  }
}

/* Smartphones larges */
@media (max-width: 600px) {
  .animated-text-block {
    top: 120px;
  }
}

/* Smartphones moyens */
@media (max-width: 480px) {
  .animated-title {
    line-height: 1.2;
  }
  
  .animated-text-block {
    top: 110px;
    margin: 0 8px;
  }
}

/* Petits smartphones */
@media (max-width: 360px) {
  .animated-title {
    line-height: 1.1;
  }
  
  .animated-text-block {
    top: 100px;
    margin: 0 5px;
  }
}

/* --- NAVBAR --- */
/* Classe pour ajouter un padding au body quand la navbar est en mode détaché */
body.navbar-full-padding {
  padding-top: 80px;
}

/* Barre de navigation avec système d'animation de détachement. */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  margin: 0;
  border-radius: 0;
  z-index: 1000;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FCDEE2;
  padding: 20px 32px;
  box-shadow: 0 2px 16px rgba(255, 192, 203, 0.15);
  border-bottom: 1px solid #ffd6e0;
  backdrop-filter: blur(8px);
  transition: margin 1s ease, border-radius 1s ease, width 1s ease, box-shadow 0.8s ease;
}

/* Classe pour la navbar en mode détaché (avec marges) */
.navbar-detached {
  width: calc(100% - 24px);
  margin: 19px 12px 0 12px;
  border-radius: 18px;
}

/* Classe pour la navbar en mode collé (pleine largeur) */
.navbar-full {
  margin: 0;
  border-radius: 0;
  width: 100%;
}

/* --- MENU DE LA NAVBAR --- */
/* Menu principal de navigation, contient les liens vers les différentes sections du site. */
.navbar-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

/* Menu de gauche (Accueil, Nouveautés, etc.) */
.navbar-left {
  gap: 58px;
}

/* Menu de droite (Colliers, Boucles d'oreilles, etc.) */
.navbar-right {
  gap: 45px;
}

/* Variable pour contrôler l'espacement des "Nouvelles collections" par rapport au logo */
:root {
  --logo-spacing: 150px;
}

/* Nouvelles collections positionnées symétriquement autour du logo */
.navbar-special {
  position: absolute;
  right: calc(50% + var(--logo-spacing));
  top: 50%;
  transform: translateY(-50%);
}

.navbar-special-right {
  position: absolute;
  left: calc(50% + var(--logo-spacing));
  top: 50%;
  transform: translateY(-50%);
}

/* Menu spécifique pour les icônes à droite (login, wishlist, panier) avec écart réduit. */
.navbar-icons {
  gap: 20px;
  align-items: center;
  margin-left: 30px;
}

/* Lien individuel dans le menu de navigation. */
.navbar-menu li a {
  text-decoration: none;
  color: #222;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  /* Transition de couleur au survol. */
  transition: color 0.2s;
  display: flex;
  align-items: center;
  height: 24px;
}

/* Changement de couleur du lien au survol. */
.navbar-menu li a:hover {
  color: #ff97b1;
}

/* --- MENU DÉROULANT --- */
/* Conteneur du dropdown */
.dropdown {
  position: relative;
}

/* Flèche du dropdown - chevron avec lignes comme > vers le bas */
.dropdown-arrow {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: 8px;
  border-bottom: 2px solid #222;
  border-right: 2px solid #222;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
  vertical-align: middle;
  transform-origin: center center;
}

/* Menu déroulant caché par défaut */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #FCDEE2;
  min-width: 200px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  border: 1px solid #ffd6e0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 200;
  list-style: none;
  padding: 8px 0;
  margin: 0;
}

/* Affichage du menu au survol */
.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Rotation de la flèche au survol - rotation sur son centre pour garder l'alignement */
.dropdown:hover .dropdown-arrow {
  transform: rotate(-135deg);
}

/* Liens dans le menu déroulant */
.dropdown-menu li a {
  display: block;
  padding: 8px 16px;
  color: #222;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background-color 0.2s;
}

/* Survol des liens du dropdown */
.dropdown-menu li a:hover {
  background-color: rgba(255, 151, 177, 0.1);
  color: #ff97b1;
}

/* Lien Accueil, mis en avant dans le menu. */
.navbar-home {
  font-weight: 600;
  color: #0078d7;
  font-size: 1.05rem;
  padding: 0 10px;
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: color 0.2s;
}

/* Changement de couleur du lien Accueil au survol. */
.navbar-home:hover {
  color: #222;
}

/* --- LOGO + TITRE --- */
/* Conteneur du logo, centré dans la navbar. */
.navbar-logo-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: 1;
  margin-left: 60px;
  margin-right: 60px;
  height: 100%;
}

/* Logo principal centré et débordant, utilisé comme identité visuelle. */
.navbar-logo {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  position: absolute;
  left: 50%;
  top: 107%;
  transform: translate(-50%, -50%);
  margin: 0;
  pointer-events: auto;
  transition: transform 0.3s ease;
}

/* Effet d'agrandissement au survol du logo */
.navbar-logo:hover {
  transform: translate(-50%, -50%) scale(1.07);
}

/* --- ICONES / BADGE PANIER --- */
/* Icône utilisée pour les boutons utilisateur, favoris, panier, etc. */
.navbar-icon {
  width: 24px;
  height: 24px;
  vertical-align: middle;
  filter: grayscale(100%) brightness(0.2);
  transition: filter 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
}

/* Icône dans le menu, reprend ses couleurs au survol. */
.navbar-menu li a:hover .navbar-icon {
  filter: none;
}

/* Badge du panier, affiche le nombre d'articles sélectionnés. */
.cart-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #ff4757;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 10px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(255, 71, 87, 0.4);
  z-index: 10;
}

/* --- MENU HAMBURGER --- */
/* Menu hamburger caché par défaut */
.hamburger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 24px;
  cursor: pointer;
  padding: 0;
  background: none;
  border: none;
}

.hamburger-line {
  width: 100%;
  height: 3px;
  background-color: #222;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Menu mobile caché par défaut */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #FCDEE2;
  border-top: 1px solid #ffd6e0;
  z-index: 98; /* Juste en dessous de la navbar (z-index: 100) */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-100%);
  transition: all 0.3s ease;
  max-height: 100vh;
  overflow-y: auto;
  padding-top: calc(37px + 37px + 24px); /* Hauteur navbar + padding + marges */
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-menu ul {
  list-style: none;
  padding: 20px;
  margin: 0;
}

.mobile-menu li {
  margin-bottom: 15px;
}

.mobile-menu a {
  display: block;
  padding: 12px 16px;
  color: #222;
  text-decoration: none;
  font-size: 1.1rem;
  border-radius: 8px;
  transition: background-color 0.2s;
}

.mobile-menu a:hover {
  background-color: rgba(255, 151, 177, 0.1);
  color: #ff97b1;
}

/* --- CATÉGORIES PRINCIPALES --- */
/* Conteneur principal pour les catégories */
.categories-container {
  display: flex;
  flex-direction: row; /* Horizontal par défaut */
  height: 100vh;
  width: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

/* Catégories individuelles */
.category {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-decoration: none;
  color: #222;
  cursor: pointer;
  transition: flex 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

/* Agrandissement au survol */
.category:hover {
  flex: 2.5;
  background: rgba(255, 255, 255, 0.2);
}

/* Contenu de la catégorie */
.category-content {
  text-align: center;
  z-index: 10;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

.category:hover .category-content {
  transform: scale(1.1);
}

/* Titre de la catégorie */
.category-title {
  font-family: 'Allura', cursive;
  font-size: 5rem;
  font-weight: 400;
  color: #B84867;
  margin-bottom: 15px;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.category:hover .category-title {
  font-size: 6rem;
  letter-spacing: 2px;
}

/* Description de la catégorie */
.category-description {
  font-size: 1.2rem;
  font-weight: 500;
  color: #222;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.5px;
}

.category:hover .category-description {
  opacity: 1;
  transform: translateY(0);
}

/* --- SÉPARATEURS --- */
.separator {
  width: 3px; /* Largeur pour séparateurs verticaux */
  height: 100%;
  background: linear-gradient(180deg, 
    transparent 0%, 
    #FFB3C6 10%, 
    #FF97B1 50%, 
    #FFB3C6 90%, 
    transparent 100%);
  box-shadow: 0 1px 3px rgba(255, 151, 177, 0.3);
  z-index: 20;
}

/* --- BOUTON SURPRENEZ-MOI --- */
.surprise-btn {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  background: #FFB3C6;
  color: #fff;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-family: 'Segoe UI', 'Arial', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: 2px solid transparent;
  box-shadow: 0 4px 20px rgba(255, 151, 177, 0.4);
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.category:hover .surprise-btn {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.surprise-btn:hover {
  transform: translateX(-50%) translateY(-3px) scale(1.05);
  box-shadow: 0 6px 30px rgba(255, 151, 177, 0.6);
  border-color: #FF97B1;
}

.surprise-text {
  transition: transform 0.3s ease;
}

.surprise-icon {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
  animation: sparkle 1.5s ease-in-out infinite;
}

.surprise-btn:hover .surprise-text {
  transform: translateX(-2px);
}

.surprise-btn:hover .surprise-icon {
  transform: rotate(180deg) scale(1.2);
}

/* Responsive bouton */
@media (max-width: 768px) {
  .surprise-btn {
    bottom: 30px;
    padding: 12px 24px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .surprise-btn {
    bottom: 25px;
    padding: 10px 20px;
    font-size: 0.85rem;
  }
  
  .surprise-icon {
    font-size: 1rem;
  }
}

/* --- RESPONSIVE NAVBAR --- */
/* Étape 1: Cache les "Nouvelles collections" avec plus de marge de sécurité */
@media (max-width: 2400px) {
  .navbar-special,
  .navbar-special-right {
    display: none;
  }
}

/* Étape 2: Réduit l'espacement des menus avec marge de sécurité */
@media (max-width: 1800px) {
  .navbar-left {
    gap: 40px;
  }
  
  .navbar-right {
    gap: 30px;
  }
  
  .navbar-icons {
    gap: 15px;
    margin-left: 20px;
  }
}

/* Étape 3: Encore plus compact avec marge de sécurité */
@media (max-width: 1600px) {
  .navbar-left {
    gap: 25px;
  }
  
  .navbar-right {
    gap: 20px;
  }
  
  .navbar-icons {
    gap: 10px;
    margin-left: 15px;
  }
  
  .navbar-logo-title {
    margin-left: 40px;
    margin-right: 40px;
  }
}

/* Étape 4: Mode hamburger avec logo qui reste en gros et centré */
@media (max-width: 1700px) {
  .navbar-menu {
    display: none;
  }
  
  .hamburger-menu {
    display: flex;
  }
  
  /* Cache le texte animé en mode hamburger */
  .animated-text-block {
    display: none;
  }
  
  .navbar-logo-title {
    margin-left: 0;
    margin-right: 0;
    justify-content: center;
    flex: 1;
    position: relative;
  }
  
  .navbar-logo {
    position: absolute;
    width: 250px;
    height: 250px;
    left: 50%;
    top: 60px; /* Position remontée pour mode hamburger */
    transform: translate(-50%, -50%);
    pointer-events: auto;
    transition: all 0.3s ease, width 1s ease, height 1s ease, top 1s ease;
  }
  
  /* Logo rétréci quand la navbar est détachée en mode hamburger */
  .navbar-detached .navbar-logo {
    width: 120px;
    height: 120px;
    top: 50%;
  }
  
  /* En mode hamburger, la navbar peut maintenant se détacher aussi */
  .navbar {
    justify-content: space-between;
    padding: 37px 32px;
  }
  
  /* Ajuste le menu mobile pour le mode hamburger */
  .mobile-menu {
    padding-top: calc(37px + 37px + 24px); /* Hauteur de la navbar collée */
    max-height: 100vh;
    top: 0;
  }
}

/* Réduction du logo seulement si manque de hauteur */
@media (max-width: 1700px) and (max-height: 400px) {
  .navbar-logo {
    width: 180px;
    height: 180px;
    top: 107%;
  }
  
  .navbar {
    padding: 25px 32px;
  }
}

/* Adaptation de la navbar pour les écrans plus petits */
@media (max-width: 768px) {
  .navbar-logo {
    width: 250px;
    height: 250px;
  }
  
  .navbar {
    padding: 37px 16px;
  }
}

/* --- RESPONSIVE CATÉGORIES --- */
/* Tablettes - passage en vertical si largeur insuffisante */
@media (max-width: 1024px) {
  .categories-container {
    flex-direction: column; /* Passe en vertical */
  }
  
  /* En mode vertical, le texte prend toute la largeur */
  .animated-text-block {
    width: 100%;
    left: 0;
    transform: none;
  }
  
  .separator {
    width: 100%; /* Séparateurs horizontaux */
    height: 3px;
    background: linear-gradient(90deg, 
      transparent 0%, 
      #FFB3C6 10%, 
      #FF97B1 50%, 
      #FFB3C6 90%, 
      transparent 100%);
  }
  
  .category-title {
    font-size: 4rem;
  }
  
  .category:hover .category-title {
    font-size: 5rem;
  }
  
  .category-description {
    font-size: 1.1rem;
  }
}

/* Smartphones */
@media (max-width: 768px) {
  .category-title {
    font-size: 3rem;
  }
  
  .category:hover .category-title {
    font-size: 3.8rem;
  }
  
  .category-description {
    font-size: 1rem;
  }
}

/* Petits smartphones */
@media (max-width: 480px) {
  .category-title {
    font-size: 2.5rem;
  }
  
  .category:hover .category-title {
    font-size: 3rem;
  }
  
  .category-description {
    font-size: 0.9rem;
  }
}

/* --- LIGNE DE SÉPARATION --- */
.section-separator {
  border: none;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #FFB3C6 50%, transparent 100%);
  margin: 0;
  width: 100%;
}

/* --- SECTION AVIS CLIENTS --- */
.reviews-page {
  height: 100vh;
  width: 100%;
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 40px;
}

.page-layout {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  height: 100%;
  padding: 20px;
  overflow-y: auto;
  overflow-x: hidden;
}

.reviews-container {
  max-width: 1200px;
  width: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  animation: fadeIn 1s ease both;
  overflow: visible;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* --- SECTION STATISTIQUES --- */
.stats-section {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.page-title {
  font-family: 'Allura', cursive;
  font-size: 3.5rem;
  color: #B84867;
  text-align: center;
  margin-bottom: 30px;
  font-weight: 400;
  text-decoration: underline;
  text-decoration-color: #B84867;
  text-underline-offset: 8px;
  text-decoration-thickness: 2px;
}

.rating-overview {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 40px;
  width: 100%;
  justify-content: center;
}

.rating-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.score-number {
  font-size: 4rem;
  font-weight: 700;
  color: #B84867;
  line-height: 1;
}

.stars {
  font-size: 2rem;
  color: #FFB84D;
  letter-spacing: 3px;
}

.reviews-count {
  font-size: 0.95rem;
  color: #666;
  margin-top: 5px;
}

/* --- GRAPHIQUE DES ÉTOILES --- */
.rating-bars {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
  max-width: 500px;
}

.rating-bar {
  display: flex;
  align-items: center;
  gap: 12px;
}

.star-label {
  font-size: 1rem;
  font-weight: 600;
  color: #444;
  min-width: 40px;
}

.bar-container {
  flex: 1;
  height: 12px;
  background: #F0F0F0;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}

.bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #FF97B1 0%, #FFB3C6 100%);
  border-radius: 6px;
  transition: width 1s ease;
  animation: fillBar 1.5s ease forwards;
}

@keyframes fillBar {
  from {
    width: 0 !important;
  }
}

.bar-percentage {
  font-size: 0.9rem;
  font-weight: 600;
  color: #666;
  min-width: 40px;
  text-align: right;
}

/* --- SECTION AVIS --- */
.reviews-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  margin-top: 40px;
}

.section-title {
  font-family: 'Allura', cursive;
  font-size: 2.8rem;
  color: #B84867;
  text-align: center;
  font-weight: 400;
  margin: 40px 0;
  text-decoration: underline;
  text-decoration-color: #B84867;
  text-underline-offset: 8px;
  text-decoration-thickness: 2px;
}

/* --- CARROUSEL D'AVIS --- */
.reviews-carousel {
  position: relative;
  width: 100%;
  max-width: 900px;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.review-card {
  position: absolute;
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s ease;
  transform: scale(0.95);
}

.review-card.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  position: relative;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.reviewer-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.reviewer-name {
  font-weight: 700;
  color: #333;
  font-size: 1.2rem;
}

.review-stars {
  color: #FFB84D;
  font-size: 1.2rem;
  letter-spacing: 2px;
}

.review-date {
  font-size: 0.9rem;
  color: #999;
}

.review-text {
  line-height: 1.8;
  color: #555;
  font-size: 1.05rem;
}

/* --- CONTRÔLES DU CARROUSEL --- */
.carousel-controls {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.carousel-btn {
  background: #FFB3C6;
  color: #fff;
  border: 2px solid transparent;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 151, 177, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn:hover {
  transform: scale(1.1);
  border-color: #FF97B1;
  box-shadow: 0 6px 25px rgba(255, 151, 177, 0.3);
}

.carousel-btn:active {
  transform: scale(0.95);
}

/* --- INDICATEURS DU CARROUSEL --- */
.carousel-indicators {
  display: flex;
  gap: 12px;
  margin-top: 15px;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 151, 177, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator:hover {
  background: rgba(255, 151, 177, 0.6);
  transform: scale(1.2);
}

.indicator.active {
  background: #FF97B1;
  width: 30px;
  border-radius: 6px;
}

/* --- RESPONSIVE AVIS --- */
/* Hauteur d'écran réduite */
@media (max-height: 800px) {
  .stats-section {
    padding: 20px;
    margin-bottom: 20px;
  }
  
  .page-title {
    font-size: 2.8rem;
    margin-bottom: 20px;
  }
  
  .rating-overview {
    margin-bottom: 25px;
  }
  
  .score-number {
    font-size: 3rem;
  }
  
  .stars {
    font-size: 1.5rem;
  }
}

@media (max-width: 1024px) {
  .page-layout {
    padding: 20px;
  }
  
  .rating-overview {
    flex-direction: column;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .page-layout {
    padding: 30px 15px;
  }
  
  .page-title {
    font-size: 2.8rem;
  }
  
  .score-number {
    font-size: 3rem;
  }
  
  .stars {
    font-size: 1.5rem;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
  
  .stats-section {
    padding: 30px 20px;
  }
  
  .review-card {
    padding: 25px;
  }
  
  .carousel-btn {
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .page-layout {
    padding: 20px 10px;
  }
  
  .page-title {
    font-size: 2.2rem;
  }
  
  .score-number {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .review-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .review-card {
    padding: 20px;
  }
  
  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}

/* --- SECTION NEWSLETTER --- */
.newsletter-page {
  min-height: auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px 40px 20px;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.newsletter-container {
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

/* --- ICÔNE --- */
.icon {
  font-size: 4rem;
  color: #fff;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes slideIn {
  from {
    transform: translateX(400px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(400px);
    opacity: 0;
  }
}

/* --- TITRE NEWSLETTER --- */
.newsletter-title {
  font-family: 'Allura', cursive;
  font-size: 3rem;
  color: #B84867;
  text-align: center;
  font-weight: 400;
}

/* --- FORMULAIRE --- */
.form-container {
  display: flex;
  gap: 15px;
  width: 100%;
  max-width: 600px;
  flex-wrap: wrap;
  justify-content: center;
}

.input-field {
  flex: 1;
  min-width: 250px;
  padding: 15px 20px;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.9);
  color: #333;
  outline: none;
  transition: all 0.3s ease;
}

.input-field:focus {
  background: #fff;
  box-shadow: 0 0 15px rgba(184, 72, 103, 0.3);
}

.input-field::placeholder {
  color: #999;
}

.submit-btn {
  padding: 15px 35px;
  background: #FFB3C6;
  color: #fff;
  border: 2px solid transparent;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 151, 177, 0.3);
}

.submit-btn:hover {
  border-color: #FF97B1;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(255, 151, 177, 0.5);
}

.submit-btn:active {
  transform: translateY(0);
}

/* --- CARTES D'INFORMATIONS --- */
.info-cards {
  display: flex;
  gap: 30px;
  width: 100%;
  max-width: 800px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 40px;
}

.info-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 30px;
  flex: 1;
  min-width: 250px;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
}

.card-icon {
  font-size: 2rem;
  color: #B84867;
}

.card-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  letter-spacing: 2px;
}

.card-divider {
  width: 60px;
  height: 3px;
  background: #FFB3C6;
}

.card-text {
  font-size: 0.95rem;
  color: #666;
  text-align: center;
}

/* --- BOUTONS RÉSEAUX SOCIAUX --- */
.social-buttons {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.social-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #FFB3C6;
  color: #fff;
  border: 2px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 151, 177, 0.3);
}

.social-btn:hover {
  border-color: #FF97B1;
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(255, 151, 177, 0.5);
}

/* --- RESPONSIVE NEWSLETTER --- */
@media (max-width: 768px) {
  .newsletter-title {
    font-size: 2.2rem;
  }

  .icon {
    font-size: 3rem;
  }

  .form-container {
    flex-direction: column;
    width: 100%;
  }

  .input-field {
    min-width: 100%;
  }

  .info-cards {
    flex-direction: column;
  }

  .info-card {
    max-width: 100%;
  }
}

/* --- FOOTER --- */
.footer {
  width: 100%;
  background: rgba(255, 218, 227, 0.5);
  backdrop-filter: blur(10px);
  padding: 30px 40px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  scroll-snap-align: start;
  margin-top: 0;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.footer-left {
  flex: 1;
  font-size: 0.9rem;
  color: #666;
}

.footer-left p {
  margin: 0;
}

.footer-center {
  flex: 1;
  text-align: center;
}

.footer-brand {
  font-family: 'Allura', cursive;
  font-size: 2.2rem;
  color: #B84867;
  font-weight: 400;
  margin: 0;
}

.footer-location {
  font-size: 0.95rem;
  color: #666;
  margin-top: 5px;
}

.footer-right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  font-size: 0.9rem;
  color: #666;
}

.footer-right p {
  margin: 0;
}

/* --- RESPONSIVE FOOTER --- */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .footer-left,
  .footer-right {
    justify-content: center;
  }

  .footer-brand {
    font-size: 1.8rem;
  }
}
