:root {
    /* Palette OKLCH — chroma tinted vers hudayi-green */
    --hudayi-green: oklch(0.467 0.131 152.5);
    --hudayi-green-soft: oklch(0.62 0.10 152.5);
    --hudayi-gold: oklch(0.70 0.107 79.4);
    --surface-cream: oklch(0.97 0.006 78);
    --surface-tinted: oklch(0.94 0.012 152.5);
    --ink: oklch(0.25 0.012 152.5);
    --ink-muted: oklch(0.45 0.010 152.5);
    --border: oklch(0.88 0.008 152.5);

    /* Typography stacks */
    --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 1rem;
    --space-4: 1.5rem;
    --space-5: 2.5rem;
    --space-6: 4rem;
    --space-7: 6rem;
    --space-8: 8rem;
    --space-9: 10rem;
}

body {
    background-color: var(--surface-cream);
    color: var(--ink);
    font-family: var(--font-body);
    font-feature-settings: 'cv11', 'ss01';
    line-height: 1.65;
}

/* Brand bar */
.brand-bar {
    background-color: var(--surface-cream);
    border-bottom: 1px solid var(--border);
    color: var(--ink);
}
.brand-accent { color: var(--hudayi-gold); }

/* Locale switcher (FR/TR) */
.locale-switcher .nav-link {
    color: var(--ink-muted);
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 150ms ease-out;
}
.locale-switcher .nav-link:hover {
    color: var(--ink);
}
.locale-switcher .nav-link.fw-bold {
    color: var(--ink);
}

/* Editorial typography */
.display-1 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 3.75rem;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--ink);
}
.display-2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 2.5rem;
    line-height: 1.15;
    letter-spacing: -0.015em;
    color: var(--ink);
}
.display-3 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.5rem;
    line-height: 1.25;
    color: var(--ink);
}
.eyebrow {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--hudayi-gold);
    margin-bottom: var(--space-3);
}
.eyebrow-muted {
    color: var(--ink-muted);
}

/* Lead paragraph */
.lead {
    font-size: 1.25rem;
    line-height: 1.55;
    color: var(--ink-muted);
    max-width: 60ch;
}

/* Sections */
.section {
    padding-block: var(--space-7);
}
.section-tinted {
    background-color: var(--surface-tinted);
}
@media (min-width: 768px) {
    .section { padding-block: var(--space-8); }
}

/* Buttons (override Bootstrap subtly) */
.btn-primary {
    background-color: var(--hudayi-green);
    border-color: var(--hudayi-green);
    color: oklch(0.98 0 0);
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    border-radius: 6px;
}
.btn-primary:hover,
.btn-primary:focus {
    background-color: oklch(0.42 0.131 152.5);
    border-color: oklch(0.42 0.131 152.5);
    color: oklch(0.98 0 0);
}
.btn-ghost {
    background: transparent;
    border: none;
    color: var(--ink);
    font-weight: 500;
    text-decoration: none;
}
.btn-ghost:hover {
    color: var(--hudayi-green);
}

/* Class card */
.classe-card {
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: var(--space-5);
    background: var(--surface-cream);
    transition: border-color 200ms ease-out;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    height: 100%;
}
.classe-card:hover {
    border-color: var(--hudayi-green);
}
.classe-card__tarif {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.75rem;
    color: var(--ink);
}
.classe-card__cta {
    color: var(--hudayi-green);
    font-weight: 500;
    text-decoration: none;
    margin-top: auto;
}
.classe-card__cta:hover {
    text-decoration: underline;
}

/* Step number */
.step-number {
    font-family: var(--font-display);
    font-weight: 200;
    font-size: 5rem;
    line-height: 1;
    color: var(--hudayi-gold);
    opacity: 0.6;
}

/* Login split-screen */
.auth-split { min-height: 100vh; }
.auth-panel-left {
    background-color: var(--surface-tinted);
    padding: var(--space-6);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}
.auth-panel-right {
    background-color: var(--surface-cream);
    padding: var(--space-6) var(--space-5);
    display: flex;
    align-items: center;
    justify-content: center;
}
.auth-form-wrap { width: 100%; max-width: 400px; }
.auth-motif {
    position: absolute;
    bottom: var(--space-5);
    left: var(--space-5);
    width: 80px;
    color: var(--hudayi-gold);
    opacity: 0.3;
}

/* Footer */
.site-footer {
    background-color: var(--surface-cream);
    border-top: 1px solid var(--border);
    padding-block: var(--space-6);
    color: var(--ink);
}
.site-footer__heading {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ink-muted);
    margin-bottom: var(--space-3);
}
.site-footer__link {
    color: var(--ink);
    text-decoration: none;
    display: block;
    padding-block: var(--space-1);
}
.site-footer__link:hover { color: var(--hudayi-green); }

/* Mobile responsive */
@media (max-width: 767px) {
    .display-1 { font-size: 2.5rem; }
    .display-2 { font-size: 2rem; }
    .auth-panel-left { padding: var(--space-5) var(--space-4); min-height: 200px; }
    .auth-motif { width: 50px; }
}
