/* =========================================
   JOURNÉE NATIONALE DE LA DIASPORA
   CHARTE GRAPHIQUE
========================================= */

:root {
    --primary: #168C82;
    --primary-dark: #08766F;
    --secondary: #F2C832;
    --red: #D94A43;

    --background: #F8F8F5;
    --white: #FFFFFF;
    --text: #243B3A;
    --muted: #71817F;

    --radius: 18px;
    --shadow: 0 15px 45px rgba(22, 140, 130, 0.10);
}


/* =========================================
   BASE
========================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: min(1160px, 92%);
    margin: 0 auto;
}


/* =========================================
   HEADER
========================================= */

.header {
    background: var(--white);
    border-top: 5px solid var(--primary);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 10;
}

.header-content {
    min-height: 95px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-symbol {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: white;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 28px;
    font-weight: 900;
    border: 3px solid #D8EFEB;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.brand-text strong {
    font-size: 14px;
    color: var(--primary-dark);
    letter-spacing: 0.5px;
}

.brand-text small {
    font-size: 12px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: 1.5px;
}

.navigation {
    display: flex;
    align-items: center;
    gap: 30px;
}

.navigation a {
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s;
}

.navigation a:hover {
    color: var(--primary);
}

.nav-button {
    background: var(--primary);
    color: white !important;
    padding: 12px 22px;
    border-radius: 30px;
}

.nav-button:hover {
    background: var(--primary-dark);
}


/* =========================================
   HERO
========================================= */

.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 50% 35%,
            rgba(22, 140, 130, 0.06),
            transparent 50%
        ),
        var(--background);

    padding: 65px 0 75px;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-decoration {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.decoration-one {
    width: 500px;
    height: 500px;
    border: 1px solid rgba(22, 140, 130, 0.08);
    top: 100px;
    left: -250px;
}

.decoration-two {
    width: 600px;
    height: 600px;
    border: 1px solid rgba(22, 140, 130, 0.07);
    bottom: -350px;
    right: -200px;
}


/* =========================================
   EDITION
========================================= */

.edition-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    background: var(--primary);
    color: white;

    padding: 7px 20px;
    border-radius: 30px;

    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
}

.edition-dot {
    width: 7px;
    height: 7px;
    background: var(--secondary);
    border-radius: 50%;
}

.hero-pretitle {
    margin-top: 28px;
    font-size: 14px;
    font-weight: 800;
    color: var(--muted);
    letter-spacing: 4px;
}


/* =========================================
   TITRES
========================================= */

.hero h1 {
    margin-top: 8px;

    font-size: clamp(48px, 8vw, 100px);
    line-height: 0.92;

    font-weight: 900;
    letter-spacing: -4px;

    color: var(--primary);
}

.hero h1 span {
    color: var(--primary-dark);
}

.diaspora-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;

    margin-top: 15px;
    color: var(--primary);
}

.diaspora-title span {
    font-size: 15px;
    font-weight: 800;
}

.diaspora-title strong {
    font-family: Georgia, serif;
    font-style: italic;
    font-weight: 700;

    font-size: clamp(38px, 7vw, 78px);
    line-height: 1;
}


/* =========================================
   ILLUSTRATION
========================================= */

.hero-map {
    position: relative;
    width: min(580px, 100%);
    margin: 25px auto 15px;
}

.hero-map svg {
    display: block;
    width: 100%;
    height: auto;
    position: relative;
    z-index: 2;
}

.map-glow {
    position: absolute;
    width: 65%;
    height: 65%;

    top: 20%;
    left: 18%;

    background: rgba(22, 140, 130, 0.12);
    filter: blur(50px);
    border-radius: 50%;
}


/* =========================================
   DATE ET THÈME
========================================= */

.hero-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 35px;

    margin-top: 25px;
}

.event-details {
    text-align: left;
}

.event-date strong {
    display: block;
    color: var(--primary-dark);

    font-size: 28px;
    font-weight: 900;
    line-height: 1.2;
}

.event-location {
    display: flex;
    align-items: center;
    gap: 9px;

    color: var(--primary);
    font-size: 18px;
    font-weight: 700;

    border-top: 2px solid var(--primary);
    margin-top: 8px;
    padding-top: 8px;
}

.location-icon {
    color: var(--red);
    font-size: 13px;
}

.event-time {
    background: var(--primary);
    color: white;

    padding: 5px 12px;
    border-radius: 20px;

    font-size: 12px;
    font-weight: 800;
}

.theme-card {
    position: relative;
    max-width: 440px;

    background: var(--primary);
    color: white;

    padding: 25px 25px 20px;
    border-radius: 15px;

    text-align: left;
}

.theme-label {
    position: absolute;
    top: -13px;
    left: 25px;

    background: var(--secondary);
    color: var(--primary-dark);

    padding: 4px 17px;
    border-radius: 20px;

    font-size: 12px;
    font-weight: 900;
}

.theme-card p {
    font-size: 16px;
    font-weight: 700;
    font-style: italic;
    line-height: 1.5;
}


/* =========================================
   BOUTONS
========================================= */

.hero-cta {
    margin-top: 35px;
}

.primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;

    background: var(--primary);
    color: white;

    padding: 16px 28px;
    border-radius: 35px;

    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.4px;

    box-shadow: 0 8px 20px rgba(22, 140, 130, 0.18);

    transition:
        transform 0.2s,
        background 0.2s;
}

.primary-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.primary-button span {
    font-size: 20px;
}

.hero-cta p {
    margin-top: 12px;
    color: var(--muted);
    font-size: 13px;
}


/* =========================================
   SECTION ÉVÉNEMENT
========================================= */

.event-section {
    background: white;
    padding: 90px 0;
}

.section-heading {
    max-width: 700px;
    margin: 0 auto 50px;
    text-align: center;
}

.section-eyebrow {
    color: var(--primary);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 2px;
}

.section-heading h2 {
    margin-top: 15px;

    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.15;

    color: var(--primary-dark);
    font-weight: 900;
}

.section-heading p {
    margin-top: 20px;
    color: var(--muted);
    font-size: 16px;
}

.event-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.event-card {
    background: var(--background);
    padding: 30px;
    border-radius: var(--radius);

    border: 1px solid rgba(22, 140, 130, 0.08);

    transition:
        transform 0.2s,
        box-shadow 0.2s;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.card-icon {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #DDF1ED;
    color: var(--primary-dark);

    border-radius: 14px;
    font-weight: 900;
}

.event-card h3 {
    margin-top: 20px;
    color: var(--primary-dark);
    font-size: 20px;
}

.event-card p {
    margin-top: 10px;
    color: var(--muted);
    font-size: 14px;
}

.section-cta {
    text-align: center;
    margin-top: 45px;
}


/* =========================================
   FOOTER
========================================= */

.footer {
    background: var(--primary-dark);
    color: white;
    padding: 30px 0;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-content strong {
    font-size: 13px;
    letter-spacing: 0.5px;
}

.footer-content p {
    font-size: 13px;
    opacity: 0.8;
}

.footer-date {
    text-align: right;
}


/* =========================================
   RESPONSIVE TABLETTE
========================================= */

@media (max-width: 900px) {

    .header-content {
        min-height: 80px;
    }

    .navigation {
        gap: 15px;
    }

    .navigation a {
        font-size: 13px;
    }

    .hero-bottom {
        flex-direction: column;
        gap: 25px;
    }

    .event-details {
        width: min(440px, 100%);
    }

    .theme-card {
        width: min(440px, 100%);
    }

    .event-cards {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }

}


/* =========================================
   RESPONSIVE MOBILE
========================================= */

@media (max-width: 600px) {

    .container {
        width: 90%;
    }

    .header-content {
        flex-direction: column;
        padding: 18px 0;
        gap: 18px;
    }

    .brand {
        justify-content: center;
    }

    .navigation {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
    }

    .navigation a {
        font-size: 12px;
    }

    .nav-button {
        padding: 9px 16px;
    }

    .hero {
        padding: 45px 0 55px;
    }

    .hero-pretitle {
        margin-top: 22px;
        font-size: 12px;
        letter-spacing: 3px;
    }

    .hero h1 {
        font-size: clamp(42px, 12vw, 68px);
        letter-spacing: -2px;
    }

    .diaspora-title {
        gap: 8px;
    }

    .diaspora-title span {
        font-size: 12px;
    }

    .diaspora-title strong {
        font-size: clamp(34px, 10vw, 55px);
    }

    .hero-map {
        margin-top: 15px;
    }

    .event-date strong {
        font-size: 24px;
    }

    .event-location {
        font-size: 16px;
        flex-wrap: wrap;
    }

    .theme-card {
        padding: 25px 20px 18px;
    }

    .theme-card p {
        font-size: 14px;
    }

    .primary-button {
        width: 100%;
        padding: 15px 18px;
        font-size: 12px;
    }

    .event-section {
        padding: 60px 0;
    }

    .section-heading h2 {
        font-size: 30px;
    }

    .section-heading p {
        font-size: 14px;
    }

    .event-card {
        padding: 25px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-date {
        text-align: center;
    }

}
