/* Styles généraux */
body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    max-width: 1200px;
    margin: 0 auto;
}


a {
    text-decoration: none;
}

.container {
    padding: 20px;

}

.message {
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
}

.success {
    color: green;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.error {
    color: red;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

header {
    position: sticky;
    /*fixe*/
    top: 0;
    /*background-color: white;  ou une autre couleur pour éviter la transparence */
    z-index: 1000;
    /* s'assurer qu'il passe au-dessus du reste */
}

/* En-tête jaune avec date */
.header-banner {
    background-color: #ffff00;
    /*jaune*/
    padding: 10px 0;
    text-align: center;
    font-size: 12px;
    color: black;
}

.header-banner a {
    color: #333;
}

/* En-tête principal avec logo et navigation */
.main-header {
    background-color: #333;
    color: white;
    padding: 15px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    padding-left: 20px;
}

.logo img {
    height: 40px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav li {
    margin: 0 10px;
}

.main-nav a {
    color: white;
    text-decoration: none;
    font-size: 14px;
}

.main-nav a:hover {
    color: #ffff00;
}

/* Section héros avec image de fond */
.hero-section {
    background-image: url('img/photo_flyer_100pour1_recto.png');
    background-size: cover;
    background-position: center;
    color: white;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-text {
    font-size: 36px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

/* Titre avec l'acronyme */
.acronym {
    padding: 20px;
    text-align: center;
    font-size: 24px;
    background-color: white;

}

.acronym-bold28 {
    font-weight: bold;
    font-size: 28px
}

.acronym-bold22 {
    font-weight: bold;
    font-size: 22px
}

.acronym-bold18 {
    font-weight: bold;
    font-size: 18px
}

/* Section citation */
.quote-section {
    background-color: #1e6991;
    color: white;
    padding: 20px;
    text-align: center;
}

.quote {
    font-style: italic;
    font-size: 18px;
    margin-bottom: 10px;
}

.quote-author {
    font-size: 14px;
    text-align: right;
    padding-right: 20%;
}

/* Styles pour les formulaires  */

.form-container {
    background-color: #fff;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 20px;
}

.form-header {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.2em;
}

.form-title {
    font-size: 20px;
    color: #333;
}

.form-group {
    margin-bottom: 15px;
}

.form-label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #666;
}

.form-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    /* Important pour que le padding n'affecte pas la largeur totale */
}

.submit-button {
    background-color: #007bff;
    /* Couleur de votre thème */
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.submit-button:hover {
    background-color: #0056b3;
    /* Couleur plus foncée au survol */
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    /* Les checkboxes les uns en dessous des autres */
}

.checkbox {
    margin-bottom: 5px;
}

/* Styles spécifiques (exemple) */
.login-form {
    width: 300px;
    margin: 0 auto;
}

/* Section d'information */
.info-section {
    background-color: white;
    padding: 20px;
    margin: 0;
}

.info-section h2 {
    color: #1e6991;
    font-size: 18px;
}

.info-section p {
    text-align: justify;
    line-height: 1.5;
}

/* Section contact */
.contact-section {
    background-color: #000306;
    color: white;
    padding: 20px;
}

.contact-section h3 {
    text-align: center;
    margin-top: 0;
}

.address {
    text-align: center;
    margin-bottom: 20px;
}

/* Section aide */
.help-section {
    background-color: #1e6991;
    color: white;
    padding: 20px;
}

.help-section h3 {
    margin-top: 0;
}

.help-section p {
    line-height: 1.5;
}

/* Section cartes du monde */
.world-map {
    display: flex;
    justify-content: center;
    padding: 20px 0;
    background-color: #f5f5f5;
}

.world-map img {
    height: 150px;
    margin: 0 10px;
}

/* Galerie photos */
.photo-gallery {
    display: flex;
    flex-wrap: wrap;
    /* Permet le passage à la ligne si nécessaire */
    justify-content: center;
    /* Centre les éléments horizontalement */
    align-items: center;
    /* Centre les éléments verticalement */
    gap: 20px;
    /* Espacement entre les images */
    padding: 20px 0;
    background-color: #1e6991;
}

.photo-gallery img {
    width: auto;
    /* Largeur automatique pour conserver les proportions */
    max-width: 100%;
    /* Ne pas dépasser la largeur du conteneur */
    height: auto;
    /* Hauteur automatique pour conserver les proportions */
    max-height: 250px;
    /* Hauteur maximale */
    object-fit: contain;
    /* Conserve les proportions sans rognage */
}

.photo img {
    width: auto;
    /* Largeur automatique pour conserver les proportions */
    max-width: 100%;
    /* Ne pas dépasser la largeur du conteneur */
    height: auto;
    /* Hauteur automatique pour conserver les proportions */
    object-fit: contain;
    /* Conserve les proportions sans rognage */
}

/* Pied de page */
.footer {
    background-color: white;
    padding: 20px;
    text-align: center;
}

.footer img {
    max-width: 150px;
}

/* Bannière cookies */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: white;
    padding: 10px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    z-index: 1000;
}

.cookie-buttons {
    display: flex;
}

.cookie-buttons button {
    margin-left: 10px;
    padding: 5px 10px;
    background-color: #1e6991;
    color: white;
    border: none;
    cursor: pointer;
}

.cookie-buttons button:hover {
    background-color: #154c69;
}

/* Media queries pour la responsivité */
@media screen and (max-width: 768px) {
    .main-header {
        flex-direction: column;
        padding: 10px 0;
    }

    .logo {
        padding-left: 0;
        margin-bottom: 10px;
    }

    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .main-nav li {
        margin: 5px;
    }

    .hero-section {
        height: 200px;
    }

    .hero-text {
        font-size: 28px;
    }

    .acronym-title {
        font-size: 20px;
    }

    .cookie-banner {
        flex-direction: column;
    }

    .cookie-buttons {
        margin-top: 10px;
    }

    .world-map {
        flex-direction: column;
        align-items: center;
    }

    .world-map img {
        margin: 10px 0;
    }

    .photo-gallery {
        flex-direction: row;
        /* Conserve l'alignement en ligne */
        flex-wrap: wrap;
        /* Permet toujours le passage à la ligne */
    }

    .photo-gallery img {
        width: 45%;
        /* Largeur relative pour s'adapter à l'écran */
        margin: 10px 0;
    }
}

/* Pour les très petits écrans */
@media screen and (max-width: 480px) {
    .photo-gallery img {
        width: 90%;
        /* Presque toute la largeur sur très petits écrans */
    }

    .main-header {
        flex-direction: column;
        padding: 10px 0;
    }
}

/* Ajouts au fichier styles.css pour la page "nous.php" */

/* Section info banner (siège social) */
.info-banner {
    background-color: #1e6991;
    color: white;
    padding: 20px;
    text-align: center;
}

.info-banner h2 {
    margin: 20px 0 10px 0;
    font-size: 18px;
}

.info-banner p {
    margin: 10px 0 25px 0;
    font-style: italic;
}

/* Section objectifs */
.objectives-section {
    background-color: white;
    padding: 20px;
    margin: 0;
}

.objectives-section h2 {
    color: #1e6991;
    font-size: 18px;
    margin-bottom: 15px;
}

.objectives-section p {
    text-align: justify;
    line-height: 1.5;
    margin-bottom: 15px;
}

/* Section membres du bureau */
.bureau-section {
    background-color: #1e6991;
    color: white;
    padding: 20px;
    text-align: center;
}

.bureau-section h2 {
    margin-bottom: 20px;
}

.bureau-members {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.bureau-members li {
    margin-bottom: 10px;
}

/* Section conseil d'administration */
.ca-section {
    background-color: #1e6991;
    color: white;
    padding: 20px;
    text-align: center;
    margin-top: 2px;
}

.ca-section h2 {
    margin-bottom: 20px;
}

.ca-members {
    line-height: 1.8;
}

/* Media queries pour la mosaic en version mobile */
@media screen and (max-width: 768px) {
    .mosaic-container {
        width: 95%;
        grid-gap: 5px;
    }

    .bureau-members li {
        padding: 0 10px;
    }

    .ca-members {
        padding: 0 10px;
    }
}

/* Styles pour le menu utilisateur */
.user-menu {
    position: relative;
}

.user-button {
    background-color: #2a5e8a;
    padding: 8px 12px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.user-button:hover {
    background-color: #1e4e75;
}

.user-menu-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background-color: #333;
    min-width: 180px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    border-radius: 4px;
}

.user-menu:hover .user-menu-dropdown {
    display: block;
}

.user-menu-dropdown a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.user-menu-dropdown a:hover {
    background-color: #444;
}

.dropdown-logout-form {
    margin: 0;
    padding: 0;
}

.dropdown-logout-button {
    width: 100%;
    background-color: #c33;
    color: white;
    border: none;
    padding: 12px 16px;
    text-align: left;
    cursor: pointer;
    font-size: 14px;
}

.dropdown-logout-button:hover {
    background-color: #a22;
}

/* Adaptation responsive */
@media screen and (max-width: 768px) {
    .user-menu-dropdown {
        right: -50px;
        /* Ajustement pour les petits écrans */
    }
}

/* Styles pour la section contact */
.contact-section {
    background-color: #1e6991;

    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.contact-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.15);
}

.contact-info {
    margin-top: 15px;
}

.contact-info p,
.contact-info address {
    margin: 10px 0;
    line-height: 1.6;
}

.contact-info a {
    color: #ffff00;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.contact-info i {
    margin-right: 8px;
    width: 20px;
    text-align: center;
}

.contact-info h4 {
    margin: 15px 0 10px 0;
    font-size: 16px;
}

address {
    font-style: normal;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-card {
        margin-bottom: 20px;
    }
}

/* Gestion des documents*/

.documents-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.documents-table th,
.documents-table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
    background-color: #629cad;
}



.documents-table tr:hover {
    background-color: #f5f5f5;
}

.document-link {
    display: inline-block;
    padding: 5px 10px;
    background-color: #4CAF50;
    color: white;
    text-decoration: none;
    border-radius: 4px;
}

.document-link:hover {
    background-color: #45a049;
}

/* Nouvelles règles pour la page Adhésion/Don */

.options-section {
    background-color: #f5f5f5;
    padding: 40px 20px;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.option-card {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.option-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.option-card h3 {
    color: #1e6991;
    font-size: 24px;
    margin-bottom: 15px;
    margin-top: 0;
}

.option-card p {
    color: #666;
    margin-bottom: 25px;
    flex-grow: 1;
    line-height: 1.6;
}

.option-btn {
    display: inline-block;
    background-color: #1e6991;
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    transition: background-color 0.3s;
}

.option-btn:hover {
    background-color: #154c69;
    color: #ffff00;
}

.option-btn.secondary {
    background-color: transparent;
    border: 2px solid #1e6991;
    color: #1e6991;
}

.option-btn.secondary:hover {
    background-color: #1e6991;
    color: white;
}

.separator {
    height: 2px;
    background-color: #eee;
    margin: 40px 0;
    border: none;
}

.section-anchor {
    scroll-margin-top: 100px;
    /* Pour compenser le header sticky */
}

/* Styles Modal */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    overflow-y: auto;
    animation: fadeIn 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 40px 20px;
}

.modal-container {
    background: white;
    border-radius: 12px;
    max-width: 950px;
    width: 100%;
    position: relative;
    margin: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.3s ease;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #1e6991;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s;
    line-height: 1;
}

.modal-close:hover {
    background: #155570;
}

.modal-content {
    padding: 40px;
    max-height: 80vh;
    overflow-y: auto;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

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

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-content {
        padding: 20px;
    }

    .modal-overlay.active {
        padding: 20px 10px;
    }
}

/* ================================================
   STYLES PAGE 100 POUR 1 - COMPOSANTS PREMIUM
   ================================================ */

/* --- Bannière push-to-action urgence --- */
.urgency-banner {
    background: linear-gradient(135deg, #c0392b, #e74c3c);
    color: white;
    text-align: center;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: bold;
    letter-spacing: 0.5px;
}

.urgency-banner span {
    background-color: rgba(255,255,255,0.2);
    padding: 2px 10px;
    border-radius: 20px;
    margin: 0 5px;
}

/* --- Section Héros améliorée --- */
.hero-section-100 {
    background-image: url('img/photo_flyer_100pour1_recto.png');
    background-size: cover;
    background-position: center 30%;
    min-height: 380px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

.hero-section-100::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(30,105,145,0.7) 100%);
}

.hero-content-100 {
    position: relative;
    z-index: 1;
    color: white;
    padding: 20px;
    max-width: 800px;
}

.hero-content-100 h1 {
    font-size: 46px;
    font-weight: 900;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
    margin: 0 0 15px 0;
    line-height: 1.1;
}

.hero-content-100 .hero-subtitle {
    font-size: 20px;
    font-weight: 400;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
    line-height: 1.5;
    margin: 0 0 25px 0;
}

.hero-cta-btn {
    display: inline-block;
    background-color: #f39c12;
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 17px;
    font-weight: bold;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.hero-cta-btn:hover {
    background-color: #e67e22;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

/* --- Section Acronyme améliorée --- */
.acronym-100 {
    background: white;
    text-align: center;
    padding: 30px 20px;
    border-bottom: 4px solid #1e6991;
}

.acronym-100 p {
    font-size: 22px;
    color: #333;
    margin: 0;
}

.acronym-100 .number {
    font-size: 52px;
    font-weight: 900;
    color: #1e6991;
    line-height: 1;
}

/* --- Section Compteur --- */
.counter-section {
    background: linear-gradient(135deg, #1e6991 0%, #154c69 100%);
    padding: 50px 20px;
    text-align: center;
    color: white;
}

.counter-section h2 {
    font-size: 22px;
    font-weight: 400;
    margin: 0 0 10px 0;
    opacity: 0.9;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.counter-wrapper {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 0;
    margin: 10px 0 20px 0;
}

.counter-number {
    font-size: 90px;
    font-weight: 900;
    color: #f39c12;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.counter-total {
    font-size: 40px;
    font-weight: 300;
    color: rgba(255,255,255,0.6);
    margin-left: 5px;
}

.counter-label {
    font-size: 16px;
    opacity: 0.85;
    margin: 0;
    letter-spacing: 0.5px;
}

.counter-progress-bar-wrap {
    max-width: 500px;
    margin: 20px auto 10px auto;
    background: rgba(255,255,255,0.2);
    border-radius: 50px;
    height: 14px;
    overflow: hidden;
}

.counter-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #f39c12, #e67e22);
    border-radius: 50px;
    transition: width 2s ease;
    width: 0%;
}

/* --- Section Informations enrichie --- */
.info-section-100 {
    background: white;
    padding: 50px 30px;
}

.info-section-100 h2 {
    color: #1e6991;
    font-size: 26px;
    margin-bottom: 20px;
    border-left: 5px solid #1e6991;
    padding-left: 15px;
}

.info-section-100 p {
    text-align: justify;
    line-height: 1.8;
    color: #444;
    font-size: 15px;
    margin-bottom: 15px;
}

/* --- Grille des étapes du projet --- */
.steps-section {
    background: #f7f9fc;
    padding: 50px 20px;
}

.steps-section h2 {
    text-align: center;
    color: #1e6991;
    font-size: 26px;
    margin-bottom: 40px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}

.step-card {
    background: white;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid #1e6991;
}

.step-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.step-icon {
    font-size: 40px;
    margin-bottom: 15px;
    display: block;
}

.step-card h3 {
    color: #1e6991;
    font-size: 17px;
    margin: 0 0 10px 0;
}

.step-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* --- Section Citation/Alerte d'urgence --- */
.urgency-section {
    background: linear-gradient(135deg, #2c3e50, #1e6991);
    color: white;
    padding: 50px 30px;
    text-align: center;
}

.urgency-section h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.urgency-section p {
    font-size: 16px;
    line-height: 1.8;
    max-width: 750px;
    margin: 0 auto 20px auto;
    opacity: 0.9;
}

.urgency-highlight {
    background: rgba(243,156,18,0.2);
    border: 2px solid #f39c12;
    border-radius: 8px;
    padding: 20px 30px;
    max-width: 700px;
    margin: 20px auto;
    font-size: 16px;
    line-height: 1.7;
}

/* --- Section Documents --- */
.documents-section {
    background: #f7f9fc;
    padding: 50px 20px;
}

.documents-section h2 {
    text-align: center;
    color: #1e6991;
    font-size: 26px;
    margin-bottom: 10px;
}

.documents-section .section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 35px;
    font-size: 15px;
}

.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    max-width: 900px;
    margin: 0 auto;
}

.document-card {
    background: white;
    border-radius: 12px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 4px solid #1e6991;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.document-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.document-card .doc-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.document-card h3 {
    color: #1e6991;
    font-size: 17px;
    margin: 0 0 10px 0;
}

.document-card p {
    color: #666;
    font-size: 13px;
    line-height: 1.6;
    margin: 0 0 20px 0;
    flex-grow: 1;
}

.doc-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #1e6991;
    color: white;
    padding: 10px 22px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    margin: 5px;
}

.doc-btn:hover {
    background-color: #154c69;
    color: #ffff00;
    transform: translateY(-2px);
}

.doc-btn.secondary-btn {
    background-color: transparent;
    border: 2px solid #1e6991;
    color: #1e6991;
}

.doc-btn.secondary-btn:hover {
    background-color: #1e6991;
    color: white;
}

/* --- Section Don HelloAsso améliorée --- */
.helloasso-section {
    background: linear-gradient(180deg, #f7f9fc 0%, #e8f4f8 100%);
    padding: 50px 20px;
}

.helloasso-section h2 {
    text-align: center;
    color: #1e6991;
    font-size: 26px;
    margin-bottom: 10px;
}

.helloasso-section .section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
    font-size: 15px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.helloasso-container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.1);
    overflow: hidden;
}

.helloasso-header {
    background: linear-gradient(135deg, #1e6991, #154c69);
    color: white;
    padding: 18px 25px;
    text-align: center;
    font-size: 15px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.helloasso-badge {
    background: rgba(255,255,255,0.2);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
}

.helloasso-iframe-wrap {
    padding: 10px;
}

/* --- Avantages fiscaux --- */
.fiscal-note {
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    border-left: 5px solid #4CAF50;
    border-radius: 0 8px 8px 0;
    padding: 18px 20px;
    margin: 20px 0;
    color: #2e7d32;
    font-size: 15px;
    line-height: 1.6;
	text-align: center;
}

.fiscal-note strong {
    display: block;
    font-size: 16px;
    margin-bottom: 5px;
}

/* Responsive 100pour1 */
@media (max-width: 768px) {
    .hero-content-100 h1 {
        font-size: 30px;
    }
    .hero-content-100 .hero-subtitle {
        font-size: 16px;
    }
    .counter-number {
        font-size: 65px;
    }
    .counter-total {
        font-size: 28px;
    }
    .steps-grid {
        grid-template-columns: 1fr;
    }
    .documents-grid {
        grid-template-columns: 1fr;
    }
    .info-section-100 {
        padding: 30px 15px;
    }
}

/* ================================================
   SECTION VIREMENT BANCAIRE
   ================================================ */

.virement-section {
    background: white;
    padding: 50px 20px;
    border-top: 4px solid #1e6991;
}

.virement-section h2 {
    text-align: center;
    color: #1e6991;
    font-size: 26px;
    margin-bottom: 10px;
}

.virement-section .section-subtitle {
    text-align: center;
    color: #666;
    font-size: 15px;
    margin-bottom: 35px;
}

.virement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto 30px auto;
}

.virement-card {
    background: #f7f9fc;
    border-radius: 14px;
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid #1e6991;
}

.virement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.virement-card-icon {
    font-size: 44px;
    margin-bottom: 14px;
}

.virement-card h3 {
    color: #1e6991;
    font-size: 17px;
    margin: 0 0 12px 0;
}

.virement-card > p {
    color: #555;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Boîte IBAN */
.iban-box {
    width: 100%;
    background: white;
    border: 1px solid #d0e4ed;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 5px;
    box-shadow: inset 0 1px 4px rgba(0,0,0,0.04);
    text-align: left;
}

.iban-row {
    display: flex;
    flex-direction: column;
    padding: 10px 14px;
    border-bottom: 1px solid #eef3f7;
    gap: 3px;
}

.iban-row:last-child {
    border-bottom: none;
}

.iban-label {
    font-size: 12px;
    font-weight: bold;
    color: #1e6991;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 90px;
    flex-shrink: 0;
}

.iban-value {
    font-size: 14px;
    color: #333;
    word-break: break-all;
}

.iban-code {
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
    color: #1e6991;
    letter-spacing: 1px;
    font-size: 13px;
}

.iban-highlight {
    background: linear-gradient(135deg, #e8f4f8, #d0e8f2);
}

/* Note fiscale virement */
.virement-fiscal-note {
    text-align: center;
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    border-left: 5px solid #4CAF50;
    border-radius: 0 8px 8px 0;
    padding: 14px 20px;
    color: #2e7d32;
    font-size: 14px;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .virement-grid {
        grid-template-columns: 1fr;
    }
    .iban-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 3px;
    }
    .iban-label {
        min-width: unset;
    }
}

/* ================================================
   CARTE DON PAR CHÈQUE
   ================================================ */

/* Passer la grille en 3 colonnes quand l'espace le permet */
.virement-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

/* Accent orange pour la carte chèque */
.cheque-card {
    border-top-color: #f39c12;
}

/* Bloc montant mis en valeur */
.cheque-box {
    width: 100%;
    margin-top: 10px;
    background: white;
    border: 1px solid #fde8c0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: inset 0 1px 4px rgba(0,0,0,0.04);
    text-align: left;
}

.cheque-montant {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: white;
    text-align: center;
    padding: 16px 10px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 6px;
}

.cheque-euro {
    font-size: 42px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -1px;
}

.cheque-periode {
    font-size: 18px;
    font-weight: 400;
    opacity: 0.85;
}

/* Lignes d'instructions chèque */
.cheque-instructions {
    padding: 4px 0;
}

.cheque-row {
    display: flex;
    flex-direction: column;
    padding: 9px 14px;
    border-bottom: 1px solid #fef3e2;
    gap: 10px;
}

.cheque-row:last-child {
    border-bottom: none;
}

.cheque-label {
    font-size: 11px;
    font-weight: bold;
    color: #e67e22;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 85px;
    flex-shrink: 0;
    padding-top: 2px;
}

.cheque-value {
    font-size: 13px;
    color: #333;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .cheque-row {
        flex-direction: column;
        gap: 3px;
    }
    .cheque-label {
        min-width: unset;
    }
}

/* ============================================
   POPUP ANNONCE URGENTE
   ============================================ */

/* Overlay (fond semi-transparent) */
.popup-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.55);
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    animation: popupFadeIn 0.35s ease;
}

/* Animation sortie */
.popup-overlay.popup-hiding {
    animation: popupFadeOut 0.3s ease forwards;
}

@keyframes popupFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes popupFadeOut {
    from { opacity: 1; }
    to   { opacity: 0; }
}

/* Modale */
.popup-modal {
    background: #ffffff;
    border-radius: 10px;
    max-width: 480px;
    width: 100%;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    animation: popupSlideIn 0.35s ease;
}

@keyframes popupSlideIn {
    from { transform: translateY(-30px); opacity: 0; }
    to   { transform: translateY(0);     opacity: 1; }
}

/* Bouton fermeture (croix) */
.popup-close {
    position: absolute;
    top: 10px;
    right: 12px;
    background: none;
    border: none;
    font-size: 26px;
    line-height: 1;
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    z-index: 1;
    padding: 0 4px;
    transition: color 0.2s;
}

.popup-close:hover {
    color: #ffffff;
}

/* En-tête colorée */
.popup-header {
    background-color: #1e6991;
    color: #ffffff;
    padding: 22px 20px 18px;
    text-align: center;
}

.popup-icon {
    font-size: 42px;
    display: block;
    margin-bottom: 8px;
    line-height: 1;
}

.popup-header h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #ffffff;
}

/* Corps du message */
.popup-body {
    padding: 20px 24px 10px;
    color: #333333;
}

.popup-body p {
    margin: 0 0 12px;
    line-height: 1.6;
    font-size: 15px;
    text-align: justify;
}

.popup-thanks {
    text-align: center !important;
    font-weight: bold;
    color: #1e6991;
    font-size: 16px !important;
    margin-top: 6px !important;
}

/* Pied de modale avec bouton */
.popup-footer {
    padding: 12px 24px 20px;
    text-align: center;
}

.popup-btn {
    display: inline-block;
    background-color: #1e6991;
    color: #ffffff;
    padding: 10px 28px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    text-decoration: none;
    transition: background-color 0.25s, transform 0.2s;
}

.popup-btn:hover {
    background-color: #154c69;
    color: #ffff00;
    transform: translateY(-2px);
}

/* Responsive mobile */
@media screen and (max-width: 520px) {
    .popup-modal {
        border-radius: 8px;
    }

    .popup-header {
        padding: 18px 16px 14px;
    }

    .popup-icon {
        font-size: 34px;
    }

    .popup-header h2 {
        font-size: 18px;
    }

    .popup-body {
        padding: 16px 18px 8px;
    }

    .popup-body p {
        font-size: 14px;
    }
}

/* ============================================
   THÈME HOMMAGE (POPUP MODIFIER)
   ============================================ */
.popup-modal.popup-hommage-theme {
    border-top: 6px solid #1e6991;
}

.popup-modal.popup-hommage-theme .popup-close {
    color: #ffffff;
    opacity: 0.8;
}

.popup-modal.popup-hommage-theme .popup-close:hover {
    color: #ffffff;
    opacity: 1;
}

.popup-modal.popup-hommage-theme .popup-header {
    background-color: #1e6991;
    color: #ffffff;
    border-bottom: 2px solid #154c69;
    padding: 24px 20px 20px;
}

.popup-modal.popup-hommage-theme .popup-header h2 {
    color: #ffffff;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.popup-modal.popup-hommage-theme .popup-body {
    background-color: #ffffff;
}

.popup-modal.popup-hommage-theme .popup-quote {
    font-size: 20px;
    font-weight: 800;
    color: #1e6991;
    text-align: center;
    margin: 8px 0 16px 0 !important;
    padding: 10px;
    background-color: #f7f7f7;
    border-left: 5px solid #1e6991;
    font-style: italic;
    line-height: 1.4;
}

.popup-modal.popup-hommage-theme .popup-thanks {
    color: #333333;
    font-weight: 700;
}

.popup-modal.popup-hommage-theme .popup-btn {
    background-color: #1e6991;
    color: #ffffff;
    border: 2px solid #154c69;
    padding: 12px 32px;
    box-shadow: 0 4px 0px #154c69;
    transition: transform 0.1s ease, box-shadow 0.1s ease, background-color 0.2s ease;
}

.popup-modal.popup-hommage-theme .popup-btn:hover {
    background-color: #154c69;
    color: #ffffff;
    transform: translateY(2px);
    box-shadow: 0 2px 0px #154c69;
}