/* ==========================================================================
   KITS ANNIVERSAIRE IMPRIMABLES — FEUILLE DE STYLE PAGES DE VENTE PUBLIQUES
   La Fabrik Numérique • Escape Games Univers
   ========================================================================== */

:root {
    --primary: #4a044e;
    --primary-light: #701a75;
    --accent: #ec4899;
    --gold: #f59e0b;
    --bg: #090d16;
    --surface: #111726;
    --surface-hover: #192237;
    --border: #23304a;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --green: #10b981;
    --cyan: #06b6d4;
}

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

html, body {
    overflow-x: hidden;
}

body {
    background-color: var(--bg);
    color: var(--text-main);
    font-family: 'Fredoka', system-ui, -apple-system, sans-serif;
    line-height: 1.55;
    min-height: 100vh;
}

h1, h2, h3, h4 {
    text-wrap: balance;
}

p, li {
    text-wrap: pretty;
}

/* ================= EN-TÊTE ================= */
.kits-header {
    border-bottom: 1px solid var(--border);
    background: rgba(17, 23, 38, 0.92);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.9rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: #fff;
}

.brand-title {
    font-size: 1.12rem;
    font-weight: 700;
    color: #fff;
}

.brand-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: 'Inter', system-ui, sans-serif;
    display: block;
}

.nav-back-portal {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #cbd5e1;
    text-decoration: none;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.84rem;
    padding: 0.48rem 0.95rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
    transition: all 0.2s ease;
}

.nav-back-portal:hover {
    color: #fff;
    border-color: var(--cyan);
    background: rgba(6, 182, 212, 0.12);
}

/* ================= CONTENEUR PRINCIPAL ================= */
.sales-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 2rem 1.25rem 4rem;
}

.hero-section {
    max-width: 920px;
    margin: 0 auto 2.5rem;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.45);
    color: #fbbf24;
    padding: 0.35rem 1rem;
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: clamp(1.85rem, 4.5vw, 2.9rem);
    line-height: 1.15;
    margin-bottom: 0.85rem;
    color: #fff;
}

.hero-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 760px;
    margin: 0 auto 1.5rem;
    font-family: 'Inter', system-ui, sans-serif;
}

.hero-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
    margin-top: 1rem;
}

.hero-pill {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0.4rem 0.9rem;
    font-size: 0.84rem;
    color: #e2e8f0;
    font-family: 'Inter', system-ui, sans-serif;
}

/* ================= GRILLE D'OFFRES & PRIX ================= */
.pricing-section {
    margin: 2rem 0 3rem;
}

.pricing-offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 1.4rem;
    margin-bottom: 1.2rem;
}

.offer-box {
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: 20px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.1rem;
    position: relative;
}

.offer-box.featured {
    border-color: var(--gold);
    background: linear-gradient(155deg, #161e31 0%, #271d10 100%);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45), 0 0 28px rgba(245, 158, 11, 0.14);
}

.offer-ribbon {
    position: absolute;
    top: -12px;
    right: 16px;
    background: var(--gold);
    color: #090d16;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.2rem 0.75rem;
    border-radius: 999px;
    text-transform: uppercase;
}

.offer-kicker {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 600;
}

.offer-title {
    font-size: 1.35rem;
    color: #fff;
    margin: 0.25rem 0 0.4rem;
}

.offer-price {
    font-size: 2.1rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 0.65rem;
}

.offer-price del {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-right: 0.4rem;
}

.offer-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    font-size: 0.88rem;
    color: #cbd5e1;
    font-family: 'Inter', system-ui, sans-serif;
}

.btn-buy {
    width: 100%;
    border: none;
    border-radius: 12px;
    padding: 0.9rem 1.25rem;
    font-family: 'Fredoka', system-ui, sans-serif;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: all 0.2s ease;
    background: linear-gradient(135deg, var(--accent), var(--primary-light));
    color: #fff;
}

.btn-buy.gold {
    background: linear-gradient(135deg, var(--gold), #ea580c);
    color: #090d16;
}

.btn-buy:hover:not(:disabled) {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.btn-buy:disabled,
.btn-buy.is-disabled {
    background: #1e293b;
    color: #94a3b8;
    border: 1px dashed #475569;
    cursor: not-allowed;
    transform: none;
    filter: none;
}

/* ================= BARRE CODE PROMO ================= */
.promo-box {
    max-width: 640px;
    margin: 0 auto;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1rem 1.25rem;
}

.promo-row {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.promo-row input {
    flex: 1;
    min-width: 180px;
    padding: 0.6rem 0.9rem;
    border-radius: 10px;
    border: 1px solid #475569;
    background: #0f172a;
    color: #fff;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.9rem;
}

.promo-row button {
    padding: 0.6rem 1.15rem;
    border-radius: 10px;
    border: 1px solid var(--accent);
    background: rgba(236, 72, 153, 0.16);
    color: #fff;
    font-family: 'Fredoka', system-ui, sans-serif;
    font-weight: 700;
    cursor: pointer;
}

.promo-feedback {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: 'Inter', system-ui, sans-serif;
}

/* ================= APERÇUS PNG FILIGRANÉS (2 PAGES MAX) ================= */
.previews-section {
    margin: 3rem 0;
}

.section-heading {
    text-align: center;
    margin-bottom: 1.6rem;
}

.section-heading h2 {
    font-size: clamp(1.45rem, 3vw, 2rem);
    color: #fff;
    margin-bottom: 0.4rem;
}

.section-heading p {
    color: var(--text-muted);
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.95rem;
    max-width: 680px;
    margin: 0 auto;
}

.previews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.6rem;
    max-width: 920px;
    margin: 0 auto;
}

.preview-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 1rem;
    text-align: center;
}

.preview-card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    border: 1px solid #334155;
    display: block;
    margin-bottom: 0.75rem;
}

.preview-card h3 {
    font-size: 1.05rem;
    color: #fff;
    margin-bottom: 0.25rem;
}

.preview-card p {
    font-size: 0.84rem;
    color: var(--text-muted);
    font-family: 'Inter', system-ui, sans-serif;
}

/* ================= DÉTAIL DES 8 PAGES DU KIT ================= */
.contents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.1rem;
    margin: 1.5rem 0 3rem;
}

.content-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.2rem;
}

.content-item .page-badge {
    display: inline-block;
    background: rgba(236, 72, 153, 0.16);
    color: #f472b6;
    font-size: 0.74rem;
    font-weight: 700;
    padding: 0.18rem 0.65rem;
    border-radius: 999px;
    margin-bottom: 0.5rem;
}

.content-item h3 {
    font-size: 1.05rem;
    color: #fff;
    margin-bottom: 0.35rem;
}

.content-item p {
    font-size: 0.85rem;
    color: #cbd5e1;
    font-family: 'Inter', system-ui, sans-serif;
}

/* ================= CATALOGUE DES 5 KITS (HUB) ================= */
.kits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.6rem;
    margin: 2rem 0 3.5rem;
}

.kit-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 22px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.22s ease, border-color 0.22s ease;
}

.kit-card:hover {
    transform: translateY(-4px);
    border-color: var(--kit-color, var(--accent));
}

.kit-header-banner {
    padding: 1.25rem 1.4rem;
    background: linear-gradient(135deg, var(--kit-primary, var(--primary)), #0f172a);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
}

.kit-tag-age {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    padding: 0.22rem 0.65rem;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 700;
}

.kit-price-tag {
    background: var(--kit-color, var(--accent));
    color: #fff;
    padding: 0.28rem 0.75rem;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 700;
}

.kit-svg-preview {
    width: 60px;
    height: 50px;
    flex-shrink: 0;
}

.kit-svg-preview svg {
    width: 100%;
    height: 100%;
}

.kit-body {
    padding: 1.4rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.2rem;
}

.kit-title {
    font-size: 1.35rem;
    margin-bottom: 0.3rem;
    color: #fff;
}

.kit-synopsis {
    font-size: 0.88rem;
    color: var(--text-muted);
    font-family: 'Inter', system-ui, sans-serif;
    margin-bottom: 0.9rem;
}

.kit-features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.82rem;
    color: #cbd5e1;
}

.kit-actions-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.btn-view-kit {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 0.45rem;
    padding: 0.8rem 1.1rem;
    border-radius: 12px;
    background: var(--kit-color, var(--accent));
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
}

.btn-preview-game {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 0.4rem;
    padding: 0.58rem 0.95rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.82rem;
    font-family: 'Inter', system-ui, sans-serif;
}

.btn-preview-game:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

/* ================= FAQ ================= */
.faq-section {
    max-width: 860px;
    margin: 3rem auto;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1rem 1.25rem;
}

.faq-item summary {
    cursor: pointer;
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
}

.faq-item p {
    margin-top: 0.65rem;
    font-size: 0.9rem;
    color: #cbd5e1;
    font-family: 'Inter', system-ui, sans-serif;
}

/* ================= PIED DE PAGE LÉGAL ================= */
.kits-footer {
    border-top: 1px solid var(--border);
    padding: 2rem 1.25rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.84rem;
    font-family: 'Inter', system-ui, sans-serif;
}

.kits-footer a {
    color: #cbd5e1;
    text-decoration: underline;
}

.kits-footer a:hover {
    color: #fff;
}
