/* ===========================
   Variables et Reset
   =========================== */
:root {
    --primary-color: #E67E22;
    --secondary-color: #8B4513;
    --accent-color: #D35400;
    --bg-light: #FDF6E3;
    --bg-cream: #FAF0E6;
    --text-dark: #2C3E50;
    --text-light: #7F8C8D;
    --white: #FFFFFF;
    --shadow: rgba(139, 69, 19, 0.1);
    --shadow-hover: rgba(139, 69, 19, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
}

/* ===========================
   Navigation
   =========================== */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px var(--shadow);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.55rem 20px;
    padding-bottom: 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.btn-nav {
    background: var(--primary-color);
    color: var(--white) !important;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn-nav:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

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

/* ===========================
   Hero Section - Split Design
   =========================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr; /* 50% / 50% */
    min-height: calc(100vh - 70px);
    margin-top: 0;
    padding-top: 70px;
    padding: 0;
}

.hero-overlay {
    position: relative;
    z-index: 1;
    background-image: url('files/IMG_7321.jpg');
    background-size: cover;
    background-position: center;
    height: 100%;
}

.hero-content {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    background: linear-gradient(90deg, #e67e22 0%, #8b4513 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 12% 5% 5% 12%;
    color: white;
    height: 100%;
    width: 60%;
    
    /* Création d'une courbe elliptique sur le bord gauche */
    clip-path: ellipse(100% 100% at 100% 50%);
}

/* --- VERSION RESPONSIVE (MOBILE) --- */
@media (max-width: 768px) {
    .hero {
        /* On annule le grid pour que les enfants ne soient plus limités à 50% */
        display: block; 
        min-height: 80vh; /* Ajustement de la hauteur sur mobile */
        margin-top: 90px; /* Décalage augmenté pour être bien en dessous du menu */
        padding-top: 0; /* Pas de padding supplémentaire nécessaire */
    }

    .hero-overlay {
        position: absolute;
        inset: 0; /* Remplit tout le conteneur .hero */
        width: 100%;
        height: 100%;
    }

    .hero-content {
        position: absolute;
        inset: 0; /* Se superpose exactement sur l'overlay */
        width: 100%; 
        height: 100%;
        
        /* Suppression de la forme elliptique pour le mobile */
        clip-path: none; 
        
        /* Overlay semi-transparent (ajustez le 0.8 pour plus ou moins de transparence) */
        background: linear-gradient(
            rgba(230, 126, 34, 0.8) 0%, 
            rgba(139, 69, 19, 0.9) 100%
        );
        
        /* Centrage du texte pour un look mobile propre */
        padding: 20px;
        align-items: center; 
        text-align: center;
        justify-content: center;
    }

    /* Adaptation de la taille des textes pour mobile */
    .hero-title {
        font-size: 2.2rem !important; /* Force la réduction de taille */
        text-align: center;
        margin : 6%;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
}


.hero-title {
    font-size: 3.5rem; /* Reduced font size */
    margin-bottom: 1rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    text-align: left;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 300;
    text-align: left;
    line-height: 1.8;
}

.hero-availability {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    font-weight: 500;
    text-align: left;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 0%;
    padding: 0 2rem;
}

/* ===========================
   Buttons
   =========================== */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-color);
}

.btn-primary:hover {
    background: var(--bg-cream);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px var(--shadow-hover);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
}

.btn-full {
    width: 100%;
}

/* ===========================
   Sections
   =========================== */
section {
    padding: 80px 20px;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ===========================
   Services Section
   =========================== */
.services {
    background: var(--bg-light);
}

.intro-text {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.intro-text p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.highlight {
    font-weight: 600;
    color: var(--secondary-color);
    font-style: italic;
}

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

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

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px var(--shadow-hover);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

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

/* ===========================
   Lieux Section
   =========================== */
.lieux-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.lieu-card {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    padding: 2rem;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.lieu-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px var(--shadow-hover);
}

.lieu-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.zone-info {
    background: var(--bg-cream);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border-left: 5px solid var(--primary-color);
}

.zone-info p {
    margin: 0.5rem 0;
    font-size: 1.1rem;
}

/* ===========================
   Conditions Section
   =========================== */
.conditions {
    background: var(--bg-light);
}

.conditions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.condition-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px var(--shadow);
}

.check-icon {
    background: var(--primary-color);
    color: var(--white);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

/* ===========================
   Qualifications Section
   =========================== */
.qualif-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.qualif-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px var(--shadow);
    border-top: 5px solid var(--primary-color);
}

.qualif-badge {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.qualif-card h3 {
    color: var(--secondary-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.qualif-full {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.qualif-note {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
    margin-top: 1rem;
}

.qualif-desc {
    line-height: 1.8;
}

/* ===========================
   Tarifs Section
   =========================== */
.tarifs {
    background: var(--bg-light);
}

.tarifs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.tarif-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px var(--shadow);
    transition: all 0.3s ease;
    position: relative;
}

.tarif-card.featured {
    border: 3px solid var(--primary-color);
    transform: scale(1.05);
}

.tarif-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.tarif-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-hover);
}

.tarif-duration {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.tarif-price {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.tarif-desc {
    color: var(--text-light);
}

.tarif-note {
    background: var(--bg-cream);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    border-left: 5px solid var(--primary-color);
}

/* ===========================
   Contact Section
   =========================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.contact-item h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-form {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* ===========================
   Footer
   =========================== */
.footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 3rem 20px 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section p {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 1.5rem;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-link {
    color: var(--white);
    text-decoration: none;
}

.footer-link:hover {
    text-decoration: underline;
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 768px) {
    .menu-toggle {
        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: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
        gap: 1rem;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero {
        display: grid;
        grid-template-columns: 2fr 3fr;
    }

    
    .hero-overlay {
        min-height: 50vh;
    }
    
    .hero-content {
        padding: 0px 0px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }
    
    .tarif-card.featured {
        transform: scale(1);
    }
    
    .services-grid,
    .lieux-grid,
    .conditions-grid,
    .qualif-grid,
    .tarifs-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
    }
    
    .hero-title {
        font-size: 1.6rem;
    }
}