:root {
    --bg: #0f0f0f;
    --card: #161616;
    --text: #f3f3f3;
    --accent: #e63946;
    --accent-2: #ffd166;
    --radius: 16px;
    --shadow: 0 10px 24px rgba(0,0,0,.35);
    --container: 1140px;
}

/* BASE */
body {
    font-family: Inter, sans-serif;
    background: var(--bg);
    color: var(--text);
    margin: 0;
    line-height: 1.7;
}

.container {
    width: min(100% - 32px, var(--container));
    margin-inline: auto;
}

.section {
    padding: 48px 0;
}

/* TITRES */
h1 {
    font-size: 2.2rem;
    text-align: center;
    color: var(--accent);
    margin-bottom: 32px;
}

h2 {
    font-size: 1.4rem;
    margin-top: 32px;
    margin-bottom: 16px;
    border-left: 4px solid var(--accent);
    padding-left: 10px;
    color: var(--text);
}

p {
    margin-bottom: 16px;
    max-width: 700px;
    color: #d4d4d4;
}

/* CONTENU PRINCIPAL */
main.section {
    background: var(--card);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* HEADER */
header {
    position: sticky;
    top: 0;
    background: rgba(15, 15, 15, .7);
    backdrop-filter: blur(8px);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}

.brand {
    display: flex;
    gap: 12px;
    font-weight: 800;
    color: var(--text);
    text-decoration: none;
}

.logo {
    width: 38px;
    height: 38px;
    object-fit: contain;
    border-radius: 50%;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 18px;
    margin: 0;
    padding: 0;
}

nav a {
    color: var(--text);
    text-decoration: none;
    padding: 8px 12px;
    font-weight: 600;
    transition: color .3s ease;
}

nav a:hover {
    color: var(--accent);
}

/* BOUTONS */
.cta {
    background: var(--accent);
    color: white;
    padding: 10px 16px;
    border-radius: 999px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: background .3s ease;
}

.cta:hover {
    background: #b82836;
}

a.ghost, button.ghost {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--accent);
    color: var(--accent);
    text-decoration: none;
    transition: all .3s ease;
    font-weight: 600;
    background: transparent;
    cursor: pointer;
}

a.ghost:hover, button.ghost:hover {
    background: var(--accent);
    color: white;
}

/* FOOTER */
footer {
    padding: 40px 0;
    background: #141414;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #c7c7c7;
}

.row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    text-align: center;
}

footer a.ghost {
    border: none;
    color: #c7c7c7;
    font-weight: 400;
}

footer a.ghost:hover {
    color: var(--accent);
    background: transparent;
}
