:root
{--orange:#f47b20;
    --dark:#17324d;
    --text:#293b4a;
    --muted:#697987;
    --light:#f5f8fa;
    --border:#e2e8ed;
    --white:#fff}

*{box-sizing:border-box}

html{scroll-behavior:smooth}

body{margin:0;
    font-family:Arial,Helvetica,sans-serif;
    color:var(--text);
    line-height:1.6}

    a{text-decoration:none;color:inherit}

    .container{width:min(1120px,calc(100% - 36px));margin:auto}

    header{position:sticky;
        top:0;z-index:20;
        background:#fff;
        border-bottom:1px solid var(--border)}

    .nav{min-height:76px;
        display:flex;
        align-items:center;
        justify-content:space-between;gap:20px}

    .brand{display:flex;
        align-items:center;
        gap:10px}

    .logo{width:44px;
        height:44px;
        border-radius:12px;
        background:var(--orange);
        color:#fff;
        display:grid;
        place-items:center;
        font-size:24px;
        font-weight:900}

    .brand b{display:block;
        color:var(--dark);
        font-size:20px}
        
        .brand b span,footer b span{color:var(--orange)}
        .brand small{display:block;color:var(--muted);
            font-size:10px}
            nav{display:flex;
                gap:18px;
                align-items:center;
                font-size:13px;
                font-weight:700}
                
                nav a:hover{color:var(--orange)}
                nav .contact{background:var(--dark);
                    color:#fff;
                    padding:10px 15px;border-radius:8px}
                    
                    
                .hero{padding:80px 0;
                    background:linear-gradient(135deg,#fff,#fff5ec)}
                
                .hero-grid{display:grid;grid-template-columns:1.1fr .9fr
                    ;gap:60px;align-items:center}
                
                .eyebrow{color:#db620d;font-size:14px;
                    font-weight:800;
                    letter-spacing:1.7px;
                    margin:0 0 10px}
                    
                h1{font-size:clamp(38px,5vw,60px);
                    line-height:1.1;
                    color:var(--dark);
                    margin:0}
                
                h1 span{color:var(--orange)}
                
                h2{font-size:clamp(30px,4vw,43px);
                    line-height:1.15;color:var(--dark);
                    margin:0 0 14px}
                    
                .lead{font-size:18px;
                    color:var(--muted);
                    max-width:650px;
                    margin:22px 0 28px}

                .lead span{
                    color: #db620d;
                }
                .btn{display:inline-block;
                    padding:13px 19px;
                    border-radius:9px;
                    font-weight:800;
                    margin:3px}
                    
                .primary{background:var(--orange);color:#fff}
                .secondary{background:#fff;
                    border:1px solid var(--border)
                    ;color:var(--dark)}

                .visual{min-height:350px;
                    display:grid;
                    place-items:center;
                    position:relative}
                    
                .screen{width:min(390px,90%);
                    aspect-ratio:1.4;
                    background:var(--dark);
                    border-radius:18px;
                    padding:12px;
                    transform:rotate(2deg);
                    box-shadow:0 14px 35px #17324d22}
                    
                .screen-inner{height:100%;
                    background:#fff;
                    border-radius:10px;
                    padding:35px;
                    display:flex;
                    flex-direction:column;
                    justify-content:center}
                    
                .check{width:52px;
                    height:52px;
                    border-radius:50%;
                    background:#e5ffef;
                    color:var(--orange);
                    display:grid;
                    place-items:center;
                    font-size:25px;
                    font-weight:900}
                    
                .screen h2{font-size:23px;
                    margin:15px 0 5px}
                    
                .screen p{color:var(--muted)}
                
                .bubble{position:absolute;
                    left:0;bottom:20px;
                    background:#fff;
                    border:1px solid var(--border);
                    padding:14px 18px;
                    border-radius:12px;
                    box-shadow:0 14px 35px #17324d22}
                    
                .bubble b,
                .bubble span{display:block}
                
                .bubble span{font-size:13px;
                    color:var(--muted)}

                section{padding:85px 0}
                
                .light{background:var(--light)}
                
                .intro{max-width:700px;
                    color:var(--muted);font-size:17px}
                    
                .cards{display:grid;
                    grid-template-columns:repeat(4,1fr);
                    gap:18px;margin-top:40px}
                    
                .cards article{padding:26px;
                    border:1px solid var(--border);
                    border-radius:15px;
                    background:#fff}
                    
                .cards article>div{font-size:29px}
                
                .cards h3{color:var(--dark);
                    margin:12px 0 8px}
                    
                .cards p{color:var(--muted)
                    ;font-size:14px}.two{display:grid;
                        grid-template-columns:1fr 1fr;
                        gap:65px;align-items:center}
                        
                    .panel{background:#fff;
                        padding:28px;
                        border-radius:16px;
                        box-shadow:0 14px 35px #17324d18}
                        
                    .panel p{padding:10px 0;
                        border-bottom:1px solid var(--border);
                        }
                        
                    .panel p:last-child{border:0}
                    
                    .foot{display:flex;
                        justify-content:space-between;
                        gap:20px}
                        
                    .foot b{color:#fff;
                        font-size:18px}
                        
                    .foot p{color:#cbd6de}
                    
                footer{background:#381f10;
                    padding:32px 0}

                footer p{margin:5px 0;
                    color:#cbd6de}

@media (max-width: 1000px) {

    header {
        flex-direction: column;
        padding: 15px 20px;
    }

    nav {
        width: 100%;
        margin-top: 10px;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }

    nav a {
        display: block;
        width: 100%;
        text-align: center;
        padding: 10px 5px;
    }

    .hero {
        padding: 50px 20px 80px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 17px;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .two-columns {
        grid-template-columns: 1fr;
    }
}

span {
    color: #f47b20;
}

/*fleche orange pour remonter en haut de page*/

.back-to-top {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f47b20;
    color: white;
    border-radius: 50%;
    font-size: 26px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.20);
    transition: all 0.3s ease;
    z-index: 100;
}

.back-to-top:hover {
    background: #17324d;
    transform: translateY(-4px);
}
/* ===== VERSION MOBILE ===== */
@media screen and (max-width: 700px) {

    .nav {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding: 12px 0;
    }

    header {
        width: 100%;
        box-sizing: border-box;
    }

    .brand {
        justify-content: center;
    }

    nav {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        font-size: 14px;
    }

    nav a {
        display: block;
        width: 100%;
        text-align: center;
        padding: 8px 5px;
        box-sizing: border-box;
    }

    .hero {
        width: 100%;
        box-sizing: border-box;
        padding: 45px 20px 90px;
    }

    .hero-grid,
    .two {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 38px;
        line-height: 1.15;
    }

    .hero p {
        font-size: 18px;
        line-height: 1.6;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .container {
        width: calc(100% - 28px);
    }

    .foot {
        flex-direction: column;
    }

    img {
        max-width: 100%;
        height: auto;
    }
}
/* ================================
   MENU HAMBURGER
   ================================ */

.menu-toggle {
    display: none;
}

.hamburger {
    display: none;
    width: 45px;
    height: 45px;
    cursor: pointer;
    background: #f47b20;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    width: 24px;
    height: 3px;
    background: white;
    border-radius: 3px;
}

/* Version téléphone */
@media screen and (max-width: 700px) {

    .nav {
        position: relative;
        min-height: 70px;
    }

    .hamburger {
        display: flex;
        margin-left: auto;
    }

    nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        border-top: 1px solid #e2e8ed;
        box-shadow: 0 8px 20px rgba(0,0,0,0.10);
        flex-direction: column;
        gap: 0;
        padding: 10px 0;
        z-index: 100;
    }

    nav a {
        display: block;
        width: 100%;
        text-align: center;
        padding: 13px 10px;
        font-size: 16px;
    }

    nav .contact {
        width: calc(100% - 30px);
        margin: 8px 15px;
    }

    /* Ouverture du menu */
    .menu-toggle:checked ~ nav {
        display: flex;
    }
}
a:link {
    color: orange;
}

a:hover {
    color: red;
}

@media screen and (max-width: 700px) {

    .screen {
        width: 100%;
        max-width: 390px;
        aspect-ratio: 1.15;
    }

    .cadre {
        padding: 20px;
    }

    .cadre h2 {
        font-size: 20px;
    }

    .cadre p {
        font-size: 15px;
    }
}
.cadre {
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.cadre h2 {
    color: var(--dark);
    font-size: 23px;
    margin: 0 0 10px;
}

.cadre p {
    color: var(--muted);
    font-size: 16px;
    margin: 0;
}

.signature .p{
    margin-left: 180px;
    
}
.documents{
    text-align: center;
    color: #db620d;
    }
.documents p{font-style: italic;
position: relative;
  top: -20px;
    }

.lien_doc{
    text-align: center;
    font-weight: bold;
}

.logo-creation {
    width: 200px !important;
    height: 100px !important;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.bouton-sms {
    display: inline-block;
    background: #25D366;
    color: #ffffff;
    padding: 14px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 17px;
    font-weight: bold;
    text-align: center;
    margin: 10px 0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.20);
    transition: transform 0.2s, opacity 0.2s;
}

.bouton-sms:hover {
    color: #ffffff;
    opacity: 0.9;
    transform: translateY(-2px);
}

.bouton-sms:active {
    transform: translateY(0);
}

.adhesion-container{
    margin-left: 20px;
}

.paiement-adhesion {
    margin-top: 30px;
    padding: 20px;
    text-align: center;
    border-radius: 12px;
    background: #f5f7ff;
    border: 1px solid #ddd;
}

.paiement-adhesion h3 {
    margin-top: 0;
    font-size: 22px;
}

.paiement-adhesion p {
    margin-bottom: 20px;
}

.bouton-paiement {
    display: inline-block;
    background: #635bff;
    color: white !important;
    padding: 14px 25px;
    border-radius: 10px;
    text-decoration: none !important;
    font-size: 17px;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0,0,0,0.20);
    transition: 0.2s;
}

.bouton-paiement:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* ==================================================
   PAGE MEMBRES DU BUREAU
================================================== */

.membres-page {
    padding: 70px 0 90px;
}


/* INTRODUCTION */

.membres-intro {
    max-width: 800px;
    margin: 0 auto 55px;
    text-align: center;
}

.membres-intro .eyebrow {
    color: #f36c21;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.membres-intro h1 {
    color: #12395b;
    font-size: 42px;
    margin: 0 0 25px;
}

.intro-text {
    color: #555;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.intro-text strong {
    color: #12395b;
}


/* GRILLE */

.membres-container {
    max-width: 900px;
    margin: auto;

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 35px;
}


/* CARTE */

.membre-card {
    background: #ffffff;

    border-radius: 18px;

    overflow: hidden;

    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.10);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.membre-card:hover {
    transform: translateY(-8px);

    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.15);
}


/* PHOTO */

.membre-photo-container {
    height: 380px;

    position: relative;

    overflow: hidden;

    cursor: pointer;
}

.membre-photo {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transition: transform 0.5s ease;
}

.membre-card:hover .membre-photo {
    transform: scale(1.05);
}


/* TEXTE SUR LA PHOTO */

.photo-overlay {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    padding: 50px 20px 20px;

    color: white;

    background:
        linear-gradient(
            transparent,
            rgba(0, 0, 0, 0.75)
        );

    opacity: 0;

    transition: opacity 0.3s ease;
}

.membre-card:hover .photo-overlay {
    opacity: 1;
}

.photo-overlay span {
    font-weight: bold;
}


/* INFORMATIONS */

.membre-info {
    padding: 25px 28px 30px;
}

.membre-fonction {
    color: #f36c21;

    font-size: 13px;

    font-weight: bold;

    letter-spacing: 1.5px;
}

.membre-info h2 {
    color: #12395b;

    font-size: 27px;

    margin: 7px 0;
}

.membre-info p {
    color: #666;

    margin: 0 0 20px;
}


/* BOUTON */

.membre-info button {
    border: 0;

    padding: 0;

    background: transparent;

    color: #12395b;

    font-size: 15px;

    font-weight: bold;

    cursor: pointer;
}

.membre-info button span {
    color: #f36c21;

    margin-left: 5px;

    transition: margin-left 0.2s ease;
}

.membre-info button:hover {
    color: #f36c21;
}

.membre-info button:hover span {
    margin-left: 10px;
}


/* ==================================================
   MODALE
================================================== */

.modal-membre {
    display: none;

    position: fixed;

    z-index: 9999;

    inset: 0;

    padding: 20px;

    background: rgba(10, 35, 55, 0.78);

    align-items: center;

    justify-content: center;
}


.modal-contenu {
    width: 100%;

    max-width: 560px;

    background: white;

    border-radius: 20px;

    padding: 40px;

    position: relative;

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.30);

    animation: modalApparition 0.3s ease;
}


@keyframes modalApparition {

    from {
        opacity: 0;
        transform: translateY(25px);
    }

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

}


/* FERMETURE */

.fermer-modal {
    position: absolute;

    top: 12px;
    right: 18px;

    border: 0;

    background: transparent;

    color: #777;

    font-size: 35px;

    line-height: 1;

    cursor: pointer;
}

.fermer-modal:hover {
    color: #f36c21;
}


/* EN-TÊTE MODALE */

.modal-entete {
    display: flex;

    align-items: center;

    gap: 20px;
}

.modal-avatar {
    width: 70px;
    height: 70px;

    flex-shrink: 0;

    border-radius: 50%;

    background: #12395b;

    color: white;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 22px;

    font-weight: bold;
}

.modal-entete > div:last-child > span {
    color: #f36c21;

    font-size: 13px;

    font-weight: bold;

    letter-spacing: 1px;
}

.modal-entete h2 {
    color: #12395b;

    font-size: 28px;

    margin: 5px 0 0;
}


/* SÉPARATION */

.modal-separateur {
    height: 2px;

    background: #f36c21;

    margin: 25px 0;
}


/* DESCRIPTION */

#modalDescription {
    color: #555;

    font-size: 17px;

    line-height: 1.8;

    margin: 0;
}


/* ==================================================
   PIED DE PAGE
================================================== */

.footer-center {
    text-align: center;
}

.creation-site {
    max-width: 250px;
    height: auto;
}


/* ==================================================
   MOBILE
================================================== */

@media (max-width: 750px) {

    .membres-page {
        padding: 45px 20px 60px;
    }

    .membres-intro h1 {
        font-size: 32px;
    }

    .membres-container {
        grid-template-columns: 1fr;

        max-width: 500px;
    }

    .membre-photo-container {
        height: 380px;
    }

    .modal-contenu {
        padding: 30px 25px;
    }

}

/* =========================================
   CORRECTION DU LOGO DANS LE MENU
========================================= */

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand .logo {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.brand .logo img {
    width: 48px !important;
    height: 48px !important;
    max-width: 48px;
    max-height: 48px;
    object-fit: contain;
    display: block;
}

/* ================================
   BOUTON IMPRESSION ADHÉSION
   ================================ */

.impression-adhesion {
    text-align: center;
    margin: 20px 0;
}

.bouton-impression {
    background-color: #555;
    color: white;
    border: none;
    padding: 12px 22px;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
}

.bouton-impression:hover {
    background-color: #333;
}

/* ================================
   VERSION IMPRIMÉE
   ================================ */

@media print {

    /* Éléments à ne pas imprimer */
    header,
    footer,
    nav,
    .hamburger,
    .menu-toggle,
    .bouton-impression,
    .bouton-adhesion,
    .paiement-adhesion,
    .champs-obligatoires {
        display: none !important;
    }

    body {
        background: white !important;
        color: black !important;
        margin: 0;
        padding: 0;
    }

    .page-adhesion {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .adhesion-container {
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 0;
        box-shadow: none !important;
        border: none !important;
    }

    /* Évite les coupures au mauvais endroit */
    h1,
    h2 {
        break-after: avoid;
    }

    .case-adhesion {
        break-inside: avoid;
    }

    /* Format papier A4 */
    @page {
        size: A4;
        margin: 1.5cm;
    }
}
/* Centrage des boutons d'adhésion */
.boutons-adhesion {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin: 25px 0;
}

.bouton-impression,
.bouton-adhesion {
    display: block;
    width: 100%;
    max-width: 400px;
    box-sizing: border-box;
    text-align: center;
}