/* ============================================================
   VARIABLES & RESET
   ============================================================ */
:root {
    --primary:      #1a365d;
    --secondary:    #2b6cb0;
    --accent:       #38a169;
    --accent-dark:  #276749;
    --text:         #2d3748;
    --text-light:   #718096;
    --bg:           #ffffff;
    --bg-light:     #f7fafc;
    --border:       #e2e8f0;
    --radius:       8px;
    --shadow:       0 1px 3px rgba(0,0,0,.10);
    --shadow-lg:    0 10px 25px rgba(0,0,0,.10);
    --max-width:    1140px;
    --font:         'Segoe UI', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    font-size: 1rem;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: var(--secondary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ============================================================
   UTILITAIRES
   ============================================================ */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: background .2s, color .2s, border-color .2s;
    text-align: center;
}
.btn-primary  { background: var(--accent); color: #fff; }
.btn-primary:hover  { background: var(--accent-dark); text-decoration: none; }
.btn-secondary { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-secondary:hover { background: var(--primary); color: #fff; text-decoration: none; }
.btn-phone { background: var(--primary); color: #fff; font-size: 1.1rem; }
.btn-phone:hover { background: #112240; text-decoration: none; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
    background: var(--primary);
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-lg);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    max-width: var(--max-width);
    margin: 0 auto;
    gap: 16px;
}

.logo {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    text-decoration: none;
}
.logo span { color: var(--accent); display: block; font-size: .8rem; font-weight: 400; }

.nav-links {
    display: none;
    list-style: none;
    gap: 6px;
}
.nav-links a {
    color: #cbd5e0;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: .9rem;
    transition: color .2s, background .2s;
    white-space: nowrap;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.1); text-decoration: none; }

.header-cta-btn {
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    font-size: .9rem;
    white-space: nowrap;
    padding: 9px 18px;
    border-radius: 6px;
    border: 2px solid var(--accent);
    transition: background .2s, border-color .2s;
    flex-shrink: 0;
}
.header-cta-btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); text-decoration: none; color: #fff; }

.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}
.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform .25s, opacity .25s;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav ouvert */
.nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--primary);
    padding: 12px 20px 20px;
    border-top: 1px solid rgba(255,255,255,.1);
}
.nav-links.open a { padding: 10px 12px; font-size: 1rem; }

@media (min-width: 768px) {
    .menu-toggle { display: none; }
    .logo span { white-space: nowrap; }
    .nav-links { display: flex; flex-shrink: 0; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, #2a4a7f 100%);
    color: #fff;
    padding: 48px 0;
}

.hero-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.hero-content h1 {
    font-size: clamp(1.7rem, 4vw, 2.6rem);
    line-height: 1.2;
    margin-bottom: 16px;
    color: #fff;
}
.hero-content h1 em { color: var(--accent); font-style: normal; }

.hero-intro {
    font-size: 1.05rem;
    color: #cbd5e0;
    margin-bottom: 24px;
    max-width: 560px;
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 32px;
}
.badge {
    background: rgba(56,161,105,.15);
    border: 1px solid var(--accent);
    color: #9ae6b4;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: .85rem;
    font-weight: 600;
}

/* Section formulaire (pages PHP) */
.section-form {
    padding: 60px 0;
    background: var(--bg-light);
    border-top: 1px solid var(--border);
}
.section-form .container {
    max-width: 640px;
}
.section-form .hero-form {
    margin: 0;
}

/* Section formulaire bien visible (juste sous le hero) */
.section-form-prominent {
    padding: 48px 0 56px;
    background: linear-gradient(180deg, rgba(16, 185, 129, 0.06) 0%, var(--bg-light) 100%);
    border-top: 3px solid var(--accent);
}
.section-form-prominent .section-form-title {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 6px;
    font-weight: 700;
}
.section-form-prominent .form-subtitle {
    margin-bottom: 20px;
    font-size: 0.95rem;
}
.section-form-prominent .hero-form {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border);
}

/* Formulaire hero */
.hero-form {
    background: #fff;
    border-radius: 12px;
    padding: 28px 24px;
    box-shadow: var(--shadow-lg);
    color: var(--text);
}
.hero-form h2 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 4px;
}
.hero-form .form-subtitle {
    font-size: .88rem;
    color: var(--text-light);
    margin-bottom: 18px;
}

.form-group { margin-bottom: 14px; }
.form-group label {
    display: block;
    font-size: .85rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: .95rem;
    color: var(--text);
    background: var(--bg);
    transition: border-color .2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--secondary);
}
.form-group textarea { resize: vertical; min-height: 80px; }
.form-group input.error { border-color: #e53e3e; }

.form-group.honeypot { display: none; }

.btn-submit {
    width: 100%;
    padding: 16px;
    font-size: 1.05rem;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    font-weight: 700;
    cursor: pointer;
    transition: background .2s;
}
.btn-submit:hover { background: var(--accent-dark); }

.form-reassurance {
    text-align: center;
    font-size: .8rem;
    color: var(--text-light);
    margin-top: 10px;
}

.form-success {
    display: none;
    background: #f0fff4;
    border: 1px solid var(--accent);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
    color: var(--accent-dark);
    font-weight: 600;
}

@media (min-width: 768px) {
    .hero-grid {
        display: grid;
        grid-template-columns: 1fr 380px;
        align-items: start;
        gap: 48px;
    }
}
@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr 420px;
        gap: 60px;
    }
}

/* ============================================================
   SECTIONS COMMUNES
   ============================================================ */
section { padding: 60px 0; }

.section-title {
    font-size: clamp(1.4rem, 3vw, 2rem);
    color: var(--primary);
    margin-bottom: 12px;
    line-height: 1.25;
}
.section-lead {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 640px;
    margin-bottom: 40px;
}

/* ============================================================
   SERVICES GRID
   ============================================================ */
.services { background: var(--bg-light); }

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.service-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: var(--shadow);
    transition: box-shadow .2s, transform .2s;
    color: var(--text);
}
.service-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
    text-decoration: none;
    color: var(--text);
}
.service-icon {
    width: 48px;
    height: 48px;
    background: #ebf8ff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.service-icon svg { width: 26px; height: 26px; }
.service-card h3 { font-size: 1.05rem; color: var(--primary); }
.service-card p  { font-size: .9rem; color: var(--text-light); line-height: 1.5; }
.service-card .card-link { font-size: .88rem; color: var(--secondary); font-weight: 600; margin-top: auto; }

@media (min-width: 600px)  { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px)  { .services-grid { grid-template-columns: repeat(3, 1fr); } }

/* ============================================================
   CHIFFRES CLÉS
   ============================================================ */
.stats {
    background: var(--primary);
    color: #fff;
    padding: 48px 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    text-align: center;
}
.stat-value {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 6px;
}
.stat-label { font-size: .9rem; color: #cbd5e0; }

@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }

/* ============================================================
   VILLES
   ============================================================ */
.villes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.ville-link {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 14px 18px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #343a40;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: box-shadow .2s, border-color .2s, background .2s, color .2s;
}
.ville-link::before {
    content: "→";
    color: var(--accent);
    font-weight: 700;
    font-size: 1rem;
}
.ville-link:hover {
    background: #fff;
    color: var(--primary);
    text-decoration: none;
    border-color: #cbd5e0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}
.ville-link:hover::before {
    color: var(--accent);
}

@media (min-width: 600px) { .villes-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) { .villes-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; } }
@media (min-width: 900px) { .villes-grid { grid-template-columns: repeat(5, 1fr); gap: 14px; } }

/* ============================================================
   MAILLAGE — PAGES VILLE / HUB (style cartes avec flèche verte)
   ============================================================ */
.section-cross-service,
.section-voisines,
.villes-voisines-section,
.section-bassins {
    padding: 48px 0;
    background: #fff;
    border-top: 1px solid var(--border);
}
.section-cross-service h2,
.section-voisines h2,
.villes-voisines-section h2,
.section-bassins h2 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 700;
}
.section-cross-service .container > p,
.section-voisines .container > p,
.villes-voisines-section .container > p,
.section-bassins .container > p {
    color: #6c757d;
    font-size: 0.95rem;
    margin-bottom: 24px;
    line-height: 1.5;
}

/* Grille de liens maillage : cartes avec ombre + flèche verte */
.maillage-cross-service,
.maillage-voisines {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
@media (min-width: 500px) {
    .maillage-cross-service,
    .maillage-voisines {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (min-width: 768px) {
    .maillage-cross-service,
    .maillage-voisines {
        grid-template-columns: repeat(4, 1fr);
        gap: 14px;
    }
}
@media (min-width: 900px) {
    .maillage-cross-service,
    .maillage-voisines {
        grid-template-columns: repeat(5, 1fr);
    }
}
.maillage-cross-service li,
.maillage-voisines li {
    margin: 0;
}
.maillage-cross-service a,
.maillage-voisines a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    color: #343a40;
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: box-shadow .2s, border-color .2s, background .2s, color .2s;
}
.maillage-cross-service a::before,
.maillage-voisines a::before {
    content: "→";
    color: var(--accent);
    font-weight: 700;
    font-size: 1rem;
}
.maillage-cross-service a:hover,
.maillage-voisines a:hover {
    background: #fff;
    color: var(--primary);
    text-decoration: none;
    border-color: #cbd5e0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}
.maillage-cross-service a:hover::before,
.maillage-voisines a:hover::before {
    color: var(--accent);
}

/* Section bassins (pages hub) : groupes par secteur */
.bassins-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}
@media (min-width: 600px) {
    .bassins-section {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 900px) {
    .bassins-section {
        grid-template-columns: repeat(3, 1fr);
    }
}
.bassin-group {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 20px 20px 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.bassin-titre {
    font-size: 1.05rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent);
}
.bassin-villes {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}
.bassin-villes li {
    margin: 0;
}
.bassin-villes a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #343a40;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: box-shadow .2s, border-color .2s, background .2s, color .2s;
}
.bassin-villes a::before {
    content: "→";
    color: var(--accent);
    font-weight: 700;
}
.bassin-villes a:hover {
    background: #fff;
    color: var(--primary);
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.bassin-villes a:hover::before {
    color: var(--accent);
}

/* Lien retour hub */
.section-hub-link {
    padding: 24px 0;
    font-size: 0.95rem;
    color: var(--text-light);
}
.section-hub-link .container {
    border-top: 1px solid var(--border);
    padding-top: 20px;
}
.section-hub-link a.lien-hub {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
}
.section-hub-link a.lien-hub:hover {
    text-decoration: underline;
}

/* Grille services ville (template-ville mode hub) */
.ville-services-section {
    padding: 48px 0;
    background: var(--bg);
}
.ville-services-section h2 {
    font-size: 1.35rem;
    color: var(--primary);
    margin-bottom: 10px;
    font-weight: 700;
}
.ville-services-section > .container > p {
    color: var(--text-light);
    margin-bottom: 28px;
    font-size: 1rem;
}
.ville-services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
@media (min-width: 500px) {
    .ville-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 768px) {
    .ville-services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
.service-card-ville {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 22px 20px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-decoration: none;
    color: inherit;
    transition: border-color .2s, box-shadow .2s, transform .2s;
}
.service-card-ville:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.12);
    transform: translateY(-2px);
}
.service-card-ville .service-card-icon {
    font-size: 1.8rem;
    line-height: 1;
}
.service-card-ville h3 {
    font-size: 1.05rem;
    color: var(--primary);
    margin: 0 0 4px 0;
}
.service-card-ville p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.45;
    flex: 1;
}
.service-card-ville .service-card-link {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--accent);
}
.service-card-ville:hover .service-card-link {
    text-decoration: underline;
}

/* Contexte local (template-ville) */
.ville-contexte {
    padding: 48px 0;
    background: var(--bg);
}
.ville-contexte-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}
@media (min-width: 768px) {
    .ville-contexte-grid {
        grid-template-columns: 1fr 320px;
        align-items: start;
    }
}
.ville-contexte-content h2,
.ville-risques h3 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 14px;
    font-weight: 700;
}
.ville-risques {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 20px;
    border: 1px solid var(--border);
}
.risque-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}
.risque-item:last-child {
    border-bottom: none;
}
.risque-label {
    font-size: 0.9rem;
    color: var(--text);
}
.risque-badge,
.risque-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
}

/* ============================================================
   POURQUOI NOUS
   ============================================================ */
.why { background: var(--bg-light); }

.why-grid {
    display: grid;
    gap: 24px;
}
.why-item {
    background: var(--bg);
    border-radius: 10px;
    padding: 24px;
    border-left: 4px solid var(--accent);
    box-shadow: var(--shadow);
}
.why-item h3 { color: var(--primary); margin-bottom: 8px; font-size: 1rem; }
.why-item p  { font-size: .92rem; color: var(--text-light); }

@media (min-width: 768px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }

/* ============================================================
   TÉMOIGNAGES
   ============================================================ */
.temoignages-grid {
    display: grid;
    gap: 20px;
}
.temoignage {
    background: var(--bg-light);
    border-radius: 10px;
    padding: 24px;
    border: 1px solid var(--border);
}
.stars { color: #f6ad55; font-size: 1.1rem; margin-bottom: 10px; }
.temoignage p { font-size: .95rem; font-style: italic; color: var(--text); margin-bottom: 14px; }
.temoignage cite { font-size: .78rem; font-weight: 500; color: var(--text-light); font-style: normal; border-top: 1px solid var(--border); padding-top: 10px; display: block; }

@media (min-width: 768px) { .temoignages-grid { grid-template-columns: repeat(3, 1fr); } }

/* ============================================================
   CTA FINAL (page d'accueil)
   ============================================================ */
.cta-final {
    background: linear-gradient(135deg, var(--accent) 0%, #276749 100%);
    color: #fff;
    text-align: center;
    padding: 64px 0;
}
.cta-final .section-title { color: #fff; margin-bottom: 12px; }
.cta-final p { color: rgba(255,255,255,.85); margin-bottom: 32px; font-size: 1.05rem; }
.cta-buttons { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.cta-final .btn-primary  { background: #fff; color: var(--accent-dark); }
.cta-final .btn-primary:hover { background: #f0fff4; }
.cta-final .btn-secondary { border-color: rgba(255,255,255,.6); color: #fff; }
.cta-final .btn-secondary:hover { background: rgba(255,255,255,.15); }

/* ============================================================
   CTA SECTION — Pages PHP (locale, hub, template-ville)
   ============================================================ */
.cta-section {
    padding: 56px 0;
    background: linear-gradient(180deg, var(--bg-light) 0%, #fff 100%);
    border-top: 1px solid var(--border);
}
.cta-block {
    max-width: 640px;
    margin: 0 auto;
    padding: 40px 28px 44px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.04);
    text-align: center;
    position: relative;
}
.cta-block h2 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
    line-height: 1.3;
}
.cta-block p {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 28px;
    line-height: 1.5;
}
.cta-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    align-items: center;
}
.cta-section .btn {
    padding: 14px 26px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    transition: transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s;
}
.cta-section .btn-primary {
    box-shadow: 0 4px 14px rgba(56, 161, 105, 0.25);
}
.cta-section .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(56, 161, 105, 0.35);
}
.cta-section .btn-secondary {
    border-width: 2px;
}
.cta-section .btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(26, 54, 93, 0.15);
}

/* Contenu SEO des pages hub (infiltration, humidité, avant achat) */
.hub-seo-content {
    font-size: 1.02rem;
    line-height: 1.8;
    color: var(--text);
    max-width: 820px;
}
.hub-seo-content h2 {
    font-size: clamp(1.15rem, 2.5vw, 1.4rem);
    color: var(--primary);
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border);
}
.hub-seo-content h2:not(:first-child) { margin-top: 36px; }
.hub-seo-content h3 {
    font-size: 1.08rem;
    color: var(--primary);
    margin: 28px 0 10px;
    padding-left: 12px;
    border-left: 3px solid var(--secondary);
}
.hub-seo-content p { margin-bottom: 16px; }
.hub-seo-content strong { color: var(--primary); font-weight: 700; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: #0f2444;
    color: #a0aec0;
    padding: 48px 0 24px;
}
.footer-grid {
    display: grid;
    gap: 32px;
    margin-bottom: 40px;
}
.footer-col h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col a { color: #a0aec0; font-size: .88rem; }
.footer-col a:hover { color: #fff; text-decoration: none; }
.footer-col p { font-size: .88rem; line-height: 1.7; }
.footer-logo { color: #fff; font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; display: block; }
.footer-logo span { color: var(--accent); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
    font-size: .82rem;
}
.footer-bottom a { color: #718096; }
.footer-bottom a:hover { color: #fff; text-decoration: none; }

@media (min-width: 600px)  { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px)  { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb,
.breadcrumb ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 12px 0;
    font-size: .82rem;
    color: var(--text-light);
    background: var(--bg-light);
    border-bottom: 1px solid var(--border);
    margin: 0;
}
.breadcrumb ol { padding: 0; }
.breadcrumb li::after { content: " › "; margin-left: 2px; color: var(--border); }
.breadcrumb li:last-child::after { content: ""; }
.breadcrumb li[aria-hidden="true"]::after { content: ""; margin-left: 0; }
.breadcrumb a { color: var(--secondary); }

/* ============================================================
   CONTACT LAYOUT
   ============================================================ */
@media (min-width: 768px) {
    .contact-layout { grid-template-columns: 1fr 340px; }
    .form-2col { grid-template-columns: 1fr 1fr; gap: 14px; }
}

/* ============================================================
   ESTIMATEUR DE TARIF
   ============================================================ */

.estimateur-section {
    background: var(--bg-light);
    padding: 60px 0 48px;
}

.estimateur-header {
    text-align: center;
    margin-bottom: 36px;
}
.estimateur-header .section-title,
.estimateur-header .section-lead {
    margin-left: auto;
    margin-right: auto;
}
.estimateur-header .section-lead {
    display: block;
}

.estimateur-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,.1);
}

.est-single-step,
.est-single-result {
    padding: 28px 28px 32px;
}

/* Barre de progression */
.est-progress {
    height: 5px;
    background: var(--border);
    border-radius: 5px 5px 0 0;
    overflow: hidden;
}

.est-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    transition: width .4s ease;
    border-radius: 5px;
}

.est-steps-labels {
    display: flex;
    padding: 12px 24px 0;
    gap: 4px;
}

.est-step-label {
    flex: 1;
    font-size: .72rem;
    font-weight: 600;
    color: var(--text-light);
    text-align: center;
    padding: 4px 2px;
    border-bottom: 2px solid transparent;
    transition: color .2s, border-color .2s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.est-step-label.active {
    color: var(--secondary);
    border-bottom-color: var(--secondary);
}

/* Étapes */
.est-step { display: none; padding: 28px 28px 32px; }
.est-step.active { display: block; animation: fadeInUp .25s ease; }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.est-question {
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 22px;
}

/* Grilles de boutons */
.est-grid {
    display: grid;
    gap: 12px;
}

.est-grid-3 { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.est-grid-2 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

.est-btn {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: var(--bg-light);
    border: 2px solid var(--border);
    border-radius: 10px;
    padding: 14px 16px;
    font-family: var(--font);
    cursor: pointer;
    text-align: left;
    transition: border-color .2s, background .2s, transform .15s, box-shadow .2s;
}

.est-btn:hover {
    border-color: var(--secondary);
    background: #ebf4ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(43,108,176,.12);
}

.est-btn.selected {
    border-color: var(--secondary);
    background: #dbeafe;
    box-shadow: 0 0 0 3px rgba(43,108,176,.15);
}

.est-btn-icon { font-size: 1.6rem; margin-bottom: 4px; }

.est-btn strong {
    font-size: .95rem;
    color: var(--primary);
    font-weight: 700;
    display: block;
}

.est-btn-hint {
    font-size: .78rem;
    color: var(--text-light);
    line-height: 1.4;
}

.est-btn-large { padding: 20px 18px; }
.est-btn-large strong { font-size: 1rem; }

/* Bouton retour */
.est-back {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: .85rem;
    font-family: var(--font);
    cursor: pointer;
    padding: 0;
    margin-bottom: 18px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color .15s;
}
.est-back:hover { color: var(--primary); }

/* ── Résultat ── */
.est-result-box {
    background: linear-gradient(135deg, #0f2a4a, var(--primary));
    border-radius: 12px;
    padding: 28px 24px;
    text-align: center;
    color: #fff;
    margin-bottom: 20px;
}

.est-result-label {
    font-size: .82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    opacity: .8;
    margin-bottom: 10px;
}

.est-result-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 10px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.est-price-from,
.est-price-to {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.03em;
    color: #fff;
}

.est-price-sep {
    font-size: 1.1rem;
    opacity: .7;
}

.est-price-ht {
    font-size: 1rem;
    opacity: .7;
    font-weight: 500;
}

.est-result-note {
    font-size: .83rem;
    opacity: .8;
    line-height: 1.55;
    max-width: 480px;
    margin: 0 auto;
}

.est-result-details {
    background: var(--bg-light);
    border-radius: 10px;
    padding: 16px 20px;
    margin-bottom: 20px;
}

.est-result-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.est-result-details li {
    font-size: .9rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding: 0;
}

.est-result-details li::before { display: none; }

.est-result-details li span {
    color: var(--text-light);
    font-size: .82rem;
    flex-shrink: 0;
}

.est-result-details li strong { color: var(--primary); }

.est-result-cta {
    text-align: center;
    margin-bottom: 16px;
}

.est-result-cta p {
    font-size: .88rem;
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.6;
}

.est-cta-btns {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.est-restart {
    display: block;
    margin: 0 auto;
    background: none;
    border: none;
    font-family: var(--font);
    font-size: .83rem;
    color: var(--text-light);
    cursor: pointer;
    padding: 6px 12px;
    transition: color .15s;
}
.est-restart:hover { color: var(--primary); }

/* Disclaimer */
.estimateur-disclaimer {
    max-width: 800px;
    margin: 16px auto 0;
    font-size: .78rem;
    color: var(--text-light);
    text-align: center;
    line-height: 1.6;
}

/* ============================================================
   CONTEXTE LOCAL
   ============================================================ */
.contexte-local { background: var(--bg); }

.contexte-grid {
    display: grid;
    gap: 28px;
}

.contexte-item {
    border-left: 4px solid var(--secondary);
    padding-left: 20px;
}
.contexte-icon { font-size: 2rem; margin-bottom: 10px; }
.contexte-item h3 { color: var(--primary); font-size: 1.05rem; margin-bottom: 10px; }
.contexte-item p  { font-size: .93rem; color: var(--text); line-height: 1.7; margin-bottom: 8px; }
.contexte-source  { font-size: .78rem; color: var(--text-light); font-style: italic; }

@media (min-width: 900px) { .contexte-grid { grid-template-columns: repeat(3, 1fr); } }

/* ============================================================
   FAQ
   ============================================================ */
.faq-section { background: var(--bg-light); }

.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 860px; }

.faq-item {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}
.faq-item summary {
    padding: 16px 20px;
    font-weight: 600;
    font-size: .97rem;
    color: var(--primary);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.3rem; color: var(--accent); flex-shrink: 0; transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] summary { border-bottom: 1px solid var(--border); }
.faq-item p {
    padding: 16px 20px;
    font-size: .92rem;
    color: var(--text);
    line-height: 1.7;
}

/* ============================================================
   NOTIFICATION / MESSAGES
   ============================================================ */
.alert { padding: 14px 18px; border-radius: var(--radius); margin-bottom: 16px; font-size: .92rem; }
.alert-success { background: #f0fff4; border: 1px solid #9ae6b4; color: #276749; }
.alert-error   { background: #fff5f5; border: 1px solid #fed7d7; color: #c53030; }

/* ============================================================
   FORMULAIRE MULTI-ÉTAPES (msf)
   ============================================================ */

/* Conteneur principal — carte blanche */
.msf-wrapper {
    background: #fff;
    border-radius: 12px;
    padding: 24px 20px 20px;
    box-shadow: var(--shadow-lg);
    color: var(--text);
    position: relative;
}

/* ── Barre de progression ── */
.msf-progress {
    display: flex;
    align-items: flex-start;
    margin-bottom: 22px;
}
.msf-progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
}
.msf-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--border);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .88rem;
    border: 2px solid var(--border);
    transition: background .3s, border-color .3s, color .3s;
}
.msf-dot-label {
    font-size: .7rem;
    color: var(--text-light);
    font-weight: 600;
    white-space: nowrap;
    transition: color .3s;
}
.msf-progress-step.msf-active .msf-dot,
.msf-progress-step.msf-done   .msf-dot {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}
.msf-progress-step.msf-active .msf-dot-label,
.msf-progress-step.msf-done   .msf-dot-label {
    color: var(--accent);
}
.msf-progress-line {
    flex: 1;
    height: 2px;
    background: var(--border);
    align-self: flex-start;
    margin-top: 15px;     /* centrage vertical avec le dot de 32px */
    min-width: 16px;
    transition: background .3s;
}
.msf-progress-line.msf-done { background: var(--accent); }

/* ── Étapes ── */
.msf-step {
    display: none;
}
.msf-step.msf-active {
    display: block;
}
@keyframes msfSlideIn {
    from { opacity: 0; transform: translateX(28px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes msfSlideInBack {
    from { opacity: 0; transform: translateX(-28px); }
    to   { opacity: 1; transform: translateX(0); }
}
.msf-step.msf-enter      { animation: msfSlideIn     .3s ease; }
.msf-step.msf-enter-back { animation: msfSlideInBack .3s ease; }

.msf-step-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 14px;
    text-align: center;
}

/* ── Étape 1 : grille problèmes ── */
.msf-problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}
@media (max-width: 480px) {
    .msf-problem-grid { grid-template-columns: repeat(2, 1fr); }
}
.msf-problem-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    background: var(--bg-light);
    border: 2px solid var(--border);
    border-radius: 10px;
    padding: 14px 6px 12px;
    cursor: pointer;
    font-family: var(--font);
    font-size: .78rem;
    font-weight: 600;
    color: var(--text);
    text-align: center;
    line-height: 1.3;
    transition: border-color .2s, background .2s, transform .15s;
}
.msf-problem-btn:hover {
    border-color: var(--secondary);
    background: #ebf8ff;
    transform: translateY(-2px);
}
.msf-problem-btn.msf-selected {
    border-color: var(--accent);
    background: #f0fff4;
    color: var(--accent-dark);
}
.msf-problem-icon {
    font-size: 1.5rem;
    line-height: 1;
    display: block;
}

/* ── Bouton Retour ── */
.msf-back-btn {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    font-family: var(--font);
    font-size: .82rem;
    padding: 0;
    margin-bottom: 12px;
    display: inline-block;
    transition: color .2s;
}
.msf-back-btn:hover { color: var(--primary); }

/* ── Groupes de champs ── */
.msf-field-group { margin-bottom: 14px; }

.msf-field-label {
    display: block;
    font-size: .83rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 7px;
}
.msf-required { color: #e53e3e; }
.msf-optional { font-weight: 400; color: var(--text-light); font-size: .78rem; }

.msf-field-group input[type="text"],
.msf-field-group input[type="tel"],
.msf-field-group input[type="email"],
.msf-field-group textarea {
    width: 100%;
    padding: 10px 13px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: .95rem;
    color: var(--text);
    background: var(--bg);
    transition: border-color .2s;
}
.msf-field-group input:focus,
.msf-field-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(43,108,176,.1);
}
.msf-field-group textarea { resize: vertical; min-height: 76px; }
.msf-input-error { border-color: #e53e3e !important; }

.msf-field-error {
    display: block;
    color: #e53e3e;
    font-size: .76rem;
    margin-top: 4px;
    min-height: 16px;
    line-height: 1.3;
}

/* ── Boutons radio visuels ── */
.msf-radio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 7px;
    margin-bottom: 4px;
}
.msf-radio-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    background: var(--bg-light);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 9px 10px;
    cursor: pointer;
    font-size: .8rem;
    font-weight: 500;
    color: var(--text);
    transition: border-color .2s, background .2s;
    user-select: none;
    line-height: 1.3;
}
.msf-radio-btn:hover {
    border-color: var(--secondary);
    background: #ebf8ff;
}
.msf-radio-btn input[type="radio"] { display: none; }
.msf-radio-btn.msf-selected {
    border-color: var(--accent);
    background: #f0fff4;
    color: var(--accent-dark);
    font-weight: 600;
}
.msf-radio-icon {
    font-size: 1rem;
    flex-shrink: 0;
    line-height: 1;
}

/* ── Champ téléphone (prioritaire, plus grand) ── */
.msf-field-phone .msf-field-label {
    font-size: .92rem;
    font-weight: 700;
}
.msf-field-phone input[type="tel"] {
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    padding: 13px 14px !important;
    letter-spacing: .02em;
}
.msf-phone-hint {
    font-size: .78rem;
    color: var(--accent-dark);
    font-weight: 600;
    margin-top: 5px;
    margin-bottom: 2px;
}

/* ── Bouton Continuer ── */
.msf-continue-btn {
    width: 100%;
    padding: 13px;
    font-size: .97rem;
    background: var(--secondary);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    font-weight: 700;
    cursor: pointer;
    font-family: var(--font);
    transition: background .2s;
    margin-top: 4px;
}
.msf-continue-btn:hover { background: var(--primary); }

/* ── Bouton soumettre (CTA vert pleine largeur) ── */
.msf-submit-btn {
    width: 100%;
    padding: 17px;
    font-size: 1.08rem;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    font-weight: 700;
    cursor: pointer;
    font-family: var(--font);
    transition: background .2s, transform .15s;
    margin-bottom: 10px;
    letter-spacing: .01em;
}
.msf-submit-btn:hover { background: var(--accent-dark); transform: translateY(-1px); }
.msf-submit-btn:disabled { opacity: .7; cursor: not-allowed; transform: none; }

.msf-reassurance {
    text-align: center;
    font-size: .75rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.5;
}

/* ── Message de succès ── */
.msf-success {
    text-align: center;
    padding: 28px 20px;
    background: #f0fff4;
    border: 2px solid var(--accent);
    border-radius: 10px;
}
.msf-success-icon {
    font-size: 2.6rem;
    margin-bottom: 12px;
    display: block;
}
.msf-success p {
    font-size: 1rem;
    color: var(--accent-dark);
    font-weight: 600;
    line-height: 1.7;
    margin: 0;
}

/* =============================================================
   BLOG — HERO
   ============================================================= */

.blog-hero {
    background: linear-gradient(135deg, var(--primary) 0%, #1e4d8c 100%);
    color: #fff;
    padding: 56px 0 48px;
    text-align: center;
}

.blog-hero__title {
    font-size: clamp(1.7rem, 4vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -.02em;
    margin-bottom: 14px;
    color: #fff;
}

.blog-hero__lead {
    font-size: 1.05rem;
    opacity: .88;
    max-width: 600px;
    margin: 0 auto 24px;
    line-height: 1.7;
}

.blog-hero__stats {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.blog-hero__stats span {
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 20px;
    padding: 5px 14px;
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .04em;
    color: rgba(255,255,255,.95);
}

/* =============================================================
   BLOG — LISTING (blog.html)
   ============================================================= */

.blog-group-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--primary);
    margin: 0 0 20px;
    padding: 10px 16px;
    background: var(--bg-light);
    border-left: 4px solid var(--secondary);
    border-radius: 0 8px 8px 0;
    letter-spacing: .01em;
    text-transform: uppercase;
    font-size: .82rem;
    letter-spacing: .07em;
}

.blog-grid {
    display: grid;
    gap: 24px;
}

.blog-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow);
    transition: box-shadow .25s, transform .25s, border-color .2s;
}

.blog-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,.12);
    transform: translateY(-4px);
    border-color: #c5d8f0;
}

.blog-card > a {
    display: flex;
    flex-direction: column;
    flex: 1;
    text-decoration: none;
    color: inherit;
}

.blog-card .blog-card-img-wrap {
    overflow: hidden;
    position: relative;
}

.blog-card img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}

.blog-card:hover img { transform: scale(1.05); }

.blog-card-body {
    padding: 18px 22px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-category {
    font-size: .7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--secondary);
    margin-bottom: 8px;
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    background: #eef5ff;
}

.blog-card h2 {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 9px;
    line-height: 1.4;
    font-weight: 700;
}

.blog-card p {
    font-size: .88rem;
    color: var(--text-light);
    line-height: 1.65;
    flex: 1;
}

.blog-card-link {
    margin-top: 14px;
    font-size: .85rem;
    color: var(--secondary);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: gap .15s;
}

.blog-card:hover .blog-card-link { gap: 8px; }

@media (min-width: 600px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }

/* =============================================================
   ARTICLE — LAYOUT PRINCIPAL (2 colonnes)
   ============================================================= */

.article-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px 20px 80px;
    align-items: start;
}

@media (min-width: 1024px) {
    .article-layout {
        grid-template-columns: 1fr 300px;
        gap: 56px;
    }
}

/* =============================================================
   ARTICLE — EN-TÊTE
   ============================================================= */

.article-main { min-width: 0; }

.article-header { margin-bottom: 28px; }

.article-category-badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 14px;
}

.article-header h1 {
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    color: var(--primary);
    line-height: 1.25;
    margin-bottom: 18px;
    letter-spacing: -.01em;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    font-size: .82rem;
    color: var(--text-light);
    padding: 10px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.article-meta .article-date::before { content: "📅 "; }
.article-meta .article-read-time::before { content: "⏱ "; }

/* =============================================================
   ARTICLE — IMAGE PRINCIPALE
   ============================================================= */

.article-image {
    margin-bottom: 36px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,.10);
    position: relative;
}

.article-image img {
    width: 100%;
    height: 380px;
    display: block;
    object-fit: cover;
    transition: transform .4s ease;
}

.article-image:hover img { transform: scale(1.02); }

.article-image figcaption {
    font-size: .78rem;
    color: var(--text-light);
    text-align: center;
    padding: 8px 12px;
    background: var(--bg-light);
    font-style: italic;
}

/* =============================================================
   ARTICLE — BLOC "EN BREF"
   ============================================================= */

.en-bref {
    background: linear-gradient(135deg, #ebf4ff 0%, #dbeafe 100%);
    border: 1px solid #bfdbfe;
    border-left: 5px solid var(--secondary);
    border-radius: 0 12px 12px 0;
    padding: 24px 28px;
    margin-bottom: 36px;
    position: relative;
}

.en-bref::before {
    content: "✦";
    position: absolute;
    top: -12px;
    left: 18px;
    background: var(--secondary);
    color: #fff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .6rem;
    line-height: 24px;
    text-align: center;
}

.en-bref__title {
    font-size: .8rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.en-bref ul {
    padding-left: 0;
    margin: 0;
    list-style: none;
}

.en-bref li {
    font-size: .93rem;
    line-height: 1.65;
    color: var(--text);
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.en-bref li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: 700;
}

/* =============================================================
   ARTICLE — CORPS DU CONTENU
   ============================================================= */

.article-content {
    font-size: 1.02rem;
    line-height: 1.85;
    color: var(--text);
}

.article-content > p:first-of-type {
    font-size: 1.08rem;
    color: #3a4a5a;
    line-height: 1.9;
}

.article-content h2 {
    font-size: clamp(1.15rem, 2.5vw, 1.4rem);
    color: var(--primary);
    margin: 44px 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border);
    position: relative;
}

.article-content h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 48px;
    height: 2px;
    background: var(--secondary);
}

.article-content h3 {
    font-size: 1.05rem;
    color: var(--primary);
    margin: 28px 0 10px;
    padding-left: 12px;
    border-left: 3px solid var(--secondary);
}

.article-content p { margin-bottom: 18px; }

.article-content ul,
.article-content ol {
    padding-left: 0;
    margin-bottom: 18px;
    list-style: none;
}

.article-content ul li,
.article-content ol li {
    margin-bottom: 8px;
    padding-left: 22px;
    position: relative;
    line-height: 1.7;
}

.article-content ul li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: 700;
}

.article-content ol { counter-reset: ol-counter; }
.article-content ol li::before {
    content: counter(ol-counter) ".";
    counter-increment: ol-counter;
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: 700;
    font-size: .85rem;
}

.article-content a {
    color: var(--secondary);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: color .15s;
}

.article-content a:hover { color: var(--primary); }

/* Texte en gras dans le corps */
.article-content strong {
    color: var(--primary);
    font-weight: 700;
}

/* =============================================================
   ARTICLE — TABLEAUX
   ============================================================= */

.article-content table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 28px 0;
    font-size: .88rem;
    overflow-x: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 1px 8px rgba(0,0,0,.07);
    border: 1px solid var(--border);
}

.article-content thead tr:first-child th:first-child { border-radius: 10px 0 0 0; }
.article-content thead tr:first-child th:last-child  { border-radius: 0 10px 0 0; }

.article-content thead {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #fff;
}

.article-content th {
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    font-size: .83rem;
    letter-spacing: .03em;
    border-right: 1px solid rgba(255,255,255,.15);
}

.article-content th:last-child { border-right: none; }

.article-content td {
    padding: 11px 16px;
    border-bottom: 1px solid var(--border);
    border-right: 1px solid var(--border);
    vertical-align: top;
    line-height: 1.55;
}

.article-content td:last-child { border-right: none; }
.article-content tbody tr:last-child td { border-bottom: none; }

.article-content tr:nth-child(even) td { background: #f8fafc; }
.article-content tbody tr:hover td { background: #f0f7ff; transition: background .15s; }

/* =============================================================
   ARTICLE — FAQ ACCORDÉON
   ============================================================= */

.faq-list {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    transition: box-shadow .2s;
}

.faq-item:hover { box-shadow: 0 2px 12px rgba(0,0,0,.08); }

.faq-item[open] {
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(43,108,176,.08);
}

.faq-item summary {
    padding: 16px 20px;
    font-weight: 600;
    font-size: .95rem;
    cursor: pointer;
    color: var(--primary);
    background: var(--bg-light);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    user-select: none;
    transition: background .15s;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item[open] summary {
    background: #eef5ff;
    color: var(--secondary);
}

.faq-item summary::after {
    content: '+';
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: var(--secondary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    line-height: 24px;
    text-align: center;
    transition: transform .2s, background .2s;
}

.faq-item[open] summary::after {
    content: '−';
    background: var(--primary);
    transform: rotate(0deg);
}

.faq-item p {
    padding: 16px 20px;
    font-size: .92rem;
    line-height: 1.75;
    margin: 0;
    background: #fff;
    color: var(--text);
    border-top: 1px solid #dbeafe;
}

/* =============================================================
   ARTICLE — ARTICLES LIÉS
   ============================================================= */

.article-related {
    margin-top: 56px;
    padding-top: 32px;
    border-top: 2px solid var(--border);
}

.article-related > h2 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-related > h2::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 20px;
    background: var(--secondary);
    border-radius: 2px;
}

.related-links-list {
    display: grid;
    gap: 12px;
    padding: 0;
    list-style: none;
}

@media (min-width: 640px) {
    .related-links-list { grid-template-columns: repeat(2, 1fr); }
}

.related-links-list li {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 16px 18px;
    transition: box-shadow .2s, border-color .2s, transform .15s;
    position: relative;
}

.related-links-list li::before { display: none; }

.related-links-list li:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary);
    transform: translateY(-2px);
}

.related-links-list .related-cat {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: var(--secondary);
    margin-bottom: 5px;
    display: block;
}

.related-links-list a {
    font-size: .93rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    line-height: 1.4;
    display: block;
}

.related-links-list li:hover a { color: var(--secondary); }

/* =============================================================
   ARTICLE — CTA DE FIN D'ARTICLE
   ============================================================= */

.article-cta-block {
    margin-top: 56px;
    background: linear-gradient(135deg, #0f2a4a 0%, var(--primary) 50%, var(--secondary) 100%);
    border-radius: 16px;
    padding: 40px 32px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.article-cta-block::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,.04);
    border-radius: 50%;
}

.article-cta-block::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: -40px;
    width: 140px;
    height: 140px;
    background: rgba(255,255,255,.03);
    border-radius: 50%;
}

.article-cta-content { position: relative; z-index: 1; }

.article-cta-block p {
    font-size: 1.05rem;
    opacity: .92;
    margin-bottom: 24px;
    line-height: 1.65;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.article-cta-block .cta-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.article-cta-block .btn-primary {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    box-shadow: 0 4px 14px rgba(56,161,105,.3);
}

.article-cta-block .btn-primary:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    box-shadow: 0 6px 20px rgba(56,161,105,.4);
    transform: translateY(-1px);
}

.article-cta-block .btn-secondary {
    background: rgba(255,255,255,.1);
    color: #fff;
    border-color: rgba(255,255,255,.4);
    backdrop-filter: blur(4px);
}

.article-cta-block .btn-secondary:hover {
    background: rgba(255,255,255,.2);
    border-color: #fff;
}

/* =============================================================
   ARTICLE — SIDEBAR
   ============================================================= */

.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

@media (min-width: 1024px) {
    .article-sidebar {
        position: sticky;
        top: 90px;
    }
}

.sidebar-widget {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 22px 20px;
    box-shadow: var(--shadow);
}

.sidebar-widget h3 {
    font-size: .95rem;
    color: var(--primary);
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
    font-weight: 700;
}

.sidebar-widget p {
    font-size: .88rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 14px;
}

.sidebar-widget .btn-full {
    width: 100%;
    text-align: center;
    display: block;
}

.sidebar-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sidebar-links li { padding: 0; }
.sidebar-links li::before { display: none; }

.sidebar-links a {
    font-size: .88rem;
    color: var(--text);
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 6px;
    display: block;
    transition: background .15s, color .15s;
}

.sidebar-links a::before {
    content: "→ ";
    color: var(--secondary);
    font-weight: 700;
}

.sidebar-links a:hover {
    background: var(--bg-light);
    color: var(--secondary);
    text-decoration: none;
}

.sidebar-widget--highlight {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-color: transparent;
    color: #fff;
}

.sidebar-widget--highlight h3 {
    color: #fff;
    border-bottom-color: rgba(255,255,255,.2);
}

.sidebar-widget--highlight p {
    color: rgba(255,255,255,.85);
}

.btn-accent {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.btn-accent:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    text-decoration: none;
}

/* ================================================================
   HERO PAGES VILLE / HUB (PHP)
   ================================================================ */
.ville-hero {
    background: var(--primary);
    color: #fff;
    padding: 40px 0 48px;
}
.ville-hero .container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: start;
}
@media (min-width: 768px) {
    .ville-hero .container {
        grid-template-columns: 1fr 320px;
        gap: 48px;
    }
}
.ville-hero-content h1 {
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.25;
}
.ville-hero .ville-intro {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    margin-bottom: 20px;
    line-height: 1.6;
}
.ville-hero .ville-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.ville-hero .badge {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}
.ville-hero-cta .cta-card {
    background: #fff;
    color: var(--text);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}
.ville-hero-cta .cta-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}
.ville-hero-cta .cta-card-sub {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 16px;
}
.ville-hero-cta .btn-full { width: 100%; text-align: center; margin-bottom: 8px; }
.ville-hero-cta .btn-full:last-of-type { margin-bottom: 0; }
.cta-form-hint {
    margin-top: 14px;
    margin-bottom: 0;
    font-size: 0.85rem;
    text-align: center;
}
.cta-form-hint a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}
.cta-form-hint a:hover { text-decoration: underline; }

/* ================================================================
   PAGES LOCALES SERVICE × VILLE
   ================================================================ */

.form-anchor-link {
    margin-bottom: 24px;
    font-size: 0.95rem;
}
.form-anchor-link a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
}
.form-anchor-link a:hover { text-decoration: underline; }

.ville-intro-geo {
    font-size: 1.1rem;
    color: var(--text-light);
    border-left: 4px solid var(--accent);
    padding-left: 16px;
    margin-bottom: 32px;
    font-style: italic;
}

.ville-stats {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin: 32px 0;
}

.ville-stats .stat-item {
    flex: 1;
    min-width: 120px;
    background: var(--bg-light, #f7f8fc);
    border-radius: 8px;
    padding: 20px 16px;
    text-align: center;
}

.ville-stats .stat-value {
    display: block;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 6px;
}

.ville-stats .stat-label {
    display: block;
    font-size: .85rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: .04em;
}

/* ============================================================
   EXPERTS LOCAUX
   ============================================================ */
.experts-locaux-section {
    background: #f8f9fc;
    padding: 56px 0;
    border-top: 1px solid #e8eaf0;
}

.experts-locaux-titre {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary, #1a2e4a);
    margin-bottom: 8px;
}
.experts-locaux-empty {
    color: var(--text-light);
    font-size: 1rem;
    margin-top: 12px;
}
.experts-locaux-empty a {
    color: var(--accent);
    font-weight: 600;
}

.experts-locaux-intro {
    color: var(--text-light, #6b7280);
    margin-bottom: 32px;
    font-size: .97rem;
}

.experts-ville-titre {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary, #1a2e4a);
    margin: 28px 0 14px;
    padding-bottom: 6px;
    border-bottom: 1px solid #e2e6ee;
}

.experts-ville-titre:first-of-type {
    margin-top: 0;
}

.experts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 20px;
}

.expert-card {
    background: #fff;
    border: 1px solid #e2e6ee;
    border-radius: 10px;
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: box-shadow .2s, transform .2s;
}

.expert-card:hover {
    box-shadow: 0 4px 18px rgba(0,0,0,.09);
    transform: translateY(-2px);
}

/* Masquer les cartes au-delà de la dizaine jusqu'à "Voir plus" */
.expert-card--more {
    display: none;
}

.experts-locaux-section.is-expanded .expert-card--more {
    display: flex;
    flex-direction: column;
}

.experts-locaux-actions {
    text-align: center;
    margin-top: 28px;
    margin-bottom: 0;
}

.experts-locaux-toggle {
    display: inline-block;
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary, #1a2e4a);
    background: #fff;
    border: 2px solid var(--primary, #1a2e4a);
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.experts-locaux-toggle:hover {
    background: var(--primary, #1a2e4a);
    color: #fff;
}

.expert-nom {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary, #1a2e4a);
    margin: 0;
    line-height: 1.3;
}

.expert-categorie {
    display: inline-block;
    font-size: .75rem;
    font-weight: 600;
    color: var(--accent, #e67e22);
    background: rgba(230,126,34,.1);
    padding: 2px 8px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.expert-rating {
    font-size: .9rem;
    color: var(--text, #374151);
}

.expert-rating .etoiles {
    color: #f59e0b;
    letter-spacing: .05em;
}

.expert-rating .note-valeur {
    font-weight: 700;
}

.expert-rating .nb-avis {
    color: var(--text-light, #6b7280);
    font-size: .83rem;
}

.expert-adresse {
    font-size: .85rem;
    color: var(--text-light, #6b7280);
    font-style: normal;
    line-height: 1.4;
}

.expert-tel {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: .9rem;
    font-weight: 600;
    color: var(--primary, #1a2e4a);
    text-decoration: none;
}

.expert-tel::before {
    content: "📞";
    font-size: .85rem;
}

.expert-tel:hover {
    color: var(--accent, #e67e22);
}

.expert-site {
    font-size: .82rem;
    color: var(--accent, #e67e22);
    text-decoration: none;
    font-weight: 600;
    margin-top: auto;
}

.expert-site:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {
    .experts-grid {
        grid-template-columns: 1fr;
    }
}
