/* ==========================================================================
   PAC-Registre.fr - Design System Épuré, Aéré & Haute Lisibilité (v4.0)
   Nav transparente -> Blanche au scroll | Dégradé Hero | Contraste Optimal
   ========================================================================== */

:root {
    /* Nuancier Ardoise / Slate Haute Définition */
    --color-slate-950: #020617;
    --color-slate-900: #0f172a;
    --color-slate-800: #1e293b;
    --color-slate-700: #334155;
    --color-slate-600: #475569;
    --color-slate-500: #64748b;
    --color-slate-400: #94a3b8;
    --color-slate-300: #cbd5e1;
    --color-slate-200: #e2e8f0;
    --color-slate-100: #f1f5f9;
    --color-slate-50:  #f8fafc;

    /* Teinte identitaire : Bleu Nuit Épuré */
    --brand-navy: #0f2b46;
    --brand-navy-hover: #0a1f33;
    --brand-navy-light: #eff6ff;

    /* Teinte écologique & certification : Vert Émeraude ADEME */
    --brand-emerald: #059669;
    --brand-emerald-dark: #047857;
    --brand-emerald-light: #ecfdf5;

    /* Boutons d'Action & Conversion : Ambre Terracotta Chaleureux */
    --cta-action: #c2410c;
    --cta-action-hover: #9a3412;
    --cta-shadow: rgba(194, 65, 12, 0.25);

    /* Typographie */
    --font-main: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

    /* Rayons de courbure modernes */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;

    /* Ombres subtiles & ambiantes */
    --shadow-subtle: 0 1px 3px rgba(15, 23, 42, 0.05), 0 1px 2px rgba(15, 23, 42, 0.02);
    --shadow-card: 0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 2px 4px -2px rgba(15, 23, 42, 0.03);
    --shadow-hover: 0 10px 15px -3px rgba(15, 23, 42, 0.07), 0 4px 6px -4px rgba(15, 23, 42, 0.03);
}

body {
    font-family: var(--font-main);
    background-color: var(--color-slate-50);
    color: var(--color-slate-800);
    line-height: 1.68;
    letter-spacing: 0;
    word-spacing: 0.03em;
    -webkit-font-smoothing: antialiased;
    padding-top: 74px; /* Espace pour la barre fixe */
}

/* ================= En-tête / Barre de Navigation (Transparente -> Blanche au scroll) ================= */
.main-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1040;
    background-color: transparent;
    border-bottom: 1px solid transparent;
    padding: 0.85rem 0;
    transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
}

/* État scrolled (activé dès 20px de scroll) */
.main-navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.85);
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.06);
    padding: 0.55rem 0;
}

/* Sur mobile quand le menu est déroulé */
@media (max-width: 991.98px) {
    .main-navbar {
        background-color: rgba(255, 255, 255, 0.98);
        border-bottom: 1px solid var(--color-slate-200);
        padding: 0.6rem 0;
    }
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--color-slate-900)!important;
    text-decoration: none !important;
}
.brand-logo .logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}
.brand-logo:hover .logo-mark {
    transform: scale(1.06);
}
.brand-logo-name {
    font-size: 1.45rem;
    line-height: 1;
    letter-spacing: -0.03em;
    display: inline-flex;
    align-items: baseline;
    user-select: none;
}
.brand-logo-name .ta {
    font-weight: 600;
    color: var(--color-slate-800);
}
.brand-logo-name .pac {
    font-weight: 800;
    color: var(--brand-navy);
    letter-spacing: -0.02em;
}
.brand-logo-name .dot-fr {
    font-weight: 800;
    color: var(--brand-emerald);
    font-size: 1.35rem;
}
.footer-pro .brand-logo-name .ta {
    color: #ffffff !important;
}
.footer-pro .brand-logo-name .pac {
    color: #ffffff !important;
}
.footer-pro .brand-logo-name .dot-fr {
    color: #34d399 !important;
}

.nav-link-custom {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--color-slate-700);
    padding: 0.5rem 0.9rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all 0.15s ease;
}
.nav-link-custom:hover {
    color: var(--brand-navy);
    background-color: rgba(241, 245, 249, 0.7);
}

/* ================= Hero Section avec Dégradé Élégant & Aération ================= */
.hero-clean {
    background: linear-gradient(180deg, #edf4fc 0%, #f6fafd 50%, #ffffff 100%);
    border-bottom: 1px solid var(--color-slate-200);
    padding: 5rem 0 4.5rem 0;
    margin-top: -74px; /* Permet au dégradé d'aller sous la barre transparente */
}

/* ================= 3 Micro-Avantages Réassurance Hero ================= */
.hero-reassurance-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.85rem;
    margin-top: 1.5rem;
}
.hero-reassurance-item {
    background: #ffffff;
    border: 1px solid var(--color-slate-200);
    border-radius: 50px;
    padding: 0.45rem 1.15rem;
    font-size: 0.86rem;
    color: var(--color-slate-700);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
    transition: all 0.2s ease;
}
.hero-reassurance-item:hover {
    border-color: #cbd5e1;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.06);
}
.hero-reassurance-item .icon-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
}
.hero-reassurance-item .icon-circle.emerald {
    background-color: #d1fae5;
    color: #065f46;
}
.hero-reassurance-item .icon-circle.navy {
    background-color: #e0f2fe;
    color: #0369a1;
}
.hero-reassurance-item .icon-circle.slate {
    background-color: #f1f5f9;
    color: #475569;
}

/* ================= Bandeau Défilant Logos Marques (Hero Marquee) ================= */
.hero-brands-marquee-wrap {
    margin-top: 3.25rem;
    padding-top: 1.25rem;
    position: relative;
    /* Border-top supprimé comme demandé */
}

.hero-brands-marquee-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--color-slate-200);
    padding: 0.35rem 0.95rem;
    border-radius: 50px;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--color-slate-600);
    text-transform: uppercase;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
}

.marquee-scroller {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 1.1rem 0 0.6rem 0;
    /* Fondu progressif gauche et droite pour masquer les coupures */
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: scrollMarqueeLeft 48s linear infinite;
    will-change: transform;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.marquee-group {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding-right: 2rem;
    flex-shrink: 0;
}

.marquee-brand-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.marquee-brand-item:hover {
    transform: translateY(-2px);
}

.marquee-brand-item .brand-logo-box {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 3px 8px rgba(15, 23, 42, 0.05);
    height: 64px;
    width: 180px;
    padding: 0.65rem 1.25rem;
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.marquee-brand-item .brand-logo-box .brand-logo-img {
    max-height: 44px;
    max-width: 145px;
    width: auto;
    height: auto;
}

.marquee-brand-item .brand-monogram-box {
    font-size: 1.25rem;
}

.marquee-brand-item:hover .brand-logo-box {
    border-color: #0284c7;
    box-shadow: 0 8px 18px -3px rgba(15, 23, 42, 0.12);
}

@keyframes scrollMarqueeLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .marquee-track {
        animation: none;
        overflow-x: auto;
    }
}

.search-box-elevated {
    background: #ffffff;
    border: 1.5px solid var(--color-slate-300);
    border-radius: 50px;
    padding: 0.4rem 0.45rem 0.4rem 1.15rem;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.06), 0 0 0 1px rgba(15, 23, 42, 0.03);
    transition: all 0.25s ease;
}
.search-box-elevated:focus-within {
    border-color: var(--brand-navy);
    box-shadow: 0 12px 30px -5px rgba(15, 43, 70, 0.12), 0 0 0 4px rgba(15, 43, 70, 0.08);
}
.search-box-elevated input {
    border: none;
    outline: none;
    box-shadow: none!important;
    background: transparent;
    font-size: 0.98rem;
    color: var(--color-slate-900);
}
.search-box-elevated input::placeholder {
    color: var(--color-slate-400);
    font-size: 0.95rem;
}

/* ================= Boutons d'Action & Conversion (Anti-Retour à la ligne intempestif) ================= */
.btn-cta-conversion {
    background-color: var(--cta-action);
    color: #ffffff!important;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.7rem 1.4rem;
    border-radius: 50px;
    border: none;
    box-shadow: 0 4px 12px var(--cta-shadow);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    white-space: nowrap; /* Empêche le bouton de casser sur 2 lignes */
    transition: all 0.2s ease;
}
.btn-cta-conversion:hover {
    background-color: var(--cta-action-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(194, 65, 12, 0.3);
}

@media (max-width: 991.98px) {
    .btn-cta-conversion {
        font-size: 0.9rem;
        padding: 0.65rem 1.2rem;
    }
}
@media (max-width: 575.98px) {
    .btn-cta-conversion {
        font-size: 0.86rem !important;
        padding: 0.65rem 1rem !important;
        white-space: nowrap !important;
        text-align: center;
        width: 100%;
        max-width: 100%;
    }
}

.badge-mobile-single {
    max-width: 100%;
    font-size: 0.78rem;
    padding: 0.35rem 0.75rem;
    white-space: nowrap;
}
@media (max-width: 575.98px) {
    .badge-mobile-single {
        font-size: 0.72rem;
        padding: 0.3rem 0.6rem;
        white-space: normal;
        text-align: left;
        line-height: 1.35;
    }
}

/* Bouton Spécifique Footer (Garantit que le texte reste visible au survol et ne wrap jamais) */
.btn-footer-cta {
    background-color: var(--cta-action);
    color: #ffffff!important;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 0.65rem 1.25rem;
    border-radius: 50px;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
    max-width: 100%;
    box-shadow: 0 4px 12px rgba(194, 65, 12, 0.3);
    transition: all 0.2s ease;
}
.btn-footer-cta:hover {
    background-color: #ea580c;
    color: #ffffff!important;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(234, 88, 12, 0.4);
}
@media (max-width: 576px) {
    .btn-footer-cta {
        font-size: 0.82rem;
        padding: 0.55rem 0.95rem;
        width: 100%;
    }
}

/* ================= Contraste Renforcé pour les Textes et Bulles ================= */
p, .text-muted {
    color: #334155!important; /* Slate 700 au lieu du gris terne */
}
.text-slate-contrast {
    color: #1e293b!important;
}

/* Cartes Modernes & Épurées */
.card-modern {
    background: #ffffff;
    border: 1px solid var(--color-slate-200);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-subtle);
    transition: all 0.2s ease;
}
.card-modern:hover {
    border-color: var(--color-slate-300);
    box-shadow: var(--shadow-card);
}

/* Cartes Marques Dédiées - Format Haute Lisibilité Aéré */
.card-brand-tile {
    background: #ffffff;
    border: 1px solid var(--color-slate-200);
    border-radius: 14px;
    padding: 1.75rem 1.6rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
    position: relative;
    overflow: hidden;
}
.card-brand-tile:hover {
    border-color: #0284c7;
    transform: translateY(-3px);
    box-shadow: 0 12px 24px -6px rgba(15, 23, 42, 0.09);
}
.card-brand-tile .brand-arrow {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--brand-navy);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: all 0.2s ease;
}
.card-brand-tile:hover .brand-arrow {
    color: var(--cta-action);
}
.card-brand-tile .btn-arrow-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: #f1f5f9;
    color: var(--brand-navy);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}
.card-brand-tile:hover .btn-arrow-circle {
    background-color: var(--cta-action);
    color: #ffffff;
    transform: translateX(3px);
}

/* Bannière d'accès à l'annuaire complet des marques */
.card-all-brands-banner {
    background: #ffffff;
    border: 1px solid var(--color-slate-200);
    transition: all 0.2s ease;
}
.card-all-brands-banner:hover {
    border-color: #cbd5e1;
    box-shadow: 0 6px 18px -4px rgba(15, 23, 42, 0.06);
}

/* Logos de marques vectoriels et adaptatifs */
.brand-logo-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid var(--color-slate-200);
    border-radius: var(--radius-sm);
    padding: 0.25rem 0.5rem;
    overflow: hidden;
    vertical-align: middle;
}
.brand-logo-img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    display: block;
}
.brand-logo-sm {
    height: 32px;
    width: 88px;
}
.brand-logo-md {
    height: 40px;
    width: 110px;
}
.brand-logo-lg {
    height: 56px;
    width: 160px;
    padding: 0.5rem 0.85rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-subtle);
}
.brand-monogram-box {
    font-weight: 800;
    color: var(--brand-navy);
    background: #f8fafc;
    border: 1px solid var(--color-slate-200);
    letter-spacing: 0.5px;
    font-size: 0.85rem;
}
.brand-monogram-box.brand-logo-lg {
    font-size: 1.4rem;
}

/* Cartes de parcours "Par où commencer" */
.card-journey {
    background: #ffffff;
    border: 1px solid var(--color-slate-200);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.2s ease;
    position: relative;
}
.card-journey:hover {
    border-color: #94a3b8;
    transform: translateY(-4px);
    box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(15, 23, 42, 0.04);
}
.card-journey-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.55rem;
    margin-bottom: 1.35rem;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}
.card-journey:hover .card-journey-icon {
    transform: scale(1.08);
}
.card-journey-icon.icon-orange {
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    color: #ea580c;
    border: 1px solid #fed7aa;
    box-shadow: 0 4px 14px rgba(234, 88, 12, 0.14);
}
.card-journey-icon.icon-blue {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: #0284c7;
    border: 1px solid #bfdbfe;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.14);
}
.card-journey-icon.icon-emerald {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    color: #059669;
    border: 1px solid #a7f3d0;
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.14);
}

/* ================= Bloc Conversion Devis (ViteUnDevis) ================= */
.box-conversion-pro {
    background: linear-gradient(135deg, #0d2238 0%, #153250 100%);
    color: #ffffff;
    border-radius: var(--radius-xl);
    padding: 2.75rem 2.5rem;
    box-shadow: 0 14px 30px -5px rgba(15, 43, 70, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
@media (max-width: 575.98px) {
    .box-conversion-pro {
        padding: 1.5rem 1.15rem;
        border-radius: var(--radius-lg);
    }
}
.box-conversion-pro h3 {
    color: #ffffff;
    font-weight: 700;
}
.box-conversion-pro p {
    color: #e2e8f0!important;
    font-size: 0.98rem;
    line-height: 1.7;
}

/* Anti-wrap strict pour tous les boutons fiches dans les tableaux */
.table td.text-end a.btn,
.table th.text-end,
.table td.text-end {
    white-space: nowrap!important;
}

/* ================= Badges / Bulles Haute Lisibilité ================= */
.badge-soft-emerald {
    background-color: #d1fae5;
    color: #065f46;
    font-weight: 700;
    padding: 0.4rem 0.85rem;
    border-radius: 50px;
    font-size: 0.82rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: 1px solid #a7f3d0;
    white-space: nowrap;
}
.badge-soft-navy {
    background-color: #e2e8f0;
    color: #0f172a;
    font-weight: 700;
    padding: 0.4rem 0.85rem;
    border-radius: 50px;
    font-size: 0.82rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: 1px solid #cbd5e1;
}
.badge-soft-blue {
    background-color: #e0f2fe;
    color: #0369a1;
    font-weight: 700;
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    border: 1px solid #bae6fd;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
}
.badge-soft-orange {
    background-color: #ffedd5;
    color: #9a3412;
    font-weight: 700;
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    border: 1px solid #fed7aa;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
}
.badge-soft-slate {
    background-color: #f1f5f9;
    color: #334155;
    font-weight: 700;
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    border: 1px solid #cbd5e1;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
}
.badge-soft-purple {
    background-color: #f3e8ff;
    color: #6b21a8;
    font-weight: 700;
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    border: 1px solid #d8b4fe;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
}

/* ================= Tables Stylisées & Lisibles ================= */
.table-clean {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
}
.table-clean th {
    background-color: #f8fafc;
    color: #1e293b;
    font-size: 0.82rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 0.85rem 1rem;
    border-bottom: 1.5px solid var(--color-slate-200);
}
.table-clean td {
    padding: 0.95rem 1rem;
    border-bottom: 1px solid var(--color-slate-100);
    color: #1e293b;
    font-size: 0.92rem;
    vertical-align: middle;
}
.table-clean tr:last-child td {
    border-bottom: none;
}
.table-clean tr:hover td {
    background-color: #fbfcfe;
}

/* ================= Footer Haute Lisibilité ================= */
.footer-pro {
    background-color: #0b1320;
    color: #e2e8f0;
    padding: 3.5rem 0 2rem 0;
    border-top: 1px solid #1e293b;
    font-size: 0.9rem;
}
.footer-pro h6 {
    color: #ffffff;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    margin-bottom: 1.25rem;
}
.footer-pro p {
    color: #cbd5e1!important;
    line-height: 1.65;
}
.footer-pro a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.15s ease;
}
.footer-pro a:hover {
    color: #ffffff;
    text-decoration: underline;
}
.footer-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.footer-pro .footer-social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.65rem;
    border: 1px solid #334155;
    border-radius: 50rem;
    color: #e2e8f0;
    font-size: 0.82rem;
    text-decoration: none;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.footer-pro .footer-social-link:hover,
.footer-pro .footer-social-link:focus-visible {
    background-color: #1e293b;
    border-color: #64748b;
    color: #ffffff;
    text-decoration: none;
}
.footer-pro .footer-social-link:focus-visible {
    outline: 2px solid #6ee7b7;
    outline-offset: 2px;
}
.footer-social-link i {
    font-size: 1rem;
    line-height: 1;
}

/* ================= Images Lazy Loading & Illustrations ================= */
img[loading="lazy"] {
    transition: opacity 0.3s ease;
}
.object-fit-cover {
    object-fit: cover;
}

/* ================= Sticky Mobile Action Bar ================= */
@media (max-width: 767.98px) {
    body {
        padding-bottom: 70px;
    }
}

/* ================= Section FAQ Moderne & Lisible ================= */
.faq-card {
    background: #ffffff;
    border: 1px solid var(--color-slate-200);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq-card:hover {
    border-color: #cbd5e1;
    box-shadow: var(--shadow-subtle);
}
.faq-header button {
    background: transparent;
    border: none;
    width: 100%;
    padding: 1.25rem 1.5rem;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 1.02rem;
    color: var(--color-slate-900);
    transition: color 0.15s ease;
    cursor: pointer;
}
.faq-header button:focus {
    outline: none;
    box-shadow: none;
}
.faq-header button:hover {
    color: var(--brand-navy);
}
.faq-icon-chevron {
    transition: transform 0.25s ease;
    color: var(--brand-navy);
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-left: 1rem;
}
.faq-header button:not(.collapsed) .faq-icon-chevron {
    transform: rotate(180deg);
}
.faq-body {
    padding: 0 1.5rem 1.4rem 1.5rem;
    color: var(--color-slate-700);
    font-size: 0.95rem;
    line-height: 1.75;
}
.faq-body a {
    color: var(--brand-navy);
    font-weight: 600;
    text-decoration: underline;
}
.faq-body a:hover {
    color: var(--brand-emerald-dark);
}

/* ================= Fil d'Ariane Moderne & Épuré ================= */
.breadcrumb-custom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    padding: 0;
    margin-bottom: 1.5rem;
    list-style: none;
    font-size: 0.88rem;
}
.breadcrumb-custom .breadcrumb-item {
    display: inline-flex;
    align-items: center;
    color: var(--color-slate-500);
}
.breadcrumb-custom .breadcrumb-item a {
    color: var(--color-slate-600);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.15s ease;
}
.breadcrumb-custom .breadcrumb-item a:hover {
    color: var(--brand-navy);
}
.breadcrumb-custom .breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    padding: 0 0.55rem;
    color: var(--color-slate-400);
    font-weight: 600;
    font-size: 1rem;
}
.breadcrumb-custom .breadcrumb-icon-home {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: #f1f5f9;
    color: var(--brand-navy);
    font-size: 0.85rem;
    transition: all 0.2s ease;
}
.breadcrumb-custom .breadcrumb-item a:hover .breadcrumb-icon-home {
    background: #e2e8f0;
    color: var(--cta-action);
}

/* ================= Barre de Filtrage Interactive des Marques ================= */
.brands-filter-panel {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-top: 3.5px solid var(--brand-blue);
    border-radius: 16px;
    padding: 1.65rem 1.85rem;
    box-shadow: 0 12px 32px -4px rgba(15, 23, 42, 0.08), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
    margin-bottom: 2.5rem;
    position: relative;
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.brands-filter-panel:hover {
    box-shadow: 0 16px 38px -4px rgba(15, 23, 42, 0.12), 0 6px 16px -2px rgba(15, 23, 42, 0.06);
}
.filter-panel-icon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(2, 132, 199, 0.1);
    color: var(--brand-blue);
    font-size: 1.15rem;
    flex-shrink: 0;
}
.search-brand-input-wrap {
    position: relative;
    width: 100%;
}
.search-brand-input-wrap .search-icon {
    position: absolute;
    left: 1.15rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-slate-400);
    font-size: 1.05rem;
    pointer-events: none;
}
.search-brand-input {
    width: 100%;
    padding: 0.8rem 1.15rem 0.8rem 2.85rem;
    font-size: 0.95rem;
    border: 1px solid var(--color-slate-300);
    border-radius: 50px;
    background-color: #f8fafc;
    color: var(--color-slate-900);
    transition: all 0.2s ease;
}
.search-brand-input:focus {
    outline: none;
    border-color: #0284c7;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12);
}
.filter-country-select {
    width: 100%;
    padding: 0.8rem 2.25rem 0.8rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 500;
    border: 1px solid var(--color-slate-300);
    border-radius: 50px;
    background-color: #f8fafc;
    color: var(--color-slate-800);
    transition: all 0.2s ease;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23475569' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1.15rem center;
    background-size: 14px 10px;
    appearance: none;
    -webkit-appearance: none;
}
.filter-country-select:focus {
    outline: none;
    border-color: #0284c7;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12);
}
.filter-field-label {
    display: flex;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-slate-500);
    margin-bottom: 0.35rem;
}
.filter-field-label i {
    color: var(--brand-blue);
    margin-right: 0.35rem;
    font-size: 0.85rem;
}
.btn-filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1.15rem;
    border-radius: 50px;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--color-slate-600);
    background: #f1f5f9;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.18s ease;
    user-select: none;
}
.btn-filter-pill:hover {
    background: #e2e8f0;
    color: var(--color-slate-800);
}
.btn-filter-pill.active {
    background: var(--brand-navy);
    color: #ffffff;
    border-color: var(--brand-navy);
    box-shadow: 0 2px 6px rgba(15, 43, 70, 0.25);
}
.filter-counter-badge {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-slate-500);
}

/* ================= Cartes Profils Constructeurs ================= */
.card-profile-pillar {
    background: #ffffff;
    border: 1px solid var(--color-slate-200);
    border-radius: var(--radius-lg);
    padding: 1.85rem 1.65rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card-profile-pillar:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 22px -4px rgba(15, 23, 42, 0.08);
}
.profile-pillar-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.3rem 0.7rem;
    border-radius: 6px;
    margin-bottom: 0.85rem;
}

/* ================= Refonte UI Page Marque Pro & Aérée ================= */
.brand-hero-card {
    background: #ffffff;
    border: 1px solid var(--color-slate-200);
    border-radius: 18px;
    padding: 2rem 2.25rem;
    box-shadow: 0 4px 20px -3px rgba(15, 23, 42, 0.05);
    margin-bottom: 1.75rem;
    position: relative;
}
.brand-hero-grid {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.brand-hero-logo-box {
    width: 175px;
    height: 76px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    flex-shrink: 0;
}
.brand-hero-logo-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}
.brand-hero-body {
    flex: 1;
    min-width: 0;
}
.brand-hero-title {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--color-slate-900);
    line-height: 1.25;
}
.brand-hero-desc {
    color: var(--color-slate-600);
    font-size: 0.95rem;
    line-height: 1.6;
}
.brand-meta-chips {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}
.brand-meta-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--color-slate-50);
    border: 1px solid var(--color-slate-200);
    padding: 0.35rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.82rem;
    color: var(--color-slate-700);
    font-weight: 500;
}
.brand-hero-cta {
    flex-shrink: 0;
}
@media (max-width: 991.98px) {
    .brand-hero-grid {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }
    .brand-hero-cta {
        width: 100%;
        text-align: center;
    }
    .brand-hero-cta .btn-cta-conversion {
        width: 100%;
    }
}
@media (max-width: 575.98px) {
    .brand-hero-logo-box {
        width: 140px;
        height: 64px;
        padding: 6px 12px;
    }
    .brand-hero-title {
        font-size: 1.45rem;
    }
}

/* KPI Dashboard Cards Strip */
.brand-kpi-grid,
.brand-kpis-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.15rem;
    margin-bottom: 2rem;
}
@media (max-width: 991.98px) {
    .brand-kpi-grid,
    .brand-kpis-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 575.98px) {
    .brand-kpi-grid,
    .brand-kpis-grid {
        grid-template-columns: 1fr;
    }
}
.brand-kpi-card {
    background: #ffffff;
    border: 1px solid var(--color-slate-200);
    border-radius: 14px;
    padding: 1.15rem 1.25rem;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.02);
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.brand-kpi-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px -2px rgba(15, 23, 42, 0.06);
    border-color: #cbd5e1;
}
.brand-kpi-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.35rem;
}
.brand-kpi-lbl {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--color-slate-500);
}
.brand-kpi-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}
.brand-kpi-val {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--color-slate-900);
    line-height: 1.2;
    margin-bottom: 0.25rem;
}
.brand-kpi-sub {
    font-size: 0.78rem;
    color: var(--color-slate-500);
}

/* Tableau Moderne Haut de Page */
.table-pac-card {
    background: #ffffff;
    border: 1px solid var(--color-slate-200);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 18px -2px rgba(15, 23, 42, 0.04);
    margin-bottom: 2.5rem;
}
.table-pac-card-header {
    padding: 1.25rem 1.5rem;
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.table-pac-clean {
    width: 100%;
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
}
.table-pac-clean th {
    background: #f8fafc;
    color: #475569;
    font-size: 0.78rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 0.85rem 1.15rem;
    border-bottom: 1px solid #e2e8f0;
    white-space: nowrap;
}
.table-pac-clean td {
    padding: 0.95rem 1.15rem;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
    font-size: 0.92rem;
    color: #1e293b;
}
.table-pac-clean tbody tr {
    transition: background-color 0.15s ease;
}
.table-pac-clean tbody tr:hover {
    background-color: #f8fafc;
}
.table-pac-clean tbody tr:last-child td {
    border-bottom: none;
}

/* Badges Profils Anah Officiels */
.badge-profil-bleu {
    background-color: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
    font-weight: 700;
    padding: 0.3rem 0.65rem;
    border-radius: 6px;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}
.badge-profil-jaune {
    background-color: #fefce8;
    color: #a16207;
    border: 1px solid #fef08a;
    font-weight: 700;
    padding: 0.3rem 0.65rem;
    border-radius: 6px;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}
.badge-profil-violet {
    background-color: #faf5ff;
    color: #7e22ce;
    border: 1px solid #e9d5ff;
    font-weight: 700;
    padding: 0.3rem 0.65rem;
    border-radius: 6px;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}
.badge-profil-rose {
    background-color: #fdf2f8;
    color: #be185d;
    border: 1px solid #fbcfe8;
    font-weight: 700;
    padding: 0.3rem 0.65rem;
    border-radius: 6px;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

/* Table Barème Officiel Anah */
.table-aides-official {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.25rem;
}
.table-aides-official th {
    background: #f8fafc;
    color: #334155;
    font-size: 0.78rem;
    text-transform: uppercase;
    font-weight: 700;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid #e2e8f0;
}
.table-aides-official td {
    padding: 0.9rem 1rem;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.9rem;
    color: #1e293b;
    vertical-align: middle;
}
.btn-copy-agrement {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #0369a1;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
}
.btn-copy-agrement:hover {
    background: #0284c7;
    border-color: #0284c7;
    color: #ffffff;
}

/* Fiche Technique Officielle ADEME */
.card-fiche-tech {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
    margin-bottom: 2rem;
}
.card-fiche-tech-header {
    padding: 1.25rem 1.75rem;
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
}
.spec-subcard {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
}
.spec-subcard-header {
    background: #f8fafc;
    padding: 0.85rem 1.25rem;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #475569;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.table-spec-clean {
    width: 100%;
    margin-bottom: 0;
    border-collapse: collapse;
}
.table-spec-clean tr {
    border-bottom: 1px solid #f8fafc;
    transition: background-color 0.15s ease;
}
.table-spec-clean tr:hover {
    background-color: #f8fafc;
}
.table-spec-clean tr:last-child {
    border-bottom: none;
}
.table-spec-clean td {
    padding: 0.72rem 1.25rem;
    font-size: 0.88rem;
    vertical-align: middle;
}
.table-spec-clean td.spec-lbl {
    color: #64748b;
    width: 48%;
}
.table-spec-clean td.spec-val {
    color: #0f172a;
    font-weight: 600;
}

/* Indicateur de mise à jour du registre */
.data-freshness-note {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    max-width: 100%;
    padding: 0.4rem 0.75rem;
    border: 1px solid #dbeafe;
    border-radius: 999px;
    background: #eff6ff;
    color: #475569;
    font-size: 0.78rem;
    line-height: 1.35;
}
.data-freshness-note span {
    min-width: 0;
}
.data-freshness-note i {
    color: #0284c7;
    font-size: 0.9rem;
}
.data-freshness-note strong {
    color: #1e293b;
    font-weight: 700;
}

/* Hero Fiche Modèle Épurée & Aérée */
.modele-hero-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.75rem 2rem;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04);
    margin-bottom: 2rem;
}
.modele-specs-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid #f1f5f9;
}
@media (max-width: 991.98px) {
    .modele-specs-strip {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 575.98px) {
    .modele-specs-strip {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }
    .modele-hero-card {
        padding: 1.25rem 1rem;
    }
    .modele-hero-badge {
        font-size: 0.76rem !important;
        padding: 0.32rem 0.65rem !important;
        white-space: nowrap !important;
    }
}
.modele-spec-item {
    display: flex;
    flex-direction: column;
}
.modele-spec-label {
    font-size: 0.73rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #64748b;
    margin-bottom: 0.25rem;
}
.modele-spec-value {
    font-size: 1.28rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
}
.modele-spec-sub {
    font-size: 0.78rem;
    color: #64748b;
    margin-top: 0.2rem;
}

/* Outil d'Audit & Vérificateur de Devis PAC */
.audit-search-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f0f7ff 100%);
    border: 1px solid #cbd5e1;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
}
.quick-chip {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.35rem 0.75rem;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    text-decoration: none;
}
.quick-chip:hover {
    background: #e0f2fe;
    border-color: #38bdf8;
    color: #0369a1;
    transform: translateY(-1px);
}
.checklist-item-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.5rem;
    height: 100%;
    transition: all 0.25s ease;
    cursor: pointer;
    position: relative;
    user-select: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.checklist-item-card:hover {
    border-color: #93c5fd;
    box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}
.checklist-item-card.checked {
    border-color: #22c55e;
    background: #f0fdf4;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.1);
}
.checklist-status-pill {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.2rem 0.55rem;
    border-radius: 50px;
    background: #f1f5f9;
    color: #64748b;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}
.checklist-item-card.checked .checklist-status-pill {
    background: #dcfce7;
    color: #15803d;
}
.checklist-item-card input[type="checkbox"] {
    width: 1.35rem;
    height: 1.35rem;
    cursor: pointer;
    accent-color: #16a34a;
}
.checklist-score-banner {
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    transition: all 0.3s ease;
}

/* Cards Situations & Boutons Agrandis */
.card-situation {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.75rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.25s ease;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
}
.card-situation:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08);
    border-color: #cbd5e1;
}
.card-situation.situation-b {
    background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 100%);
    box-shadow: 0 4px 20px rgba(2, 132, 199, 0.08);
}
.btn-situation-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.35rem;
    font-size: 0.98rem;
    font-weight: 700;
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.2s ease;
    width: 100%;
}
.btn-situation-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
}

.checklist-score-banner .btn-checklist-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 1.4rem;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 9999px;
    white-space: nowrap;
    text-decoration: none;
    transition: all 0.2s ease;
}
@media (max-width: 767.98px) {
    .checklist-score-banner .btn-checklist-cta {
        width: 100%;
        text-align: center;
    }
}

/* Mobile Sticky Dock CTA */
.mobile-sticky-dock {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1040;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(226, 232, 240, 0.92);
    padding: 0.62rem 1rem calc(0.62rem + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -6px 25px rgba(15, 23, 42, 0.08);
    transform: translateZ(0);
}
.mobile-dock-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    text-decoration: none !important;
    width: 100%;
}
.mobile-dock-left {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    min-width: 0;
    flex: 1 1 auto;
}
.mobile-dock-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 0.7rem;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    color: #059669;
    font-size: 1.2rem;
    flex-shrink: 0;
    border: 1px solid rgba(16, 185, 129, 0.25);
    box-shadow: 0 2px 5px rgba(16, 185, 129, 0.12);
}
.mobile-dock-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}
.mobile-dock-title {
    font-size: 0.92rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.015em;
}
.mobile-dock-sub {
    font-size: 0.74rem;
    color: #64748b;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mobile-dock-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
    color: #ffffff !important;
    font-weight: 800;
    font-size: 0.88rem;
    letter-spacing: -0.01em;
    padding: 0.6rem 1.2rem;
    border-radius: 9999px;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(194, 65, 12, 0.35);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.mobile-dock-link:active .mobile-dock-btn {
    transform: scale(0.96);
    box-shadow: 0 2px 6px rgba(194, 65, 12, 0.2);
}
@media (max-width: 360px) {
    .mobile-dock-icon {
        display: none;
    }
    .mobile-dock-title {
        font-size: 0.82rem;
    }
    .mobile-dock-sub {
        font-size: 0.68rem;
    }
    .mobile-dock-btn {
        padding: 0.52rem 0.85rem;
        font-size: 0.82rem;
        gap: 0.25rem;
    }
}
@media (max-width: 767.98px) {
    body {
        padding-bottom: calc(74px + env(safe-area-inset-bottom, 0px)) !important;
    }
    body.page-devis-gratuit {
        padding-bottom: 0 !important;
    }
    .back-to-top-btn {
        bottom: calc(80px + env(safe-area-inset-bottom, 0px));
        right: 14px;
        width: 38px;
        height: 38px;
        font-size: 0.95rem;
    }
    body.page-devis-gratuit .back-to-top-btn {
        bottom: 20px;
    }
}

/* Floating Back to Top Button */
.back-to-top-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1030;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    color: var(--color-slate-800);
    border: 1px solid var(--color-slate-200);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.back-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top-btn:hover {
    background: #0284c7;
    color: #ffffff;
    border-color: #0284c7;
    box-shadow: 0 6px 18px rgba(2, 132, 199, 0.3);
    transform: translateY(-2px);
}
.back-to-top-btn:active {
    transform: translateY(0);
}
@media (max-width: 767.98px) {
    .back-to-top-btn {
        bottom: calc(80px + env(safe-area-inset-bottom, 0px));
        right: 14px;
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
}
