/* Variables globales */
:root {
    --primary-color: #002244;
    --secondary-color: #0057ff;
    --accent-color: #d32f2f;
    --light-bg: #f8f9fa;
    --card-bg: #ffffff;
    --text-color: #333333;
    --footer-bg: #1a1a1a;
    --footer-text: #e0e0e0;
}

/* Reset de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
header {
        top: 80px;
        right: -100%;
        width: 80%;
        height: calc(100vh - 80px);
        background: var(--primary-color);
        padding: 20px;
        transition: right 0.3s ease;
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
        overflow-y: auto;
    }
    
    nav ul.active {
        right: 0;
    }
    
    nav ul li {
        margin: 10px 0;
    }
    
    .logo-container svg {
        width: 220px;
        height: 55px;
    }
    
    .logo-container p {
        font-size: 12px;
    }
    
    .steps-grid, .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .alert {
        font-size: 14px;
        padding: 10px;
    }
    
    .alert a {
        font-size: 13px;
    }
    
    .btn {
        padding: 8px 15px;
        font-size: 14px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-section {
        margin-bottom: 20px;
    }
}

/* Pour tablettes */
@media (min-width: 769px) and (max-width: 1024px) {
    .logo-container svg {
        width: 250px;
        height: 60px;
    }
}

/* Alertes */
.alert {
    background: #ffebee;
    padding: 15px;
    margin: 20px 0;
    border-left: 4px solid var(--accent-color);
    border-radius: 0 4px 4px 0;
}

.alert-mini {
    background: #e8f5e9;
    padding: 15px;
    border-radius: 4px;
    margin-top: 20px;
}

/* Cartes et grilles */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.step-card {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.step-card:hover {
    transform: translateY(-5px);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin: 25px 0;
}

.testimonial {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.testimonial:hover {
    transform: translateY(-5px);
}

.testimonial-author {
    font-weight: bold;
    color: var(--secondary-color);
    margin-top: 15px;
    font-style: normal;
}

.legal-section {
    background: #e3f2fd;
    border-left: 4px solid var(--secondary-color);
    padding: 25px;
    border-radius: 0 8px 8px 0;
}

.legal-form-section {
    background: #fff8e1;
    padding: 20px;
    border-radius: 8px;
    margin-top: 25px;
}

/* Formulaire */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
}

.form-group textarea {
    min-height: 100px;
}

.btn {
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    transition: background 0.3s;
}

.btn:hover {
    background: #0047d9;
}

.security-note {
    margin-top: 10px;
    font-size: 0.85em;
    color: #666;
}

/* Footer */
footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    text-align: center;
    padding: 30px 0;
    margin-top: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.footer-section {
    text-align: left;
}

.footer-section h4 {
    margin-bottom: 15px;
    color: white;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #bbb;
    text-decoration: none;
}

.footer-section ul li a:hover {
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    font-size: 0.9em;
}

.cookie-note {
    margin-top: 10px;
    font-size: 0.85em;
    color: #777;
}

/* Cookie banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: var(--footer-bg);
    color: white;
    padding: 15px;
    text-align: center;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.cookie-banner button {
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 5px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
}

/* Pages spécifiques */
.last-update {
    background: #e3f2fd;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 25px;
}

.info-box {
    background: #e3f2fd;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.process-step {
    display: flex;
    margin: 25px 0;
    align-items: flex-start;
}

.step-number {
    background: var(--secondary-color);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.amf-logo {
    text-align: center;
    margin: 30px 0;
}

.amf-logo img {
    max-height: 80px;
}

.amf-logo p {
    font-style: italic;
    margin-top: 10px;
    color: #bbb;
}

.partner-badge {
    background: #e3f2fd;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    margin: 20px 0;
}

blockquote {
    border-left: 4px solid var(--secondary-color);
    padding: 15px 20px;
    background: #e3f2fd;
    margin: 25px 0;
    font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        gap: 10px;
    }
    
    .steps-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}
/* Style pour le logo */
.logo-container {
    text-align: center;
    margin-bottom: 15px;
}

.logo-container a {
    display: inline-block;
}

.logo-container p {
    color: white;
    opacity: 0.9;
    margin-top: 5px;
    font-size: 14px;
}

/* Animation subtile au survol */
.logo-container svg:hover {
    transform: translateY(-2px);
    transition: transform 0.3s ease;
}

/* Responsive pour les petits écrans */
@media (max-width: 768px) {
    .logo-container svg {
        width: 240px;
        height: 60px;
    }
    
    .logo-container p {
        font-size: 12px;
    }
}