/* --- BASE & TYPO --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Poppins', sans-serif; color: #333; background-color: #ffffff; line-height: 1.6; }
h1, h2, h3 { font-family: 'Playfair Display', serif; }
html { overflow-y: scroll; }

/* --- MENU FLOTTANT ARRONDI --- */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1000px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 1px solid #d35400; /* Le fameux liseré orange ! */
    padding: 10px 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.nav-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: 'Playfair Display', serif;
    font-weight: bold;
    text-decoration: none;
    color: #333;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.nav-logo span { color: #d35400; }

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: #555;
    font-size: 0.9rem;
    font-weight: 600;
    transition: 0.3s;
}

.nav-links a:hover { color: #d35400; }

.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.burger-menu span {
    width: 25px;
    height: 3px;
    background: #d35400;
    transition: 0.3s;
}

/* --- STYLE DU TITRE ET SOUS-TITRE --- */
.form-header { text-align: center; padding: 120px 20px 50px; background: white; }

.form-header h1 {
    font-size: 2.8rem;
    color: #1a1a1a;
    line-height: 1.2;
    margin-bottom: 15px;
    text-wrap: balance; 
}

.form-header p {
    font-size: 1.15rem;
    color: #666 !important; 
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
    text-wrap: balance;
}

/* --- CONTENU --- */
.content-wrapper { max-width: 900px; margin: -30px auto 60px; padding: 0 20px; position: relative; z-index: 10; }

.info-card { background: white; padding: 50px; border-radius: 20px; margin-bottom: 30px; box-shadow: 0 10px 40px rgba(0,0,0,0.05); border: 1px solid #eee; }
.info-card h2 { color: #d35400; margin-bottom: 30px; font-size: 1.8rem; border-bottom: 2px solid #fdfaf7; padding-bottom: 10px; }

.condition-group { margin-bottom: 25px; }
.condition-group h3 { font-size: 1.2rem; color: #1a1a1a; margin-bottom: 10px; }

.info-card p { color: #555; margin-bottom: 15px; font-size: 1rem; }
.info-card ul { margin-left: 20px; margin-bottom: 20px; color: #555; }
.info-card ul li { margin-bottom: 8px; }

.mini-list { list-style: none !important; margin-left: 0 !important; display: flex; flex-wrap: wrap; gap: 15px; margin-top: 10px; }
.mini-list li { background: #fdfaf7; padding: 8px 15px; border-radius: 8px; border: 1px solid #ffe0b2; font-weight: 600; font-size: 0.9rem; }

.note { font-style: italic; background: #f9f9f9; padding: 15px; border-radius: 10px; border-left: 4px solid #ddd; }
.warning { color: #e74c3c !important; font-weight: 600; font-size: 0.9rem !important; margin-top: 20px; padding: 15px; border: 1px dashed #e74c3c; border-radius: 10px; }

/* --- FOOTER (Simplifié pour le CSS) --- */
.footer { background: #1a1a1a; color: white; padding: 60px 20px; margin-top: 50px; }
.footer-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; }
.footer-col:last-child { text-align: center; }
.social-links { display: flex; justify-content: center; gap: 15px; margin-top: 15px; }
.social-icon { color: #aaa; transition: 0.3s; }
.social-icon:hover { color: #d35400; transform: scale(1.1); }
.footer-bottom { text-align: center; border-top: 1px solid #333; margin-top: 40px; padding-top: 20px; font-size: 0.8rem; color: #666; }

/* --- FOOTER 4 COLONNES --- */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 20px 20px;
    margin-top: 50px;
}

.footer-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.footer-col h3, .footer-col h4 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 20px;
}

.footer-col h3 span { color: #d35400; }

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: #aaa; text-decoration: none; transition: 0.3s; }
.footer-col a:hover { color: #d35400; }

.footer-col:last-child {
    text-align: center;
}

.social-links { 
    display: flex; 
    justify-content: center; 
    gap: 15px; 
    margin-top: 15px; 
}

.social-icon {
    color: #aaa; 
    transition: transform 0.3s ease, color 0.3s ease;
    display: inline-block;
}

.social-icon:hover {
    color: #d35400; 
    transform: scale(1.1); 
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #333;
    margin-top: 40px;
    padding-top: 20px;
    font-size: 0.8rem;
    color: #666;
}

/* --- RESPONSIVE GSM --- */
@media (max-width: 768px) {
    .nav-links {
        display: none; 
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        text-align: center;
        padding: 20px 0;
        border-radius: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    .nav-links.active { display: flex; }
    .burger-menu { display: flex; }
    .burger-menu.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .burger-menu.active span:nth-child(2) { opacity: 0; }
    .burger-menu.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    .form-header { padding: 100px 15px 30px; }
    .form-header h1 { font-size: 1.8rem; margin-bottom: 10px; }
    .form-header p { font-size: 0.95rem; padding: 0 10px; line-height: 1.4; }
    
    .info-card { padding: 25px 20px; }
}

footer { padding: 40px; text-align: center; font-size: 0.8rem; color: #999; }