/* =========================================
   Variables & Reset
   ========================================= */
:root {
    --green: #003F24;
    --white: #FFFFFF;
    --black: #000000;
    --grey: #f4f4f4;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Work Sans', sans-serif;
    background-color: var(--white);
    color: var(--black);
    line-height: 1.6;
    overflow-x: hidden;
}

/* =========================================
   Typographie & Classes Utilitaires
   ========================================= */
h1, h2, h3 {
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 1px;
    font-weight: normal;
}

h1 { font-size: 4rem; margin-bottom: 20px; text-transform: uppercase; }
h2 { font-size: 2.5rem; margin-bottom: 15px; }

.subtitle-white, .subtitle-green {
    font-family: 'Work Sans', sans-serif;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-weight: 600;
}
.subtitle-white { color: var(--white); }
.subtitle-green { color: var(--green); }

.text-center { text-align: center; }

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.bg-green { background-color: var(--green); color: var(--white); }
.bg-black { background-color: var(--black); color: var(--white); }

/* =========================================
   Liens & Boutons
   ========================================= */
a { text-decoration: none; transition: 0.3s ease; }
.link-green { color: var(--green); font-weight: 600; text-transform: uppercase; font-size: 0.9rem; border-bottom: 1px solid transparent; margin-top: 20px; text-decoration: underline;}
.link-green:hover { border-bottom: 1px solid var(--green); }

.btn {
    display: inline-block;
    margin-top: 2em;
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline-white {
    border: 1px solid var(--white);
    color: var(--white);
}
.btn-outline-white:hover {
    background-color: var(--white);
    color: var(--green);
}

/* =========================================
   Header (Barre de navigation)
   ========================================= */
header {
    position: fixed;
    width: 100%;
    top: 0;
    background-color: rgba(255, 255, 255, 0.98);
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.header-content { display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: 'Bebas Neue', sans-serif; font-size: 2.5rem; color: var(--green); }
.desktop-nav ul { list-style: none; display: flex; gap: 30px; }
.desktop-nav a { color: var(--black); font-weight: 600; text-transform: uppercase; font-size: 0.9rem; }
.desktop-nav a:hover { color: var(--green); }

/* =========================================
   Layouts avec fond asymétrique
   ========================================= */
.hero, .fait-maison, .potager {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
}
.potager { height: 70vh; min-height: 500px; justify-content: flex-end;}

.hero-bg, .maison-bg, .potager-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.hero-box, .maison-box, .green-box-small {
    padding: 60px;
    width: 45%;
}
.hero-box { margin-left: 10%; }
.maison-box { margin-left: auto; margin-right: 10%; } 
.green-box-small { margin-right: 40%; width: 40%;}

/* =========================================
   Sections Spécifiques
   ========================================= */
/* Grille de services */
.services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
    padding: 100px 0;
}
.service-card img { height: 180px; margin-bottom: 20px; }
.service-card h2 { font-size: 1.8rem;}

/* Notre histoire */
.histoire {
    display: flex;
    align-items: center;
    gap: 50px;
    padding: 100px 0;
}
.histoire-img, .histoire-text { flex: 1; }
.histoire-img img { width: 100%; height: auto; display: block; }
.histoire-text h2 { font-size: 2.2rem; line-height: 1.2;}

/* Recrutement */
.recrutement { padding: 60px 0; }
.recrutement-grid {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}
.recrutement-card {
    flex: 1;
    height: 350px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
}
.recrutement-card .overlay {
    background: rgba(0, 63, 36, 0.75); 
    padding: 40px;
    width: 85%;
    transition: transform 0.3s ease, background 0.3s ease;
}
.recrutement-card:hover .overlay { transform: scale(1.02); background: rgba(0, 63, 36, 0.9); }

/* =========================================
   Section Infos Pratiques (Contact)
   ========================================= */
.infos-pratiques {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
}

.infos-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
    filter: brightness(0.6);
}

.infos-box {
    padding: 60px 40px;
    width: 100%;
    max-width: 650px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.logo-contact {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 5rem;
    margin-bottom: 20px;
    line-height: 1;
}

.coordonnees {
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.8;
}

.horaires {
    margin-bottom: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.horaires .highlight {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.horaires .summer-hours {
    font-size: 0.95rem;
    font-style: italic;
    opacity: 0.85;
    margin-top: 5px;
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-icon {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    border: 1px solid var(--white);
    color: var(--white);
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-icon:hover {
    background-color: var(--white);
    color: var(--green);
}

.btn-icon:hover svg {
    stroke: var(--green);
}

/* =========================================
   Animations (Gérées par JS)
   ========================================= */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   Responsive Media Queries
   ========================================= */
@media (max-width: 900px) {
    .hero-box, .maison-box, .green-box-small { width: 80%; margin: 0 auto; text-align: center; }
    .services, .histoire { flex-direction: column; grid-template-columns: 1fr; }
    .recrutement-grid { flex-direction: column; }
    .desktop-nav { display: none; }
}