
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #0b0710;
    color: #f8f2ff;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
}

.container {
    width: min(1180px, 92%);
    margin-inline: auto;
}

header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: #0b0710f2;
    border-bottom: 1px solid #392344;
}

.nav {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.logo {
    font-weight: 900;
    letter-spacing: 2px;
    font-size: 20px;
    white-space: nowrap;
}

.logo span,
.eyebrow,
.price,
.stars {
    color: #e1bd70;
}

.nav nav {
    display: flex;
    gap: 13px;
    flex-wrap: wrap;
    align-items: center;
}

.nav nav a {
    font-size: 12px;
}

.nav nav a:hover {
    color: #e1bd70;
}

/* HERO */
.hero {
    min-height: 610px;
    display: flex;
    align-items: center;

    background-image:
        linear-gradient(
            90deg,
            rgba(8, 4, 15, 0.82) 0%,
            rgba(8, 4, 15, 0.55) 48%,
            rgba(8, 4, 15, 0.18) 100%
        ),
        url('/assets/images/hero.jpg?v=20261008-4');

    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.hero-content {
    padding-block: 75px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(42px, 7vw, 78px);
    line-height: 1.07;
    margin: 12px 0;
    max-width: 850px;
    overflow-wrap: break-word;
}

.hero h1 span {
    color: #e1bd70;
}

.hero p {
    max-width: 660px;
    font-size: 18px;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: bold;
    font-size: 12px;
}

.free {
    display: inline-block;
    border: 1px solid #dcb866;
    border-radius: 99px;
    padding: 9px 15px;
    font-weight: bold;
    margin: 12px 0;
}

.btn {
    display: inline-block;
    border: 1px solid #5a3c67;
    border-radius: 11px;
    padding: 12px 18px;
    margin: 5px 4px 5px 0;
    font-weight: bold;
    background: #17101e;
    cursor: pointer;
}

.btn:hover {
    filter: brightness(1.1);
}

.gold {
    background: #dfbb69;
    color: #140b19;
    border-color: #dfbb69;
}

.section {
    padding: 65px 0;
}

.section h1,
.section h2 {
    font-size: clamp(26px, 3.3vw, 36px);
    line-height: 1.2;
}

/* RUBRIQUES */
.visual-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 13px;
    margin-top: 25px;
}

.visual {
    display: block;
    min-width: 0;
    height: 280px;
    background-color: #26152f;
    background-size: cover;
    background-position: center;
    border: 1px solid #573864;
    border-radius: 18px;
    position: relative;
    overflow: hidden;
}

.visual:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 25%, #08040ff2);
    pointer-events: none;
}

.visual span {
    display: block;
    position: absolute;
    z-index: 2;
    left: 15px;
    right: 15px;
    bottom: 15px;
    font-size: 13px;
    line-height: 1.45;
    overflow-wrap: break-word;
}

.visual b {
    display: block;
    color: #f0cd80;
    font-size: 19px;
    line-height: 1.3;
    margin-bottom: 5px;
}

/* CARTES ET PRODUITS */
.cards,
.products,
.reviews {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.card,
.product,
.review,
.panel,
form.box {
    background: #130b1a;
    border: 1px solid #392644;
    border-radius: 19px;
    padding: 23px;
}

.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-img {
    height: 230px;
    border-radius: 13px;
    background:
        url('/assets/images/boutique.jpg?v=20261008-4')
        center / cover no-repeat;
    margin-bottom: 15px;
}

.trust {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    background: #3a2743;
    border-radius: 15px;
    overflow: hidden;
}

.trust div {
    background: #110a17;
    padding: 18px;
    text-align: center;
}

.score {
    font-size: 48px;
    font-weight: 900;
}

/* FORMULAIRES */
.field {
    margin: 15px 0;
}

.field label {
    display: block;
    font-weight: bold;
    margin-bottom: 6px;
}

.field input,
.field textarea,
.field select {
    width: 100%;
    padding: 12px;
    border: 1px solid #4c3458;
    border-radius: 9px;
    background: #0d0812;
    color: #fff;
}

.field textarea {
    min-height: 130px;
}

.starpick {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.starpick input {
    display: none;
}

.starpick label {
    font-size: 36px;
    color: #4c3b55;
    cursor: pointer;
}

.starpick input:checked ~ label,
.starpick label:hover,
.starpick label:hover ~ label {
    color: #e1bd70;
}

.notice {
    padding: 14px;
    border: 1px solid #51405a;
    border-radius: 11px;
    background: #17101e;
}

.success {
    border-color: #5c7248;
}

.page-bg {
    background:
        linear-gradient(#0b0710e8, #0b0710fa),
        var(--bg) top center / cover no-repeat;
}

/* CONTRÔLE D'ÂGE */
.gate {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: #050308f8;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.gatebox {
    max-width: 480px;
    background: #150c1c;
    border: 1px solid #573864;
    border-radius: 22px;
    padding: 32px;
    text-align: center;
}

.gatebox label {
    display: block;
    margin: 18px;
}

.wa {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 60;
    background: #25D366;
    color: #fff;
    padding: 14px 18px;
    border-radius: 99px;
    font-weight: bold;
}

/* PIED DE PAGE */
footer {
    border-top: 1px solid #33213d;
    padding: 40px 0 18px;
}

.foot {
    display: flex;
    justify-content: space-between;
    gap: 25px;
}

.foot > div {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.copy {
    text-align: center;
    color: #887d8d;
}

/* ADMINISTRATION */
.admin {
    width: min(1180px, 94%);
    margin: 40px auto;
}

.admin table {
    width: 100%;
    border-collapse: collapse;
}

.admin td,
.admin th {
    padding: 10px;
    border-bottom: 1px solid #382540;
    text-align: left;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
    .visual-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .visual-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cards,
    .reviews {
        grid-template-columns: 1fr;
    }

    .trust {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .nav {
        align-items: flex-start;
        padding: 15px 0;
        flex-direction: column;
    }
}

@media (max-width: 620px) {
    .visual-grid,
    .products,
    .trust {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: 520px;
    }

    .hero-content {
        padding-block: 55px;
    }

    .hero p {
        font-size: 16px;
    }

    .visual {
        height: 250px;
    }

    .section {
        padding: 45px 0;
    }

    .logo {
        white-space: normal;
    }

    .foot {
        flex-direction: column;
    }

    .nav nav {
        gap: 10px;
    }
}
