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

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
}

body {
    background: #f7f9fc;
    color: #253746;

    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
}


/* =========================
   BARRE SUPÉRIEURE
   ========================= */

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;

    padding: 12px 30px;

    background: #ffffff;

    border-bottom: 1px solid #dce5ec;
}

.back-site {
    color: #176b9e;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;
}

.back-site:hover {
    text-decoration: underline;
}


/* LANGUES */

.languages {
    display: flex;
    align-items: center;

    gap: 7px;
}

.language {
    display: flex;
    align-items: center;

    gap: 6px;

    padding: 6px 10px;

    border-radius: 6px;

    color: #526573;

    font-size: 12px;
    font-weight: 600;

    text-decoration: none;
}

.language img {
    width: 20px;
    height: 12px;

    object-fit: cover;
}

.language:hover {
    background: #edf6fb;

    color: #176b9e;
}

.language.active {
    background: #e7f2fa;

    color: #176b9e;
}


/* =========================
   CONTENEUR
   ========================= */

.symposium-page {
    width: min(1050px, calc(100% - 40px));

    margin: 0 auto;

    padding: 35px 0 60px;
}


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

.hero {
    display: grid;

    grid-template-columns:
        minmax(0, 1.2fr)
        minmax(260px, 0.8fr);

    align-items: center;

    gap: 40px;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #e7f2fa 0%,
            #f6fafd 100%
        );

    border: 1px solid #dce5ec;
    border-radius: 16px;

    box-shadow:
        0 6px 24px rgba(30, 60, 80, 0.08);
}

.hero-content {
    padding: 45px;
}

.eyebrow {
    margin: 0 0 7px;

    color: #3184b8;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 2px;

    text-transform: uppercase;
}

.hero h1 {
    margin: 0;

    color: #173f5f;

    font-size: clamp(36px, 6vw, 60px);

    line-height: 1.05;
}

.date {
    margin: 22px 0 5px;

    color: #176b9e;

    font-size: 20px;
    font-weight: 700;
}

.location {
    margin: 0;

    color: #526573;

    font-size: 14px;
}


/* IMAGE */

.hero-image {
    height: 100%;

    min-height: 350px;

    padding: 25px;
}

.hero-image img {
    display: block;

    width: 100%;
    height: 100%;

    min-height: 300px;

    object-fit: cover;

    border-radius: 12px;
}


/* =========================
   ORGANISATIONS
   ========================= */

.organisations {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 15px;

    margin-top: 18px;
}

.organisations > div {
    padding: 20px 24px;

    background: #ffffff;

    border: 1px solid #dce5ec;
    border-radius: 10px;
}

.organisations strong {
    display: block;

    margin-bottom: 5px;

    color: #173f5f;

    font-size: 15px;
}

.organisations span {
    color: #657784;

    font-size: 13px;
}


/* =========================
   FORMATION
   ========================= */

.training {
    margin-top: 18px;

    padding: 25px;

    background: #ffffff;

    border: 1px solid #dce5ec;
    border-radius: 10px;
}

.section-label {
    margin: 0 0 13px;

    color: #173f5f;

    font-size: 14px;
    font-weight: 700;
}

.training-tags {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;
}

.training-tags span {
    padding: 7px 11px;

    background: #e7f2fa;

    border-radius: 20px;

    color: #176b9e;

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


/* =========================
   SECTIONS
   ========================= */

.archive-section,
.sponsors {
    margin-top: 45px;
}

.section-heading {
    margin-bottom: 20px;
}

.section-heading h2 {
    margin: 0;

    color: #173f5f;

    font-size: 26px;
}

.section-heading > p:last-child {
    margin: 7px 0 0;

    color: #657784;

    font-size: 14px;
}


/* =========================
   NAVIGATION
   ========================= */

.navigation-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 12px;
}

.nav-card {
    display: grid;

    grid-template-columns:
        40px
        minmax(0, 1fr)
        auto;

    align-items: center;

    gap: 15px;

    min-height: 100px;

    padding: 18px;

    background: #ffffff;

    border: 1px solid #dce5ec;
    border-radius: 10px;

    color: inherit;

    text-decoration: none;

    transition:
        transform 0.15s ease,
        border-color 0.15s ease,
        box-shadow 0.15s ease,
        background 0.15s ease;
}

.nav-card:hover {
    transform: translateY(-2px);

    border-color: #bcd8e9;

    box-shadow:
        0 5px 15px rgba(30, 60, 80, 0.08);
}

.nav-number {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    background: #e7f2fa;

    border-radius: 50%;

    color: #176b9e;

    font-size: 11px;
    font-weight: 700;
}

.nav-card h3 {
    margin: 0 0 3px;

    color: #176b9e;

    font-size: 15px;
}

.nav-card p {
    margin: 0;

    color: #657784;

    font-size: 12px;
}

.arrow {
    color: #3184b8;

    font-size: 21px;

    transition: transform 0.15s ease;
}

.nav-card:hover .arrow {
    transform: translateX(4px);
}


/* ABSTRACTS */

.nav-card.highlight {
    background:
        linear-gradient(
            135deg,
            #edf7fc,
            #ffffff
        );

    border-color: #c5deed;
}


/* =========================
   SPONSORS
   ========================= */

.sponsor-grid {
    display: grid;

    grid-template-columns:
        repeat(6, minmax(0, 1fr));

    align-items: center;

    gap: 15px;

    padding: 25px;

    background: #ffffff;

    border: 1px solid #dce5ec;
    border-radius: 10px;
}

.sponsor-grid img {
    display: block;

    max-width: 100%;
    max-height: 55px;

    margin: auto;

    object-fit: contain;
}


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

.symposium-footer {
    margin-top: 45px;

    padding-top: 25px;

    border-top: 1px solid #dce5ec;

    text-align: center;
}

.footer-logos {
    display: flex;

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

    gap: 35px;
}

.footer-logos img {
    display: block;

    max-width: 100px;
    max-height: 70px;

    object-fit: contain;
}

.symposium-footer p {
    margin: 15px 0 0;

    color: #71808b;

    font-size: 12px;
}


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

@media (max-width: 800px) {

    .hero {
        grid-template-columns: 1fr;
    }

    .hero-content {
        padding: 35px 30px 0;
    }

    .hero-image {
        min-height: auto;

        padding: 20px 30px 30px;
    }

    .hero-image img {
        height: auto;
        min-height: 0;
    }

    .sponsor-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

}


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

@media (max-width: 600px) {

    .topbar {
        padding: 10px 15px;
    }

    .symposium-page {
        width: calc(100% - 20px);

        padding: 20px 0 40px;
    }

    .hero-content {
        padding: 28px 20px 0;
    }

    .hero-image {
        padding: 18px 20px 20px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .date {
        font-size: 17px;
    }

    .organisations {
        grid-template-columns: 1fr;
    }

    .navigation-grid {
        grid-template-columns: 1fr;
    }

    .sponsor-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* =========================
   TRÈS PETIT ÉCRAN
   ========================= */

@media (max-width: 400px) {

    .language {
        padding: 6px;
    }

    .language img {
        display: none;
    }

    .nav-card {
        grid-template-columns:
            36px
            minmax(0, 1fr);
    }

    .nav-number {
        width: 36px;
        height: 36px;
    }

    .nav-card .arrow {
        display: none;
    }

}

/* =========================
   PAGES DE CONTENU
   ========================= */

.content-page {
    width: min(850px, calc(100% - 40px));
    margin: 0 auto;
    padding: 35px 0 60px;
}

.content-card {
    overflow: hidden;

    background: #ffffff;

    border: 1px solid #dce5ec;
    border-radius: 14px;

    box-shadow: 0 5px 20px rgba(30, 60, 80, 0.08);
}


/* =========================
   EN-TÊTE
   ========================= */

.content-header {
    padding: 30px 35px;

    background: linear-gradient(
        135deg,
        #e7f2fa 0%,
        #f6fafd 100%
    );

    border-bottom: 1px solid #dce5ec;
}

.content-header .eyebrow {
    margin: 0 0 7px;

    color: #3184b8;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 2px;

    text-transform: uppercase;
}

.content-header h1 {
    margin: 0;

    color: #173f5f;

    font-size: 30px;
}

.content-header > p:last-child {
    margin: 8px 0 0;

    color: #657784;

    font-size: 13px;
}


/* =========================
   TEXTE D'ACCUEIL
   ========================= */

.announcement-content {
    padding: 35px;
}

.announcement-content p {
    margin: 0 0 20px;

    color: #526573;

    font-size: 15px;
    line-height: 1.75;
}

.announcement-content .introduction {
    color: #173f5f;

    font-size: 17px;
    font-weight: 600;
}


/* =========================
   SIGNATURES
   ========================= */

.signatures {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 20px;

    margin-top: 35px;
    padding-top: 25px;

    border-top: 1px solid #e2e9ee;
}

.signature {
    display: flex;
    flex-direction: column;

    gap: 4px;

    padding: 15px 0;
}

.signature strong {
    color: #176b9e;

    font-size: 15px;
}

.signature span {
    color: #71808b;

    font-size: 12px;
}


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

@media (max-width: 600px) {

    .content-page {
        width: calc(100% - 20px);

        padding: 20px 0 40px;
    }

    .content-header {
        padding: 25px 20px;
    }

    .content-header h1 {
        font-size: 26px;
    }

    .announcement-content {
        padding: 25px 20px;
    }

    .announcement-content p {
        font-size: 14px;
    }

    .signatures {
        grid-template-columns: 1fr;

        gap: 5px;
    }

}