
:root {
    --green: #126447;
    --green-dark: #093e2e;
    --green-light: #eaf4ed;
    --gold: #d9ad53;
    --white: #ffffff;
    --text: #24372f;
    --muted: #68766e;
    --background: #f8faf8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 85px;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--background);
    line-height: 1.7;
}

a {
    color: inherit;
    text-decoration: none;
}

.header {
    min-height: 82px;
    padding: 15px 7%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 3px 20px #163c2610;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--green-dark);
    line-height: 1.3;
}

.logo-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    background: var(--green);
    color: var(--white);
    border-radius: 12px;
    font-weight: bold;
    font-size: 19px;
    border-bottom: 3px solid var(--gold);
}

.logo strong,
.logo small {
    display: block;
}

.logo strong {
    font-size: 12px;
    letter-spacing: 1px;
}

.logo small {
    font-size: 17px;
    font-weight: bold;
}

.nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav a {
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s;
}

.nav a:hover {
    color: var(--green);
}

.nav .nav-contact {
    background: var(--green);
    color: white;
    padding: 10px 20px;
    border-radius: 7px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 27px;
    cursor: pointer;
}

.hero {
    min-height: 590px;
    padding: 85px 9%;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
    color: white;
    background:
        radial-gradient(circle at 85% 20%, #297956 0, transparent 30%),
        linear-gradient(125deg, #083d2d, #126447 70%, #1b7650);
}

.eyebrow {
    display: inline-block;
    color: var(--gold);
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 17px;
}

.hero h1 {
    font-size: clamp(36px, 4.4vw, 59px);
    line-height: 1.14;
    max-width: 680px;
    margin-bottom: 24px;
}

.hero h1 span {
    display: block;
    color: #e6c779;
}

.hero-content > p {
    max-width: 570px;
    color: #e0eee6;
    font-size: 17px;
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    border: 0;
    border-radius: 7px;
    padding: 13px 21px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--gold);
    color: #183e2c;
}

.btn-outline {
    color: white;
    border: 1px solid #ffffff85;
}

.btn-outline:hover {
    background: #ffffff15;
}

.hero-note {
    margin-top: 32px;
    color: #d6e8dd;
    font-size: 12px;
}

.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
    margin-right: 8px;
}

.hero-visual {
    min-height: 330px;
    display: grid;
    place-items: center;
    position: relative;
}

.visual-card {
    width: 100%;
    max-width: 340px;
    min-height: 290px;
    padding: 38px 25px;
    border: 1px solid #ffffff50;
    border-radius: 25px;
    background: #ffffff12;
    box-shadow: 0 25px 60px #062a1b35;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.visual-symbol {
    width: 125px;
    height: 125px;
    border-radius: 50%;
    border: 2px solid var(--gold);
    color: var(--gold);
    display: grid;
    place-items: center;
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 24px;
}

.visual-card p {
    font-size: 20px;
    font-weight: bold;
}

.visual-card > span {
    font-size: 12px;
    color: #d5e7dc;
    margin-top: 7px;
}

.floating-tag {
    position: absolute;
    bottom: 10px;
    right: 0;
    padding: 12px 18px;
    background: var(--gold);
    color: var(--green-dark);
    border-radius: 8px;
    font-size: 13px;
    font-weight: bold;
    box-shadow: 0 10px 30px #001b1070;
}

.section {
    padding: 85px 9%;
}

.section-heading {
    text-align: center;
    margin-bottom: 38px;
}

.section-heading .eyebrow {
    color: var(--green);
}

.section-heading h2,
.projects h2 {
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.25;
    color: var(--green-dark);
}

.section-heading > p {
    margin-top: 12px;
    color: var(--muted);
}

.section-description {
    max-width: 800px;
    text-align: center;
    margin: 0 auto 42px;
    color: var(--muted);
}

.values-grid,
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.value-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #e6eee8;
    transition: transform 0.2s, box-shadow 0.2s;
}

.value-card:hover,
.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px #173c2610;
}

.value-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    background: var(--green-light);
    color: var(--green);
    border-radius: 12px;
    font-size: 24px;
    margin-bottom: 20px;
}

.value-card h3 {
    margin-bottom: 10px;
    color: var(--green-dark);
}

.value-card p {
    font-size: 14px;
    color: var(--muted);
}

.news {
    background: #edf4ee;
}

.news-card {
    overflow: hidden;
    border-radius: 12px;
    background: white;
    border: 1px solid #e4ece5;
    transition: transform 0.2s, box-shadow 0.2s;
}

.news-image {
    min-height: 175px;
    display: flex;
    align-items: end;
    padding: 20px;
    background: linear-gradient(135deg, #13583f, #4a8766);
}

.news-image-two {
    background: linear-gradient(135deg, #94733b, #d5b66e);
}

.news-image-three {
    background: linear-gradient(135deg, #174b58, #579b96);
}

.news-image span {
    background: #ffffffeb;
    color: var(--green-dark);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 1px;
}

.news-content {
    padding: 23px;
}

.news-content small {
    color: var(--green);
    font-size: 10px;
    letter-spacing: 1px;
    font-weight: bold;
}

.news-content h3 {
    margin: 9px 0;
    color: var(--green-dark);
    font-size: 18px;
}

.news-content p {
    color: var(--muted);
    font-size: 13px;
}

.projects {
    background: white;
    text-align: center;
}

.projects-content {
    max-width: 720px;
    margin: auto;
}

.projects-content > p {
    margin: 20px 0 28px;
    color: var(--muted);
}

.contact-form {
    max-width: 650px;
    margin: auto;
    padding: 32px;
    background: white;
    border: 1px solid #e5ece6;
    border-radius: 14px;
    box-shadow: 0 15px 40px #123c2510;
}

.contact-form label {
    display: block;
    font-size: 14px;
    font-weight: bold;
    margin: 17px 0 7px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 13px;
    border: 1px solid #d7e2d9;
    border-radius: 7px;
    font: inherit;
    font-size: 14px;
    background: #fcfdfc;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: 2px solid #6da58a;
    border-color: var(--green);
}

.contact-form textarea {
    resize: vertical;
}

.contact-form button {
    margin-top: 20px;
}

.form-status {
    margin-top: 12px;
    font-size: 13px;
}

.footer {
    padding: 40px 7%;
    text-align: center;
    background: var(--green-dark);
    color: #e4eee8;
}

.footer-logo {
    color: var(--gold);
    font-weight: bold;
    letter-spacing: 1px;
}

.footer p {
    margin-top: 10px;
    font-size: 13px;
}

.footer small {
    display: block;
    margin-top: 18px;
    color: #b7cec0;
    font-size: 11px;
}

@media (max-width: 850px) {
    .header {
        padding: 14px 5%;
    }

    .menu-toggle {
        display: block;
        color: var(--green-dark);
    }

    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 20px 5%;
        background: white;
        box-shadow: 0 10px 20px #00000010;
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
    }

    .nav.open {
        display: flex;
    }

    .nav .nav-contact {
        text-align: center;
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 65px 7%;
        gap: 25px;
    }

    .hero-visual {
        min-height: 300px;
    }

    .values-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 65px 7%;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 36px;
    }

    .hero-content > p {
        font-size: 15px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn {
        text-align: center;
    }

    .contact-form {
        padding: 20px;
    }

    .floating-tag {
        right: -5px;
    }
}


/* PAGE A PROPOS */

.about-hero {
    padding: 85px 9%;
    text-align: center;
    color: white;
    background: linear-gradient(125deg, #093e2e, #19734f);
}

.about-hero .eyebrow {
    color: #e6c779;
}

.about-hero h1 {
    font-size: clamp(35px, 5vw, 52px);
    line-height: 1.2;
    margin-bottom: 18px;
}

.about-hero p {
    max-width: 650px;
    margin: auto;
    color: #e0eee6;
}

.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 45px;
    margin-bottom: 45px;
}

.about-intro .eyebrow,
.about-callout .eyebrow {
    color: #126447;
}

.about-intro h2 {
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.3;
    color: #093e2e;
}

.about-intro > p {
    color: #68766e;
}

.about-callout {
    margin: 0 9% 80px;
    padding: 55px 25px;
    text-align: center;
    background: #eaf4ed;
    border-radius: 16px;
}

.about-callout h2 {
    color: #093e2e;
    font-size: clamp(27px, 3vw, 38px);
    max-width: 700px;
    margin: 0 auto 15px;
}

.about-callout p {
    max-width: 620px;
    margin: 0 auto 25px;
    color: #68766e;
}

@media (max-width: 850px) {
    .about-intro {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .about-callout {
        margin: 0 5% 55px;
    }
}


/* PAGE BUREAU */

.bureau-hero {
    padding: 85px 9%;
    text-align: center;
    color: white;
    background: linear-gradient(125deg, #093e2e, #19734f);
}

.bureau-hero .eyebrow {
    color: #e6c779;
}

.bureau-hero h1 {
    font-size: clamp(35px, 5vw, 52px);
    line-height: 1.2;
    margin-bottom: 18px;
}

.bureau-hero p {
    max-width: 650px;
    margin: auto;
    color: #e0eee6;
}

.bureau-section {
    background: #f8faf8;
}

.bureau-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}

.member-card {
    overflow: hidden;
    background: white;
    border: 1px solid #e3ebe5;
    border-radius: 14px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px #173c2612;
}

.member-photo {
    min-height: 190px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #eaf4ed, #d4e7d9);
}

.member-initial {
    width: 85px;
    height: 85px;
    display: grid;
    place-items: center;
    border: 2px solid #d9ad53;
    border-radius: 50%;
    background: #126447;
    color: white;
    font-size: 32px;
    font-weight: bold;
}

.member-info {
    padding: 23px;
    text-align: center;
}

.member-role {
    color: #126447;
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 1.5px;
}

.member-info h3 {
    margin-top: 9px;
    color: #093e2e;
    font-size: 18px;
}

.member-info p {
    margin-top: 5px;
    color: #68766e;
    font-size: 14px;
}

.content-notice {
    margin-top: 30px;
    padding: 15px;
    border-left: 4px solid #d9ad53;
    background: #fff;
    color: #68766e;
    font-size: 13px;
}

.bureau-callout {
    margin: 0 9% 80px;
    padding: 50px 25px;
    border-radius: 16px;
    background: #eaf4ed;
    text-align: center;
}

.bureau-callout h2 {
    color: #093e2e;
    font-size: clamp(26px, 3vw, 36px);
}

.bureau-callout p {
    max-width: 650px;
    margin: 15px auto 25px;
    color: #68766e;
}

@media (max-width: 850px) {
    .bureau-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bureau-callout {
        margin: 0 5% 55px;
    }
}

@media (max-width: 520px) {
    .bureau-grid {
        grid-template-columns: 1fr;
    }

    .member-photo {
        min-height: 160px;
    }
}


/* PAGE ACTUALITES */

.actualites-hero {
    padding: 85px 9%;
    text-align: center;
    color: white;
    background: linear-gradient(125deg, #093e2e, #19734f);
}

.actualites-hero .eyebrow {
    color: #e6c779;
}

.actualites-hero h1 {
    max-width: 850px;
    margin: 0 auto 18px;
    font-size: clamp(35px, 5vw, 52px);
    line-height: 1.2;
}

.actualites-hero p {
    max-width: 650px;
    margin: auto;
    color: #e0eee6;
}

.actualites-section {
    background: #f8faf8;
}

.news-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 35px;
}

.filter-btn {
    padding: 10px 19px;
    border: 1px solid #d8e5db;
    border-radius: 30px;
    background: white;
    color: #126447;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.filter-btn:hover,
.filter-btn.active {
    background: #126447;
    color: white;
}

.filter-btn:focus-visible {
    outline: 3px solid #d9ad53;
    outline-offset: 3px;
}

.actualites-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}

.actualite-card {
    overflow: hidden;
    border: 1px solid #e3ebe5;
    border-radius: 14px;
    background: white;
    transition: transform 0.2s, box-shadow 0.2s;
}

.actualite-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px #173c2612;
}

.actualite-card[hidden] {
    display: none;
}

.actualite-cover {
    min-height: 190px;
    padding: 20px;
    display: flex;
    align-items: end;
    background: linear-gradient(135deg, #126447, #5d9877);
}

.actualite-cover span {
    padding: 6px 12px;
    border-radius: 5px;
    background: white;
    color: #093e2e;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1px;
}

.cover-activite {
    background: linear-gradient(135deg, #8c6c32, #d9ad53);
}

.cover-communaute {
    background: linear-gradient(135deg, #174b58, #579b96);
}

.actualite-content {
    padding: 24px;
}

.actualite-date {
    color: #126447;
    font-size: 12px;
    font-weight: bold;
}

.actualite-content h3 {
    margin: 12px 0;
    color: #093e2e;
    font-size: 19px;
    line-height: 1.4;
}

.actualite-content p {
    margin-bottom: 18px;
    color: #68766e;
    font-size: 14px;
}

.publication-status {
    display: inline-block;
    padding: 5px 9px;
    border-radius: 5px;
    background: #fff5df;
    color: #805b15;
    font-size: 11px;
    font-weight: bold;
}

.actualites-empty {
    padding: 25px;
    text-align: center;
    color: #68766e;
}

.actualites-callout {
    margin: 0 9% 80px;
    padding: 50px 25px;
    border-radius: 16px;
    background: #eaf4ed;
    text-align: center;
}

.actualites-callout h2 {
    color: #093e2e;
    font-size: clamp(25px, 3vw, 36px);
}

.actualites-callout p {
    max-width: 650px;
    margin: 15px auto 25px;
    color: #68766e;
}

@media (max-width: 850px) {
    .actualites-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .actualites-callout {
        margin: 0 5% 55px;
    }
}

@media (max-width: 520px) {
    .actualites-grid {
        grid-template-columns: 1fr;
    }

    .news-filters {
        gap: 8px;
    }

    .filter-btn {
        padding: 9px 13px;
        font-size: 12px;
    }
}


/* PAGE PROJETS */

.projets-hero {
    padding: 85px 9%;
    text-align: center;
    color: white;
    background: linear-gradient(125deg, #093e2e, #19734f);
}

.projets-hero .eyebrow {
    color: #e6c779;
}

.projets-hero h1 {
    max-width: 850px;
    margin: 0 auto 18px;
    font-size: clamp(35px, 5vw, 52px);
    line-height: 1.2;
}

.projets-hero p {
    max-width: 650px;
    margin: auto;
    color: #e0eee6;
}

.projets-section {
    background: #f8faf8;
}

.projets-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 35px;
}

.project-filter {
    padding: 10px 18px;
    border: 1px solid #d8e5db;
    border-radius: 30px;
    background: white;
    color: #126447;
    font-weight: bold;
    cursor: pointer;
}

.project-filter:hover,
.project-filter.active {
    background: #126447;
    color: white;
}

.project-filter:focus-visible {
    outline: 3px solid #d9ad53;
    outline-offset: 3px;
}

.projets-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}

.projet-card {
    overflow: hidden;
    background: white;
    border: 1px solid #e3ebe5;
    border-radius: 14px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.projet-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px #173c2612;
}

.projet-card[hidden] {
    display: none;
}

.projet-illustration {
    min-height: 190px;
    padding: 20px;
    display: flex;
    align-items: end;
    background: linear-gradient(135deg, #174b58, #579b96);
}

.projet-illustration.education {
    background: linear-gradient(135deg, #126447, #72a888);
}

.projet-illustration.environnement {
    background: linear-gradient(135deg, #397444, #a5bd65);
}

.projet-illustration.solidarite {
    background: linear-gradient(135deg, #8c6c32, #d9ad53);
}

.projet-illustration span {
    padding: 6px 12px;
    border-radius: 5px;
    background: white;
    color: #093e2e;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1px;
}

.projet-content {
    padding: 24px;
}

.projet-status {
    display: inline-block;
    padding: 5px 9px;
    border-radius: 5px;
    background: #fff5df;
    color: #805b15;
    font-size: 11px;
    font-weight: bold;
}

.projet-content h3 {
    margin: 14px 0 10px;
    color: #093e2e;
    font-size: 19px;
    line-height: 1.4;
}

.projet-content p {
    margin-bottom: 18px;
    color: #68766e;
    font-size: 14px;
}

.projet-category {
    color: #126447;
    font-size: 12px;
    font-weight: bold;
}

.projets-empty {
    padding: 25px;
    text-align: center;
    color: #68766e;
}

.projets-callout {
    margin: 0 9% 80px;
    padding: 50px 25px;
    border-radius: 16px;
    background: #eaf4ed;
    text-align: center;
}

.projets-callout .eyebrow {
    color: #126447;
}

.projets-callout h2 {
    color: #093e2e;
    font-size: clamp(25px, 3vw, 36px);
}

.projets-callout p {
    max-width: 650px;
    margin: 15px auto 25px;
    color: #68766e;
}

@media (max-width: 850px) {
    .projets-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .projets-callout {
        margin: 0 5% 55px;
    }
}

@media (max-width: 520px) {
    .projets-grid {
        grid-template-columns: 1fr;
    }

    .projets-filters {
        gap: 8px;
    }

    .project-filter {
        padding: 9px 13px;
        font-size: 12px;
    }
}


.projets-publics {
    padding: 40px 20px;
}

.projets-publics h2 {
    color: #176b3a;
    text-align: center;
    margin-bottom: 12px;
}

.projets-publics > p {
    text-align: center;
    margin-bottom: 28px;
}

.grille-projets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.carte-projet {
    padding: 22px;
    border: 1px solid #e2d7a2;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    overflow-wrap: anywhere;
}

.carte-projet h3 {
    color: #176b3a;
    margin-top: 0;
}

.carte-projet p {
    line-height: 1.6;
}



/* PAGE EVENEMENTS */

.evenements-hero {
    padding: 85px 9%;
    text-align: center;
    color: white;
    background: linear-gradient(125deg, #093e2e, #19734f);
}

.evenements-hero .eyebrow {
    color: #e6c779;
}

.evenements-hero h1 {
    max-width: 850px;
    margin: 0 auto 18px;
    font-size: clamp(35px, 5vw, 52px);
    line-height: 1.2;
}

.evenements-hero p {
    max-width: 650px;
    margin: auto;
    color: #e0eee6;
}

.evenements-section {
    background: #f8faf8;
}

.evenements-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 35px;
}

.event-filter {
    padding: 10px 20px;
    border: 1px solid #d8e5db;
    border-radius: 30px;
    background: white;
    color: #126447;
    font-weight: bold;
    cursor: pointer;
}

.event-filter:hover,
.event-filter.active {
    background: #126447;
    color: white;
}

.event-filter:focus-visible {
    outline: 3px solid #d9ad53;
    outline-offset: 3px;
}

.evenements-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}

.event-card {
    overflow: hidden;
    border: 1px solid #e3ebe5;
    border-radius: 14px;
    background: white;
    transition: transform 0.2s, box-shadow 0.2s;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px #173c2612;
}

.event-card[hidden] {
    display: none;
}

.event-visual {
    min-height: 180px;
    padding: 20px;
    display: flex;
    align-items: end;
    background: linear-gradient(135deg, #126447, #72a888);
}

.event-education {
    background: linear-gradient(135deg, #174b58, #579b96);
}

.event-solidarity {
    background: linear-gradient(135deg, #8c6c32, #d9ad53);
}

.event-visual span {
    padding: 6px 12px;
    border-radius: 5px;
    background: white;
    color: #093e2e;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1px;
}

.event-content {
    padding: 24px;
}

.event-status {
    display: inline-block;
    padding: 5px 9px;
    border-radius: 5px;
    background: #fff5df;
    color: #805b15;
    font-size: 11px;
    font-weight: bold;
}

.event-content h3 {
    margin: 14px 0 10px;
    color: #093e2e;
    font-size: 19px;
    line-height: 1.4;
}

.event-content > p {
    margin-bottom: 18px;
    color: #68766e;
    font-size: 14px;
}

.event-details {
    list-style: none;
    padding: 15px 0;
    border-top: 1px solid #e8eee9;
    border-bottom: 1px solid #e8eee9;
}

.event-details li {
    margin: 5px 0;
    color: #68766e;
    font-size: 13px;
}

.event-details strong {
    color: #126447;
}

.event-link {
    display: inline-block;
    margin-top: 18px;
    color: #126447;
    font-size: 13px;
    font-weight: bold;
}

.event-link:hover {
    text-decoration: underline;
}

.events-empty {
    padding: 25px;
    text-align: center;
    color: #68766e;
}

.events-callout {
    margin: 0 9% 80px;
    padding: 50px 25px;
    border-radius: 16px;
    background: #eaf4ed;
    text-align: center;
}

.events-callout .eyebrow {
    color: #126447;
}

.events-callout h2 {
    color: #093e2e;
    font-size: clamp(25px, 3vw, 36px);
}

.events-callout p {
    max-width: 650px;
    margin: 15px auto 25px;
    color: #68766e;
}

@media (max-width: 850px) {
    .evenements-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .events-callout {
        margin: 0 5% 55px;
    }
}

@media (max-width: 520px) {
    .evenements-grid {
        grid-template-columns: 1fr;
    }

    .evenements-filters {
        gap: 8px;
    }

    .event-filter {
        padding: 9px 14px;
        font-size: 12px;
    }
}

/* Masquer les cartes filtrées */
.event-card[hidden] {
    display: none !important;
}


/* =========================
   PAGE CONTACT
========================= */

.contact-hero {
    padding: 75px 0;
    text-align: center;
    color: #ffffff;
    background: linear-gradient(135deg, #075b3b, #0d8a58);
}

.contact-hero h1 {
    margin: 12px 0;
    font-size: clamp(2rem, 5vw, 3.2rem);
}

.contact-hero p {
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.8;
}

.contact-hero .section-tag {
    color: #f1cf70;
    font-weight: 700;
}

.contact-section {
    padding: 70px 0;
    background: #f7f9f7;
}

.contact-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 45px;
    align-items: start;
}

.contact-info h2,
.contact-form-card h2 {
    margin: 0 0 15px;
    color: #075b3b;
}

.contact-info > p {
    line-height: 1.8;
}

.contact-info .section-tag {
    color: #b58a20;
    font-weight: 700;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-top: 25px;
}

.contact-icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: #e4f2e9;
    font-size: 1.3rem;
}

.contact-info-item h3 {
    margin: 0 0 6px;
    color: #075b3b;
}

.contact-info-item p {
    margin: 0;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.contact-form-card {
    padding: 30px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.07);
}

.contact-form-description {
    margin-bottom: 25px;
    color: #666666;
}

#contact-form .form-group {
    margin-bottom: 20px;
}

#contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #25352c;
}

#contact-form input,
#contact-form textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #d5ded7;
    border-radius: 8px;
    font: inherit;
    background: #ffffff;
    box-sizing: border-box;
}

#contact-form input:focus,
#contact-form textarea:focus {
    outline: 2px solid #0d8a58;
    outline-offset: 2px;
    border-color: #0d8a58;
}

#contact-form textarea {
    resize: vertical;
}

#contact-form .btn {
    border: none;
    cursor: pointer;
    font: inherit;
}

.contact-feedback {
    margin-top: 15px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

@media (max-width: 800px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 35px;
    }
}

@media (max-width: 520px) {
    .contact-hero {
        padding: 55px 0;
    }

    .contact-section {
        padding: 45px 0;
    }

    .contact-form-card {
        padding: 22px 17px;
    }
}


/* =========================
   PAGE GALERIE
========================= */

.galerie-section {
    padding: 65px 0;
}

.galerie-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
    margin-top: 35px;
}

.galerie-card {
    overflow: hidden;
    border: 1px solid #e3ebe5;
    border-radius: 15px;
    background: #ffffff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.galerie-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.10);
}

.galerie-placeholder {
    min-height: 210px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #edf4ef;
    color: #075b3b;
}

.galerie-placeholder span {
    font-size: 3rem;
}

.galerie-placeholder p {
    margin: 0;
    font-weight: 600;
}

.galerie-green {
    background: #dcefe2;
}

.galerie-gold {
    background: #f5edda;
    color: #80611b;
}

.galerie-caption {
    padding: 20px;
}

.galerie-caption h3 {
    margin: 0 0 8px;
    color: #075b3b;
}

.galerie-caption p {
    margin: 0;
    line-height: 1.6;
    color: #666666;
}

.galerie-note {
    margin-top: 40px;
    padding: 25px;
    border-left: 4px solid #c6a13a;
    border-radius: 8px;
    background: #f5f8f5;
}

.galerie-note p {
    line-height: 1.7;
}

@media (max-width: 800px) {
    .galerie-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .galerie-grid {
        grid-template-columns: 1fr;
    }

    .galerie-placeholder {
        min-height: 180px;
    }
}



/* =========================
   ESPACE JEUNES
========================= */

.espace-hero {
    padding: 85px 20px;
    color: #ffffff;
    text-align: center;
    background: linear-gradient(135deg, #064b32, #0d8756);
}

.espace-hero .container {
    max-width: 850px;
    margin: 0 auto;
}

.espace-eyebrow {
    color: #b58a20;
    font-weight: 800;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
}

.espace-hero .espace-eyebrow {
    color: #f5d67f;
}

.espace-hero h1 {
    margin: 18px 0;
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.15;
}

.espace-hero p:not(.espace-eyebrow) {
    max-width: 680px;
    margin: 0 auto 28px;
    line-height: 1.8;
}

.espace-button {
    display: inline-block;
    padding: 14px 22px;
    border: 0;
    border-radius: 8px;
    background: #c6a13a;
    color: #183b29;
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
}

.espace-button:hover {
    background: #dfbd5d;
    transform: translateY(-2px);
}

.espace-section,
.espace-how {
    padding: 70px 0;
}

.espace-section {
    background: #f7f9f7;
}

.espace-how {
    background: #ffffff;
}

.espace-heading {
    max-width: 700px;
    margin: 0 auto 35px;
    text-align: center;
}

.espace-heading h2,
.espace-form-intro h2 {
    margin: 10px 0;
    color: #075b3b;
    font-size: clamp(1.7rem, 4vw, 2.4rem);
}

.espace-heading > p:last-child,
.espace-form-intro > p {
    line-height: 1.8;
    color: #59645d;
}

.espace-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.espace-card {
    padding: 25px 20px;
    border: 1px solid #e1e9e3;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
}

.espace-icon {
    margin-bottom: 14px;
    font-size: 2.2rem;
}

.espace-card h3,
.espace-step h3 {
    color: #075b3b;
}

.espace-card p,
.espace-step p {
    color: #59645d;
    line-height: 1.7;
}

.espace-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}

.espace-step {
    padding: 15px;
    text-align: center;
}

.espace-step > span {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #e2f1e7;
    color: #075b3b;
    font-size: 1.3rem;
    font-weight: 800;
}

.espace-form-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    align-items: start;
    gap: 40px;
}

.espace-form-intro {
    padding-top: 20px;
}

.espace-form-card {
    padding: 30px;
    border: 1px solid #e1e9e3;
    border-radius: 15px;
    background: #ffffff;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
}

.espace-field {
    margin-bottom: 20px;
}

.espace-field label {
    display: block;
    margin-bottom: 8px;
    color: #263d2e;
    font-weight: 700;
}

.espace-field input,
.espace-field select,
.espace-field textarea {
    box-sizing: border-box;
    width: 100%;
    padding: 13px;
    border: 1px solid #ccd8ce;
    border-radius: 8px;
    background: #ffffff;
    color: #263d2e;
    font: inherit;
}

.espace-field textarea {
    resize: vertical;
}

.espace-field input:focus,
.espace-field select:focus,
.espace-field textarea:focus {
    outline: 2px solid #0d8756;
    outline-offset: 2px;
}

.espace-field small {
    display: block;
    margin-top: 6px;
    color: #66736a;
}

.espace-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 20px 0;
    line-height: 1.6;
}

.espace-consent input {
    margin-top: 5px;
}

.espace-feedback {
    margin-top: 18px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

@media (max-width: 900px) {
    .espace-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .espace-form-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 560px) {
    .espace-hero {
        padding: 60px 15px;
    }

    .espace-section,
    .espace-how {
        padding: 45px 0;
    }

    .espace-cards,
    .espace-steps {
        grid-template-columns: 1fr;
    }

    .espace-form-card {
        padding: 22px 16px;
    }
}


/* Badge du projet accepté */
.badge-accepte {
    display: inline-block;
    background: #e4f5e9;
    color: #176b3a;
    padding: 7px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 14px;
}

/* Cartes des projets */
.carte-projet {
    padding: 24px;
    border: 1px solid #e2d7a2;
    border-top: 4px solid #176b3a;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.07);
    transition: transform 0.2s, box-shadow 0.2s;
    overflow-wrap: anywhere;
}

.carte-projet:hover {
    transform: translateY(-4px);
    box-shadow: 0 9px 22px rgba(0, 0, 0, 0.12);
}

.carte-projet h3 {
    color: #176b3a;
    margin: 8px 0 14px;
}

.projet-domaine {
    font-weight: 600;
}

.projet-description {
    line-height: 1.7;
    white-space: pre-wrap;
}

/* Bouton des détails */
.bouton-details {
    margin-top: 12px;
    padding: 10px 16px;
    border: none;
    border-radius: 7px;
    background: #176b3a;
    color: #ffffff;
    cursor: pointer;
    font-weight: 600;
}

.bouton-details:hover {
    background: #10532c;
}

.details-projet {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #e2d7a2;
}

.details-projet[hidden] {
    display: none;
}

@media (max-width: 600px) {
    .carte-projet {
        padding: 18px;
    }
}

.lien-page-projet {
    display: inline-block;
    margin-top: 14px;
    padding: 11px 16px;
    border: 2px solid #176b3a;
    border-radius: 8px;
    color: #176b3a;
    background: #ffffff;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.lien-page-projet:hover {
    background: #176b3a;
    color: #ffffff;
}


/* Espacement entre les boutons des cartes de projets */
.bouton-details {
    margin-right: 12px;
    margin-bottom: 12px;
}

.lien-page-projet {
    margin-top: 14px;
    margin-bottom: 12px;
}


/* Organisation des boutons dans les cartes de projets */
.carte-projet .bouton-details,
.carte-projet .lien-page-projet {
    display: block;
    width: 100%;
    margin: 12px 0 0;
    padding: 12px 16px;
    box-sizing: border-box;
    text-align: center;
    border-radius: 8px;
    font-size: 15px;
}

/* Bouton Voir les détails */
.carte-projet .bouton-details {
    background: #176b3a;
    color: #ffffff;
    border: none;
    cursor: pointer;
}

/* Lien Voir la page complète */
.carte-projet .lien-page-projet {
    background: #ffffff;
    color: #176b3a;
    border: 2px solid #176b3a;
    text-decoration: none;
}

/* Effets au survol */
.carte-projet .bouton-details:hover {
    background: #10532c;
}

.carte-projet .lien-page-projet:hover {
    background: #176b3a;
    color: #ffffff;
}


/* Réduire la taille des cartes de projets acceptés */
.grille-projets {
    grid-template-columns: repeat(
        auto-fit,
        minmax(min(100%, 220px), 280px)
    );
    justify-content: center;
    gap: 16px;
}

.carte-projet {
    padding: 16px;
    border-radius: 10px;
}

.carte-projet h3 {
    font-size: 18px;
    margin: 8px 0 10px;
}

.carte-projet p {
    font-size: 14px;
    line-height: 1.5;
    margin: 8px 0;
}

.badge-accepte {
    font-size: 11px;
    padding: 5px 9px;
}

.carte-projet .bouton-details,
.carte-projet .lien-page-projet {
    font-size: 13px;
    padding: 9px 12px;
    margin-top: 9px;
}


/* Recherche et filtres des projets publics */
.filtres-projets {
    display: grid;
    grid-template-columns: minmax(200px, 2fr) repeat(2, minmax(160px, 1fr));
    gap: 12px;
    max-width: 900px;
    margin: 25px auto;
}

.filtres-projets input,
.filtres-projets select {
    width: 100%;
    min-width: 0;
    padding: 12px 14px;
    border: 1px solid #d5dfd7;
    border-radius: 8px;
    background: #ffffff;
    color: #26332b;
    font-size: 14px;
}

.filtres-projets input:focus,
.filtres-projets select:focus {
    outline: 2px solid #176b3a;
    outline-offset: 2px;
}

@media (max-width: 650px) {
    .filtres-projets {
        grid-template-columns: 1fr;
    }
}


/* Images des projets acceptés affichés publiquement */
.image-projet-public {
    display: block;
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: 10px;
    margin: 0 0 16px;
    background: #edf2ed;
}


/* Ajustements responsive transversaux — Jeunesse de Vélingara */
html, body { max-width:100%; overflow-x:clip; }
img, video, iframe, canvas, svg { max-width:100%; }
img, video { height:auto; }
button, input, select, textarea { max-width:100%; font:inherit; }
button, .btn, a { -webkit-tap-highlight-color:transparent; }
button, .btn, .nav a, .nav-contact { touch-action:manipulation; }
input, select, textarea { min-width:0; }
section, article, main, header, footer, form { min-width:0; }
.card, .actualite-card, .evenement-card, .carte-projet, .bureau-card { overflow-wrap:anywhere; }
@media (max-width: 850px) {
  .header { gap:12px; }
  .logo { min-width:0; max-width:calc(100% - 54px); }
  .logo strong, .logo small { overflow-wrap:anywhere; }
  .nav { max-height:calc(100vh - 82px); overflow-y:auto; }
  .nav a { padding:8px 0; }
  .hero, .section, .footer { padding-left:6%; padding-right:6%; }
  .hero-visual img, .hero-visual video { max-width:100%; }
}
@media (max-width: 560px) {
  body { font-size:15px; }
  .header { min-height:68px; padding:10px 4%; }
  .logo-icon { width:40px; height:40px; flex:0 0 40px; font-size:16px; }
  .logo { gap:8px; }
  .logo strong { font-size:10px; letter-spacing:.5px; }
  .logo small { font-size:14px; }
  .menu-toggle { min-width:44px; min-height:44px; padding:7px; }
  .nav { padding:14px 5%; gap:8px; }
  .nav a { font-size:15px; }
  .hero { min-height:auto; padding-top:48px; padding-bottom:48px; }
  .hero h1 { font-size:clamp(29px,8vw,36px); overflow-wrap:anywhere; }
  .section { padding-top:42px; padding-bottom:42px; }
  .section h2, .page-title, .section-title { font-size:clamp(1.45rem,6vw,2rem); overflow-wrap:anywhere; }
  .hero-actions, .form-actions, .actions { gap:10px; }
  .hero-actions .btn, .contact-form button, .espace-form-card button { width:100%; min-height:44px; }
  .contact-form, .espace-form-card, .carte-projet { padding:17px 14px; }
  input, select, textarea { font-size:16px; }
  .image-projet-public { height:180px; }
  .footer { padding:32px 5%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  *, *::before, *::after { animation-duration:.01ms!important; animation-iteration-count:1!important; transition-duration:.01ms!important; }
}
