/* ===================== 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;
}

  /* ----- PAGE PRODUIT ----- */

  .product-hero {
    text-align: center;
    padding: 60px 20px 20px;
}

.product-hero h1 {
    font-size: 42px;
    font-weight: 300;
}

.product-hero .subtitle {
    opacity: 0.7;
    margin-top: 10px;
}
/* ----- VIDEO ----- */

/* ===== SECTION VIDÉO + STORYTELLING ===== */

.video-storytelling {
    padding: 80px 5%;
    background: #f8f8f8;
}

.story-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    max-width: 1400px;
    margin: auto;
}

.story-video video {
    width: 100%;
    max-width: 900px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    margin-left: 0; /* valeur par défaut pour mobiles */
}

/* COLONNE TEXTE */
.story-text {
    max-width: 600px;
}

.story-text h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: #111;
}

.story-text p {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #333;
    margin-bottom: 18px;

    /* transition élégante au scroll */
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s ease forwards;
}

/* petit délai progressif pour chaque paragraphe */
.story-text p:nth-child(2) { animation-delay: 0.2s; }
.story-text p:nth-child(3) { animation-delay: 0.4s; }
.story-text p:nth-child(4) { animation-delay: 0.6s; }
.story-text p:nth-child(5) { animation-delay: 0.8s; }

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

/* ===== RESPONSIVE ===== */
/* GRAND ÉCRAN : garder le décalage */
@media (min-width: 901px) {
    .story-video video {
        margin-left: -50px; /* effet stylé uniquement sur PC */
    }
}

/* RESPONSIVE MOBILE : annuler le margin-left et centrer */
@media (max-width: 900px) {
    .story-container {
        flex-direction: column;
        gap: 40px;
    }

    .story-video video {
        max-width: 100%;  /* s'assure que la vidéo ne dépasse jamais le conteneur */
        margin-left: 0;   /* supprime le décalage sur mobile */
    }

    .story-text h2,
    .story-text p {
        text-align: center;
    }
}

/* ----- GALLERY ----- */

/* --- Section galerie --- */
.product-gallery {
    text-align: center;
    padding: 40px 20px;
}

/* Conteneur : affiche 4 images sans dépasser */
.gallery-wrapper {
    width: 100%;
    overflow: hidden;
    max-width: 1500px;
    margin: auto;
}

/* Ligne d’images qui défile */
.gallery-track {
    display: flex;
    gap: 20px;
    animation: scrollGallery 22s linear infinite;
}

/* 4 images visibles toujours */
.gallery-track img {
    flex: 0 0 calc(25% - 20px); /* 4 images parfaitement réparties */
    height: 250px;
    width: 100%;
    object-fit: cover;

    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
}

/* Animation horizontale */
@keyframes scrollGallery {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%); /* Défile exactement un "set" d’images */
    }
}

/* ----- FEATURES GRID PREMIUM ----- */

.product-features {
    padding: 60px 20px;
}

.product-features h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 36px;
    font-weight: 300;
    letter-spacing: 1px;
}

.feature-grid {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.feature-card {
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.12);
}

.feature-card .icon {
    font-size: 32px;
    margin-bottom: 10px;
    opacity: 0.9;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 8px;
    font-weight: 400;
}

.feature-card p {
    font-size: 15px;
    line-height: 1.5;
    opacity: 0.85;
}

/* ================= PRODUCT DETAILS ================= */
/* ===== ACCORDION ===== */
.accordion {
    border-bottom: 1px solid #ddd;
    margin-bottom: 10px;
}

.accordion-header {
    width: 100%;
    background: #f8f8f8;
    padding: 15px 20px;
    border: none;
    outline: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    transition: background 0.3s ease;
}

.accordion-header:hover {
    background: #ececec;
}

.chevron {
    transition: transform 0.3s ease;
}

/* Contenu */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s ease;
    background: #fff;
    border-radius: 0 0 12px 12px;
}

.table-wrapper {
    padding: 15px 20px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

.accordion-content ul {
    list-style: none;
    padding: 0;
}

.accordion-content li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
}

.accordion-content li:last-child {
    border-bottom: none;
}

/* Chevron rotation */
.accordion.open .chevron {
    transform: rotate(180deg);
}

/* ======= CARACTÉRISTIQUES – GRID DE 8 CERCLES ======= */
.caract-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 20px;
    padding: 20px 10px;
}

.caract-item {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: float 4s ease-in-out infinite;
}

/* Animation légère premium */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
    100% { transform: translateY(0px); }
}

.caract-item:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 18px rgba(0,0,0,0.1);
}

/* ======= CONTENU DE LA BOÎTE – 2 COLONNES ======= */
/* Nouvelle version visuelle des colonnes */
.contenu-columns.upgraded {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    padding: 25px;
}

.pack-card {
    background: #ffffff;
    padding: 25px 25px 30px;
    border-radius: 18px;
    border: 1px solid #e5e5e5;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    transition: 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Effet hover premium */
.pack-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 35px rgba(0,0,0,0.12);
}

/* Ligne colorée premium sur le côté */
.pack-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(180deg, #6e8ffb, #4c64f4);
    border-radius: 6px 0 0 6px;
    opacity: 0.8;
}

/* Version Pack Lite avec couleur différente */
.pack-card.lite::before {
    background: linear-gradient(180deg, #b4f7d5, #53da9b);
}

.pack-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.pack-card ul {
    list-style: none;
    padding: 0;
}

.pack-card ul li {
    padding: 10px 0;
    border-bottom: 1px solid #ececec;
    font-size: 0.95rem;
    display: flex;
    gap: 10px;
    align-items: center;
}

.pack-card ul li:last-child {
    border-bottom: none;
}

@media(max-width: 650px){
    .contenu-columns.upgraded {
        grid-template-columns: 1fr;
    }
}

/* Version mobile */
@media(max-width: 650px){
    .contenu-columns {
        grid-template-columns: 1fr;
    }

    .caract-item {
        width: 100px;
        height: 100px;
        font-size: 0.8rem;
    }
}

/* CONTAINER PRINCIPAL */
.final-cta-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    background: linear-gradient(135deg, #ffffff, #f3f5ff);
    padding: 50px;
    border-radius: 22px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.08);

    max-width: 1200px;
    margin: 60px auto;
    overflow: hidden;
    flex-wrap: wrap; /* >>> empêche tout chevauchement */
}

/* IMAGE */
.cta-image-row {
    width: 350px;
    max-width: 100%;
    border-radius: 18px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    flex-shrink: 0;     /* empêche l'image d'être écrasée */
    animation: float 4s ease-in-out infinite;
}

/* TEXTE */
.cta-text {
    flex: 1;
    min-width: 280px;  /* >>> garantit toujours un retour à la ligne propre */
    max-width: 550px;
}

/* Titre */
.cta-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 15px;
    color: #111;
}

/* Accroche */
.cta-sub {
    font-size: 18px;
    color: #444;
    margin-bottom: 30px;
    line-height: 1.5;
}

/* Bouton */
.cta-button {
    display: inline-block;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    color: white;
    background: linear-gradient(135deg, #6b5fa5, #a29bc7);
    border-radius: 999px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.35);
}

/* Bouton élégant */
.btn-elegant {

}

.btn-elegant:hover {

}
/* ANIMATIONS */
@keyframes float {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(-8px); }
    100% { transform: translateY(0); }
}

/* RESPONSIVE TABLETTE */
@media (max-width: 1000px) {
    .final-cta-row {
        gap: 40px;
        padding: 40px;
    }

    .cta-title {
        font-size: 28px;
    }
}

/* RESPONSIVE MOBILE */
@media (max-width: 700px) {
    .final-cta-row {
        flex-direction: column; /* >>> image en haut, texte en bas */
        text-align: center;
        padding: 30px;
    }

    .cta-image-row {
        width: 250px; /* image plus petite en mobile */
    }

    .cta-text {
        max-width: 100%;
    }

    .cta-button {
        width: 100%;
        max-width: 260px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .tab-btn {
        flex: 1 1 45%;
        text-align: center;
        padding: 10px;
        font-size: 14px;
    }

    .product-purchase {
        gap: 20px;
    }

    .product-purchase img {
        max-width: 100%;
    }
}

/* DECOUVRIR PRODUIT */
.discover-product {
    padding: 60px 20px;
    background-color: #f9f9f9;
}

.discover-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
    flex-wrap: wrap;
}

.discover-text {
    flex: 1 1 400px;
}

.discover-text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #222;
}

.discover-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #444;
}

.discover-image, .discover-image1 {
    flex: 1 1 200px;
    text-align: center;
}

.discover-image img, .discover-image1 img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Classe pour inverser texte / image */
.discover-reverse {
    flex-direction: row-reverse;
}

/* Responsive */
@media (max-width: 768px) {
    .discover-container {
        flex-direction: column;
        text-align: center;
    }

    .discover-text, .discover-image, .discover-image1 {
        flex: 1 1 100%;
    }

    .discover-text h2 {
        font-size: 1.8rem;
    }

    .discover-text p {
        font-size: 1rem;
    }
}

/* ====== 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;
}



.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;
    }
}