/* Reset et variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 4px 12px rgba(0,0,0,0.1);
    --border-radius: 8px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--light-bg);
}

#contenu {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo a {
    font-size: 1.5em;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    background: var(--secondary-color);
    color: var(--white);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: var(--border-radius);
    margin: 2rem 0;
}

.hero h1 {
    font-size: 3em;
    margin-bottom: 1rem;
}

.sous-titre {
    font-size: 1.3em;
    opacity: 0.9;
}

/* Contenu principal */
.contenu-principal {
    padding: 2rem 0;
}

.page-header {
    text-align: center;
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.page-header h1 {
    font-size: 2.5em;
    color: var(--primary-color);
}

/* Services */
.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Avantages */
.avantages-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.avantage {
    text-align: center;
    padding: 1.5rem;
}

.avantage span {
    font-size: 2.5em;
    display: block;
    margin-bottom: 1rem;
}

/* Tarifs */
.carte-tarif {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.carte-tarif h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--light-bg);
}

.ligne-tarif {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--light-bg);
}

.ligne-tarif:last-child {
    border-bottom: none;
}

.description {
    flex: 1;
    color: var(--text-color);
}

.prix {
    font-weight: 600;
    color: var(--accent-color);
    min-width: 120px;
    text-align: right;
}

/* Contact */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info, .contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.coordonnee {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--light-bg);
    border-radius: var(--border-radius);
}

.horaires {
    margin-top: 2rem;
}

/* Formulaire */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 1em;
}

.form-group textarea {
    resize: vertical;
}

.honeypot {
    display: none !important;
}

button[type="submit"] {
    background: var(--secondary-color);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.1em;
    cursor: pointer;
    transition: background 0.3s ease;
}

button[type="submit"]:hover {
    background: var(--primary-color);
}

#messageArea {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: var(--border-radius);
}

.error { background: #fee; color: #c33; }
.success { background: #efe; color: #363; }

.info-important {
    background: #e3f2fd;
    padding: 2rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--secondary-color);
}

/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 2em;
    }
    
    .services {
        grid-template-columns: 1fr;
    }
    
    .coordonnee {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    #contenu {
        padding: 0 10px;
    }
    
    .hero {
        padding: 2rem 1rem;
    }
    
    .carte-tarif, .contact-info, .contact-form {
        padding: 1rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.carte-tarif, .service-card, .contact-info, .contact-form {
    animation: fadeIn 0.6s ease-out;
}

/* ===== STYLES POUR LA PAGE MENTIONS LÉGALES ===== */

.mentions-legales {
    max-width: 900px;
    margin: 0 auto;
}

.section-mentions {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.section-mentions h2 {
    color: var(--primary-color);
    border-bottom: 3px solid var(--secondary-color);
    padding-bottom: 1rem;
    margin-bottom: 2rem;
    text-align: center;
}

.bloc-info {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    border-left: 4px solid var(--light-bg);
    transition: all 0.3s ease;
}

.bloc-info:hover {
    border-left-color: var(--secondary-color);
    background: #f8f9fa;
}

.bloc-info.important {
    border-left-color: #e74c3c;
    background: #fff5f5;
}

.bloc-info.important:hover {
    background: #ffecec;
}

.bloc-info h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-details {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #eee;
}

.info-details p {
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.info-details strong {
    color: var(--primary-color);
    min-width: 200px;
    display: inline-block;
}

.info-details ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.info-details li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.date-mise-a-jour {
    text-align: center;
    padding: 1.5rem;
    background: var(--light-bg);
    border-radius: var(--border-radius);
    margin-top: 2rem;
    border-top: 3px solid var(--secondary-color);
}

/* Liens dans les mentions légales */
.mentions-legales a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
}

.mentions-legales a:hover {
    text-decoration: underline;
    color: var(--primary-color);
}

/* Responsive pour les mentions légales */
@media (max-width: 768px) {
    .section-mentions {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .bloc-info {
        padding: 1rem;
        margin-bottom: 2rem;
    }
    
    .info-details {
        padding: 1rem;
    }
    
    .info-details strong {
        min-width: auto;
        display: block;
        margin-bottom: 0.3rem;
    }
}

@media (max-width: 480px) {
    .section-mentions {
        padding: 1rem;
    }
    
    .bloc-info h3 {
        font-size: 1.1em;
    }
}

/* Style pour le pied de page avec lien vers mentions légales */
.pied-page {
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
    border-top: 1px solid #eee;
    color: #666;
    font-size: 0.9em;
}

.pied-page a {
    color: #666;
    text-decoration: none;
    margin: 0 0.5rem;
}

.pied-page a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}
