/* ============================================================
   STYLE.CSS — Feuille de style principale du site ILIMI
   Version responsive — desktop / tablette / mobile
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');


/* ============================================================
   VARIABLES
   ============================================================ */

:root {
    --vert-ilimi: #136444;
    --or-savane: #F6C23E;
    --creme-papyrus: #FFFFFF;
    --vert-profond: #1E4B3D;
    --sable: #EAE0CC;
    --noir-encre: #0B0B0B;
    --blanc: #FFFFFF;
}


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

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--creme-papyrus);
    color: var(--noir-encre);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}


/* ============================================================
   TYPOGRAPHIE
   ============================================================ */

h1,
.titre {
    font-weight: 600;
    font-size: 2.75rem;
    letter-spacing: -0.5px;
    color: var(--vert-ilimi);
}

h2,
.sous-titre {
    font-weight: 400;
    font-size: 1.5rem;
    color: var(--vert-ilimi);
}
.titre-section {
    font-weight: 600;
    font-size: 2.75rem;
    letter-spacing: -0.5px;
    color: var(--vert-ilimi);
}

@media (max-width: 1100px) {
    .titre-section { font-size: 2.45rem; }
}

@media (max-width: 600px) {
    .titre-section {
        font-size: 2rem;
        line-height: 1.2;
        letter-spacing: -0.3px;
    }
}

@media (max-width: 380px) {
    .titre-section { font-size: 1.8rem; }
}


h3,
.intertitre {
    font-weight: 500;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

p,
.texte-courant {
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.6;
}

.mention {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--or-savane);
    letter-spacing: 0.5px;
}

.filet-or {
    width: 60px;
    height: 4px;
    background-color: var(--or-savane);
    margin-top: 0.5rem;
}


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

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    padding: 1rem 3rem;
    background-color: var(--creme-papyrus);
    border-bottom: 1px solid var(--sable);
    position: relative;
    z-index: 1000;
}

.header .logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.header .logo img {
    height: 68px;
    width: auto;
    display: block;
    transition: opacity 0.2s ease;
}

.header .logo:hover img {
    opacity: 0.8;
}

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

.nav-liens {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    list-style: none;
}

.nav-liens a {
    position: relative;
    text-decoration: none;
    color: var(--noir-encre);
    font-weight: 500;
    transition: color 0.2s ease;
    padding-bottom: 4px;
}

.nav-liens a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--or-savane);
    transition: width 0.25s ease;
}

.nav-liens a:hover {
    color: var(--vert-ilimi);
}

.nav-liens a:hover::after {
    width: 100%;
}

.nav-liens a.actif {
    color: var(--vert-ilimi);
    border-bottom: 2px solid var(--or-savane);
    padding-bottom: 4px;
}


/* ============================================================
   BOUTON INSCRIPTION
   ============================================================ */

.btn-inscrire,
.btn-inscrire-mobile {
    background-color: var(--vert-ilimi);
    color: var(--blanc);
    padding: 0.6rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.btn-inscrire:hover,
.btn-inscrire-mobile:hover {
    background-color: var(--vert-profond);
    transform: translateY(-1px);
}

.btn-inscrire {
    flex-shrink: 0;
}

/*
   Le bouton mobile se trouve à l'intérieur de .nav-liens.
   Cette règle évite que .nav-liens a ne rende son texte noir.
*/
.nav-liens .btn-inscrire-mobile {
    color: var(--blanc);
}

.btn-inscrire-mobile,
.mobile-inscription {
    display: none;
}


/* ============================================================
   MENU HAMBURGER
   ============================================================ */

.menu-toggle {
    display: none;
    position: relative;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    flex-shrink: 0;
}

.hamburger-ligne {
    position: relative;
    display: block;

    width: 24px;
    height: 3px;

    background-color: var(--vert-ilimi);
    border-radius: 2px;

    box-shadow:
        0 -8px 0 var(--vert-ilimi),
        0 8px 0 var(--vert-ilimi);

    transition:
        background-color 0.25s ease,
        box-shadow 0.25s ease;
}


/* ============================================================
   HAMBURGER → X
   ============================================================ */

.menu-toggle.menu-actif .hamburger-ligne {
    background-color: transparent;
    box-shadow: none;
}

.menu-toggle.menu-actif .hamburger-ligne::before,
.menu-toggle.menu-actif .hamburger-ligne::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;

    width: 24px;
    height: 3px;

    background-color: var(--vert-ilimi);
    border-radius: 2px;
}

.menu-toggle.menu-actif .hamburger-ligne::before {
    transform: rotate(45deg);
}

.menu-toggle.menu-actif .hamburger-ligne::after {
    transform: rotate(-45deg);
}


/* ============================================================
   PIED DE PAGE
   ============================================================ */

.footer {
    background-color: var(--vert-ilimi);
    color: var(--blanc);
    padding: 4rem 3rem 0;
}

.footer-haut {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding-bottom: 3rem;
}

.footer-marque {
    max-width: 320px;
}

.footer-marque img {
    height: 60px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-marque p {
    color: var(--blanc);
    font-size: 0.9rem;
    margin-bottom: 1.2rem;
}

.footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.footer-socials a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blanc);
    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

.footer-socials a:hover {
    background-color: var(--or-savane);
    color: var(--vert-ilimi);
}

.footer-colonne h3 {
    color: var(--or-savane);
    font-size: 0.85rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.footer-colonne a {
    color: var(--blanc);
    text-decoration: none;
    display: block;
    margin-bottom: 0.7rem;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.footer-colonne a:hover {
    color: var(--or-savane);
}

.footer-colonne p {
    color: var(--blanc);
    font-size: 0.95rem;
    margin-bottom: 0.6rem;
    opacity: 0.9;
}

.footer-bas {
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.85rem;
}

.footer-bas-ligne1 {
    margin-right: 0.3rem;
}


/* ============================================================
   PAGE ACCUEIL — HERO
   ============================================================ */

.hero {
    display: flex;
    align-items: center;
    gap: 4rem;
    padding: 4rem 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-texte {
    flex: 1;
    min-width: 0;
}

.badge {
    display: inline-block;
    background-color: rgba(19, 100, 68, 0.1);
    color: var(--vert-ilimi);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.hero-texte h1 {
    margin-bottom: 1.5rem;
    line-height: 1.15;
}

.hero-texte p {
    margin-bottom: 2rem;
    max-width: 480px;
}

.hero-boutons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn-primaire {
    background-color: var(--vert-ilimi);
    color: var(--blanc);
    padding: 0.9rem 1.8rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.btn-primaire:hover {
    background-color: var(--vert-profond);
    transform: translateY(-1px);
}

.btn-secondaire {
    background-color: transparent;
    color: var(--vert-ilimi);
    border: 1px solid var(--or-savane);
    padding: 0.9rem 1.8rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

.btn-secondaire:hover {
    background-color: var(--vert-ilimi);
    color: var(--blanc);
    border-color: var(--vert-ilimi);
    transform: translateY(-1px);
}

.hero-image {
    flex: 1;
    min-width: 0;
}

.hero-image-simple {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

.cartes-valeurs {
    display: flex;
    gap: 1.5rem;
    padding: 2rem 3rem 5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.carte-valeur {
    flex: 1;
    background-color: var(--blanc);
    border: 1px solid #EAE0CC;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.carte-valeur:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.carte-valeur-sombre {
    background-color: var(--vert-ilimi);
    color: var(--blanc);
    border-color: transparent;
}

.icone-valeur {
    margin-bottom: 1.2rem;
}

.icone-valeur svg {
    width: 32px;
    height: 32px;
    color: var(--vert-ilimi);
}

.carte-valeur-sombre .icone-valeur svg {
    color: var(--or-savane);
}

.carte-valeur h3 {
    text-transform: none;
    letter-spacing: 0;
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: inherit;
}

.carte-valeur p {
    font-size: 0.95rem;
    opacity: 0.85;
}


/* ============================================================
   SECTIONS OBJECTIFS / OFFRES / CONFÉRENCE / CTA
   ============================================================ */

.section-objectifs,
.section-apercu-offres {
    padding: 4rem 3rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.objectifs-entete {
    text-align: center;
    margin-bottom: 3rem;
}

/* .objectifs-entete h1 {
    margin-top: 0.5rem;
} */


.objectifs-entete h1,
.objectifs-entete .titre-section {
    margin-top: 0.5rem;
}

.grille-objectifs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.objectif {
    text-align: center;
    background-color: var(--blanc);
    border: 1px solid #EAE0CC;
    border-top: 4px solid var(--or-savane);
    border-radius: 8px;
    padding: 2rem 1rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.objectif:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.objectif-chiffre {
    font-weight: 700;
    font-size: 2.5rem;
    color: var(--vert-ilimi);
    margin-bottom: 0.5rem;
}

.objectif p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.grille-apercu-offres {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.carte-apercu-offre {
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--blanc);
    border: 1px solid #EAE0CC;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.carte-apercu-offre:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.carte-apercu-offre img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.carte-apercu-offre:hover img {
    transform: scale(1.06);
}

.carte-apercu-offre-contenu {
    padding: 1.2rem;
}

.carte-apercu-offre-contenu h3 {
    text-transform: none;
    letter-spacing: 0;
    font-size: 1.2rem;
    margin-top: 0.4rem;
}

.section-prochaine-conference {
    background-color: var(--vert-ilimi);
    padding: 3rem;
}

.conference-teaser {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    color: var(--blanc);
}

.conference-teaser h2 {
    color: var(--blanc);
    margin: 0.5rem 0 1rem;
}

.conference-teaser p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.section-cta-finale {
    text-align: center;
    background-color: var(--blanc);
    border: 1px solid #EAE0CC;
    border-radius: 12px;
    padding: 3rem;
    margin: 1.5rem auto 3rem;
    max-width: 1200px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.section-cta-finale p {
    max-width: 500px;
    margin: 1rem auto 2rem;
}


/* ============================================================
   RESPONSIVE — TABLETTE LARGE
   ============================================================ */

@media (max-width: 1100px) {

    .header {
        padding: 0.9rem 2rem;
        gap: 1rem;
    }

    .header .logo img {
        height: 62px;
    }

    .navigation {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;

        display: none;

        padding: 1.25rem 2rem;

        background-color: var(--creme-papyrus);
        border-bottom: 1px solid var(--sable);

        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    }

    .navigation.menu-ouvert {
        display: block;
    }

    .nav-liens {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: 100%;
    }

    .nav-liens li {
        width: 100%;
    }

    .nav-liens a {
        display: block;
        width: 100%;
        padding: 0.8rem 0;
        border-bottom: 1px solid var(--sable);
    }

    .nav-liens li:last-child a {
        border-bottom: none;
    }

    .btn-inscrire {
        display: none;
    }

    .mobile-inscription {
        display: block !important;
        padding-top: 1rem;
    }

    .btn-inscrire-mobile {
        display: block;
        width: 100%;
        text-align: center;
        color: var(--blanc) !important;
    }

    .menu-toggle {
        display: flex;
    }

    .hero {
        gap: 2.5rem;
        padding: 3.5rem 2rem;
    }

    h1,
    .titre {
        font-size: 2.45rem;
    }

    .nav-liens a {
        font-size: 0.95rem;
    }

    .cartes-valeurs {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .section-objectifs,
    .section-apercu-offres {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .footer {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .hamburger-ligne {
        width: 24px;
        height: 3px;

        box-shadow:
            0 -8px 0 var(--vert-ilimi),
            0 8px 0 var(--vert-ilimi);
    }
}


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

@media (max-width: 900px) {

    .hero {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        gap: 2rem;
        padding: 3rem 2rem;
    }

    .hero-texte p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-boutons {
        justify-content: center;
    }

    .hero-image {
        width: 100%;
    }

    .hero-image-simple {
        aspect-ratio: 16 / 10;
    }

    .cartes-valeurs {
        flex-wrap: wrap;
    }

    .carte-valeur {
        flex: 1 1 calc(50% - 0.75rem);
        min-width: 0;
    }

    .grille-objectifs {
        grid-template-columns: repeat(2, 1fr);
    }

    .grille-apercu-offres {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-haut {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-marque {
        max-width: 100%;
    }
}


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

@media (max-width: 600px) {

    h1,
    .titre {
        font-size: 2rem;
        line-height: 1.2;
        letter-spacing: -0.3px;
    }

    h2,
    .sous-titre {
        font-size: 1.3rem;
    }

    h3,
    .intertitre {
        font-size: 1rem;
    }

    p,
    .texte-courant {
        font-size: 0.95rem;
    }

    .header {
        min-height: 74px;
        padding: 0.65rem 1.15rem;
    }

    .header .logo img {
        height: 52px;
    }

    .navigation {
        padding: 1rem 1.15rem 1.25rem;
    }

    .menu-toggle {
        display: flex;
        width: 40px;
        height: 40px;
    }

    .hamburger-ligne {
        width: 23px;
        height: 3px;

        box-shadow:
            0 -8px 0 var(--vert-ilimi),
            0 8px 0 var(--vert-ilimi);
    }

    .menu-toggle.menu-actif .hamburger-ligne::before,
    .menu-toggle.menu-actif .hamburger-ligne::after {
        width: 23px;
        height: 3px;
    }

    .hero {
        padding: 3rem 1.15rem 2rem;
        gap: 1.75rem;
    }

    .badge {
        font-size: 0.7rem;
        letter-spacing: 0.8px;
        padding: 0.38rem 0.9rem;
        margin-bottom: 1.15rem;
    }

    .hero-texte h1 {
        margin-bottom: 1.1rem;
    }

    .hero-texte p {
        max-width: 100%;
        margin-bottom: 1.5rem;
    }

    .hero-boutons {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        width: 100%;
    }

    .hero-boutons a {
        width: 100%;
        text-align: center;
    }

    .btn-primaire,
    .btn-secondaire {
        padding: 0.85rem 1rem;
    }

    .hero-image-simple {
        aspect-ratio: 4 / 3;
        border-radius: 10px;
    }

    .cartes-valeurs {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 1.15rem 3rem;
    }

    .carte-valeur {
        flex: 1 1 100%;
        width: 100%;
        padding: 1.5rem;
    }

    .section-objectifs,
    .section-apercu-offres {
        padding: 3rem 1.15rem;
    }

    .objectifs-entete {
        margin-bottom: 2rem;
    }

    .grille-objectifs,
    .grille-apercu-offres {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .objectif {
        padding: 1.5rem 1rem;
    }

    .objectif-chiffre {
        font-size: 2.2rem;
    }

    .carte-apercu-offre img {
        height: 190px;
    }

    .section-prochaine-conference {
        padding: 2.5rem 1.15rem;
    }

    .section-cta-finale {
        padding: 3rem 1.15rem;
        margin-top: 2rem;
    }

    .footer {
        padding: 3rem 1.15rem 0;
    }

    .footer-haut {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding-bottom: 2rem;
    }

    .footer-marque {
        max-width: 100%;
    }

    .footer-marque img {
        height: 36px;
    }

    .footer-socials {
        gap: 0.65rem;
    }

    .footer-bas {
        display: flex;
        flex-direction: column;
        gap: 0.3rem;
        padding: 1.25rem 0;
    }

    .footer-bas-ligne1 {
        margin-right: 0;
    }


    .contact-carte-titre {
        font-size: 1.05rem;
        letter-spacing: 0.3px;
    }

    .contact-carte-titre-sm {
        font-size: 0.9rem;
        letter-spacing: 0.2px;
    }
}


/* ============================================================
   RESPONSIVE — TRÈS PETITS ÉCRANS
   ============================================================ */

@media (max-width: 380px) {

    .header {
        padding-left: 0.85rem;
        padding-right: 0.85rem;
    }

    .header .logo img {
        height: 48px;
    }

    .hero {
        padding-left: 0.9rem;
        padding-right: 0.9rem;
    }

    h1,
    .titre {
        font-size: 1.8rem;
    }

    .badge {
        font-size: 0.65rem;
    }

    .cartes-valeurs,
    .section-objectifs,
    .section-apercu-offres {
        padding-left: 0.9rem;
        padding-right: 0.9rem;
    }

    .footer {
        padding-left: 0.9rem;
        padding-right: 0.9rem;
    }
}


/* ============================================================
   EN-TÊTE DE PAGE (réutilisable : Offres, Équipe, Conférences...)
   ============================================================ */
.page-entete {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 4rem 2rem 3rem;
}

.page-entete h1 {
    margin: 0.5rem 0 1.2rem;
}

.page-entete p {
    opacity: 0.85;
}


/* ============================================================
   PAGE OFFRES
   ============================================================ */
.grille-offres-section {
    padding: 0 3rem 5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.grille-offres {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.grille-offres .carte-offre {
    flex: 1 1 320px;
    max-width: 380px;
}

.sous-titre-section-offres {
    font-size: 0.95rem;
    opacity: 0.75;
    margin: -1rem 0 1.5rem;
}

.carte-offre {
    background-color: var(--blanc);
    border: 1px solid #EAE0CC;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.carte-offre:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.carte-offre-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.carte-offre:hover .carte-offre-image {
    transform: scale(1.06);
}

.carte-offre-contenu {
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.carte-offre-icone svg {
    width: 26px;
    height: 26px;
    color: var(--vert-ilimi);
    margin-bottom: 0.8rem;
}

.carte-offre-contenu h3 {
    text-transform: none;
    letter-spacing: 0;
    font-size: 1.35rem;
    margin: 0.5rem 0 0.8rem;
}

.carte-offre-contenu p {
    font-size: 0.95rem;
    opacity: 0.85;
    flex: 1;
    margin-bottom: 1.5rem;
}

.carte-offre-lien {
    align-self: flex-start;
}


/* ============================================================
   RESPONSIVE — PAGE OFFRES (regroupé avec le reste du responsive)
   ============================================================ */
@media (max-width: 900px) {
    .grille-offres {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .grille-offres {
        grid-template-columns: 1fr;
    }
    .page-entete {
        padding: 2.5rem 1.15rem 2rem;
    }
}


/* ============================================================
   PAGE ÉQUIPE
   ============================================================ */
.grille-equipe-section {
    padding: 0 3rem 5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.grille-equipe {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.carte-membre {
    background-color: var(--blanc);
    border: 1px solid #EAE0CC;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.carte-membre:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.carte-membre-photo {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.carte-membre:hover .carte-membre-photo {
    transform: scale(1.06);
}

/* Avatar à initiales, affiché quand il n'y a pas encore de photo */
.carte-membre-avatar {
    width: 100%;
    height: 260px;
    background-color: var(--vert-ilimi);
    color: var(--or-savane);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    transition: transform 0.35s ease;
}

.carte-membre:hover .carte-membre-avatar {
    transform: scale(1.06);
}

.carte-membre-contenu {
    padding: 1.6rem;
}

.badge-pole {
    display: inline-block;
    background-color: rgba(19, 100, 68, 0.1);
    color: var(--vert-ilimi);
    padding: 0.3rem 0.9rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 0.9rem;
}

.carte-membre-nom {
    font-size: 1.25rem;
    margin-bottom: 0.3rem;
}

.carte-membre-poste {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--vert-ilimi);
    opacity: 0.75;
    margin-bottom: 0.9rem;
}

.carte-membre-bio {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ============================================================
   RESPONSIVE — PAGE ÉQUIPE
   ============================================================ */
@media (max-width: 900px) {
    .grille-equipe {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .grille-equipe {
        grid-template-columns: 1fr;
    }
}


/* ============================================================
   PAGE CONFÉRENCES
   ============================================================ */
.conferences-section {
    padding: 1rem 3rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.titre-section-conf {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    text-align: center;
}

.conf-vide {
    text-align: center;
    opacity: 0.7;
    font-style: italic;
}

/* --- Conférences à venir --- */
.grille-conferences-avenir {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.carte-conference-avenir {
    background-color: var(--blanc);
    border: 1px solid #EAE0CC;
    border-radius: 8px;
    padding: 1.8rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.carte-conference-avenir:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.carte-conference-entete {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.badge-type-conf {
    background-color: rgba(19, 100, 68, 0.1);
    color: var(--vert-ilimi);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.date-conf {
    font-size: 0.9rem;
    opacity: 0.7;
}

.carte-conference-avenir h3 {
    text-transform: none;
    letter-spacing: 0;
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
}

.carte-conference-avenir p {
    font-size: 0.95rem;
    opacity: 0.85;
    margin-bottom: 1rem;
}

.carte-conference-infos {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
    opacity: 0.75;
    padding-top: 1rem;
    border-top: 1px solid var(--sable);
}

/* --- Conférences passées --- */
.grille-conferences-passees {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.carte-conference-passee {
    background-color: var(--blanc);
    border: 1px solid #EAE0CC;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.carte-conference-passee:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.carte-conference-passee-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.carte-conference-passee:hover .carte-conference-passee-image {
    transform: scale(1.06);
}

.carte-conference-passee-contenu {
    padding: 1.2rem;
}

.carte-conference-passee-contenu h3 {
    text-transform: none;
    letter-spacing: 0;
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
}

.mention-conf-passee {
    font-size: 0.85rem;
    opacity: 0.65;
    margin-bottom: 0.6rem;
}

.lien-video-conf {
    color: var(--vert-ilimi);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
}

.lien-video-conf:hover {
    color: var(--or-savane);
}

.icone-titre-section {
    width: 22px;
    height: 22px;
    color: var(--or-savane);
}

/* ============================================================
   RESPONSIVE — PAGE CONFÉRENCES
   ============================================================ */
@media (max-width: 900px) {
    .grille-conferences-avenir {
        grid-template-columns: 1fr;
    }
    .grille-conferences-passees {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .grille-conferences-passees {
        grid-template-columns: 1fr;
    }
    .carte-conference-infos {
        flex-direction: column;
        gap: 0.4rem;
    }
}


/* ============================================================
   PAGE À PROPOS
   ============================================================ */
.apropos-hero {
    display: flex;
    align-items: center;
    gap: 4rem;
    padding: 4rem 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.apropos-texte {
    flex: 1;
}

.apropos-texte h1 {
    margin: 0.5rem 0 1.2rem;
}

.apropos-texte h1 em {
    font-style: italic;
    color: var(--or-savane);
}

.apropos-texte p {
    margin-bottom: 1.2rem;
}

.apropos-tags {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.apropos-tag {
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.8;
}

.apropos-image-conteneur {
    flex: 1;
    position: relative;
}

.apropos-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

.apropos-image-legende {
    position: absolute;
    bottom: 1.2rem;
    left: 1.2rem;
    right: 1.2rem;
    background-color: var(--blanc);
    border-radius: 8px;
    padding: 1.2rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.apropos-image-legende p {
    font-size: 0.9rem;
    margin-top: 0.4rem;
    opacity: 0.85;
}

/* --- Section valeurs --- */
.valeurs-section {
    padding: 2rem 3rem 5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.grille-valeurs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.carte-valeur-apropos {
    background-color: var(--blanc);
    border: 1px solid #EAE0CC;
    border-radius: 8px;
    padding: 1.8rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.carte-valeur-apropos:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.carte-valeur-apropos h3 {
    text-transform: none;
    letter-spacing: 0;
    font-size: 1.1rem;
    margin-bottom: 0.7rem;
}

.carte-valeur-apropos p {
    font-size: 0.9rem;
    opacity: 0.85;
    margin-bottom: 1rem;
}

.valeur-tags {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--or-savane);
    display: block;
    padding-top: 0.8rem;
    border-top: 1px solid var(--sable);
}

/* ============================================================
   RESPONSIVE — PAGE À PROPOS
   ============================================================ */
@media (max-width: 900px) {
    .apropos-hero {
        flex-direction: column;
    }
    .grille-valeurs {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .grille-valeurs {
        grid-template-columns: 1fr;
    }
    .apropos-tags {
        flex-direction: column;
        gap: 0.5rem;
    }
}


/* ============================================================
   PAGE CONTACT
   ============================================================ */
.contact-section {
    padding: 0 3rem 5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.contact-grille {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 2rem;
    align-items: start;
}

.contact-carte {
    background-color: var(--blanc);
    border: 1px solid #EAE0CC;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.contact-carte-titre {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

.contact-carte-titre-sm {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

/* --- Formulaire --- */
.champ-groupe {
    margin-bottom: 1.4rem;
}

.champ-groupe label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.champ-formulaire {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--sable);
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    background-color: var(--creme-papyrus);
}

.champ-formulaire:focus {
    outline: none;
    border-color: var(--or-savane);
}

textarea.champ-formulaire {
    resize: vertical;
    min-height: 120px;
}

.champ-erreur {
    display: block;
    color: #b03030;
    font-size: 0.85rem;
    margin-top: 0.4rem;
}

.btn-formulaire {
    width: 100%;
    text-align: center;
}

.message-succes {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background-color: #e8f3ea;
    color: #2d6a3e;
    padding: 0.9rem 1.2rem;
    border-radius: 6px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

/* --- Colonne latérale --- */
.contact-lateral {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-whatsapp {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
    background-color: #f0faf2;
    border: 1px solid #25D366;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.25);
}

.contact-whatsapp-texte {
    flex: 1;
}

.contact-whatsapp-fleche {
    color: #25D366;
    flex-shrink: 0;
}

.contact-whatsapp-icone {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #25D366;
    color: var(--blanc);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-whatsapp p {
    font-size: 0.85rem;
    opacity: 0.75;
    margin-top: 0.2rem;
}

.coordonnee-ligne {
    display: flex;
    gap: 0.9rem;
    margin-bottom: 1.3rem;
}

.coordonnee-ligne:last-child {
    margin-bottom: 0;
}

.coordonnee-ligne svg {
    color: var(--or-savane);
    flex-shrink: 0;
    margin-top: 2px;
}

.coordonnee-ligne .mention {
    display: block;
    margin-bottom: 0.2rem;
}

.coordonnee-ligne p {
    font-size: 0.95rem;
}

/* ============================================================
   RESPONSIVE — PAGE CONTACT
   ============================================================ */
@media (max-width: 900px) {
    .contact-grille {
        grid-template-columns: 1fr;
    }
}


/* ============================================================
   APERÇU À PROPOS (Accueil)
   ============================================================ */
.apercu-apropos-section {
    display: flex;
    align-items: center;
    gap: 4rem;
    padding: 2rem 3rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.apercu-apropos-image-conteneur {
    flex: 0 0 38%;
    max-width: 420px;
}

.apercu-apropos-image {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 160px 160px 12px 12px;
    display: block;
}

.apercu-apropos-texte {
    flex: 1;
}

.apercu-apropos-texte h2 {
    margin: 0.6rem 0 1.2rem;
    font-weight: 600;
    font-size: 2.2rem;
    color: var(--vert-ilimi);
    letter-spacing: -0.5px;
}

.apercu-apropos-texte h2 em {
    font-style: italic;
    color: var(--or-savane);
}

.apercu-apropos-texte p {
    margin-bottom: 1.5rem;
    max-width: 480px;
}

.lien-en-savoir-plus {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--vert-ilimi);
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.2s ease, color 0.2s ease;
}

.lien-en-savoir-plus:hover {
    gap: 0.8rem;
    color: var(--or-savane);
}

/* ============================================================
   RESPONSIVE — APERÇU À PROPOS
   ============================================================ */
@media (max-width: 900px) {
    .apercu-apropos-section {
        flex-direction: column;
        gap: 2rem;
    }
    .apercu-apropos-image {
        aspect-ratio: 4 / 3;
        border-radius: 140px 140px 12px 12px;
    }
    .apercu-apropos-image-conteneur {
        flex: 1;
        max-width: 320px;
        margin: 0 auto;
    }
}

@media (max-width: 900px) {
    .section-cta-finale {
        margin-left: 1.15rem;
        margin-right: 1.15rem;
        padding: 2.5rem 1.5rem;
    }
}


/* ============================================================
   SECTIONS GROUPÉES — PAGE OFFRES
   ============================================================ */
.section-offres-groupe {
    padding: 0 3rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.titre-section-offres {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid #EAE0CC;
}

@media (max-width: 600px) {
    .grille-offres .carte-offre {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .section-offres-groupe {
        padding: 3rem 1.15rem 2rem;
    }
}



/* ============================================================
   ANIMATION REVEAL AU SCROLL
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Décalage progressif pour un effet "cascade" sur les grilles de cartes */
.reveal:nth-child(1) { transition-delay: 0s; }
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }
.reveal:nth-child(5) { transition-delay: 0.4s; }
.reveal:nth-child(6) { transition-delay: 0.5s; }

/* Respect total de l'accessibilité : tout s'affiche direct, sans animation */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}



.coordonnee-lien {
    font-size: 0.95rem;
    color: var(--noir-encre);
    text-decoration: none;
    transition: color 0.2s ease;
}

.coordonnee-lien:hover {
    color: var(--vert-ilimi);
}



/* ============================================================
   SECTION "POUR QUI SOMMES-NOUS LÀ" (Accueil)
   ============================================================ */
.section-public-cible {
    padding: 2rem 3rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.grille-public-cible {
    display: flex;
    gap: 1.5rem;
    align-items: stretch;
}

.carte-public {
    flex: 1;
    background-color: var(--blanc);
    border: 1px solid #EAE0CC;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}


.carte-public:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.carte-public-sombre {
    background-color: var(--vert-ilimi);
    color: var(--blanc);
    border-color: transparent;
}

.carte-public-entete {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
}

.carte-public-numero {
    font-size: 2rem;
    font-weight: 700;
    color: var(--or-savane);
}

.badge-pole-sombre {
    background-color: rgba(246, 194, 62, 0.15);
    color: var(--or-savane);
}

.carte-public-titre {
    text-transform: none;
    letter-spacing: 0;
    font-size: 1.3rem;
    color: inherit;
    margin-bottom: 1.5rem;
}

.carte-public-rubrique {
    margin-bottom: 1.2rem;
}

.carte-public-souscat {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--vert-ilimi);
    margin-bottom: 0.5rem;
}

.carte-public-sombre .carte-public-souscat {
    color: var(--or-savane);
}

.carte-public-rubrique ul {
    list-style: none;
    padding: 0;
}

.carte-public-rubrique li {
    position: relative;
    padding-left: 1.1rem;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0.4rem;
    opacity: 0.9;
}

.carte-public-rubrique li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--or-savane);
    font-weight: 700;
}

.btn-pill {
    margin-top: auto;
    padding-top: 1.5rem;
    display: block;
    text-align: center;
    background-color: var(--vert-ilimi);
    color: var(--blanc);
    padding: 0.9rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-pill:hover {
    background-color: var(--vert-profond);
    transform: translateY(-1px);
}

.btn-pill-or {
    background-color: var(--or-savane);
    color: var(--vert-ilimi);
}

.btn-pill-or:hover {
    background-color: #e0ac2e;
}

/* ============================================================
   RESPONSIVE — SECTION PUBLIC CIBLE
   ============================================================ */
@media (max-width: 900px) {
    .grille-public-cible {
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .section-public-cible {
        padding: 1.5rem 1.15rem 3rem;
    }
    .carte-public {
        padding: 1.5rem;
    }
}



/* ============================================================
   SECTION "NOS LOCAUX" (Accueil)
   ============================================================ */
.section-locaux {
    padding: 2rem 3rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.grille-locaux {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

.carte-locaux {
    background-color: var(--blanc);
    border: 1px solid #EAE0CC;
    border-top: 4px solid var(--or-savane);
    border-radius: 8px;
    padding: 1.6rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.2s ease;
}

.carte-locaux:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.carte-locaux-numero {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--or-savane);
    margin-bottom: 0.5rem;
}

.carte-locaux-icone svg {
    width: 26px;
    height: 26px;
    color: var(--vert-ilimi);
    margin-bottom: 0.9rem;
}

.carte-locaux h3 {
    text-transform: none;
    letter-spacing: 0;
    font-size: 1.02rem;
    color: var(--vert-ilimi);
    margin-bottom: 0.5rem;
}

.carte-locaux p {
    font-size: 0.87rem;
    opacity: 0.8;
}

/* ============================================================
   RESPONSIVE — SECTION NOS LOCAUX
   ============================================================ */
@media (max-width: 1200px) {
    .grille-locaux {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .section-locaux {
        padding-left: 2rem;
        padding-right: 2rem;
    }
    .grille-locaux {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .section-locaux {
        padding: 1.5rem 1.15rem 3rem;
    }
    .grille-locaux {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .carte-locaux {
        padding: 1.4rem;
    }
}

/* Contact style for map section: */

.contact-carte-map {
    padding: 0.8rem;
    overflow: hidden;
}

.contact-carte-map iframe {
    width: 100%;
    height: 220px;
    border-radius: 6px;
}

@media (max-width: 600px) {
    .contact-carte-map iframe {
        height: 180px;
    }
}


/* ============================================================
   PAGE MENTIONS LÉGALES
   ============================================================ */
.mentions-carte {
    max-width: 900px;
    margin: 0 auto;
}

.mentions-section {
    padding-bottom: 1.8rem;
    margin-bottom: 1.8rem;
    border-bottom: 1px solid var(--sable);
}

.mentions-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.mentions-carte h3 {
    color: var(--vert-ilimi);
    margin-bottom: 0.8rem;
}

.mentions-carte p {
    margin-bottom: 0.5rem;
}

.mentions-carte a {
    color: var(--vert-ilimi);
    font-weight: 500;
}

.mentions-carte a:hover {
    color: var(--or-savane);
}