/* Variables et Configuration */
:root {
    --bg-dark: #1a232e;
    --primary-green: #72c172;
    --text-white: #ffffff;
    --text-muted: #a0aec0;
    --section-light: #f8fafc;
}

html {
    scroll-behavior: smooth; /* Active le glissement doux lors du clic sur les boutons */
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; line-height: 1.6; color: #334155; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* Navigation */
nav { background: var(--bg-dark); padding: 20px 0; border-bottom: 1px solid #2d3748; position: sticky; top: 0; z-index: 1000; }
.nav-flex { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; color: white; font-weight: 700; }
.logo img { max-height: 35px; margin-right: 12px; }
.nav-links { display: flex; list-style: none; align-items: center; }
.nav-links li { margin-left: 25px; }
.nav-links a { color: white; text-decoration: none; font-size: 0.9rem; transition: 0.3s; }
.nav-links a:hover { color: var(--primary-green); }
.btn-nav { background: var(--primary-green); padding: 8px 18px; border-radius: 5px; font-weight: 600; }

/* Hero Section */
.hero { background: var(--bg-dark); color: white; padding: 100px 0; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center; }
.badge { color: var(--primary-green); border: 1px solid #3d4a5d; padding: 5px 15px; border-radius: 20px; font-size: 0.75rem; display: inline-block; }
.hero h1 { font-size: 3.5rem; margin: 20px 0; line-height: 1.1; }
.highlight { color: var(--primary-green); }
.hero-actions { display: flex; gap: 15px; margin: 30px 0; }
h2 {
    color: var(--primary-green); /* Ou utilise le code direct : #72c172 */
}
/* Ce qui gère le conteneur de l'image */
.hero-visual { 
    position: relative; 
    height: 500px; 
    border-radius: 15px; 
    overflow: hidden; 
}

/* Ce qui gère l'image elle-même */
.hero-img-main { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; /* L'image remplit tout sans être écrasée */
    display: block;
}




/* Style des boutons liens */
.btn-primary, .btn-outline { text-decoration: none; padding: 14px 28px; border-radius: 6px; font-weight: 600; font-size: 0.95rem; transition: 0.3s; display: inline-block; }
.btn-primary { background: var(--primary-green); color: white; border: none; }
.btn-primary:hover { background: #5eb05e; }
.btn-outline { background: transparent; color: white; border: 1px solid white; }
.btn-outline:hover { background: white; color: var(--bg-dark); }

.hero-stats { display: flex; gap: 40px; margin-top: 50px; }
.hero-stats strong { font-size: 1.6rem; color: var(--primary-green); display: block; }
.hero-stats p { font-size: 0.8rem; color: var(--text-muted); }

.hero-visual { background: linear-gradient(135deg, #233342, #1a232e); height: 400px; border-radius: 15px; display: flex; justify-content: center; align-items: center; }
.anchor-icon { font-size: 4rem; color: var(--primary-green); text-shadow: 0 0 20px rgba(114, 193, 114, 0.3); }

/* Services */
.services { padding: 90px 0; text-align: center; }
.section-header { margin-bottom: 50px; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 25px; }
.card { padding: 40px; border-radius: 12px; background: white; border: 1px solid #edf2f7; box-shadow: 0 4px 6px rgba(0,0,0,0.02); transition: 0.3s; }
.card:hover { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(0,0,0,0.08); border-color: var(--primary-green); }
.card i { font-size: 2.2rem; display: block; margin-bottom: 15px; }

/* About & Location */
.about { background: var(--section-light); padding: 90px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.feature-item { display: flex; background: white; padding: 25px; border-radius: 10px; margin-bottom: 15px; align-items: center; }
.feature-item span { font-size: 1.8rem; margin-right: 20px; }

.location { padding: 90px 0; }

/* La boîte qui contient le texte et la carte */
.location-box { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    background: white; 
    border-radius: 15px; 
    overflow: hidden; 
    border: 1px solid #eee;
    min-height: 450px; /* On définit une hauteur pour que la carte soit grande */
}

.location-details { padding: 50px; }
.location-details ul { list-style: none; margin-top: 25px; }
.location-details li { margin-bottom: 10px; }
.location-details li::before { content: "✓ "; color: var(--primary-green); font-weight: bold; }

/* Nouveau style pour la carte qui remplace le placeholder */
.map-container {
    width: 100%;
    height: 100%;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block; /* Évite les petits espaces blancs sous l'iframe */
}

/* On rend le tout responsive pour les téléphones */
@media (max-width: 768px) {
    .location-box { grid-template-columns: 1fr; }
    .map-container { height: 300px; }
}

/* Contact Form */
.contact { padding: 90px 0; background: var(--section-light); }
.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 60px; }
.contact-items-list { margin: 30px 0; }
.contact-item { margin-bottom: 12px; font-weight: 500; }
.contact-form { display: grid; gap: 15px; background: white; padding: 30px; border-radius: 10px; box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
input, textarea { padding: 15px; border: 1px solid #e2e8f0; border-radius: 6px; font-family: inherit; width: 100%; }
.contact-form button { background: var(--primary-green); color: white; border: none; padding: 16px; border-radius: 6px; font-weight: 700; cursor: pointer; transition: 0.3s; }
.contact-form button:hover { background: #5eb05e; }
.opening-hours { padding: 25px; background: var(--bg-dark); color: white; border-radius: 8px; }

/* Footer */
footer { background: var(--bg-dark); color: var(--text-muted); padding: 40px 0; text-align: center; border-top: 1px solid #2d3748; }