/* ==========================================================================
   Design System — Paysagiste (Ultra Premium & Moderne)
   Palette : Vert Forêt Profond, Émeraude Vif, Or/Bronze, Blanc Pur.
   Effets : Glassmorphism, Micro-animations, Soft Shadows.
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
    /* Surfaces */
    --color-bg: #F8F9F7;
    --color-surface: #FFFFFF;
    --color-surface-glass: rgba(255, 255, 255, 0.85);
    --color-surface-dark: #1A2E24;
    --color-border: rgba(26, 46, 36, 0.08);

    /* Accents */
    --color-emerald: #10B981;
    --color-emerald-light: #34D399;
    --color-forest: #064E3B;
    --color-gold: #D4AF37;
    --color-gold-light: #E8C766;
    --color-gold-hover: #C5A028;

    /* Text */
    --color-text: #111827;
    --color-text-muted: #4B5563;
    --color-text-light: #F3F4F6;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    --transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
    --shadow-lg: 0 20px 40px -5px rgba(6, 78, 59, 0.08), 0 10px 15px -5px rgba(6, 78, 59, 0.04);
    --shadow-glow: 0 0 20px rgba(16, 185, 129, 0.3);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-weight: 400;
    background: var(--color-bg);
    color: var(--color-text-muted);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--color-text);
    line-height: 1.2;
}

p { color: var(--color-text-muted); }
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; border-radius: 16px; }
ul { list-style: none; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* ==========================================================================
   Header (Glassmorphism Sticky)
   ========================================================================== */
.header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 48px);
    max-width: 1240px;
    z-index: 1000;
    background: var(--color-surface-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    padding: 0 32px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--color-forest);
}

.brand-mark {
    color: var(--color-emerald);
    font-size: 28px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-links a:not(.btn) {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-muted);
    position: relative;
    white-space: nowrap;
}

.nav-links a:not(.btn):hover, .nav-links a:not(.btn).active {
    color: var(--color-forest);
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-emerald);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-links a:not(.btn):hover::after, .nav-links a:not(.btn).active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--color-forest);
    cursor: pointer;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 32px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-forest {
    background: var(--color-forest);
    color: var(--color-surface);
    box-shadow: 0 10px 20px -5px rgba(6, 78, 59, 0.4);
}

.btn-forest:hover {
    background: #04382B;
    transform: translateY(-3px);
    box-shadow: 0 15px 25px -5px rgba(6, 78, 59, 0.5);
}

.btn-emerald {
    background: var(--color-emerald);
    color: var(--color-surface);
    box-shadow: 0 10px 20px -5px rgba(16, 185, 129, 0.4);
}

.btn-emerald:hover {
    background: var(--color-emerald-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--color-forest);
    color: var(--color-forest);
}

.btn-outline:hover {
    background: var(--color-forest);
    color: var(--color-surface);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    padding: 180px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.hero-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(6, 78, 59, 0.9) 0%, rgba(6, 78, 59, 0.6) 50%, transparent 100%);
    z-index: -1;
}

.hero-content {
    max-width: 700px;
    color: var(--color-surface);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-emerald);
    margin-bottom: 24px;
}

.eyebrow::before {
    content: '';
    width: 40px;
    height: 2px;
    background: var(--color-emerald);
    border-radius: 2px;
}

.hero-content h1 {
    font-size: 5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--color-surface);
}

.hero-content h1 em {
    font-style: italic;
    color: var(--color-gold);
}

.hero-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-surface);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Floating Google Review */
.floating-review {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 16px 24px;
    border-radius: 100px;
    box-shadow: var(--shadow-lg);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.floating-review img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.floating-review .stars {
    color: #FBBF24;
    font-size: 14px;
    letter-spacing: 2px;
}

.floating-review span {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-surface);
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: 120px 0; }
.section--alt { background: var(--color-surface); }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 80px; }

.section-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--color-forest);
}

.section-title em {
    font-style: italic;
    color: var(--color-emerald);
}

.section-desc {
    font-size: 1.15rem;
}

/* ==========================================================================
   Grid & Cards (Expertises)
   ========================================================================== */
.grid { display: grid; gap: 40px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
    background: var(--color-surface);
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, transparent 100%);
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(16, 185, 129, 0.2);
}

.card:hover::before { opacity: 1; }

.icon-badge {
    width: 64px;
    height: 64px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--color-emerald);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 24px;
    transition: var(--transition);
}

.card:hover .icon-badge {
    background: var(--color-emerald);
    color: var(--color-surface);
    transform: scale(1.1) rotate(-5deg);
}

.card h3 {
    font-size: 1.75rem;
    margin-bottom: 16px;
    font-family: var(--font-body);
    font-weight: 700;
}

.card p {
    margin-bottom: 24px;
}

.card-link {
    font-weight: 700;
    color: var(--color-forest);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.card-link i { transition: var(--transition); }
.card-link:hover { color: var(--color-emerald); }
.card-link:hover i { transform: translateX(5px); }

/* ==========================================================================
   Portfolio (Modern Grid)
   ========================================================================== */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 30px;
}

.project-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    display: block;
    box-shadow: var(--shadow-md);
}

.project-card.large { grid-column: span 8; height: 500px; }
.project-card.small { grid-column: span 4; height: 500px; }
.project-card.wide { grid-column: span 12; height: 400px; }

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover img { transform: scale(1.05); }

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(6, 78, 59, 0.9) 0%, transparent 60%);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.project-tag {
    background: var(--color-emerald);
    color: var(--color-surface);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    align-self: flex-start;
    margin-bottom: 16px;
}

.project-overlay h4 {
    color: var(--color-surface);
    font-size: 2rem;
    margin-bottom: 8px;
    font-family: var(--font-body);
    font-weight: 700;
}

.project-overlay p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

/* ==========================================================================
   Stats Section
   ========================================================================== */
.stats-section {
    background: var(--color-forest);
    color: var(--color-surface);
    padding: 80px 0;
    position: relative;
}

.stats-row {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 40px;
}

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

.stat-item strong {
    display: block;
    font-size: 4rem;
    font-family: var(--font-heading);
    color: var(--color-emerald);
    line-height: 1;
    margin-bottom: 12px;
}

.stat-item span {
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.9;
}

/* ==========================================================================
   FAB (Floating Action Button)
   ========================================================================== */
.fab {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background: var(--color-emerald);
    color: var(--color-surface);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.5);
    z-index: 999;
    transition: var(--transition);
}

.fab:hover {
    transform: scale(1.1) rotate(15deg);
    background: var(--color-forest);
    box-shadow: 0 15px 30px rgba(6, 78, 59, 0.6);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: var(--color-surface-dark);
    color: var(--color-surface);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer h4 {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 24px;
    color: var(--color-emerald);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
}

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

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-content h1 { font-size: 4rem; }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .project-card.large, .project-card.small { grid-column: span 12; height: 400px; }
}

@media (max-width: 1140px) {
    .header { width: 100%; top: 0; border-radius: 0; }
    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        overflow-y: auto;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        background: var(--color-surface);
        border-top: 1px solid var(--color-border);
        border-radius: 0;
        padding: 24px 32px;
        box-shadow: var(--shadow-lg);
    }
    .nav-links.active { display: flex; }
    .nav-links a:not(.btn) { width: 100%; padding: 14px 0; border-bottom: 1px solid var(--color-border); }
    .nav-links a:not(.btn)::after { display: none; }
    .nav-links a.btn { margin-top: 12px; width: 100%; text-align: center; }
    .menu-toggle { display: block; }
}

@media (max-width: 768px) {
    .hero-content h1 { font-size: 3rem; }
    .hero { padding-top: 140px; }
    .grid-3 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-actions { flex-direction: column; }
    .fab { bottom: 20px; right: 20px; width: 56px; height: 56px; }
    .section-title { font-size: 2.5rem; }
    .floating-review { display: none; }
}

/* ==========================================================================
   Inner Pages Specific Styles (Restored & Adapted)
   ========================================================================== */
.page-hero {
    position: relative;
    padding: 160px 0 80px;
    min-height: 40vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--color-surface);
}

.page-hero-media {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.page-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.page-hero-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(6, 78, 59, 0.95), rgba(6, 78, 59, 0.4));
    z-index: -1;
}

.page-hero h1 {
    font-size: 4rem;
    color: var(--color-surface);
    margin-bottom: 20px;
}

.page-hero h1 em {
    color: var(--color-emerald);
    font-style: italic;
}

/* Services Nav */
.services-nav {
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 100px;
    z-index: 100;
}

.services-nav-inner {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    justify-content: center;
}

.services-tab {
    background: var(--color-bg);
    border: none;
    padding: 12px 24px;
    border-radius: 100px;
    font-weight: 600;
    font-family: var(--font-body);
    color: var(--color-text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.services-tab.active, .services-tab:hover {
    background: var(--color-forest);
    color: var(--color-surface);
}

.services-panel { display: none; }
.services-panel.active { display: block; animation: fadeIn 0.5s ease; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* Cards & Layouts */
.type-pill-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: var(--color-surface);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    transition: var(--transition);
}

.type-pill-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-emerald);
}

.type-pill-card i {
    font-size: 24px;
    color: var(--color-emerald);
    background: rgba(16, 185, 129, 0.1);
    padding: 16px;
    border-radius: 16px;
}

.type-pill-card h4 { font-size: 1.25rem; margin-bottom: 8px; font-family: var(--font-body); font-weight: 700; }

.grid-auto {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.ville-card {
    background: var(--color-surface);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
}

.ville-card h4 { display: flex; align-items: center; gap: 10px; font-size: 1.5rem; margin-bottom: 16px; color: var(--color-forest); }
.ville-card h4 i { color: var(--color-emerald); }

.ville-services { display: flex; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.ville-services span { background: rgba(16, 185, 129, 0.1); color: var(--color-emerald); padding: 4px 12px; border-radius: 100px; font-size: 12px; font-weight: 700; }

/* Split Layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

.check-list { display: flex; flex-direction: column; gap: 16px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; }
.check-list i { color: var(--color-emerald); margin-top: 4px; }

.info-panel { background: rgba(16, 185, 129, 0.05); border-left: 4px solid var(--color-emerald); border-radius: 0 16px 16px 0; }

/* Before / After Frame */
.ba-frame { position: relative; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); display: flex; }
.ba-frame img { width: 50%; object-fit: cover; border-radius: 0; }
.ba-tag { position: absolute; top: 20px; padding: 6px 16px; background: rgba(0,0,0,0.6); color: white; border-radius: 100px; font-size: 12px; font-weight: 700; backdrop-filter: blur(4px); }
.ba-tag.before { left: 20px; }
.ba-tag.after { right: 20px; }
.after-wrap { width: 50%; display: flex; position: relative; }
.after-wrap img { width: 100%; }

.section--tight { padding: 60px 0; }

@media (max-width: 768px) {
    .split { grid-template-columns: 1fr; }
    .page-hero h1 { font-size: 2.5rem; }
}

/* Split Media Fixes */
.split-media img {
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: auto;
    object-fit: cover;
    max-height: 500px;
}

/* Contact Page Styles */
.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-method .icon-badge {
    width: 48px;
    height: 48px;
    font-size: 20px;
    margin-bottom: 0;
}

.contact-method h4 { font-size: 1.1rem; margin-bottom: 4px; }

.contact-panel {
    background: var(--color-surface);
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { margin-bottom: 20px; }
.form-field label { display: block; margin-bottom: 8px; font-weight: 600; color: var(--color-text); }
.form-field input, .form-field select, .form-field textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--color-bg);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
    outline: none;
    border-color: var(--color-emerald);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

.form-note { font-size: 0.9rem; margin-top: 16px; color: var(--color-text-muted); text-align: center; }

/* FAQ Styles */
.faq-item {
    background: var(--color-surface);
    padding: 24px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
    border: 1px solid var(--color-border);
}
.faq-item h4 { display: flex; align-items: center; gap: 12px; font-size: 1.25rem; margin-bottom: 12px; color: var(--color-forest); }
.faq-item h4 i { color: var(--color-emerald); font-size: 1.5rem; }

/* Global Button Fix for btn-gold inside inner pages */
.btn-gold {
    background: var(--color-gold);
    color: var(--color-surface);
}
.btn-gold:hover {
    background: var(--color-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

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

/* CSS fixes for Steps, Features, and CTA */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }

.step { text-align: center; }
.step-num { 
    display: flex; align-items: center; justify-content: center; 
    width: 64px; height: 64px; margin: 0 auto 20px; 
    background: rgba(16, 185, 129, 0.1); color: var(--color-emerald); 
    border-radius: 50%; font-size: 24px; font-weight: 700; font-family: var(--font-heading);
}
.step h4 { font-size: 1.25rem; margin-bottom: 12px; }

.info-item { text-align: center; }
.info-item i { font-size: 32px; color: var(--color-emerald); margin-bottom: 16px; }
.info-item h4 { font-size: 1.15rem; margin-bottom: 8px; color: var(--color-forest); }
.info-item p { font-size: 0.95rem; }

.cta-band {
    background: var(--color-surface-dark);
    color: var(--color-surface);
    padding: 80px 0;
    text-align: center;
    margin-bottom: 0;
}
.cta-band h2 { font-size: 2.5rem; color: var(--color-surface); margin-bottom: 20px; }
.cta-band p { margin: 0 auto 30px; max-width: 600px; color: rgba(255,255,255,0.8); }

/* FAQ Accordion Hover */
.faq-item { cursor: pointer; transition: var(--transition); }
.faq-item:hover { border-color: var(--color-emerald); }

@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .grid-4 { grid-template-columns: 1fr; }
}

.page-hero .container {
    text-align: center;
}
.page-hero .section-desc {
    color: rgba(255, 255, 255, 0.85);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-hero .eyebrow {
    color: var(--color-emerald);
}

/* ==========================================================================
   FAQ (accordéon) — question/réponse
   ========================================================================== */
.faq-container { display: flex; flex-direction: column; gap: 20px; max-width: 800px; margin: 0 auto; }
.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: none;
    border: none;
    padding: 0;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-forest);
    text-align: left;
    cursor: pointer;
}
.faq-question i { color: var(--color-emerald); font-size: 16px; flex-shrink: 0; transition: transform 0.3s; }
.faq-item.active .faq-question i { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding-top 0.35s ease; }
.faq-item.active .faq-answer { max-height: 300px; padding-top: 16px; }
.faq-answer p { margin: 0; }

/* ==========================================================================
   Info band (avantages pratiques)
   ========================================================================== */
.info-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; background: var(--color-surface); border-radius: 24px; padding: 50px; box-shadow: var(--shadow-sm); border: 1px solid var(--color-border); }
.info-band .info-item { display: flex; flex-direction: column; align-items: center; text-align: center; }
.info-band .info-item .icon { width: 56px; height: 56px; border-radius: 16px; background: rgba(16, 185, 129, 0.1); color: var(--color-emerald); display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 16px; }
.info-band .info-item h4 { font-size: 1.05rem; margin-bottom: 8px; color: var(--color-forest); }
.info-band .info-item p { font-size: 0.9rem; margin: 0; }
@media (max-width: 1024px) { .info-band { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .info-band { grid-template-columns: 1fr; padding: 30px; } }

/* ==========================================================================
   Sous-menu Prestations / filtres blog (tabs)
   ========================================================================== */
.tabs-nav { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 50px; justify-content: center; }
.filter-tab {
    flex-shrink: 0;
    padding: 12px 26px;
    background: var(--color-bg);
    border: none;
    border-radius: 100px;
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: var(--transition);
}
.filter-tab:hover { background: rgba(16, 185, 129, 0.1); color: var(--color-emerald); }
.filter-tab.active { background: var(--color-forest); color: var(--color-surface); }

/* ==========================================================================
   Breadcrumb
   ========================================================================== */
.breadcrumb-link {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 13px; font-weight: 700; letter-spacing: 0.5px;
    color: var(--color-emerald);
    margin-bottom: 24px;
}
.breadcrumb-link:hover { color: var(--color-gold); }

/* ==========================================================================
   Fiche projet (détail réalisation)
   ========================================================================== */
.project-hero-img { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); }
.project-hero-img img { width: 100%; height: 520px; object-fit: cover; border-radius: 0; }
.tech-sheet { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 24px; padding: 40px; box-shadow: var(--shadow-sm); position: sticky; top: 140px; }
.tech-sheet h3 { font-size: 1.3rem; margin-bottom: 26px; padding-bottom: 16px; border-bottom: 1px solid var(--color-border); color: var(--color-forest); }
.tech-row { margin-bottom: 20px; }
.tech-row:last-of-type { margin-bottom: 30px; }
.tech-row span { display: block; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--color-text-muted); margin-bottom: 5px; font-weight: 700; }
.tech-row strong { font-size: 15px; font-weight: 700; color: var(--color-forest); }
.gallery-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.gallery-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.gallery-2 img, .gallery-3 img { border-radius: 20px; height: 280px; object-fit: cover; width: 100%; box-shadow: var(--shadow-sm); }
@media (max-width: 992px) { .tech-sheet { position: static; margin-top: 40px; } }
@media (max-width: 768px) { .gallery-2, .gallery-3 { grid-template-columns: 1fr; } }

/* ==========================================================================
   Blog — liste d'articles
   ========================================================================== */
.article-card { background: var(--color-surface); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--color-border); transition: var(--transition); display: flex; flex-direction: column; }
.article-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.article-card img { height: 220px; object-fit: cover; width: 100%; border-radius: 0; }
.article-card-body { padding: 30px 30px 34px; flex-grow: 1; display: flex; flex-direction: column; }
.article-meta { display: flex; align-items: center; gap: 14px; font-size: 11px; letter-spacing: 0.5px; text-transform: uppercase; color: var(--color-text-muted); margin-bottom: 14px; font-weight: 700; }
.article-meta .tag { color: var(--color-emerald); }
.article-card h3 { font-size: 1.3rem; margin-bottom: 12px; font-family: var(--font-body); font-weight: 700; }
.article-card p { font-size: 14px; margin-bottom: 18px; flex-grow: 1; }

/* Article détail */
.article-hero { padding: 190px 0 60px; text-align: center; }
.article-hero-img { border-radius: 24px; overflow: hidden; margin-top: 40px; box-shadow: var(--shadow-lg); }
.article-hero-img img { width: 100%; height: 440px; object-fit: cover; border-radius: 0; }
.article-body { max-width: 720px; margin: 0 auto; }
.article-body p { font-size: 16px; margin-bottom: 24px; }
.article-body h2 { font-size: 1.9rem; margin: 46px 0 20px; color: var(--color-forest); }
.article-body img { border-radius: 20px; margin: 36px 0; }

.pull-quote {
    border-left: 3px solid var(--color-emerald);
    padding: 6px 0 6px 30px;
    margin: 40px 0;
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.5rem;
    color: var(--color-forest);
    line-height: 1.5;
}

.takeaway-box { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 20px; padding: 34px 38px; margin: 40px 0; box-shadow: var(--shadow-sm); }
.takeaway-box h4 { font-size: 1.1rem; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; color: var(--color-forest); }
.takeaway-box h4 i { color: var(--color-emerald); }
.takeaway-box ul { display: grid; gap: 12px; }
.takeaway-box li { display: flex; align-items: flex-start; gap: 12px; font-size: 14.5px; }
.takeaway-box li i { color: var(--color-emerald); margin-top: 4px; font-size: 12px; }

.author-box { display: flex; align-items: center; gap: 20px; padding: 30px; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 20px; margin-top: 50px; }
.author-box h4 { font-size: 1rem; margin-bottom: 2px; }
.author-box span { font-size: 12px; color: var(--color-text-muted); }

.newsletter-box { background: var(--color-forest); border-radius: 24px; padding: 60px; text-align: center; color: var(--color-surface); }
.newsletter-box .section-title { color: var(--color-surface); }
.newsletter-box .section-title em { color: var(--color-gold); }
.newsletter-box .section-desc { color: rgba(255,255,255,0.8); }
.newsletter-form { display: flex; gap: 12px; max-width: 440px; margin: 30px auto 0; }
.newsletter-form input { flex-grow: 1; padding: 15px 20px; border-radius: 100px; border: none; font-family: var(--font-body); font-size: 14px; }
.newsletter-form input:focus { outline: 2px solid var(--color-emerald); }
.newsletter-form .btn { border-radius: 100px; }

@media (max-width: 768px) {
    .article-hero { padding: 140px 0 40px; }
    .article-hero-img img { height: 260px; }
    .article-body h2 { font-size: 1.5rem; }
    .pull-quote { font-size: 1.2rem; padding-left: 20px; }
    .newsletter-box { padding: 40px 24px; }
    .newsletter-form { flex-direction: column; }
    .author-box { flex-direction: column; text-align: center; }
}

/* ==========================================================================
   Team avatars (générique, avis + atelier)
   ========================================================================== */
.team-avatar {
    width: 96px; height: 96px;
    margin: 0 auto 22px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.1);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--color-emerald);
}
.team-card { text-align: center; }
.team-card h4 { font-size: 1.2rem; margin-bottom: 4px; }
.team-card .role { display: block; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--color-gold-hover); margin-bottom: 14px; font-weight: 700; }
.team-card p { font-size: 13.5px; }
.author-box .team-avatar { width: 60px; height: 60px; font-size: 1.2rem; margin: 0; flex-shrink: 0; }

.value-card { text-align: center; }
.value-card .icon-badge { margin: 0 auto 24px; }

.cert-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px; }
.cert-item { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; max-width: 180px; }
.cert-item i { font-size: 30px; color: var(--color-emerald); }
.cert-item span { font-size: 12px; font-weight: 700; color: var(--color-text-muted); }

/* ==========================================================================
   Rating summary
   ========================================================================== */
.rating-summary { display: inline-flex; align-items: center; gap: 14px; margin-top: 8px; }
.rating-summary .stars { color: var(--color-gold); font-size: 18px; }
.rating-summary strong { font-family: var(--font-heading); color: var(--color-forest); font-size: 1.2rem; }
.rating-summary span { font-size: 13px; color: var(--color-text-muted); }

/* ==========================================================================
   Zone d'intervention — diagramme rayon
   ========================================================================== */
.radius-diagram { position: relative; width: 100%; max-width: 420px; aspect-ratio: 1; margin: 0 auto; display: flex; align-items: center; justify-content: center; }
.radius-ring { position: absolute; border: 1px dashed var(--color-border); border-radius: 50%; }
.radius-ring.r1 { width: 100%; height: 100%; }
.radius-ring.r2 { width: 68%; height: 68%; }
.radius-ring.r3 { width: 36%; height: 36%; }
.radius-center {
    position: relative; z-index: 2;
    width: 84px; height: 84px;
    border-radius: 50%;
    background: var(--color-forest);
    color: var(--color-surface);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    font-family: var(--font-heading);
    box-shadow: var(--shadow-lg);
}
.radius-center i { font-size: 22px; margin-bottom: 4px; color: var(--color-gold); }
.radius-center span { font-size: 9px; letter-spacing: 1px; text-transform: uppercase; }
.radius-label {
    position: absolute;
    font-size: 10.5px; letter-spacing: 1px; text-transform: uppercase; color: var(--color-text-muted);
    background: var(--color-bg); padding: 2px 10px; font-weight: 700;
    border-radius: 100px;
}
.radius-label.l1 { top: 2%; left: 50%; transform: translateX(-50%); }
.radius-label.l2 { top: 17%; left: 50%; transform: translateX(-50%); }

/* ==========================================================================
   Chips (zones desservies)
   ========================================================================== */
.chip-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.chip {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 22px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 100px;
    font-size: 13px; font-weight: 600; color: var(--color-text-muted);
    box-shadow: var(--shadow-sm);
}
.chip i { color: var(--color-emerald); }

/* ==========================================================================
   Wow Factor: Animations & Interactives
   ========================================================================== */
/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.5, 0, 0, 1), transform 0.8s cubic-bezier(0.5, 0, 0, 1);
    will-change: opacity, transform;
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Before/After Slider */
.ba-slider-container {
    max-width: 1000px;
    margin: 40px auto 0;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--color-surface);
}
.ba-slider {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    cursor: col-resize;
}
.ba-img-after, .ba-img-before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}
.ba-img-before-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%; /* Default starting point */
    height: 100%;
    overflow: hidden;
    border-right: 3px solid var(--color-surface);
}
/* This ensures the before image inside the wrap doesn't shrink, it stays full width relative to slider */
.ba-img-before-wrap img {
    width: 1000px; /* Same as max-width, or managed via JS to match slider width */
    max-width: none;
}
.ba-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 40px;
    height: 100%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}
.ba-arrows {
    width: 46px;
    height: 46px;
    background: var(--color-forest);
    color: var(--color-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    border: 3px solid var(--color-surface);
}

/* Calculator Form */
.calc-select:focus {
    outline: none;
    border-color: var(--color-emerald);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

/* ==========================================================================
   Responsive Refactor (Mobile First Polish)
   ========================================================================== */
@media (max-width: 768px) {
    /* 1. Typography and Spacing */
    .section { padding: 60px 0; }
    .section-title { font-size: 2rem; }
    .hero-content h1, .page-hero h1 { font-size: 2.5rem; }
    .page-hero { padding: 120px 0 60px; min-height: auto; }
    
    /* 2. Hero Stats & Layout */
    .hero-stats { flex-wrap: wrap; gap: 20px; }
    .stat-item { flex: 1 1 40%; min-width: 140px; }
    
    /* Wow Components Mobile adjustments */
    .ba-slider { height: 300px; }
    .ba-slider-container { border-width: 2px; }
    
    /* 3. Services Nav (Horizontal Scroll) */
    .services-nav-inner {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 16px 20px;
        justify-content: flex-start;
        scroll-snap-type: x mandatory;
    }
    .services-nav-inner::-webkit-scrollbar { display: none; }
    .services-tab { flex-shrink: 0; scroll-snap-align: start; }
    
    /* 4. Grids & Forms */
    .split, .grid-4, .grid-2, .form-row, .contact-grid { 
        grid-template-columns: 1fr !important; 
        gap: 30px; 
    }
    
    /* 5. Footer Alignments */
    .footer-bottom { 
        flex-direction: column; 
        text-align: center; 
        gap: 16px; 
        justify-content: center; 
    }
    .footer-bottom-links { 
        justify-content: center; 
    }
}

@media (max-width: 480px) {
    .hero-content h1, .page-hero h1 { font-size: 2rem; }
    .section-title { font-size: 1.75rem; }
}

/* Added Responsive Enhancements */
.section-header-flex { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 60px; }
@media (max-width: 768px) {
    .section-header-flex { flex-direction: column !important; align-items: flex-start !important; gap: 20px; }
    .portfolio-grid { display: flex !important; flex-direction: column; gap: 20px; }
    .project-card.large, .project-card.small, .project-card.wide { grid-column: auto !important; height: 350px !important; }
}

/* Dropdown Navigation */
.nav-dropdown { position: relative; display: inline-block; }
.nav-dropdown-menu { 
    display: none; 
    position: absolute; 
    top: 100%; 
    left: 0; 
    background-color: var(--color-bg); 
    min-width: 250px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); 
    border-radius: 8px; 
    z-index: 1000; 
    padding: 10px 0; 
    border-top: 3px solid var(--color-emerald);
}
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a { 
    color: var(--color-text) !important; 
    padding: 12px 20px; 
    text-decoration: none; 
    display: block; 
    transition: background 0.3s, color 0.3s;
    font-size: 0.95rem;
    font-weight: 500;
}
.nav-dropdown-menu a:hover { 
    background-color: rgba(16, 185, 129, 0.05); 
    color: var(--color-emerald) !important; 
}
@media (max-width: 1140px) {
    .nav-dropdown {
        width: 100%;
        display: flex;
        flex-direction: column;
    }
    .nav-dropdown > a {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        border-bottom: none !important;
    }
    .nav-dropdown-menu {
        position: static;
        box-shadow: none;
        border-top: none;
        background: rgba(16, 185, 129, 0.05); /* Light emerald background for sub-items */
        padding-left: 20px;
        padding-right: 20px;
        border-radius: 8px;
        display: none !important; /* Hidden by default on mobile, toggle via JS */
        flex-direction: column;
        width: 100%;
        margin-bottom: 10px;
    }
    .nav-dropdown-menu.open {
        display: flex !important;
    }
    .nav-dropdown-menu a {
        border-bottom: 1px solid rgba(0,0,0,0.05) !important;
        padding: 12px 0 !important;
        font-size: 0.9rem !important;
    }
    .nav-dropdown-menu a:last-child {
        border-bottom: none !important;
    }
}
