/* ── FONTS ── */
@font-face {
    font-family: "Exo-2";
    src: url("/fonts/Exo-2/Exo2-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Exo-2";
    src: url("/fonts/Exo-2/Exo2-SemiBold.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Exo-2";
    src: url("/fonts/Exo-2/Exo2-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Sawer";
    src: url("/fonts/Sawer.woff2")
        format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Jolly Lodger";
    src: url("/fonts/Jolly-Lodger.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}


/* ── VARIABLES ── */
:root {
    --bg: #080b14;
    --surface: #0f1220;
    --surface2: #171b2e;
    --border: #252840;
    --accent: #7027cf;
    --accent2: #a368ff;
    --indigo: #2d4fcc;
    --blueP: #5570dd;
    --text: #dde8ff;
    --muted: #5a6080;
    --danger: #e05050;

    --font-ui: "Exo-2", sans-serif;
    --font-heading: "Sawer", cursive;
    --font-display: "Jolly Lodger", cursive;

    --radius: 24px;
    --transition: 0.12s;

    /* ── TYPOGRAPHIC SCALE ── */
    --text-3xs: 0.625rem;    /* 10px  — tags, badge, logo-sub               */
    --text-2xs: 0.6875rem;   /* 11px  — subtitles, meta, lang               */
    --text-xs:   0.75rem;    /* 12px  — labels mono, .section-label        */
    --text-sm:   0.875rem;   /* 14px  — secondaire, captions, boutons       */
    --text-base: 1rem;       /* 16px  — corps de texte <p>                  */
    --text-lg:   1.125rem;   /* 18px  — lead, intro                         */
    --text-h3:   1.375rem;   /* 22px  — h3 mobile                           */
    --text-h2:   1.75rem;    /* 28px  — h2 mobile                           */
    --text-h1:   clamp(32px, 5vw, 40px);       /* 32-40px  — h1 responsive          */
}

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

* {
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-ui);
    font-size: var(--text-base);
    font-weight: 400;
    line-height: 1.6;
    min-height: 100vh;
}

#header-placeholder {
    min-height: 60px;
}

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

a {
    color: var(--accent2);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--text);
}

/* ── TYPOGRAPHIE DE BASE ── */
h1 {
    font-family: var(--font-heading);
    font-size: var(--text-h1);
    color: var(--accent);
    text-transform: uppercase;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: 2px;
    margin-bottom: 8px;
}
h2 {
    font-family:var(--font-heading);
    font-size: var(--text-h2);
    line-height: 1.2;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    text-align: center;
    margin-bottom: 12px;
    margin-top: 32px;
}
h3 {
    font-family: var(--font-heading);
    font-size: var(--text-h3);
    line-height: 1.3;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 12px;
}
p  {
    font-size: var(--text-base);
    font-weight: 400;
    color: var(--muted);
    line-height: 1.7;
    /*max-width: 480px;*/

}
/*.section__text p {
    font-size: var(--text-sm);
    line-height: 1.8;
    margin-bottom: 16px;
    color: var(--text);
}*/


/* ── BOUTONS ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: var(--radius);
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition:
        border-color var(--transition),
        color var(--transition),
        background var(--transition);

    background: var(--surface2);
    color: var(--text);
}

.btn:hover {
    border-color: var(--accent2);
    color: var(--accent2);
}

.btn--primary {
    background: var(--accent);
    color: #fff;
}

.btn--primary:hover {
    background: var(--accent2);
    border-color: var(--accent2);
    color: #fff;
}

/* ── CARDS ── */
.card {
    display: block;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--blueP);
    background: var(--surface);
    text-decoration: none;
    transition: border-color var(--transition);
}

.card:hover {
    border-color: var(--accent2);
}

/* ── SUBTITRE ── */
.subtitle {
    font-family: var(--font-ui);
    font-size: var(--text-2xs);
    color: var(--muted);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ── TAG ── */
.tag {
    display: inline-block;
    padding: 3px 10px;
    font-size: var(--text-3xs);
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent2);
    border: 1px solid var(--accent2);
    border-radius: var(--radius);
}

/* ── HERO TITLE (h1 override) ── */
.hero__title {
    font-size: clamp(36px, 6vw, 64px);
    color: var(--text);
}

/* ── CTA TITLE (h2 override) ── */
.cta__title {
    font-family: var(--font-heading);
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 700;
    margin-bottom: 20px;
}

/* ── UTILITAIRES ── */
.section-label {
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent2);
}
