/* Variables CSS pour les couleurs */
:root {
    --couleur-principale: #FFE2B8;
    --couleur-secondaire: #160F00;
    --couleur-fond: #FFF8EE;
    --couleur-accent: #D4A76A;
    --ombre-douce: 0 8px 25px rgba(22, 15, 0, 0.1);
    --transition-douce: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --degrade-principal: linear-gradient(135deg, #FFE2B8 0%, #FFD699 100%);
    --degrade-secondaire: linear-gradient(135deg, #160F00 0%, #3C2A04 100%);
    --rayon-bordure: 20px;
    --glassmorphism: rgba(255, 255, 255, 0.15);
    --highlight-gradient: linear-gradient(90deg, #D4A76A 0%, #E5BF8F 100%);

    /* === Redéfinition de la variable Bootstrap retirée === */
    /* --bs-body-font-family: 'Poleno', system-ui, ... ; */
}

/* --- Déclaration de la police Poleno --- */

/* Poleno Medium */
@font-face {
  font-family: 'Poleno'; 
  src: /* Chemin relatif depuis public/assets/css/guest/ vers public/assets/fonts/ */
       url('../../fonts/Poleno/Poleno_Medium.woff') format('woff'),
       url('../../fonts/Poleno/Poleno_Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
}

/* Poleno SemiBold */
@font-face {
  font-family: 'Poleno';
  src: url('../../fonts/Poleno/Poleno_SemiBold.woff') format('woff'),
       url('../../fonts/Poleno/Poleno_SemiBold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
}

/* Poleno Bold */
@font-face {
  font-family: 'Poleno';
  src: url('../../fonts/Poleno/Poleno_Bold.woff') format('woff'),
       url('../../fonts/Poleno/Poleno_Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}

/* Poleno ExtraBold */
@font-face {
  font-family: 'Poleno';
  src: url('../../fonts/Poleno/Poleno_ExtraBold.woff') format('woff'),
       url('../../fonts/Poleno/Poleno_ExtraBold.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
}

/* Poleno Black */
@font-face {
  font-family: 'Poleno';
  src: url('../../fonts/Poleno/Poleno_Black.woff') format('woff'),
       url('../../fonts/Poleno/Poleno_Black.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
}

/* Poleno Super */
@font-face {
  font-family: 'Poleno';
  src: url('../../fonts/Poleno/Poleno_Super.woff') format('woff'),
       url('../../fonts/Poleno/Poleno_Super.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
}

/* --- Fin Déclaration Poleno --- */


/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Ajouter html ici */
html {
    height: 100%; /* S'assurer que html prend toute la hauteur */
}

body {
    /* On force la police Poleno avec !important pour surcharger Bootstrap */
    font-family: 'Poleno', Arial, sans-serif !important;
    font-weight: 500; /* On garde la graisse Medium par défaut */
    background: var(--degrade-principal);
    background-attachment: fixed;
    color: var(--couleur-secondaire);
    min-height: 100%; /* Doit correspondre à html height */
    overflow-x: hidden;
    /* Remplacement de Flexbox par Grid pour sticky footer */
    display: grid; /* Utiliser Grid */
    grid-template-rows: auto 1fr auto; /* header=auto, main=1fr, footer=auto */
    /* flex-direction: column; <- Supprimé */
}

/* Style pour bloquer le scroll quand le menu est ouvert */
body.menu-open {
    overflow: hidden;
}

/* Désactiver l'effet de flou et le fond du header quand le menu est ouvert */
body.menu-open header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background-color: transparent; /* Rendre le fond du header transparent */
    box-shadow: none; /* Optionnel: retirer l'ombre aussi */
}

/* Header */
header {
    display: grid;
    grid-template-columns: minmax(auto, 150px) 1fr minmax(auto, 150px); /* Logo (flexible) - Nav (1fr prend l'espace restant) - Panier (flexible) */
    align-items: center;
    gap: 2rem; /* Espace entre les colonnes */
    padding: 0.5rem 5%;
    background: transparent;
    height: 8vh;
    position: sticky;
    top: 0;
    z-index: 998;
    background-color: rgba(255, 226, 184, 0.8);
    box-shadow: 0 2px 10px rgba(22, 15, 0, 0.05);
}

.logo img {
    height: 40px;
    transition: var(--transition-douce);
    display: block;
}

.logo img:hover {
    transform: scale(1.05);
}

/* Menu hamburger */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 110;
}

.mobile-menu-toggle .bar {
    height: 3px;
    width: 100%;
    background-color: var(--couleur-secondaire);
    border-radius: 3px;
    transition: var(--transition-douce);
}

/* Navigation principale */
nav.main-nav {
    display: flex;
    align-items: center;
    justify-content: center; /* Centrer la navigation */
    height: 100%;
}

nav ul {
    display: flex;
    gap: 2rem; /* Réduit de 3rem à 2rem pour plus d'espace */
    list-style: none;
    align-items: center;
    height: 100%;
    margin: 0;
}

/* Panier desktop - à droite */
.desktop-cart {
    display: flex;
    justify-content: flex-end; /* Aligner à droite */
    align-items: center;
}

.desktop-cart a {
    text-decoration: none !important; /* Pas de soulignement */
}

/* Cacher le panier mobile dans le menu sur desktop */
.mobile-only-cart {
    display: none;
}

nav a {
    color: var(--couleur-secondaire);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    transition: var(--transition-douce);
    position: relative;
    padding: 0.3rem 0;
    display: flex;
    align-items: center;
    height: 100%;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--couleur-secondaire);
    transition: var(--transition-douce);
}

/* Pas de soulignement pour l'icône du panier */
nav a.panier-link::after,
.desktop-cart a::after {
    display: none;
}

nav a:hover::after {
    width: 100%;
}

nav a.active::after {
    width: 100%;
}

/* Correction: S'assurer que le sélecteur cible le lien dans le li */
.panier-link {
    margin-left: 0;
    display: flex;
    align-items: center;
    position: relative;
    color: var(--couleur-secondaire) !important; /* Force la couleur noire */
    text-decoration: none !important; /* Pas de soulignement */
}

.panier-icon {
    /* position: relative; */ /* <-- SUPPRIMÉ */
    /* Styles existants pour l'icône si nécessaire */
    font-size: 1.5rem;
    transition: var(--transition-douce);
    display: flex; 
    align-items: center;
}

.panier-link:hover .panier-icon {
    transform: scale(1.1);
}

/* Forcer les styles Font Awesome pour l'icône panier */
.panier-icon i.fas {
    font-family: "Font Awesome 6 Free", "FontAwesome"; /* Inclure alias commun */
    font-weight: 900; /* Poids pour les icônes solides */
    display: inline-block; /* Assurer l'affichage */
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    /* Optionnel: Hériter la couleur du lien parent */
    /* color: inherit; */
}

.panier-count {
    position: absolute;
    top: -1rem; /* <-- AJUSTÉ selon demande */
    left: 1.5rem; /* <-- AJUSTÉ selon demande */
    /* right: -0.5rem; */ /* <-- SUPPRIMÉ */
    /* Styles de base (taille, couleur, etc.) */
    background: var(--couleur-secondaire);
    color: var(--couleur-principale);
    font-size: 0.7rem;
    height: 18px;
    width: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}


/* Main Content */
main {
    /* flex-grow: 1; <- Supprimé (inutile avec Grid) */
}

/* Styles communs pour les sections */
section {
    padding: 1.5rem 0;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

section:nth-child(odd) {
    background-color: var(--couleur-principale);
    background-image:
        radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.4) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.3) 0%, transparent 20%);
}

section:nth-child(even) {
    background-color: var(--couleur-secondaire);
    background-image:
        radial-gradient(circle at 90% 10%, rgba(212, 167, 106, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 10% 90%, rgba(212, 167, 106, 0.1) 0%, transparent 20%);
    color: var(--couleur-principale);
}

section:nth-child(even) .section-title-container h2,
section:nth-child(even) .section-title-container p {
    color: var(--couleur-principale);
}

section:nth-child(even) .section-title-container h2::after {
    background: var(--couleur-principale);
}

/* Section titles */
.section-title-container {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem;
    padding: 0 1.5rem;
}

.section-title-container h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--couleur-secondaire);
    position: relative;
    display: inline-block;
}

.section-title-container h2::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 30%;
    width: 40%;
    height: 3px;
    background: var(--couleur-secondaire);
    border-radius: 3px;
}

.section-title-container p {
    font-size: 1.2rem;
    color: var(--couleur-secondaire);
    opacity: 0.8;
}

/* 1️⃣ Hero Section */
.hero-section {
    padding: 0;
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    background-image: 
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.6) 0%, transparent 35%),
        radial-gradient(circle at 20% 80%, rgba(212, 167, 106, 0.2) 0%, transparent 30%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 6rem;
    height: 100%;
    flex-grow: 1;
    position: relative;
    z-index: 2;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    color: var(--couleur-secondaire);
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.hero-content h1 .highlight {
    background: var(--highlight-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    display: inline-block;
}

.hero-content h1 .highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--highlight-gradient);
    border-radius: 4px;
    opacity: 0.3;
}

.hero-content p {
    font-size: 1.3rem;
    line-height: 1.5;
    color: var(--couleur-secondaire);
    opacity: 0.9;
}

.hero-cta {
    margin-top: 1rem;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-image-decoration {
    position: absolute;
    width: 100%;
    height: 0;
    padding-bottom: 100%; /* Cela crée un cercle parfait */
    background: var(--highlight-gradient);
    opacity: 0.1;
    border-radius: 50%;
    z-index: 0;
    animation: pulse 6s ease-in-out infinite;
    transform: translateZ(0); /* Force l'accélération matérielle pour éviter les bugs d'affichage */
    backface-visibility: hidden; /* Aide à prévenir les bugs graphiques */
    will-change: transform, opacity; /* Aide pour les animations fluides */
}

.hero-image .phone-image {
    position: relative;
    z-index: 1;
    max-width: 100%;
    height: auto;
    max-height: 550px;
    object-fit: contain;
    animation: float 4s ease-in-out infinite;
    filter: drop-shadow(0 30px 30px rgba(22, 15, 0, 0.2));
    transition: all 0.5s ease;
    transform-origin: center;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.1; }
    50% { transform: scale(1.1); opacity: 0.15; }
}

.hero-promo-banner {
    background: var(--couleur-secondaire);
    color: var(--couleur-principale);
    padding: 0.8rem;
    text-align: center;
    font-weight: bold;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(22, 15, 0, 0.1);
    z-index: 10;
}

.hero-promo-banner .promo-text {
    margin-bottom: 0.25rem; /* Petit espace entre les lignes si elles s'empilent */
}

.hero-promo-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 40%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: skewX(-25deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -50%; }
    100% { left: 150%; }
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 1;
    pointer-events: none;
}

.hero-wave svg {
    width: 100%;
    height: 100%;
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin-top: 2rem;
}

.badge {
    background: var(--couleur-secondaire);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--couleur-principale);
    box-shadow: 0 4px 15px rgba(22, 15, 0, 0.15);
    transition: var(--transition-douce);
    border: 1px solid rgba(22, 15, 0, 0.9);
    display: flex;
    align-items: center;
}

.badge-hidden {
    opacity: 0;
    transform: translateY(20px);
}

.badge:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(22, 15, 0, 0.2);
    background: #3C2A04; /* Version plus claire de la couleur secondaire */
}

.badge span {
    font-weight: bold;
    color: var(--couleur-accent);
    margin-right: 4px;
}

/* 2️⃣ Processus Steps */
.process-section {
    position: relative;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.process-step {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: var(--rayon-bordure);
    padding: 2.5rem;
    position: relative;
    transition: var(--transition-douce);
    box-shadow: var(--ombre-douce);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(22, 15, 0, 0.1);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--couleur-secondaire);
    color: var(--couleur-principale);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(22, 15, 0, 0.2);
}

.step-image {
    margin: 0.5rem 0 1.5rem;
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--couleur-principale);
    border-radius: 50%;
    padding: 1rem;
    box-shadow: 0 8px 15px rgba(22, 15, 0, 0.1);
    font-size: 2.5rem;
    color: var(--couleur-secondaire);
    transition: var(--transition-douce);
}

.process-step:hover .step-image {
    transform: scale(1.1);
    background: var(--degrade-principal);
}

section:nth-child(even) .step-image {
    background: rgba(255, 226, 184, 0.2);
    color: var(--couleur-principale);
}

section:nth-child(even) .process-step:hover .step-image {
    background: rgba(255, 226, 184, 0.3);
}

.step-content h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
    color: var(--couleur-secondaire);
}

.step-content p {
    color: var(--couleur-secondaire);
    opacity: 0.9;
    line-height: 1.5;
}

.process-cta {
    text-align: center;
    margin-top: 1.5rem;
}

/* Rendre le bouton "Créer ma coque" plus visible sur fond clair */
.process-cta .btn-principale {
    background: var(--couleur-principale); /* Fond clair */
    color: var(--couleur-secondaire); /* Texte sombre */
    border: 2px solid var(--couleur-secondaire); /* Ajouter une bordure pour le définir */
    box-shadow: 0 6px 12px rgba(22, 15, 0, 0.1); /* Ombre légèrement ajustée */
}

.process-cta .btn-principale:hover {
    background: #fff; /* Fond blanc au survol */
    color: var(--couleur-secondaire); /* Texte sombre */
    border-color: var(--couleur-secondaire);
    box-shadow: 0 8px 15px rgba(22, 15, 0, 0.15);
    transform: translateY(-3px); /* Réduire légèrement le décalage */
}

/* S'assurer que le ::before (effet de survol) ne gêne pas */
.process-cta .btn-principale::before {
    background: rgba(22, 15, 0, 0.05); /* Effet de survol très subtil */
}

/* 3️⃣ Collections */
.collections-section {
    background-attachment: fixed;
}

.collections-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.collection-card {
    background: rgba(255, 233, 201, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: var(--rayon-bordure);
    overflow: hidden;
    box-shadow: var(--ombre-douce);
    transition: var(--transition-douce);
}

section:nth-child(even) .collection-card,
section:nth-child(even) .process-step,
section:nth-child(even) .temoignage-card,
section:nth-child(even) .avantage-card,
section:nth-child(even) .faq-question,
section:nth-child(even) .review-badge {
    background: rgba(255, 226, 184, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

section:nth-child(even) .collection-content h3,
section:nth-child(even) .collection-content p,
section:nth-child(even) .collection-price,
section:nth-child(even) .step-content h3,
section:nth-child(even) .step-content p,
section:nth-child(even) .temoignage-text,
section:nth-child(even) .author-name,
section:nth-child(even) .avantage-card h3,
section:nth-child(even) .avantage-card p,
section:nth-child(even) .badge-logo,
section:nth-child(even) .badge-rating,
section:nth-child(even) .faq-question h3,
section:nth-child(even) .faq-answer p {
    color: var(--couleur-principale);
}

section:nth-child(even) .btn-secondaire {
    color: var(--couleur-principale);
    border-color: var(--couleur-principale);
}

section:nth-child(even) .btn-secondaire:hover {
    background: var(--couleur-principale);
    color: var(--couleur-secondaire);
}

section:nth-child(even) .dot {
    background: rgba(255, 226, 184, 0.3);
}

section:nth-child(even) .dot.active {
    background: var(--couleur-principale);
}

section:nth-child(even) .temoignage-rating,
section:nth-child(even) .badge-stars,
section:nth-child(even) .author-verified {
    color: var(--couleur-accent);
}

section:nth-child(even) .author-avatar {
    background: var(--degrade-principal);
}

/* Ajustement pour la section FAQ */
section:nth-child(even) .faq-question h3::after {
    color: var(--couleur-principale);
}

/* Garantie section - inverser les couleurs puisque maintenant le fond des sections paires est foncé */
section:nth-child(even) .garantie-card {
    background: var(--degrade-principal);
    color: var(--couleur-secondaire);
}

section:nth-child(even) .garantie-card .garantie-icon {
    background: rgba(22, 15, 0, 0.1);
}

/* Réviser la section CTA finale pour qu'elle soit cohérente avec le nouveau schéma de couleurs */
.cta-finale-section {
    background: var(--degrade-principal);
    color: var(--couleur-secondaire);
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-finale-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    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='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23160F00' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.3;
    z-index: -1;
}

.cta-finale-section .btn-principale {
    background: var(--couleur-secondaire);
    color: var(--couleur-principale);
}

.cta-finale-section .btn-principale:hover {
    background: #3C2A04; /* Version un peu plus claire de secondaire */
}

.stock-limited {
    background: rgba(22, 15, 0, 0.1);
    color: var(--couleur-secondaire);
    border-radius: 50px;
    padding: 0.8rem 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* 4️⃣ Témoignages */
.temoignages-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.temoignage-card {
    background: rgba(255, 233, 201, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: var(--rayon-bordure);
    padding: 2rem;
    box-shadow: var(--ombre-douce);
    transition: var(--transition-douce);
    display: flex;
    flex-direction: column;
}

.temoignage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(22, 15, 0, 0.1);
}

.temoignage-rating {
    font-size: 1.4rem;
    color: var(--couleur-accent);
    margin-bottom: 1rem;
}

.temoignage-rating i {
    margin: 0 2px;
}

.temoignage-text {
    font-style: italic;
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 1.5rem;
    color: var(--couleur-secondaire);
}

.temoignage-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    /* Supprimer le cercle en le cachant */
    display: none;
    /* 
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--degrade-secondaire);
    */
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: bold;
    color: var(--couleur-secondaire);
}

.author-verified {
    font-size: 0.8rem;
    color: var(--couleur-accent);
}

.temoignages-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 4rem;
}

.review-badge {
    background: rgba(255, 233, 201, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: var(--rayon-bordure);
    padding: 1.5rem 2.5rem;
    text-align: center;
    box-shadow: var(--ombre-douce);
    transition: var(--transition-douce);
}

.review-badge:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(22, 15, 0, 0.1);
}

.badge-logo {
    font-weight: bold;
    font-size: 1.2rem;
    display: block;
    margin-bottom: 0.5rem;
    color: var(--couleur-secondaire);
}

.badge-rating {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.3rem;
    color: var(--couleur-secondaire);
}

.badge-stars {
    color: var(--couleur-accent);
    letter-spacing: 2px;
}

/* 5️⃣ Avantages & Écologie */
.avantages-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.avantage-card {
    background: rgba(255, 233, 201, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: var(--rayon-bordure);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--ombre-douce);
    transition: var(--transition-douce);
}

.avantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(22, 15, 0, 0.1);
}

.avantage-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.avantage-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--couleur-secondaire);
}

.avantage-card p {
    color: var(--couleur-secondaire);
    opacity: 0.8;
    line-height: 1.5;
}

/* 6️⃣ Garanties */
.garantie-section {
    position: relative;
    z-index: 1;
}

.garantie-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.garantie-card {
    background: var(--degrade-secondaire);
    border-radius: var(--rayon-bordure);
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--ombre-douce);
    transition: var(--transition-douce);
    color: var(--couleur-principale);
}

.garantie-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(22, 15, 0, 0.2);
}

.garantie-icon {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    width: 60px;
    height: 60px;
    line-height: 60px;
    background: rgba(255, 226, 184, 0.2);
    border-radius: 50%;
}

.garantie-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.garantie-card p {
    line-height: 1.5;
    opacity: 0.9;
}

/* FAQ */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.faq-question {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: var(--rayon-bordure);
    margin-bottom: 1.5rem;
    box-shadow: var(--ombre-douce);
    overflow: hidden;
    transition: var(--transition-douce);
}

.faq-question:hover {
    box-shadow: 0 10px 25px rgba(22, 15, 0, 0.1);
}

.faq-question h3 {
    padding: 1.5rem;
    cursor: pointer;
    position: relative;
    margin: 0;
    font-size: 1.2rem;
    color: var(--couleur-secondaire);
}

.faq-question h3::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    transition: var(--transition-douce);
}

.faq-question.active h3::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1.5rem;
}

.faq-question.active .faq-answer {
    max-height: 200px;
    padding-bottom: 1.5rem;
}

.faq-answer p {
    margin: 0;
    line-height: 1.6;
    color: var(--couleur-secondaire);
    opacity: 0.9;
}

/* Boutons */
.btn-principale {
    display: inline-block;
    background: var(--couleur-secondaire);
    color: var(--couleur-principale);
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition-douce);
    box-shadow: 0 8px 15px rgba(22, 15, 0, 0.15);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-principale::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: var(--transition-douce);
    z-index: -1;
}

.btn-principale:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(22, 15, 0, 0.2);
}

.btn-principale:hover::before {
    left: 0;
    width: 100%;
}

.btn-secondaire {
    display: inline-block;
    background: transparent;
    color: var(--couleur-secondaire);
    border: 2px solid var(--couleur-secondaire);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: bold;
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition-douce);
}

.btn-secondaire:hover {
    background: var(--couleur-secondaire);
    color: var(--couleur-principale);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(22, 15, 0, 0.1);
}

/* Footer */
footer {
    background: var(--degrade-secondaire);
    color: var(--couleur-principale);
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 40px;
    filter: brightness(0) invert(1) opacity(0.9);
}

.footer-col p {
    line-height: 1.6;
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

.footer-col h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--couleur-principale);
}

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

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: var(--couleur-principale);
    opacity: 0.8;
    text-decoration: none;
    transition: var(--transition-douce);
}

.footer-col ul li a:hover {
    opacity: 1;
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--couleur-principale);
    opacity: 0.8;
    transition: var(--transition-douce);
    background: rgba(255, 226, 184, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    /* Masquer le texte */
    font-size: 0;
}

.social-links a:hover {
    opacity: 1;
    transform: translateY(-3px);
    background: rgba(255, 226, 184, 0.2);
}

/* Utilisation de pseudo-éléments pour les icônes emoji */
.social-links a[aria-label="Facebook"]::before {
    content: "📱"; /* Remplacez par un vrai SVG ou icône font si possible */
    font-size: 1.2rem;
}

.social-links a[aria-label="Instagram"]::before {
    content: "📸"; /* Remplacez par un vrai SVG ou icône font si possible */
    font-size: 1.2rem;
}

.social-links a[aria-label="Pinterest"]::before {
    content: "📌"; /* Remplacez par un vrai SVG ou icône font si possible */
    font-size: 1.2rem;
}


.payment-methods {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.payment-methods span {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-douce);
}

.payment-methods span:hover {
    background: rgba(255, 255, 255, 0.2);
}

.payment-methods img {
    height: 25px;
    filter: brightness(0) invert(1) opacity(0.9);
}

.footer-bottom {
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 226, 184, 0.1);
}

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

/* --- Styles pour le Footer Minimaliste --- */
.footer-minimal-container {
    display: flex; /* Activer Flexbox */
    justify-content: center; /* Centrer horizontalement */
    align-items: center; /* Centrer verticalement */
    flex-wrap: wrap; /* Permettre le retour à la ligne sur petits écrans */
    gap: 1.5rem; /* Espacement entre les éléments */
    padding: 1rem 1rem; /* Réduire le padding vertical et ajouter horizontal */
    text-align: center; /* Centrer le texte au cas où ça passe à la ligne */
    border-top: 1px solid rgba(255, 226, 184, 0.1); /* Conserver la bordure haute */
}

.footer-minimal-container span {
    /* S'assure que les spans prennent la place nécessaire */
}

.footer-links a,
.social-links-minimal a {
    color: var(--couleur-principale);
    opacity: 0.8;
    text-decoration: none;
    transition: var(--transition-douce);
    margin: 0 0.5rem; /* Espacement horizontal entre les liens/icônes */
}

.footer-links a:hover,
.social-links-minimal a:hover {
    opacity: 1;
}

.social-links-minimal a {
    font-size: 1.1rem; /* Ajuster taille des icônes si besoin */
}
/* --- Fin Styles Footer Minimaliste --- */

/* Media Queries */
@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }

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

    .process-step {
        padding: 2rem;
    }

    .step-image {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 992px) {
    .hero-section {
        min-height: 85vh;
    }

    .hero-container {
        grid-template-columns: 1fr;
        padding: 1rem 4rem;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
        align-items: center;
    }

    .hero-content .hero-cta {
        margin: 0 auto;
    }

    .hero-image {
        order: -1;
        margin-bottom: 2rem;
    }

    .hero-image .phone-image {
        max-height: 450px;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }

    .process-steps,
    .collections-slider,
    .temoignages-container,
    .avantages-container,
    .garantie-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Header actions container (mobile) - Caché sur desktop */
.header-actions {
    display: none;
}

/* Mobile cart icon - Caché sur desktop */
.mobile-cart-icon {
    display: none;
}

@media (max-width: 768px) {
    header {
        padding: 0.8rem 1.5rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    /* Cacher le panier desktop sur mobile */
    .desktop-cart {
        display: none !important;
    }

    /* Afficher le panier dans le menu mobile */
    .mobile-only-cart {
        display: block !important;
    }

    /* Afficher le conteneur d'actions sur mobile */
    .header-actions {
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    /* Icône panier mobile */
    .mobile-cart-icon {
        display: flex;
        align-items: center;
        position: relative;
        color: var(--couleur-secondaire);
        text-decoration: none;
        font-size: 1.5rem;
    }

    .mobile-cart-icon .panier-count {
        position: absolute;
        top: -0.5rem;
        right: -0.5rem;
        background: var(--couleur-secondaire);
        color: var(--couleur-principale);
        font-size: 0.7rem;
        height: 18px;
        width: 18px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
    }

    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-nav {
        position: fixed; /* Important pour le positionnement sur toute la page */
        top: 0;
        right: 0;
        width: 70%; /* Largeur du menu */
        height: 100vh; /* *** MODIFIÉ: Utiliser 100vh pour toute la hauteur de l'écran *** */
        background-color: var(--couleur-principale); /* Fond du menu */
        padding: 6rem 2rem 2rem 0; /* *** MODIFIÉ: Padding gauche retiré *** */
        transform: translateX(100%); /* Cache le menu sur la droite */
        transition: transform 0.3s ease-in-out;
        overflow-y: auto; /* Permet le scroll si le contenu dépasse */
        z-index: 100; /* Au-dessus des autres éléments */
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .main-nav.active {
        transform: translateX(0);
        z-index: 1000;
    }
    
    nav ul {
        flex-direction: column;
        gap: 0;
        width: 100%;
        padding: 0;
    }
    
    nav ul li {
        width: 100%;
    }
    
    nav ul li a {
        display: block;
        padding: 1.5rem 2rem;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(22, 15, 0, 0.1);
    }
    
    nav ul li a::after {
        display: none;
    }
    
    .panier-link {
        margin-left: 0;
        display: flex;
        align-items: center;
        position: relative;
    }
    
    .panier-count {
        position: absolute;
        top: -1rem; /* <-- AJUSTÉ selon demande */
        left: 1.5rem; /* <-- AJUSTÉ selon demande */
        /* right: -0.5rem; */ /* <-- SUPPRIMÉ */
        /* Styles de base (taille, couleur, etc.) */
        background: var(--couleur-secondaire);
        color: var(--couleur-principale);
        font-size: 0.7rem;
        height: 18px;
        width: 18px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
    }
    
    /* Animation du hamburger */
    .mobile-menu-toggle.active {
        /* Donner un z-index supérieur au menu et à l'overlay */
        z-index: 1001;
    }
    .mobile-menu-toggle.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .mobile-menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    /* Overlay du menu */
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(22, 15, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s ease, visibility 0s linear 0.4s;
        z-index: 102;
    }
    
    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
        transition: opacity 0.4s ease;
        z-index: 999;
    }
    
    /* Trust badges sur mobile */
    .hero-content .trust-badges {
        margin-top: 1rem;
        display: none !important;
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
        width: 100%;
    }
    
    /* Hero section mobile */
    .hero-section {
        min-height: auto;
        padding: 0;
    }
    
    .hero-promo-banner {
        padding: 0.6rem;
        font-size: 0.9rem;
        text-align: center;
    }
    
    .hero-container {
        display: flex;
        flex-direction: column;
        padding: 1rem 1.5rem 2rem;
        margin-top: 0;
        gap: 0.5rem;
        position: relative;
        z-index: 5;
    }
    
    .hero-image {
        order: -1;
        transform: scale(0.95);
        margin-bottom: 1.5rem;
        margin-top: 2.0rem;
    }
    
    .hero-image-decoration {
        width: 90%;
        height: 0;
        padding-bottom: 90%;
        left: 5%;
    }
    
    .hero-content {
        text-align: center;
        align-items: center;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-image .phone-image {
        max-height: 320px;
    }
    
    .hero-cta {
        margin-top: 0.5rem;
    }
    
    /* Trust badges masqués */
    .hero-content .trust-badges {
        margin-top: 1rem;
        display: none !important;
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
        width: 100%;
    }
    
    /* Autres styles mobiles qui ont été supprimés */
    .process-steps,
    .collections-slider,
    .temoignages-container,
    .avantages-container,
    .garantie-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-col h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-links {
        justify-content: center;
    }

    .payment-methods {
        justify-content: center;
    }

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

    .section-title-container p {
        font-size: 1rem;
    }

    .avantage-card {
        padding: 1.5rem;
    }

    .temoignages-badges {
        flex-wrap: wrap;
        justify-content: center;
    }

    .temoignage-card,
    .avantage-card,
    .garantie-card {
        padding: 1.5rem;
    }

    .faq-question h3 {
        font-size: 1.1rem;
    }

    /* Masquer les Trust badges en mobile */
    .trust-badges {
        display: none;
    }
}

@media (max-width: 576px) {
    body {
        font-size: 0.9rem;
    }
    
    .hero-section {
        padding: 0;
    }
    
    .hero-container {
        padding: 0.8rem 1rem;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-image {
        transform: scale(0.75);
        margin-top: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-image .phone-image {
        max-height: 280px;
    }
    
    .trust-badges {
        flex-direction: column;
        align-items: center;
        gap: 0.6rem;
    }
    
    .avantage-card, .temoignage-card, .process-step, .garantie-card {
        padding: 1.2rem;
    }
    
    .review-badge {
        width: 100%;
    }
    
    .badge {
        font-size: 0.8rem;
        padding: 0.6rem 1.2rem;
        width: 90%;
        max-width: 280px;
        text-align: center;
        justify-content: center;
    }
    
    .btn-principale, .btn-secondaire {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .faq-question h3 {
        font-size: 1rem;
        padding-right: 2rem;
    }
    
    .faq-question h3::after {
        right: 0.5rem;
    }
    
    .footer-col h3 {
        font-size: 1.2rem;
    }
    
    .hero-image-decoration {
        width: 100%;
        height: 100%;
    }
}

/* Restaurer les styles pour la collection card (assurez-vous qu'ils sont après les media queries si besoin) */
.collection-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px rgba(22, 15, 0, 0.1);
}

.collection-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.collection-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-douce);
    padding: 0;
    margin: 0;
}

.collection-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    background: rgba(22, 15, 0, 0.1);
    transition: var(--transition-douce);
    display: flex;
    justify-content: center;
    align-items: center;
}

.collection-hover img {
    width: 80%;
    height: auto;
    object-fit: contain;
    filter: sepia(0.3);
}

.collection-card:hover .collection-hover {
    opacity: 1;
}

.collection-card:hover .collection-image img {
    transform: scale(1.03);
}

.collection-content {
    border-radius: 0 0 30px 30px;
    padding: 1.5rem;
    text-align: center;
}

.collection-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.collection-content p {
    margin-bottom: 1rem;
    color: var(--couleur-secondaire);
    opacity: 0.8;
    font-size: 0.9rem;
}

.collection-price {
    display: block;
    font-size: 1.4rem;
    font-weight: bold;
    margin: 1rem 0;
    color: var(--couleur-secondaire);
}

.collections-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(22, 15, 0, 0.2);
    cursor: pointer;
    transition: var(--transition-douce);
}

.dot.active {
    background: var(--couleur-secondaire);
    transform: scale(1.2);
}

/* Restaurer les animations CTA */
.cta-finale-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.cta-finale-container h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-finale-container p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-badges {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

.stock-limited {
    background: rgba(22, 15, 0, 0.1);
    color: var(--couleur-secondaire);
    border-radius: 50px;
    padding: 0.8rem 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}


.pulse-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #ff6b6b;
    border-radius: 50%;
    animation: pulse 2s infinite;
    margin-right: 0.3rem;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(255, 107, 107, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 107, 107, 0);
    }
}

/* Styles spécifiques pour le panier dans le header */
header .main-nav ul li:last-child {
    margin-left: auto;
}

@media (max-width: 768px) {
    header .main-nav ul li:last-child {
        margin-left: 0;
    }
}

/* Ajustements finaux pour cohérence */
section:nth-child(even) .collection-content h3,
section:nth-child(even) .collection-content p,
section:nth-child(even) .collection-price,
section:nth-child(even) .step-content h3,
section:nth-child(even) .step-content p,
section:nth-child(even) .temoignage-text,
section:nth-child(even) .author-name,
section:nth-child(even) .avantage-card h3,
section:nth-child(even) .avantage-card p,
section:nth-child(even) .badge-logo,
section:nth-child(even) .badge-rating,
section:nth-child(even) .faq-question h3,
section:nth-child(even) .faq-answer p {
    color: var(--couleur-principale);
}

section:nth-child(even) .author-verified {
     color: var(--couleur-accent);
}

/* Assurer que les titres principaux des sections sombres sont clairs */
section:nth-child(even) .section-title-container h2,
section:nth-child(even) .section-title-container p {
    color: var(--couleur-principale);
}
section:nth-child(even) .section-title-container h2::after {
     background: var(--couleur-principale);
}

/* Assurer couleur des boutons secondaires sur fond sombre */
section:nth-child(even) .btn-secondaire {
    color: var(--couleur-principale);
    border-color: var(--couleur-principale);
}
section:nth-child(even) .btn-secondaire:hover {
    background: var(--couleur-principale);
    color: var(--couleur-secondaire);
}

/* FAQ sur fond sombre */
section:nth-child(even) .faq-question {
    background: rgba(255, 226, 184, 0.1);
}
section:nth-child(even) .faq-question h3 {
    color: var(--couleur-principale);
}
section:nth-child(even) .faq-question h3::after {
    color: var(--couleur-principale);
}
section:nth-child(even) .faq-answer p {
    color: var(--couleur-principale);
    opacity: 0.8;
}

/* Styles pour la section garantie sur fond sombre */
section:nth-child(even) .garantie-card {
    background: var(--degrade-principal);
    color: var(--couleur-secondaire);
}
section:nth-child(even) .garantie-card .garantie-icon {
    background: rgba(22, 15, 0, 0.1);
    color: var(--couleur-secondaire);
}
section:nth-child(even) .garantie-card h3 {
     color: var(--couleur-secondaire);
}
section:nth-child(even) .garantie-card p {
    color: var(--couleur-secondaire);
    opacity: 0.8;
}

/* CTA final (qui est maintenant section:nth-child(odd)) */
.cta-finale-section {
    background: var(--degrade-principal);
    color: var(--couleur-secondaire);
}
.cta-finale-section .btn-principale {
     background: var(--couleur-secondaire);
     color: var(--couleur-principale);
}
.cta-finale-section .btn-principale:hover {
     background: #3C2A04;
}
.stock-limited {
    background: rgba(22, 15, 0, 0.1);
    color: var(--couleur-secondaire);
}

/* === Styles Cartes Collection / Produit Unifiées === */

/* Conteneur pour les produits mis en avant sur la page d'accueil */
.featured-products-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem; /* Espace entre les cartes */
    max-width: 1400px; /* Limiter la largeur max */
    margin: 2rem auto; /* Centrer le conteneur */
    padding: 0 2rem;
    width: 100%;
    box-sizing: border-box;
}

/* Styles unifiés pour les cartes (Utilise maintenant la classe .category-product-card) */
.category-product-card {
    text-align: center;
    height: 100%;
    border-radius: var(--rayon-bordure);
    box-shadow: 0 8px 20px rgba(22, 15, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: var(--couleur-secondaire); /* Fond sombre */
    overflow: hidden;
    position: relative;
    /* Variables pour effet JS */
    --mouse-x: 0px;
    --mouse-y: 0px;
}

.category-product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMDAiIGhlaWdodD0iMjAwIj48ZmlsdGVyIGlkPSJhIiB4PSIwIiB5PSIwIj48ZmVUdXJidWxlbmNlIHR5cGU9ImZyYWN0YWxOb2lzZSIgYmFzZUZyZXF1ZW5jeT0iLjAwOSIgbnVtT2N0YXZlcz0iNSIvPjxmZUNvbG9yTWF0cml4IHZhbHVlcz0iMCAwIDAgMC4xIDAgMCAwIDAgMC4wNSAwIDAgMCAwIDAuMDMgMCAwIDAgMCAwLjAyIDEiLz48L2ZpbHRlcj48cmVjdCB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCIgZmlsdGVyPSJ1cmwoI2EpIiBvcGFjaXR5PSIwLjA1Ii8+PC9zdmc+');
    opacity: 0.07;
    z-index: 0;
    pointer-events: none;
    border-radius: 20px;
}

.category-product-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--degrade-principal);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-product-card:hover::after {
    transform: scaleX(1);
}

/* Effet de surbrillance JS */
.category-product-card .highlight-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--rayon-bordure);
    background: radial-gradient(circle at var(--mouse-x) var(--mouse-y), rgba(255, 226, 184, 0.15) 0%, rgba(255, 255, 255, 0) 50%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: 1;
}

.category-product-card:hover .highlight-effect {
    opacity: 1;
}

.category-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(22, 15, 0, 0.08);
}

/* Section Image de la carte */
.category-product-card .collection-image {
    height: 220px; /* Ajuster si besoin pour la homepage */
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #FFFBF4 0%, #FFF0D9 100%); /* Dégradé beige moderne */
    border-bottom: 1px solid rgba(22, 15, 0, 0.05);
    border-radius: var(--rayon-bordure) var(--rayon-bordure) 0 0;
}

.category-product-card .collection-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease; /* Transition uniquement sur transform */
}

.category-product-card:hover .collection-image img {
    transform: scale(1.03);
}

/* Overlay de survol */
.category-product-card .collection-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(22, 15, 0, 0.2), rgba(22, 15, 0, 0.6));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.category-product-card:hover .collection-hover {
    opacity: 1;
    pointer-events: auto;
}

/* Bouton dans l'overlay */
.category-product-card .collection-hover .btn-secondaire {
    position: relative;
    z-index: 10;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.4s ease 0.1s, opacity 0.4s ease 0.1s;
}

.category-product-card:hover .collection-hover .btn-secondaire {
    transform: translateY(0);
    opacity: 1;
}

/* Section Contenu de la carte (style footer) */
.category-product-card .collection-content {
    background: var(--couleur-secondaire);
    border-top: 1px solid var(--couleur-accent);
}

.category-product-card .collection-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--couleur-principale);
    margin-bottom: 0.5rem;
    text-align: left;
    position: relative;
    padding-bottom: 0.3rem;
}

.category-product-card .collection-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--couleur-accent);
}

.category-product-card .collection-content p {
    font-size: 0.85rem;
    line-height: 1.5;
    color: rgba(255, 226, 184, 0.8);
    margin-bottom: 0.8rem;
    text-align: left;
    /* Limiter le nombre de lignes si nécessaire */
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Limite à 2 lignes */
    -webkit-box-orient: vertical;  
    overflow: hidden;
    text-overflow: ellipsis;
}

.category-product-card .collection-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--couleur-accent);
    margin: 0.5rem 0 0;
    text-align: left;
    display: block;
}

/* --- Fin Styles Cartes Unifiées --- */

/* --- Styles Spécifiques Cartes Accueil --- */

/* Conteneur inchangé */
/* .featured-products-container { ... } */

/* Cibler les cartes spécifiques de l'accueil */
.featured-products-container .featured-card {
    height: 100%;
    background: var(--couleur-secondaire);
    cursor: pointer;
    position: relative;
}

/* Lien qui couvre toute la carte pour la rendre cliquable */
.featured-card-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    text-decoration: none;
}

/* Appliquer la hauteur spécifique à l'image sur l'accueil */
.featured-products-container .featured-card .collection-image {
    height: 400px;
    background: linear-gradient(135deg, #FFFBF4 0%, #FFF0D9 100%);
    border-radius: var(--rayon-bordure) var(--rayon-bordure) 0 0;
    border-bottom: 1px solid rgba(22, 15, 0, 0.05);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.featured-products-container .featured-card .collection-image img {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
}

/* Cacher l'overlay de survol spécifiquement pour ces cartes */
.featured-products-container .featured-card .featured-hover-disabled {
    display: none !important;
}

.featured-products-container .featured-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(22, 15, 0, 0.08);
}

/* Contenu spécifique - ajustements - COULEURS INVERSÉES */
.featured-products-container .featured-content {
    padding: 1rem;
    text-align: left;
    border-top: 1px solid var(--couleur-accent);
    background: var(--couleur-principale) !important; /* Fond clair au lieu de sombre */
    position: relative;
    z-index: 1;
}

/* Titre spécifique */
.featured-products-container .featured-content h3 {
    font-size: 1.3rem;
    text-align: left;
    color: var(--couleur-secondaire) !important; /* Texte sombre au lieu de clair */
    margin-bottom: 0.5rem;
    padding-bottom: 0;
    font-weight: 700;
}

.featured-products-container .featured-content h3::after {
    display: none;
}

/* Description dans les cartes featured */
.featured-products-container .featured-content .featured-description {
    font-size: 0.9rem;
    color: var(--couleur-secondaire);
    opacity: 0.8;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

/* Bouton "Voir le produit" dans les cartes featured (élément visuel non-cliquable) */
.featured-products-container .featured-content .btn-view-featured {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--couleur-secondaire), #3C2A04);
    color: var(--couleur-principale);
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
    pointer-events: none; /* Non-cliquable car la carte entière est cliquable */
}

.featured-products-container .featured-card:hover .btn-view-featured {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(22, 15, 0, 0.25);
}

.featured-products-container .featured-content .btn-view-featured i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.featured-products-container .featured-card:hover .btn-view-featured i {
    transform: translateX(3px);
}

/* Style du nouveau bouton - Supprimé car plus dans la carte */
/* .featured-products-container .btn-view-collections { ... } */

/* Nouveau conteneur pour le bouton sous la grille */
.featured-products-cta {
    text-align: center;
    margin-top: 3rem;
    padding-bottom: 2rem;
}

/* Style spécifique pour le bouton de cette section - couleurs inversées pour la lisibilité */
.featured-products-cta .btn-principale {
    background: var(--couleur-principale) !important; /* Fond clair */
    color: var(--couleur-secondaire) !important; /* Texte sombre */
    border: 2px solid var(--couleur-secondaire);
}

.featured-products-cta .btn-principale:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(22, 15, 0, 0.15);
}

/* --- Fin Styles Spécifiques Cartes Accueil --- */

/* Desktop : afficher seulement les 3 premiers produits */
.featured-products-container .featured-card:nth-child(n+4) {
    display: none;
}

/* Responsive pour le conteneur featured */
@media (max-width: 992px) {
    .featured-products-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Classes utilitaires pour l'affichage conditionnel */
/* Par défaut (desktop) : on affiche .desktop-only et on cache .mobile-only */
.desktop-only {
    display: inline; /* ou block selon le contexte */
}
.mobile-only {
    display: none !important; /* Caché sur desktop par défaut */
}

/* Styles pour les tablettes et en dessous */
@media (max-width: 768px) {
    /* On cache .desktop-only */
    .desktop-only {
        display: none !important;
    }
    
    /* On affiche .mobile-only */
    .mobile-only {
        display: inline !important; /* Affiché sur mobile */
    }

    /* ... Reste des styles pour max-width: 768px ... */
}
/* FIN */

@media (max-width: 768px) {
    /* Mobile : afficher les 5 produits */
    .featured-products-container .featured-card:nth-child(n+4) {
        display: flex;
    }

    /* Wrapper pour l'effet de fade */
    .collections-section {
        position: relative;
        overflow-x: hidden;
        width: 100%;
    }

    /* Transformer le conteneur en slider horizontal */
    .featured-products-container {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        gap: 1.5rem;
        padding: 0 1rem 1rem 1rem;
        margin: 2rem 0;
        -webkit-overflow-scrolling: touch; /* Smooth scrolling sur iOS */
        scrollbar-width: none; /* Firefox */
        max-width: 100vw;
        width: 100%;
    }

    /* Cacher la scrollbar */
    .featured-products-container::-webkit-scrollbar {
        display: none; /* Chrome, Safari */
    }

    /* Chaque carte prend 70% de la largeur de l'écran */
    .featured-products-container .featured-card {
        flex: 0 0 70%;
        scroll-snap-align: center;
        background: var(--couleur-secondaire);
        box-shadow: 0 8px 20px rgba(22, 15, 0, 0.06);
        border-radius: var(--rayon-bordure);
    }

    /* Ajuster la hauteur de l'image pour mobile */
    .featured-products-container .featured-card .collection-image {
        height: 220px;
        background: linear-gradient(135deg, #FFFBF4 0%, #FFF0D9 100%);
        border-radius: var(--rayon-bordure) var(--rayon-bordure) 0 0;
        border-bottom: 1px solid rgba(22, 15, 0, 0.05);
    }

    /* Ajuster la taille du titre et espacement sur mobile */
    .featured-products-container .featured-content {
        padding: 0.75rem;
    }

    .featured-products-container .featured-content h3 {
        font-size: 1.1rem;
        margin-bottom: 0.4rem;
    }

    .featured-products-container .featured-content .featured-description {
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
    }

    /* Ajuster l'espacement du bouton */
    .featured-products-cta {
        margin-top: 2rem;
        padding-bottom: 1rem;
    }
}