body {
    font-family: 'Almarai', 'Arial', sans-serif;
    background: linear-gradient(135deg, #e0e7ff 0%, #f7f8fa 100%);
    margin: 0;
    color: #222;
    min-height: 100vh;
}


.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 6vw 24px 6vw;
    background: rgba(255,255,255,0.7);
    box-shadow: 0 8px 32px 0 #0d123d 100%;
    backdrop-filter: blur(8px);
    border-bottom: 1.5px solid #e3e6f3;
}
.association-title {
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: 2px;
    color:#2a357a;
    text-shadow: 0 2px 8px #e3e6f3;
    font-family: 'Almarai', 'Arial', sans-serif;
    text-align: right;
    flex: 1;
}
.association-title2 {
    font-size: 2.3rem;
    font-weight: 4400;
    letter-spacing: 2px;
    font-family: 'Almarai', 'Arial', sans-serif;
    color: #2a357a;
    text-shadow: 0 2px 8px #e3e6f3;
    text-align: center;
    flex: 1;
}
.logo {
    height: 10rem;
    margin-right: 32px;
    filter: drop-shadow(0 2px 8px #b3b8e0);
}

.main-content {
    max-width: 1000px;
    margin: 48px auto;
    
    
}

.carte-section, .form-section {
    background: rgba(255,255,255,0.55);
    border-radius: 24px;
    box-shadow: 0 8px 32px 0 rgba(31,38,135,0.12);
    padding: 40px 32px;
    margin-bottom: 40px;
    backdrop-filter: blur(10px);
    border: 1.5px solid #e3e6f3;
}
.section-title {
    font-size: 1.5rem;
    color: #2a357a;
    margin-bottom: 24px;
    margin-right: 2rem;
    font-weight: 700;
    text-align: right;
    letter-spacing: 1px;
}
.section-title2 {
    font-size: 1.5rem;
    color: #2a357a;
    margin-bottom: 24px;
    font-weight: 700;
    letter-spacing: 1px;
}
.section-title {
    font-size: 1.5rem;
    color: #2a357a;
    margin-bottom: 24px;
    margin-right: 2rem;
    font-weight: 700;
    text-align: right;
    letter-spacing: 1px;
}
.carte-container {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}
.carte-maroc {
    max-width: 400px;
    width: 100%;
    border-radius: 18px;
    box-shadow: 0 8px 32px 0 rgba(31,38,135,0.18);
    border: 2.5px solid #b3b8e0;
    background: rgba(255,255,255,0.3);
}
.villes-list {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}
.ville {
    background: linear-gradient(90deg, #a5b4fc 0%, #c7d2fe 100%);
    color: #2a357a;
    padding: 8px 22px;
    border-radius: 24px;
    font-size: 1.08rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(31,38,135,0.08);
    letter-spacing: 0.5px;
    transition: background 0.2s, color 0.2s;
}
.ville:hover {
    background: linear-gradient(90deg, #6366f1 0%, #818cf8 100%);
    color: #fff;
}

.form-section {
    text-align: center;
    position: relative;
    text-align: center;
    padding: 2.5rem 1rem 1.5rem 1rem;
    border-radius: 0 0 24px 24px;
    box-shadow: 0 4px 10px rgba(44,62,80,0.10);
    overflow: hidden;
    background: url('images/logo-head.png') center center/cover no-repeat;
}
.form-section::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.75); /* Opacité blanche pour lisibilité */
    z-index: 0;
}
.form-section > * {
    position: relative;
    z-index: 1;
} 
.zoning-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

.zoning-form label {
    font-size: 1.2rem;
    color: #2a357a;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.zoning-form select {
    padding: 12px 24px;
    border-radius: 12px;
    border: 1.5px solid #b3b8e0;
    font-size: 1.08rem;
    background: rgba(245,247,255,0.7);
    color: #2a357a;
    outline: none;
    transition: border 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(31,38,135,0.06);
    font-weight: 500;
}
.zoning-form select:focus {
    border: 2px solid #6366f1;
    box-shadow: 0 0 0 2px #a5b4fc;
}
.zoning-form button {
    background: linear-gradient(90deg, #6366f1 0%, #818cf8 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 12px 36px;
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(99,102,241,0.13);
    transition: background 0.2s, transform 0.15s;
    letter-spacing: 1px;
}
.zoning-form button:hover {
    background: linear-gradient(90deg, #0d123d 100%, #6366f1 100%);
    transform: translateY(-2px) scale(1.03);
}



.villes-dynamiques {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

.footer {
    text-align: center;
    padding: 50px 0;
    background:  #0d123d 100%;
    color: #fff;
    font-size: 1.08rem;
    margin-top: 48px;
    letter-spacing: 1px;
    box-shadow: 0 -2px 12px rgba(99,102,241,0.08);
}
.btn-popup {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.4rem 1.2rem;
    background: #1565c0;
    color: #fff !important;
    border-radius: 16px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s;
}
.btn-popup:hover {
    background: #0d47a1;
}


@media (max-width: 700px) {
    .header {
        padding: 24px 4vw 12px 4vw;
    }
    
    .logo {
        
        margin-bottom: 12px;
        margin-right: 0;
        height: 56px;
    }
    .association-title {
        font-size: 1rem;
        margin-right: 2px;
    }
    .main-content {
        padding: 0 2vw;
    }
    .carte-section, .form-section {
        padding: 18px 8px;
    }
    .section-title {
        font-size: 1.1rem;
    }
    .carte-maroc {
        max-width: 98vw;
        .footer-content {
            flex-direction: column;
            gap: 0.5rem;
            font-size: 0.95rem;
        }
    }
    .footer {
        text-align: center;
        padding: 50px ;
        background:  #0d123d 100%;
        color: #fff;
        font-size: 1rem;
        margin-top: 48px;
        letter-spacing: 1px;
        box-shadow: 0 -2px 12px rgba(99,102,241,0.08);
    }
    .association-title2 {
        font-size: 1.5rem;
        font-weight: 700;
        letter-spacing: 2px;
        color: #2a357a;
        text-shadow: 0 2px 8px #e3e6f3;
        text-align: center;
        flex: 1;
    }
}

#map { height: 500px; }