:root {
    --gold: #aa8419;
    --gold-light: #d4a017;
    --cream: #faf3dd;
    --dark: #111111;
    --dark-2: #1a1a1a;
    --dark-3: #222222;
    --mono: 'Share Tech Mono', monospace;
}

* { box-sizing: border-box; }

body {
    background-color: var(--dark) !important;
    color: var(--cream) !important;
    font-family: 'Lora', serif;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 1.4s ease, transform 1.4s ease;
    overflow-x: hidden;
}
body.loaded {
    opacity: 1;
    transform: none;
}

/* ─── SCANLINE OVERLAY ─── */
body::after {
    content: "";
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(0,0,0,0.04) 2px,
            rgba(0,0,0,0.04) 4px
    );
    pointer-events: none;
    z-index: 9999;
}

/* ─── HERO (structure commune — chaque page surcharge background-image) ─── */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    background: no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.92) 0%, rgba(17,10,0,0.85) 60%, rgba(0,0,0,0.75) 100%);
    z-index: 1;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
            linear-gradient(rgba(170,132,25,0.05) 1px, transparent 1px),
            linear-gradient(90deg, rgba(170,132,25,0.05) 1px, transparent 1px);
    background-size: 80px 80px;
    z-index: 2;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    from { background-position: 0 0, 0 0; }
    to   { background-position: 80px 80px, 80px 80px; }
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 900px;
    padding: 20px;
}

.hero-eyebrow {
    font-family: var(--mono);
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    color: var(--gold) !important;
    text-transform: uppercase;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.3s forwards;
}

.hero-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(2.8rem, 7vw, 4.5rem);
    font-weight: 900;
    color: var(--cream) !important;
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: 0.05em;
    margin: 0 0 30px;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.5s forwards;
}

.hero-title .accent {
    color: var(--gold) !important;
    display: block;
}

.hero-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), transparent);
    margin: 20px auto 0;
}

.hero-sub {
    font-size: 1rem;
    color: rgba(250,243,221,0.6) !important;
    font-weight: 400;
    font-family: 'Lora', serif;
    line-height: 1.7;
    max-width: 650px;
    margin: 0 auto;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.7s forwards;
}

/* ─── HERO COUNTER ─── */
.hero-counter {
    display: flex;
    gap: 60px;
    justify-content: center;
    margin-top: 50px;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.9s forwards;
}

.hero-counter-item { text-align: center; }

.hero-counter-item .num {
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    color: var(--gold-light) !important;
    display: block;
    line-height: 1;
}

.hero-counter-item .label {
    font-family: var(--mono);
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    color: rgba(250,243,221,0.45) !important;
    text-transform: uppercase;
}

/* ─── SCROLL INDICATOR ─── */
.scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0;
    animation: fadeIn 1s ease 1.5s forwards;
}

.scroll-hint span {
    font-family: var(--mono);
    font-size: 0.6rem;
    letter-spacing: 0.3em;
    color: var(--gold) !important;
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(var(--gold), transparent);
    animation: scrollPulse 2s ease infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(1); }
    50%       { opacity: 1;   transform: scaleY(1.2); }
}

/* ─── SECTION TITLES ─── */
.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-tag {
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.35em;
    color: var(--gold) !important;
    text-transform: uppercase;
    display: block;
    margin-bottom: 12px;
}

.section-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--cream) !important;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 14px auto 0;
}

/* ─── CONTACT BAND ─── */
.contact-band {
    padding: 80px 30px;
    background: linear-gradient(135deg, var(--dark-2) 0%, rgba(170,132,25,0.05) 50%, var(--dark-2) 100%) !important;
    text-align: center;
    border-top: 1px solid rgba(170,132,25,0.2);
    border-bottom: 1px solid rgba(170,132,25,0.2);
}

.contact-band h2 {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.4rem, 3vw, 2rem);
    color: var(--cream) !important;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.contact-band p {
    color: rgba(250,243,221,0.55) !important;
    font-size: 0.95rem;
    max-width: 550px;
    margin: 0 auto 36px;
    line-height: 1.8;
}

/* ─── BUTTONS ─── */
.btn-gold {
    font-family: var(--mono);
    font-size: 0.8rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--dark);
    background: var(--gold);
    border: none;
    padding: 14px 40px;
    cursor: pointer;
    clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
    transition: background 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-gold:hover {
    background: var(--gold-light);
    box-shadow: 0 0 30px rgba(212,160,23,0.4);
    color: var(--dark);
}

.btn-outline-gold {
    font-family: var(--mono);
    font-size: 0.8rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold) !important;
    background: transparent;
    border: 1px solid rgba(170,132,25,0.5);
    padding: 13px 40px;
    cursor: pointer;
    clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
    margin-left: 16px;
}

.btn-outline-gold:hover {
    border-color: var(--gold);
    background: rgba(170,132,25,0.1);
    color: var(--gold-light);
}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
