/* =========================================
   1. SURCHARGE HERO (Voile & Contenu)
   ========================================= */
   .hero-section .hero-overlay {
    z-index: 1 !important; 
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.8));
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
}

.hero-section .hero-content {
    z-index: 2 !important; 
    position: relative;
}

/* =========================================
   2. BOUTONS STYLE "LUXE"
   ========================================= */
.cta-button {
    display: inline-block;
    padding: 16px 45px;      
    border-radius: 50px;     
    text-decoration: none;
    font-family: 'Montserrat', sans-serif; 
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;   
    font-size: 0.85rem;
    margin-top: 35px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    z-index: 10; 
}

.cta-button.primary {
    background-color: #ffffff;
    color: #000000;
    border: 1px solid #ffffff;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.cta-button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    background-color: #f2f2f2; 
}

.cta-button.secondary {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.cta-button.secondary:hover {
    background-color: #ffffff;
    color: #000000;
    border-color: #ffffff;
}


/* =========================================
   2. CARTE PRODUIT VEDETTE (HOME)
   ========================================= */
   .featured-home {
    padding: 80px 5%;
    background: #ffffff; /* Fond blanc pour faire ressortir le produit */
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 50;
    scroll-margin-top: 100px; 
}

.featured-card-wrapper {
    display: flex;
    flex-direction: row;
    background: #fff;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    max-width: 1100px;
    width: 100%;
    overflow: hidden;
    border: 1px solid #f0f0f0;
}

.feat-img {
    flex: 1.2;
    background: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: relative;
}

.feat-img img { 
    width: 100%; 
    max-width: 450px; 
    object-fit: contain;
    border-radius: 12px;
    /* Transition douce (durée et style de mouvement) */
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* 2. L'effet de zoom quand on passe la souris sur la CARTE entière */
.featured-card-wrapper:hover .feat-img img {
    transform: scale(1.08); /* Zoom de 8% */
}
.feat-details {
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feat-details h2 { font-size: 2.4rem; color: #111; font-weight: 800; margin: 10px 0; }
.feat-subtitle { color: #c9a473; font-weight: 600; margin-bottom: 25px; }

.quick-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.quick-features li {
    position: relative;
    padding-left: 32px; /* On crée l'espace pour l'icône à gauche */
    margin-bottom: 15px;
    font-size: 0.95rem;
    line-height: 1.5; /* Meilleure lecture sur mobile */
    color: #444;
    text-align: left;
}

.quick-features li svg {
    position: absolute;
    left: 0;
    top: 2px; /* On ajuste l'icône à la main pour qu'elle soit face à la 1ère ligne */
    width: 20px;
    height: 20px;
    color: #c9a473;
}

/* Optionnel : pour que le texte soit un peu plus noir et lisible */
.quick-features li strong {
    color: #000;
    font-weight: 700;
}

.feat-price-box { margin-bottom: 25px; }
.feat-price { font-size: 2.2rem; font-weight: 900; color: #000; display: block; }
.feat-shipping { font-size: 0.85rem; color: #27ae60; font-weight: 600; }

/* =========================================
   3. BÉNÉFICES (Correction Case & Écrasement)
   ========================================= */
   .benefits-section {
    position: relative;
    z-index: 1;
    padding: 100px 5%;
    max-width: 1400px;
    margin: 0 auto;
    background-color: #0a0a0a;
    clear: both; /* Sécurité supplémentaire */
}

.benefits-grid {
    display: grid;
    /* Garde les cartes à une taille fixe minimum pour éviter l'écrasement */
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.benefit-item {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 60px 35px 40px; /* Plus d'espace en haut */
    text-align: left;
    overflow: hidden; /* Emprisonne l'animation à l'intérieur */
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Pousse le texte vers le bas */
}

/* --- SOLUTION POUR SUPPRIMER LA "CASE" --- */
.pixel-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Derrière le texte */
    pointer-events: none;
    
    /* Le masque permet de fondre l'animation : 
       Visible en haut, disparait avant d'arriver au texte */
    -webkit-mask-image: linear-gradient(to bottom, 
        rgba(0,0,0,1) 0%, 
        rgba(0,0,0,0.5) 50%, 
        rgba(0,0,0,0) 100%);
    mask-image: linear-gradient(to bottom, 
        rgba(0,0,0,1) 0%, 
        rgba(0,0,0,0.5) 50%, 
        rgba(0,0,0,0) 100%);
    
    opacity: 1.2; /* Opacité réduite pour le côté Luxe */
}

.card-content {
    position: relative;
    z-index: 2; /* Force le texte au-dessus des pixels */
}

.benefit-item:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: #c9a473; /* Ton doré ADN */
    transform: translateY(-10px);
}

.benefit-item h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.benefit-item h3::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background: #c9a473; /* Petite ligne dorée */
    margin-top: 10px;
}

.benefit-item p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #bcbcbc;
}

/* --- RESPONSIVE MOBILE --- */
@media (max-width: 900px) {
    .benefits-section {
        padding: 60px 5%;
    }
    .benefits-grid {
        grid-template-columns: 1fr; /* Une seule colonne sur mobile */
        max-width: 400px;
        margin: 0 auto;
    }
    .benefit-item {
        min-height: auto;
        padding: 40px 30px;
    }
}
/* =========================================
   4. BRAND STATEMENT (Manifeste)
   ========================================= */
.brand-statement {
    position: relative;
    z-index: 50;
    background-color: #000000;
    width: 100%;
    padding: 60px 5% 80px;
    margin-top: 0;
    text-align: center;
    box-shadow: 0 -20px 50px rgba(0,0,0,1);
}

.brand-statement .container { max-width: 800px; margin: 0 auto; }

.brand-statement h2 {
    font-size: 2.5rem; font-weight: 800; margin-bottom: 25px; color: #ffffff;
}

.brand-statement p {
    font-size: 1.1rem; line-height: 1.8; color: #ffffff; font-weight: 300;
}

/* =========================================
   5. CONVERSION SECTION (Fin de page)
   ========================================= */
.conversion-section {
    background-color: #000000;
    color: #ffffff;
    padding: 0 5% 100px; 
    text-align: center;
    position: relative;
    z-index: 50;
}

.conversion-content {
    max-width: 650px;
    margin: 0 auto;
    padding-top: 60px;
    border-top: 1px solid rgba(255,255,255,0.15); 
}

.conversion-content h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 300;
    letter-spacing: 1px;
}

.conversion-content p {
    color: #ffffff;
    margin: 0 auto 10px auto;
    line-height: 1.6;
    font-size: 1rem;
}

/* =========================================
   6. RESPONSIVE HOME
   ========================================= */
@media (max-width: 1200px) {
    .benefits-section { margin-top: -150px; }
}

@media (max-width: 900px) {
    .benefits-section {
        margin-top: 0; 
        background: #0a0a0a;
        padding-top: 40px;
        padding-bottom: 40px;
    }
    .benefits-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
    .brand-statement { box-shadow: none; padding-top: 40px; }
    .cta-button { width: 100%; text-align: center; box-sizing: border-box; }
}
/* --- CORRECTIF CARTE PRODUIT MOBILE --- */
@media (max-width: 900px) {
    .featured-card-wrapper {
        flex-direction: column !important;
        border-radius: 20px;
        margin: 0 auto;
    }

    .feat-img {
        width: 100%;
        height: 400px;
        padding: 10px;
        /* --- AJOUT POUR LE CENTRAGE --- */
        display: flex;
        justify-content: center; /* Centre horizontalement */
        align-items: center;     /* Centre verticalement dans les 300px de hauteur */
    }

    .feat-img img {
        max-width: 380px;
        /* --- SÉCURITÉ --- */
        max-height: 100%; /* S'assure que l'image ne dépasse pas en hauteur */
        object-fit: contain; /* Garde le ratio de l'image intact */
    }

    .feat-details {
        width: 100%;
        padding: 30px 20px;
        text-align: center;
    }

    .feat-details h2 {
        font-size: 1.8rem;
    }

    .quick-features li {
        justify-content: center;
        font-size: 0.9rem;
    }

    .feat-price {
        font-size: 1.8rem;
        margin: 15px 0;
    }
}
/* =========================================
   CASE LIVRAISON DYNAMIQUE (UNIFIÉE)
   ========================================= */

/* Structure de base (commune aux deux pages) */
.shipping-badge-dynamic {
    padding: 16px;
    border-radius: 12px;
    margin-top: 20px;
    margin-bottom: 20px;
    text-align: left;
}

/* --- VERSION ACCUEIL (FOND CLAIR) --- */
.featured-home .shipping-badge-dynamic {
    background: rgba(0, 0, 0, 0.03); /* Gris très léger */
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.featured-home .ship-header { color: #888; }
.featured-home .ship-status { color: #111; }
.featured-home .ship-sub { color: #999; }

/* --- VERSION PRODUIT (FOND SOMBRE / GLASS) --- */
.product-page .shipping-badge-dynamic {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.product-page .ship-header { color: rgba(255, 255, 255, 0.6); }
.product-page .ship-status { color: #ffffff; }
.product-page .ship-sub { color: rgba(255, 255, 255, 0.4); }

/* --- ÉLÉMENTS INTERNES --- */
.ship-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.ship-header svg { color: #c9a473; width: 16px; }

.ship-status {
    font-size: 1.05rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ship-status.free {
    color: #4caf50; /* Vert pour la gratuité */
}

.ship-sub {
    font-size: 0.8rem;
    margin-top: 4px;
}
/* Style du badge promo sur l'image */
#home-product-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
}
.comparison-section {
    padding: 60px 20px;
    background: #0a0a0a;
    color: #fff;
    /* FIX : Empêche d'être recouvert par les bénéfices */
    position: relative;
    z-index: 20; 
}

.comparison-container {
    max-width: 1000px;
    margin: 0 auto;
    overflow-x: auto;
    border-radius: 15px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 15px;
    overflow: hidden;
}

/* FIX INTERMÉDIAIRE : On applique la largeur mini UNIQUEMENT au dessus du mobile */
@media (min-width: 769px) {
    .comparison-table {
        min-width: 850px; 
    }
}

.comparison-table th, .comparison-table td {
    padding: 20px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.comparison-table th {
    background: rgba(255, 255, 255, 0.03);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
    color: #888;
}

/* Mise en avant de la colonne Dreamini */
.col-dreamini {
    background: rgba(201, 164, 115, 0.08);
    border-left: 1px solid rgba(201, 164, 115, 0.2);
    border-right: 1px solid rgba(201, 164, 115, 0.2);
    color: #fff;
    font-weight: 600;
}

.comparison-table th.col-dreamini {
    color: #c9a473;
    font-size: 0.9rem;
}

.check-icon { color: #c9a473; font-weight: bold; }
.x-icon { color: #555; }

/* VERSION MOBILE (Inchangée comme demandé) */
@media (max-width: 768px) {
    .comparison-table { font-size: 0.85rem; }
    .comparison-table th, .comparison-table td { padding: 8px 5px; }
}