/* ===================== VARIABLES (FÉMININ / PREMIUM) ===================== */
:root {
    --rose-poudre: #f3e8ee;
    --lilas-doux: #c7b8d6;
    --violet-chic: #6b5fa5;
    --nude-chaud: #faf7fb;
    --gris-soie: #8a8a8a;
    --noir-doux: #1b1b1b;
}

/* ----- GLOBAL ----- */
html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: "Inter", Arial, sans-serif;
    background: linear-gradient(180deg, #faf7fb, #f4f1f7);
    color: var(--noir-doux);
}

/* ===== MENU NAVIGATION ===== */
.header {
    width: 100%;
    padding: 20px 40px;
    position: fixed;
    top: 0;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    z-index: 9999; /* toujours au-dessus des autres éléments */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* optionnel : ombre pour mieux voir le header */
}

.nav-menu {
    display: flex;
    gap: 20px;
    transform: translateX(-50px);
}

.nav-btn {
    font-size: 16px;
    font-weight: 500;
    color: var(--noir-doux);
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: linear-gradient(135deg, var(--lilas-doux), var(--violet-chic));
    color: white;
}

.logo {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 2px;
}

/* ---------------------------------------------------
   SECTION HERO – Titre principal
--------------------------------------------------- */
.faq-hero {
    text-align: center;
    padding: 80px 20px 40px;
}

.faq-hero h1 {
    font-size: 40px;
    font-weight: 300;
    letter-spacing: -0.3px;
}

.faq-hero .subtitle {
    opacity: 0.6;
    font-size: 17px;
}


/* ---------------------------------------------------
   CONTENEUR FAQ – 2 colonnes
--------------------------------------------------- */
.faq-container {
    max-width: 1100px;
    margin: 60px auto;
    padding: 0 20px;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px 30px;
}

/* Sur mobile → 1 colonne */
@media (max-width: 850px) {
    .faq-container {
        grid-template-columns: 1fr;
    }
}


/* ---------------------------------------------------
   ÉLÉMENT FAQ
--------------------------------------------------- */
.faq-item {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
    transition: box-shadow 0.3s ease;

    /* ➕ AJOUT : empêche la colonne voisine de s'étirer */
    align-self: flex-start !important;
}

.faq-item:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.10);
}


/* ---------------------------------------------------
   QUESTION
--------------------------------------------------- */
.faq-question {
    width: 100%;
    text-align: left;
    padding: 18px 20px;
    font-size: 17px;
    font-weight: 600;
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
}

/* Flèche */
.faq-question::after {
    content: "›";
    font-size: 22px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    transition: transform 0.3s ease;
    opacity: 0.6;
}

.faq-question.active::after {
    transform: translateY(-50%) rotate(90deg);
    opacity: 1;
}

.faq-question.active {
    background: #f8f8f9;
}


/* ---------------------------------------------------
   RÉPONSE
--------------------------------------------------- */
.faq-item {
    position: relative; /* nécessaire */
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    background: #ffffff;
    padding: 0 20px;
    transition: max-height 0.35s ease;
    pointer-events: none; /* bloque la souris quand fermé */
}

/* ➕ AJOUT : quand l'item a la classe "open", on active la réponse */
.faq-item.open .faq-answer {
    pointer-events: auto; 
}

.faq-answer p {
    margin: 0;
    padding: 14px 0 20px;
    color: #555;
    line-height: 1.55;
    font-size: 16px;
}

/* ====== FOOTER ====== */
.footer {
    position: relative;
    background: linear-gradient(135deg, #2c2b3a, #3f3d51);
    color: white;
    padding: 60px 40px 30px;
    margin-top: 120px;
    overflow: hidden;
}

/* Grand texte PLUZZ en arrière-plan */
.footer-bg-text {
    position: absolute;
    bottom: -20px;
    right: 10px;
    font-size: 120px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.05);
    pointer-events: none;
    user-select: none;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    z-index: 2;
    position: relative;
}

.footer-col h3 {
    font-size: 18px;
    margin-bottom: 12px;
    font-weight: 600;
}

.footer-col p,
.footer-col a {
    color: #e8e8e8;
    text-decoration: none;
    font-size: 15px;
    transition: 0.3s;
}

.footer-col a:hover {
    opacity: 0.7;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.information {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-copy {
    margin-top: 40px;
    text-align: center;
    font-size: 14px;
    opacity: 0.6;
}

/* ===================== DESKTOP PAR DÉFAUT ===================== */

/* HEADER */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 20px 40px;
    position: fixed;
    top: 0;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e0e0e0;
    z-index: 9999;
}

/* Burger desktop = caché */
.burger {
    display: none;
}

/* Menu desktop */
.nav-menu {
    display: flex;
    gap: 20px;
}

/* Vidéo desktop */
#heroVideo {
    width: 45%;
    height: 550px;
    transform: translateX(-130px) translateY(30px);
}

/* HERO texte desktop */
.hero-text {
    max-width: 50%;
    margin-top: -250px;
    transform: translateX(100px) translateY(60px);
}

/* PRODUCT SECTION desktop */
.product-section {
    position: absolute;
    bottom: 12%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 700px;
    text-align: center;
}

/* ===================== TABLETTE ===================== */
@media (max-width: 1024px) {

    /* HEADER */
    .header {
        padding: 16px 30px;
        justify-content: space-between;
    }

    .nav-menu {
        gap: 14px;
    }

    .hero {
        flex-direction: column;
        padding: 180px 30px 90px;
        text-align: center;
    }

    .hero-text {
        max-width: 90%;
        margin-top: 0;
        transform: none;
    }

    .hero-text h1 {
        font-size: 38px;
        padding-top: 0;
    }

    #heroVideo {
        width: 100%;
        height: 380px;
        transform: none;
        margin: 0 auto;
    }

    .product-section {
        bottom: 4%;
        width: 90%;
    }

    .glass-box {
        padding: 12px 40px;
    }

    .features-grid {
        gap: 90px;
    }

    .feature-item {
        max-width: 380px;
    }
}

/* ===================== SMARTPHONES ===================== */
@media (max-width: 768px) {

    /* Cacher menu desktop */
    .nav-menu {
        display: none;
    }

    /* Afficher burger */
    .burger {
        display: flex;
        flex-direction: column;
        gap: 5px;
        width: 35px;
        height: 28px;
        cursor: pointer;
        background: transparent;
        border: none;
        z-index: 1000;
    }

    .burger span {
        display: block;
        height: 3px;
        width: 100%;
        background: #0a0a0a;
        border-radius: 5px;
    }

    /* HEADER aligné burger + logo */
    .header {
        justify-content: flex-start;
        gap: 15px;
        padding: 10px 20px;
    }

/* MENU MOBILE MODERNE */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0; 
    transform: translateX(-100%); /* complètement hors écran */
    width: 180px; /* moins large */
    height: 100vh;
    background: #fff;
    padding: 50px 15px; /* moins de padding pour resserrer le menu */
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 10000;
    box-shadow: 2px 0 20px rgba(0,0,0,0.15);
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1); /* slide fluide */
}

/* Liens */
.mobile-menu a {
    color: #0a0a0a;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    padding: 8px 0; /* un peu moins de padding vertical */
    transition: color 0.3s ease;
}

.mobile-menu a:hover {
    color: #F0E6F2; /* couleur hover moderne */
}

/* Afficher le menu */
.mobile-menu.open {
    transform: translateX(0); /* glisse dans la fenêtre */
}

/* Fond sombre léger pour overlay */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.25);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease;
    z-index: 9998;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}
    /* HERO */
    .hero {
        padding-top: 140px;
    }

    .hero-text h1 {
        font-size: 32px;
    }

    .hero-text p {
        font-size: 16px;
    }

    #heroVideo {
        width: 100%;
        height: 460px;
        transform: none;
    }

    .product-section h2 {
        font-size: 26px;
    }

    .features {
        padding: 60px 20px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 70px;
    }

    .feature-item p {
        font-size: 15px;
        width: 90%;
    }
}

/* ===================== PETITS SMARTPHONES ===================== */
@media (max-width: 480px) {

    .hero-text h1 {
        font-size: 27px;
    }

    #heroVideo {
        height: 220px;
    }

    .glass-box {
        padding: 10px 25px;
    }

    .product-section h2 {
        font-size: 22px;
    }

    .product-section p {
        font-size: 14px;
    }

    .feature-item {
        max-width: 300px;
    }
}