/**
 * GC Finance - Feuille de Style Officielle (Inspiration Meilleurtaux)
 * Identité visuelle : Orange Meilleurtaux (#FF5500 / #FF7A1A), Bleu Marine Institutionnel (#0B1B3D)
 * 100% Responsive, Ergonomique et Conforme aux Standards Bancaires Français
 */

:root {
    --primary: #C0543A;
    --primary-hover: #A8442D;
    --primary-light: #D45D43;
    --primary-soft: #FDF4F1;
    --primary-border: #F7D7CE;
    --secondary: #1A1A1A;
    --secondary-hover: #2D2D2D;
    --secondary-soft: #F5F2EB;
    --navy-dark: #0B1B3D;
    --text-main: #1A1A1A;
    --text-muted: #595959;
    --text-light: #8C8C8C;
    --bg-page: #FAF7F2;
    --bg-card: #FFFFFF;
    --border-color: #ECE7DE;
    --border-focus: #C0543A;
    --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 24px -4px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 40px -15px rgba(0, 0, 0, 0.08);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-pill: 9999px;
    --transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-page);
    line-height: 1.6;
    overflow-x: hidden;
}

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

svg {
    max-width: 100%;
    vertical-align: middle;
}
.w-3, svg.w-3 { width: 12px !important; height: 12px !important; }
.w-4, svg.w-4 { width: 16px !important; height: 16px !important; }
.w-5, svg.w-5 { width: 20px !important; height: 20px !important; }
.w-6, svg.w-6 { width: 24px !important; height: 24px !important; }
.w-7, svg.w-7 { width: 28px !important; height: 28px !important; }
.w-8, svg.w-8 { width: 32px !important; height: 32px !important; }
.w-9, svg.w-9 { width: 36px !important; height: 36px !important; }
.w-10, svg.w-10 { width: 40px !important; height: 40px !important; }
.h-3 { height: 12px !important; }
.h-4 { height: 16px !important; }
.h-5 { height: 20px !important; }
.h-6 { height: 24px !important; }
.h-7 { height: 28px !important; }
.h-8 { height: 32px !important; }
.h-9 { height: 36px !important; }
.h-10 { height: 40px !important; }

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

/* ==========================================================================
   CONTAINER & UTILITIES
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1220px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    background: var(--primary-soft);
    color: var(--primary-hover);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.check-green {
    color: var(--primary);
    font-weight: 800;
    margin-right: 6px;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 700;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    line-height: 1.3;
}

.btn-cta {
    background: #C0543A;
    color: #ffffff !important;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 14px rgba(192, 84, 58, 0.28);
    text-align: center;
}

.btn-cta:hover {
    background: #A8442D;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(192, 84, 58, 0.38);
}

.btn-primary {
    background: var(--secondary);
    color: #ffffff !important;
}

.btn-primary:hover {
    background: var(--secondary-hover);
    transform: translateY(-1px);
}

.btn-header {
    padding: 9px 18px;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.82rem;
}

.btn-block {
    width: 100%;
}

/* ==========================================================================
   TOP ANNOUNCEMENT BAR
   ========================================================================== */
.top-bar {
    background: var(--secondary);
    color: #cbd5e1;
    font-size: 0.78rem;
    padding: 7px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar-trust {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.top-bar-trust .sep {
    color: #475569;
}

/* ==========================================================================
   MAIN HEADER & NAVIGATION (FROSTED GLASS & MODERN FINTECH)
   ========================================================================== */
.main-header {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.85);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(15, 34, 61, 0.04);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 74px;
}

.site-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.site-logo img {
    height: 38px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 600;
    color: #1e293b;
    padding: 7px 12px;
    border-radius: 8px;
    white-space: nowrap;
    text-decoration: none;
    transition: all 0.18s ease;
    display: inline-block;
}

.nav-link:hover {
    color: #FF5500;
    background: #FFF7ED;
}

.mobile-menu-footer {
    display: none !important;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-header {
    white-space: nowrap;
    font-size: 0.86rem;
    font-weight: 800;
    padding: 10px 20px;
    border-radius: 10px;
    background: linear-gradient(135deg, #FF6600 0%, #FF4D00 100%);
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(255, 85, 0, 0.3);
}

.btn-header:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(255, 85, 0, 0.4);
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 38px;
    height: 38px;
    padding: 6px;
    border-radius: var(--radius-sm);
    flex-direction: column;
    justify-content: space-around;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2.5px;
    background: var(--secondary);
    border-radius: 2px;
    transition: var(--transition);
}

/* ==========================================================================
   DEDICATED MOBILE DRAWER
   ========================================================================== */
.mobile-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 34, 61, 0.65);
    backdrop-filter: blur(4px);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-drawer-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background: #ffffff;
    z-index: 1001;
    box-shadow: -8px 0 32px rgba(15, 34, 61, 0.2);
    display: flex;
    flex-direction: column;
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 992px) {
    .mobile-drawer,
    .mobile-drawer-overlay {
        display: none !important;
    }
}

.mobile-drawer.open {
    right: 0;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    border-bottom: 1px solid var(--border-color);
}

.drawer-close {
    background: transparent;
    border: none;
    font-size: 32px;
    line-height: 1;
    color: #64748b;
    cursor: pointer;
}

.drawer-body {
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    overflow-y: auto;
}

.drawer-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--secondary);
    text-decoration: none;
    transition: var(--transition);
}

.drawer-link:hover {
    background: var(--primary-soft);
    border-color: var(--primary-border);
    color: var(--primary-hover);
}

.drawer-link .arr {
    color: #94a3b8;
    font-size: 1rem;
}

.drawer-footer {
    padding: 20px;
    border-top: 1px solid var(--border-color);
    background: #f8fafc;
    text-align: center;
}

.drawer-trust-note {
    font-size: 0.72rem;
    color: #64748b;
    margin-top: 10px;
    font-weight: 500;
}

/* ==========================================================================
   HERO SECTION & FINANCIAL SIMULATOR (FINTECH EXCELLENCE)
   ========================================================================== */
.hero-section {
    background: radial-gradient(circle at 12% 18%, rgba(139, 178, 21, 0.08) 0%, transparent 40%),
                radial-gradient(circle at 88% 82%, rgba(15, 34, 61, 0.05) 0%, transparent 50%),
                #f8fafc;
    padding: 35px 0 45px 0;
    border-bottom: 1px solid var(--border-color);
}

.hero-container {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 36px;
    align-items: center;
}

.hero-text {
    padding-right: 14px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: #FFF7ED;
    border: 1px solid #FFEDD5;
    box-shadow: 0 2px 10px rgba(255, 85, 0, 0.10);
    border-radius: var(--radius-pill);
    font-size: 0.82rem;
    font-weight: 700;
    color: #EA580C;
    margin-bottom: 16px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #FF5500;
    display: inline-block;
    box-shadow: 0 0 0 3px rgba(255, 85, 0, 0.25);
    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
    0% { transform: scale(0.95); box-shadow: 0 0 0 2px rgba(255, 85, 0, 0.2); }
    50% { transform: scale(1.15); box-shadow: 0 0 0 5px rgba(255, 85, 0, 0.35); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 2px rgba(255, 85, 0, 0.2); }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: #0B1B3D;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 14px;
}

.hero-highlight {
    color: #FF5500;
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
}

.hero-lead {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 20px;
}

.hero-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 20px;
}

.metric-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 10px 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    transition: transform 0.2s ease;
}

.metric-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.07);
}

.metric-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1.15;
}

.metric-lbl {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-top: 3px;
    display: block;
}

.hero-reassurance-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 0.88rem;
    color: #334155;
}

.reassurance-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.check-icon-svg {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ==========================================================================
   SIMULATOR CARD (PREMIUM FINTECH)
   ========================================================================== */
.simulator-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 50px -10px rgba(15, 23, 42, 0.10), 0 0 0 1px rgba(15, 23, 42, 0.05);
    padding: 22px 24px;
    position: relative;
}

.sim-tabs-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    background: #f1f5f9;
    padding: 4px;
    border-radius: 12px;
    margin-bottom: 16px;
}

.sim-tab-btn {
    background: transparent;
    border: none;
    border-radius: 9px;
    padding: 8px 6px;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.sim-tab-btn.active {
    background: #ffffff;
    color: #FF5500;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-bottom: 2px solid #FF5500;
}

.sim-panel {
    display: none;
}

.sim-panel.active {
    display: block;
    animation: fadeIn 0.22s ease;
}

.simulator-header h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 4px;
}

.simulator-header p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 8px;
}

.val-badge {
    background: #FFF7ED;
    color: #EA580C;
    padding: 3px 12px;
    border-radius: 8px;
    border: 1px solid #FFEDD5;
    font-family: var(--font-heading);
    font-size: 0.98rem;
    font-weight: 800;
}

/* Custom Range Input */
input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 6px;
    background: #e2e8f0;
    outline: none;
    cursor: pointer;
    margin: 6px 0;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #ffffff;
    border: 4px solid #FF5500;
    box-shadow: 0 2px 8px rgba(255, 85, 0, 0.4);
    cursor: pointer;
    transition: transform 0.15s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

input[type="range"]::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #ffffff;
    border: 4px solid #FF5500;
    box-shadow: 0 2px 8px rgba(255, 85, 0, 0.4);
    cursor: pointer;
}

/* FinTech Vault Simulation Results Box */
.sim-result-box {
    background: #0B1B3D;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 14px;
    padding: 16px 20px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
    margin: 14px 0;
    color: #ffffff;
    box-shadow: 0 10px 25px -5px rgba(11, 27, 61, 0.35);
}

.res-col {
    display: flex;
    flex-direction: column;
}

.res-col.highlight {
    text-align: right;
}

.res-lbl {
    font-size: 0.72rem;
    font-weight: 700;
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    white-space: nowrap;
}

.res-val {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: #ffffff;
}

.res-val small {
    font-size: 0.82rem;
    font-weight: 500;
    color: #94a3b8;
}

.res-gain {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    font-weight: 800;
    color: #10B981;
}

.res-pct {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    background: rgba(16, 185, 129, 0.18);
    color: #34D399;
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 2px 8px;
    border-radius: 9999px;
    margin-top: 4px;
}

.res-divider {
    width: 1px;
    height: 48px;
    background: rgba(255, 255, 255, 0.12);
}

/* Comparison Bars */
.sim-bars-comparison {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 22px;
}

.sim-bar-item .bar-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.bar-track {
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
}

.bar-progress {
    height: 100%;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.bar-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    margin-right: 4px;
}

.bar-track {
    width: 100%;
    height: 10px;
    background: #f1f5f9;
    border-radius: 6px;
    overflow: hidden;
}

.bar-progress {
    height: 100%;
    border-radius: 6px;
    transition: width 0.3s ease;
}

.sim-footnote {
    text-align: center;
    font-size: 0.72rem;
    color: var(--text-light);
    margin-top: 10px;
}

/* ==========================================================================
   PARTNERS BANNER
   ========================================================================== */
.partners-band {
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding: 24px 0;
}

.partners-title {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 16px;
}

.partners-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.partners-flex img {
    height: 28px;
    width: auto;
    object-fit: contain;
    opacity: 0.75;
    filter: grayscale(80%);
    transition: var(--transition);
}

.partners-flex img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* ==========================================================================
   EDITORIAL ARTICLE & CATEGORY LAYOUT
   ========================================================================== */
.article-page-wrapper {
    padding-bottom: 60px;
}

.breadcrumb-container {
    padding: 16px 20px 0 20px;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.2;
}

.breadcrumbs a {
    color: #64748B;
    text-decoration: none;
    transition: color 0.15s ease;
}

.breadcrumbs a:hover {
    color: var(--primary);
    text-decoration: underline;
}

.breadcrumbs .sep {
    color: #94A3B8;
    font-size: 0.75rem;
    margin: 0 2px;
}

.breadcrumbs .current {
    color: var(--secondary);
    font-weight: 600;
}

.article-header {
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding: 36px 0 32px 0;
    margin-bottom: 36px;
}

.article-meta-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.category-badge {
    background: var(--primary-soft);
    color: var(--primary-hover);
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.read-time {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.article-main-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
}

.article-lead-excerpt {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-muted);
    max-width: 850px;
    margin-bottom: 20px;
}

.article-author-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--border-color);
}

.author-details {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--secondary);
}

.author-sub {
    font-size: 0.76rem;
    color: var(--text-muted);
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 36px;
    align-items: start;
}

.article-content-main {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    padding: 36px;
    box-shadow: var(--shadow-sm);
}

.article-body h2 {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--secondary);
    margin: 32px 0 14px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-soft);
    letter-spacing: -0.015em;
}

.article-body h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 24px 0 10px 0;
}

.article-body p {
    margin-bottom: 18px;
    line-height: 1.75;
    color: #334155;
    font-size: 1rem;
}

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

.article-body li {
    margin-bottom: 8px;
    line-height: 1.65;
    color: #334155;
}

.article-body a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.article-body a:hover {
    color: var(--primary-hover);
}

.article-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 0.9rem;
}

.article-body th, .article-body td {
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    text-align: left;
}

.article-body th {
    background: var(--bg-page);
    font-weight: 700;
    color: var(--secondary);
}

.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-widget {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 22px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   MODAL LEAD FORM
   ========================================================================== */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 34, 61, 0.65);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 30px 15px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.modal-dialog {
    background: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 540px;
    margin: 20px auto;
    position: relative;
    padding: 30px;
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    background: transparent;
    border: none;
    font-size: 26px;
    color: var(--text-light);
    cursor: pointer;
    line-height: 1;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--secondary);
}

.modal-pill {
    display: inline-block;
    padding: 3px 10px;
    background: var(--primary-soft);
    color: var(--primary-hover);
    border-radius: var(--radius-pill);
    font-size: 0.72rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.modal-header h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 4px;
}

.modal-header p {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 18px;
}

.modal-sim-recap {
    background: #f8fafc;
    border: 1px solid var(--primary-border);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    margin: 12px 0 16px 0;
    text-align: left;
}

.modal-sim-recap .recap-badge {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: var(--primary-soft);
    color: var(--primary-hover);
    padding: 2px 8px;
    border-radius: var(--radius-pill);
    margin-bottom: 6px;
}

.modal-sim-recap .recap-metrics {
    font-size: 0.82rem;
    color: var(--text-main);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    line-height: 1.4;
}

.modal-sim-recap .text-green {
    color: #4d6609;
    font-weight: 700;
}

.modal-sim-recap .sep {
    color: #cbd5e1;
}

.modal-step-title {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--secondary);
    margin: 14px 0 10px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 800;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

.form-field {
    display: flex;
    flex-direction: column;
}

.form-field label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 4px;
}

.form-field input, .form-field select {
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: var(--text-main);
    outline: none;
    transition: var(--transition);
}

.form-field input:focus, .form-field select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(115, 146, 12, 0.15);
}

.modal-trust-box {
    background: var(--bg-page);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 12px;
    font-size: 0.76rem;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 16px 0;
}

.modal-submit-wrap {
    margin-top: 14px;
}

.guarantee-text {
    display: block;
    text-align: center;
    font-size: 0.7rem;
    color: var(--text-light);
    margin-top: 8px;
}

/* ==========================================================================
   STICKY CTA BAR
   ========================================================================== */
.sticky-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #ffffff;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
    z-index: 99;
    padding: 10px 0;
    transform: translateY(115%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.sticky-cta-bar.visible {
    transform: translateY(0);
}

.sticky-cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.sticky-info {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.88rem;
}

.badge-fire {
    background: var(--primary);
    color: #ffffff;
    padding: 3px 8px;
    border-radius: var(--radius-pill);
    font-size: 0.72rem;
    font-weight: 800;
}

.sticky-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sticky-close {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 20px;
    cursor: pointer;
    padding: 4px;
}

/* ==========================================================================
   MAIN FOOTER
   ========================================================================== */
.main-footer {
    background: var(--navy-dark);
    color: #94a3b8;
    padding: 56px 0 24px 0;
    font-size: 0.85rem;
}

.footer-logo img {
    height: 42px;
    width: auto;
    object-fit: contain;
    margin-bottom: 16px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 36px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    letter-spacing: -0.2px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: #94a3b8;
    font-size: 0.82rem;
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 3px;
}

.footer-desc {
    font-size: 0.82rem;
    line-height: 1.6;
    margin-bottom: 16px;
    color: #94a3b8;
}

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

.trust-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    font-size: 0.74rem;
    color: #e2e8f0;
}

.footer-legal-notices {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
    font-size: 0.74rem;
    line-height: 1.65;
    color: #64748b;
}

.footer-legal-notices p {
    margin-bottom: 10px;
}

.murcef-warning strong {
    color: #cbd5e1;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
    text-align: center;
    font-size: 0.75rem;
    color: #64748b;
}

/* ==========================================================================
   STATE-OF-THE-ART INTERACTIVE MULTI-STEP FUNNEL (WIZARD)
   ========================================================================== */
.wizard-wrapper {
    max-width: 900px;
    margin: 0 auto 50px auto;
}

.wizard-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.wizard-progress-header {
    background: #f8fafc;
    border-bottom: 1px solid var(--border-color);
    padding: 22px 28px;
}

.wizard-steps-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.wizard-step-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: #94a3b8;
    transition: var(--transition);
}

.wizard-step-indicator.active {
    color: var(--secondary);
}

.wizard-step-indicator.completed {
    color: var(--primary);
}

.step-bubble {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    font-weight: 800;
    transition: var(--transition);
    flex-shrink: 0;
}

.wizard-step-indicator.active .step-bubble {
    background: var(--secondary);
    color: #ffffff;
    box-shadow: 0 0 0 4px rgba(15, 34, 61, 0.15);
}

.wizard-step-indicator.completed .step-bubble {
    background: var(--primary);
    color: #ffffff;
}

.wizard-progress-track {
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    margin-top: 16px;
    overflow: hidden;
}

.wizard-progress-bar {
    height: 100%;
    width: 25%;
    background: linear-gradient(to right, #FF7A1A, #FF5500);
    border-radius: 3px;
    transition: width 0.35s ease;
}

.wizard-body {
    padding: 38px 32px;
}

.wizard-step-pane {
    display: none;
    animation: fadeIn 0.3s ease;
}

.wizard-step-pane.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.wizard-pane-header {
    text-align: center;
    margin-bottom: 28px;
}

.wizard-pane-title {
    font-family: var(--font-heading);
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 6px;
    letter-spacing: -0.015em;
}

.wizard-pane-desc {
    font-size: 0.92rem;
    color: var(--text-muted);
}

.project-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.project-select-card {
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 24px 18px;
    cursor: pointer;
    transition: var(--transition);
    background: #ffffff;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project-select-card:hover {
    border-color: var(--primary-border);
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.project-select-card.selected {
    border-color: var(--primary);
    background: var(--primary-soft);
    box-shadow: 0 6px 20px rgba(115, 146, 12, 0.15);
}

.project-select-card .card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #f1f5f9;
    color: var(--secondary);
    margin: 0 auto 14px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.project-select-card.selected .card-icon {
    background: var(--primary);
    color: #ffffff;
}

.project-select-card h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 8px;
}

.project-select-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.45;
}

.project-select-card .badge-rec {
    position: absolute;
    top: -10px;
    right: 14px;
    background: var(--primary);
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: var(--radius-pill);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.funnel-slider-group {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 18px 22px;
    margin-bottom: 16px;
}

.funnel-slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.funnel-slider-header label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--secondary);
}

.funnel-slider-header .val-display {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-hover);
}

.funnel-live-dashboard {
    background: linear-gradient(135deg, #090e17 0%, #1e293b 100%);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 22px 24px;
    margin: 26px 0;
    box-shadow: 0 12px 28px -6px rgba(15, 23, 42, 0.35);
}

.funnel-dash-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    text-align: center;
    align-items: center;
}

.funnel-dash-item .dash-label {
    display: block;
    font-size: 0.75rem;
    color: #94a3b8;
    margin-bottom: 4px;
}

.funnel-dash-item .dash-val {
    font-family: var(--font-heading);
    font-size: 1.55rem;
    font-weight: 800;
}

.funnel-dash-item.highlight .dash-val {
    color: #a3e635;
}

.funnel-dash-item.highlight .dash-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    background: rgba(163, 230, 53, 0.2);
    color: #bef264;
    padding: 2px 8px;
    border-radius: 9999px;
    margin-top: 4px;
}

.funnel-btn-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-top: 32px;
}

.btn-back {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid var(--border-color);
}

.btn-back:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.btn-forward {
    min-width: 220px;
}

.funnel-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    margin-bottom: 22px;
}

.funnel-option-btn {
    border: 1.5px solid var(--border-color);
    background: #ffffff;
    border-radius: 12px;
    padding: 14px 16px;
    text-align: center;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--secondary);
    cursor: pointer;
    transition: var(--transition);
}

.funnel-option-btn:hover {
    border-color: var(--primary-border);
    background: #f8fafc;
}

.funnel-option-btn.selected {
    border-color: var(--primary);
    background: var(--primary-soft);
    color: var(--primary-hover);
    box-shadow: 0 2px 8px rgba(255, 85, 0, 0.2);
}

.funnel-summary-chip {
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
}

.funnel-success-pane {
    text-align: center;
    padding: 40px 20px;
}

.success-check-circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #ecfdf5;
    border: 3px solid #6ee7b7;
    color: #059669;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLETS & MOBILE)
   ========================================================================== */
@media (max-width: 991px) {
    .project-cards-grid {
        grid-template-columns: 1fr;
    }

    .wizard-body {
        padding: 28px 20px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero-text {
        padding-right: 0;
    }

    .hero-title {
        font-size: 2.15rem;
    }

    .hero-trust-metrics {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .article-layout {
        grid-template-columns: 1fr;
    }

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

    .nav-menu {
        display: none !important;
    }

    .menu-toggle {
        display: flex;
    }

    .btn-header {
        padding: 8px 14px;
        font-size: 0.82rem;
    }
}

@media (max-width: 640px) {
    .wizard-steps-nav {
        gap: 6px;
    }

    .wizard-step-indicator span.step-title {
        display: none;
    }

    .funnel-dash-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .funnel-btn-row {
        flex-direction: column-reverse;
    }

    .funnel-btn-row .btn {
        width: 100%;
    }

    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .top-bar {
        display: none;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .simulator-card {
        padding: 18px 16px;
    }

    .sim-result-box {
        grid-template-columns: 1fr;
        gap: 10px;
        text-align: center;
    }

    .res-col.highlight {
        text-align: center;
    }

    .res-divider {
        display: none;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

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

    .article-content-main {
        padding: 20px 16px;
    }

    .article-main-title {
        font-size: 1.6rem;
    }

    .sticky-info {
        display: none;
    }

    .sticky-actions {
        width: 100%;
    }

    .sticky-actions .btn {
        width: 100%;
    }
}


/* ==========================================================================
   MEILLEURTAUX PORTAL LAYOUT SYSTEM (REPRODUCTION FIDÈLE 2026)
   ========================================================================== */

/* --- DOUBLE-TIER HEADER --- */
.header-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    gap: 20px;
}

.header-trustpilot-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #1A1A1A;
    background: #F5F2EB;
    padding: 6px 14px;
    border-radius: 9999px;
    border: 1px solid #ECE7DE;
}

.tp-star-icon {
    color: #00B67A;
    font-weight: 800;
    font-size: 0.95rem;
}

.header-user-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-client-space {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border: 1px solid #D5CEBF;
    border-radius: 9999px;
    background: #ffffff;
    color: #1A1A1A;
    font-size: 0.84rem;
    font-weight: 700;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-client-space:hover {
    border-color: #C0543A;
    color: #C0543A;
    background: #FDF4F1;
}

.btn-header-terracotta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 20px;
    border-radius: 9999px;
    background: #C0543A;
    color: #ffffff !important;
    font-size: 0.84rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(192, 84, 58, 0.25);
    transition: all 0.2s;
    text-decoration: none;
}

.btn-header-terracotta:hover {
    background: #A8442D;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(192, 84, 58, 0.35);
}

.header-subnav-strip {
    border-top: 1px solid #ECE7DE;
    overflow-x: auto;
    scrollbar-width: none;
}

.header-subnav-strip::-webkit-scrollbar {
    display: none;
}

.subnav-links-list {
    display: flex;
    align-items: center;
    gap: 22px;
    height: 44px;
    margin: 0;
    padding: 0;
    list-style: none;
    white-space: nowrap;
}

.subnav-item a {
    font-size: 0.88rem;
    font-weight: 600;
    color: #2D2D2D;
    text-decoration: none;
    padding: 10px 0;
    position: relative;
    transition: color 0.15s ease;
}

.subnav-item a:hover,
.subnav-item a.active {
    color: #C0543A;
}

.subnav-item a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #C0543A;
    border-radius: 2px 2px 0 0;
}

/* --- HERO HUB SECTION --- */
.hero-hub-section {
    padding: 40px 0 50px 0;
    background: var(--bg-page);
}

.hero-hub-headline {
    text-align: center;
    max-width: 860px;
    margin: 0 auto 36px auto;
}

.hero-hub-headline h1 {
    font-family: var(--font-heading);
    font-size: 2.35rem;
    font-weight: 800;
    color: #1A1A1A;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.hero-hub-headline p {
    font-size: 1.02rem;
    color: var(--text-muted);
    margin-top: 10px;
}

.hero-hub-grid {
    display: grid;
    grid-template-columns: 1.75fr 1fr;
    gap: 28px;
    align-items: stretch;
}

.hero-services-block {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
}

.services-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.service-card-tile {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 18px 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 140px;
    text-decoration: none;
    color: inherit;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
    position: relative;
}

.service-card-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.06);
    border-color: #C0543A;
}

.service-card-tile .tile-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    color: #C0543A;
}

.service-card-tile .tile-badge {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    color: #C0543A;
    background: #FDF4F1;
    padding: 2px 6px;
    border-radius: 4px;
    margin-bottom: 5px;
    align-self: flex-start;
}

.service-card-tile .tile-title {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    color: #1A1A1A;
    line-height: 1.25;
}

.service-card-tile .tile-sub {
    font-size: 0.74rem;
    color: var(--text-muted);
    margin-top: 4px;
    line-height: 1.3;
}

.services-quick-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.services-quick-links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 9999px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #2D2D2D;
    transition: all 0.2s;
    text-decoration: none;
}

.services-quick-links a:hover {
    border-color: #C0543A;
    color: #C0543A;
    background: #FDF4F1;
}

.hero-promo-card {
    background: #FAF4ED;
    border: 1px solid #F0DFD5;
    border-radius: 16px;
    padding: 30px 26px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.hero-promo-card .promo-stamp {
    position: absolute;
    top: 22px;
    right: 22px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #C0543A 0%, #A8442D 100%);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.15rem;
    line-height: 1;
    box-shadow: 0 4px 12px rgba(192, 84, 58, 0.3);
}

.hero-promo-card .promo-stamp small {
    font-size: 0.58rem;
    font-weight: 600;
    text-transform: uppercase;
}

.hero-promo-card .promo-tag {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #C0543A;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.hero-promo-card .promo-title {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 800;
    color: #1A1A1A;
    line-height: 1.25;
    margin-bottom: 12px;
    padding-right: 55px;
}

.hero-promo-card .promo-desc {
    font-size: 0.92rem;
    color: #595959;
    line-height: 1.55;
    margin-bottom: 22px;
}

.hero-promo-card .btn-promo {
    width: 100%;
    padding: 13px 20px;
    background: #C0543A;
    color: #ffffff !important;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.94rem;
    text-align: center;
    display: block;
    box-shadow: 0 4px 14px rgba(192, 84, 58, 0.28);
    transition: all 0.2s;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.hero-promo-card .btn-promo:hover {
    background: #A8442D;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(192, 84, 58, 0.38);
}

.hero-promo-card .promo-reassurance {
    margin-top: 14px;
    font-size: 0.74rem;
    color: #7A7268;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* --- TRUST PILLARS & OBSERVATOIRE SECTION --- */
.trust-hub-section {
    padding: 50px 0;
    background: var(--bg-page);
}

.trust-hub-header {
    text-align: center;
    margin-bottom: 34px;
}

.trust-hub-header h2 {
    font-family: var(--font-heading);
    font-size: 1.95rem;
    font-weight: 800;
    color: #1A1A1A;
    letter-spacing: -0.02em;
}

.trust-hub-header p {
    font-size: 0.98rem;
    color: var(--text-muted);
    margin-top: 6px;
}

.trust-pillars-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 28px;
}

.trust-pillar-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 26px 22px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
    transition: transform 0.2s;
}

.trust-pillar-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05);
}

.trust-pillar-card .pillar-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #FDF4F1;
    border: 1px solid #F7D7CE;
    color: #C0543A;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px auto;
}

.trust-pillar-card h3 {
    font-family: var(--font-heading);
    font-size: 1.08rem;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 8px;
}

.trust-pillar-card p {
    font-size: 0.86rem;
    color: var(--text-muted);
    line-height: 1.55;
}

.trustpilot-score-band {
    text-align: center;
    margin-bottom: 32px;
}

.trustpilot-badge-lg {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 24px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.92rem;
    color: #1A1A1A;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.feature-card-observatoire {
    background: #F5EFE6;
    border: 1px solid #E8DFD3;
    border-radius: 16px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 340px 1fr;
    align-items: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.feature-card-observatoire img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
}

.feature-card-observatoire .obs-content {
    padding: 32px 36px;
}

.obs-content .obs-tag {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #C0543A;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.obs-content h3 {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 800;
    color: #1A1A1A;
    margin-bottom: 8px;
}

.obs-content p {
    font-size: 0.92rem;
    color: #595959;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* --- PARTNER BANKS STRIP --- */
.partner-strip-section {
    background: #ffffff;
    padding: 26px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.partner-strip-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 22px;
}

.partner-strip-wrapper img,
.partner-strip-wrapper svg {
    max-height: 24px;
    width: auto;
    opacity: 0.82;
    transition: all 0.2s;
}

section[id], div[id] {
    scroll-margin-top: 130px;
}

.partner-strip-wrapper img:hover,
.partner-strip-wrapper svg:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* --- NOS AGENCES BANNER --- */
.nos-agences-section {
    padding: 50px 0;
    background: var(--bg-page);
}

.agences-card-banner {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    align-items: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.agences-card-banner .agences-text {
    padding: 44px 40px;
}

.agences-card-banner .agences-tag {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #C0543A;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.agences-card-banner h2 {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 800;
    color: #1A1A1A;
    line-height: 1.25;
    margin-bottom: 14px;
}

.agences-card-banner p {
    font-size: 0.94rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
}

.agences-card-banner img {
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
}

/* --- PROJETS DE VIE SECTION --- */
.projets-vie-section {
    padding: 50px 0;
    background: var(--bg-page);
}

.projets-vie-header {
    margin-bottom: 28px;
}

.projets-vie-header h2 {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 800;
    color: #1A1A1A;
}

.projets-vie-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.projet-card {
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    min-height: 270px;
    background: #1A1A1A;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 22px;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    text-decoration: none;
}

.projet-card img.card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55;
    transition: transform 0.4s ease;
}

.projet-card:hover img.card-bg {
    transform: scale(1.06);
}

.projet-card .card-content {
    position: relative;
    z-index: 2;
}

.projet-card h3 {
    font-family: var(--font-heading);
    font-size: 1.08rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 6px;
    line-height: 1.3;
}

.projet-card p {
    font-size: 0.8rem;
    color: #f1f5f9;
    line-height: 1.45;
}

.projet-card.card-text-quote {
    background: #ffffff;
    color: #1A1A1A;
    border: 1px solid var(--border-color);
    justify-content: space-between;
}

.projet-card.card-text-quote .quote-tag {
    font-size: 0.75rem;
    font-weight: 800;
    color: #C0543A;
    text-transform: uppercase;
}

.projet-card.card-text-quote .quote-body {
    font-size: 0.88rem;
    color: #2D2D2D;
    line-height: 1.5;
    font-style: italic;
    margin: 12px 0;
}

.projet-card.card-text-quote .quote-author {
    font-size: 0.8rem;
    font-weight: 700;
    color: #1A1A1A;
}

/* --- NOS SIMULATEURS HUB --- */
.simulateurs-hub-section {
    padding: 50px 0;
    background: var(--bg-page);
}

.simulateurs-hub-header {
    text-align: center;
    margin-bottom: 34px;
}

.simulateurs-hub-header h2 {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 800;
    color: #1A1A1A;
}

.sim-action-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-bottom: 36px;
}

.sim-action-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 30px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s;
}

.sim-action-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.sim-action-card .sim-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 14px auto;
    color: #C0543A;
}

.sim-action-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: #1A1A1A;
    margin-bottom: 8px;
}

.sim-action-card p {
    font-size: 0.86rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 22px;
}

.sim-action-card .btn-sim-action {
    padding: 11px 24px;
    border-radius: 9999px;
    background: #C0543A;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.88rem;
    display: inline-block;
    text-decoration: none;
    transition: all 0.2s;
}

.sim-action-card .btn-sim-action:hover {
    background: #A8442D;
    transform: translateY(-1px);
}

/* Embedded interactive simulator wrapper */
.sim-interactive-wrapper {
    background: #FAF4ED;
    border: 1px solid #EADBCE;
    border-radius: 18px;
    padding: 32px;
    max-width: 880px;
    margin: 0 auto;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}

/* --- ACTUALITÉS & DÉCRYPTAGES --- */
.actualites-hub-section {
    padding: 50px 0;
    background: var(--bg-page);
}

.actualites-hub-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}

.actualites-hub-header h2 {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 800;
    color: #1A1A1A;
}

.actualites-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.actualite-editorial-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: all 0.22s;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.actualite-editorial-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.07);
    border-color: #C0543A;
}

.actualite-editorial-card img {
    width: 100%;
    height: 175px;
    object-fit: cover;
}

.actualite-editorial-card .card-body {
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.actualite-editorial-card .card-meta {
    font-size: 0.75rem;
    font-weight: 700;
    color: #C0543A;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
}

.actualite-editorial-card h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    color: #1A1A1A;
    line-height: 1.35;
    margin-bottom: 10px;
}

.actualite-editorial-card p {
    font-size: 0.84rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* --- QUI SOMMES-NOUS BANNER --- */
.qui-sommes-nous-section {
    padding: 50px 0;
    background: var(--bg-page);
}

.engagement-banner-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    align-items: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.engagement-banner-card .card-text {
    padding: 44px 40px;
}

.engagement-banner-card .eng-tag {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #C0543A;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.engagement-banner-card h2 {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 800;
    color: #1A1A1A;
    line-height: 1.25;
    margin-bottom: 14px;
}

.engagement-banner-card p {
    font-size: 0.94rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
}

.engagement-banner-card img {
    width: 100%;
    height: 100%;
    min-height: 290px;
    object-fit: cover;
}

/* --- GUIDES THÉMATIQUES --- */
.guides-taxonomy-section {
    padding: 40px 0 50px 0;
    background: var(--bg-page);
}

.guides-taxonomy-header {
    margin-bottom: 26px;
}

.guides-taxonomy-header h2 {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 800;
    color: #1A1A1A;
}

.guides-taxonomy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.guide-category-block {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px 22px;
}

.guide-category-block .cat-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.guide-category-block .cat-header svg {
    color: #C0543A;
    width: 22px;
    height: 22px;
}

.guide-category-block h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: #1A1A1A;
}

.guide-category-block ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.guide-category-block ul li {
    margin-bottom: 8px;
}

.guide-category-block ul li a {
    font-size: 0.84rem;
    color: #475569;
    text-decoration: none;
    transition: color 0.15s;
}

.guide-category-block ul li a:hover {
    color: #C0543A;
    text-decoration: underline;
}

/* --- REVIEWS DARK BAND (EXACT MEILLEURTAUX CONTRAST BAND) --- */
.reviews-dark-section {
    background: #111827;
    color: #ffffff;
    padding: 55px 0;
}

.reviews-dark-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 36px;
    align-items: center;
}

.reviews-dark-left {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.reviews-dark-left h2 {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
}

.reviews-dark-left .tp-score {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
    font-weight: 700;
}

.reviews-dark-left .tp-stars {
    color: #00B67A;
    font-size: 1.3rem;
    letter-spacing: 2px;
}

.reviews-dark-left p {
    font-size: 0.85rem;
    color: #9CA3AF;
}

.reviews-dark-left a.all-reviews-link {
    color: #F87171;
    font-size: 0.86rem;
    font-weight: 700;
    text-decoration: none;
}

.reviews-dark-left a.all-reviews-link:hover {
    text-decoration: underline;
}

.reviews-dark-cards-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.review-card-white {
    background: #ffffff;
    color: #1A1A1A;
    border-radius: 12px;
    padding: 18px 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 160px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.review-card-white .stars-row {
    color: #00B67A;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.review-card-white .review-text {
    font-size: 0.82rem;
    color: #374151;
    line-height: 1.45;
    margin-bottom: 12px;
}

.review-card-white .review-author {
    font-size: 0.74rem;
    font-weight: 700;
    color: #6B7280;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* --- MOBILE APP / ONLINE SUITE MOCKUP --- */
.mobile-app-hub-section {
    padding: 60px 0;
    background: var(--bg-page);
}

.mobile-app-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 44px 48px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 40px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
}

.mobile-app-card .app-text h2 {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 800;
    color: #1A1A1A;
    margin-bottom: 14px;
}

.mobile-app-card .app-text p {
    font-size: 0.94rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
}

.app-store-badges {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.badge-store {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 18px;
    background: #111827;
    color: #ffffff !important;
    border-radius: 10px;
    text-decoration: none;
    font-size: 0.78rem;
    transition: opacity 0.2s;
}

.badge-store:hover {
    opacity: 0.9;
}

.phone-mockups-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.phone-frame {
    width: 240px;
    background: #ffffff;
    border: 8px solid #1E293B;
    border-radius: 36px;
    padding: 16px 14px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.15);
}

.phone-frame-inner {
    background: #FAF7F2;
    border-radius: 22px;
    padding: 14px 12px;
    font-size: 0.75rem;
}

/* --- PURE TEXT BRAND TYPOGRAPHY (NO GRAPHICAL ICON / NO SWIRL) --- */
.site-brand-text {
    display: inline-flex;
    flex-direction: column;
    text-decoration: none !important;
    line-height: 1.1;
    user-select: none;
    flex-shrink: 0;
}

.site-brand-text .brand-text-row {
    display: flex;
    align-items: baseline;
    gap: 4px;
    font-family: var(--font-heading);
    font-size: 1.55rem;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.site-brand-text .brand-gc {
    color: #C0543A;
    font-weight: 900;
}

.site-brand-text .brand-name {
    color: #1A1A1A;
    font-weight: 900;
}

.site-brand-text .brand-sub {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.6px;
    color: #64748B;
    text-transform: uppercase;
    margin-top: 2px;
}

.footer-brand-text .brand-name {
    color: #ffffff !important;
}

.footer-brand-text .brand-sub {
    color: #94A3B8 !important;
}

/* --- RESPONSIVE BREAKPOINTS (100% BULLETPROOF MOBILE) --- */
@media (max-width: 991px) {
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
    }

    .top-bar {
        display: none !important;
    }

    .header-trustpilot-pill {
        display: none !important;
    }

    .btn-client-space {
        display: none !important;
    }

    .header-subnav-strip {
        display: none !important;
    }

    .menu-toggle {
        display: flex !important;
    }

    .header-top-row {
        padding: 10px 0 !important;
    }

    .header-user-actions {
        gap: 8px !important;
    }

    .btn-header-terracotta {
        padding: 7px 14px !important;
        font-size: 0.8rem !important;
    }

    .hide-mobile {
        display: none !important;
    }

    .hero-hub-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .services-cards-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    .trust-pillars-row {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    .feature-card-observatoire {
        grid-template-columns: 1fr !important;
    }

    .feature-card-observatoire img {
        height: 180px !important;
        min-height: 180px !important;
    }

    .feature-card-observatoire .obs-content {
        padding: 24px 20px !important;
    }

    .agences-card-banner {
        grid-template-columns: 1fr !important;
    }

    .agences-card-banner img {
        height: 200px !important;
        min-height: 200px !important;
    }

    .agences-card-banner .agences-text {
        padding: 26px 20px !important;
    }

    .projets-vie-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 14px !important;
    }

    .sim-action-cards-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    .actualites-cards-grid {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }

    .engagement-banner-card {
        grid-template-columns: 1fr !important;
    }

    .engagement-banner-card img {
        height: 200px !important;
        min-height: 200px !important;
    }

    .engagement-banner-card .card-text {
        padding: 26px 20px !important;
    }

    .guides-taxonomy-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    .reviews-dark-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    .reviews-dark-cards-row {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }

    .mobile-app-card {
        grid-template-columns: 1fr !important;
        padding: 28px 20px !important;
        gap: 24px !important;
    }
}

@media (max-width: 640px) {
    .container {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    .site-brand-text .brand-text-row {
        font-size: 1.25rem !important;
    }

    .site-brand-text .brand-sub {
        font-size: 0.54rem !important;
        letter-spacing: 0.3px !important;
    }

    .hero-hub-section {
        padding: 24px 0 32px 0 !important;
    }

    .hero-hub-headline {
        margin-bottom: 20px !important;
    }

    .hero-hub-headline h1 {
        font-size: 1.55rem !important;
        line-height: 1.22 !important;
    }

    .hero-hub-headline p {
        font-size: 0.86rem !important;
        line-height: 1.45 !important;
    }

    .services-cards-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
    }

    .service-card-tile {
        padding: 12px 10px !important;
        min-height: 110px !important;
    }

    .service-card-tile .tile-icon {
        width: 28px !important;
        height: 28px !important;
        margin-bottom: 4px !important;
    }

    .service-card-tile .tile-icon svg {
        width: 22px !important;
        height: 22px !important;
    }

    .service-card-tile .tile-badge {
        font-size: 0.6rem !important;
        padding: 2px 4px !important;
        margin-bottom: 3px !important;
    }

    .service-card-tile .tile-title {
        font-size: 0.78rem !important;
        line-height: 1.2 !important;
    }

    .service-card-tile .tile-sub {
        font-size: 0.68rem !important;
        line-height: 1.2 !important;
    }

    .services-quick-links {
        flex-direction: column !important;
        width: 100% !important;
        gap: 8px !important;
    }

    .services-quick-links a {
        width: 100% !important;
        justify-content: center !important;
        text-align: center !important;
        padding: 8px 12px !important;
        font-size: 0.78rem !important;
    }

    .hero-promo-card {
        padding: 20px 16px !important;
    }

    .hero-promo-card .promo-stamp {
        width: 48px !important;
        height: 48px !important;
        font-size: 0.95rem !important;
        top: 14px !important;
        right: 14px !important;
    }

    .hero-promo-card .promo-stamp small {
        font-size: 0.48rem !important;
    }

    .hero-promo-card .promo-title {
        font-size: 1.2rem !important;
        padding-right: 46px !important;
        line-height: 1.25 !important;
        margin-bottom: 8px !important;
    }

    .hero-promo-card .promo-desc {
        font-size: 0.84rem !important;
        line-height: 1.5 !important;
        margin-bottom: 16px !important;
    }

    .hero-promo-card .btn-promo {
        padding: 12px 16px !important;
        font-size: 0.88rem !important;
    }

    .hero-promo-card .promo-reassurance {
        font-size: 0.7rem !important;
        gap: 8px !important;
    }

    .trust-hub-section {
        padding: 32px 0 !important;
    }

    .trust-hub-header {
        margin-bottom: 22px !important;
    }

    .trust-hub-header h2 {
        font-size: 1.45rem !important;
    }

    .trust-hub-header p {
        font-size: 0.84rem !important;
    }

    .trust-pillar-card {
        padding: 20px 16px !important;
    }

    .trustpilot-score-band {
        margin-bottom: 22px !important;
    }

    .trustpilot-score-band .trustpilot-badge-lg {
        flex-direction: column !important;
        padding: 10px 14px !important;
        font-size: 0.78rem !important;
        text-align: center !important;
        gap: 4px !important;
    }

    .feature-card-observatoire img {
        height: 150px !important;
        min-height: 150px !important;
    }

    .feature-card-observatoire .obs-content {
        padding: 20px 16px !important;
    }

    .obs-content h3 {
        font-size: 1.15rem !important;
    }

    .obs-content p {
        font-size: 0.84rem !important;
        margin-bottom: 14px !important;
    }

    .partner-strip-section {
        padding: 16px 0 !important;
    }

    .partner-strip-wrapper {
        gap: 14px !important;
    }

    .partner-strip-wrapper img,
    .partner-strip-wrapper svg {
        max-height: 20px !important;
    }

    .nos-agences-section {
        padding: 32px 0 !important;
    }

    .agences-card-banner img {
        height: 160px !important;
        min-height: 160px !important;
    }

    .agences-card-banner .agences-text {
        padding: 20px 16px !important;
    }

    .agences-card-banner h2 {
        font-size: 1.35rem !important;
    }

    .agences-card-banner p {
        font-size: 0.85rem !important;
        margin-bottom: 16px !important;
    }

    .projets-vie-section {
        padding: 32px 0 !important;
    }

    .projets-vie-header h2 {
        font-size: 1.45rem !important;
    }

    .projets-vie-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .projet-card {
        min-height: 180px !important;
        padding: 16px !important;
    }

    .simulateurs-hub-section {
        padding: 32px 0 !important;
    }

    .simulateurs-hub-header h2 {
        font-size: 1.45rem !important;
    }

    .sim-action-card {
        padding: 20px 16px !important;
    }

    .sim-interactive-wrapper {
        padding: 16px 12px !important;
        border-radius: 12px !important;
    }

    .sim-tabs-nav {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 4px !important;
    }

    .sim-tab-btn {
        padding: 8px 2px !important;
        font-size: 0.7rem !important;
    }

    .sim-result-box {
        flex-direction: column !important;
        gap: 12px !important;
        padding: 14px !important;
        text-align: center !important;
    }

    .sim-result-box div {
        width: 100% !important;
        text-align: center !important;
    }

    .actualites-hub-section {
        padding: 32px 0 !important;
    }

    .actualites-hub-header h2 {
        font-size: 1.45rem !important;
    }

    .qui-sommes-nous-section {
        padding: 32px 0 !important;
    }

    .engagement-banner-card img {
        height: 160px !important;
        min-height: 160px !important;
    }

    .engagement-banner-card .card-text {
        padding: 20px 16px !important;
    }

    .engagement-banner-card h2 {
        font-size: 1.35rem !important;
    }

    .engagement-banner-card p {
        font-size: 0.85rem !important;
    }

    .guides-taxonomy-section {
        padding: 28px 0 36px 0 !important;
    }

    .guides-taxonomy-header h2 {
        font-size: 1.35rem !important;
    }

    .reviews-dark-section {
        padding: 36px 0 !important;
    }

    .reviews-dark-left h2 {
        font-size: 1.45rem !important;
    }

    .reviews-dark-cards-row {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .mobile-app-hub-section {
        padding: 36px 0 !important;
    }

    .mobile-app-card {
        padding: 20px 14px !important;
        gap: 20px !important;
    }

    .mobile-app-card .app-text h2 {
        font-size: 1.35rem !important;
    }

    .phone-frame {
        width: 200px !important;
        margin: 0 auto !important;
    }

    .app-store-badges {
        flex-direction: column !important;
        width: 100% !important;
        gap: 8px !important;
    }

    .app-store-badges .badge-store,
    .app-store-badges .btn {
        width: 100% !important;
        justify-content: center !important;
    }

    .main-footer {
        padding: 32px 0 18px 0 !important;
    }

    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 22px !important;
    }
}

@media (max-width: 380px) {
    .site-brand-text .brand-text-row {
        font-size: 1.15rem !important;
    }
    .btn-header-terracotta {
        padding: 6px 10px !important;
        font-size: 0.74rem !important;
    }
    .services-cards-grid {
        gap: 6px !important;
    }
    .service-card-tile {
        padding: 10px 8px !important;
    }
}

/* --- FULL-SCREEN MOBILE & TABLET MODAL OVERHAUL --- */
@media (max-width: 768px) {
    .modal-backdrop {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        padding: 0 !important;
        margin: 0 !important;
        background: #ffffff !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        z-index: 99999 !important;
    }

    .modal-dialog {
        width: 100% !important;
        max-width: 100% !important;
        min-height: 100vh !important;
        border-radius: 0 !important;
        padding: 18px 16px 50px 16px !important;
        margin: 0 !important;
        box-shadow: none !important;
        border: none !important;
        background: #ffffff !important;
    }

    .modal-close {
        position: fixed !important;
        top: 12px !important;
        right: 14px !important;
        width: 38px !important;
        height: 38px !important;
        border-radius: 50% !important;
        background: #F5F2EB !important;
        color: #1A1A1A !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 24px !important;
        z-index: 100000 !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12) !important;
        border: 1px solid #ECE7DE !important;
    }

    .form-field input,
    .form-field select,
    .form-select {
        font-size: 16px !important;
    }

    .modal-step-title {
        font-size: 0.95rem !important;
    }

    .modal-submit-wrap .btn {
        width: 100% !important;
        border-radius: 12px !important;
        padding: 14px 20px !important;
        font-size: 0.95rem !important;
    }
}

/* --- ULTRA-NARROW 320PX SCREEN RULES --- */
@media (max-width: 360px) {
    .site-brand-text .brand-text-row {
        font-size: 1.15rem !important;
    }
    .site-brand-text .brand-sub {
        display: none !important;
    }
    .header-top-row {
        gap: 6px !important;
        padding: 8px 0 !important;
    }
    .header-user-actions {
        gap: 6px !important;
    }
    .btn-header-terracotta {
        padding: 6px 10px !important;
        font-size: 0.72rem !important;
        white-space: nowrap !important;
    }
    .btn-header-terracotta span {
        white-space: nowrap !important;
    }
    .menu-toggle {
        width: 34px !important;
        height: 34px !important;
        padding: 5px !important;
    }
}
