/* ================================================================
   ÉcoVert — Paysagiste & Espaces Verts
   ================================================================ */

:root {
    --green-900: #0d2818;
    --green-800: #14432a;
    --green-600: #2d6a4f;
    --green-500: #40916c;
    --green-400: #52b788;
    --green-300: #74c69d;
    --green-200: #95d5b2;
    --green-100: #b7e4c7;
    --green-50: #d8f3dc;
    --cream: #f7f4ef;
    --white: #ffffff;
    --text: #1a1a1a;
    --text-muted: #5a5a5a;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* RESET */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--cream);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* LAYOUT */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 7rem 0; }
.section-compact { padding: 4.5rem 0; }
.section-cream { background: var(--cream); }
.section-white { background: var(--white); }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header-compact { margin-bottom: 2.5rem; }

.section-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--green-500);
    margin-bottom: 1rem;
}
.section-tag.light { color: var(--green-300); }

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 600;
    color: var(--green-900);
    line-height: 1.2;
}
.section-title.light { color: var(--white); }

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.4rem;
    border-radius: 60px;
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: all 0.4s var(--ease);
}
.btn-primary { background: var(--green-600); color: var(--white); }
.btn-primary:hover {
    background: var(--green-800);
    transform: translateY(-2px);
    box-shadow: 0 14px 40px rgba(45,106,79,0.3);
}
.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,0.35);
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.7);
}
.btn-full { width: 100%; }
.btn-lg { padding: 1.2rem 3rem; font-size: 1rem; }

/* ===== NAVBAR ===== */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.4rem 0;
    background-color: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
    border: none;
    outline: none;
    transition: background-color 0.4s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
#navbar.scrolled {
    background-color: rgba(255,255,255,0.95) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    padding: 0.7rem 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06) !important;
}
#navbar.scrolled .logo-text,
#navbar.scrolled .nav-links a { color: var(--green-900); }
#navbar.scrolled .btn-nav {
    background: var(--green-600) !important;
    color: var(--white) !important;
    border-color: var(--green-600) !important;
}
#navbar.scrolled .menu-toggle span { background: var(--green-900); }

.nav-container {
    max-width: 1200px; margin: 0 auto; padding: 0 2rem;
    display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 0.5rem; z-index: 1001; position: relative; }
.logo-icon { font-size: 1.6rem; }
.logo-text {
    font-family: var(--font-display); font-size: 1.5rem; font-weight: 700;
    color: var(--white); transition: color 0.4s;
}
.nav-links { display: flex; align-items: center; gap: 2.2rem; }
.nav-links a { font-size: 0.88rem; color: rgba(255,255,255,0.8); transition: color 0.3s; }
.nav-links a:hover { color: var(--white); }
.btn-nav {
    padding: 0.6rem 1.6rem !important; border-radius: 60px;
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.25) !important;
}
.menu-toggle {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; z-index: 10;
}
.menu-toggle span {
    width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: all 0.3s;
}

/* ===== HERO ===== */
.hero {
    position: relative; height: 100vh; min-height: 700px;
    display: flex; align-items: center; overflow: hidden;
    background: var(--green-900);
}
.hero-bg {
    position: absolute; inset: -20% 0; will-change: transform;
}
.hero-bg img {
    width: 100%; height: 100%; object-fit: cover; object-position: center 30%;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(
        to right,
        rgba(13,40,24,0.82) 0%,
        rgba(13,40,24,0.5) 45%,
        rgba(13,40,24,0.15) 100%
    );
    z-index: 1;
}
.hero-content {
    position: relative; z-index: 2;
    max-width: 1200px; margin: 0 auto; padding: 0 2rem; width: 100%;
}
.hero-subtitle {
    font-size: 0.82rem; font-weight: 500; text-transform: uppercase;
    letter-spacing: 4px; color: var(--green-200);
    margin-bottom: 1.5rem; opacity: 0; transform: translateY(20px);
}
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.8rem,6vw,5.5rem);
    font-weight: 700; color: var(--white); line-height: 1.08; margin-bottom: 1.5rem;
}
.title-line { display: block; opacity: 0; transform: translateY(40px); }
.title-line.accent { color: var(--green-300); font-style: italic; }
.hero-description {
    font-size: 1.05rem; color: rgba(255,255,255,0.65);
    max-width: 500px; line-height: 1.75; margin-bottom: 2.5rem;
    opacity: 0; transform: translateY(20px);
}
.hero-buttons {
    display: flex; gap: 1rem; flex-wrap: wrap;
    opacity: 0; transform: translateY(20px);
}
.scroll-indicator {
    position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
    z-index: 3; display: flex; flex-direction: column; align-items: center;
    gap: 0.6rem; opacity: 0;
}
.scroll-mouse {
    width: 20px; height: 32px;
    border: 1.5px solid rgba(255,255,255,0.3); border-radius: 10px;
    display: flex; justify-content: center; padding-top: 6px;
}
.scroll-dot {
    width: 3px; height: 7px; background: rgba(255,255,255,0.6);
    border-radius: 3px; animation: scrollAnim 2s ease-in-out infinite;
}
@keyframes scrollAnim {
    0%,100% { transform: translateY(0); opacity: 1; }
    60% { transform: translateY(8px); opacity: 0; }
}
.scroll-indicator span {
    font-size: 0.6rem; text-transform: uppercase;
    letter-spacing: 3px; color: rgba(255,255,255,0.35);
}

/* ===== MARQUEE ===== */
.marquee { background: var(--green-900); padding: 1rem 0; overflow: hidden; }
.marquee-track {
    display: flex; align-items: center; gap: 2.5rem;
    width: max-content; animation: marqueeScroll 25s linear infinite;
}
.marquee-track span {
    font-size: 0.82rem; text-transform: uppercase; letter-spacing: 3px;
    color: rgba(255,255,255,0.4); white-space: nowrap;
}
.marquee-track .sep { color: var(--green-400); font-size: 1rem; }
@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== SERVICES — 4 cartes pleine largeur ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}
.service-card {
    background: var(--white);
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid rgba(0,0,0,0.04);
    transition: all 0.5s var(--ease);
    opacity: 0;
    transform: translateY(30px);
    display: flex;
    flex-direction: column;
}
.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 64px rgba(45,106,79,0.1);
    z-index: 2;
}
.service-img-wrap {
    height: 340px;
    overflow: hidden;
}
.service-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}
.service-card:hover .service-img-wrap img {
    transform: scale(1.06);
}
.service-body {
    padding: 1.8rem;
    flex: 1;
}
.service-num {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--green-400);
    display: block;
    margin-bottom: 0.4rem;
}
.service-body h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--green-900);
    margin-bottom: 0.5rem;
}
.service-body p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ===== GALLERY FULL WIDTH — NO GAPS ===== */
.gallery-fullwidth {
    display: flex;
    flex-direction: column;
}
.gallery-row {
    display: flex;
    width: 100%;
}
.gallery-row:first-child .gallery-item:first-child { flex: 2; }
.gallery-row:first-child .gallery-item:nth-child(2) { flex: 1; }
.gallery-row:first-child .gallery-item:nth-child(3) { flex: 1; }
.gallery-row:last-child .gallery-item:first-child { flex: 1; }
.gallery-row:last-child .gallery-item:nth-child(2) { flex: 2; }
.gallery-row:last-child .gallery-item:nth-child(3) { flex: 1; }

.gallery-item {
    position: relative;
    height: 380px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
}
.gallery-item.visible {
    opacity: 1;
    transform: translateY(0);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease);
}
.gallery-item:hover img {
    transform: scale(1.05);
}
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.4s var(--ease);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-tag {
    font-size: 0.65rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: 2px; color: var(--green-300); margin-bottom: 0.4rem;
}
.gallery-overlay h4 {
    font-family: var(--font-display); font-size: 1.3rem; color: var(--white); margin-bottom: 0.2rem;
}
.gallery-overlay p { font-size: 0.82rem; color: rgba(255,255,255,0.6); }

/* ===== À PROPOS FULL-WIDTH PARALLAX ===== */
.apropos-fullwidth {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.apropos-parallax-bg {
    position: absolute; inset: 0; will-change: transform;
}
.apropos-parallax-bg img {
    width: 100%; height: 160%; object-fit: cover;
    position: absolute; top: -30%;
}
.apropos-parallax-overlay {
    position: absolute; inset: 0;
    background: rgba(13,40,24,0.7);
    z-index: 1;
}
.apropos-inner {
    position: relative; z-index: 2;
    width: 100%; padding: 6rem 0;
}
.apropos-grid {
    display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem;
    align-items: stretch;
}
.apropos-card {
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 24px;
    padding: 3.5rem;
    opacity: 0; transform: translateY(30px);
    transition: opacity 0.6s, transform 0.6s;
}
.apropos-card.visible { opacity: 1; transform: translateY(0); }
.apropos-card-secondary {
    background: rgba(255,255,255,0.04);
    display: flex; flex-direction: column; justify-content: center;
}
.apropos-text {
    font-size: 1rem; line-height: 1.85;
    color: rgba(255,255,255,0.7); margin-top: 1rem;
}
.stats-row { display: flex; gap: 3rem; }
.stat-number {
    font-family: var(--font-display); font-size: 2.6rem; font-weight: 700;
    color: var(--green-300); line-height: 1; margin-bottom: 0.3rem; display: block;
}
.stat-label {
    font-size: 0.78rem; color: rgba(255,255,255,0.5);
    text-transform: uppercase; letter-spacing: 1px;
}

/* ===== PROCESS ===== */
.process-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; align-items: start; }
.process-step {
    text-align: center; padding: 1rem 1rem;
    opacity: 0; transform: translateY(25px);
}
.process-step.visible { opacity: 1; transform: translateY(0); }
.step-num {
    font-family: var(--font-display); font-size: 2.3rem; font-weight: 600;
    color: var(--green-100); margin-bottom: 0.6rem; transition: color 0.3s;
    line-height: 1;
}
.process-step:hover .step-num { color: var(--green-400); }
.process-step h3 {
    font-family: var(--font-display); font-size: 1.15rem;
    color: var(--green-900); margin-bottom: 0.5rem;
}
.process-step p { font-size: 0.86rem; color: var(--text-muted); line-height: 1.55; }

/* ===== CONTACT ===== */
.contact { background: var(--green-900); color: var(--white); }
.contact-center {
    text-align: center; max-width: 640px; margin: 0 auto 3rem;
    opacity: 0; transform: translateY(25px); transition: opacity 0.6s, transform 0.6s;
}
.contact-center.visible { opacity: 1; transform: translateY(0); }
.contact-center .section-tag.light { display: inline-block; }
.contact-text {
    color: rgba(255,255,255,0.6); line-height: 1.7;
    margin-top: 1rem; font-size: 0.98rem;
}
.contact-cards {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem;
    opacity: 0; transform: translateY(25px); transition: opacity 0.6s, transform 0.6s;
}
.contact-cards.visible { opacity: 1; transform: translateY(0); }
.contact-card {
    display: flex; flex-direction: column; align-items: flex-start; gap: 0.5rem;
    padding: 1.6rem 1.4rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    transition: background 0.3s, border-color 0.3s, transform 0.3s;
}
a.contact-card { cursor: pointer; }
a.contact-card:hover {
    background: rgba(255,255,255,0.07);
    border-color: var(--green-400);
    transform: translateY(-2px);
}
.contact-card-icon {
    display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 12px;
    background: rgba(118, 211, 145, 0.12);
    color: var(--green-300);
    margin-bottom: 0.4rem;
}
.contact-card-label {
    font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.08em;
    color: var(--green-300); font-weight: 600;
}
.contact-card-value {
    color: var(--white); font-size: 0.95rem; font-weight: 500;
    word-break: break-word;
}

/* ===== FOOTER ===== */
.footer {
    background: #070f0b; padding: 4rem 0 2rem; color: rgba(255,255,255,0.5);
}
.footer-grid {
    display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem;
}
.footer-brand .logo { margin-bottom: 1rem; }
.footer-brand .logo-text { color: var(--white); }
.footer-brand p { font-size: 0.88rem; line-height: 1.65; max-width: 260px; }
.footer-col h4 {
    font-family: var(--font-display); color: var(--white);
    font-size: 1.05rem; margin-bottom: 1.1rem;
}
.footer-col li { margin-bottom: 0.55rem; }
.footer-col a { font-size: 0.88rem; transition: color 0.3s; }
.footer-col a:hover { color: var(--green-300); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding-top: 2rem; text-align: center; font-size: 0.8rem;
}

/* ===== HELPERS ===== */
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0;
    margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
    white-space: nowrap; border: 0;
}
.hp {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important; height: 1px !important;
    opacity: 0 !important; pointer-events: none !important;
}

/* ===== SECTION LEAD ===== */
.section-lead {
    max-width: 680px; margin: 1.2rem auto 0;
    font-size: 1rem; line-height: 1.7; color: var(--text-muted);
}

/* ===== LOGO (SVG arbre) ===== */
.logo { color: var(--white); transition: color 0.4s; }
.logo-icon { display: block; }
#navbar.scrolled .logo { color: var(--green-800); }
.footer-brand .logo { color: var(--white); }

/* ===== SERVICES V2 — Grille compacte moderne avec icônes ===== */
.services-v2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 3rem;
}
.svc {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.5rem 1.6rem;
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    transition: all 0.35s var(--ease);
    opacity: 0;
    transform: translateY(16px);
    min-height: 104px;
}
.svc.visible { opacity: 1; transform: translateY(0); }
.svc:hover {
    border-color: var(--green-300);
    transform: translateY(-3px);
    box-shadow: 0 14px 40px -10px rgba(45,106,79,0.18);
}
.svc:hover .svc-arrow { color: var(--green-600); transform: translateX(4px); }
.svc:hover .svc-icon { background: var(--green-600); color: var(--white); }
.svc-icon {
    display: inline-flex;
    align-items: center; justify-content: center;
    width: 48px; height: 48px;
    border-radius: 12px;
    background: var(--green-50);
    color: var(--green-600);
    flex-shrink: 0;
    transition: all 0.35s var(--ease);
}
.svc-body { flex: 1; min-width: 0; }
.svc-body h3 {
    font-family: var(--font-display);
    font-size: 1.08rem;
    font-weight: 600;
    color: var(--green-900);
    line-height: 1.25;
    margin-bottom: 0.3rem;
}
.svc-body p {
    font-size: 0.84rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}
.svc-arrow {
    font-size: 1.2rem;
    color: var(--green-400);
    flex-shrink: 0;
    transition: all 0.3s var(--ease);
}

/* Carte "Entretien complet" featured : prend toute la largeur + gradient */
.svc-featured {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, var(--green-800) 0%, var(--green-600) 100%);
    border-color: var(--green-600);
    padding: 1.8rem 2rem;
    min-height: 120px;
}
.svc-featured .svc-icon {
    background: rgba(255,255,255,0.15);
    color: var(--white);
    width: 54px; height: 54px;
}
.svc-featured .svc-body h3 { color: var(--white); font-size: 1.35rem; }
.svc-featured .svc-body p { color: rgba(255,255,255,0.78); font-size: 0.92rem; }
.svc-featured .svc-arrow { color: var(--white); font-size: 1.4rem; }
.svc-featured:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px -10px rgba(20,67,42,0.35);
    border-color: var(--green-600);
}
.svc-featured:hover .svc-icon { background: var(--white); color: var(--green-800); }
.svc-featured:hover .svc-arrow { color: var(--white); }

/* ===== APROPOS BULLETS ===== */
.apropos-bullets {
    display: grid;
    gap: 1.4rem;
    margin-top: 1.5rem;
}
.apropos-bullets li {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    color: rgba(255,255,255,0.92);
    font-size: 1.1rem;
    line-height: 1.5;
    font-weight: 500;
}
.apropos-bullets li::before {
    content: "✓";
    display: inline-flex;
    align-items: center; justify-content: center;
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--green-500);
    color: var(--white);
    font-size: 1rem; font-weight: 700;
    flex-shrink: 0;
}

/* ===== FOOTER ===== */
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    text-align: left;
}
.footer-legal {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.footer-legal a {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    transition: color 0.3s;
}
.footer-legal a:hover { color: var(--green-300); }

/* ================================================================
   PAGES SERVICE (abattage, élagage, etc.)
   ================================================================ */
.page-hero {
    position: relative;
    min-height: 52vh;
    display: flex;
    align-items: center;
    padding-top: 7rem;
    padding-bottom: 4rem;
    background:
        radial-gradient(ellipse at top right, rgba(82,183,136,0.25) 0%, transparent 60%),
        radial-gradient(ellipse at bottom left, rgba(45,106,79,0.35) 0%, transparent 55%),
        linear-gradient(135deg, #0d2818 0%, #14432a 55%, #2d6a4f 100%);
    overflow: hidden;
}
.page-hero-bg {
    position: absolute; inset: 0;
    z-index: 0;
}
.page-hero-bg img {
    width: 100%; height: 100%; object-fit: cover;
}
.page-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to right, rgba(13,40,24,0.85) 0%, rgba(13,40,24,0.55) 60%, rgba(13,40,24,0.35) 100%);
    z-index: 1;
}
.page-hero-content {
    position: relative; z-index: 2;
    max-width: 1200px; margin: 0 auto; padding: 0 2rem;
    width: 100%;
}
.page-hero .page-breadcrumb {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--green-200);
    margin-bottom: 1rem;
}
.page-hero .page-breadcrumb a { color: rgba(255,255,255,0.6); }
.page-hero .page-breadcrumb a:hover { color: var(--white); }
.page-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    max-width: 800px;
    margin-bottom: 1.2rem;
}
.page-hero-description {
    font-size: 1.08rem;
    color: rgba(255,255,255,0.72);
    max-width: 620px;
    line-height: 1.75;
}
.page-hero-actions {
    display: flex; gap: 1rem; flex-wrap: wrap;
    margin-top: 2rem;
}

.page-content {
    padding: 5rem 0;
    background: var(--cream);
}
.page-content .container {
    max-width: 900px;
}
.page-content h2 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: var(--green-900);
    margin: 2.5rem 0 1rem;
    line-height: 1.25;
}
.page-content h2:first-child { margin-top: 0; }
.page-content h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--green-800);
    margin: 2rem 0 0.8rem;
}
.page-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 1.2rem;
}
.page-content ul {
    margin: 1rem 0 1.5rem 1.5rem;
}
.page-content ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.6rem;
    font-size: 0.98rem;
    line-height: 1.7;
    color: var(--text);
    list-style: none;
}
.page-content ul li::before {
    content: "›";
    position: absolute; left: 0;
    color: var(--green-500);
    font-weight: 700;
    font-size: 1.1rem;
}
.page-content strong { color: var(--green-800); }

.page-cta {
    background: var(--green-900);
    color: var(--white);
    padding: 4.5rem 2rem;
    text-align: center;
}
.page-cta h2 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    color: var(--white);
    margin-bottom: 1rem;
}
.page-cta p {
    color: rgba(255,255,255,0.7);
    max-width: 520px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}
.page-cta .btn { margin: 0.3rem; }

.other-services {
    padding: 5rem 0;
    background: var(--white);
}
.other-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
    margin-top: 2.5rem;
}
.other-services-grid a {
    padding: 1.4rem 1.6rem;
    background: var(--cream);
    border: 1px solid rgba(0,0,0,0.04);
    border-radius: 14px;
    transition: all 0.3s var(--ease);
    font-size: 0.95rem;
    color: var(--green-900);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.other-services-grid a:hover {
    background: var(--green-50);
    border-color: var(--green-300);
    transform: translateX(4px);
}
.other-services-grid a::after {
    content: "→";
    color: var(--green-500);
    font-weight: 700;
}

/* ================================================================
   PAGES LÉGALES
   ================================================================ */
.legal-page {
    padding: 10rem 0 5rem;
    background: var(--cream);
    min-height: 80vh;
}
.legal-page .container { max-width: 800px; }
.legal-page h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--green-900);
    margin-bottom: 2rem;
    line-height: 1.2;
}
.legal-page h2 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--green-800);
    margin: 2.5rem 0 1rem;
}
.legal-page p, .legal-page li {
    font-size: 0.98rem;
    line-height: 1.75;
    color: var(--text);
    margin-bottom: 0.8rem;
}
.legal-page ul { margin-left: 1.5rem; margin-bottom: 1.5rem; }
.legal-page .placeholder {
    display: inline-block;
    padding: 2px 8px;
    background: #fff3cd;
    border: 1px dashed #d4a017;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.9em;
    color: #856404;
}
.legal-page a { color: var(--green-600); text-decoration: underline; }

/* ===== CHECKLIST POUR L'OWNER (mentions légales) — à supprimer avant publication ===== */
.owner-checklist {
    background: linear-gradient(135deg, #fff8e1 0%, #fff3cd 100%);
    border: 2px dashed #e65100;
    border-radius: 16px;
    padding: 2rem 2.2rem;
    margin-bottom: 3.5rem;
    color: #5d4030;
    font-size: 0.95rem;
    line-height: 1.65;
}
.owner-checklist h2 {
    font-family: var(--font-display);
    font-size: 1.35rem !important;
    color: #b04000 !important;
    margin: 0 0 1rem !important;
    line-height: 1.25;
}
.owner-checklist h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: #8b3a00;
    margin: 2rem 0 0.8rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid rgba(230,81,0,0.25);
}
.owner-checklist p { margin-bottom: 1rem; }
.owner-checklist-remove {
    background: rgba(255,255,255,0.55);
    border-left: 4px solid #e65100;
    padding: 0.8rem 1rem;
    border-radius: 0 8px 8px 0;
    font-size: 0.9rem;
}
.owner-checklist code {
    background: rgba(255,255,255,0.65);
    padding: 1px 6px;
    border-radius: 3px;
    font-size: 0.88em;
    color: #8b3a00;
}
.owner-checklist dl {
    margin: 0;
    display: grid;
    gap: 0.8rem;
}
.owner-checklist dt {
    font-weight: 600;
    color: #5d2f00;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    font-size: 0.98rem;
}
.owner-checklist dd {
    margin: 0 0 0.6rem 0;
    padding-left: 0.8rem;
    border-left: 2px solid rgba(230,81,0,0.2);
    font-size: 0.9rem;
}
.owner-checklist dd a { color: #b04000; }
.owner-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 2px 8px;
    border-radius: 20px;
    line-height: 1.4;
}
.owner-tag-required {
    background: #d32f2f;
    color: #fff;
}
.owner-tag-optional {
    background: #fb8c00;
    color: #fff;
}
.owner-tag-na {
    background: #757575;
    color: #fff;
}
.owner-checklist-footer {
    margin-top: 2rem;
    padding-top: 1.2rem;
    border-top: 1px dashed rgba(230,81,0,0.35);
    font-size: 0.92rem;
    color: #8b3a00;
}
.owner-checklist-compact {
    padding: 1.2rem 1.5rem;
    margin-bottom: 2.5rem;
}
.owner-checklist-compact p { margin: 0; font-size: 0.92rem; }
.owner-checklist-compact a {
    color: #b04000 !important;
    text-decoration: underline;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2,1fr); }
    .services-v2 { grid-template-columns: repeat(2, 1fr); }
    .gallery-item { height: 300px; }
    .process-grid { grid-template-columns: repeat(2,1fr); }
    .other-services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .section { padding: 5rem 0; }
    .container { padding: 0 1.5rem; }
    .services-v2 { grid-template-columns: 1fr; gap: 0.8rem; }
    .svc { padding: 1.2rem 1.3rem; min-height: auto; }
    .svc-icon { width: 42px; height: 42px; }
    .svc-featured { padding: 1.5rem 1.5rem; }
    .svc-featured .svc-body h3 { font-size: 1.15rem; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-legal { justify-content: center; }
    .other-services-grid { grid-template-columns: 1fr; }
    .page-hero { min-height: 50vh; padding-top: 6rem; }
    .page-hero-actions { flex-direction: column; }
    .page-hero-actions .btn { width: 100%; text-align: center; }
    /* ===== Mobile menu — full-screen overlay moderne ===== */
    .nav-links {
        position: fixed;
        inset: 0;
        background:
            radial-gradient(circle at 15% 20%, rgba(82,183,136,0.18), transparent 55%),
            radial-gradient(circle at 85% 80%, rgba(45,106,79,0.22), transparent 55%),
            linear-gradient(165deg, #0a1f12 0%, var(--green-900) 55%, var(--green-800) 100%);
        flex-direction: column;
        align-items: stretch;
        justify-content: center;
        gap: 0;
        z-index: 999;
        padding: 6rem 2.2rem 3rem;
        opacity: 0;
        visibility: hidden;
        transform: scale(0.985);
        transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0s 0.35s;
        overflow-y: auto;
        overscroll-behavior: contain;
    }
    .nav-links.open {
        opacity: 1;
        visibility: visible;
        transform: scale(1);
        transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0s;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.06);
        opacity: 0;
        transform: translateX(-14px);
        transition: opacity 0.4s var(--ease), transform 0.45s var(--ease);
    }
    .nav-links.open li { opacity: 1; transform: translateX(0); }
    .nav-links.open li:nth-child(1) { transition-delay: 0.10s; }
    .nav-links.open li:nth-child(2) { transition-delay: 0.16s; }
    .nav-links.open li:nth-child(3) { transition-delay: 0.22s; }
    .nav-links.open li:nth-child(4) { transition-delay: 0.28s; }
    .nav-links.open li:nth-child(5) { transition-delay: 0.36s; }
    .nav-links li:last-child { border-bottom: none; }

    .nav-links a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1.1rem 0;
        font-size: 1.85rem;
        color: var(--white) !important;
        font-family: var(--font-display);
        font-weight: 500;
        line-height: 1.15;
        letter-spacing: -0.015em;
        transition: padding-left 0.3s var(--ease), color 0.3s;
    }
    .nav-links a:not(.btn-nav)::after {
        content: "→";
        font-family: var(--font-body);
        font-size: 1rem;
        opacity: 0.25;
        transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), color 0.3s;
    }
    .nav-links a:not(.btn-nav):active,
    .nav-links a:not(.btn-nav):focus-visible {
        padding-left: 6px;
        color: var(--green-300) !important;
    }
    .nav-links a:not(.btn-nav):active::after,
    .nav-links a:not(.btn-nav):focus-visible::after {
        opacity: 0.9;
        transform: translateX(4px);
        color: var(--green-300);
    }

    .nav-links .btn-nav {
        justify-content: center;
        background: var(--green-300) !important;
        color: var(--green-900) !important;
        border: none !important;
        font-family: var(--font-body) !important;
        font-size: 1rem !important;
        font-weight: 600 !important;
        padding: 1.1rem 1.8rem !important;
        border-radius: 60px;
        letter-spacing: 0.02em;
        box-shadow: 0 12px 34px -8px rgba(116,198,157,0.45);
    }
    .nav-links .btn-nav::after { display: none; }
    .nav-links .btn-nav:active {
        transform: scale(0.98);
        padding-left: 1.8rem !important;
    }

    /* ===== Hamburger → X moderne ===== */
    .menu-toggle {
        display: flex;
        z-index: 1001;
        padding: 8px;
        margin: -8px;
    }
    .menu-toggle span {
        width: 26px;
        transition: transform 0.35s var(--ease), opacity 0.2s var(--ease), background 0.3s;
    }
    .menu-toggle span:nth-child(2) { width: 20px; margin-left: auto; }
    .menu-toggle.active span { width: 26px; margin-left: 0; }
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
        background: var(--white) !important;
    }
    .menu-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
        background: var(--white) !important;
    }

    /* Empêche le scroll du body quand menu ouvert */
    body.menu-open { overflow: hidden; }

    /* Quand menu ouvert : navbar transparent + logo blanc (même si page scrollée) */
    body.menu-open #navbar,
    body.menu-open #navbar.scrolled {
        background-color: transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        box-shadow: none !important;
    }
    body.menu-open .logo-text,
    body.menu-open #navbar.scrolled .logo-text { color: var(--white) !important; }
    body.menu-open .logo { color: var(--white) !important; }
    body.menu-open .menu-toggle span { background: var(--white) !important; }
    .hero-title { font-size: clamp(2.2rem,8vw,3.5rem); }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { text-align: center; }
    .services-grid { grid-template-columns: 1fr 1fr; }
    .gallery-row { flex-direction: column; }
    .gallery-item { height: 250px; }
    .gallery-row .gallery-item { flex: 1 !important; }
    .apropos-grid { grid-template-columns: 1fr; gap: 1.2rem; }
    .apropos-card { padding: 2rem; }
    .stats-row { gap: 2rem; flex-wrap: wrap; }
    .process-grid { grid-template-columns: 1fr 1fr; }
    .contact-cards { grid-template-columns: 1fr 1fr; gap: 1rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 480px) {
    .services-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .stats-row { flex-direction: column; gap: 1.5rem; }
    .process-grid { grid-template-columns: 1fr; }
    .contact-cards { grid-template-columns: 1fr; }
    .hero-buttons .btn { width: 100%; text-align: center; }
}
