:root {
    --bleu-eunded: #4A7BA7;
    --rouge-eunded: #B84450;
    --bleu-vibrant: #5B9DD9;
    --rouge-intense: #E55A68;
    --bleu-profond: #1B3A52;
    --noir: #1a1a1a;
    --gris-fonce: #2d2d2d;
    --blanc: #fff;
    --beige: #f5f2ed;
}

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

body {
    font-family: 'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 17px;
    line-height: 1.6;
    color: var(--noir);
    background-color: var(--blanc);
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}

/* ═══════════════════════════════════════
   HEADER — spacieux, logo en couleurs
   ═══════════════════════════════════════ */
.header {
    text-align: left;
    max-width: 820px;
    margin: 0 auto;
    padding: 80px 40px 64px;
    position: relative;
    background: var(--blanc);
    border-left: 6px solid var(--rouge-eunded);
}

.logo {
    max-width: 320px;
    height: auto;
    margin-bottom: 36px;
    filter: drop-shadow(0 4px 12px rgba(74, 123, 167, 0.15));
}

.baseline {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--bleu-eunded);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
    line-height: 1.15;
    max-width: 600px;
}

.sous-titre {
    font-size: 1.1rem;
    color: var(--gris-fonce);
    font-weight: 500;
    line-height: 1.6;
    max-width: 100%;
}

.nowrap {
    white-space: nowrap;
}

@media (max-width: 768px) {
    .nowrap {
        white-space: normal;
    }
}

/* ═══════════════════════════════════════
   ÉTYMOLOGIE
   ═══════════════════════════════════════ */
.etymologie {
    text-align: center;
    font-style: italic;
    color: var(--bleu-eunded);
    padding: 40px 40px;
    background: var(--beige);
    margin-bottom: 0;
    font-size: 1.1rem;
    font-weight: 500;
}

/* ═══════════════════════════════════════
   SECTIONS — alternance blanc / beige
   ═══════════════════════════════════════ */
.section {
    padding: 64px 40px;
    margin-bottom: 0;
    background: var(--blanc);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section > * {
    max-width: 720px;
    width: 100%;
}

.section p {
    margin-bottom: 1.2em;
    font-size: 1.05rem;
}

.section h2 {
    font-size: 2rem;
    color: var(--noir);
    margin-bottom: 32px;
    font-weight: 900;
    letter-spacing: -0.5px;
    position: relative;
    padding-bottom: 16px;
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--rouge-eunded);
    border-radius: 2px;
}

/* Alternance */
.section:nth-of-type(2),
.section:nth-of-type(4) {
    background: var(--beige);
}

/* ═══════════════════════════════════════
   H3
   ═══════════════════════════════════════ */
.section h3 {
    font-size: 1.4rem;
    color: var(--bleu-vibrant);
    margin-bottom: 16px;
    margin-top: 40px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section h3:first-of-type {
    margin-top: 0;
}

/* ═══════════════════════════════════════
   GRILLE DES 3 AXES
   ═══════════════════════════════════════ */
.section-axes {
    background: var(--blanc);
    padding: 64px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-axes > * {
    max-width: 1000px;
    width: 100%;
}

.section-axes h2 {
    font-size: 2rem;
    color: var(--noir);
    margin-bottom: 40px;
    font-weight: 900;
    letter-spacing: -0.5px;
    position: relative;
    padding-bottom: 16px;
}

.section-axes h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--rouge-eunded);
    border-radius: 2px;
}

.axes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.axe-card {
    background: var(--beige);
    border-radius: 12px;
    padding: 32px 28px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border-top: 5px solid var(--bleu-eunded);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.axe-card:nth-child(2) {
    border-top-color: var(--rouge-eunded);
}

.axe-card:nth-child(3) {
    border-top-color: var(--bleu-vibrant);
}

.axe-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.axe-card h3 {
    font-size: 1.1rem;
    color: var(--noir);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 800;
    margin-bottom: 16px;
    margin-top: 0;
}

.axe-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--gris-fonce);
    margin-bottom: 1em;
}

.axe-card p:last-of-type:not(.duree) {
    flex-grow: 1;
}

.axe-card .duree {
    margin-top: auto;
}

/* ═══════════════════════════════════════
   DUREES — badges
   ═══════════════════════════════════════ */
.duree {
    display: inline-block;
    font-weight: 700;
    color: white;
    background: var(--bleu-eunded);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-top: 8px;
}

/* Mise en valeur */
.accent {
    color: var(--rouge-intense);
    font-weight: 700;
}

.concept {
    color: var(--bleu-vibrant);
    font-weight: 700;
    border-bottom: 2px solid var(--bleu-vibrant);
}

/* ═══════════════════════════════════════
   SÉPARATEUR — invisible, la couleur de fond fait le travail
   ═══════════════════════════════════════ */
.separateur {
    border: none;
    height: 0;
    margin: 0;
}

/* ═══════════════════════════════════════
   PARCOURS — bloc dark
   ═══════════════════════════════════════ */
.parcours {
    background: linear-gradient(135deg, var(--noir) 0%, var(--gris-fonce) 100%);
    color: white;
    padding: 64px 40px;
    margin: 0;
    border-radius: 0;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.parcours > * {
    max-width: 720px;
    width: 100%;
}

.parcours::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--rouge-eunded) 0%, var(--bleu-vibrant) 100%);
}

.parcours h2 {
    font-size: 1.6rem;
    color: white;
    margin-bottom: 24px;
    font-weight: 800;
}

.parcours p {
    margin-bottom: 1em;
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
}

.parcours p:last-child {
    margin-bottom: 0;
    font-style: italic;
    opacity: 0.9;
}

.parcours strong {
    color: var(--rouge-intense);
    font-weight: 700;
}

/* ═══════════════════════════════════════
   FOOTER / CTA — affirmé
   ═══════════════════════════════════════ */
.footer {
    text-align: center;
    padding: 72px 40px 56px;
    background: var(--bleu-profond);
    position: relative;
}

.cta {
    font-size: 1.6rem;
    margin-bottom: 36px;
    color: var(--blanc);
    font-weight: 700;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: center;
}

.contact-links a {
    color: var(--bleu-profond);
    background: var(--blanc);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.contact-links a:hover {
    background: var(--rouge-eunded);
    color: var(--blanc);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
}

.contact-links svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */
@media (max-width: 1024px) {
    .header {
        padding: 60px 32px 48px;
    }

    .section,
    .section-axes,
    .parcours {
        padding: 56px 32px;
    }

    .baseline {
        font-size: 2.2rem;
    }
}

@media (max-width: 700px) {
    .axes-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 600px) {
    body {
        font-size: 16px;
    }

    .header {
        padding: 48px 24px 40px;
        border-left-width: 4px;
    }

    .section,
    .section-axes,
    .parcours {
        padding: 40px 24px;
    }

    .logo {
        max-width: 240px;
    }

    .baseline {
        font-size: 1.8rem;
    }

    .sous-titre {
        font-size: 1rem;
    }

    .etymologie {
        padding: 32px 24px;
        font-size: 1rem;
    }

    .section h2,
    .section-axes h2 {
        font-size: 1.5rem;
    }

    .parcours {
        padding: 40px 24px;
    }

    .footer {
        padding: 48px 24px 40px;
    }

    .cta {
        font-size: 1.3rem;
    }

    .contact-links {
        flex-direction: column;
        gap: 16px;
    }

    .contact-links a {
        padding: 14px 28px;
    }
}
