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

/* ===================== HERO ===================== */
.hero-unique {
    position: relative;
    width: 100%;
    padding: 160px 80px 130px;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, var(--rose-poudre), transparent 55%),
        radial-gradient(circle at bottom left, #e9e4f2, transparent 60%),
        linear-gradient(180deg, #faf7fb, #f4f1f7);
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: center;
    max-width: 1400px;
    margin: auto;
    position: relative;
}

/* ===== TEXTE ===== */
.hero-left h1 {
    font-size: clamp(48px, 6vw, 78px);
    font-weight: 600;
    letter-spacing: -1.1px;
    line-height: 1.05;
    margin-bottom: 25px;
}

.hero-left h1 span {
    display: inline-block;
    opacity: 0;
    transform: translateY(25px);
    animation: heroLetter 0.6s ease forwards;
    color: var(--noir-doux);
}

.hero-left h1 span:nth-child(odd) {
    color: var(--violet-chic);
}

.hero-left h2 {
    font-size: 26px;
    font-weight: 400;
    color: var(--gris-soie);
    margin-bottom: 15px;
}

.hero-left p {
    font-size: 18px;
    line-height: 1.6;
    color: #555;
    max-width: 520px;
}

/* ===== IMAGE ===== */
.hero-right {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-right: 80px;
}

.hero-right::before {
    content: "";
    position: absolute;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(199,184,214,0.45), transparent 70%);
    filter: blur(80px);
    z-index: -1;
}

.hero-right img {
    width: 420px;
    max-width: 100%;
    border-radius: 28px;
    box-shadow:
        0 30px 60px rgba(0,0,0,0.18),
        0 0 80px rgba(199,184,214,0.35);
    animation: float 6s ease-in-out infinite;
}

/* ===== BOUTON ===== */
.btn-elegant {
    display: inline-block;
    padding: 15px 36px;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: white;
    background: linear-gradient(135deg, var(--lilas-doux), var(--violet-chic));
    border-radius: 999px;
    box-shadow: 0 20px 45px rgba(107,95,165,0.35);
    transition: all 0.35s ease;
}

.btn-elegant:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 60px rgba(107,95,165,0.45);
}

/* ================= RESPONSIVE ================= */

/* TABLETTE */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero-right {
        align-items: flex-start;
    }
}

/* MOBILE */
@media (max-width: 768px) {
    .hero-unique {
        padding: 130px 25px 90px;
    }

    .hero-left h1 {
        font-size: 40px;
    }

    .hero-left h2 {
        font-size: 22px;
    }

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

    .hero-right {
        align-items: flex-start;
    }

}

/* ===================== ANIMATIONS ===================== */
@keyframes heroLetter {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0); }
}
/* ===== FEATURES SECTION ===== */

.features {
    background: transparent;
    padding: 80px 40px; 
    max-width: 1500px;
    margin: auto;
    text-align: center;
}

.features-section {
    padding: 70px 20px;
    text-align: center;
    max-width: 1100px;
    margin: auto;
}

.features-section h2 {
    font-size: 32px;
    margin-bottom: 40px;
    font-weight: 700;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 175px;
}

/* ===== FEATURE ITEM ===== */

.feature-item {
    position: relative;       /* nécessaire pour superposer texte + image */
    width: 100%;
    max-width: 400px;
    margin: auto;
    overflow: hidden;         /* évite débordements pendant animation */
    border-radius: 18px;
    cursor: pointer;
}

.feature-item img {
    width: 100%;
    display: block;
    border-radius: 18px;
    box-shadow: 0 0 25px rgba(0,0,0,0.12);
    transition: transform 0.5s ease, filter 0.5s ease;
}

/* Texte caché sur l’image */
.feature-item p {
    position: absolute;
    top: 50%;                     /* centre verticalement */
    left: 50%;                    /* centre horizontalement */
    transform: translate(-50%, -50%); /* centre parfait */

    margin: 0;
    padding: 20px;

    font-size: 17px;
    line-height: 1.5;
    color: white;
    text-align: center;

    background: none !important;  /* ⬅️ enlève totalement le rectangle */
    opacity: 0;                   
    transition: opacity 0.5s ease, transform 0.5s ease;

    z-index: 2;
    width: 90%;                   /* évite que les phrases longues débordent */
}

/* ===== ANIMATION AU SURVOL ===== */

.feature-item:hover img {
    transform: scale(0.92);       /* l’image se rétrécit */
    filter: brightness(50%);      /* elle s’assombrit */
    border-radius: 50%;   
}

/* ===== ANIMATION AU SURVOL ===== */
.feature-item:hover p {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

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

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

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

.features {
    padding: 60px 20px;
}

.features-grid {
    gap: 70px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: default;
}

/* Image normale */
.feature-item img {
    transform: none !important;
    filter: none !important;
    border-radius: 18px;
}

/* Texte visible sous l’image */
.feature-item p {
    position: static;
    transform: none;
    opacity: 1;

    margin-top: 18px;
    padding: 14px 18px;

    width: 100%;
    max-width: 340px;

    font-size: 15px;
    line-height: 1.55;
    color: #444;
    text-align: center;

    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(6px);
    border-radius: 14px;

    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

/* Désactive le hover mobile */
.feature-item:hover img,
.feature-item:hover p {
    transform: none;
    filter: none;
    opacity: 1;
}
