:root {
    --bg: #f7f7f8;
    --text: #1e293b;
    --primary: #0f766e;
    --primary-dark: #0b5a54;
    --card: #ffffff;
    --muted: #64748b;
    --border: #e2e8f0;
    --accent: #d4a012;
    --accent-soft: #f5e6bc;
    --heading-strong: #0f172a;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.5;
}

a { color: inherit; text-decoration: none; }

.container {
    width: min(1100px, 92%);
    margin: 0 auto;
}

.site-header {
    background: #fff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 50;
}

.nav-wrap {
    position: relative;
    z-index: 46;
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand { font-weight: 700; color: var(--primary); }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.nav-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    color: var(--text);
}

.nav-burger:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.nav-burger-bar {
    display: block;
    height: 2px;
    width: 100%;
    background: currentColor;
    border-radius: 1px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header.nav-open .nav-burger-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.site-header.nav-open .nav-burger-bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.site-header.nav-open .nav-burger-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-backdrop {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: 72px;
    z-index: 40;
    background: rgba(15, 23, 42, 0.35);
}

.site-header.nav-open .nav-backdrop {
    display: block;
}

.main-nav { display: flex; gap: 14px; flex-wrap: wrap; }
.main-nav a { color: var(--muted); }
.main-nav a:hover { color: var(--primary); }

.dropdown {
    position: relative;
    padding-bottom: 6px;
}

.dropdown-toggle::after {
    content: " \25BE";
    font-size: 0.75rem;
}

.dropdown-toggle {
    background: transparent;
    border: 0;
    padding: 0;
    margin: 0;
    font: inherit;
    color: var(--muted);
    cursor: pointer;
}

.dropdown-toggle:hover {
    color: var(--primary);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% - 2px);
    left: 0;
    min-width: 260px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 8px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
    display: none;
    z-index: 60;
}

.dropdown-menu a {
    display: block;
    padding: 8px 10px;
    border-radius: 8px;
}

.dropdown-menu a:hover {
    background: #f1f5f9;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
    display: block;
}

.hero {
    background: linear-gradient(130deg, #e6fffa, #eff6ff);
    padding: 64px 0;
}

.hero h1 { margin: 0 0 8px; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.hero p { margin: 0; color: #334155; max-width: 700px; }
.hero-actions { margin-top: 22px; display: flex; gap: 12px; flex-wrap: wrap; }

.section-emergency {
    padding: 26px 0 10px;
}

.emergency-card {
    background: linear-gradient(130deg, #0f172a 0%, #1e293b 100%);
    color: #f8fafc;
    border-radius: 14px;
    border-left: 5px solid var(--accent);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.2);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.emergency-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(245, 208, 99, 0.18);
    color: #f5d063;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.emergency-card__content {
    flex: 1;
    min-width: min(100%, 300px);
}

.emergency-card__content h2 {
    margin: 0 0 6px;
    font-size: clamp(1.1rem, 2.4vw, 1.4rem);
    color: #f8fafc;
}

.emergency-card__content p {
    margin: 0;
    color: #e2e8f0;
}

.emergency-card__cta {
    white-space: nowrap;
    background: #f59e0b;
    color: #172554;
    font-weight: 800;
}

.emergency-card__cta:hover {
    background: #fbbf24;
}

.section { padding: 48px 0; }
.section-alt { background: #edf2f7; }

.grid { display: grid; gap: 16px; }
.cards { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.three { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 18px;
}

.service-link {
    display: block;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(15, 118, 110, 0.12);
}

.steps { padding-left: 20px; margin: 0; }
.steps li { margin: 8px 0; }

.badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.badges--all-communes {
    max-height: 28rem;
    overflow-y: auto;
    padding: 6px 4px 10px;
    align-content: flex-start;
}

@media (min-width: 640px) {
    .badges--all-communes {
        display: block;
        column-count: 3;
        column-gap: 0.65rem;
    }

    .badges--all-communes .badge {
        display: inline-block;
        width: 100%;
        margin-bottom: 0.4rem;
        break-inside: avoid;
        box-sizing: border-box;
    }
}

.badge {
    background: #d1fae5;
    border: 1px solid #6ee7b7;
    color: #065f46;
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 0.92rem;
}

.badge:hover { background: #a7f3d0; }
.badge.muted { background: #fff; border-color: var(--border); color: #334155; }
.cities-note { margin: 14px 0 10px; color: #475569; }
.zones-link-line { margin-top: 16px; }

.rating { color: #f59e0b; letter-spacing: 1px; margin: 0 0 8px; }

.hours { padding-left: 20px; margin: 0; }

.faq-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 10px;
}

.faq-item summary { cursor: pointer; font-weight: 600; }

.contact-form {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px;
    display: grid;
    gap: 12px;
}

.contact-form label { display: grid; gap: 6px; font-weight: 600; }

input, textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font: inherit;
}

.btn {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    border: 0;
    border-radius: 8px;
    padding: 10px 16px;
    cursor: pointer;
}

.btn:hover { background: var(--primary-dark); }
.btn-small { padding: 8px 12px; }
.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-outline:hover {
    color: #fff;
}

.service-hero-cta {
    margin-top: 18px;
}

.city-hero-cta {
    margin-top: 20px;
}

.hero--service {
    padding: 56px 0;
}

.service-hero-row {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    flex-wrap: wrap;
}

.service-hero-icon {
    flex-shrink: 0;
    width: 88px;
    height: 88px;
    border-radius: 16px;
    background: linear-gradient(145deg, #ecfdf5, #d1fae5);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    box-shadow: 0 8px 24px rgba(15, 118, 110, 0.15);
}

.service-hero-text {
    flex: 1;
    min-width: min(100%, 280px);
}

.service-hero-text h1 {
    margin: 0 0 8px;
    font-size: clamp(1.65rem, 4vw, 2.35rem);
}

.service-hero-text > p {
    margin: 0;
    color: #334155;
    max-width: 640px;
}

.service-content-block p {
    color: #475569;
    line-height: 1.65;
    margin: 0 0 1rem;
}

.service-content-block p:last-child {
    margin-bottom: 0;
}

.site-footer {
    background: #0f172a;
    color: #e2e8f0;
    padding: 24px 0;
    margin-top: 24px;
}

.footer-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-icon {
    color: #f5d063;
    margin-right: 6px;
}

.copyright-bar {
    background: #0b1220;
    color: #cbd5e1;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    padding: 10px 0;
    text-align: center;
}

.copyright-bar p {
    margin: 0;
    font-size: 0.9rem;
}

@media (max-width: 760px) {
    .nav-burger {
        display: inline-flex;
    }

    .main-nav {
        position: fixed;
        left: 0;
        right: 0;
        top: 72px;
        z-index: 45;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        flex-wrap: nowrap;
        max-height: min(70vh, calc(100vh - 72px));
        overflow-y: auto;
        padding: 12px 16px 20px;
        margin: 0;
        background: #fff;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
        transform: translateY(-12px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    }

    .site-header.nav-open .main-nav {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .main-nav > a,
    .main-nav > .dropdown {
        padding: 12px 0;
        border-bottom: 1px solid var(--border);
    }

    .main-nav > a:last-of-type,
    .main-nav > .dropdown:last-child {
        border-bottom: 0;
    }

    .main-nav .dropdown {
        padding-bottom: 0;
    }

    .main-nav .dropdown-toggle {
        width: 100%;
        text-align: left;
        font-weight: 600;
        color: var(--text);
        padding: 0;
    }

    .main-nav .dropdown-toggle::after {
        content: "";
    }

    .main-nav .dropdown-menu {
        display: block !important;
        position: static;
        min-width: 0;
        margin-top: 8px;
        padding: 0 0 0 8px;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        background: transparent;
    }

    .main-nav .dropdown-menu a {
        padding: 10px 10px;
    }
}

/* ----- Home : section headers ----- */
.section-head {
    margin-bottom: 2rem;
    max-width: 720px;
}

.section-head--center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    max-width: 640px;
}

.section-title-accent {
    margin: 0 0 0.65rem;
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--heading-strong);
}

.section-lead,
.section-subtitle,
.section-intro {
    margin: 0;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.65;
}

.section-subtitle {
    font-style: italic;
    font-family: Georgia, "Times New Roman", serif;
}

.section-intro strong {
    color: var(--text);
    font-weight: 700;
}

/* ----- Home : services (cartes barre laterale) ----- */
.section-services-home {
    background: #eef1f5;
}

.services-stack {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.service-card-home {
    display: block;
    position: relative;
    background: var(--card);
    border-radius: 10px;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card-home:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.12);
}

.service-card-home__accent {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(180deg, var(--accent) 0%, #c4920e 100%);
}

.service-card-home__inner {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1.35rem 1.5rem 1.35rem 1.65rem;
}

.service-card-home__icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 10px;
    background: linear-gradient(145deg, #ecfdf5, #d1fae5);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
}

.service-card-home__title {
    margin: 0 0 0.4rem;
    font-size: 1.05rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--heading-strong);
}

.service-card-home__text {
    margin: 0 0 0.75rem;
    color: #475569;
    font-size: 0.98rem;
    line-height: 1.55;
}

.service-card-home__more {
    display: inline-block;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary);
    border-bottom: 3px solid var(--accent);
    padding-bottom: 2px;
    transition: color 0.15s ease;
}

.service-card-home:hover .service-card-home__more {
    color: var(--primary-dark);
}

/* ----- Home : comment ca marche ----- */
.section-how {
    background: #fff;
}

.how-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem 1.5rem;
    align-items: start;
}

.how-step {
    text-align: center;
    max-width: 280px;
    margin: 0 auto;
}

.how-step__icon-wrap {
    width: 76px;
    height: 76px;
    margin: 0 auto 1.1rem;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--accent) 0%, #b8890c 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.65rem;
    box-shadow: 0 6px 20px rgba(212, 160, 18, 0.35);
}

.how-step__title {
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--heading-strong);
}

.how-step__text {
    margin: 0;
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.55;
}

/* ----- Home : pourquoi nous choisir ----- */
.section-choose {
    background: #e8ecf1;
}

.choose-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.reason-card {
    background: var(--card);
    border-radius: 10px;
    padding: 1.75rem 1.5rem;
    text-align: center;
    box-shadow: 0 8px 26px rgba(15, 23, 42, 0.07);
    border: 1px solid var(--border);
    border-top: 4px solid var(--accent);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.reason-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
}

.reason-card--wide {
    grid-column: 1 / -1;
    max-width: 100%;
}

.reason-card__icon {
    margin-bottom: 1rem;
    font-size: 2rem;
    color: var(--primary);
}

.reason-card__title {
    margin: 0 0 0.65rem;
    font-size: 0.95rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #134e4a;
}

.reason-card__text {
    margin: 0;
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.55;
}

/* ----- Shared : avis google ----- */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.review-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.review-card__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.7rem;
}

.review-card__source {
    margin: 0;
    color: #334155;
    font-weight: 700;
    font-size: 0.9rem;
}

.review-card__source i {
    margin-right: 6px;
    color: #4285f4;
}

.review-card__text {
    margin: 0 0 0.9rem;
    color: #334155;
    font-size: 0.95rem;
    line-height: 1.5;
}

.review-card__author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.review-card__avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.82rem;
    color: #334155;
    background: #e2e8f0;
}

.review-card__name,
.review-card__time {
    margin: 0;
}

.review-card__name {
    font-weight: 700;
    font-size: 0.92rem;
}

.review-card__time {
    color: var(--muted);
    font-size: 0.82rem;
}

/* ----- Shared : horaires ----- */
.hours-panel {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.35rem 1.5rem;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.hours-panel__main {
    margin: 0 0 0.8rem;
    font-size: clamp(1.1rem, 2vw, 1.45rem);
    font-weight: 800;
    color: #0f172a;
}

.hours-panel__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.hours-panel__list li {
    margin-bottom: 0.5rem;
    color: #334155;
}

.hours-panel__cta {
    margin: 1rem 0 0;
    padding-top: 0.85rem;
    border-top: 1px solid var(--border);
    font-weight: 700;
}

.hours-panel__cta a {
    color: #ca8a04;
}

/* ----- Shared : FAQ cartes ----- */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.faq-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 11px;
    padding: 1rem 1rem 1rem 1.15rem;
    border-left: 4px solid var(--accent);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}

.faq-card__question {
    margin: 0 0 0.45rem;
    font-size: 1rem;
    color: #0f172a;
}

.faq-card__answer {
    margin: 0;
    color: #475569;
    line-height: 1.6;
}

/* Carte contact en fin de FAQ : meme taille que les autres cellules, fond sombre */
.faq-card--contact {
    text-align: left;
    background: linear-gradient(160deg, #1a2744 0%, #152238 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 4px solid var(--accent);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.12);
    padding: 1rem 1rem 1rem 1.15rem;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.faq-card__contact-title {
    margin: 0 0 0.65rem;
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #f5d565;
}

.faq-card__contact-phone {
    margin: 0 0 0.75rem;
}

.faq-card__contact-phone a {
    font-size: 1.15rem;
    font-weight: 800;
    color: #f8fafc;
    text-decoration: none;
}

.faq-card__contact-phone a:hover {
    color: #fde68a;
}

.faq-card__contact-body {
    margin: 0 0 0.85rem;
    color: #e2e8f0;
    font-size: 0.9rem;
    line-height: 1.55;
    flex: 1;
}

.faq-card__contact-body strong {
    color: #fff;
    font-weight: 700;
}

.faq-card__contact-wa {
    color: #f5d565;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.faq-card__contact-wa:hover {
    color: #fde68a;
}

.faq-card__contact-footer {
    margin: 0;
    margin-top: auto;
    padding-top: 0.65rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.faq-card__contact-footer a {
    font-weight: 800;
    font-size: 0.88rem;
    color: #f5d565;
    text-decoration: none;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 2px;
}

.faq-card__contact-footer a:hover {
    color: #fde68a;
}

@media (max-width: 900px) {
    .choose-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .service-card-home__inner {
        flex-direction: column;
    }
}

.contact-subtitle {
    margin: 8px 0 6px;
    color: #475569;
    max-width: 760px;
}

.contact-phone-note {
    margin: 0 0 14px;
    font-weight: 700;
    color: #0f172a;
}

.contact-phone-note a {
    color: var(--primary-dark);
}

.contact-feedback {
    margin: 0 0 12px;
    padding: 10px 12px;
    border-radius: 8px;
    font-weight: 700;
}

.contact-feedback--success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
}

.contact-feedback--error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.contact-form {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #d7e1ea;
    border-left: 4px solid var(--accent);
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
    padding: 18px;
}

.contact-form .btn {
    justify-self: start;
}

.btn-compact {
    padding: 12px 18px;
    font-size: 0.94rem;
    border-radius: 9px;
}
