/* ==========================================================
   Élagage Longeault — Feuille de style principale
   ========================================================== */

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --vert-fonce: #1a3c2a;
    --vert: #2d6a3f;
    --vert-clair: #4a9c5e;
    --vert-pale: #e8f4ec;
    --bois: #5c3d2e;
    --bois-clair: #8b6914;
    --terre: #f5f0e8;
    --blanc: #ffffff;
    --gris-50: #f8f8f7;
    --gris-100: #efefed;
    --gris-200: #d8d6d0;
    --gris-400: #9e9b93;
    --gris-600: #5e5c56;
    --gris-800: #2e2d2a;
    --noir: #1a1918;
    --orange: #d17a22;
    --orange-hover: #b8691d;
    --radius: 6px;
    --radius-lg: 12px;
    --shadow: 0 2px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
    --transition: 0.25s ease;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'DM Serif Display', Georgia, serif;
    --container: 1180px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-body);
    color: var(--gris-800);
    background: var(--blanc);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--vert); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--vert-clair); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--vert-fonce); line-height: 1.2; font-weight: 400; }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; font-family: var(--font-body); font-weight: 600; }

/* --- Boutons --- */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    transition: all var(--transition);
    border: none;
    cursor: pointer;
    letter-spacing: 0.02em;
}

.btn-primary {
    background: var(--orange);
    color: var(--blanc);
}
.btn-primary:hover {
    background: var(--orange-hover);
    color: var(--blanc);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(209,122,34,0.3);
}

.btn-secondary {
    background: var(--vert);
    color: var(--blanc);
}
.btn-secondary:hover {
    background: var(--vert-fonce);
    color: var(--blanc);
    transform: translateY(-1px);
}

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

.btn-header {
    background: var(--orange);
    color: var(--blanc);
    padding: 10px 22px;
    font-size: 0.88rem;
}
.btn-header:hover {
    background: var(--orange-hover);
    color: var(--blanc);
}

/* --- Topbar --- */
.topbar {
    background: var(--vert-fonce);
    color: rgba(255,255,255,0.85);
    font-size: 0.82rem;
    padding: 6px 0;
}
.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.topbar-contact { display: flex; gap: 20px; }
.topbar-contact a { color: rgba(255,255,255,0.9); }
.topbar-contact a:hover { color: var(--blanc); }

/* --- Header --- */
.site-header {
    background: var(--blanc);
    border-bottom: 1px solid var(--gris-100);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow); }

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--vert-fonce);
    font-size: 1.3rem;
}
.logo:hover { color: var(--vert-fonce); }
.logo-icon { font-size: 1.8rem; }
.logo-text strong { font-weight: 700; }

/* Nav */
.main-nav ul {
    list-style: none;
    display: flex;
    gap: 4px;
}
.main-nav a {
    display: block;
    padding: 8px 14px;
    color: var(--gris-600);
    font-size: 0.92rem;
    font-weight: 500;
    border-radius: var(--radius);
    transition: all var(--transition);
}
.main-nav a:hover,
.main-nav a.active {
    color: var(--vert);
    background: var(--vert-pale);
}

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--blanc);
    min-width: 220px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all var(--transition);
    list-style: none;
    z-index: 100;
}
.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown a {
    padding: 10px 20px;
    font-size: 0.88rem;
    border-radius: 0;
}

/* Burger */
.burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}
.burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gris-800);
    transition: all var(--transition);
    border-radius: 2px;
}

/* --- Hero --- */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--vert-fonce) 0%, #1e4d30 50%, var(--bois) 100%);
    color: var(--blanc);
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('https://images.pexels.com/photos/9963194/pexels-photo-9963194.jpeg?auto=compress&cs=tinysrgb&w=1600') center/cover no-repeat;
    opacity: 0.18;
    z-index: 0;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0; right: 0;
    height: 80px;
    background: linear-gradient(to top, var(--gris-50), transparent);
    z-index: 1;
}
.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 80px 0 90px;
}
.hero-content { max-width: 560px; }
.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(4px);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 500;
    margin-bottom: 20px;
    letter-spacing: 0.03em;
}
.hero h1 {
    color: var(--blanc);
    margin-bottom: 20px;
    line-height: 1.15;
}
.hero h1 em {
    font-style: normal;
    color: #8fd4a0;
}
.hero p {
    font-size: 1.1rem;
    line-height: 1.7;
    opacity: 0.9;
    margin-bottom: 32px;
}
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-lg);
    padding: 32px;
    max-width: 380px;
}
.hero-card h3 {
    color: var(--blanc);
    margin-bottom: 18px;
    font-size: 1.3rem;
}
.hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.hero-stat {
    text-align: center;
    padding: 16px 8px;
    background: rgba(255,255,255,0.08);
    border-radius: var(--radius);
}
.hero-stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #8fd4a0;
    line-height: 1;
    margin-bottom: 4px;
}
.hero-stat-label {
    font-size: 0.78rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --- Sections --- */
.section { padding: 80px 0; }
.section-alt { background: var(--gris-50); }
.section-green { background: var(--vert-fonce); color: var(--blanc); }
.section-terre { background: var(--terre); }

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 50px;
}
.section-header p {
    margin-top: 12px;
    color: var(--gris-400);
    font-size: 1.05rem;
}
.section-label {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--vert);
    margin-bottom: 10px;
}

/* --- Services Grid --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.service-card {
    background: var(--blanc);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    border: 1px solid var(--gris-100);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--vert);
    transform: scaleX(0);
    transition: transform var(--transition);
}
.service-card:hover {
    border-color: var(--vert-pale);
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
    width: 52px;
    height: 52px;
    background: var(--vert-pale);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    font-size: 1.5rem;
}
.service-card h3 { margin-bottom: 10px; }
.service-card p {
    color: var(--gris-600);
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 16px;
}
.service-link {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--vert);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.service-link::after { content: '\2192'; transition: transform var(--transition); }
.service-link:hover::after { transform: translateX(4px); }

/* --- Atouts / Pourquoi nous --- */
.atouts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}
.atout-item {
    text-align: center;
    padding: 28px 16px;
}
.atout-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: var(--vert-pale);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}
.atout-item h4 { margin-bottom: 8px; color: var(--vert-fonce); }
.atout-item p { font-size: 0.88rem; color: var(--gris-600); }

/* --- Zones --- */
.zones-section .zone-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 28px;
}
.zone-tag {
    display: inline-block;
    padding: 8px 18px;
    background: var(--blanc);
    border: 1px solid var(--gris-200);
    border-radius: 50px;
    font-size: 0.88rem;
    color: var(--gris-600);
    transition: all var(--transition);
}
.zone-tag:hover {
    border-color: var(--vert);
    color: var(--vert);
    background: var(--vert-pale);
}

/* --- CTA Banner --- */
.cta-banner {
    text-align: center;
    padding: 70px 24px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--vert-fonce), var(--vert));
    color: var(--blanc);
    margin: 0 24px;
}
.cta-banner h2 { color: var(--blanc); margin-bottom: 14px; }
.cta-banner p { opacity: 0.9; margin-bottom: 28px; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-banner .btn-primary { font-size: 1.05rem; padding: 16px 40px; }

/* --- Témoignages --- */
.temoignages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.temoignage-card {
    background: var(--blanc);
    border-radius: var(--radius-lg);
    padding: 28px;
    border: 1px solid var(--gris-100);
}
.temoignage-stars {
    color: var(--bois-clair);
    font-size: 0.92rem;
    margin-bottom: 12px;
    letter-spacing: 2px;
}
.temoignage-card blockquote {
    font-size: 0.92rem;
    color: var(--gris-600);
    line-height: 1.6;
    margin-bottom: 16px;
    font-style: italic;
}
.temoignage-author {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gris-800);
}
.temoignage-author span {
    font-weight: 400;
    color: var(--gris-400);
}

/* --- Réassurance chiffres --- */
.chiffres-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    text-align: center;
}
.chiffre-item { padding: 20px; }
.chiffre-number {
    font-size: 2.8rem;
    font-weight: 700;
    color: #8fd4a0;
    line-height: 1;
    margin-bottom: 6px;
    font-family: var(--font-heading);
}
.section-green .chiffre-label {
    color: rgba(255,255,255,0.8);
    font-size: 0.88rem;
}

/* --- Page Content --- */
.page-hero {
    background: linear-gradient(135deg, var(--vert-fonce), #1e4d30);
    color: var(--blanc);
    padding: 60px 0 50px;
    text-align: center;
    position: relative;
}
.page-hero h1 { color: var(--blanc); margin-bottom: 12px; }
.page-hero p { opacity: 0.85; max-width: 600px; margin: 0 auto; }

.page-hero-photo {
    padding: 110px 0 90px;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}
.page-hero-photo::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 60, 42, 0.78), rgba(30, 77, 48, 0.62));
    z-index: 0;
}
.page-hero-photo .container { position: relative; z-index: 1; }
.page-hero-photo h1 {
    text-shadow: 0 2px 12px rgba(0,0,0,0.35);
    font-size: clamp(2.2rem, 5vw, 3.4rem);
}
.page-hero-photo p {
    text-shadow: 0 1px 6px rgba(0,0,0,0.3);
    opacity: 0.95;
    font-size: 1.05rem;
}

.breadcrumb {
    font-size: 0.82rem;
    margin-bottom: 16px;
    opacity: 0.7;
}
.breadcrumb a { color: rgba(255,255,255,0.8); }
.breadcrumb a:hover { color: var(--blanc); }

.content-section { padding: 60px 0; }
.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 50px;
    align-items: start;
}
.content-main h2 { margin: 36px 0 14px; }
.content-main h3 { margin: 28px 0 10px; }
.content-main p { margin-bottom: 16px; color: var(--gris-600); }
.content-main ul, .content-main ol { margin: 0 0 16px 20px; color: var(--gris-600); }
.content-main li { margin-bottom: 6px; }

/* Sidebar */
.sidebar-card {
    background: var(--gris-50);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-bottom: 24px;
    border: 1px solid var(--gris-100);
}
.sidebar-card h4 { margin-bottom: 14px; }
.sidebar-card ul { list-style: none; }
.sidebar-card li { padding: 8px 0; border-bottom: 1px solid var(--gris-100); font-size: 0.9rem; }
.sidebar-card li:last-child { border-bottom: none; }

/* --- Formulaire --- */
.form-group {
    margin-bottom: 18px;
}
.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--gris-800);
}
.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gris-200);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.92rem;
    transition: border-color var(--transition);
    background: var(--blanc);
}
.form-control:focus {
    outline: none;
    border-color: var(--vert);
    box-shadow: 0 0 0 3px rgba(45,106,63,0.1);
}
textarea.form-control { resize: vertical; min-height: 120px; }

/* --- Réalisations --- */
.realisations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.realisation-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
    margin: 0;
    background: var(--vert-fonce);
    aspect-ratio: 4 / 5;
    cursor: zoom-in;
}
.realisation-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.realisation-media {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.realisation-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.realisation-item:hover .realisation-media img { transform: scale(1.08); }
.realisation-item figcaption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 60px 22px 22px;
    background: linear-gradient(to top, rgba(26, 60, 42, 0.92) 0%, rgba(26, 60, 42, 0.55) 55%, rgba(26, 60, 42, 0));
    color: var(--blanc);
    transform: translateY(calc(100% - 68px));
    transition: transform 0.35s ease;
}
.realisation-item:hover figcaption { transform: translateY(0); }
.realisation-item h3 {
    color: var(--blanc);
    font-size: 1.2rem;
    margin-bottom: 8px;
    text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}
.realisation-item p {
    color: rgba(255,255,255,0.9);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

/* --- Vidéos chantiers --- */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 20px;
}
.video-item {
    margin: 0;
    background: var(--vert-fonce);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
}
.video-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.video-item video {
    width: 100%;
    aspect-ratio: 9 / 16;
    object-fit: cover;
    display: block;
    background: #000;
}
.video-item figcaption {
    padding: 14px 18px 18px;
    color: var(--blanc);
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
}

@media (max-width: 900px) {
    .videos-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}
@media (max-width: 560px) {
    .videos-grid { grid-template-columns: 1fr; }
}

/* --- Carousel réalisations --- */
.carousel {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 60px;
}
.carousel-viewport {
    overflow: hidden;
    border-radius: var(--radius-lg);
}
.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}
.carousel-slide {
    flex: 0 0 calc((100% - 32px) / 3);
    margin-right: 16px;
    position: relative;
}
.carousel-slide:last-child { margin-right: 0; }
.carousel-slide a {
    display: block;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: var(--radius-lg);
    position: relative;
    background: var(--gris-100);
}
.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.carousel-slide a:hover img { transform: scale(1.05); }
.carousel-caption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 14px 18px;
    background: linear-gradient(to top, rgba(26, 60, 42, 0.95), rgba(26, 60, 42, 0));
    color: var(--blanc);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
}
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: var(--vert-fonce);
    color: var(--blanc);
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 5;
    box-shadow: var(--shadow);
    transition: background var(--transition), transform var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}
.carousel-btn:hover { background: var(--vert); transform: translateY(-50%) scale(1.08); }
.carousel-btn:focus { outline: 2px solid var(--vert-clair); outline-offset: 2px; }
.carousel-prev { left: 0; }
.carousel-next { right: 0; }
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}
.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: var(--gris-200);
    cursor: pointer;
    padding: 0;
    transition: background var(--transition), transform var(--transition);
}
.carousel-dot.active {
    background: var(--vert);
    transform: scale(1.25);
}
.carousel-dot:focus { outline: 2px solid var(--vert-clair); outline-offset: 2px; }

@media (max-width: 900px) {
    .realisations-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .carousel { padding: 0 50px; }
    .carousel-slide { flex-basis: calc((100% - 16px) / 2); }
}
@media (max-width: 640px) {
    .carousel { padding: 0 40px; }
    .carousel-slide { flex-basis: 100%; margin-right: 0; }
    .carousel-btn { width: 40px; height: 40px; font-size: 1rem; }
}
@media (max-width: 560px) {
    .realisations-grid { grid-template-columns: 1fr; }
}

/* --- Info Table --- */
.info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
}
.info-table th {
    background: var(--vert-fonce);
    color: var(--blanc);
    padding: 14px 18px;
    text-align: left;
    font-size: 0.88rem;
    font-weight: 600;
}
.info-table td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--gris-100);
    font-size: 0.92rem;
}
.info-table tr:hover td { background: var(--vert-pale); }
.info-note {
    font-size: 0.82rem;
    color: var(--gris-400);
    margin-top: 12px;
    font-style: italic;
}

/* --- Blog --- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.blog-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--blanc);
    border: 1px solid var(--gris-100);
    transition: all var(--transition);
}
.blog-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}
.blog-card-img {
    height: 200px;
    background: var(--gris-100);
    overflow: hidden;
}
.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.blog-card-body { padding: 22px; }
.blog-card-date {
    font-size: 0.78rem;
    color: var(--gris-400);
    margin-bottom: 8px;
}
.blog-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.blog-card p { font-size: 0.88rem; color: var(--gris-600); margin-bottom: 14px; }

/* --- Footer --- */
.site-footer {
    background: var(--gris-800);
    color: rgba(255,255,255,0.7);
    padding: 60px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--blanc);
    font-size: 1.2rem;
    margin-bottom: 14px;
}
.footer-logo strong { font-weight: 700; }
.footer-col h4 {
    color: var(--blanc);
    margin-bottom: 16px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a {
    color: rgba(255,255,255,0.6);
    font-size: 0.88rem;
    transition: color var(--transition);
}
.footer-col a:hover { color: var(--blanc); }
.footer-col p { font-size: 0.88rem; line-height: 1.6; }
.footer-phone {
    font-size: 1.05rem !important;
    font-weight: 600;
    color: #8fd4a0 !important;
}

.footer-cities {
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-top: 10px;
}
.footer-cities p {
    font-size: 0.78rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.4);
    text-align: center;
}
.footer-cities a {
    color: rgba(255,255,255,0.55);
    font-weight: 500;
}
.footer-cities a:hover { color: #8fd4a0; }

.footer-bottom {
    padding: 20px 0;
    text-align: center;
    font-size: 0.78rem;
}
.footer-bottom p { margin-bottom: 4px; }
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: rgba(255,255,255,0.8); }

/* --- Mobile CTA --- */
.mobile-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: var(--blanc);
    box-shadow: 0 -2px 16px rgba(0,0,0,0.1);
    padding: 10px 16px;
    gap: 10px;
}
.mobile-cta a {
    flex: 1;
    text-align: center;
    padding: 12px 16px;
    border-radius: var(--radius);
    font-size: 0.88rem;
    font-weight: 600;
}
.mobile-cta-phone {
    background: var(--vert);
    color: var(--blanc) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.mobile-cta-devis {
    background: var(--orange);
    color: var(--blanc) !important;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .hero-visual { justify-content: flex-start; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .atouts-grid { grid-template-columns: repeat(2, 1fr); }
    .temoignages-grid { grid-template-columns: repeat(2, 1fr); }
    .chiffres-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .content-wrapper { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .topbar { display: none; }

    .header-inner { height: 60px; }

    .main-nav {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--blanc);
        padding: 20px;
        transform: translateX(100%);
        transition: transform var(--transition);
        z-index: 999;
        overflow-y: auto;
    }
    .main-nav.open { transform: translateX(0); }
    .main-nav ul { flex-direction: column; gap: 0; }
    .main-nav a { padding: 14px 16px; font-size: 1rem; }
    .dropdown {
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        padding-left: 16px;
        background: var(--gris-50);
        border-radius: var(--radius);
        margin: 4px 0;
    }

    .burger { display: flex; }
    .burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .burger.active span:nth-child(2) { opacity: 0; }
    .burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

    .btn-header { display: none; }

    .hero-inner { padding: 50px 0 60px; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; }

    .section { padding: 50px 0; }

    .services-grid,
    .temoignages-grid,
    .blog-grid { grid-template-columns: 1fr; }

    .atouts-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .chiffres-grid { grid-template-columns: 1fr 1fr; }

    .footer-grid { grid-template-columns: 1fr; gap: 28px; }

    .mobile-cta { display: flex; }
    .site-footer { padding-bottom: 70px; }

    .cta-banner { margin: 0; border-radius: 0; padding: 50px 20px; }

    .info-table { font-size: 0.85rem; }
    .info-table th, .info-table td { padding: 10px 12px; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero-card { padding: 24px; }
    .hero-stats { grid-template-columns: 1fr; }
    .atouts-grid { grid-template-columns: 1fr; }
}

/* ========================================
   ANIMATIONS
   ======================================== */
.fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-left {
    opacity: 0;
    transform: translateX(-32px);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.fade-left.visible { opacity: 1; transform: translateX(0); }

.fade-right {
    opacity: 0;
    transform: translateX(32px);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.fade-right.visible { opacity: 1; transform: translateX(0); }

.fade-zoom {
    opacity: 0;
    transform: scale(0.94);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.fade-zoom.visible { opacity: 1; transform: scale(1); }

/* Délais séquentiels pour les grilles */
.services-grid .fade-up:nth-child(2),
.atouts-grid .fade-up:nth-child(2),
.temoignages-grid .fade-up:nth-child(2) { transition-delay: 0.08s; }
.services-grid .fade-up:nth-child(3),
.atouts-grid .fade-up:nth-child(3),
.temoignages-grid .fade-up:nth-child(3) { transition-delay: 0.16s; }
.services-grid .fade-up:nth-child(4),
.atouts-grid .fade-up:nth-child(4) { transition-delay: 0.24s; }
.services-grid .fade-up:nth-child(5) { transition-delay: 0.32s; }
.services-grid .fade-up:nth-child(6) { transition-delay: 0.4s; }
.services-grid .fade-up:nth-child(7) { transition-delay: 0.48s; }
.services-grid .fade-up:nth-child(8) { transition-delay: 0.56s; }

.chiffres-grid .fade-up:nth-child(2) { transition-delay: 0.12s; }
.chiffres-grid .fade-up:nth-child(3) { transition-delay: 0.24s; }
.chiffres-grid .fade-up:nth-child(4) { transition-delay: 0.36s; }

/* --- Hero : entrée animée au chargement --- */
@keyframes hero-in {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes hero-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}
.hero-badge { animation: hero-in 0.7s 0.1s both; }
.hero h1    { animation: hero-in 0.9s 0.25s both; }
.hero p     { animation: hero-in 0.9s 0.4s both; }
.hero-buttons { animation: hero-in 0.9s 0.55s both; }
.hero-card  { animation: hero-in 1s 0.7s both, hero-float 5s 1.7s ease-in-out infinite; }

/* --- Decor animé dans le hero --- */
.hero::after {
    animation: hero-pulse 8s ease-in-out infinite alternate;
}
@keyframes hero-pulse {
    from { opacity: 0.8; transform: scale(1); }
    to   { opacity: 1; transform: scale(1.04); }
}

/* --- Service card : zoom image + soulèvement --- */
.service-card {
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.4s ease,
                border-color 0.3s ease;
}
.service-card-img {
    overflow: hidden;
    position: relative;
}
.service-card-img img {
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.service-card:hover .service-card-img img { transform: scale(1.08); }
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(26, 60, 42, 0.12);
}
.service-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.3s ease, color 0.3s ease;
}
.service-link::after {
    content: '→';
    transition: transform 0.3s ease;
    display: inline-block;
}
.service-card:hover .service-link { gap: 10px; color: var(--vert-clair); }
.service-card:hover .service-link::after { transform: translateX(4px); }

/* --- Atout icons : rebond au survol --- */
.atout-icon {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.atout-item:hover .atout-icon {
    transform: scale(1.15) rotate(-4deg);
}

/* --- Témoignage : lift au hover --- */
.temoignage-card {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.temoignage-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* --- Chiffres : apparition plus gourmande --- */
.chiffre-number {
    display: inline-block;
    transition: transform 0.4s ease;
}
.chiffre-item:hover .chiffre-number {
    transform: scale(1.08);
}

/* --- Zone tags : pulse au hover --- */
.zone-tag {
    transition: background 0.3s ease, transform 0.3s ease, color 0.3s ease;
}
a.zone-tag:hover {
    background: var(--vert);
    color: var(--blanc);
    transform: translateY(-2px) scale(1.04);
}

/* --- CTA banner : shimmer hover --- */
.cta-banner {
    position: relative;
    overflow: hidden;
}
.cta-banner::after {
    content: '';
    position: absolute;
    top: 0; left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(143, 212, 160, 0.12), transparent);
    transform: skewX(-20deg);
    transition: left 0.9s ease;
    pointer-events: none;
}
.cta-banner:hover::after { left: 125%; }

/* --- Boutons : effet subtile --- */
.btn {
    position: relative;
    overflow: hidden;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(26, 60, 42, 0.18); }
.btn:active { transform: translateY(0); }

/* Respecter prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .fade-up, .fade-left, .fade-right, .fade-zoom {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .hero-badge, .hero h1, .hero p, .hero-buttons, .hero-card,
    .hero::after {
        animation: none;
    }
    .service-card-img img, .service-card, .atout-icon, .temoignage-card,
    .chiffre-number, .zone-tag, .cta-banner::after, .btn {
        transition: none;
    }
}

/* Champ erreur formulaire */
.form-control.error {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220,38,38,0.1);
}

/* Sélection */
::selection {
    background: var(--vert-pale);
    color: var(--vert-fonce);
}

/* ========================================
   IMAGES & SERVICE PHOTOS
   ======================================== */
.service-card-img {
    height: 180px;
    border-radius: var(--radius) var(--radius) 0 0;
    overflow: hidden;
    margin: -36px -28px 18px;
}
.service-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.service-card:hover .service-card-img img {
    transform: scale(1.04);
}

/* Photo credit Pexels */
.photo-credit {
    font-size: 0.7rem;
    color: var(--gris-400);
    margin-top: 6px;
}
.photo-credit a { color: var(--gris-400); }
.photo-credit a:hover { color: var(--gris-600); }

/* Hero avec vrai bg photo */
.hero--photo {
    background: var(--vert-fonce);
}
.hero--photo::before {
    background-image: url('https://images.pexels.com/photos/9963194/pexels-photo-9963194.jpeg?auto=compress&cs=tinysrgb&w=1600');
    opacity: 0.22;
}

/* Pexels footer credit */
.pexels-credit {
    text-align: center;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.4);
    padding: 8px 0 0;
}
.pexels-credit a {
    color: rgba(255,255,255,0.5);
}

/* ========================================
   ANTI-AI DESIGN TOUCHES
   ======================================== */

/* Légère texture grain sur le body */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.015;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Services grid : la première card plus grande */
.services-grid--featured {
    display: grid;
    grid-template-columns: 1.15fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 24px;
}
.services-grid--featured .service-card:first-child {
    grid-row: span 1;
}

/* Section divider naturel */
.section-divider {
    height: 4px;
    background: linear-gradient(90deg, var(--vert) 0%, var(--vert-clair) 35%, transparent 100%);
    border: none;
    margin: 0;
    max-width: 200px;
}

/* Quote accent bar */
.temoignage-card::before {
    content: '';
    display: block;
    width: 32px;
    height: 3px;
    background: var(--vert);
    margin-bottom: 14px;
    border-radius: 2px;
}

/* Zone tags : tailles légèrement différentes pour un rendu naturel */
.zone-list .zone-tag:nth-child(3n+1) { font-size: 0.9rem; }
.zone-list .zone-tag:nth-child(5n+2) { font-size: 0.85rem; }

/* CTA banner texture */
.cta-banner {
    position: relative;
    overflow: hidden;
}
.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%; right: -50%; bottom: -50%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='0.65' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}
.cta-banner > * { position: relative; z-index: 1; }

/* Footer : petite bordure verte en haut */
.site-footer { border-top: 3px solid var(--vert); }
