/* Reset et styles 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: #333;
}

/* Header et Navigation */
header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}
/*
.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: #A31B41;
    text-decoration: none;
}
*/
.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    font-weight: bold;
    color: #A31B41;
    text-decoration: none;
    flex-shrink: 0;
    margin-right: auto; /* Forcer à gauche */
}

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: #A31B41;
}

/* Menu Burger */
/*
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    cursor: pointer;
    padding: 5px;
    width: 35px;
    height: 30px;
}

.burger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #A31B41;
    transition: all 0.3s ease;
    border-radius: 3px;
}


.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}
*/

/* Menu Burger */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    width: 30px;
    height: 25px;
    position: relative;
    z-index: 1001;
}

.burger-menu span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #A31B41;
    transition: all 0.3s ease-in-out;
    border-radius: 3px;
}

/* Quand le menu est ouvert : masquer les barres et afficher < */
.burger-menu.active span {
    opacity: 0;
}

.burger-menu.active::before {
    content: '<';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 28px;
    font-weight: bold;
    color: #A31B41;
    opacity: 1;
}

/* DEBUG - Retirer après */
/*
.burger-menu {
    background: rgba(255, 255, 0, 0.3) !important;
    border: 1px solid blue !important;
}

.burger-menu span:nth-child(1) {
    background: red !important;
}

.burger-menu span:nth-child(2) {
    background: green !important;
}

.burger-menu span:nth-child(3) {
    background: blue !important;
}
*/





.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    z-index: 999;
    padding: 1rem 0;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu ul li {
    border-bottom: 1px solid #f0f0f0;
}

.mobile-menu ul li a {
    display: block;
    padding: 1rem 2rem;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s, color 0.3s;
}

.mobile-menu ul li a:hover {
    background: #f8f9fa;
    color: #A31B41;
}

/* Hero Section */
.hero {
    margin-top: 70px;
    background: linear-gradient(135deg, #A31B41 0%, #7a1432 100%);
    color: white;
    padding: 6rem 2rem;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Page Header (pour les pages secondaires) */
.page-header {
    margin-top: 70px;
    background: linear-gradient(135deg, #A31B41 0%, #7a1432 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Boutons */
.btn {
    display: inline-block;
    background: white;
    color: #A31B41;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.btn-submit {
    background: #A31B41;
    color: white;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    width: 100%;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(163, 27, 65, 0.3);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

/* Titres et sous-titres */
h2 {
    color: #A31B41;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

/* Services */
.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(163, 27, 65, 0.2);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: #A31B41;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: #A31B41;
    margin-bottom: 1rem;
}

/* Section À propos */
.about {
    background: #f8f9fa;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: #A31B41;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #666;
    font-size: 1.1rem;
}

/* Formulaire de contact */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

label span {
    color: #A31B41;
}

input, select, textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #A31B41;
}

textarea {
    resize: vertical;
    min-height: 120px;
}

/* Informations de contact */
.contact-info {
    background: white;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-info h2 {
    color: #A31B41;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.info-item {
    display: flex;
    align-items: start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.info-icon {
    width: 45px;
    height: 45px;
    background: #A31B41;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-content h3 {
    color: #A31B41;
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.info-content p {
    color: #666;
    line-height: 1.6;
}

/* Carte Google Maps */
.map-container {
    margin-top: 2rem;
    height: 250px;
    background: #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Mentions légales */
.date-update {
    font-style: italic;
    color: #666;
    margin-bottom: 2rem;
    text-align: right;
}

.info-box {
    background: #f8f9fa;
    border-left: 4px solid #A31B41;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 5px;
}

.info-box p {
    margin-bottom: 0.5rem;
}

.info-box p:last-child {
    margin-bottom: 0;
}

/* Footer */
footer {
    background: #222;
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
}

footer a {
    color: #A31B41;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive Design */
/*@media (max-width: 768px) {*/
@media (max-width: 800px) {	
    /* Afficher le burger menu */
    .burger-menu {
        display: flex !important;
    }
    
    /* IMPORTANT : Masquer complètement le menu desktop */
    nav > ul {
        display: none !important;
    }
    
    /* Logo plus petit et adapté */
    .logo {
        font-size: 1rem;
        flex: 1;
    }
    
    .logo span {
        font-size: 0.9rem;
    }
    
    .logo-icon img {
        max-height: 35px !important;
    }
    
    /* Navigation plus compacte */
    nav {
        padding: 0.5rem 1rem;
    }
    
    /* Hero */
    .hero {
        padding: 4rem 1.5rem;
        margin-top: 60px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    /* Page header */
    .page-header {
        padding: 2.5rem 1rem;
        margin-top: 60px;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    /* Container */
    .container {
        padding: 2rem 1rem;
    }
    
    /* Titres */
    h2 {
        font-size: 1.8rem;
    }
    
    /* Contact */
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form,
    .contact-info {
        width: 100%;
    }
    
    .info-item {
        flex-direction: column;
        text-align: center;
    }
    
    /* Carte */
    .map-container {
        height: 200px;
    }
    
    /* Stats */
    .stat-number {
        font-size: 2.5rem;
    }
    
    /* Services */
    .services {
        grid-template-columns: 1fr;
    }
}