:root {
    --pink: #e72485;
    --dark: #1c1c1c;
    --light: #f5f5f5;
    --text: #333;
}

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

body {
    font-family: "ProzaLibre" ;
    background: var(--light);
    color: var(--text);
}

/* Layout */
.container {
    width: 90%;
   /*  max-width: 1200px; */
    margin: auto;
    font-family: "ProzaLibre" ;
}

/* Header */
.header {
    background: white;
    color: white;
    padding: 20px 0;
    font-family: "ProzaLibre" ;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-left:10px;
    margin-right:30px;
    
}

.logo {
    font-size: 28px;
    color: var(--pink);
    font-weight: bold;
}

.nav a {
    color: white;
    margin: 0 10px;
    text-decoration: none;
}

.btn-contact, .btn-decouvrir{
    background: var(--pink);
    padding: 10px 20px;
    color: white;
    border-radius: 25px;
    border: none;
    cursor: pointer;
}

.formcontact-error {
    
    color:var(--pink);
    font-weight:bold;
    margin-bottom:10px;
}

.formcontact-success {
   
    color: var(--pink);
    margin-bottom:10px;
}
/* Hero */
.hero {
    /* background: url("../images/Test_vue_boutique_ext15-vc-H1T6.webp") center/cover no-repeat; */
    height: 600px;
    position: relative;
}

.hero-overlay {
    background: rgba(0,0,0,0.5);
    height: 100%;
}

.hero-content {
    color: white;
    padding-top: 150px;
}

.hero h1 {
    font-size: 50px;
}

.hero span {
    color: var(--pink);
}

.cta {
    margin-top: 20px;
    background: var(--pink);
    padding: 15px;
    display: inline-block;
    border-radius: 10px;
    font-family: "ProzaLibre" ;
}

/* Features */
.features {
    background: white;
    color: white;
    padding: 120px 0 0 0;
    
}

.hero {
    background: white;    
}

.feature {
    background: white;
    color: var(--dark);
    border-radius: 10px;
    padding-top:25px;
    padding-right:25px;
    border: solid 1px var(--pink);
}
.feature p{
    font-size:13px;
    text-align: center;
  
    
}
.feature strong{
    font-size:22px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
}
.grid-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
}

.feature {
    text-align: center;
    margin-top:20px;
}

/* Values */
.values {
    padding: 60px 0;
    text-align: center;
    background-color: #fff;
    color : #333;
    font-family: "ProzaLibre" ;
}

.values h2 span {
    color: var(--pink);
}

.cards .card {
    padding: 20px;
    border-radius: 10px;
    background-color: #fff;
    color : #333;
    
}

/* Brand */
.brand {
    background: #fff;
    color : #333;
    padding-top: 0px;
    padding-bottom: 10px;
    
}


.brand-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ddd7bc;
    border-radius: 10px;

    padding:30px;
}

.btn {
    display: inline-block;
    margin-top: 20px;
    background: var(--pink);
    padding: 10px 20px;
    border-radius: 20px;
    color: white;
}

/* Modal Contact */
.modal-contact-content {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    font-family: "ProzaLibre", sans-serif;
}

.modal-contact-header {
    background: white;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 3px solid var(--pink);
}

.modal-logo {
    width: 500px;
    height: auto;
}

.modal-contact-body {
    background: var(--light);
    padding: 28px 32px;
}

.contact-label {
    color: var(--dark);
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 14px;
}

.form-control.contact-input,
.form-control.contact-input:not(:focus) {
    border: 2px solid var(--pink) !important;
    border-radius: 8px;
    padding: 10px 14px;
    font-family: "ProzaLibre", sans-serif;
    font-size: 14px;
    transition: border-width 0.15s;
    background-color: #ffffff !important;
    color: var(--text) !important;
    box-shadow: none !important;
}

.form-control.contact-input:focus {
    border: 4px solid var(--pink) !important;
    background-color: #ffffff !important;
    color: var(--text) !important;
    box-shadow: none !important;
    outline: none;
}

.btn-envoyer {
    display: inline-block;
    border: none;
    cursor: pointer;
    font-family: "ProzaLibre", sans-serif;
    font-size: 16px;
    text-decoration: none;
}

/* Modal Diaporama Produits */
.modal-diaporama-dialog {
    max-width: 860px;
    width: 95vw;
}

.modal-diaporama-content {
    background: var(--dark);
    border: 2px solid var(--pink);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.modal-diaporama-close {
    position: absolute;
    top: 12px;
    right: 14px;
    z-index: 10;
    background: transparent;
    border: none;
    color: var(--pink);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    padding: 4px 8px;
    transition: opacity 0.2s;
}

.modal-diaporama-close:hover {
    opacity: 0.7;
}

.diaporama-img {
    width: 100%;
    height: 75vh;
    max-height: 600px;
    object-fit: contain;
    background: var(--dark);
}

.diaporama-control {
    width: 48px;
    opacity: 1;
}

.diaporama-arrow {
    color: var(--pink);
    font-size: 28px;
    line-height: 1;
    text-shadow: 0 0 6px rgba(0,0,0,0.8);
}

.diaporama-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #666;
    border: none;
    margin: 0 4px;
    opacity: 1;
    transition: background-color 0.3s;
}

.diaporama-indicators button.active {
    background-color: var(--pink);
}

/* Vignettes produits mobile (entre hero et features) — cachées sur desktop */
.hero-mobile-vignettes {
    display: none;
}

#hero-mobile-lightbox {
    display: none;
}

/* Hero — mini-carousel nouveautés en overlay */
.hero-nouveautes-overlay {
    position: absolute;
    top: 60%;
    left: 16%;
    transform: translate(-50%, -50%);
    width: 450px;
    height:700px;
    z-index: 20;
    border-radius: 14px;
    border: 10px solid var(--pink);
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.60);
}

.hero-nouveaute-badge {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--pink);
    color: #fff;
    padding: 3px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 5;
    white-space: nowrap;
    font-family: "ProzaLibre", sans-serif;
}

.hero-nouveaute-img {
    width: 450px;
    height: 700px;
    object-fit: cover;
    display: block;
}

.hero-nouveaute-libelle {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 10px 10px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.80), transparent);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    font-family: "ProzaLibre", sans-serif;
    letter-spacing: 0.3px;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 20px 0;
}

.footer .highlight {
    color: var(--pink);
}

/* Card title wrapper — transparent sur desktop, actif sur mobile */
.card-title-wrapper {
    display: contents;
}

/* ===================================================
   MEGA MENU
   =================================================== */

.mega-nav {
    padding: 0 10px 14px;
    position: relative;
}

.mega-nav-inner {
    display: flex;
    align-items: stretch;
    border: 1.5px solid #f5b8d0;
    border-radius: 50px;
    background: white;
    overflow: hidden;
}

.mega-nav-item {
    flex: 1;
}

.mega-nav-btn {
    width: 100%;
    height: 100%;
    background: none;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    cursor: pointer;
    gap: 6px;
    font-family: "ProzaLibre", sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #333;
    transition: background 0.18s, color 0.18s;
}

.mega-nav-btn:hover,
.mega-nav-item.is-open .mega-nav-btn {
    background: #fdf0f6;
    color: var(--pink);
}

.mega-nav-sep {
    width: 1px;
    background: #f5b8d0;
    flex-shrink: 0;
    align-self: stretch;
}

/* ---- Panneaux déroulants ---- */
.mega-panel {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 998;
    background: white;
    border-top: 2px solid var(--pink);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10);
}

.mega-panel.is-open {
    display: block;
    animation: megaFadeIn 0.18s ease;
}

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

.mega-panel-inner {
    display: flex;
    min-height: 220px;
}

/* ---- Moitié gauche : familles / catégories ---- */
.mega-panel-left {
    flex: 0 0 48%;
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    padding: 28px 40px;
    align-content: flex-start;
}

.mega-famille {
    min-width: 140px;
}

.mega-famille-titre {
    font-size: 17px;
    font-weight: 700;
    color: #222;
    margin-bottom: 14px;
    padding-bottom: 6px;
    border-bottom: 2px solid var(--pink);
    font-family: "ProzaLibre", sans-serif;
}

.mega-categ-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mega-categ-link {
    color: #555;
    text-decoration: none;
    font-size: 15px;
    font-family: "ProzaLibre", sans-serif;
    transition: color 0.15s, padding-left 0.15s;
    display: block;
}

.mega-categ-link:hover {
    color: var(--pink);
    padding-left: 6px;
}

/* ---- Moitié droite : produits vitrine ---- */
.mega-panel-right {
    flex: 1;
    display: flex;
    gap: 12px;
    padding: 16px 24px 16px 0;
    border-left: 1px solid #f5b8d0;
}

.mega-produit-card {
    flex: 1;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background: #f0f0f0;
}

.mega-produit-card img {
    width: 100%;
    height: 100%;
    min-height: 200px;
    max-height: 260px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.mega-produit-card:hover img {
    transform: scale(1.03);
}

.mega-badge-nouveaute {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    background: var(--pink);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    font-family: "ProzaLibre", sans-serif;
    box-shadow: 0 2px 6px rgba(231, 36, 133, 0.35);
}

.mega-produit-footer {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 0;
    padding: 7px 16px;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
    z-index: 2;
}

.mega-produit-nom {
    font-weight: 600;
    font-size: 14px;
    color: #222;
    font-family: "ProzaLibre", sans-serif;
    padding-right: 10px;
}

.mega-produit-voir {
    font-size: 12px;
    font-weight: 700;
    color: var(--pink);
    text-decoration: none;
    letter-spacing: 0.5px;
    border-left: 1px solid #ddd;
    padding-left: 10px;
    font-family: "ProzaLibre", sans-serif;
}

/* ===================================================
   RESPONSIVE MOBILE (≤ 768 px)
   Aucun changement sur la version desktop.
   =================================================== */
@media (max-width: 768px) {

    /* --- HERO NOUVEAUTÉS OVERLAY --- */
    .hero-nouveautes-overlay {
        display: none;
    }

    /* --- FEATURES --- */
    .features {
        padding-top: 20px;
    }

    /* --- VIGNETTES PRODUITS MOBILE --- */
    .hero-mobile-vignettes {
        display: flex;
        gap: 10px;
        padding: 12px;
        background: #fff;
    }

    .hero-mobile-vignette {
        flex: 1;
        border-radius: 10px;
        overflow: hidden;
        cursor: pointer;
        box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    }

    .hero-mobile-vignette img {
        width: 100%;
        aspect-ratio: 3/4;
        object-fit: cover;
        display: block;
        transition: transform 0.2s ease;
    }

    .hero-mobile-vignette:active img {
        transform: scale(0.97);
    }

    #hero-mobile-lightbox {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.93);
        z-index: 9999;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }

    #hero-mobile-lightbox.open {
        display: flex;
    }

    #hero-mobile-lightbox-img {
        max-width: 95vw;
        max-height: 90vh;
        object-fit: contain;
        border-radius: 8px;
    }

    /* --- HEADER --- */
    .header-inner {
        flex-direction: column;
        align-items: center;
        margin-left: 0;
        margin-right: 0;
        gap: 12px;
    }
    .header-inner .logo {
        width: 100%;
    }
    .header-inner .logo img {
        width: 100% !important;
        height: auto;
    }
    .header-inner > img {
        width: 100%;
    }

    /* --- HERO / CARROUSEL --- */
    .hero {
        height: auto;
    }
    .cta {
        padding: 8px 10px;
    }
    .cta svg {
        height: 2em !important;
        width: 2em !important;
    }
    .dateouverture {
        font-size: 0.8em;
    }

    /* --- FEATURES : 1 colonne --- */
    .grid-3 {
        grid-template-columns: 1fr;
    }

    /* --- CARDS VALUES : disposition spécifique ---
       Chaque card occupe 100 % de largeur (grid-3 → 1 col ci-dessus).
       Intérieur de la card : grille 2 colonnes
         - ligne 1 : icône + titre centré (pleine largeur)
         - ligne 2 : photo (gauche) | texte (droite)
    */
    .cards .card {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "title title"
            "photo para";
        gap: 8px;
    }
    .cards .card > div:first-child {
        grid-area: photo;
    }
    .cards .card > .mt-3 {
        display: contents;
    }
    .cards .card > .mt-3 > .card-title-wrapper {
        grid-area: title;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 6px;
    }
    .cards .card > .mt-3 > p {
        grid-area: para;
        font-size: 0.85em;
        margin-top: 0;
    }

    /* --- BRAND : empilement vertical --- */
    .brand-inner {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    .brand-inner > .d-flex {
        flex-direction: column;
        width: 100% !important;
        align-items: center;
    }
    .brand-inner > .d-flex > img {
        width: 80% !important;
    }
    .brand-inner > .d-flex > div {
        width: 90% !important;
        margin-left: 0 !important;
        text-align: center;
    }
    .brand-inner > div:last-child > img {
        margin-right: 0 !important;
    }
}

