/* ============================================================
   Futur Home — CSS custom
   Bootstrap 5.3.8 est chargé avant ce fichier
   ============================================================ */

/* ─── Variables ─────────────────────────────────────────────── */
:root {
    /* Décoratif seulement (bordures, icônes, highlights) */
    --fh-green:       #2FAC66;
    /* Texte, boutons, liens — 5.37:1 sur blanc ✓ WCAG AA */
    --fh-green-bg:    #1a7a45;
    --fh-green-dark:  #156037;
    --fh-blue:        #2ea3f2;
    --fh-dark:        #313131;
    --fh-gray:        #555555;
    --fh-light-gray:  #f8f9fa;
    --fh-border:      #e5e5e5;
    --fh-font:        'Cabin', Helvetica, Arial, Lucida, sans-serif;
    --fh-max-width:   1440px;
}

/* ─── Base ───────────────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--fh-font);
    color: var(--fh-dark);
    background: #fff;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--fh-font);
    font-weight: 700;
    line-height: 1.3;
}

a {
    /* #1a7a45 sur blanc = 5.37:1 ✓ WCAG AA */
    color: var(--fh-green-bg);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--fh-green-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

p {
    margin-bottom: 1em;
}

p:last-child {
    margin-bottom: 0;
}

/* ─── Utilitaires ────────────────────────────────────────────── */
.fh-content p {
    line-height: 1.7em;
}

.fh-section {
    padding: 64px 0;
}

.fh-section-sm {
    padding: 40px 0;
}

.fh-max-w {
    max-width: var(--fh-max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 5%;
    padding-right: 5%;
}

/* ─── Surcharge Bootstrap ────────────────────────────────────── */
.btn-primary {
    /* fond #1a7a45, texte blanc = 5.37:1 ✓ WCAG AA */
    background-color: var(--fh-green-bg);
    border-color: var(--fh-green-bg);
    color: #fff;
    font-family: var(--fh-font);
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 4px;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--fh-green-dark);
    border-color: var(--fh-green-dark);
    color: #fff;
}

.btn-outline-primary {
    /* texte #1a7a45 sur blanc = 5.37:1 ✓ WCAG AA */
    color: var(--fh-green-bg);
    border-color: var(--fh-green-bg);
    font-family: var(--fh-font);
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 4px;
}

.btn-outline-primary:hover {
    background-color: var(--fh-green-bg);
    border-color: var(--fh-green-bg);
    color: #fff;
}

/* ─── Navbar + Glow Menu ─────────────────────────────────────── */
.fh-navbar {
    background: #fff;
    box-shadow: 0 1px 18px rgba(0, 0, 0, 0.1);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Grille 3 zones : logo | menu centré | téléphone */
.fh-navbar-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
}

.fh-navbar-logo img {
    height: 40px;
    width: auto;
    display: block;
}

/* Zone centrale = menu collapse */
.fh-navbar-inner .navbar-collapse {
    grid-column: 2;
    display: flex !important;
    flex-direction: row;
    align-items: center;
    gap: 0;
}

/* Téléphone desktop — col 3, tout à droite */
.fh-navbar-tel {
    font-family: var(--fh-font);
    font-size: 15px;
    font-weight: 700;
    color: var(--fh-green-bg);
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    transition: color 0.2s ease;
    text-decoration: none;
}

.fh-navbar-tel--desktop {
    grid-column: 3;
    justify-self: end;
}

.fh-navbar-tel:hover {
    color: var(--fh-green-dark);
}

/* Glow nav — style "floating card" */
.fh-glow-nav {
    background: #ebebeb;
    border-radius: 14px;
    padding: 4px;
    display: flex !important;
    flex-direction: row;
    gap: 2px;
    align-items: center;
    list-style: none;
    margin: 0;
}

.fh-nav-center {
    margin: 0 auto;
}

.fh-navbar .nav-link {
    font-family: var(--fh-font);
    font-size: 15px;
    font-weight: 500;
    color: #555;
    border-radius: 10px;
    padding: 8px 16px;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
    line-height: 1;
    background: transparent;
}

.fh-navbar .nav-link:hover {
    background: rgba(255, 255, 255, 0.65);
    color: #333;
}

/* Item actif : carte blanche qui se lève avec glow vert pastel */
.fh-navbar .nav-link.active {
    background: #fff;
    color: var(--fh-green-bg);
    font-weight: 600;
    box-shadow:
        0 1px 4px rgba(26, 122, 69, 0.10),
        0 4px 14px rgba(26, 122, 69, 0.14);
}

/* ── Burger custom ──────────────────────────────────────────── */
.fh-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    background: #f4f4f5;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.fh-burger:hover {
    background: #e8e8e8;
}

.fh-burger-bar {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--fh-green-bg);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Burger animé quand ouvert */
.fh-burger[aria-expanded="true"] .fh-burger-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.fh-burger[aria-expanded="true"] .fh-burger-bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.fh-burger[aria-expanded="true"] .fh-burger-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ── Mobile ─────────────────────────────────────────────────── */
@media (max-width: 991px) {
    .fh-navbar-inner {
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto;
    }

    .fh-burger {
        display: flex;
        grid-column: 2;
        grid-row: 1;
    }

    .fh-navbar-logo {
        grid-column: 1;
        grid-row: 1;
    }

    /* Le collapse prend toute la largeur sous le header */
    .fh-navbar-inner .navbar-collapse {
        grid-column: 1 / -1;
        grid-row: 2;
        display: none !important;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        border-top: 1px solid var(--fh-border);
        padding-top: 12px;
        margin-top: 8px;
    }

    .fh-navbar-inner .navbar-collapse.show {
        display: flex !important;
    }

    /* Pill désactivé sur mobile */
    .fh-glow-nav {
        background: transparent;
        border-radius: 0;
        padding: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        flex: 1;
    }

    .fh-navbar .nav-link {
        font-size: 15px;
        padding: 12px 14px;
        border-radius: 8px;
        color: var(--fh-dark);
    }

    .fh-navbar .nav-link:hover,
    .fh-navbar .nav-link.active {
        background: rgba(26, 122, 69, 0.08);
        color: var(--fh-green-bg);
        box-shadow: none;
    }

    /* Téléphone dans le menu mobile */
    .fh-navbar-tel--mobile {
        padding: 12px 14px;
        border-top: 1px solid var(--fh-border);
        margin-top: 8px;
        font-size: 16px;
    }
}

/* ─── Feedback formulaires ───────────────────────────────────── */
.fh-form-feedback {
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 20px;
    line-height: 1.5;
}

.fh-form-feedback--success {
    background: #e8f8ef;
    color: var(--fh-green-bg);
    border: 1px solid #a8dcc0;
}

.fh-form-feedback--error {
    background: #fdf0f0;
    color: #c0392b;
    border: 1px solid #f5c6cb;
}

/* ─── Hero Homepage ──────────────────────────────────────────── */
.fh-hero-home {
    padding: 80px 0;
    background: #fff;
}

.fh-hero-home .fh-hero-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.fh-hero-home h1 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    color: var(--fh-dark);
    margin-bottom: 20px;
}

.fh-hero-home .fh-hero-text {
    font-size: 18px;
    color: var(--fh-gray);
    margin-bottom: 32px;
    line-height: 1.7;
}

.fh-hero-home .fh-hero-img {
    border-radius: 12px;
    object-fit: cover;
    width: 100%;
    max-height: 420px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
}

@media (max-width: 767px) {
    .fh-hero-home {
        padding: 48px 0;
        text-align: center;
    }

    .fh-hero-home .fh-hero-icon {
        margin: 0 auto 16px;
    }

    .fh-hero-home .fh-hero-img {
        margin-top: 32px;
    }
}

/* ─── Hero Pages internes ────────────────────────────────────── */
.fh-hero-page {
    background: linear-gradient(135deg, #f8fffe 0%, #e8f8ef 100%);
    padding: 72px 0 56px;
    border-bottom: 3px solid var(--fh-green);
}

.fh-hero-page h1 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    color: var(--fh-dark);
    margin-bottom: 16px;
}

.fh-hero-page .fh-hero-subtitle {
    font-size: 17px;
    color: var(--fh-gray);
    max-width: 680px;
    line-height: 1.7;
}

.fh-hero-page .fh-hero-img {
    border-radius: 12px;
    object-fit: cover;
    width: 100%;
    max-height: 380px;
    box-shadow: 0 8px 32px rgba(47, 172, 102, 0.15);
}

@media (max-width: 767px) {
    .fh-hero-page {
        padding: 48px 0 40px;
        text-align: center;
    }

    .fh-hero-page .fh-hero-subtitle {
        margin: 0 auto;
    }

    .fh-hero-page .fh-hero-img {
        margin-top: 28px;
    }
}

/* ─── Section Médias ─────────────────────────────────────────── */
.fh-section-medias {
    padding: 48px 0;
    background: var(--fh-light-gray);
    border-top: 1px solid var(--fh-border);
    border-bottom: 1px solid var(--fh-border);
}

.fh-section-medias h2 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--fh-gray);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 28px;
    text-align: center;
}

.fh-medias-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px 40px;
}

.fh-medias-logos img {
    height: 48px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.65;
    transition: filter 0.25s ease, opacity 0.25s ease;
}

.fh-medias-logos img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

@media (max-width: 575px) {
    .fh-medias-logos img {
        height: 36px;
    }
}

/* ─── Section Services (homepage) ────────────────────────────── */
.fh-section-services {
    padding: 72px 0;
    background: #fff;
}

.fh-section-services .fh-section-title {
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
    font-weight: 700;
    color: var(--fh-dark);
    margin-bottom: 48px;
    text-align: center;
}

.fh-service-card {
    border: 1px solid var(--fh-border);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    height: 100%;
    background: #fff;
}

.fh-service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(47, 172, 102, 0.15);
}

.fh-service-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.fh-service-card .fh-card-body {
    padding: 24px;
}

.fh-service-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--fh-dark);
}

.fh-service-card p {
    font-size: 15px;
    color: var(--fh-gray);
    line-height: 1.6;
    margin-bottom: 20px;
}

.fh-service-card .btn {
    font-size: 15px;
}

/* ─── Section Stats ──────────────────────────────────────────── */
.fh-section-stats {
    /* #1a7a45 = 5.37:1 avec blanc ✓ WCAG AA */
    background: var(--fh-green-bg);
    padding: 64px 0;
    color: #fff;
}

.fh-stat-item {
    text-align: center;
    padding: 16px;
}

.fh-stat-item .fh-stat-number {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 10px;
}

.fh-stat-item .fh-stat-label {
    font-size: 15px;
    line-height: 1.5;
    /* pas d'opacity : blanc pur sur #1a7a45 = 5.37:1 ✓ WCAG AA */
    color: #fff;
    max-width: 280px;
    margin: 0 auto;
}

@media (max-width: 767px) {
    .fh-stat-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        padding: 28px 16px;
    }

    .fh-stat-item:last-child {
        border-bottom: none;
    }
}

/* ─── FAQ accordion ──────────────────────────────────────────── */
.fh-faq-category {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--fh-dark);
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--fh-green);
    display: inline-block;
}

.fh-accordion-item {
    border: 1px solid var(--fh-border);
    border-radius: 8px !important;
    margin-bottom: 8px;
    overflow: hidden;
}

.fh-accordion-btn {
    font-family: var(--fh-font);
    font-size: 15px;
    font-weight: 600;
    color: var(--fh-dark);
    background: #fff;
    padding: 16px 20px;
    box-shadow: none !important;
}

.fh-accordion-btn:not(.collapsed) {
    color: var(--fh-green-bg);
    background: #f0faf5;
    box-shadow: none !important;
}

.fh-accordion-btn::after {
    filter: none;
}

.fh-accordion-body {
    font-size: 15px;
    color: var(--fh-gray);
    line-height: 1.7;
    padding: 16px 20px;
    border-top: 1px solid var(--fh-border);
}

/* ─── Page Qui sommes-nous — valeurs ─────────────────────────── */
.fh-valeur-card {
    text-align: center;
    padding: 32px 24px;
    border: 1px solid var(--fh-border);
    border-radius: 12px;
    height: 100%;
    transition: box-shadow 0.2s ease;
}

.fh-valeur-card:hover {
    box-shadow: 0 6px 24px rgba(47, 172, 102, 0.12);
}

.fh-valeur-icon {
    font-size: 2.4rem;
    margin-bottom: 16px;
}

.fh-valeur-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--fh-dark);
}

.fh-valeur-card p {
    font-size: 15px;
    color: var(--fh-gray);
    margin: 0;
}

/* ─── Parrainage — étapes ─────────────────────────────────────── */
.fh-etape-card {
    padding: 32px 24px;
    border: 1px solid var(--fh-border);
    border-radius: 12px;
    height: 100%;
}

.fh-etape-numero {
    width: 48px;
    height: 48px;
    background: var(--fh-green-bg);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.fh-etape-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.fh-etape-card p {
    font-size: 15px;
    color: var(--fh-gray);
    margin: 0;
}

/* ─── Formulaires (devis, contact, parrainage) ────────────────── */
.fh-form-card {
    background: var(--fh-light-gray);
    border: 1px solid var(--fh-border);
    border-radius: 12px;
    padding: 32px;
}

.fh-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--fh-dark);
    margin-bottom: 6px;
}

.fh-label span[aria-hidden] {
    color: #c0392b;
}

.fh-input {
    font-family: var(--fh-font);
    font-size: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 10px 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.fh-input:focus {
    border-color: var(--fh-green-bg);
    box-shadow: 0 0 0 3px rgba(26, 122, 69, 0.15);
    outline: none;
}

.fh-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 4px;
}

.fh-checkboxes .form-check-input:checked {
    background-color: var(--fh-green-bg);
    border-color: var(--fh-green-bg);
}

.fh-form-mention {
    font-size: 12px;
    color: #aaa;
    margin-top: 12px;
    text-align: center;
    margin-bottom: 0;
}

/* Sidebar devis / avantages */
.fh-devis-sidebar {
    background: var(--fh-light-gray);
    border-radius: 12px;
    padding: 32px;
    position: sticky;
    top: 100px;
}

.fh-devis-sidebar h2 {
    font-size: 1.3rem;
    margin-bottom: 24px;
}

.fh-avantages-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.fh-avantages-list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.fh-av-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.fh-avantages-list strong {
    display: block;
    font-size: 15px;
    color: var(--fh-dark);
    margin-bottom: 2px;
}

.fh-avantages-list p {
    font-size: 14px;
    color: var(--fh-gray);
    margin: 0;
}

.fh-contact-rapide {
    border-top: 1px solid var(--fh-border);
    padding-top: 20px;
    margin-top: 8px;
}

.fh-contact-rapide p {
    font-size: 14px;
    color: var(--fh-gray);
    margin-bottom: 10px;
}

/* ─── Page Contact ────────────────────────────────────────────── */
.fh-contact-list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.fh-contact-list li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.fh-contact-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.fh-contact-list strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--fh-dark);
    margin-bottom: 4px;
}

.fh-contact-list a,
.fh-contact-list p {
    font-size: 15px;
    color: var(--fh-gray);
    margin: 0;
}

.fh-contact-list a {
    color: var(--fh-green-bg);
}

.fh-contact-note {
    background: var(--fh-light-gray);
    border-left: 3px solid var(--fh-green);
    padding: 16px 20px;
    border-radius: 0 8px 8px 0;
    font-size: 14px;
    color: var(--fh-gray);
    line-height: 1.6;
}

.fh-contact-note a {
    color: var(--fh-green-bg);
    text-decoration: underline;
}

/* ─── Single article ─────────────────────────────────────────── */
.fh-article-breadcrumb {
    font-size: 14px;
    color: var(--fh-gray);
    margin-bottom: 16px;
}

.fh-article-breadcrumb a {
    color: var(--fh-gray);
}

.fh-article-breadcrumb a:hover {
    color: var(--fh-green);
}

.fh-article-single-meta {
    font-size: 14px;
    color: #aaa;
    margin-top: 8px;
}

.fh-single-content {
    padding: 56px 0 72px;
    background: #fff;
}

.fh-single-featured-img {
    margin-bottom: 36px;
}

.fh-single-img {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
    max-height: 480px;
}

.fh-content {
    font-size: 17px;
    line-height: 1.8;
    color: #444;
}

.fh-content h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--fh-dark);
    margin: 40px 0 16px;
}

.fh-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--fh-dark);
    margin: 32px 0 12px;
}

.fh-content ul,
.fh-content ol {
    padding-left: 24px;
    margin-bottom: 20px;
}

.fh-content ul li,
.fh-content ol li {
    margin-bottom: 8px;
}

.fh-content strong {
    color: var(--fh-dark);
}

.fh-content a {
    color: var(--fh-green-bg);
    text-decoration: underline;
}

.fh-content img {
    border-radius: 8px;
    margin: 24px 0;
}

.fh-single-back {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--fh-border);
}

/* ─── Section Avis Carousel (pages services) ─────────────────── */
.fh-section-avis {
    padding: 64px 0;
    background: var(--fh-light-gray);
}

.fh-section-avis .fh-section-title {
    font-size: clamp(1.4rem, 2vw, 2rem);
    font-weight: 700;
    color: var(--fh-dark);
    margin-bottom: 40px;
    text-align: center;
}

/* Grille des avis sur pages services (4-6 avis) */
/* Le shortcode génère un .dc-avis-container à l'intérieur de notre wrapper —
   on cible ce conteneur directement pour que la grille s'applique aux cartes */
.fh-avis-carousel-grid .dc-avis-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 991px) {
    .fh-avis-carousel-grid .dc-avis-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .fh-avis-carousel-grid .dc-avis-container {
        grid-template-columns: 1fr;
    }
}

/* ─── Section Contenu explicatif ─────────────────────────────── */
.fh-section-contenu {
    padding: 72px 0;
    background: #fff;
}

.fh-section-contenu h2 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700;
    color: var(--fh-dark);
    margin-bottom: 40px;
    padding-bottom: 16px;
    border-bottom: 3px solid var(--fh-green);
    display: inline-block;
}

.fh-section-contenu .fh-question {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--fh-dark);
    margin-bottom: 12px;
    margin-top: 32px;
}

.fh-section-contenu p {
    color: var(--fh-gray);
    line-height: 1.75;
}

.fh-section-contenu ul {
    color: var(--fh-gray);
    line-height: 1.75;
    padding-left: 20px;
    margin-bottom: 16px;
}

.fh-section-contenu ul li {
    margin-bottom: 8px;
}

.fh-section-contenu .fh-note {
    background: #fff8e1;
    border-left: 4px solid #ffc107;
    padding: 12px 16px;
    border-radius: 0 6px 6px 0;
    font-size: 14px;
    color: #555;
    margin-top: 16px;
}

.fh-galerie-subtitle {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--fh-dark);
    margin: 48px 0 24px;
    padding-top: 32px;
    border-top: 1px solid var(--fh-border);
}

/* ─── Section CTA ────────────────────────────────────────────── */
.fh-section-cta {
    padding: 64px 0;
    background: #fff;
    border-top: 1px solid var(--fh-border);
}

.fh-cta-item {
    text-align: center;
    padding: 20px;
}

.fh-cta-item .fh-cta-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    display: block;
}

.fh-cta-item h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--fh-dark);
    margin-bottom: 8px;
}

.fh-cta-item p {
    font-size: 14px;
    color: var(--fh-gray);
    margin: 0;
}

/* ─── Footer ─────────────────────────────────────────────────── */
.fh-footer {
    background: var(--fh-dark);
    color: rgba(255, 255, 255, 0.85);
    padding: 56px 0 32px;
}

.fh-footer .fh-footer-logo img {
    height: 48px;
    width: auto;
    margin-bottom: 20px;
    /* filtre pour rendre le logo blanc sur fond sombre */
    filter: brightness(0) invert(1);
}

.fh-footer h4 {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--fh-green);
    display: inline-block;
}

.fh-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fh-footer ul li {
    margin-bottom: 10px;
}

.fh-footer ul li a {
    /* #c8c8c8 sur #313131 = 6.3:1 ✓ WCAG AA */
    color: #c8c8c8;
    font-size: 15px;
    transition: color 0.2s ease;
}

.fh-footer ul li a:hover {
    color: var(--fh-green);   /* #2FAC66 sur #313131 = 3.6:1 ✓ AA large (14px bold) */
}

.fh-footer .fh-footer-contact p {
    font-size: 15px;
    color: #c8c8c8;
    margin-bottom: 8px;
}

.fh-footer .fh-footer-contact a {
    color: #c8c8c8;
    transition: color 0.2s ease;
}

.fh-footer .fh-footer-contact a:hover {
    color: var(--fh-green);
}

.fh-footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 13px;
    /* #9e9e9e sur #313131 = 4.6:1 ✓ WCAG AA */
    color: #9e9e9e;
}

/* ─── Section Articles récents ───────────────────────────────── */
.fh-section-articles {
    padding: 72px 0;
    background: #fff;
    border-top: 1px solid var(--fh-border);
}

.fh-section-articles .fh-section-title {
    font-size: clamp(1.4rem, 2vw, 2rem);
    font-weight: 700;
    color: var(--fh-dark);
    margin-bottom: 40px;
    text-align: center;
}

.fh-article-card {
    border: 1px solid var(--fh-border);
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background: #fff;
}

.fh-article-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(47, 172, 102, 0.12);
}

.fh-article-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.fh-article-body {
    padding: 20px;
}

.fh-article-meta {
    font-size: 13px;
    color: #aaa;
    margin-bottom: 8px;
}

.fh-article-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 10px;
}

.fh-article-title a {
    color: var(--fh-dark);
    text-decoration: none;
    transition: color 0.2s ease;
}

.fh-article-title a:hover {
    color: var(--fh-green-bg);
}

.fh-article-excerpt {
    font-size: 14px;
    color: var(--fh-gray);
    line-height: 1.55;
    margin: 0;
}

/* ─── Page Avis ──────────────────────────────────────────────── */
.fh-avis-hero {
    /* #1a7a45 = 5.37:1 avec blanc ✓ WCAG AA */
    background: var(--fh-green-bg);
    color: #fff;
    padding: 72px 0 56px;
    text-align: center;
}

.fh-avis-hero h1 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
}

.fh-avis-hero .fh-avis-hero-note {
    font-size: 1.2rem;
    opacity: 0.95;
    margin-bottom: 8px;
}

.fh-avis-hero .fh-avis-hero-sub {
    font-size: 14px;
    /* blanc sur #1a7a45 = 5.37:1 ✓ WCAG AA — différencié du titre par taille */
    color: #fff;
    font-weight: 400;
    margin-top: 12px;
    opacity: 1;
}

.fh-avis-chiffres {
    padding: 48px 0;
    background: #fff;
    border-bottom: 1px solid var(--fh-border);
}

.fh-avis-chiffre-item {
    text-align: center;
    padding: 24px;
}

.fh-avis-chiffre-item .fh-chiffre-value {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--fh-green);
    line-height: 1;
    margin-bottom: 8px;
}

.fh-avis-chiffre-item .fh-chiffre-label {
    font-size: 14px;
    color: var(--fh-gray);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
}

.fh-avis-chiffre-item .fh-chiffre-badge {
    font-size: 1rem;
    font-weight: 700;
    color: var(--fh-dark);
    margin-bottom: 4px;
}

/* Grille complète des avis sur page dédiée */
.fh-section-avis-complet {
    padding: 64px 0;
    background: var(--fh-light-gray);
}

.fh-section-avis-complet .fh-section-title {
    font-size: clamp(1.4rem, 2vw, 2rem);
    font-weight: 700;
    color: var(--fh-dark);
    margin-bottom: 40px;
    text-align: center;
}

/* ─── Surcharge CSS extension DC Avis Verifier ───────────────── */

/* Tous les contextes */
.dc-avis-container {
    gap: 20px;
}

/* Carte avis — style de base retravaillé */
.dc-avis-item {
    border: 1px solid var(--fh-border);
    border-radius: 10px;
    padding: 20px;
    background: #fff;
    box-shadow: none;
    transition: box-shadow 0.2s ease;
}

.dc-avis-item:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.dc-avis-stars {
    color: #ffa500;
    font-size: 18px;
}

.dc-avis-author {
    font-weight: 700;
    color: var(--fh-dark);
}

.dc-avis-date {
    color: #aaa;
    font-size: 13px;
}

.dc-avis-content {
    color: var(--fh-gray);
    font-size: 15px;
    line-height: 1.65;
}

/* Variante "modern" utilisée sur les pages services */
.dc-avis-modern .dc-avis-item {
    border: none;
    border-top: 3px solid var(--fh-green);
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
}

/* Grille page avis dédiée : 3 colonnes desktop / 2 tablette / 1 mobile */
.fh-avis-grid.dc-avis-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.fh-avis-grid .dc-avis-item {
    border: none;
    border-top: 3px solid var(--fh-green);
    border-radius: 10px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
}

.fh-avis-grid .dc-avis-stars {
    font-size: 20px;
}

.fh-avis-grid .dc-avis-author {
    color: var(--fh-green);
    font-size: 15px;
}

@media (max-width: 991px) {
    .fh-avis-grid.dc-avis-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .fh-avis-grid.dc-avis-container {
        grid-template-columns: 1fr;
    }
}

/* Bandeau note globale (page avis) */
.dc-note-nombre {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    display: inline-flex;
    gap: 8px;
    align-items: center;
    color: #fff;
}

.dc-note-nombre .dc-note {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
}

.dc-note-nombre .dc-nombre {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
}

.fh-avis-hero .dc-etoiles-precise,
.fh-avis-hero .dc-etoiles-arrondie {
    font-size: 2rem;
}

/* ─── WCAG : éléments tiers ─────────────────────────────────────────────────── */

/*
 * Cookie Notice : le bouton "OK" a un vert inline (#25A561, ratio ~2.97:1)
 * insuffisant. On force notre vert WCAG AA (5.37:1 sur blanc).
 */
#cn-accept-cookie,
.cn-set-cookie.cn-button {
    background-color: var(--fh-green-bg) !important;
    color: #fff !important;
}
#cn-accept-cookie:hover,
.cn-set-cookie.cn-button:hover {
    background-color: var(--fh-green-dark) !important;
}

/*
 * DC Avis Vérifier : dates et textes secondaires des cartes
 * (.dc-avis-date est souvent en gris trop clair sur fond blanc)
 */
.dc-avis-date {
    color: #595959 !important; /* 7:1 sur blanc ✓ WCAG AAA */
}
.dc-avis-item .dc-avis-auteur {
    color: #313131 !important;
}
.dc-avis-item .dc-avis-texte {
    color: #313131 !important;
}
