
/* Cimes & Jardins V2 - Refined Stylesheet */

/* --- PALETTE & TYPOGRAPHIE --- */
:root {
    --primary-green: #556B2F;      /* Vert sauge */
    --accent-bronze: #B08D57;      /* Bronze */
    --neutral-dark: #1A1A1A;       /* Noir profond */
    --neutral-light: #FAFAFA;      /* Blanc cassé */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

/* --- BASE & AMÉLIORATIONS GÉNÉRALES --- */
body {
    font-family: var(--font-body);
    color: var(--neutral-dark);
    background-color: var(--neutral-light);
    margin: 0;
    padding: 0;
    font-size: 1.1rem; /* Amélioration lisibilité */
    line-height: 1.8;  /* Espacement aéré */
}

h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--primary-green);
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

section {
    padding: 4rem 0;
}

/* --- HEADER & NAVIGATION --- */
header {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 2rem;
    border-bottom: 1px solid #eee;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-green);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

nav a {
    text-decoration: none;
    color: var(--neutral-dark);
    font-weight: 500;
    position: relative; /* Pour l'animation */
    padding-bottom: 5px;
}

/* Micro-interaction: Soulignement animé */
nav a::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-bronze);
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}

nav a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* --- HERO SECTION --- */
#hero {
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('https://placehold.co/1920x1080/F5F5DC/333333?text=Jardin+luxueux+avec+piscine') no-repeat center center/cover;
    color: white;
}

.hero-content {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 2rem 4rem;
    border-radius: 10px;
}

#hero h1 {
    font-size: 4rem;
    color: var(--neutral-light);
}

/* --- BOUTONS & CTA --- */
.cta-button, .submit-btn {
    background-color: var(--accent-bronze);
    color: var(--neutral-dark);
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: 700;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1); /* Ombre douce */
    transition: all 0.3s ease;
}

/* Micro-interaction: Déplacement au survol */
.cta-button:hover, .submit-btn:hover {
    background-color: #c8a029;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15); /* Ombre plus prononcée */
}

/* --- SECTION SERVICES (ACCORDÉON) --- */
#services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.accordion { max-width: 900px; margin: 2rem auto; }
.accordion-item { border-bottom: 1px solid #eee; }

.accordion-header {
    background: #fff;
    width: 100%;
    border: none;
    text-align: left;
    padding: 1.5rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05); /* Ombre douce */
}

.accordion-header:hover, .accordion-header.active {
    background-color: #f7f5f2; /* Fond légèrement différent pour l'état actif */
    color: var(--primary-green);
}

.accordion-icon::before {
    content: '+'; /* Icône plus par défaut */
    font-size: 2rem;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.accordion-header.active .accordion-icon::before {
    content: '−'; /* Icône moins pour l'état actif */
}

.accordion-panel {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s ease-out, opacity 0.4s ease-in-out, padding 0.5s ease; /* Animation douce */
    padding: 0 1.5rem;
}

.panel-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 2rem 0; /* Padding interne pour le contenu */
}

.panel-content img {
    width: 100%;
    max-width: 300px;
    height: auto;
    object-fit: cover;
    border-radius: 5px;
}

.panel-content div { flex: 1; min-width: 300px; }

/* --- PORTFOLIO --- */
#portfolio h2 { text-align: center; font-size: 2.5rem; margin-bottom: 2rem; }
.filter-buttons { display: flex; justify-content: center; gap: 1rem; margin-bottom: 2rem; }
.filter-btn { background: #fff; border: 1px solid #ddd; padding: 0.5rem 1.5rem; border-radius: 20px; cursor: pointer; transition: all 0.3s ease; }
.filter-btn.active, .filter-btn:hover { background: var(--primary-green); color: white; border-color: var(--primary-green); }
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); grid-auto-rows: 250px; grid-auto-flow: dense; gap: 1rem; }

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease, filter 0.4s ease; /* Animation pour zoom et filtre */
}

.portfolio-item:hover img {
    transform: scale(1.05);
    filter: brightness(0.8);
}

.portfolio-item .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: white;
    padding: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    font-family: var(--font-heading);
}

.portfolio-item:hover .overlay {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-item.tall { grid-row: span 2; }
.portfolio-item.hide { display: none; }

/* --- CONTACT FORM --- */
#contact { background-color: #fdfdfd; }
#contact h2 { text-align: center; font-size: 2.5rem; margin-bottom: 2rem; }
#multi-step-form { max-width: 600px; margin: 0 auto; background: #fff; padding: 2rem; border-radius: 10px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }

/* --- FOOTER --- */
footer {
    background-color: var(--neutral-dark);
    color: var(--neutral-light);
    padding: 4rem 2rem 1rem 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr; /* Structure en colonnes */
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column h3 { color: var(--accent-bronze); }
.footer-column ul { list-style: none; padding: 0; }
.footer-column ul li { margin-bottom: 0.5rem; }
.footer-column a { color: var(--neutral-light); text-decoration: none; transition: color 0.3s ease; }
.footer-column a:hover { color: var(--accent-bronze); }

#map-container { min-height: 250px; display: flex; flex-direction: column; }
#map { flex-grow: 1; border-radius: 10px; z-index: 1; }

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #333;
    font-size: 0.9rem;
}

@media (max-width: 992px) {
    .footer-container { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .footer-container { grid-template-columns: 1fr; }
}
