/* Variables et styles de base */
:root {
    --dark-green: #1F4732;
    --light-green: #4F7D5A;
    --ocre: #E5B548;
    --cream: #FEFFFF;
    --text-dark: #1F4732;
    --text-medium: #2D5A3D;
    --spacing: 2rem;
    --border-radius: 12px; /* Un peu plus arrondi pour un look plus doux */
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--cream);
    color: var(--text-dark);
    line-height: 1.7; /* Légèrement augmenté pour une meilleure lisibilité */
}

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

section { padding: 45px 0; scroll-margin-top: 70px; }

/* Header */
header {
    background-color: var(--cream);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.header-bottom {
    width: 100%;
    align-items: center;
    border-top: 1px solid #e5e7eb;
    padding-top: 10px;
    margin-top: 10px;
}

.logo {
    display: flex;
}

.titre {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark-green);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.titre span {
    color: var(--light-green);
}
.header-contact { display: flex; align-items: center; gap: 15px; }
.header-phone { display: flex; align-items: center; }
.contact-item {
    display: flex; align-items: center; gap: 8px;
    color: var(--dark-green); text-decoration: none;
    font-weight: 600; font-size: 1.6rem;
}
.contact-item i { color: var(--light-green); font-size: 1.1rem; }
.contact-item:hover { color: var(--light-green); }


nav ul { display: flex; list-style: none; gap: 30px; justify-content: center; }

nav li {
    margin-left: 1.8rem;
}

nav a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    position: relative;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

nav a:hover {
    color: var(--light-green);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--light-green);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

 #mobile-menu-button {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--dark-color);
    cursor: pointer;
}

/* Hero Section */
.hero {
    background-image: url('https://lesateliersapreslaclasse.fr/assets/arriereplan2?q=80&w=2132&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Effet parallax */
    text-align: center;
    padding: 80px 0;
    position: relative;
    color: white; /* Le texte doit être clair sur l'image */
}

.hero-overlay {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(31, 71, 50, 0.7); /* Superposition de couleur pour la lisibilité */
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}


.hero h1 {
    font-size: 3.8rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 800;
    color: white;
}

.hero .subtitle {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--ocre);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
}

.divider {
    width: 100px;
    height: 3px;
    background-color: var(--ocre);
    margin: 2rem auto;
    border: none;
}

.btn {
    display: inline-block;
    background-color: var(--ocre);
    color: var(--dark-green);
    padding: 0.9rem 2.2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    border: 2px solid transparent;
}

.btn:hover {
    background-color: var(--light-green);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(79, 125, 90, 0.3);
}

/* Sections générales */
.section-title {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: inline-block;
    font-weight: 700;
    color: var(--dark-green);
}

.section-title h2::after {
    content: '';
    display: block;
    width: 70px;
    height: 4px;
    background-color: var(--light-green);
    margin: 0.8rem auto 0;
    border-radius: 2px;
}

/* À propos - AMÉLIORÉ */
.about {
    background-color: white;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--light-green);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-text p {
    color: var(--text-medium);
    margin-bottom: 1rem;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-icon {
    background-color: var(--light-green);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.3rem;
}

.feature h4 {
    color: var(--dark-green);
    margin-bottom: 0.5rem;
}

.feature p {
    color: var(--text-medium);
    font-size: 0.9rem;
    line-height: 1.5;
}

.about-image {
    flex: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(79, 125, 90, 0.2);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.about-image:hover img {
    transform: scale(1.05);
}


/* Services & autres cartes - AMÉLIORÉ */
.services-grid, .info-cards, .offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.service-card, .info-card, .offer-card {
    background-color: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
    /* MODIFICATION : Ombre plus douce */
    box-shadow: 0 4px 6px rgba(0,0,0,0.04);
}

.service-card:hover, .info-card:hover, .offer-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(79, 125, 90, 0.15);
}

.service-card { border-left: 4px solid var(--light-green); }
.info-card { border-top: 4px solid var(--light-green); background-color: var(--cream); }
.offer-card { border-bottom: 4px solid var(--light-green); }


.service-icon, .info-icon, .offer-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--light-green);
}

.service-card h3, .info-card h3, .offer-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--light-green);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-card p, .info-card p, .offer-card p {
    color: var(--text-medium);
}

.info { background-color: white; }

.price {
    font-size: 2.2rem;
    color: var(--light-green);
    font-weight: bold;
    margin: 1rem 0;
}

.highlight {
    color: var(--light-green);
    font-weight: bold;
    margin: 1rem 0;
    font-size: 1.1rem;
}

.info-links {
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--light-green);
    display: flex;
    padding-top: 2.5rem;
}

.info-link {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--cream);
    color: var(--ocre);
    transition: all 0.3s ease;
}

.info-link:hover {
    background-color: var(--cream);
    color: var(--ocre);
    transform: translateY(-5px) scale(1.1);
}

/* Contact */
.contact-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: white;
    padding: 4rem;
    border-radius: var(--border-radius);
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(79, 125, 90, 0.1);
}

.contact-email {
    font-size: 1.6rem;
    margin: 1.5rem 0 2rem;
    color: var(--light-green);
    font-weight: 600;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--cream);
    color: var(--light-green);
    border-radius: 50%;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--light-green);
    color: white;
    transform: translateY(-5px) scale(1.1);
}

/* Footer */
footer {
    background-color: var(--dark-green);
    padding: 4rem 0 2rem;
    color: white;
}

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

.footer-logo {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-logo span {
    color: var(--light-green);
}

.footer-about p {
    color: rgba(255, 255, 255, 0.8);
}

.footer-links h4 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    color: var(--ocre);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-links a:hover {
    color: var(--ocre);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

 @media (max-width: 1024px) {
    .container { padding: 0 auto; }
    .header { padding: 0; }
    .header-top { padding-bottom: 0; }
    .titre, .header-contact, .header-bottom { display: none; }
    #mobile-menu-button { display: block; }
    
    .contact-item { font-weight: 600; font-size: 1.2rem; }
    
    .about-content { flex-direction: column; }
    
    .header-bottom.is-open {
        display: block;
        width: 100%;
        padding-top: 20px;
        margin-top: 10px;
        border-top: 1px solid #e5e7eb;
    }
    .header-bottom.is-open nav ul {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero {
        font-size: 1.4rem;
    }
    
    .hero h1 {
        font-size: 2.2rem;
        letter-spacing: 2px;
    }
    
    . {
        font-size: 1.4rem;
     }
     
    .info h2 {
        font-size: 2.2rem;
        letter-spacing: 2px;
    }
    
    .subtitle {
        font-size: 1.4rem;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
