/* --- VARIABLES --- */
:root {
    --color-primary: #2C4A3B;     /* Vert Foncé (Texte & Boutons) */
    --color-secondary: #AED9B8;   /* Vert Pistache (Accents & Fonds) */
    --color-accent: #C5A059;      /* Or (Détails) */
    --color-bg-light: #FFF5F7;    /* Rose Poudre */
    --color-white: #FFFFFF;
    --color-text: #4a4a4a;
    
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Montserrat', sans-serif;
    
    --header-height: 80px;
    --z-fixed: 100;
    --z-top: 999;
}

/* --- RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    background-color: var(--color-white);
    line-height: 1.6;
}

h1, h2, h3 { font-family: var(--font-serif); color: var(--color-primary); line-height: 1.2; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* --- UTILITIES --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.text-center { text-align: center; }
.bg-rose { background-color: var(--color-bg-light); }
.bg-white { background-color: var(--color-white); }
.separator { width: 50px; height: 3px; background-color: var(--color-accent); margin-bottom: 1.5rem; }
.separator--center { margin: 0 auto 2rem; }

/* --- COMPONENTS: BUTTONS --- */
.btn { display: inline-block; padding: 0.75rem 2rem; border-radius: 50px; font-weight: 600; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 1px; cursor: pointer; transition: all 0.3s ease; }
.btn--primary { background-color: var(--color-primary); color: var(--color-white); }
.btn--primary:hover { background-color: var(--color-accent); transform: translateY(-2px); }
.btn--secondary { background-color: var(--color-secondary); color: var(--color-primary); }
.btn--secondary:hover { background-color: var(--color-primary); color: var(--color-white); }
.btn--outline { background-color: transparent; border: 2px solid var(--color-white); color: var(--color-white); }
.btn--outline:hover { background-color: var(--color-white); color: var(--color-primary); }

/* --- NAVBAR (Fixed & Glass) --- */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%; height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: var(--z-fixed);
    transition: 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.navbar__container { display: flex; justify-content: space-between; align-items: center; height: 100%; }
.navbar__logo { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 700; color: var(--color-primary); text-transform: uppercase; border: 2px solid var(--color-secondary); padding: 5px 15px; }
.navbar__list { display: flex; gap: 2rem; }
.navbar__link { font-size: 0.9rem; font-weight: 600; text-transform: uppercase; color: var(--color-primary); position: relative; }
.navbar__link:hover, .navbar__link.active-link { color: var(--color-accent); }
/* Scroll Spy Active Indicator */
.navbar__link.active-link::after {
    content: ''; position: absolute; bottom: -5px; left: 0; width: 100%; height: 2px; background-color: var(--color-accent);
}
.navbar__actions { display: flex; align-items: center; gap: 1rem; }
.navbar__burger { display: none; cursor: pointer; }

/* --- HERO --- */
.hero { position: relative; height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--color-white); margin-top: 0; }
.hero__bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; z-index: -2; }
.hero__overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(174, 217, 184, 0.4), rgba(44, 74, 59, 0.6)); z-index: -1; }
.hero__title { font-size: 3.5rem; margin-bottom: 1rem; }
.hero__subtitle { font-size: 1.25rem; font-weight: 300; margin-bottom: 2rem; }

/* --- SECTIONS --- */
.section { padding: 0; }
.section--padded { padding: 5rem 0; }
.split__container { display: grid; grid-template-columns: 1fr 1fr; min-height: 600px; padding: 0; margin: 0; max-width: 100%; width: 100%; }
.split__content { padding: 5rem; display: flex; flex-direction: column; justify-content: center; }
.split__image { position: relative; overflow: hidden; height: 100%; min-height: 400px; }
.split__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; filter: contrast(1.05) saturate(1.1); }
.split__image:hover img { transform: scale(1.03); }

/* --- CARDS GRID --- */
.grid { display: grid; gap: 2rem; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card { padding: 2.5rem; border: 1px solid #eee; background: white; text-align: left; transition: 0.3s; border-top: 4px solid var(--color-secondary); }
.card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.05); }
.card__title { font-size: 1.5rem; margin-bottom: 0.5rem; }
.card__price { display: block; font-family: var(--font-serif); font-style: italic; color: var(--color-accent); font-size: 1.25rem; margin-bottom: 1rem; }

/* --- FOOTER --- */
.footer { background-color: var(--color-secondary); color: var(--color-primary); padding: 4rem 0 2rem; }
.footer__container { display: flex; justify-content: space-between; margin-bottom: 2rem; }
.footer__title { margin-bottom: 1rem; font-size: 1.2rem; }
.footer__col a { display: block; font-weight: 600; margin-bottom: 0.5rem; }
.footer__copyright { text-align: center; padding-top: 2rem; border-top: 1px solid rgba(0,0,0,0.1); font-size: 0.8rem; }

/* --- SCROLL TO TOP --- */
.scroll-top {
    position: fixed; right: 2rem; bottom: -20%; background-color: var(--color-primary); color: white; padding: 0.6rem; border-radius: 50%; z-index: var(--z-top); transition: .4s; display: flex; opacity: 0;
}
.scroll-top:hover { background-color: var(--color-accent); transform: translateY(-3px); }
.show-scroll { bottom: 2rem; opacity: 1; }

/* --- RESPONSIVE --- */
@media screen and (max-width: 968px) {
    :root { --header-height: 70px; }
    .hero__title { font-size: 2.5rem; }
    .split__container { grid-template-columns: 1fr; }
    .split--reverse { display: flex; flex-direction: column-reverse; } /* Image on top mobile */
    .split__content { padding: 3rem 1.5rem; }
    
    /* Mobile Menu */
    .navbar__burger { display: block; }
    .navbar__nav {
        position: fixed; top: var(--header-height); right: -100%; width: 80%; height: 100vh;
        background-color: var(--color-white); padding: 2rem; transition: .4s;
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
        display: flex; flex-direction: column; gap: 2rem;
    }
    .show-menu { right: 0; }
    .navbar__list { flex-direction: column; }
    .btn--desktop { display: none; }
    
    /* Burger Animation */
    .navbar__burger span { display: block; width: 25px; height: 3px; background-color: var(--color-primary); margin-bottom: 5px; transition: 0.3s; }
    .navbar__burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
    .navbar__burger.active span:nth-child(2) { opacity: 0; }
    .navbar__burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }
}

/* --- ANIMATIONS CLASSES --- */
.fade-in-up { opacity: 0; transform: translateY(30px); animation: fadeInUp 0.8s forwards; }
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }

@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }