/* =========================================================
   MDES — Homepage CSS consolidé
   Version : Accueil V0.5.2 consolidée
   Objectif : rendu politique, militant, stable, sans section verte
   ========================================================= */

/* =========================================================
   1. Sécurité globale
   ========================================================= */

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

.home-mdes,
.home-mdes * {
    box-sizing: border-box;
}

.home-mdes {
    max-width: 100%;
    overflow-x: hidden;
    background: #f4efe3;
    color: #151515;
}

.home-mdes img {
    max-width: 100%;
}

.home-mdes a {
    word-break: normal;
}

.home-mdes h1,
.home-mdes h2,
.home-mdes h3,
.home-mdes h4,
.home-mdes p,
.home-mdes li {
    text-wrap: pretty;
}

/* =========================================================
   2. Conteneurs et sections
   ========================================================= */

.home-container,
.container.home-container {
    width: min(100% - 64px, 1040px);
    max-width: 1040px;
    margin-left: auto;
    margin-right: auto;
}

.home-section {
    position: relative;
    padding: 88px 0;
    overflow-x: hidden;
}

.home-actions,
.home-memory,
.home-news,
.home-agenda,
.home-international,
.home-vision {
    overflow-x: hidden;
}

/* =========================================================
   3. Titres, textes, accroches
   ========================================================= */

.section-kicker {
    display: inline-flex;
    align-items: center;
    margin-bottom: 16px;
    color: #d40000;
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.section-kicker--gold {
    color: #ffd21a;
}

.section-title {
    max-width: 920px;
    margin: 0 0 22px;
    color: #d40000;
    font-size: clamp(2rem, 3.9vw, 4rem);
    line-height: 1.02;
    font-weight: 950;
    letter-spacing: -0.05em;
}

.section-title::after {
    content: "";
    display: block;
    width: 56px;
    height: 5px;
    margin-top: 18px;
    background: #d40000;
}

.section-title--light {
    color: #ffffff;
}

.section-title--light::after {
    background: #d40000;
}

.section-intro {
    max-width: 780px;
    margin: 0 0 28px;
    color: rgba(21, 21, 21, 0.82);
    font-size: 1.08rem;
    line-height: 1.7;
    font-weight: 500;
}

.section-intro--light {
    color: rgba(255, 255, 255, 0.84);
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 40px;
}

.section-heading .section-title {
    margin-bottom: 0;
}

.home-section-actions {
    display: flex;
    justify-content: center;
    margin-top: 42px;
}

/* =========================================================
   4. Boutons et liens
   ========================================================= */

.home-btn,
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 14px 24px;
    border-radius: 3px;
    border: 2px solid transparent;
    font-size: 0.92rem;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease,
        opacity 0.2s ease;
}

.home-btn:hover,
.home-btn:focus,
.btn:hover,
.btn:focus {
    transform: translateY(-2px);
    text-decoration: none;
}

.home-btn--red,
.btn-primary {
    background: #d40000;
    color: #ffffff;
}

.home-btn--red:hover,
.home-btn--red:focus,
.btn-primary:hover,
.btn-primary:focus {
    background: #a90000;
    color: #ffffff;
}

.home-btn--yellow,
.btn-secondary,
.btn-light {
    background: #ffd21a;
    color: #050505;
}

.home-btn--yellow:hover,
.home-btn--yellow:focus,
.btn-secondary:hover,
.btn-secondary:focus,
.btn-light:hover,
.btn-light:focus {
    background: #ffe36b;
    color: #050505;
}

.btn-outline-light {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.62);
}

.btn-outline-light:hover,
.btn-outline-light:focus {
    background: #ffffff;
    color: #050505;
    border-color: #ffffff;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #d40000;
    font-weight: 900;
    text-decoration: none;
}

.text-link::after {
    content: "→";
    font-weight: 900;
    transition: transform 0.2s ease;
}

.text-link:hover,
.text-link:focus {
    text-decoration: underline;
}

.text-link:hover::after,
.text-link:focus::after {
    transform: translateX(4px);
}

.text-link--light {
    color: #ffd21a;
}

/* =========================================================
   5. Placeholders images
   ========================================================= */

.mdes-image-placeholder {
    width: 100%;
    min-height: 280px;
    background:
        linear-gradient(135deg, rgba(212, 0, 0, 0.28), rgba(0, 90, 45, 0.30)),
        #111111;
    border: 1px dashed rgba(255, 255, 255, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 26px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.92rem;
    line-height: 1.5;
    font-weight: 800;
}

.mdes-image-placeholder span {
    display: inline-flex;
    max-width: 260px;
}

/* =========================================================
   6. Hero
   ========================================================= */

.home-hero {
    position: relative;
    min-height: 720px;
    display: flex;
    align-items: center;
    background-color: #050505;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #ffffff;
    border-bottom: 6px solid #d40000;
    overflow: hidden;
}

.home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 82% 20%, rgba(255, 210, 26, 0.18), transparent 30%),
        radial-gradient(circle at 18% 80%, rgba(0, 90, 45, 0.20), transparent 34%);
    pointer-events: none;
}

.home-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.74) 45%, rgba(0, 0, 0, 0.35) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.64));
    pointer-events: none;
}

.home-hero__content {
    position: relative;
    z-index: 2;
    max-width: 1060px;
    padding: 100px 0;
}

.home-hero__badge {
    display: inline-flex;
    align-items: center;
    margin-bottom: 24px;
    padding: 10px 16px;
    background: #d40000;
    color: #ffffff;
    border-radius: 3px;
    font-size: 0.82rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-hero__title {
    max-width: 920px;
    margin: 0 0 24px;
    color: #ffffff;
    font-size: clamp(3rem, 6.2vw, 6.4rem);
    line-height: 0.94;
    font-weight: 950;
    letter-spacing: -0.065em;
}

.home-hero__text {
    max-width: 860px;
    margin: 0 0 34px;
    color: rgba(255, 255, 255, 0.90);
    font-size: clamp(1.12rem, 2vw, 1.55rem);
    line-height: 1.55;
    font-weight: 500;
}

.home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* =========================================================
   7. Pourquoi nous agissons
   ========================================================= */

.home-why {
    background: #f4efe3;
}

.home-why__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
    gap: 62px;
    align-items: center;
}

.home-why__content {
    min-width: 0;
}

.home-why__content p {
    max-width: 700px;
    margin: 0 0 18px;
    color: rgba(21, 21, 21, 0.82);
    font-size: 1.05rem;
    line-height: 1.75;
    font-weight: 500;
}

.home-why__media {
    max-width: 100%;
    min-width: 0;
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.18);
}

.home-why__image {
    display: block;
    width: 100%;
    height: 390px;
    object-fit: cover;
}

/* =========================================================
   8. Nos actions
   ========================================================= */

.home-actions {
    background:
        radial-gradient(circle at 0% 0%, rgba(212, 0, 0, 0.24), transparent 34%),
        radial-gradient(circle at 100% 100%, rgba(0, 90, 45, 0.22), transparent 36%),
        #050505;
    color: #ffffff;
}

.home-actions p {
    color: rgba(255, 255, 255, 0.82);
}

.home-actions__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 42px;
    width: 100%;
    max-width: 100%;
}

.action-card {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    background: #151515;
    border: 1px solid rgba(255, 255, 255, 0.13);
    overflow: hidden;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.30);
}

.action-card__image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 210px;
    object-fit: cover;
    border-top: 6px solid #d40000;
}

.action-card .mdes-image-placeholder {
    height: 210px;
    min-height: 210px;
    border-top: 6px solid #d40000;
}

.action-card__body {
    padding: 26px 24px 28px;
}

.action-card__body h3 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: 1.2rem;
    line-height: 1.2;
    font-weight: 950;
}

.action-card__body p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.96rem;
    line-height: 1.6;
    font-weight: 500;
}

/* =========================================================
   9. Ce que nous défendons — version sans fond vert
   ========================================================= */

.home-vision {
    background:
        linear-gradient(180deg, #f4efe3 0%, #fff8ea 100%);
    color: #151515;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.home-vision__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 36px;
    align-items: center;
}

.home-vision__media {
    position: relative;
    max-width: 100%;
    min-width: 0;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.14);
    border-top: 6px solid #d40000;
    background: #111111;
}

.home-vision__image,
.home-vision__media .mdes-image-placeholder {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 390px;
    min-height: 390px;
    object-fit: cover;
}

.home-vision__content {
    min-width: 0;
    max-width: 100%;
    background:
        radial-gradient(circle at 95% 10%, rgba(255, 210, 26, 0.13), transparent 30%),
        #050505;
    color: #ffffff;
    padding: 46px 44px;
    border-top: 6px solid #d40000;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.home-vision .section-kicker,
.home-vision .section-kicker--gold {
    color: #ffd21a;
}

.home-vision .section-title,
.home-vision .section-title--light {
    color: #ffffff;
    max-width: 720px;
    font-size: clamp(2.2rem, 4.2vw, 4.4rem);
}

.home-vision .section-title::after,
.home-vision .section-title--light::after {
    background: #d40000;
}

.home-vision__content p,
.home-vision .section-intro,
.home-vision .section-intro--light {
    color: rgba(255, 255, 255, 0.84);
    font-size: 1.02rem;
    line-height: 1.65;
    font-weight: 500;
}

.home-vision__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 100%;
    margin: 28px 0 32px;
}

.home-vision__tags span {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    padding: 10px 14px;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #ffffff;
    font-size: 0.86rem;
    font-weight: 900;
    line-height: 1.2;
    white-space: normal;
}

.home-vision__tags span:hover {
    background: rgba(212, 0, 0, 0.26);
    border-color: rgba(212, 0, 0, 0.55);
}

.home-vision .home-btn,
.home-vision .btn,
.home-vision .btn-light,
.home-vision .home-btn--yellow {
    background: #ffd21a;
    color: #050505;
    border-color: #ffd21a;
}

.home-vision .home-btn:hover,
.home-vision .btn:hover,
.home-vision .btn-light:hover,
.home-vision .home-btn--yellow:hover {
    background: #ffffff;
    color: #050505;
    border-color: #ffffff;
}

/* =========================================================
   10. Mémoire militante
   ========================================================= */

.home-memory {
    background: #f4efe3;
    color: #151515;
}

.home-memory__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
    max-width: 100%;
}

.memory-card {
    position: relative;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    min-height: 300px;
    padding: 30px 28px;
    background: #ffffff;
    border-top: 6px solid #d40000;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
    overflow-wrap: break-word;
}

.memory-card__year {
    display: inline-flex;
    margin-bottom: 18px;
    color: #d40000;
    font-size: 0.86rem;
    font-weight: 950;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.memory-card h3 {
    margin: 0 0 14px;
    color: #151515;
    font-size: 1.35rem;
    line-height: 1.18;
    font-weight: 950;
}

.memory-card p {
    margin: 0 0 22px;
    color: rgba(21, 21, 21, 0.82);
    font-size: 0.98rem;
    line-height: 1.65;
    font-weight: 500;
}

/* =========================================================
   11. Actualités
   ========================================================= */

.home-news {
    background: #fff8ea;
}

.home-news__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
    max-width: 100%;
}

.news-card {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    min-height: 300px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.news-card__media,
.home-news-card__image {
    display: block;
    width: 100%;
    height: 190px;
    overflow: hidden;
    background: #151515;
}

.news-card__media img,
.home-news-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-card__image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 190px;
    object-fit: cover;
}

.news-card .mdes-image-placeholder {
    height: 190px;
    min-height: 190px;
}

.news-card__body,
.home-news-card__body {
    padding: 26px 24px 28px;
    overflow-wrap: break-word;
}

.news-card__date,
.home-news-card__date {
    display: inline-flex;
    margin-bottom: 12px;
    color: #d40000;
    font-size: 0.78rem;
    font-weight: 950;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.news-card__title,
.home-news-card__title {
    margin: 0 0 12px;
    color: #151515;
    font-size: 1.18rem;
    line-height: 1.25;
    font-weight: 950;
}

.news-card__title a,
.home-news-card__title a {
    color: inherit;
    text-decoration: none;
}

.news-card__title a:hover,
.home-news-card__title a:hover {
    color: #d40000;
}

.news-card__excerpt,
.home-news-card__excerpt,
.news-card__body p {
    margin: 0 0 18px;
    color: rgba(21, 21, 21, 0.82);
    font-size: 0.96rem;
    line-height: 1.6;
    font-weight: 500;
}

/* =========================================================
   12. Agenda
   ========================================================= */

.home-agenda {
    background:
        radial-gradient(circle at 12% 10%, rgba(212, 0, 0, 0.20), transparent 30%),
        #050505;
    color: #ffffff;
}

.home-events__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
    max-width: 100%;
}

.home-event-card,
.event-card {
    display: grid;
    grid-template-columns: 112px 1fr;
    gap: 20px;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    padding: 22px;
    background: #151515;
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #ffffff;
}

.home-event-card__datebox,
.event-card__date {
    min-height: 98px;
    padding: 14px;
    background: #d40000;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.event-card__day {
    font-size: 0.92rem;
    line-height: 1.25;
    font-weight: 950;
}

.home-event-card__title,
.event-card__title {
    margin: 0 0 10px;
    color: #ffffff;
    font-size: 1.08rem;
    line-height: 1.24;
    font-weight: 950;
}

.home-event-card__title a,
.event-card__title a {
    color: #ffffff;
    text-decoration: none;
}

.home-event-card__title a:hover,
.event-card__title a:hover {
    color: #ffd21a;
}

.home-event-card__meta,
.event-card__meta {
    margin: 0 0 8px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.88rem;
    line-height: 1.45;
}

.home-event-card__excerpt,
.event-card__excerpt {
    margin: 0 0 16px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.92rem;
    line-height: 1.55;
    font-weight: 500;
}

.home-empty {
    grid-column: 1 / -1;
    max-width: 100%;
    padding: 24px 26px;
    background: rgba(0, 0, 0, 0.05);
    color: #151515;
    font-weight: 700;
    line-height: 1.55;
    white-space: normal;
    overflow-wrap: break-word;
}

.home-empty--dark {
    background: #151515;
    color: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 1rem;
    line-height: 1.55;
}

/* =========================================================
   13. International
   ========================================================= */

.home-international {
    background: #f4efe3;
    color: #151515;
}

.home-international__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
    gap: 40px;
    align-items: center;
}

.home-international__content {
    min-width: 0;
}

.home-international__content p {
    max-width: 720px;
    margin: 0 0 28px;
    color: rgba(21, 21, 21, 0.82);
    font-size: 1.04rem;
    line-height: 1.72;
    font-weight: 500;
}

.home-international__panel {
    max-width: 100%;
    min-width: 0;
    padding: 34px 32px;
    background: #050505;
    color: #ffffff;
    border-top: 6px solid #d40000;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.home-international__panel h3 {
    margin: 0 0 20px;
    color: #ffd21a;
    font-size: 1.45rem;
    line-height: 1.15;
    font-weight: 950;
}

.home-international__panel ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-international__panel li {
    position: relative;
    padding: 14px 0 14px 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
    color: rgba(255, 255, 255, 0.84);
    line-height: 1.55;
    font-weight: 500;
}

.home-international__panel li:last-child {
    border-bottom: 0;
}

.home-international__panel li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 21px;
    width: 11px;
    height: 11px;
    background: #d40000;
}

/* =========================================================
   14. Rejoindre le mouvement
   ========================================================= */

.home-join {
    position: relative;
    min-height: 430px;
    display: flex;
    align-items: center;
    background-color: #050505;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #ffffff;
    border-top: 6px solid #d40000;
    overflow: hidden;
}

.home-join::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 84% 16%, rgba(255, 210, 26, 0.18), transparent 28%),
        radial-gradient(circle at 8% 86%, rgba(0, 90, 45, 0.22), transparent 34%);
    pointer-events: none;
}

.home-join__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.62)),
        linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.74));
    pointer-events: none;
}

.home-join__content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 95px 0;
}

.home-join__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 28px;
}

.home-join p {
    color: rgba(255, 255, 255, 0.84);
}

/* =========================================================
   15. Responsive
   ========================================================= */

@media (max-width: 1180px) {
    .home-container,
    .container.home-container {
        width: min(100% - 48px, 1040px);
    }

    .home-why__grid,
    .home-vision__grid,
    .home-international__grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .home-vision__media {
        order: 1;
    }

    .home-vision__content {
        order: 2;
    }

    .action-card__image,
    .action-card .mdes-image-placeholder {
        height: 260px;
        min-height: 260px;
    }
}

@media (max-width: 980px) {
    .home-container,
    .container.home-container {
        width: min(100% - 36px, 1040px);
    }

    .home-actions__grid,
    .home-memory__grid,
    .home-news__grid,
    .home-events__grid {
        grid-template-columns: 1fr;
    }

    .home-vision__grid,
    .home-why__grid,
    .home-international__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .home-section {
        padding: 62px 0;
    }

    .home-container,
    .container.home-container {
        width: min(100% - 28px, 1040px);
    }

    .section-heading {
        display: block;
    }

    .section-heading .text-link {
        margin-top: 16px;
    }

    .section-title {
        font-size: clamp(2rem, 10vw, 3.2rem);
        line-height: 1.02;
        letter-spacing: -0.04em;
    }

    .home-hero {
        min-height: 650px;
        align-items: flex-end;
    }

    .home-hero__content {
        padding: 92px 0 70px;
    }

    .home-hero__title {
        font-size: clamp(2.5rem, 12vw, 4.2rem);
        line-height: 0.98;
        letter-spacing: -0.045em;
    }

    .home-hero__text {
        font-size: 1.05rem;
    }

    .home-hero__actions,
    .home-join__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .home-btn,
    .btn {
        width: 100%;
    }

    .home-why__image,
    .home-vision__image,
    .home-why__media .mdes-image-placeholder,
    .home-vision__media .mdes-image-placeholder {
        height: 280px;
        min-height: 280px;
    }

    .home-vision__content {
        padding: 34px 24px;
    }

    .home-vision .section-title,
    .home-vision .section-title--light {
        font-size: clamp(2rem, 11vw, 3.1rem);
    }

    .home-event-card,
    .event-card {
        grid-template-columns: 1fr;
    }

    .home-event-card__datebox,
    .event-card__date {
        min-height: 70px;
        justify-content: flex-start;
    }

    .home-international__panel {
        padding: 28px 24px;
    }

    .home-join {
        min-height: 400px;
    }

    .home-join__content {
        padding: 72px 0;
    }
}

@media (max-width: 520px) {
    .home-container,
    .container.home-container {
        width: min(100% - 24px, 1040px);
    }
}

@media (max-width: 440px) {
    .home-container,
    .container.home-container {
        width: min(100% - 22px, 1040px);
    }

    .home-section {
        padding: 54px 0;
    }

    .home-hero {
        min-height: 610px;
    }

    .home-hero__content {
        padding: 70px 0 58px;
    }

    .home-hero__badge {
        font-size: 0.72rem;
        padding: 9px 13px;
    }

    .home-hero__title {
        font-size: clamp(2.2rem, 14vw, 3.4rem);
    }

    .home-hero__text {
        font-size: 1rem;
        line-height: 1.55;
    }

    .section-kicker {
        font-size: 0.68rem;
    }

    .section-title {
        font-size: clamp(1.85rem, 11vw, 2.65rem);
    }

    .action-card__body,
    .news-card__body,
    .home-news-card__body,
    .memory-card {
        padding: 24px 20px;
    }

    .home-vision__content {
        padding: 30px 20px;
    }

    .home-vision__tags span {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}
/* =========================================================
   MDES — PATCH FINAL ANTI-DÉBORDEMENT
   À coller tout en bas de homepage.css
   Objectif : supprimer définitivement les coupes à droite
   ========================================================= */

/* Container plus sûr pour le rendu réel actuel */
.home-container,
.container.home-container {
    width: min(100% - 72px, 1180px) !important;
    max-width: 1180px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Toutes les grilles de cartes passent en une colonne */
.home-actions__grid,
.home-memory__grid,
.home-news__grid,
.home-events__grid {
    grid-template-columns: 1fr !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* Chaque carte prend toute la largeur disponible */
.action-card,
.memory-card,
.news-card,
.event-card,
.home-event-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
}

/* Sécurisation du bloc vision */
.home-vision__grid {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
}

.home-vision__media,
.home-vision__content {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
}

/* Sécurisation du bloc international */
.home-international__grid {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
}

.home-international__content,
.home-international__panel {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
}

/* Évite que les liens à droite créent un débordement */
.section-heading {
    display: block !important;
}

.section-heading .text-link {
    margin-top: 16px !important;
}

/* Les textes longs ne doivent jamais pousser une carte */
.home-mdes h1,
.home-mdes h2,
.home-mdes h3,
.home-mdes p,
.home-mdes li,
.home-mdes a,
.home-mdes span {
    overflow-wrap: break-word;
}

/* Ajustement visuel des cartes en colonne */
.action-card__image,
.action-card .mdes-image-placeholder,
.news-card__media,
.news-card__image,
.news-card .mdes-image-placeholder {
    height: 260px !important;
    min-height: 260px !important;
}

/* Bloc Agenda : message vide contenu */
.home-empty,
.home-empty--dark {
    width: 100% !important;
    max-width: 100% !important;
    overflow-wrap: break-word !important;
}

/* Petit écran */
@media (max-width: 760px) {
    .home-container,
    .container.home-container {
        width: min(100% - 28px, 920px) !important;
    }

    .action-card__image,
    .action-card .mdes-image-placeholder,
    .news-card__media,
    .news-card__image,
    .news-card .mdes-image-placeholder {
        height: 220px !important;
        min-height: 220px !important;
    }
}

@media (max-width: 440px) {
    .home-container,
    .container.home-container {
        width: min(100% - 22px, 920px) !important;
    }
}
