/* ============================================================
   Don Doneli — Main Stylesheet
   Dark cinematic luxury aesthetic
   ============================================================ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
    --bg-base:      #0f0f0f;
    --bg-card:      #1a1a1a;
    --bg-elevated:  #242424;
    --gold:         #c9a84c;
    --gold-light:   #e0c170;
    --gold-dark:    #a07830;
    --white:        #ffffff;
    --text-primary: #f0ede8;
    --text-muted:   #888888;
    --border:       #2e2e2e;
    --danger:       #e05555;
    --success:      #4caf6e;
    --warning:      #e0a84c;

    --font-display: 'Playfair Display', Georgia, serif;
    --font-body:    'DM Sans', system-ui, sans-serif;

    --radius-sm:  4px;
    --radius-md:  8px;
    --radius-lg:  12px;
    --transition: 0.25s ease;
    --shadow:     0 4px 24px rgba(0,0,0,0.4);
    --shadow-gold:0 0 24px rgba(201,168,76,0.15);
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
    font-family: var(--font-body);
    background: var(--bg-base);
    color: var(--text-primary);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    max-width: 100vw;
}
a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-light); }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font-body); }

/* ── Layout ─────────────────────────────────────────────────── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Header ─────────────────────────────────────────────────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(15,15,15,0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}
.header-inner {
    display: flex;
    align-items: center;
    gap: 40px;
    height: 70px;
}
.logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    white-space: nowrap;
}
.logo-prop  { color: var(--white); }
.logo-vault { color: var(--gold); }

.main-nav { flex: 1; }
.main-nav ul {
    display: flex;
    gap: 32px;
}
.main-nav a {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: color var(--transition);
}
.main-nav a:hover,
.main-nav a.active { color: var(--gold); }

.header-actions { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.cart-btn {
    position: relative;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    padding: 6px;
    border-radius: var(--radius-sm);
    transition: color var(--transition);
}
.cart-btn:hover { color: var(--gold); }
.cart-badge {
    position: absolute;
    top: -4px; right: -4px;
    background: var(--gold);
    color: var(--bg-base);
    font-size: 0.65rem;
    font-weight: 700;
    width: 18px; height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 4px;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* ── Flash messages ─────────────────────────────────────────── */
.flash {
    padding: 14px 0;
    font-size: 0.9rem;
}
.flash .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.flash--success { background: rgba(76,175,110,0.12); border-bottom: 1px solid var(--success); }
.flash--error   { background: rgba(224, 85, 85,0.12); border-bottom: 1px solid var(--danger); }
.flash--info    { background: rgba(201,168,76,0.08);  border-bottom: 1px solid var(--gold); }
.flash__close   { background: none; border: none; color: var(--text-muted); font-size: 1.2rem; padding: 0 4px; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: none;
    transition: all var(--transition);
    white-space: nowrap;
}
.btn-primary {
    background: var(--gold);
    color: var(--bg-base);
}
.btn-primary:hover {
    background: var(--gold-light);
    color: var(--bg-base);
    box-shadow: var(--shadow-gold);
    transform: translateY(-1px);
}
.btn-outline {
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
}
.btn-outline:hover {
    background: var(--gold);
    color: var(--bg-base);
}
.btn-ghost {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border);
}
.btn-ghost:hover {
    color: var(--text-primary);
    border-color: var(--text-muted);
}
.btn-danger {
    background: var(--danger);
    color: var(--white);
}
.btn-sm { padding: 8px 18px; font-size: 0.8rem; }
.btn-lg { padding: 16px 40px; font-size: 1rem; }

/* ── Section helpers ────────────────────────────────────────── */
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}
.section-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 560px;
    margin-bottom: 48px;
}
.section-header { margin-bottom: 48px; }
.gold-line {
    display: block;
    width: 48px;
    height: 3px;
    background: var(--gold);
    margin: 16px 0 24px;
}

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background:
        linear-gradient(135deg, rgba(15,15,15,0.97) 50%, rgba(26,20,8,0.93) 100%),
        radial-gradient(ellipse at 70% 50%, rgba(201,168,76,0.08) 0%, transparent 70%);
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a84c' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 1;
}
.hero-content {
    position: relative;
    max-width: 680px;
}
.hero-badge {
    display: inline-block;
    background: rgba(201,168,76,0.1);
    border: 1px solid rgba(201,168,76,0.3);
    color: var(--gold);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 2px;
    margin-bottom: 24px;
}
.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 20px;
}
.hero h1 em {
    font-style: normal;
    color: var(--gold);
}
.hero-lead {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 520px;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

/* ── Hero v2 (nouvelle homepage) ────────────────────────────── */
.hero-v2 {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(ellipse at 50% 30%, rgba(201,168,76,0.07) 0%, transparent 65%),
        linear-gradient(180deg, #0f0f0f 0%, #131108 100%);
    position: relative;
    overflow: hidden;
    padding: 60px 24px;
}
.hero-v2::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23c9a84c' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}
.hero-v2__inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
    width: 100%;
    max-width: 700px;
}

/* Billet flottant CSS */
.bill-float {
    margin-bottom: 40px;
    perspective: 800px;
}
.bill-float__card {
    position: relative;
    animation: billFloat 4s ease-in-out infinite;
}
.bill-float__inner {
    width: 320px;
    height: 140px;
    background: linear-gradient(135deg, #1c1a0e 0%, #2a2510 50%, #1c1a0e 100%);
    border: 1.5px solid rgba(201,168,76,0.5);
    border-radius: 6px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(201,168,76,0.12), inset 0 0 30px rgba(201,168,76,0.04);
}
.bill-float__inner::before {
    content: '';
    position: absolute;
    inset: 5px;
    border: 1px solid rgba(201,168,76,0.15);
    border-radius: 3px;
    pointer-events: none;
}
.bill-float__corner {
    position: absolute;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--gold);
    opacity: .8;
}
.bill-float__corner--tl { top: 10px; left: 14px; }
.bill-float__corner--br { bottom: 10px; right: 14px; transform: rotate(180deg); }
.bill-float__center {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}
.bill-float__seal {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid rgba(201,168,76,0.3);
    box-shadow: 0 0 0 4px rgba(201,168,76,0.08), inset 0 0 12px rgba(201,168,76,0.05);
    background: radial-gradient(circle, rgba(201,168,76,0.06) 0%, transparent 70%);
}
.bill-float__lines {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.bill-float__lines span {
    display: block;
    height: 2px;
    background: rgba(201,168,76,0.2);
    border-radius: 2px;
}
.bill-float__lines span:nth-child(1) { width: 80px; }
.bill-float__lines span:nth-child(2) { width: 60px; }
.bill-float__lines span:nth-child(3) { width: 70px; }
.bill-float__lines span:nth-child(4) { width: 50px; }
.bill-float__stamp {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: .45rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(201,168,76,0.4);
    white-space: nowrap;
}
.bill-float__shadow {
    width: 280px;
    height: 20px;
    background: radial-gradient(ellipse, rgba(201,168,76,0.15) 0%, transparent 70%);
    margin: 12px auto 0;
    animation: shadowPulse 4s ease-in-out infinite;
}

@keyframes billFloat {
    0%, 100% { transform: translateY(0) rotate(-1deg); }
    50%       { transform: translateY(-14px) rotate(1deg); }
}
@keyframes shadowPulse {
    0%, 100% { transform: scaleX(1);   opacity: 1; }
    50%       { transform: scaleX(.75); opacity: .5; }
}

/* Titre */
.hero-v2__title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 700;
    letter-spacing: .04em;
    line-height: 1;
    margin-bottom: 12px;
}
.hero-v2__prop  { color: var(--white); }
.hero-v2__vault { color: var(--gold); }
.hero-v2__sub {
    font-size: clamp(.8rem, 2vw, 1rem);
    color: var(--text-muted);
    letter-spacing: .08em;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 40px;
}

/* 4 boutons CTA */
.hero-v2__cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 56px;
}
.hero-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 12px 22px;
    border-radius: var(--radius-sm);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    border: 1px solid var(--border);
    color: var(--text-muted);
    background: rgba(255,255,255,0.03);
    transition: all var(--transition);
    white-space: nowrap;
}
.hero-cta-btn:hover {
    border-color: var(--gold-dark);
    color: var(--gold);
    background: rgba(201,168,76,0.06);
}
.hero-cta-btn--primary {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--bg-base);
}
.hero-cta-btn--primary:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    color: var(--bg-base);
    box-shadow: var(--shadow-gold);
}

/* 3 trust pills */
.hero-v2__badges {
    display: flex;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    width: 100%;
    max-width: 620px;
}
.trust-pill {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    flex: 1;
    background: rgba(255,255,255,0.02);
    text-align: left;
}
.trust-pill + .trust-pill {
    border-left: 1px solid var(--border);
}
.trust-pill__icon {
    color: var(--gold);
    flex-shrink: 0;
    opacity: .9;
}
.trust-pill__title {
    font-size: .8rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 2px;
}
.trust-pill__desc {
    font-size: .7rem;
    color: var(--text-muted);
    line-height: 1.3;
}

/* Product tile (remplace les images de billets) */
.product-tile {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: linear-gradient(135deg, #1a1808 0%, #221f0a 100%);
    position: relative;
    overflow: hidden;
}
.product-tile::before {
    content: '';
    position: absolute;
    inset: 8px;
    border: 1px solid rgba(201,168,76,0.12);
    border-radius: 2px;
    pointer-events: none;
}
.product-tile__denom {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 700;
    color: rgba(201,168,76,0.25);
    line-height: 1;
}
.product-tile__currency {
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(201,168,76,0.5);
}
.product-tile__label {
    font-size: .5rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(201,168,76,0.25);
    margin-top: 4px;
}

/* ── Trust badges ───────────────────────────────────────────── */
.trust-bar {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
}
.trust-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}
.trust-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.trust-badge svg { color: var(--gold); flex-shrink: 0; }

/* ── Product cards ──────────────────────────────────────────── */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}
.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.product-card:hover {
    border-color: var(--gold-dark);
    box-shadow: var(--shadow-gold);
    transform: translateY(-3px);
}
.product-card__image {
    position: relative;
    aspect-ratio: 16/9;
    background: var(--bg-elevated);
    overflow: hidden;
}
.product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-card__image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
}
.product-card__prop-stamp {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(201,168,76,0.15);
    border: 1px solid var(--gold-dark);
    color: var(--gold);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 2px;
}
.product-card__body { padding: 20px; }
.product-card__currency {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 6px;
}
.product-card__name {
    font-family: var(--font-display);
    font-size: 1.05rem;
    color: var(--white);
    margin-bottom: 12px;
    line-height: 1.3;
}
.product-card__price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 4px;
}
.product-card__pack-info {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}
.product-card__footer { padding: 0 20px 20px; }
.product-card__not-legal {
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    text-align: center;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

/* ── How it works ───────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.step {
    text-align: center;
    padding: 32px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    position: relative;
}
.step__number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: rgba(201,168,76,0.15);
    line-height: 1;
    margin-bottom: 16px;
}
.step__title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 10px;
}
.step__desc { font-size: 0.875rem; color: var(--text-muted); }

/* ── Testimonials ───────────────────────────────────────────── */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.testimonial {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-left: 3px solid var(--gold);
    border-radius: var(--radius-md);
    padding: 28px;
}
.testimonial__quote {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--text-primary);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}
.testimonial__author {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.testimonial__role { font-size: 0.75rem; color: var(--text-muted); margin-top: 2px; }

/* ── Legal disclaimer block ─────────────────────────────────── */
.legal-disclaimer {
    background: rgba(201,168,76,0.05);
    border: 1px solid rgba(201,168,76,0.2);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}
.legal-disclaimer strong { color: var(--gold); }

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    margin-top: 80px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding: 64px 0 48px;
}
.footer-tagline { font-size: 0.85rem; color: var(--text-muted); margin-top: 12px; line-height: 1.5; }
.footer-heading {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a, .footer-links li {
    font-size: 0.875rem;
    color: var(--text-muted);
    transition: color var(--transition);
}
.footer-links a:hover { color: var(--text-primary); }

.legal-notice {
    border: 1px solid rgba(201,168,76,0.15);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    margin-bottom: 32px;
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.7;
    background: rgba(201,168,76,0.03);
}
.legal-notice strong { color: var(--gold-light); }

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    border-top: 1px solid var(--border);
    font-size: 0.8rem;
    color: var(--text-muted);
    flex-wrap: wrap;
    gap: 8px;
}
.footer-bottom__legal { display: flex; gap: 16px; }
.footer-bottom__legal a { color: var(--text-muted); }
.footer-bottom__legal a:hover { color: var(--gold); }

/* ── Forms ──────────────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.form-control {
    width: 100%;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    padding: 12px 16px;
    transition: border-color var(--transition);
    -webkit-appearance: none;
}
.form-control:focus {
    outline: none;
    border-color: var(--gold-dark);
    box-shadow: 0 0 0 3px rgba(201,168,76,0.1);
}
.form-control::placeholder { color: var(--text-muted); }
select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 120px; }
.form-error {
    font-size: 0.78rem;
    color: var(--danger);
    margin-top: 5px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ── Cart table ─────────────────────────────────────────────── */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    text-align: left;
}
.cart-table td { padding: 16px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.cart-qty-input {
    width: 60px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    color: var(--text-primary);
    font-size: 0.9rem;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    text-align: center;
}

/* ── Order summary sidebar ──────────────────────────────────── */
.order-summary {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    position: sticky;
    top: 90px;
}
.order-summary__title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 20px;
}
.order-summary__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
    color: var(--text-muted);
}
.order-summary__row:last-of-type { border-bottom: none; }
.order-summary__total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0 0;
    margin-top: 8px;
    border-top: 1px solid var(--border);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--white);
}

/* ── Payment method cards ───────────────────────────────────── */
.payment-methods { display: flex; flex-direction: column; gap: 12px; }
.payment-method {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    cursor: pointer;
    transition: border-color var(--transition), background var(--transition);
    display: flex;
    align-items: center;
    gap: 14px;
}
.payment-method:has(input:checked) {
    border-color: var(--gold);
    background: rgba(201,168,76,0.05);
}
.payment-method input[type="radio"] { accent-color: var(--gold); }
.payment-method__label { font-weight: 600; font-size: 0.95rem; }
.payment-method__desc  { font-size: 0.8rem; color: var(--text-muted); }

/* ── Page header ────────────────────────────────────────────── */
.page-header {
    padding: 64px 0 48px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 48px;
}
.page-header h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--white);
    margin-bottom: 12px;
}
.page-header p { color: var(--text-muted); }

/* ── Two-column layout ──────────────────────────────────────── */
.layout-two-col {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 40px;
    align-items: start;
}

/* ── Badges / tags ──────────────────────────────────────────── */
.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 2px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.badge-gold   { background: rgba(201,168,76,0.15); color: var(--gold); border: 1px solid var(--gold-dark); }
.badge-green  { background: rgba(76,175,110,0.1);  color: var(--success); }
.badge-red    { background: rgba(224,85,85,0.1);   color: var(--danger); }
.badge-gray   { background: rgba(136,136,136,0.1); color: var(--text-muted); }

/* ── Admin table ────────────────────────────────────────────── */
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    text-align: left;
    white-space: nowrap;
}
.admin-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
    vertical-align: middle;
}
.admin-table tr:hover td { background: rgba(255,255,255,0.02); }

/* ── Pagination ─────────────────────────────────────────────── */
.pagination {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
}
.pagination a, .pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    font-size: 0.875rem;
    color: var(--text-muted);
    transition: all var(--transition);
}
.pagination a:hover { border-color: var(--gold); color: var(--gold); }
.pagination .current { background: var(--gold); border-color: var(--gold); color: var(--bg-base); font-weight: 700; }

/* ── Utility ────────────────────────────────────────────────── */
.text-gold    { color: var(--gold); }
.text-muted   { color: var(--text-muted); }
.text-center  { text-align: center; }
.text-sm      { font-size: 0.85rem; }
.mt-8   { margin-top: 8px; }
.mt-16  { margin-top: 16px; }
.mt-24  { margin-top: 24px; }
.mt-32  { margin-top: 32px; }
.mt-48  { margin-top: 48px; }
.mb-8   { margin-bottom: 8px; }
.mb-16  { margin-bottom: 16px; }
.mb-24  { margin-bottom: 24px; }
.mb-32  { margin-bottom: 32px; }
.gap-16 { gap: 16px; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.w-100 { width: 100%; }

/* ── Configurateur produit ──────────────────────────────────── */
.configurator {
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 48px 24px 80px;
    background: var(--bg-base);
}
.configurator__inner {
    width: 100%;
    max-width: 560px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

/* Label de section */
.config-label {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 12px;
    align-self: center;
}

/* Tabs devise */
.currency-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 32px;
    flex-wrap: wrap;
    justify-content: center;
}
.currency-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 12px 24px;
    min-width: 100px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    cursor: pointer;
}
.currency-tab:hover { border-color: var(--gold-dark); }
.currency-tab--active {
    border-color: var(--gold);
    background: rgba(201,168,76,0.08);
}
.currency-tab__flag {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .1em;
    color: var(--text-muted);
}
.currency-tab--active .currency-tab__flag { color: var(--gold); }
.currency-tab__name {
    font-size: .85rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Visuel billet CSS */
.config-bill-visual {
    position: relative;
    width: 280px;
    height: 130px;
    margin-bottom: 28px;
}
.config-bill {
    position: absolute;
    width: 240px;
    height: 108px;
    border-radius: 5px;
    overflow: hidden;
}
.config-bill--main {
    left: 0; top: 0;
    z-index: 2;
    transform: rotate(-4deg);
    animation: billWobble1 5s ease-in-out infinite;
}
.config-bill--back {
    right: 0; top: 16px;
    z-index: 1;
    transform: rotate(3deg);
    animation: billWobble2 5s ease-in-out infinite;
}
.config-bill__inner {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, #1c1a0e 0%, #272210 60%, #1c1a0e 100%);
    border: 1.5px solid rgba(201,168,76,0.45);
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    position: relative;
}
.config-bill__inner::before {
    content: '';
    position: absolute;
    inset: 5px;
    border: 1px solid rgba(201,168,76,0.12);
    border-radius: 3px;
    pointer-events: none;
}
.config-bill__denom {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: rgba(201,168,76,0.5);
    line-height: 1;
}
.config-bill__cur {
    font-size: .55rem;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: rgba(201,168,76,0.4);
}
.config-bill__mark {
    font-size: .38rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(201,168,76,0.2);
    position: absolute;
    bottom: 7px;
}
@keyframes billWobble1 {
    0%,100% { transform: rotate(-4deg) translateY(0); }
    50%      { transform: rotate(-3deg) translateY(-6px); }
}
@keyframes billWobble2 {
    0%,100% { transform: rotate(3deg) translateY(0); }
    50%      { transform: rotate(4deg) translateY(-4px); }
}

/* Titre configurateur */
.config-title {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 5vw, 2.4rem);
    font-weight: 700;
    color: var(--gold);
    text-align: center;
    letter-spacing: .04em;
    margin-bottom: 4px;
}
.config-base-price {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 28px;
}

/* Sélecteur dénomination */
.denom-grid {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 8px;
}
.denom-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all var(--transition);
}
.denom-card__tile {
    width: 90px;
    height: 56px;
    background: linear-gradient(135deg, #1a1808, #222010);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.denom-card__num {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: rgba(201,168,76,0.4);
    transition: color var(--transition);
}
.denom-card__sym {
    font-size: .75rem;
    color: rgba(201,168,76,0.3);
    transition: color var(--transition);
}
.denom-card__label {
    font-size: .78rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: color var(--transition);
}
.denom-card--active .denom-card__tile,
.denom-card:hover .denom-card__tile {
    border-color: var(--gold);
    box-shadow: 0 0 14px rgba(201,168,76,0.15);
}
.denom-card--active .denom-card__num,
.denom-card:hover .denom-card__num { color: var(--gold); }
.denom-card--active .denom-card__sym,
.denom-card:hover .denom-card__sym { color: rgba(201,168,76,0.7); }
.denom-card--active .denom-card__label,
.denom-card:hover .denom-card__label { color: var(--gold); }

/* Liste des packages */
.packages-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 16px;
}
.package-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--bg-card);
    cursor: pointer;
    transition: background var(--transition);
    border-bottom: 1px solid var(--border);
}
.package-row:last-child { border-bottom: none; }
.package-row input[type="radio"] { display: none; }
.package-row:hover { background: rgba(201,168,76,0.04); }
.package-row--selected {
    background: rgba(201,168,76,0.07);
    border-left: 3px solid var(--gold);
}
.package-row__desc {
    flex: 1;
    font-size: .9rem;
    color: var(--text-primary);
    font-weight: 500;
}
.package-row__desc small {
    font-size: .72rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-left: 4px;
}
.package-row__price {
    font-size: .95rem;
    font-weight: 700;
    color: var(--gold);
    white-space: nowrap;
}

/* Résumé sélection */
.config-summary {
    font-size: .82rem;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 24px;
    line-height: 1.5;
}
.config-summary strong { color: var(--white); }

/* Bouton ADD TO CART */
.config-add-btn {
    width: 100%;
    padding: 18px 32px;
    background: var(--gold);
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: .08em;
    color: var(--bg-base);
    cursor: pointer;
    transition: all var(--transition);
    margin-bottom: 16px;
}
.config-add-btn:hover:not(:disabled) {
    background: var(--gold-light);
    box-shadow: var(--shadow-gold);
    transform: translateY(-1px);
}
.config-add-btn:disabled { opacity: .7; cursor: not-allowed; }

/* Lien bulk */
.config-more-link {
    font-size: .82rem;
    color: var(--gold);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(201,168,76,0.3);
    text-align: center;
    margin-bottom: 8px;
}
.config-more-link:hover { color: var(--gold-light); }

/* ── Catalogue layout ───────────────────────────────────────── */
.catalogue-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 40px;
    align-items: start;
    padding-bottom: 80px;
}
.catalogue-sidebar { position: sticky; top: 90px; }
.catalogue-main {}

/* Toggle button (hidden on desktop) */
.filter-toggle-btn {
    display: none;
    width: 100%;
    align-items: center;
    gap: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: .875rem;
    font-weight: 600;
    padding: 12px 16px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: border-color var(--transition);
}
.filter-toggle-btn:hover { border-color: var(--gold-dark); }
.filter-active-dot {
    width: 7px; height: 7px;
    background: var(--gold);
    border-radius: 50%;
    flex-shrink: 0;
}

/* Filter panel */
.filter-panel {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
}
.filter-radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: .9rem;
    color: var(--text-muted);
    cursor: pointer;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .layout-two-col { grid-template-columns: 1fr; }
    .order-summary { position: static; }
    .container { padding: 0 16px; }
    .cart-items, .cart-card, .cart-card__top, .cart-card__bottom, .cart-card__info { box-sizing: border-box; max-width: 100%; }
    .cart-card { overflow: hidden; }
    .cart-card__name { max-width: 100%; }
    .order-summary { margin: 0; }
    .form-grid { grid-template-columns: 1fr; }
    .catalogue-layout { grid-template-columns: 1fr; gap: 0; }
    .catalogue-sidebar { position: static; }
    .filter-toggle-btn { display: flex; }
}

@media (max-width: 768px) {
    .main-nav { display: none; }
    .main-nav.open { display: block; position: fixed; top: 57px; left: 0; right: 0; z-index: 99; background: var(--bg-card); border-bottom: 1px solid var(--border); padding: 20px 24px 28px; box-shadow: 0 8px 24px rgba(0,0,0,.4); }
    .main-nav.open ul { flex-direction: column; gap: 0; }
    .main-nav.open ul li a { display: block; padding: 12px 0; font-size: 1rem; border-bottom: 1px solid var(--border); }
    .main-nav.open ul li:last-child a { border-bottom: none; }
    .nav-toggle { display: flex; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; padding: 40px 0 32px; }
    .hero { min-height: 70vh; }
    .trust-badges { gap: 24px; }
    .products-grid { grid-template-columns: 1fr; }
    .hero-cta { flex-direction: column; }

    /* Hero v2 mobile */
    .bill-float__inner { width: 260px; height: 114px; }
    .bill-float__seal { width: 40px; height: 40px; }
    .bill-float__lines span:nth-child(1) { width: 60px; }
    .bill-float__lines span:nth-child(2) { width: 46px; }
    .bill-float__lines span:nth-child(3) { width: 54px; }
    .bill-float__lines span:nth-child(4) { width: 38px; }
    .hero-v2__cta { gap: 8px; }
    .hero-cta-btn { padding: 10px 16px; font-size: .75rem; }
    .hero-v2__badges { flex-direction: column; border-radius: var(--radius-md); }
    .trust-pill + .trust-pill { border-left: none; border-top: 1px solid var(--border); }
    .trust-pill { padding: 14px 16px; }
}
