/* ═══════════════════════════════════════════════════════════════════
   EVENTS BILLETS MAG — Warmup Blog CSS
   Design: Premium éditorial, fond sombre, accents or/doré
   ═══════════════════════════════════════════════════════════════════ */

:root {
    --bg-primary: #0d0f14;
    --bg-secondary: #141720;
    --bg-card: #1a1d28;
    --bg-card-hover: #1f2330;
    --text-primary: #f4f1ea;
    --text-secondary: #a8a4a0;
    --text-muted: #6b6660;
    --accent-gold: #e9c46a;
    --accent-gold-dark: #d4a017;
    --accent-blue: #4a90d9;
    --border-subtle: rgba(255,255,255,0.06);
    --border-card: rgba(255,255,255,0.08);
    --shadow-card: 0 4px 24px rgba(0,0,0,0.4);
    --shadow-hover: 0 8px 40px rgba(0,0,0,0.6);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --font-serif: 'Fraunces', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
    --max-width: 1100px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--accent-gold); text-decoration: none; transition: color 0.2s var(--ease-out); }
a:hover { color: var(--accent-gold-dark); }

img { max-width: 100%; height: auto; display: block; }

/* ── HEADER ─────────────────────────────────────────────────────── */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(13, 15, 20, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
}

.header-logo img {
    height: 32px;
    width: auto;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.header-nav a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s var(--ease-out);
}

.header-nav a:hover { color: var(--text-primary); }

.header-nav a.active { color: var(--accent-gold); }

.header-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1.2rem;
    background: var(--accent-gold);
    color: var(--bg-primary);
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
    transition: transform 0.16s var(--ease-out), background 0.2s;
}

.header-cta:hover {
    background: var(--accent-gold-dark);
    color: var(--bg-primary);
    transform: scale(1.02);
}

.header-cta:active { transform: scale(0.97); }

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 0.5rem;
}

/* ── HERO ───────────────────────────────────────────────────────── */

.hero {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 1.5rem;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #1a1d28 0%, #0d0f14 50%, #1a1020 100%);
    z-index: 0;
}

.hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(233,196,106,0.06) 0%, transparent 60%);
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.hero__badge {
    display: inline-block;
    padding: 0.3rem 0.9rem;
    background: rgba(233,196,106,0.12);
    border: 1px solid rgba(233,196,106,0.25);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.2rem;
}

.hero h1 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.hero__subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.hero__meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.hero__meta span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* ── SECTIONS ───────────────────────────────────────────────────── */

.section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 4rem 1.5rem;
}

.section--wide {
    max-width: 1200px;
}

.section__title {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.section__subtitle {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 2.5rem;
}

/* ── ARTICLE CARDS ──────────────────────────────────────────────── */

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.article-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), border-color 0.25s;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(233,196,106,0.15);
}

.article-card__img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.article-card__body {
    padding: 1.3rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-card__cat {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.article-card__title {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 0.6rem;
    color: var(--text-primary);
}

.article-card__excerpt {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    flex: 1;
}

.article-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem;
    padding-top: 0.8rem;
    border-top: 1px solid var(--border-subtle);
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ── ARTICLE FULL ───────────────────────────────────────────────── */

.article-full {
    max-width: 720px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.article-full h2 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 2.5rem 0 1rem;
    color: var(--text-primary);
}

.article-full h3 {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 600;
    margin: 2rem 0 0.8rem;
    color: var(--text-primary);
}

.article-full p {
    margin-bottom: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.article-full strong { color: var(--text-primary); }

/* ── DATES LISTING ──────────────────────────────────────────────── */

.dates-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.date-row {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1rem 1.3rem;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    transition: border-color 0.2s, background 0.2s;
}

.date-row:hover {
    border-color: rgba(233,196,106,0.2);
    background: var(--bg-card-hover);
}

.date-row--complet {
    opacity: 0.5;
    pointer-events: none;
}

.date-row__date {
    text-align: center;
    min-width: 52px;
}

.date-row__day {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
    color: var(--text-primary);
}

.date-row__month {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-top: 0.2rem;
}

.date-row__info {
    flex: 1;
}

.date-row__title {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-bottom: 0.15rem;
}

.date-row__venue {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.date-row__price {
    font-size: 0.85rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.date-row__price strong {
    font-size: 1.1rem;
    color: var(--text-primary);
}

.date-row__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.5rem 1rem;
    background: var(--accent-gold);
    color: var(--bg-primary);
    font-weight: 600;
    font-size: 0.8rem;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    transition: transform 0.16s var(--ease-out), background 0.2s;
}

.date-row__cta:hover {
    background: var(--accent-gold-dark);
    color: var(--bg-primary);
    transform: scale(1.02);
}

.date-row__status {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* ── PRE-RESERVATION FORM ───────────────────────────────────────── */

.form-section {
    max-width: 560px;
    margin: 0 auto;
    padding: 3rem 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
}

.form-section h2 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-align: center;
}

.form-section p {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.9rem;
    font-family: var(--font-sans);
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-gold);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5L6 7.5L9 4.5' fill='none' stroke='%23a8a4a0' stroke-width='1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-submit {
    width: 100%;
    padding: 0.85rem;
    margin-top: 1.5rem;
    background: var(--accent-gold);
    color: var(--bg-primary);
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-family: var(--font-sans);
    transition: transform 0.16s var(--ease-out), background 0.2s;
}

.form-submit:hover { background: var(--accent-gold-dark); transform: scale(1.01); }
.form-submit:active { transform: scale(0.97); }

.form-price {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.form-price strong {
    color: var(--accent-gold);
    font-size: 1rem;
}

/* ── FOOTER ─────────────────────────────────────────────────────── */

.site-footer {
    margin-top: 4rem;
    border-top: 1px solid var(--border-subtle);
    padding: 3rem 1.5rem 2rem;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-top: 0.8rem;
    line-height: 1.6;
}

.footer-col h4 {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.footer-col ul { list-style: none; }

.footer-col li { margin-bottom: 0.5rem; }

.footer-col a {
    color: var(--text-secondary);
    font-size: 0.85rem;
    transition: color 0.2s;
}

.footer-col a:hover { color: var(--text-primary); }

.footer-bottom {
    max-width: var(--max-width);
    margin: 2rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-subtle);
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ── CONFIRMATION ───────────────────────────────────────────────── */

.confirmation {
    text-align: center;
    padding: 4rem 1.5rem;
    max-width: 560px;
    margin: 0 auto;
}

.confirmation__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    background: rgba(233,196,106,0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.confirmation__ref {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1.2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-sm);
    font-family: monospace;
    font-size: 1rem;
    color: var(--accent-gold);
    letter-spacing: 0.05em;
}

/* ── DIVIDER ────────────────────────────────────────────────────── */

.divider {
    max-width: var(--max-width);
    margin: 0 auto;
    border: none;
    border-top: 1px solid var(--border-subtle);
}

/* ── RESPONSIVE ─────────────────────────────────────────────────── */

@media (max-width: 768px) {
    .header-nav { display: none; }
    .menu-toggle { display: block; }

    .hero { min-height: 320px; padding: 3rem 1.2rem; }
    .hero h1 { font-size: 1.8rem; }

    .articles-grid { grid-template-columns: 1fr; }

    .date-row {
        flex-wrap: wrap;
        gap: 0.8rem;
    }
    .date-row__cta { width: 100%; justify-content: center; }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-section { padding: 2rem 1.2rem; }
}

@media (max-width: 480px) {
    .hero__meta { flex-direction: column; gap: 0.5rem; }
    .section { padding: 2.5rem 1rem; }
}
