:root {
    --c1: #f5f9f0;
    --c2: #7dc142;
    --c3: #5a9e2f;
    --c4: #2d5a1b;
    --c5: #1a3a0f;
    --c6: #1c2b10;
    --accent: #d4f06b;
    --white: #ffffff;
    --text: #1c2b10;
    --text-light: #4a6035;
    --shadow: 0 8px 32px rgba(44,80,20,0.1);
    --shadow-lg: 0 20px 60px rgba(44,80,20,0.16);
}

@font-face { font-family: myFont; src: url(./font/Comfortaa-Regular.ttf); }
* { margin: 0; padding: 0; box-sizing: border-box; font-family: myFont; font-size: 1rem; }

body { display: flex; flex-direction: column; align-items: center; background: var(--c1); overflow-x: hidden; }

/* ── NAVBAR (copié exactement de about.css) ── */
header {
    position: fixed; top: 1rem; left: 50%; transform: translateX(-50%);
    width: 92%; height: 4rem;
    display: flex; justify-content: space-between; align-items: center;
    padding: 0 1.5rem; border-radius: 2rem;
    border: 1px solid rgba(125,193,66,0.25);
    background: rgba(255,255,255,0.8); backdrop-filter: blur(20px);
    z-index: 1000; box-shadow: 0 4px 24px rgba(44,80,20,0.08);
}
.logo { display: flex; align-items: center; gap: 0.5rem; }
.logo img { width: 2rem; object-fit: cover; }
.logo h1 { font-size: 1.1rem; font-weight: bold; color: var(--c4); }
.nav_links .links { display: flex; gap: 0.2rem; }
.nav_links a {
    text-decoration: none; padding: 0.4rem 0.9rem; border-radius: 2rem;
    color: var(--text-light); font-size: 0.9rem; transition: all 0.3s ease;
}
.nav_links a:hover { color: var(--c4); background: rgba(125,193,66,0.12); }
header .view {
    display: flex; align-items: center; gap: 0.4rem;
    text-decoration: none; padding: 0.5rem 1.2rem;
    border: 1.5px solid var(--c3); border-radius: 2rem;
    color: var(--c3); font-size: 0.9rem; font-weight: bold;
    transition: all 0.3s ease; overflow: hidden; position: relative; z-index: 1;
}
header .view::before {
    content: ''; position: absolute; inset: 0; background: var(--c3);
    transform: scaleX(0); transform-origin: left; transition: transform 0.35s ease; z-index: -1;
}
header .view:hover::before { transform: scaleX(1); }
header .view:hover { color: var(--white); }
header .view svg { width: 1.2rem; height: 1.2rem; transition: transform 0.3s; }
header .view:hover svg { transform: rotate(45deg); }
.menu, .exit_menu { display: none; cursor: pointer; }
.mob_nav_links { display: none; }

/* ── HERO ── */
.Hero {
    width: 100%; height: 100vh;
    display: flex; align-items: center; justify-content: center;
    position: relative;
}

.hero_container {
    height: 90%; width: 94%;
    border-radius: 2rem; overflow: hidden;
    position: relative;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 30px 80px rgba(0,0,0,0.3);
}

.hero_container .hero_bg {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    filter: brightness(0.55) saturate(0.85);
    animation: slow-zoom 12s ease-in-out infinite alternate;
}
@keyframes slow-zoom { from { transform: scale(1); } to { transform: scale(1.06); } }

.hero_container::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(13,31,8,0.75) 0%, rgba(13,31,8,0.2) 50%, transparent 100%);
    z-index: 1;
}

.hero_container .hero_text {
    position: relative; z-index: 2;
    display: flex; flex-direction: column;
    align-items: center; gap: 1.2rem;
    text-align: center; padding: 0 2rem;
}
.hero_container .hero_text h1 {
    font-size: clamp(1.8rem, 4vw, 3.2rem);
    font-weight: bold; color: var(--white);
    line-height: 1.2; text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.hero_container .hero_text h1 span { color: var(--accent); font-size: inherit; }
.hero_container .hero_text p {
    color: rgba(255,255,255,0.75); font-size: 1.05rem;
    max-width: 500px; line-height: 1.7;
}
.hero_container .hero_badge {
    display: inline-flex; align-items: center;
    padding: 0.4rem 1.2rem;
    border: 1px solid rgba(212,240,107,0.4); border-radius: 3rem;
    background: rgba(212,240,107,0.1); color: var(--accent);
    font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase;
    backdrop-filter: blur(8px);
}

/* ── GALLERY ── */
.gallery_container {
    display: flex; flex-direction: column;
    align-items: center; margin-bottom: 2rem; width: 100%;
}
.gallery_container .title { height: 20vh; display: grid; place-items: center; }
.gallery_container .title h1 { font-size: 1.5rem; text-align: center; color: var(--c4); }
.gallery_container .gallery { columns: 3; column-gap: 1rem; width: 98%; }
.gallery span { position: relative; display: block; }
.gallery_container .gallery img {
    width: 100%; margin-bottom: 1rem; display: block;
    border-radius: 1rem; transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery span:hover img {
    transform: scale(1.02);
    box-shadow: 0 12px 30px rgba(44,80,20,0.2);
}

/* ── FOOTER ── */
footer { width: 100%; background: var(--c5); border-top: 3px solid var(--c2); }
.footer_container { display: flex; justify-content: space-evenly; padding: 3rem 2rem; flex-wrap: wrap; gap: 2rem; }
.footer_container [class*="part"] { min-width: 200px; flex: 1; display: flex; flex-direction: column; gap: 1rem; }
.footer_container h1 { color: var(--accent); font-size: 1rem; letter-spacing: 0.08em; text-transform: uppercase; }
footer p, footer a, footer li { font-size: 0.88rem; color: rgba(255,255,255,0.6); line-height: 1.7; }
.footer_container .part1 form { display: flex; flex-direction: column; gap: 0.5rem; }
.footer_container .part1 form label { color: rgba(255,255,255,0.5); font-size: 0.85rem; }
.footer_container .part1 form span { display: flex; gap: 0.5rem; }
.footer_container .part1 form input {
    flex: 1; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
    border-radius: 2rem; padding: 0.5rem 1rem; color: var(--white); outline: none; transition: border-color 0.3s;
}
.footer_container .part1 form input:focus { border-color: var(--accent); }
.footer_container .part1 form button {
    background: var(--c2); border: none; padding: 0.5rem 1.2rem;
    border-radius: 2rem; color: var(--c6); font-weight: bold; cursor: pointer; transition: background 0.3s;
}
.footer_container .part1 form button:hover { background: var(--accent); }
.footer_container .part2 ul { list-style: none; }
.footer_container .part2 li { margin-bottom: 0.3rem; }
.footer_container .part2 a { color: rgba(255,255,255,0.6); text-decoration: none; transition: color 0.3s; }
.footer_container .part2 a:hover { color: var(--accent); }
.footer_container .part3 { align-items: flex-start; }
.footer_container .part3 span:first-child { display: flex; gap: 1rem; }
.footer_container .part3 span:first-child a { color: rgba(255,255,255,0.6); transition: color 0.3s; }
.footer_container .part3 span:first-child a:hover { color: var(--accent); }
.footer_container .part3 span:first-child svg { width: 1.3rem; height: 1.3rem; }
.footer_container .part3 .logo { display: flex; align-items: center; gap: 0.5rem; }
.footer_container .part3 .logo img { width: 1.8rem; }
.footer_container .part3 .logo h1 { font-size: 1rem; }
footer .legal {
    border-top: 1px solid rgba(255,255,255,0.08); padding: 1rem 2rem;
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem;
}
footer .legal p { color: rgba(255,255,255,0.3); font-size: 0.8rem; }

/* ── RESPONSIVE ── */
@media screen and (max-width: 60rem) { .nav_links { width: 20rem; } }
@media screen and (max-width: 55rem) {
    header .view, .nav_links a { font-size: 0.8rem; }
    .gallery_container .gallery { columns: 2; }
}
@media screen and (max-width: 37rem) {
    header { height: 3.5rem; padding: 0 1rem; }
    .nav_links, header .view { display: none; }
    .menu { display: block; color: var(--c4); }
    .exit_menu { color: var(--c4); }
    .mob_nav_links {
        display: flex; position: fixed;
        top: 5rem; right: -100%;
        z-index: 1000; transition: right 0.4s ease;
    }
    .mob_nav_links .mob_links {
        padding: 1rem 0.8rem; width: 55vw; border-radius: 1rem;
        display: flex; flex-direction: column; gap: 0.4rem;
        background: rgba(255,255,255,0.95); backdrop-filter: blur(20px);
        border: 1px solid rgba(125,193,66,0.3);
        box-shadow: 0 20px 50px rgba(44,80,20,0.2);
    }
    .mob_links a {
        color: var(--text-light); padding: 0.5rem 1rem;
        border-radius: 0.5rem; text-decoration: none;
        transition: all 0.3s ease; font-size: 0.9rem;
    }
    .mob_links a:hover { background: rgba(125,193,66,0.1); color: var(--c4); }
    .hero_container { height: 80%; }
    .gallery_container .gallery { columns: 1; }
    .footer_container { flex-direction: column; padding: 2rem 1.5rem; }
    .footer_container [class*="part"] { min-width: unset; width: 100%; }
    footer .legal { flex-direction: column; text-align: center; }
}
