:root {
    --dark-blue: #2A3B4C;
    --light-blue: #AEC4D1;
    --orange: #D58241;
    --light-orange: #F3B577;
    --bg-light: #F7F9FA;
    --bg-beige: #FCF4E9;
    --text-dark: #333333;
    --white: #FFFFFF;
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    color: var(--text-dark);
    line-height: 1.6;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}

iframe {
    max-width: 100%;
    display: block;
}

html, body {
    overflow-x: hidden;
}

.conteneur {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.texte-centre { text-align: center; }

.section-claire { background-color: var(--bg-light); padding: 60px 0; }
.section-sable { background-color: var(--bg-beige); padding: 60px 0; }

.titre-section {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-transform: uppercase;
}
.titre-section.bleu-fonce { color: var(--dark-blue); }
.titre-section.orange { color: var(--orange); }

/* Boutons */
.btn {
    display: inline-block;
    padding: 10px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    border: none;
}
.btn-primaire { background-color: var(--dark-blue); color: var(--white); }
.btn-primaire:hover { background-color: #1a2530; }
.btn-secondaire { background-color: transparent; border: 2px solid var(--dark-blue); color: var(--dark-blue); }
.btn-orange { background-color: var(--orange); color: var(--white); }
.btn-soutien { background-color: var(--orange); color: var(--white); }
.btn-soutien:hover { background-color: #c07030; }
.btn-orange-contour {
    display: inline-block;
    background-color: orange;
    color: white;
    padding: 12px 28px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}
.btn-orange-contour:hover {
    background-color: white;
    border-color: orange;
    color: orange;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}
.btn-bleu-fonce { background-color: var(--dark-blue); color: var(--white); }
.btn-telechargement {
    display: inline-block;
    background-color: #1a2e40;
    color: white;
    padding: 12px 28px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}
.btn-telechargement:hover {
    background-color: white;
    border-color: #1a2e40;
    color: #1a2e40;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}
.haut-page,
.btn-retour {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--orange);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: transform 0.3s ease, background-color 0.3s ease;
}
.haut-page:hover,
.btn-retour:hover {
    background-color: var(--dark-blue);
    transform: scale(1.1);
}
.btn-retour {
    position: static; 
    width: 45px;
    height: 45px;
    background-color: #ffffff; 
    color: #1a2e40;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    margin-top: 20px;
    margin-left: 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}
.btn-retour:hover {
    background-color: #1a2e40;
    color: #ffffff;
    transform: translateX(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}
.boutons-processus { display: flex; justify-content: center; margin-top: 10px; }
.boutons-processus .btn { display: inline-flex; padding: 10px 24px; }
.btn-blog {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    margin-bottom: 20px;
}

/* Header */
.zone-hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('img/fond header.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    padding-bottom: 30px;
}
.entete-secondaire {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('img/fond header.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 35vh;
    display: flex;
    flex-direction: column;
}
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    position: relative;
    z-index: 100;
}
.menu_lien {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}
.menu_lien a {
    text-decoration: none;
    color: #ffffff;
    font-weight: bold;
}
.logo-mobile {
    display: none;
}
.burger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    z-index: 2000;
}
.burger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--orange, #d98243);
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}
.contenu-hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.contenu-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 30px;
    max-width: 600px;
    padding: 0 15px;
}
.boutons-hero {
    display: flex;
    gap: 15px;
}

/* À Propos */
.grille-apropos {
    display: flex;
    gap: 50px; 
    align-items: flex-start;
}
.img-apropos {
    flex: 0 0 35%; 
    max-width: 350px; 
}
.texte-apropos { flex: 1; }
.img-apropos img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4; 
    object-fit: cover;
    border-radius: 10px;
}
.bloc-mission {
    background-color: var(--light-blue);
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
}
.bloc-mission ul { 
    list-style-position: inside;
    padding-left: 0;
    margin-top: 10px;
}
.bloc-mission li {
    margin-bottom: 5px;
}

/* Adoption & Structural Grids */
.grille, .grille-blog {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    align-items: stretch;
}
.grille > *, .grille-blog > * {
    flex: 0 1 320px;
}
.carte-chat { text-align: center; }
.img-chat {
    border-radius: 15px;
    object-fit: cover;
    margin-bottom: 10px;
}
.processus-adoption { text-align: center; }

/* Correction des listes HTML issues du CMS */
.processus-adoption ul,
.engagements ul {
    list-style-position: inside;
    padding-left: 0;
    text-align: center;
    max-width: 600px;
    margin: 0 auto 30px auto;
}
.processus-adoption li,
.engagements li {
    margin-bottom: 8px;
}

.liste {
    list-style: none;
    text-align: left;
    max-width: 500px;
    margin: 0 auto 30px auto;
}
.liste li::before { content: '🐾 '; }

.carte-chat {
    background-color: var(--white);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.carte-chat:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.carte-chat img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}
.carte-chat h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
}
.carte-chat p {
    margin: 5px 0;
    font-size: 0.95rem;
    color: var(--dark-blue);
}
.Adop {
    color: var(--black);
    padding: 10px 30px;
    border-radius: 30px;
    display: inline-block;
    margin-bottom: 20px;
    position: relative;
}
.Adop::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 350px;
    height: 2.5px;
    background-color: var(--orange);
    border-radius: 2px;
}
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.btn-page {
    padding: 8px 14px;
    background-color: var(--white);
    color: var(--dark-blue);
    border: 1px solid var(--light-blue);
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-page:hover {
    background-color: var(--light-blue);
    color: var(--white);
}

.btn-page.actif {
    background-color: var(--orange);
    color: var(--white);
    border-color: var(--orange);
}

/* Famille d'accueil */
.grille-fa {
    padding: 20px; 
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}
.FA {
    background-color: var(--light-blue);
    flex: 0 1 calc(33.333% - 20px);
    min-width: 250px; 
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
}
.FA img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

/* Prise en compte de .FA p pour remettre le texte en blanc */
.FA p,
.citation {
    color: var(--white);
    text-align: center;
    padding: 20px 15px;
    font-weight: bold; 
    font-size: 1rem; 
    line-height: 1.4;
    flex-grow: 1;
}

.engagements { 
    text-align: center; margin-top: 40px;
}
.zone-telechargement { 
    text-align: center; margin-top: 35px; margin-bottom: 20px; 
}
.img-fa {
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: center 15%;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}
.Eng {
    color: var(--black);
    padding: 10px 30px;
    border-radius: 30px;
    display: inline-block;
    margin-bottom: 20px;
    position: relative;
}
.Eng::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 350px;
    height: 2.5px;
    background-color: var(--light-blue);
    border-radius: 2px;
}

/* Soutien */
.grille-soutien {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}
.grille-soutien > * {
    flex: 0 1 320px;
}
.carte-soutien {
    background: var(--orange);
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    color: var(--white);
    flex: 0 1 300px;
    max-width: 100%;
}
.carte-soutien h3 {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 22px;
}
.carte-soutien a {
    display: inline-block;
    background-color: #ffffff;
    color: #d98243;
    padding: 10px 22px;
    font-size: 0.95rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 25px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}
.carte-soutien a:hover {
    background-color: #1a2e40;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}
.carte-soutien img { width: 100%; display: block; }
.carte-soutien .contenu-soutien {
    background-color: #d98243;
    padding: 25px 20px;
    text-align: center;
}
.contenu-soutien { padding: 20px; }
.contenu-soutien h3 { margin-bottom: 15px; }


/* Blog */
.carte-blog {
    background-color: var(--white);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.carte-blog img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}
.carte-blog p strong {
    color: var(--dark-blue);
    font-size: 1.1rem;
    display: block;
    margin-bottom: 5px;
}
.lien-article {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease;
}
.lien-article:hover {
    transform: translateY(-5px);
}

/* Contact */
.grille-contact {
    display: flex;
    gap: 40px;
    align-items: stretch;
    flex-wrap: wrap;
}
.bloc-formulaire,
.bloc-carte {
    flex: 1 1 420px;
}
.form-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.form-contact input, .form-contact textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Footer */
footer {
    background-color: #1a2e40;
    color: #ffffff;
    padding: 30px 20px;
    font-size: 0.9rem;
}
.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}
.footer-info {
    text-align: left;
}
.footer-location {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.footer-copyright {
    opacity: 0.8;
    line-height: 1.4;
}
.footer-links {
    display: flex;
    gap: 20px;
}
.footer-links a {
    color: #ffffff;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}
.footer-links a:hover {
    opacity: 1;
    text-decoration: underline;
}
.logo-fb {
    width: 22px;
    height: 22px;
    object-fit: contain;
}
.lien-fb {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    background-color: transparent;
    border: 2px solid var(--orange);
    border-radius: 50%;
    transition: all 0.3s ease;
    margin: 10px;
}
.lien-fb:hover {
    background-color: var(--orange);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(217, 130, 67, 0.4);
}

/* login.php */
body.page-connexion {
    font-family: 'Segoe UI', system-ui, sans-serif;
    background-color: var(--couleur-fond);
    color: var(--couleur-texte);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.carte-connexion {
    width: 100%;
    max-width: 400px;
    background: var(--fond-carte);
    padding: 35px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}
.titre-connexion {
    color: var(--bleu-fonce);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-align: center;
    border-bottom: 2px solid var(--accent-dor);
    padding-bottom: 10px;
}
.message-erreur {
    background-color: var(--fond-erreur);
    color: var(--couleur-erreur);
    font-weight: 600;
    text-align: center;
    padding: 10px 12px;
    border-radius: 5px;
    margin-bottom: 20px;
    border-left: 4px solid var(--couleur-erreur);
    font-size: 0.9rem;
}
.formulaire-connexion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.champ-texte {
    width: 100%;
    padding: 12px 15px;
    font-size: 0.95rem;
    border: 1px solid var(--couleur-bordure);
    border-radius: 5px;
    outline: none;
    transition: border-color 0.2s ease;
    font-family: inherit;
}
.champ-texte:focus {
    border-color: var(--accent-dor);
}
.bouton-connexion {
    width: 100%;
    background-color: var(--accent-dor);
    color: #ffffff;
    border: none;
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    margin-top: 5px;
}
.bouton-connexion:hover {
    background-color: var(--accent-dor-survol);
}
.bouton-connexion:active {
    transform: scale(0.99);
}

/* Mentions & RGPD */
.legal-page {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 20px;
    line-height: 1.6;
    color: #2c3e50;
    text-align: center;
}
.legal-page h1 {
    font-size: 2.2rem;
    color: #1a2e40;
    margin-bottom: 5px;
    text-align: center;
}
.legal-page .last-update {
    font-style: italic;
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 40px;
    border-bottom: 2px solid #ff7f50;
    padding-bottom: 15px;
    display: inline-block;
}
.legal-page h2 {
    font-size: 1.4rem;
    color: #ff7f50;
    margin-top: 35px;
    margin-bottom: 15px;
    text-align: center;
}
.legal-page p {
    margin-bottom: 15px;
    text-align: center;
}
.legal-page ul {
    margin-bottom: 20px;
    padding: 0;
    list-style-position: inside;
    text-align: center;
}
.legal-page li {
    margin-bottom: 8px;
}
.legal-page strong {
    color: #1a2e40;
}

.logo {
    flex-shrink: 0;
}

.logo img {
    height: 120px; 
    width: auto; 
    max-width: 100%;
    object-fit: contain;
    display: block;
}

.page {
    background-color: var(--bg-light);
    padding: 60px 0;
}

.text-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.conditions-box { margin-bottom: 40px; }
.conditions-box h2 { margin-bottom: 15px; }
.conditions-box ul { margin-left: 20px; margin-top: 15px; }
.conditions-box li { margin-bottom: 10px; }

.separator {
    border: none;
    height: 1px;
    background-color: var(--light-blue);
    margin: 40px 0;
}

.advanced-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}
.form-group label { font-weight: bold; color: var(--dark-blue); }

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
}

.checkbox-groupe {
    flex-direction: row;
    align-items: flex-start;
    gap: 15px;
    background-color: var(--bg-beige);
    padding: 15px;
    border-radius: 8px;
}
.checkbox-groupe input {
    margin-top: 5px;
    width: 18px;
    height: 18px;
}

.grille-galerie {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
    justify-content: center;
}

.orange { color: var(--orange); }
.bleu-fonce { color: var(--dark-blue); }
.voir-plus { text-align: center; }

/* Responsive 992px */
@media (max-width: 992px) {
    .nav { 
        padding: 20px 25px; 
    }
    .logo img { 
        height: 90px; 
    }
    .contenu-hero h1 { 
        font-size: 2.4rem; 
        max-width: 700px; 
    }
    .grille-apropos { 
        gap: 30px; 
    }
    .img-apropos { 
        flex: 0 0 35%; max-width: 260px; 
    }
    .carte-chat img { 
        height: 220px; 
    }
}

/* Responsive 768px */
@media (max-width: 768px) {
    .section-claire, .section-sable, .page { 
        padding: 45px 0;
    }
    .conteneur { 
        padding: 0 16px; 
    }
    .nav { 
        padding: 18px 16px; 
        gap: 15px; 
    }
    .logo {
        display: none;
    }
    .burger { 
        display: flex;
    }

    .burger span {
        transition: transform 0.3s ease-in-out, opacity 0.2s ease-in-out;
        transform-origin: center;
    }

    .burger.burger-actif span:nth-child(1) {
        transform: translateY(9px) rotate(45deg); 
    }

    .burger.burger-actif span:nth-child(2) {
        opacity: 0;
    }

    .burger.burger-actif span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    .logo-mobile {
        display: block;
        margin-bottom: 10px;
    }

    .logo-mobile img {
        max-width: 110px;
        height: auto;
    }

    .menu_lien {
        position: fixed !important;
        top: 0;
        left: 0;
        width: 280px;
        height: 100vh;
        background-color: rgba(15, 23, 30, 0.98);
        backdrop-filter: blur(8px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        z-index: 1000;
        opacity: 1 !important; /* Force la visibilité */
        visibility: hidden;
        pointer-events: none;
        transform: translateX(-100%);
        transition: transform 0.4s ease-in-out, visibility 0.4s ease-in-out;
    }

    .menu_lien.menu-ouvert {
        visibility: visible;
        pointer-events: auto;
        transform: translateX(0);
    }
    .logo img { 
        height: 75px; 
    }
    .zone-hero { 
        min-height: 70vh; 
        height: auto; 
    }
    .contenu-hero { 
        padding: 30px 15px; 
    }
    .contenu-hero h1 { 
        font-size: 2rem; 
        max-width: 90%; 
    }
    .boutons-hero { 
        justify-content: center; 
        flex-wrap: wrap; gap: 12px; 
    }
    .boutons-hero .btn { 
        padding: 10px 18px; 
    }
    .titre-section { 
        font-size: 2rem; 
        margin-bottom: 28px; 
    }

    .grille-apropos { 
        gap: 25px; 
        flex-direction: row; 
        align-items: flex-start; 
    }
    .img-apropos { 
        flex: 0 0 30%; 
        max-width: 220px; 
    }
    
    .grille, .grille-blog, .grille-soutien { 
        gap: 15px; 
    }
    .grille > *, .grille-blog > *, .grille-soutien > * {
        flex: 0 1 calc(50% - 8px);
        max-width: calc(50% - 8px);
    }
    .carte-chat, .carte-blog { 
        padding: 15px; 
    }
    .carte-chat img { 
        height: 180px; 
    }
    .carte-blog img { 
        height: 140px; 
    }
    .carte-chat h3 { 
        font-size: 1.2rem; 
    }
    .carte-chat p { 
        font-size: 0.9rem; 
    }
    .contenu-soutien h3 { 
        font-size: 1.1rem; 
    }
    
    .grille-fa { 
        padding: 20px; gap: 15px; 
    }
    .FA { 
        width: calc(50% - 8px); 
        max-width: 320px; 
    }
    .FA p, .citation { 
        font-size: 0.95rem; 
        padding: 14px 10px; 
    }

    .grille-contact { 
        gap: 20px; 
    }
    .bloc-formulaire, .bloc-carte { 
        flex: 1 1 100%; 
    }
    .boutons-processus { 
        display: flex; 
        justify-content: center; 
        flex-wrap: wrap; gap: 12px; 
    }
    .boutons-processus .btn { 
        padding: 10px 18px; }
    .infos-footer { 
        flex-direction: column; 
        gap: 8px; 
        padding: 0 15px; 
        text-align: center; 
    }
    .haut-page { 
        right: 15px; 
        bottom: 15px; 
        width: 44px; 
        height: 44px; 
    }
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    .footer-info {
        text-align: center;
    }
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
    .footer-location {
        flex-direction: column; 
        gap: 8px;
    }

    .footer-location .separateur {
        display: none; 
    }
}

/* Responsive 520px */
@media (max-width: 520px) {
    .grille > *, .grille-blog > *, .grille-soutien > *, .FA {
        flex: 0 1 calc(50% - 8px) !important;
        max-width: calc(50% - 8px) !important;
    }
    .grille-apropos { 
        flex-direction: column; align-items: center; text-align: center; 
    }
    .img-apropos { 
        flex: 0 0 100%; max-width: 220px; margin-bottom: 15px; 
    }
    .carte-chat, .carte-blog, .contenu-soutien { 
        padding: 10px !important; 
    }
    .carte-chat img { 
        height: 130px !important; 
    }
    .carte-blog img { 
        height: 100px !important; 
    }
    .carte-chat h3 { 
        font-size: 1.05rem !important; 
    }
    .carte-chat p, .carte-blog p { 
        font-size: 0.8rem !important; 
        line-height: 1.4; 
    }
    .carte-blog p strong { 
        font-size: 0.9rem !important; 
    }
    .FA {
        flex: 0 0 calc(50% - 10px) !important;
        max-width: calc(50% - 10px) !important;
        min-width: 0;
        border-radius: 10px;
    }
    .FA img {
        height: 110px;
    }
    .FA p, .citation { 
        font-size: 0.8rem !important; 
        padding: 10px 5px !important; 
    }
    
    .contenu-hero h1 { 
        font-size: 1.6rem; 
    }
    .titre-section { 
        font-size: 1.6rem; 
    }
    .btn { 
        padding: 8px 14px; 
        font-size: 0.9rem; 
    }
}