/* ================================
   VITRINES AI — style.css
   Compatible avec index.html
   (sans JavaScript)
================================ */


/* ---------- VARIABLES ---------- */

:root {
    --bg: #07120b;
    --panel: #07120be6;
    --text: #e9fff2;
    --muted: #b6d7c2;
    --line: rgba(255, 255, 255, .12);
    --shadow: 0 18px 60px rgba(0, 0, 0, .55);
    --radius: 18px;
    --max: 1120px;
    --g1: #18c37e;
    --g2: #00d084;
    --grad: linear-gradient(135deg, var(--g1), var(--g2));
    --danger: #ffb6b6;
    color-scheme: dark;
}


/* ---------- RESET ---------- */

* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
    background: var(--bg);
    color: var(--text);
    line-height: 1.55;
}

a {
    color: inherit;
    text-decoration: none;
}

strong {
    font-weight: 1000;
}


/* ---------- WRAP ---------- */

.wrap {
    max-width: var(--max);
    margin: 0 auto;
    padding: 28px 20px 120px;
}


/* ---------- CARD ---------- */

.card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}


/* ---------- TOPBAR ---------- */

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 20;
}

.brandTitle {
    font-size: 20px;
    font-weight: 1100;
}

.brandSub {
    font-size: 12px;
    color: var(--muted);
    font-weight: 900;
}

.pill {
    font-size: 12px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .03);
    color: var(--muted);
}


/* ---------- HERO ---------- */

.hero {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 18px;
    margin-top: 20px;
}

@media(max-width:900px) {
    .hero {
        grid-template-columns: 1fr;
    }
}

.heroMain {
    padding: 28px;
}

.heroSide {
    padding: 22px;
}

h1 {
    margin: 0 0 12px;
    font-size: 42px;
    font-weight: 1150;
    letter-spacing: -.9px;
}

@media(max-width:520px) {
    h1 {
        font-size: 34px;
    }
}

.gradText {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.sub {
    color: var(--muted);
}

.badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.badge {
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .03);
    color: var(--muted);
    font-size: 13px;
    font-weight: 900;
}

.notice {
    margin-top: 14px;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid rgba(255, 182, 182, .25);
    background: rgba(255, 182, 182, .06);
    color: var(--danger);
    font-size: 13px;
    font-weight: 950;
}


/* ---------- SIDE ---------- */

.miniTitle {
    font-weight: 1100;
}

.miniText {
    font-size: 14px;
    color: var(--muted);
}

.divider {
    height: 1px;
    background: var(--line);
    margin: 16px 0;
}

.checkline {
    display: flex;
    gap: 10px;
    font-size: 13px;
    color: var(--muted);
}

.checkline input {
    accent-color: var(--g2);
}


/* ---------- PACKS ---------- */

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 22px;
}

@media(max-width:980px) {
    .grid {
        grid-template-columns: 1fr;
    }
}

.pack {
    padding: 20px;
    position: relative;
    transition: .15s ease;
}

.pack:hover {
    transform: translateY(-2px);
}

.packHeader {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.packName {
    font-size: 18px;
    font-weight: 1150;
}

.tag {
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid var(--line);
    color: var(--muted);
    font-weight: 900;
}

.tagBest {
    border-color: rgba(0, 208, 132, .35);
    color: var(--text);
}


/* ---------- POPULAR ---------- */

.popular {
    border-color: rgba(0, 208, 132, .55);
}

.popularPill {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(0, 208, 132, .2);
    border: 1px solid rgba(0, 208, 132, .35);
    font-size: 13px;
    font-weight: 1100;
}

.star {
    margin-right: 6px;
}


/* ---------- PRICE ---------- */

.price {
    margin: 12px 0 6px;
    font-size: 34px;
    font-weight: 1200;
}

.price span {
    font-size: 14px;
    color: var(--muted);
    margin-left: 6px;
}

.desc {
    color: var(--muted);
}


/* ---------- FEATURES ---------- */

.features {
    list-style: none;
    padding: 0;
    margin: 14px 0;
    display: grid;
    gap: 10px;
}

.features li {
    display: flex;
    gap: 10px;
    color: var(--muted);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--g2);
    margin-top: 6px;
}


/* ---------- ADDON ---------- */

.addon {
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(0, 208, 132, .08);
    border: 1px solid rgba(0, 208, 132, .25);
    font-size: 13px;
    font-weight: 1000;
}


/* ---------- BUTTONS ---------- */

.ctaRow {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 18px;
    border-radius: 14px;
    font-weight: 1200;
    letter-spacing: .35px;
    text-align: center;
    cursor: pointer;
}

.btnPrimary {
    background: var(--grad);
    color: #05130c;
    box-shadow: 0 18px 40px rgba(0, 208, 132, .18);
}

.btnGhost {
    border: 1px solid var(--line);
}

.btn[aria-disabled="true"] {
    opacity: .45;
    pointer-events: none;
}


/* ---------- SECTIONS ---------- */

.section {
    margin-top: 22px;
    padding: 22px;
}

.muted {
    color: var(--muted);
}


/* ---------- OPTION ---------- */

.optionRow {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.optionPrice {
    font-size: 20px;
    font-weight: 1200;
}

.optionHint {
    font-size: 13px;
    font-weight: 900;
}


/* ---------- COMPARATIF ---------- */

.cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

@media(max-width:900px) {
    .cols {
        grid-template-columns: 1fr;
    }
}

.box {
    padding: 14px;
    border-radius: 14px;
    border: 1px solid var(--line);
}


/* ---------- FAQ ---------- */

.faq details {
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 14px;
    margin-top: 12px;
}

.faq summary {
    font-weight: 1100;
    cursor: pointer;
}

.faq summary::-webkit-details-marker {
    display: none;
}


/* ---------- FOOT ---------- */

.fineprint,
.footerNote {
    font-size: 12px;
    color: var(--muted);
}


/* ---------- STICKY ---------- */

.sticky {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px;
    background: #060f0b;
    border-top: 1px solid var(--line);
}

.stickyInner {
    max-width: var(--max);
    margin: auto;
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.stickyText span {
    font-size: 12px;
    color: var(--muted);
}

.stickyActions {
    display: flex;
    gap: 10px;
}


/* ---------- SELECT ---------- */

.select {
    background: #0a0f0c;
    color: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 10px 12px;
    font-weight: 1100;
}

.select option {
    background: #0a0f0c;
    color: #fff;
}