/* RESET SIMPLE */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background: #0b0b0f;
    color: #f5f5f5;
    font-family: "Poppins", sans-serif;
}

/* HEADER */
.main-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 40px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    background: rgba(0,0,0,0.96);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 70px;
    width: auto;
    object-fit: contain;
    margin-left: 5px;
    border-radius: 10px;
}

/* MENU NAVIGATION */
.main-nav {
    display: flex;
    gap: 22px;
    align-items: center;
}

.nav-link {
    color: #f5f5f5;
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    border-bottom-color: #e50914;
    color: #ffffff;
}

/* BOUTON MENU MOBILE */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
    padding: 6px;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #ffffff;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

/* HERO */
.hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px 60px;
    background: radial-gradient(circle at top, #2b0b14, #050509);
}

.hero-content {
    max-width: 650px;
    text-align: center;
}

.hero h1 {
    font-family: "Playfair Display", serif;
    font-size: 62px;
    margin-bottom: 15px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #ffffff;
    text-shadow: 0 4px 12px rgba(0,0,0,0.7);
}

.hero p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 30px;
    color: #dddddd;
}

/* BOUTONS GÉNÉRAUX */
.btn-primary {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    border: none;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: #e50914;
    color: #ffffff;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary:hover {
    background: #ff1230;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.btn-secondary {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 20px;
    border: 1px solid #e50914;
    text-decoration: none;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
    background: transparent;
}

.btn-secondary:hover {
    background: #e50914;
    color: #ffffff;
}

.btn-tertiary {
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.25);
    background: transparent;
    color: #f5f5f5;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.btn-tertiary:hover {
    background: rgba(255,255,255,0.08);
    border-color: #e50914;
}

/* SECTION NOUVEAUTÉS */
.highlight-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 50px 20px 40px;
}

.highlight-header {
    text-align: center;
    margin-bottom: 30px;
}

.highlight-header h2 {
    font-family: "Playfair Display", serif;
    font-size: 26px;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 8px;
}

.highlight-header p {
    color: #cccccc;
    font-size: 14px;
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}

.highlight-card {
    background: #14141a;
    border-radius: 18px;
    padding: 14px 14px 18px;
    position: relative;
    box-shadow: 0 8px 22px rgba(0,0,0,0.6);
}

.highlight-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 10px;
}

.highlight-card h3 {
    font-size: 17px;
    margin: 6px 0 4px;
}

.highlight-card p {
    font-size: 13px;
    color: #bbbbbb;
    margin-bottom: 10px;
}

.badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge-new {
    background: #1f7a1f;
}

.badge-best {
    background: #c77c06;
}

/* VITRINE */
.vitrine {
    padding: 40px 20px 60px;
    max-width: 1100px;
    margin: 0 auto;
}

.vitrine h2 {
    text-align: center;
    font-family: "Playfair Display", serif;
    font-size: 28px;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 5px;
}

.vitrine-sous-titre {
    text-align: center;
    margin-bottom: 35px;
    color: #cccccc;
}

.vitrine-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.vitrine-item {
    background: #131318;
    border-radius: 16px;
    padding: 15px 15px 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
}

.vitrine-item img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 12px;
}

.vitrine-item h3 {
    font-size: 18px;
    margin: 8px 0 5px;
}

.vitrine-item p {
    font-size: 14px;
    color: #bbbbbb;
    margin-bottom: 15px;
}

.card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* COLLECTION COMPLETE */
.full-collection {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px 60px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.section-header {
    text-align: center;
    margin-bottom: 25px;
}

.section-header h2 {
    font-family: "Playfair Display", serif;
    font-size: 26px;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 8px;
}

.section-header p {
    color: #cccccc;
    font-size: 14px;
}

.collection-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
}

.filter-chip {
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.2);
    background: transparent;
    color: #f5f5f5;
    font-size: 12px;
    padding: 6px 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
}

.filter-chip.active {
    background: #e50914;
    border-color: #e50914;
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
}

.product-card {
    background: #14141a;
    padding: 14px 14px 18px;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.55);
}

.product-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 10px;
}

.product-card h3 {
    margin: 6px 0 4px;
    font-size: 16px;
}

.product-card p {
    font-size: 13px;
    color: #bbbbbb;
    margin-bottom: 10px;
}

/* FORMULAIRE MESURES */
.mesures-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px 60px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.mesures-form {
    background: #131318;
    border-radius: 18px;
    padding: 20px 20px 24px;
    box-shadow: 0 10px 26px rgba(0,0,0,0.55);
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 15px;
}

.form-group {
    flex: 1;
    min-width: 180px;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 13px;
    margin-bottom: 5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: #0d0d12;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.14);
    color: #f5f5f5;
    font-size: 13px;
    padding: 8px 10px;
    outline: none;
}

.form-group textarea {
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #e50914;
}

.form-actions {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-note {
    font-size: 12px;
    color: #aaaaaa;
}

/* CONTACT */
.contact {
    padding: 50px 20px 60px;
    max-width: 1100px;
    margin: 0 auto;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.contact h2 {
    text-align: center;
    font-family: "Playfair Display", serif;
    font-size: 26px;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.contact p {
    text-align: center;
    color: #d0d0d0;
    margin-bottom: 30px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.contact-item {
    background: #101015;
    border-radius: 16px;
    padding: 18px;
    text-align: center;
    box-shadow: 0 8px 18px rgba(0,0,0,0.4);
}

.contact-item h4 {
    margin-bottom: 5px;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* FOOTER */
.main-footer {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 15px 20px;
    text-align: center;
    font-size: 13px;
    color: #aaaaaa;
    background: #050509;
}

/* MODAL PRODUIT */
.product-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 200;
}

.product-modal.is-visible {
    display: flex;
}

.product-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.65);
}

.product-modal-box {
    position: relative;
    z-index: 1;
    background: #15151b;
    border-radius: 18px;
    padding: 20px 22px 24px;
    max-width: 420px;
    width: 90%;
    box-shadow: 0 12px 32px rgba(0,0,0,0.7);
}

.product-modal-close {
    position: absolute;
    top: 8px;
    right: 10px;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
}

#modal-product-title {
    font-size: 20px;
    margin: 6px 0;
    font-family: "Playfair Display", serif;
}

.modal-ref {
    font-size: 13px;
    color: #cccccc;
    margin-bottom: 10px;
}

#modal-product-description {
    font-size: 14px;
    color: #dddddd;
    margin-bottom: 16px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .main-header {
        padding: 10px 16px;
    }

    .menu-toggle {
        display: flex;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        background: #050509;
        flex-direction: column;
        gap: 0;
        padding: 0;
        display: none;
    }

    .main-nav.is-open {
        display: flex;
    }

    .nav-link {
        padding: 12px 18px;
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero p {
        font-size: 14px;
    }
}

@media (max-width: 600px) {
    .highlight-card img,
    .vitrine-item img,
    .product-card img {
        height: 210px;
    }

    .mesures-form {
        padding: 16px 14px 20px;
    }
}
/* =========================
   STYLES POUR LA PAGE ADMIN
   ========================= */

.admin-body {
    background: #050509;
    color: #f5f5f5;
    font-family: "Poppins", sans-serif;
    min-height: 100vh;
}

/* Bloc de login admin */
.admin-login-box {
    max-width: 380px;
    margin: 80px auto;
    background: #14141a;
    padding: 24px 24px 26px;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.7);
    text-align: center;
}

.admin-login-box h1 {
    font-family: "Playfair Display", serif;
    font-size: 22px;
    margin-bottom: 10px;
}

.admin-login-box p {
    font-size: 13px;
    color: #cccccc;
    margin-bottom: 18px;
}

.admin-login-box form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.admin-login-box label {
    font-size: 13px;
    text-align: left;
}

.admin-login-box input[type="password"] {
    background: #0d0d12;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.14);
    color: #f5f5f5;
    font-size: 13px;
    padding: 8px 10px;
    outline: none;
}

.admin-login-box input[type="password"]:focus {
    border-color: #e50914;
}

.admin-error {
    background: #7c1010;
    border-radius: 8px;
    padding: 8px;
    margin-bottom: 10px;
    font-size: 13px;
}

/* Contenu principal admin */
.admin-main {
    max-width: 1100px;
    margin: 30px auto 40px;
    padding: 0 20px;
}

.admin-main h1 {
    font-family: "Playfair Display", serif;
    font-size: 24px;
    margin-bottom: 8px;
}

.admin-intro {
    font-size: 13px;
    color: #cccccc;
    margin-bottom: 20px;
}

.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

.admin-card {
    background: #131318;
    border-radius: 16px;
    padding: 16px 16px 18px;
    box-shadow: 0 8px 18px rgba(0,0,0,0.55);
    font-size: 13px;
}

.admin-card h2 {
    font-size: 16px;
    margin-bottom: 10px;
}

.admin-card ul {
    padding-left: 18px;
}

.admin-card pre {
    background: #0d0d12;
    padding: 8px;
    border-radius: 8px;
    overflow-x: auto;
    font-size: 12px;
}
