:root {
    --white: #fff;
    --black: #000;
    --blue: #004080;
    --orange: #f08700;
    --violet: #ab0093;
    --light-radius: 10px;
    --strong-radius: 50px;
    --shadow: box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

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

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    font-family: 'Arial', sans-serif;
    background-color: #f5f5f5;
    font-size: 1.10rem;

    word-break: keep-all;
}

main {
    flex-grow: 1;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    letter-spacing: 1px;
}

h2 {
    font-size: 1.7rem;
}

h3 {
    font-size: 1.5rem;
}

.section {
    margin: 2rem 0;
}

.title h2,
.title h3 {
    font-weight: 400;
    text-transform: uppercase;
    color: var(--blue);
    line-height: 1;
    position: relative;
    display: inline-block;
}

.title h2::after,
.title h3::after {
    content: '';
    width: 100%;
    position: absolute;
    background-color: var(--orange);
    height: 2px;
    left: 0;
    bottom: 0;
}

.white-title h2,
.white-title h3 {
    color: var(--white);
}

.subtitle h3 {
        font-weight: 400;
    text-transform: uppercase;
    color: var(--blue);
    line-height: 1;
    position: relative;
    display: inline-block;
}

.subtitle h3::after {
    content: '';
    width: 100%;
    position: absolute;
    background-color: var(--blue);
    height: 2px;
    left: 0;
    bottom: 0;
}

@media screen and (min-width: 991px) {
    .section {
        margin: 4rem 0;
    }
}

/* grid */
.grid {
    display: grid;
    gap: 1.2rem;
}

/* Single column on mobile, 2 columns on desktop */
.grid-2 {
    grid-template-columns: 1fr;
}

/* 3 columns on desktop */
.grid-3 {
    grid-template-columns: 1fr;
}

/* 4 columns on desktop */
.grid-4 {
    grid-template-columns: 1fr;
}

/* 5 columns on desktop */
.grid-5 {
    grid-template-columns: 1fr;
}

/* 6 columns on desktop */
.grid-6 {
    grid-template-columns: 1fr;
}

@media (min-width: 600px) {
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

@media (min-width: 768px) {
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }

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

@media (min-width: 991px) {
    .grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
            .grid-5 {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* 1. Configuration de base de la grille */
.dynamic-section {
  display: grid;
  gap: 30px; /* Espace entre l'image et le texte */
  align-items: center; /* Aligne verticalement au centre */
  
  /* PAR DÉFAUT : Une seule colonne (le texte prend 100%) */
  grid-template-columns: 1fr;
}

/* 2. LOGIQUE DYNAMIQUE : Si la section contient une image */
/* On applique le ratio 1fr (image) et 3fr (texte) uniquement sur PC */
@media (min-width: 769px) {
  .dynamic-section:has(img) {
    grid-template-columns: 1fr 4fr;
  }
}

/* 3. COMPORTEMENT MOBILE (Écrans < 768px) */
@media (max-width: 768px) {
  .dynamic-section {
    grid-template-columns: 1fr; /* Tout le monde sur une colonne */
    gap: 20px;
  }
}

/* 4. Optimisation des éléments internes */
.block-img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px; /* Optionnel : pour arrondir les coins de l'image */
  object-fit: contain;
}

.block-img {
        max-width: 20rem;
}

/* 5. Gestion des cas vides (Sécurité CMS) */
/* Si le bloc image existe mais est vide, on le cache pour éviter un espace blanc */
.block:has(.block-img:empty),
.block:has(img[src=""]),
.block:has(img:not([src])) {
  display: none;
}

/* Arial */

/* Regular */
@font-face {
    font-family: 'Arial';
    src: url('../fonts/arial/ARIAL.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Bold */
@font-face {
    font-family: 'Arial';
    src: url('../fonts/arial/ARIALBD.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Black */
@font-face {
    font-family: 'Arial';
    src: url('../fonts/arial/ARIALBLACK.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* Poppins */

/* Regular */
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/poppins/Poppins-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Bold */
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/poppins/Poppins-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Black */
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/poppins/Poppins-Black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* ==============================================
   ACCESSIBILITÉ & UTILITAIRES (RGAA / WCAG)
   ============================================== */

/* 1. Classe .screen-reader-text
   Standard WordPress pour masquer du texte visuellement 
   tout en le laissant vocaliser par les lecteurs d'écran. 
*/
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* 2. Lien d'évitement (Skip Link)
   Caché par défaut, il apparaît en haut au centre lors de la tabulation.
*/
.skip-link {
    background-color: #ffffff;
    color: #005fcc;
    /* Bleu pour le contraste texte */
    font-weight: 700;
    text-decoration: none;
    padding: 15px 20px;
    border-radius: 0 0 4px 4px;
    /* Arrondi en bas */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);

    /* Positionnement hors écran */
    position: fixed;
    /* Fixed pour rester visible même au scroll */
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999999;
    /* Au-dessus de tout (y compris header sticky) */
    transition: top 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

/* État actif au clavier */
.skip-link:focus {
    top: 0;
    /* Descente visible */
    clip: auto !important;
    clip-path: none !important;
    height: auto !important;
    width: auto !important;
    margin: 0 !important;
    outline: 3px solid #005fcc;
    /* Double sécurité visuelle */
    outline-offset: -3px;
    /* Outline intérieur */
}

/* 3. Gestion du Focus Clavier (Focus Visible)
   Remplace le filet bleu par défaut du navigateur par un style 
   cohérent et très visible, uniquement au clavier.
*/

/* Règle moderne : s'applique si la navigation est au clavier */
:focus-visible {
    outline: 3px solid #005fcc;
    /* Bleu conforme (> 3:1 contrast) */
    outline-offset: 3px;
    /* Espace entre l'élément et la bordure */
    z-index: 10000;
}

/* Fallback pour anciens navigateurs (Safari < 15.4) */
:focus {
    outline: 3px solid #005fcc;
    outline-offset: 3px;
}

/* Suppression du focus souris (clic) pour garder le design propre
   ne s'active que si le navigateur supporte :focus-visible */
:focus:not(:focus-visible) {
    outline: none;
}

/* ============================================== */

/* Animations */
.box {
    opacity: 0;
    transition: all 0.8s ease;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    will-change: transform, opacity;
}

/* Animation de gauche à droite */
.from-left {
    transform: translateX(-100px);
}

/* Animation de droite à gauche */
.from-right {
    transform: translateX(100px);
}

.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* Animations */


header {
    position: sticky;
  top: 0;
  z-index: 999;
}

/* Top Bar */
.top-socials {
    display: flex;
    /* margin: .2rem 0 0 0; */
    gap: 10px;
}

.top-socials a {
    display: inline-block;
}

/* top bar */
.container-top-bar {
        padding: 0 .2rem;
}

.top-bar {
    background-color: var(--blue);
    padding: .4rem 0;
    position: relative;
    z-index: 100;
}

.top-bar a,
.top-bar i {
    color: var(--white);
}

.top-bar a {
    text-transform: uppercase;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    transition: color 0.3s ease, text-decoration-color 0.3s ease;
    padding: 10px 5px;
    display: inline-block;
    font-size: 1rem;
}

.top-bar a:hover,
.top-bar a:focus {
    color: var(--orange);
}

.top-bar .top-links a:hover,
.top-bar .top-links a:focus {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.top-menu {
    display: flex;
    flex-direction: row;
    gap: .5rem;
}

.search-button {
    position: absolute;
    bottom: .5rem;
    right: 1rem;
}

.top-links {
    display: flex;
    flex-direction: column;
    /* gap: 0.4rem; */
}

.top-links i {
    margin: 0 .5rem 0 0;
}

.top-links ul {
    list-style-type: none;
}

.top-links li {
    display: inline-block;
}

.top-socials a {
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.top-socials a:focus {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.top-socials i {
    font-size: 1.5rem;
}

.search-icon {
    cursor: pointer;
    position: relative;
    background: none;
    border: 2px solid transparent;
    padding: 0;
    width: 4rem;
    text-align: left;
    display: flex;
    align-items: center;
}

.search-icon::after {
    position: absolute;
    content: '';
    width: 3rem;
    height: 1px;
    background-color: var(--white);
    /* bottom: 0; */
    bottom: 5px;
    right: 0;
    pointer-events: none;
}

/* Suppression de la ligne en mode contraste élevé (Windows) pour éviter le bruit visuel */
@media (forced-colors: active) {
    .search-icon::after {
        display: none;
    }
}

.search-bar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    z-index: 9999;
    padding: 20px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    /* Détachement visuel */
    /* Animation douce */
    opacity: 0;
    transform: translateY(-10px);
    animation: fadeIn 0.5s ease-in-out;
}

.search-bar.is-visible {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* --- Accessibilité : Préférence de mouvement réduit --- */
/* Si l'utilisateur a désactivé les animations dans son OS, on respecte son choix. */
@media (prefers-reduced-motion: reduce) {
    .search-bar,
    .search-field,
    .search-submit,
    .top-bar a {
        transition: none !important;
        animation: none !important;
    }
}

/* Zone de touche minimale pour le mobile (WCAG 2.5.5 - Target Size)
   Permet de cliquer facilement avec le doigt sans casser le design visuel
*/
button.search-close,
button.search-icon {
    min-width: 44px;
    min-height: 44px;
}

/* Gestion de l'état "Fermé" de la search bar */
/* L'attribut HTML "hidden" est la méthode standard moderne */
[hidden] {
    display: none !important;
}

.search-close {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 2px solid transparent;
    /* Pour le focus visible */
}

.search-close i {
    color: #ff0000;
    font-size: 1.5rem;
}

.search-flex-container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.search-flex-container form {
    flex-grow: 1;
}

.search-field {
    width: 100%;
    background-color: transparent;
    border: none;
    border-bottom: 2px solid #757575;
    /* Gris moyen (contraste 4.5:1 min) */
    font-size: 1rem;
    color: var(--black);
    padding: 15px 0;
    border-radius: 0;
    transition: border-color 0.3s ease;
    /* font-family: 'Poppins', sans-serif; */
}

.search-field:focus {
    outline: none;
    /* On retire l'outline navigateur... */
    border-bottom-color: var(--orange);
    border-bottom-width: 3px;
    /* On épaissit pour que ce soit visible */
    background-color: rgba(246, 141, 46, 0.05);
    /* Changement de fond subtil */
    color: #000;
}

.search-field::placeholder {
    color: #595959;
    /* Contraste renforcé par rapport à #aaa (trop clair) */
    font-style: italic;
    opacity: 1;
    /* Fix pour Firefox */
}

.search-submit {
    background-color: var(--blue);
    color: var(--white);
    border: 2px solid transparent;
    /* Prêt pour focus */
    padding: 12px 30px;
    /* Padding confortable */
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
    /* margin-left: 10px; */
    /* Espace avec l'input */
    align-self: center;
    /* Alignement vertical */
    /* font-family: 'Poppins', sans-serif; */
    font-weight: 600;
    margin-top: .5rem;
}

.search-submit:hover,
.search-submit:focus {
    background-color: var(--orange);
    /* Attention au contraste texte ici */
    color: #000;
    /* Texte noir sur fond orange pour garantir lisibilité */
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media screen and (min-width: 400px) {
    .top-links {
        flex-direction: row;
        align-items: center;
        gap: .5rem;
    }
}

@media screen and (min-width: 768px) {
  .container-top-bar {
    padding: initial;
  display: flex;
  flex-direction: row;
  align-content: center;
  justify-content: space-between;
  }
}

@media screen and (min-width: 991px) {
    .top-links a {
        margin: 0 1rem 0 0;
    }

    .search-form {
        display: flex;
        flex-direction: row;
        align-items: center;
    }
}

@media screen and (min-width: 1024px) {
    /* .top-socials {
        margin: 1rem 0 0 0;
    } */

    .top-bar {
        padding: .6rem 0;
         transition: all 0.3s ease-in-out;
    }

    .top-bar.reduce {
 padding: .1rem 0;
 transition: all 0.3s ease-in-out;
    }

    .top-links {
        gap: 0.5rem;
    }
}

@media screen and (min-width: 1200px) {
    .top-bar-content {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .top-socials {
        margin: 0 0 0 0;
    }
}
/* Top Bar */

/* navigation */
.site-branding {
    max-width: 30rem;
    padding: .5rem 1rem;
    width: 15rem;
    background-color: var(--white);
}

.navigation-block {
    background-color: var(--white);
}

.navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--white);
}

.navigation a {
    font-family: 'Poppins', sans-serif !important;
    letter-spacing: 1px !important;
}

.mega-current-menu-item>a.mega-menu-link span::after {
    background-color: var(--orange);
    width: 100%
}

.mega-menu-item span {
    position: relative;
    letter-spacing: 2px;
}

.mega-menu-item span::after {
    content: '';
    width: 0;
    position: absolute;
    background-color: var(--orange);
    height: 2px;
    left: 50%;
    bottom: -5px;
    transform: translate(-50%, 0) translateZ(0);
    transition: width .25s cubic-bezier(.27, .62, .43, 1.01)
}

.mega-menu-item span:hover::after {
    width: 100%
}

.mega-menu-toggle {
    margin: 0 .8rem 0 0;
}

.navigation .mega-indicator::after {
bottom: 0;
    left: 0;
}

@media screen and (min-width: 400px) {
.search-button {
    position: initial;
}
.container-top-bar {
  padding: 0 .5rem;
}
}

@media screen and (min-width: 991px) {
    .site-branding {
        width: 20rem;
        padding: 1 1rem;
    }
}

@media screen and (min-width: 1025px) {
    .navigation {
        display: initial;
    }

    .site-branding {
        width: 22rem;
        margin: 0 auto;
        transition: width 0.5s ease-in-out;
        
    }

    .site-branding.disappear {
 width: 15rem;
 transition: width 0.5s ease-in-out;
    }
}

/* navigation */





/* footer */
footer {
    background-color: var(--blue);
    padding: 1rem 0 0 0;
}

footer p,
.footer a {
    color: var(--white);
}

footer a {
    text-decoration: none;
}

.footer__credits {
    background-color: rgb(0, 43, 86);
    padding: 1rem 0 1rem 0;
}

.footer__credits p,
.footer__credits a {
    color: var(--white);
    margin: 0;
}

.footer__credits a {
    text-decoration: underline;
}

.logo__footer {
    width: 15rem;
}

.footer-top {
    border-bottom: 1px solid var(--orange);
    padding: .5rem 0;
    margin: 0 0 1rem 0;
}

footer .social-icons {
    display: flex;
    margin: 1rem 0 0 0;
    gap: 15px;
}

footer .social-icons a {
    display: inline-block;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 5px;
}

footer .social-icons a:focus {
    text-decoration: underline;
    text-underline-offset: 4px;
    color: var(--orange);
}


footer .social-icons i {
    font-size: 1.5rem;
    color: var(--white);
}

footer .footer-bottom h3 {
    display: inline-block;
    color: var(--white);
    margin: 0 0 1rem 0;
    position: relative;
    font-size: 1rem;
}

footer .footer_menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer .footer_menu a {
    color: var(--white);
    text-decoration: underline;
}

footer .footer-bottom h3::after {
    content: '';
    width: 100%;
    position: absolute;
    background-color: var(--orange);
    height: 1px;
    left: 50%;
    bottom: -5px;
    transform: translate(-50%, 0) translateZ(0);
    transition: width .25s cubic-bezier(.27, .62, .43, 1.01)
}

@media screen and (min-width: 1200px) {
    .footer-top {
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
    }
}

/* footer */

/* go to top */

/* Style du bouton */
#btn-back-to-top {
    position: fixed;
    bottom: 90px;
    right: 20px;
    display: none;
    opacity: 0.8;
    background-color: var(--blue);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    transition: background-color 0.3s, transform 0.3s;
    z-index: 1000;
}

/* Effet au survol */
#btn-back-to-top:hover {
    transform: scale(1.1);
    /* Légèrement plus grand */
    opacity: 1;
}

/* go to top */

/* accueil */
/* Conteneur pour gérer les marges et le centrage */
.main-title-container {
    text-align: center;
    background-color: var(--white);
}

/* Le style du H1 */
.site-main-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--blue);
    line-height: 1.3;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 1rem .5rem .1rem .5rem;
}

/* Mise en valeur de la deuxième partie (mots-clés) */
.main-title-container .highlight {
        font-family: 'Poppins', sans-serif;
        text-transform: uppercase;
    display: block;
    color: var(--blue);
    font-size: 1.1rem;
    font-weight: 400;
    margin-top: 0.5rem;
     line-height: 1.3;
     letter-spacing: 1px;
}


/* Adaptation Mobile */
@media screen and (min-width: 768px) {
    .site-main-title {
        font-size: 2rem;
    }

    .main-title-container .highlight {
        font-size: 1.2rem;
    }

    .main-title-container {
        padding: 1.5rem 1rem;
    }
}

/* acces rapide */
.acces-rapide-content__v2 {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1rem 0;
}

.acces-rapide__v2 a {
    width: 100%;
    text-align: center;
    color: var(--white);
    text-decoration: none;
    padding: .5rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    letter-spacing: 1px;
    border-radius: var(--light-radius);
}

.acces-rapide__v2 h2 {
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    font-weight: 400;
    font-size: 1.4rem;
}

.acces-rapide__v2 a:nth-child(even) {
    background-color: var(--blue);
    transition: all 0.3s ease-in-out;
}

.acces-rapide__v2 a:nth-child(odd) {
    background-color: var(--orange);
    transition: all 0.3s ease-in-out;
}

.acces-rapide__v2 a:nth-child(even):hover,
.acces-rapide__v2 a:nth-child(odd):hover {
    transform: translate(0, -5px);
}

.acces-rapide__v2 .picto {
    width: 3rem;
}

.acces-rapide__v2 a:hover .picto {
    animation: checkRapide 0.4s ease-in-out infinite;
}

@keyframes checkRapide {
    0% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-10deg);
    }

    75% {
        transform: rotate(10deg);
    }

    100% {
        transform: rotate(0deg);
    }
}
@media screen and (min-width: 768px) {
    .acces-rapide-content__v2 {
        display: flex;
        flex-direction: row;
    }

    .acces-rapide__v2 .picto {
        width: 3.5rem;
    }

    .acces-rapide-content__v2 {
        gap: 2rem;
    }
}

/* Don section */
.don-section {
    background-color: #e0e0e0;
}

.don-section-content {
    display: grid;
    grid-template-columns: 1fr;
}

.don-split-content {
    padding: 2rem 2rem 0 2rem;
}

.don-section .don-title {
    font-weight: 900;
    text-transform: uppercase;
    color: var(--blue);
    line-height: 1;
    position: relative;
    padding: 0 0 0 0.2rem;
}

.don-section-title .monogramme {
    width: 6rem;
    margin: 0 0 1rem 0;
}

.don-section .don-title::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 2px;
    background-color: var(--orange);
    bottom: 0;
}

.don-image {
    height: 400px;
    margin: 0rem 2rem 2rem 2rem;
    border-radius: var(--light-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.don-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.don-btn {
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--blue);
    color: var(--white);
    text-decoration: none;
    padding: 1rem 2rem;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border-radius: var(--strong-radius);
    box-shadow: var(--shadow);
    letter-spacing: 1px;
}

.don-btn:hover {
    background-color: var(--blue);
    color: var(--white);
}

.don-btn span {
    margin: 0 1rem 0 0;
}

@media screen and (min-width: 768px) {
    .don-section-content {
        grid-template-columns: 1fr 1fr;
    }

    .don-split-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 2rem 2rem 2rem 2rem;
    }

    .don-section .don-title {
        font-size: 3.4rem;
    }

    .don-section-title {
        display: flex;
        flex-direction: row;
        align-items: center;
    }

    .don-section-title .monogramme {
        width: 6.5rem;
        margin: 0 .5rem 0rem 0;
    }

    .don-image {
        margin: 2rem 2rem 2rem 2rem;
    }
}

/* section don */

/* formations */
.block__formation,
.block__formation a,
.block__formation .img__formation,
.block__formation .img__formation img,
.block__formation .text__formation {
    border-radius: var(--light-radius);
}


.block__formation a {
    text-decoration: none;
    width: 100%;
    height: 100%;
    display: inline-block;
    position: relative;
}

.block__formation .img__formation,
.text__formation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.block__formation .img__formation img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.text__formation {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 1rem;
    text-align: center;
}

.block__formation {
    aspect-ratio: 1 / 1;
    display: flex;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease-in-out;
    position: relative;
}

.block__formation::after {
    content: "";
    position: absolute;
    bottom: -2rem;
    left: 50%;
    width: 3rem;
    height: 3rem;
    background-image: url('../images/logo-picto.png');
    background-size: contain;
    transform: translate(-50%, 0);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.block__formation:hover {
    transform: scale(1.02);
    transition: transform 0.3s ease-in-out;
}

.block__formation:hover::after {
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

.text__formation h3 {
    font-weight: 700;
    text-transform: uppercase;
    color: var(--white);
    line-height: 1.2;
}

.les__formations {
    margin: 1rem 0;
}

.les__formations .block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* formations */

/* statistiques */
.statistiques {
    margin: 4rem 0;
    background-color: #e0e0e0;
    padding: 2rem 0;
    overflow: hidden;
}

.les__statistiques .block .number {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    color: var(--blue);
}

.les__statistiques .intitule {
    font-weight: 700;
    color: var(--blue);
    position: relative;
}

.les__statistiques .intitule::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--orange);
    bottom: 0;
}

.les__statistiques p {
    margin: 0;
}

@media screen and (min-width: 991px) {
    .statistiques {
        margin: 6rem 0;
    }

    .les__statistiques .block .number {
        font-size: 3rem;
    }
}

/* statistiques */

/* articles fp */
article.item {
    background-color: var(--white);
    text-decoration: none;
    box-shadow: var(--shadow);
    border-radius: var(--light-radius);
    overflow: hidden;
}

article.item .item-thumbnail {
    aspect-ratio: 1/1;
    position: relative;
}

article.item .item-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

article.item .item-date {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--blue);
    color: var(--white);
    padding: 0.5rem 1rem;
    text-align: center;
    text-transform: uppercase;
    font-weight: 700;
    border-radius: var(--light-radius);
    box-shadow: var(--shadow);
    letter-spacing: 1px;
}

article.item .item-content {
    padding: 1rem;
}

article.item .item-category a {
    color: var(--orange);
    font-weight: 900;
}

article.item h3 {
    color: var(--blue);
    font-weight: 400;
    line-height: 1;
}

article.item h3 a {
    color: var(--blue);
}

article.item a {
    text-decoration: none;
}

article.item .item-excerpt {
    margin: 1rem 0;
}

article.item .btn-read-more {
    display: inline-flex;
    align-items: center;
    background-color: var(--blue);
    color: var(--white);
    text-decoration: none;
    padding: .6rem 1rem;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    border-radius: var(--light-radius);
}

article.item .btn-read-more span {
    margin: 0 1rem 0 0;
}

article.item .btn-read-more:hover {
    background-color: var(--blue);
    color: var(--white);
}

.btn-container {
    margin: 2rem 0;
}

.btn-container a {
    background-color: var(--blue);
    color: var(--white);
    text-decoration: none;
    padding: 1rem 2rem;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    border-radius: var(--strong-radius);
}

.btn-container a:hover {
    background-color: var(--orange);
    color: var(--white);
}

/* articles fp */

.grid-actus {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.instagram_module {
    margin: 1rem 0;
}

@media screen and (min-width: 768px) {
    .grid-actus {
        grid-template-columns: 1fr 2fr;
    }
}

/* testimonials */
.testimonials {
    padding: 2rem 0;
}

.testimonial-container {
    width: 90%;
    margin: 0 auto;
    position: relative;
    padding: 20px 0;
}

.slider-wrapper {
    overflow: hidden;
    position: relative;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-card {
    min-width: 100%;
    padding: 50px 60px;
    text-align: center;
    background-color: var(--white);
    position: relative;
    box-shadow: var(--shadow);
    border-radius: var(--light-radius);
}

.testimonial-card::before {
    content: "“";
    font-size: 7rem;
    color: var(--blue);
    opacity: 0.2;
    position: absolute;
    top: 1rem;
    left: 1rem;
    line-height: 1;
}

.user-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--orange);
    margin-bottom: 20px;
}

.quote {
    font-style: italic;
    margin-bottom: 20px;
}

.user-info h3 {
    margin: 0;
}

/* --- STYLES DES FLÈCHES --- */
.arrow-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--blue);
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
}

.arrow-btn:hover {
    background-color: var(--blue);
    color: var(--white);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

/* Points de navigation */
.dots-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 10px;
}

.dot {
    height: 12px;
    width: 12px;
    background-color: #bbb;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: var(--orange);
    transform: scale(1.2);
}

/* Responsive */
@media (max-width: 600px) {
    .testimonial-card {
        padding: 30px 20px;
    }

    .quote {
        font-size: 1rem;
    }

    /* Sur mobile, on peut cacher les flèches ou les rendre plus petites */
    .arrow-btn {
        width: 30px;
        height: 30px;
        font-size: 1rem;
        background-color: rgba(0, 0, 0, 0.05);
    }
}

@media screen and (min-width: 991px) {
    .testimonial-container {
        width: 100%;
    }
}
/* testimonials */

/* cta */
.cta {
    background-color: var(--orange);
    padding: 2rem 0;
}
.cta h2, .cta p {
    color: var(--white);

}

.cta .title h2::after {
    background-color: var(--blue);
}

.cta .btn-container a {
    border: 2px solid var(--blue)
}
.cta .btn-container a:hover {
    color: var(--blue);
}
/* cta */

/* rs */
.rs .btns {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin: 1rem 0;
    justify-content: center;
}

.rs .btns a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 900;
    font-size: 18px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rs .btns a i {
    margin-left: 10px;
    font-size: 18px;
}

.rs .btns a:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* --- Couleurs des marques --- */
section.rs {
    background-color: var(--blue);
    padding: 2rem 0;
}


.rs .btns .facebook {
    background-color: #1877F2;
}

.rs .btns .facebook:hover {
    background-color: #166fe5;
    /* Légèrement plus foncé au survol */
}

.rs .btns .x {
    background-color: #000000;
}

.rs .btns .x:hover {
    background-color: #333333;
}

.rs .btns .instagram {
    /* Dégradé Instagram */
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.rs .btns .instagram:hover {
    background: linear-gradient(45deg, #e08322 0%, #d6582c 25%, #cc1733 50%, #bc1356 75%, #ac0878 100%);
}

.rs .btns .linkedin {
    background-color: #0077B5;
}

.rs .btns .linkedin:hover {
    background-color: #00669c;
}

.rs .btns .youtube {
    background-color: #FF0000;
}

.rs .btns .youtube:hover {
    background-color: #cc0000;
}

.rs .btns .tiktok {
    background-color: #000000;
}

.rs .btns .tiktok:hover {
    background-color: #333333;
}

.home .rs {
    margin: 2rem 0;
}

@media screen and (min-width: 991px) {
    section.rs {
        padding: 4rem 0;
    }
        .home .rs {
        margin: 4rem 0;
    }

}

/* 
.grid__linkedin {
    margin: 1rem 0;
} */

/* linkedin */
/* .linkedin-block {
    background-color: var(--white);
    width: 100%;
    overflow: hidden;
}

.linkedin-card__cover {
    height: 100%;
    width: 100%;
}

.linkedin-card__cover img,
.linkedin-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.linkedin-card__header {
    position: relative;
    height: 12rem;
}

.linkedin-card__avatar {
    position: absolute;
    max-width: 8rem;
    width: 8rem;
    max-height: 8rem;
    height: 8rem;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
    overflow: hidden;
    padding: 0.5rem;
    border: 1px solid #0a66c2;
    background-color: var(--white);
}

.linkedin-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem;
    border-top: 1px solid #eee;
}

.linkedin-card__btn {
    background-color: #0a66c2;
    color: var(--white);
    padding: 0.5rem 1.5rem;
    text-decoration: none;
    font-weight: 600;
    border-radius: 99px;
}

.linkedin-card__logo {
    width: 5rem;
    opacity: 0.8;
    display: flex;
}

.linkedin-card__body {
    padding: 1rem 1rem;
} */

/* linkedin */

/* rs */

/* Header page */
.header-page {
    padding: 1rem 0;
    text-align: center;
    border-bottom: 2px solid var(--orange);
}

.header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Le style du H1 */
.header-page__title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--blue);
    line-height: 1.3;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

.header-page__title::after {
    content: '';
    width: 100%;
    position: absolute;
    background-color: var(--orange);
    height: 2px;
    left: 0;
    bottom: 0;
}

.breadcrumbs {
    display: inline-block;
    background-color: var(--orange);
    padding: 0.5rem 1rem;
    border-radius: 99px;
    margin: 0.5rem 0;
}

.breadcrumbs p {
    margin: 0;
}

.breadcrumbs a,
.breadcrumbs span {
    color: var(--blue);
    text-decoration: none;
}

.breadcrumbs .breadcrumb_last {
    font-weight: 900;
}

/* Adaptation Mobile */
@media screen and (min-width: 768px) {
    .header-page__title {
        font-size: 2rem;
    }

    .header-page {
        padding: 1.5rem 1rem;
    }
}

/* page contact */
.contact__form {
    background-color: var(--white);
    border-radius: var(--light-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    margin: 1rem 0 0 0;
}

.contact__form label span {
    color: var(--blue);
    position: relative;
}

.contact__form span {
    margin: 0;
}

.contact__form label span.label_text {
    padding: 0 0 0 0.5rem;
}

.contact__form label span.label_text::before {
    content: '';
    position: absolute;
    height: 100%;
    width: 2px;
    background-color: var(--orange);
    top: 0;
    bottom: 0;
    left: 0;
}

.contact__form input,
.contact__form textarea,
.contact__form select {
    padding: 0.5rem;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 2px solid var(--blue);
    width: 100%;
    background-color: rgb(0, 64, 128, 0.05);
}

input.acceptance-form {
    width: auto;
    margin-right: 0.5rem;
}

iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
}

input.wpcf7-submit {
    width: auto;
    font-size: 18px;
    padding: 1rem 2rem;
    border: none;
    background-color: var(--blue);
    color: var(--white);
}

section.contact .adresse p {
    margin: 0;
}

section.contact .adresse {
    margin: 0 0 1rem 0;
    border-bottom: 1px solid var(--blue);
}

.grid-contact {
    display: grid;
    grid-template-columns: 1fr
}

@media screen and (min-width: 991px) {
    .grid-contact {
        grid-template-columns: 1fr 1fr;
    }
}
/* page contact */

/* home */
.grid-home {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

/* Conteneur principal */
.last__posts {
    margin: 1rem 0 1rem 0;
    order: 2;
}

.facebook_plugin h2,
.last__posts h2 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--blue);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--orange);
    display: inline-block;
    padding-bottom: 5px;
}

.last__posts ul {
    list-style: none;
    padding: 0;
}

/* L'élément de liste devient le parent du lien */
.last__posts li {
    background-color: var(--white);
    border-radius: var(--light-radius);
    box-shadow: var(--shadow);
    margin-bottom: .5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}

.last__posts li:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Le lien englobe tout pour une grande zone cliquable */
.last__posts .post-link {
    display: flex;
    align-items: stretch;
    text-decoration: none;
}

.last__posts .post-thumbnail {
    width: 80px;
    min-width: 80px;
    overflow: hidden;
}

.last__posts .post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.last__posts .post-info {
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 4px;
    justify-content: center;
    flex: 1;
}

.last__posts .post-title {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.2;
    margin: 0;
    color: var(--blue);
    /* Limite le titre à 2 lignes si trop long */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.last__posts .post-date {
    font-size: 0.9rem;
    color: #777;
}

.grid_col-content {
    display: flex;
    flex-direction: column;
}

.pagination {
    margin: 2rem 0 1rem 0;
}

.pagination a {
    background-color: var(--blue);
    color: var(--white);
    padding: .5rem .5rem;
    text-decoration: none;
    border-radius: var(--light-radius);
}

.pagination span {
    background-color: var(--orange);
    color: var(--white);
    padding: .5rem .5rem;
    text-decoration: none;
    border-radius: var(--light-radius);
    display: inline-block;
}

@media screen and (min-width: 991px) {
    .grid-home {
        grid-template-columns: 2fr 1fr;
    }

    .last__posts {
        order: 1;
    }

    .facebook_plugin {
        order: 2;
    }

    .grid-home {
        margin: 4rem 0;
    }
}
/* home */

/* page former */
.les__formations {
    margin: 2rem 0;
    grid-template-rows: auto auto 1fr;
    gap: 20px;
}

.formation-image {
    width: 100%;
    aspect-ratio: 3/4;
    /* overflow: hidden; */
    border-radius: var(--light-radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease-in-out;
    position: relative;
}

.formation-image::after {
    content: "";
    position: absolute;
    bottom: -1.5rem;
    left: 50%;
    width: 3rem;
    height: 3rem;
    background-image: url('../images/logo-picto.png');
    background-size: contain;
    transform: translate(-50%, 0);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.formation-image:hover {
    transform: scale(1.02);
    transition: transform 0.3s ease-in-out;
}

.formation-image:hover::after {
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

.formation-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
        border-radius: var(--light-radius);
}

.formation {
    display: grid;
    grid-row: span 3;
    grid-template-rows: subgrid;
    margin: 0 0 2rem 0;
}

.formation-title {
    align-self: end;
}

.formation-desc {
    flex-grow: 1;
    margin: .5rem 0 0 0;
}

.formation-desc ul {
    list-style: none;
    padding: 0;
}

.formation-desc ul li a {
    color: var(--blue);
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    width: 100%;
        padding: 0 1.5rem 0 0;
}

.formation-desc ul li {
    margin-bottom: .5rem;
    padding: .5rem 0;
    border-bottom: 1px solid var(--blue);
    position: relative;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.formation-desc ul li a::after {
    position: absolute;
    content: "→";
    right: 0;
    top: 50%;
    transform: translate(0, -50%);
    color: var(--blue);
    font-weight: bold;
    transition: transform 0.2s ease, color 0.2s ease;
}

.formation-desc ul li:hover a::after {
    color: var(--orange);
    transition: transform 0.2s ease, color 0.2s ease;
}

.formation-desc ul li:hover {
    background-color: rgb(240, 135, 0, .1);
    transition: background-color 0.2s ease, color 0.2s ease;
}

/* page former */

/* single.php */
.single-post {
    margin: 2rem 0;
}

.single-post .entry-meta .posted-on {
    color: var(--blue);
    position: relative;
    padding: 0 0 0 0.5rem;
}

.single-post .entry-meta .cat-links {
    color: var(--blue);
    position: relative;
    padding: 0 0 0 0.5rem;
}

.single-post .entry-meta .posted-on::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 2px;
    background-color: var(--orange);
}

.single-post .entry-meta .cat-links::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 2px;
    background-color: var(--blue);
}

.single-post .entry-meta .cat-links a {
    color: var(--blue);
    text-decoration: none;
}

.single-post img {
    width: 100%;
    height: auto;
    border-radius: var(--light-radius);
    box-shadow: var(--shadow);
    margin: 1rem 0;
}

.single-post .pagination-single {
    margin: 2rem 0;
}

.single-post .pagination-single a {
    background-color: var(--blue);
    color: var(--white);
    padding: .5rem .5rem;
    text-decoration: none;
    border-radius: var(--light-radius);
    display: inline-block;
    margin: .2rem 0;
}

/* single.php */

/* category.php */
.category-posts {
    margin: 2rem 0;
}

@media screen and (min-width: 991px) {
    .category-posts {
        margin: 4rem 0;
    }
}
/* category.php */

/* search.php */
.search-results {
    margin: 2rem 0;
}
/* search.php */


/* plan du site */

.wsp-container {
    margin: 2rem 0;
}
.wsp-container  .wsp-pages-title,
.wsp-container  .wsp-posts-title {
    margin: 2rem 0 0 0;
    font-weight: 400;
    text-transform: uppercase;
    color: var(--blue);
    line-height: 1;
    position: relative;
    display: inline-block;
}
.wsp-container  .wsp-pages-title::after,
.wsp-container  .wsp-posts-title::after{
    content: '';
    width: 100%;
    position: absolute;
    background-color: var(--orange);
    height: 2px;
    left: 0;
    bottom: 0;
}
.wsp-container .wsp-posts-list {
    margin: .5rem 0;
}
.wsp-container a {
        color: var(--blue);
}
/* plan du site */

/* Page financement */

.section ul {
padding: 0 0 0 1rem;
}

.sub_section {
    margin: 2rem 0 0 0;
}


.sub_section .grid .logo {
    aspect-ratio: 16/9;
    max-width: 20rem;
}
.sub_section .grid .logo img {
    width: 100%;
    height: 100%;
      object-fit: contain;
          object-position: left;
}

.sub_section .grid a {
    word-break: break-word;
    color: var(--blue);
}

.sub_section .grid .block {
        padding: .5rem;
    background-color: rgba(0, 64, 128, 0.05);
}

.sub_section .grid h3 {
    font-weight: 700;
    color: var(--blue);
}

.section .img {
        max-width: 10rem;
}

/* Page financement */

/* Page Nos associations */
.logo-intro {
    margin: 0 auto;
}
.association .logo {
        max-width: 15rem;
}

@media screen and (min-width: 991px) {
    .association .logo {
        max-width: 20rem;
    }
}
/* Page Nos associations */
.section-img {
    margin: 0 0 1rem 0;
}

.section-img img {
    height: 100%;
    object-fit: cover;
}