/* Header & Container compact sur mobile pour le prototype v2 */
@media (max-width: 767px) {
    html, body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }
    .app-header {
        padding: 0.35rem 0 !important;
    }
    .header-container {
        min-height: 48px !important;
        padding: 0 0.85rem !important;
    }
    .logo img {
        height: 48px !important;
        margin-right: -24px !important;
    }
    .logo div {
        font-size: 1.35rem !important;
    }
    .main-content {
        padding: 0 0.75rem !important;
        margin: 0 auto !important;
        width: 100% !important;
        max-width: 100vw !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }
    .hero-v2-container {
        padding: 0.15rem 0 0.5rem 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }
}

/* Conteneur Hero V2 Desktop */
.hero-v2-container {
    padding: 0.25rem 0.85rem 0.65rem 0.85rem;
    max-width: 580px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

/* Onglets défilables horizontaux (Pill Tabs style Skyscanner) */
.tool-tabs-scroll {
    display: flex;
    gap: 0.4rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    margin-bottom: 0.4rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}
.tool-tabs-scroll::-webkit-scrollbar {
    display: none;
}
.tool-tab-pill {
    white-space: nowrap;
    padding: 0.35rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--text-secondary);
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    min-height: 32px;
    box-sizing: border-box;
}
.tool-tab-pill.active {
    background: var(--accent-purple, #6366f1);
    color: #FFFFFF;
    border-color: var(--accent-purple, #6366f1);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
}
.tool-tab-pill:hover:not(.active) {
    border-color: var(--accent-purple, #6366f1);
    color: var(--accent-purple, #6366f1);
}

/* Titre & Sous-titre Hero V2 */
.hero-v2-title {
    font-size: clamp(1.12rem, 4.3vw, 1.45rem);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.25;
    margin: 0 0 0.25rem 0;
    letter-spacing: -0.3px;
    text-align: left;
    hyphens: none;
    -webkit-hyphens: none;
    word-break: normal;
}
.hero-v2-sub {
    font-size: clamp(0.78rem, 2.7vw, 0.83rem);
    color: var(--text-secondary);
    margin: 0 0 0.65rem 0;
    line-height: 1.35;
    text-align: left;
}
.hero-v2-sub strong {
    color: #059669; /* Émeraude PTZ */
}

/* Carte de recherche unifiée (Style Booking Compact) */
.skyscanner-search-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 18px;
    padding: 0.85rem;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.07), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

/* Section Profil Rapide en haut de carte (grille 3 colonnes sans scroll) */
.booking-presets-section {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid #EEF2F6;
    width: 100%;
    box-sizing: border-box;
}
.booking-presets-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted, #8B939A);
}
.booking-presets-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.35rem;
    width: 100%;
    box-sizing: border-box;
}
.quick-chip {
    background: #F8FAFC;
    border: 1.5px solid #E2E8F0;
    border-radius: 10px;
    padding: 0.45rem 0.2rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-secondary);
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
    transition: all 0.15s ease;
    touch-action: manipulation;
    box-sizing: border-box;
}
.quick-chip:active {
    background: #E2E8F0;
    transform: scale(0.97);
}
.quick-chip.active {
    background: rgba(99, 102, 241, 0.12);
    border-color: var(--accent-purple, #6366f1);
    color: var(--accent-purple, #6366f1);
}

/* 3 Rangées Stepper Uniformes (Disposition 2) */
.booking-stepper-row {
    background: #F8FAFC;
    border: 1.5px solid #E2E8F0;
    border-radius: 12px;
    padding: 0.55rem 0.65rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.55rem;
    box-sizing: border-box;
    width: 100%;
    transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.booking-stepper-row:focus-within {
    border-color: var(--accent-purple, #6366f1);
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}

.booking-stepper-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}
.booking-stepper-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.35rem;
    line-height: 1.2;
    white-space: nowrap;
}
.booking-stepper-label span {
    white-space: nowrap;
}
.booking-stepper-label i {
    width: 15px;
    height: 15px;
    color: var(--accent-purple, #6366f1);
    flex-shrink: 0;
}
.booking-stepper-hint {
    font-size: 0.67rem;
    color: var(--text-muted, #8B939A);
    margin-top: 0.2rem;
    line-height: 1.25;
    white-space: normal;
    word-break: normal;
}

/* Contrôles Stepper : [-] [ Valeur Unité ] [+] */
.booking-stepper-controls {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    flex-shrink: 0;
}

.stepper-btn {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1px solid #E2E8F0;
    background: #F8FAFC;
    color: #1E293B;
    font-size: 1.15rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    touch-action: manipulation;
    transition: all 0.15s ease;
    flex-shrink: 0;
    line-height: 1;
    padding: 0;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.stepper-btn:hover {
    background: #F1F5F9;
    border-color: #CBD5E1;
}
.stepper-btn:active {
    transform: scale(0.94);
    background: #E2E8F0;
    border-color: #94A3B8;
}

/* Boîte valeur avec unité serrée et bien calée */
.stepper-display-box {
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.15rem;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    padding: 0.25rem 0.5rem;
    min-width: 82px;
    box-sizing: border-box;
    text-align: center;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.02);
}

.stepper-text-input {
    width: 52px;
    font-size: 1.05rem;
    font-weight: 800;
    font-family: var(--font-mono, monospace);
    color: var(--text-primary);
    border: none;
    background: transparent;
    padding: 0;
    outline: none;
    text-align: right;
    -moz-appearance: textfield;
}
.stepper-text-input::-webkit-outer-spin-button,
.stepper-text-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.stepper-number {
    font-size: 1.15rem;
    font-weight: 800;
    font-family: var(--font-mono, monospace);
    color: var(--text-primary);
    text-align: center;
    min-width: 16px;
}

.stepper-unit {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-secondary);
    white-space: nowrap;
    margin-left: 0.1rem;
}

/* Sur mobile, masquer l'ancien formulaire redondant et aller droit aux résultats */
@media (max-width: 767px) {
    .sim-inputs-card {
        display: none !important;
    }
    .mobile-progress {
        display: none !important;
    }
    .simulator-container {
        max-width: 520px !important;
        margin: 0.5rem auto 1.5rem auto !important;
        padding: 0 0.85rem !important;
        box-sizing: border-box !important;
        width: 100% !important;
    }
}

/* Gros CTA de recherche */
.skyscanner-submit-btn {
    width: 100%;
    min-height: 52px;
    background: var(--accent-purple, #6366f1);
    color: #FFFFFF;
    font-size: 1.05rem;
    font-weight: 700;
    font-family: var(--font-display, sans-serif);
    border: none;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(99, 102, 241, 0.32);
    margin-top: 0.25rem;
    transition: transform 0.15s ease, background 0.15s ease;
    touch-action: manipulation;
}
.skyscanner-submit-btn:active {
    transform: scale(0.98);
    background: #4f46e5;
}

/* Lien paramètres avancés */
.skyscanner-advanced-toggle {
    text-align: center;
    margin-top: 0.75rem;
}
.skyscanner-advanced-toggle button {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem;
}
.skyscanner-advanced-toggle button:hover {
    color: var(--accent-purple, #6366f1);
}

/* Tiroir / Accordeon paramètres avancés */
.skyscanner-advanced-drawer {
    display: none;
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px solid #E2E8F0;
    animation: fadeIn 0.2s ease;
}
.skyscanner-advanced-drawer.open {
    display: block;
}

.v2-drawer-card {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    padding: 0.9rem 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.02);
}

.v2-drawer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.v2-drawer-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.v2-drawer-field-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.v2-drawer-label-wrap {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.v2-drawer-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.35rem;
    line-height: 1.25;
}

.v2-drawer-label i {
    width: 15px;
    height: 15px;
    color: var(--accent-purple, #6366f1);
    flex-shrink: 0;
}

.v2-drawer-hint {
    font-size: 0.67rem;
    color: var(--text-muted, #8B939A);
    margin-top: 0.15rem;
    line-height: 1.25;
}

/* iOS-Style Toggle Switch */
.v2-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 26px;
    flex-shrink: 0;
}

.v2-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.v2-switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #CBD5E1;
    transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 26px;
}

.v2-switch-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: #FFFFFF;
    transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.v2-switch input:checked + .v2-switch-slider {
    background-color: #059669; /* Vert confiance pour actif */
}

.v2-switch input:checked + .v2-switch-slider:before {
    transform: translateX(18px);
}

/* Custom Select for RFR N-2 */
.v2-select-wrapper {
    position: relative;
    width: 100%;
}

.v2-select {
    width: 100%;
    padding: 0.65rem 2.2rem 0.65rem 0.75rem;
    font-size: 0.78rem;
    font-family: var(--font-sans);
    border-radius: 10px;
    border: 1.5px solid #CBD5E1;
    background: #FFFFFF;
    color: var(--text-primary);
    font-weight: 600;
    -webkit-appearance: none;
    appearance: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    cursor: pointer;
}

.v2-select:focus {
    border-color: var(--accent-purple, #6366f1);
    outline: none;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}

.v2-select-chevron {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: var(--text-secondary);
    pointer-events: none;
}

.v2-field-subhint {
    font-size: 0.67rem;
    color: var(--text-muted, #8B939A);
    margin-top: 0.1rem;
    line-height: 1.25;
}

.v2-field-subhint span {
    font-weight: 700;
    color: var(--text-secondary);
}

/* Duration 1-Tap Pills */
.v2-duration-pills {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.35rem;
}

.v2-pill-btn {
    padding: 0.55rem 0.25rem;
    font-size: 0.78rem;
    font-weight: 700;
    border: 1.5px solid #CBD5E1;
    border-radius: 9px;
    background: #FFFFFF;
    color: var(--text-secondary);
    text-align: center;
    cursor: pointer;
    touch-action: manipulation;
    transition: all 0.15s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.v2-pill-btn.active {
    background: var(--accent-purple, #6366f1);
    border-color: var(--accent-purple, #6366f1);
    color: #FFFFFF;
    font-weight: 800;
    box-shadow: 0 2px 6px rgba(99, 102, 241, 0.25);
}

/* Market Rate 1-Tap Pills */
.v2-rate-pills {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.35rem;
}

.v2-rate-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.2rem;
    gap: 0.15rem;
    border-radius: 9px;
    background: #FFFFFF;
    border: 1.5px solid #CBD5E1;
    cursor: pointer;
    touch-action: manipulation;
    transition: all 0.15s ease;
}

.v2-pill-sublabel {
    font-size: 0.67rem;
    font-weight: 600;
    color: #64748B;
    line-height: 1.1;
    letter-spacing: 0;
}

.v2-pill-mainval {
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.15;
    font-family: var(--font-sans);
}

.v2-rate-pill.active {
    background: var(--accent-purple, #6366f1);
    border-color: var(--accent-purple, #6366f1);
    box-shadow: 0 2px 6px rgba(99, 102, 241, 0.25);
}

.v2-rate-pill.active .v2-pill-sublabel {
    color: rgba(255, 255, 255, 0.85);
}

.v2-rate-pill.active .v2-pill-mainval {
    color: #FFFFFF;
}

/* Réassurance Alexandre sous la carte (Solution 1 : Votre allié expert) */
.hero-v2-reassurance {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin-top: 1rem;
    padding: 0.95rem 1rem;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
    box-sizing: border-box;
    width: 100%;
}
.hero-v2-alexandre-top {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.hero-v2-alexandre-avatar-wrap {
    position: relative;
    flex-shrink: 0;
}
.hero-v2-alexandre-thumb {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #FFFFFF;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    display: block;
}
.hero-v2-verified-dot {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #059669;
    color: #FFFFFF;
    font-size: 0.65rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #FFFFFF;
}
.hero-v2-alexandre-identity {
    flex: 1;
    min-width: 0;
}
.hero-v2-alexandre-name {
    font-family: var(--font-display, sans-serif);
    font-size: 0.95rem;
    font-weight: 700;
    color: #0F172A;
    line-height: 1.25;
}
.hero-v2-alexandre-role {
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--accent-purple, #6366f1);
    line-height: 1.25;
    margin-top: 1px;
}
.hero-v2-alexandre-bio {
    font-size: 0.8rem;
    color: #475569;
    line-height: 1.45;
    margin: 0;
}
.hero-v2-alexandre-chips {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.15rem;
}
.alexandre-chip {
    font-size: 0.68rem;
    font-weight: 700;
    color: #334155;
    background: #F1F5F9;
    border: 1px solid #E2E8F0;
    padding: 0.15rem 0.45rem;
    border-radius: 6px;
    white-space: nowrap;
}

/* Masquage de l'ancien bouton flottant perturbateur sur cette v2 */
.tpi-floating-cta,
#tpi-contact-floating,
div[style*="position: fixed"][style*="bottom: 24px"],
div[style*="position: fixed"][style*="bottom: 80px"] {
    display: none !important;
}

/* Barre sticky masquée sur l'accueil v2 épuré, affichée uniquement sur resultats.html */
.mobile-budget-bar {
    display: none !important;
}

body.page-resultats .mobile-budget-bar {
    display: flex !important;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid #E2E8F0;
    padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom));
    z-index: 900;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.08);
}

body.page-resultats .mobile-budget-bar .mobile-bar-info {
    flex: 1.15;
    min-width: 0;
}

body.page-resultats .mobile-budget-bar .mobile-bar-amount {
    font-size: 1.3rem !important;
    font-weight: 800 !important;
    color: #0F172A !important;
    letter-spacing: -0.5px;
    line-height: 1.15;
}

body.page-resultats .mobile-budget-bar .mobile-bar-subtext {
    font-size: 0.73rem !important;
    color: #059669 !important;
    font-weight: 600 !important;
}

body.page-resultats .mobile-budget-bar .mobile-bar-btn-lead {
    flex: 0.95;
    max-width: 175px;
    padding: 0.55rem 0.65rem !important;
    border-radius: 11px !important;
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%) !important;
    box-shadow: 0 3px 10px rgba(99, 102, 241, 0.25) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 1px !important;
    border: none !important;
    cursor: pointer !important;
    transition: transform 0.15s ease !important;
}

body.page-resultats .mobile-budget-bar .mobile-bar-btn-lead .btn-lead-line {
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    color: #FFFFFF !important;
    line-height: 1.25 !important;
    white-space: nowrap !important;
    letter-spacing: -0.1px;
}

body.page-resultats .simulator-container {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body.page-resultats .pane-section {
    gap: 0 !important;
}

body.page-resultats .sim-results-container {
    padding-top: 0 !important;
}

/* ==========================================================================
   PAGE RÉSULTATS : BANDEAU RÉCAPITULATIF & HERO BUDGET (Étape 1)
   ========================================================================== */
.results-top-section {
    max-width: 520px;
    margin: 0 auto;
    padding: 0 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    box-sizing: border-box;
    width: 100%;
}

/* 1. Stepper du tunnel 3 étapes pour resultats.html */
.budget-stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    margin: 0.4rem auto 0.35rem auto;
    font-size: 0.72rem;
    color: var(--text-muted, #8B939A);
    width: 100%;
}

.stepper-step {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-weight: 600;
    text-decoration: none;
    padding: 0.2rem 0.45rem;
    border-radius: 16px;
    white-space: nowrap;
    transition: all 0.15s ease;
}

a.stepper-step.completed {
    color: #059669;
    background: rgba(16, 185, 129, 0.08);
    cursor: pointer;
}

a.stepper-step.completed:hover {
    background: rgba(16, 185, 129, 0.16);
    color: #047857;
    transform: translateY(-1px);
}

a.stepper-step.completed:active {
    transform: translateY(0);
}

.stepper-step.active {
    color: var(--accent-purple, #6366f1);
    background: rgba(99, 102, 241, 0.09);
    font-weight: 700;
}

.stepper-step-num {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.68rem;
    background: #E2E8F0;
    color: #475569;
    flex-shrink: 0;
}

.stepper-step.completed .stepper-step-num {
    background: #DCFCE7;
    color: #059669;
}

.stepper-step.active .stepper-step-num {
    background: var(--accent-purple, #6366f1);
    color: #FFFFFF;
}

.stepper-divider {
    color: #CBD5E1;
    font-size: 0.7rem;
    user-select: none;
}

/* 2. Bandeau Récapitulatif compact */
.results-recap-bar {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 9px;
    padding: 0.35rem 0.55rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
    box-sizing: border-box;
    width: 100%;
}

.results-recap-chips {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.recap-chip {
    font-size: 0.72rem;
    font-weight: 700;
    color: #1E293B;
    background: #F1F5F9;
    padding: 0.2rem 0.45rem;
    border-radius: 6px;
    white-space: nowrap;
}

.recap-chip-budget {
    background: rgba(99, 102, 241, 0.1);
    color: var(--accent-purple, #6366f1);
    border: 1px solid rgba(99, 102, 241, 0.25);
    font-weight: 800;
}

.recap-chip-budget strong {
    font-family: var(--font-mono, monospace);
    font-size: 0.78rem;
    color: #1E1B4B;
}

.recap-chip-ptz {
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.results-recap-edit-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--accent-purple, #6366f1);
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 6px;
    padding: 0.25rem 0.55rem;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.15s ease;
}

.results-recap-edit-btn:hover {
    background: rgba(99, 102, 241, 0.15);
}

/* 2. Carte Budget Hero Compacte */
.results-budget-hero-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 0.6rem 0.75rem;
    text-align: center;
    box-shadow: 0 4px 15px -3px rgba(15, 23, 42, 0.05), 0 2px 6px -2px rgba(15, 23, 42, 0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    box-sizing: border-box;
    width: 100%;
}

.results-budget-badge {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted, #64748B);
}

.results-budget-amount {
    font-size: 1.95rem;
    font-weight: 800;
    font-family: var(--font-display, sans-serif);
    color: #0F172A;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin: 0;
}

.results-ptz-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    background: rgba(16, 185, 129, 0.09);
    border: 1px solid rgba(16, 185, 129, 0.22);
    color: #065F46;
    font-size: 0.74rem;
    padding: 0.22rem 0.65rem;
    border-radius: 16px;
    margin: 0.05rem 0 0.15rem 0;
    line-height: 1.2;
}

.results-ptz-pill strong {
    color: #047857;
}

.results-budget-breakdown {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.35rem;
    width: 100%;
    margin-top: 0.25rem;
    padding-top: 0.55rem;
    border-top: 1px solid #F1F5F9;
    box-sizing: border-box;
}

.breakdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
}

.breakdown-label {
    font-size: 0.65rem;
    font-weight: 600;
    color: #64748B;
    line-height: 1.15;
}

.breakdown-val {
    font-size: 0.8rem;
    font-weight: 800;
    color: #1E293B;
    line-height: 1.15;
}

/* ==========================================================================
   PAGE RÉSULTATS : STEP 2 - CLASSEMENT DES DÉPARTEMENTS & SURFACES
   ========================================================================== */

/* Sélecteur de type / surface de bien moderne */
.property-type-selector {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 0.45rem !important;
    background: #F8FAFC !important;
    padding: 0.35rem !important;
    border-radius: 12px !important;
    border: 1px solid #E2E8F0 !important;
}

.property-type-selector input[type="radio"] {
    display: none !important;
}

.property-type-selector .type-btn {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0.55rem 0.35rem !important;
    border-radius: 9px !important;
    background: transparent !important;
    border: 1px solid transparent !important;
    cursor: pointer !important;
    font-family: var(--font-display, sans-serif) !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: #475569 !important;
    transition: all 0.15s ease !important;
    line-height: 1.15 !important;
}

.property-type-selector .type-surface {
    font-size: 0.72rem !important;
    font-weight: 500 !important;
    color: #64748B !important;
    margin-top: 0.15rem !important;
}

.property-type-selector input[type="radio"]:checked + .type-btn {
    background: var(--accent-purple, #6366f1) !important;
    color: #FFFFFF !important;
    box-shadow: 0 2px 6px rgba(99, 102, 241, 0.25) !important;
}

.property-type-selector input[type="radio"]:checked + .type-btn .type-surface {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Grille & Cartes de classement départements */
.depts-summary-section {
    width: 100%;
}

.depts-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.65rem !important;
}

.dept-summary-card {
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 12px !important;
    padding: 0.85rem 1rem !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03) !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
}

.dept-summary-card:hover {
    border-color: #CBD5E1 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.05) !important;
}

.dept-summary-card.active {
    border-color: var(--accent-purple, #6366f1) !important;
    background: #F8FAFF !important;
    box-shadow: 0 0 0 1px var(--accent-purple, #6366f1), 0 4px 12px rgba(99, 102, 241, 0.1) !important;
}

.card-title-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.5rem !important;
    margin-bottom: 0.45rem !important;
}

.card-dept-meta {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    min-width: 0 !important;
}

.card-dept-num {
    background: #F1F5F9 !important;
    color: #334155 !important;
    font-family: var(--font-mono, monospace) !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    padding: 0.2rem 0.45rem !important;
    border-radius: 6px !important;
    line-height: 1 !important;
    flex-shrink: 0 !important;
}

.card-name {
    font-family: var(--font-display, sans-serif) !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    color: #0F172A !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.card-status-pill {
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    padding: 0.22rem 0.55rem !important;
    border-radius: 20px !important;
    white-space: nowrap !important;
    line-height: 1.2 !important;
    flex-shrink: 0 !important;
}

.status-pill-affordable {
    background: #ECFDF5 !important;
    color: #047857 !important;
    border: 1px solid rgba(16, 185, 129, 0.2) !important;
}

.status-pill-stretch {
    background: #FFFBEB !important;
    color: #B45309 !important;
    border: 1px solid rgba(245, 158, 11, 0.25) !important;
}

.status-pill-unaffordable {
    background: #FEF2F2 !important;
    color: #B91C1C !important;
    border: 1px solid rgba(239, 68, 68, 0.2) !important;
}

.card-metrics-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding-top: 0.4rem !important;
    border-top: 1px dashed #F1F5F9 !important;
    font-size: 0.8rem !important;
}

.card-price-col,
.card-gap-col {
    display: flex !important;
    flex-direction: column !important;
}

.card-gap-col {
    align-items: flex-end !important;
}

.card-price-label,
.card-gap-label {
    font-size: 0.67rem !important;
    color: #64748B !important;
    font-weight: 500 !important;
}

.card-price-val {
    font-family: var(--font-mono, monospace) !important;
    font-weight: 700 !important;
    color: #1E293B !important;
    font-size: 0.85rem !important;
}

.card-price-m2 {
    font-size: 0.72rem !important;
    color: #64748B !important;
    font-weight: 500 !important;
}

.card-gap-val {
    font-family: var(--font-mono, monospace) !important;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
}

.card-gap-val.green-text {
    color: #059669 !important;
}

.card-gap-val.orange-text {
    color: #D97706 !important;
}

.card-gap-val.red-text {
    color: #DC2626 !important;
}

/* Pied de carte d'action intégrée (Option 1) */
.card-action-footer {
    margin-top: 0.65rem !important;
    padding-top: 0.55rem !important;
    border-top: 1px solid #F1F5F9 !important;
}

.card-action-link {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding: 0.45rem 0.6rem !important;
    background: #F8FAFC !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    color: var(--accent-purple, #6366f1) !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    transition: all 0.15s ease !important;
    box-sizing: border-box !important;
}

.card-action-link:hover {
    background: #EEF2FF !important;
    color: #4338CA !important;
}

.card-action-link-content {
    display: flex !important;
    align-items: center !important;
    gap: 0.45rem !important;
}

.card-action-link svg {
    flex-shrink: 0 !important;
}

.dept-summary-card.active .card-action-link {
    background: #EEF2FF !important;
    color: #4338CA !important;
}

.dept-summary-card.active .card-action-link:hover {
    background: #E0E7FF !important;
}

/* ==========================================================================
   PAGE RÉSULTATS : STEP 3 - CONVERSION AVEC ALEXANDRE
   ========================================================================== */
.results-alexandre-cta-card {
    background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 100%) !important;
    border: 1px solid rgba(99, 102, 241, 0.25) !important;
    border-radius: 16px !important;
    padding: 1.25rem 1.15rem !important;
    margin: 1.5rem 0 !important;
    box-shadow: 0 8px 20px -4px rgba(99, 102, 241, 0.08) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.85rem !important;
    box-sizing: border-box !important;
    width: 100% !important;
}

.results-alexandre-header {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
}

.results-alexandre-avatar {
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 2px solid var(--accent-purple, #6366f1) !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1) !important;
    flex-shrink: 0 !important;
}

.results-alexandre-title-group {
    display: flex !important;
    flex-direction: column !important;
}

.results-alexandre-name {
    font-family: var(--font-display, sans-serif) !important;
    font-weight: 800 !important;
    font-size: 1rem !important;
    color: #0F172A !important;
    line-height: 1.2 !important;
}

.results-alexandre-role {
    font-size: 0.75rem !important;
    color: #64748B !important;
    line-height: 1.2 !important;
    margin-top: 0.15rem !important;
}

.results-alexandre-pitch {
    font-size: 0.85rem !important;
    color: #334155 !important;
    line-height: 1.45 !important;
    margin: 0 !important;
}

.results-alexandre-trust-points {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.4rem !important;
    background: #F8FAFC !important;
    padding: 0.65rem 0.75rem !important;
    border-radius: 10px !important;
    border: 1px solid #E2E8F0 !important;
}

.trust-point-item {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    font-size: 0.78rem !important;
    color: #475569 !important;
    line-height: 1.3 !important;
}

.trust-point-item strong {
    color: #0F172A !important;
}

.results-alexandre-btn {
    width: 100% !important;
    min-height: 48px !important;
    background: var(--accent-purple, #6366f1) !important;
    color: #FFFFFF !important;
    font-family: var(--font-display, sans-serif) !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    border: none !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    cursor: pointer !important;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25) !important;
    transition: all 0.15s ease !important;
    text-decoration: none !important;
}

.results-alexandre-btn:hover {
    background: #4f46e5 !important;
    transform: translateY(-1px);
}

/* ==========================================================================
   PAGE RÉSULTATS : SWITCH SEGMENTÉ [ LISTE | CARTE ]
   ========================================================================== */
.results-view-switch-wrapper {
    display: flex !important;
    justify-content: center !important;
    margin: 0.35rem 0 0.85rem 0 !important;
    width: 100% !important;
}

.results-view-switch {
    display: flex !important;
    background: #F1F5F9 !important;
    padding: 3px !important;
    border-radius: 12px !important;
    border: 1px solid #E2E8F0 !important;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04) !important;
    width: 100% !important;
    max-width: 340px !important;
    box-sizing: border-box !important;
}

.view-switch-btn {
    flex: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.45rem !important;
    padding: 0.6rem 0.85rem !important;
    font-family: var(--font-display, sans-serif) !important;
    font-size: 0.92rem !important;
    font-weight: 600 !important;
    color: #64748B !important;
    background: transparent !important;
    border: none !important;
    border-radius: 9px !important;
    cursor: pointer !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    white-space: nowrap !important;
    user-select: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

.view-switch-btn:hover {
    color: #1E293B !important;
}

.view-switch-btn.active {
    background: #FFFFFF !important;
    color: var(--accent-purple, #6366f1) !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.04) !important;
}

.view-switch-btn svg {
    width: 16px !important;
    height: 16px !important;
    stroke-width: 2.2 !important;
}

.view-switch-btn strong {
    font-size: 0.82rem !important;
    color: inherit !important;
    opacity: 0.9 !important;
}

.results-view-panel {
    width: 100% !important;
    transition: opacity 0.2s ease !important;
}

/* ==========================================================================
   PAGE D'ACCUEIL V2 : SECTIONS ENRICHIES (3 ÉTAPES, STATS, FAQ)
   ========================================================================== */
.landing-benefits-section,
.landing-stats-section,
.landing-faq-section {
    max-width: 540px;
    margin: 1.5rem auto 0 auto;
    padding: 0 0.5rem;
    box-sizing: border-box;
    width: 100%;
}

.landing-section-title {
    font-family: var(--font-display, sans-serif);
    font-size: 1.22rem;
    font-weight: 800;
    color: var(--text-primary, #0F172A);
    text-align: center;
    margin-bottom: 0.85rem;
    letter-spacing: -0.3px;
}

/* 1. Les 5 engagements numérotés 01 à 05 */
.landing-benefits-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.landing-benefit-item {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 0.85rem 0.95rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.landing-benefit-item:hover {
    border-color: #CBD5E1;
    box-shadow: 0 3px 10px rgba(15, 23, 42, 0.06);
}

.landing-benefit-num {
    font-family: var(--font-mono, monospace);
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--accent-purple, #6366f1);
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.2);
    padding: 0.15rem 0.4rem;
    border-radius: 6px;
    line-height: 1.1;
    margin-top: 1px;
    flex-shrink: 0;
}

.landing-benefit-content {
    flex: 1;
    min-width: 0;
}

.landing-benefit-content h3 {
    font-family: var(--font-display, sans-serif);
    font-size: 0.9rem;
    font-weight: 700;
    color: #0F172A;
    margin: 0;
    line-height: 1.3;
}

.landing-benefit-content p {
    font-size: 0.79rem;
    color: #475569;
    line-height: 1.45;
    margin: 0.25rem 0 0 0;
}

/* 2. Chiffres clés / Preuve sociale */
.landing-stats-section {
    margin-top: 1.5rem;
}

.landing-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    padding: 0.85rem 0.5rem;
    text-align: center;
}

.landing-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 0.25rem;
}

.landing-stat-num {
    font-family: var(--font-mono, monospace);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--accent-purple, #6366f1);
    line-height: 1.2;
}

.landing-stat-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: #64748B;
    line-height: 1.25;
    margin-top: 0.25rem;
}

/* 3. FAQ Accordéon */
.landing-faq-section {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.landing-faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.landing-faq-item {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.landing-faq-item[open] {
    border-color: #CBD5E1;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
}

.landing-faq-item summary {
    padding: 0.85rem 1rem;
    font-family: var(--font-display, sans-serif);
    font-size: 0.88rem;
    font-weight: 700;
    color: #1E293B;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    user-select: none;
    transition: color 0.15s ease;
}

.landing-faq-item summary::-webkit-details-marker {
    display: none;
}

.landing-faq-item summary:hover {
    color: var(--accent-purple, #6366f1);
}

.faq-chevron {
    width: 16px;
    height: 16px;
    color: #94A3B8;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.landing-faq-item[open] .faq-chevron {
    transform: rotate(180deg);
    color: var(--accent-purple, #6366f1);
}

.landing-faq-body {
    padding: 0 1rem 0.95rem 1rem;
    font-size: 0.82rem;
    color: #475569;
    line-height: 1.5;
    border-top: 1px solid #F1F5F9;
    padding-top: 0.65rem;
}

/* Footer resserré sur la V2 */
.app-footer {
    border-top: 1px solid var(--border-color, #E2E8F0) !important;
    padding: 0.85rem 1rem max(0.85rem, env(safe-area-inset-bottom)) 1rem !important;
    margin-top: 0.75rem !important;
    text-align: center;
    font-size: 0.72rem;
    color: var(--text-muted, #64748B);
    line-height: 1.4;
}

/* ==========================================================================
   MODALE DE LEAD V2 - OPTION D (FinTech, WhatsApp & Calendly)
   ========================================================================== */
.lead-choice-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    width: 100%;
    padding: 1rem 1.1rem;
    background: #FFFFFF;
    border: 1.5px solid #E2E8F0;
    border-radius: 14px;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}
.lead-choice-card:hover, .lead-choice-card:active {
    border-color: #6366f1;
    background: #F8FAFC;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.08);
}
.lead-choice-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.lead-choice-text {
    flex: 1;
    min-width: 0;
}
.lead-choice-title {
    font-family: var(--font-display, sans-serif);
    font-size: 0.95rem;
    font-weight: 700;
    color: #0F172A;
    line-height: 1.25;
}
.lead-choice-sub {
    font-size: 0.76rem;
    color: #64748B;
    margin-top: 2px;
    line-height: 1.3;
}
.lead-choice-arrow {
    color: #94A3B8;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}
.lead-choice-card:hover .lead-choice-arrow {
    transform: translateX(3px);
    color: #6366f1;
}

.lead-input-field {
    width: 100%;
    padding: 0.75rem 0.85rem;
    border: 1.5px solid #CBD5E1;
    border-radius: 10px;
    font-size: 0.9rem;
    font-family: inherit;
    color: #0F172A;
    background: #FFFFFF;
    box-sizing: border-box;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    outline: none;
}
.lead-input-field:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}

.lead-primary-submit-btn {
    width: 100%;
    padding: 0.85rem 1rem;
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
    color: #FFFFFF !important;
    border: none;
    border-radius: 10px;
    font-size: 0.92rem;
    font-weight: 700;
    font-family: var(--font-display, sans-serif);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.28);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    box-sizing: border-box;
    margin-top: 0.25rem;
}
.lead-primary-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(99, 102, 241, 0.35);
}
.lead-primary-submit-btn:active {
    transform: scale(0.98);
}

.channel-choice-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.95rem 1rem;
    border: 1.5px solid #E2E8F0;
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    background: #FFFFFF;
    box-sizing: border-box;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.channel-choice-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
}
.channel-choice-card.whatsapp-channel {
    border-color: rgba(37, 211, 102, 0.35);
    background: linear-gradient(135deg, #FFFFFF 0%, #F0FDF4 100%);
}
.channel-choice-card.whatsapp-channel:hover {
    border-color: #25D366;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.18);
}
.channel-choice-card.calendly-channel {
    border-color: rgba(99, 102, 241, 0.3);
    background: linear-gradient(135deg, #FFFFFF 0%, #F5F3FF 100%);
}
.channel-choice-card.calendly-channel:hover {
    border-color: #6366f1;
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.18);
}

.channel-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.channel-choice-content {
    flex: 1;
    min-width: 0;
}
.channel-title {
    font-family: var(--font-display, sans-serif);
    font-size: 0.92rem;
    font-weight: 700;
    color: #0F172A;
    line-height: 1.25;
}
.badge-recommended {
    font-size: 0.62rem;
    font-weight: 700;
    background: #059669;
    color: #FFFFFF;
    padding: 0.15rem 0.45rem;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.channel-desc {
    font-size: 0.74rem;
    color: #64748B;
    margin-top: 2px;
    line-height: 1.35;
}
.channel-arrow {
    width: 18px;
    height: 18px;
    color: #94A3B8;
    flex-shrink: 0;
    transition: transform 0.2s ease, color 0.2s ease;
}
.channel-choice-card:hover .channel-arrow {
    transform: translate(2px, -2px);
    color: #0F172A;
}

/* Sector Quick Chips */
.sector-quick-chip {
    padding: 0.35rem 0.65rem;
    font-size: 0.74rem;
    font-weight: 600;
    color: #475569;
    background: #F1F5F9;
    border: 1px solid #E2E8F0;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    touch-action: manipulation;
}
.sector-quick-chip:hover {
    background: #EEF2FF;
    border-color: #C7D2FE;
    color: #4F46E5;
}
.sector-quick-chip.active {
    background: #4F46E5;
    border-color: #4F46E5;
    color: #FFFFFF;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(79, 70, 229, 0.25);
}
.sector-quick-chip.master-chip {
    background: #ECFDF5;
    border-color: #A7F3D0;
    color: #065F46;
    font-weight: 700;
}
.sector-quick-chip.master-chip:hover {
    background: #D1FAE5;
    border-color: #6EE7B7;
    color: #047857;
}
.sector-quick-chip.master-chip.active {
    background: #059669;
    border-color: #059669;
    color: #FFFFFF;
}

/* Project Type Pills */
.project-type-pill {
    padding: 0.65rem 0.5rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #475569;
    background: #F8FAFC;
    border: 1.5px solid #CBD5E1;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    font-family: inherit;
    touch-action: manipulation;
}
.project-type-pill:hover {
    border-color: #94A3B8;
}
.project-type-pill.active {
    background: #EEF2FF;
    border-color: #6366F1;
    color: #4F46E5;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(99, 102, 241, 0.15);
}

/* Modal Trust Reassurance */
.lead-modal-trust-badge,
.lead-modal-trust-line {
    margin-top: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    color: #64748B;
    font-size: 0.74rem;
    font-weight: 500;
    line-height: 1.35;
    text-align: center;
}

/* ==========================================================================
   PAGE RÉSULTATS : OPTIMISATION COMPACTE MOBILE ABOVE-THE-FOLD
   (Affiche le 1er département directement sans forcer le scroll)
   ========================================================================== */
@media (max-width: 768px) {
    body.page-resultats .app-header,
    body.page-index-v2 .app-header {
        padding: 0.25rem 0.75rem !important;
        min-height: auto !important;
    }

    body.page-resultats .app-header .logo img,
    body.page-index-v2 .app-header .logo img {
        height: 38px !important;
        margin-right: -20px !important;
        margin-left: -10px !important;
    }

    body.page-resultats .app-header .logo div,
    body.page-index-v2 .app-header .logo div {
        font-size: 1.25rem !important;
        padding-top: 4px !important;
    }

    body.page-resultats .mobile-menu-toggle,
    body.page-index-v2 .mobile-menu-toggle,
    .app-header .mobile-menu-toggle {
        top: 50% !important;
        transform: translateY(-50%) !important;
        right: 0.75rem !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        min-height: 38px !important;
    }

    body.page-resultats .hero-v2-container,
    body.page-index-v2 .hero-v2-container {
        padding: 0 0 2px 0 !important;
        margin: 0 !important;
    }

    body.page-index-v2 .hero-v2-title {
        font-size: 1.25rem !important;
        line-height: 1.25 !important;
        margin-bottom: 0.35rem !important;
    }

    body.page-index-v2 .hero-v2-sub {
        font-size: 0.76rem !important;
        line-height: 1.35 !important;
        margin-bottom: 0.5rem !important;
    }

    body.page-index-v2 .skyscanner-search-card {
        padding: 0.85rem !important;
        border-radius: 16px !important;
    }

    body.page-resultats .tool-tabs-scroll {
        margin-bottom: 3px !important;
        padding-bottom: 2px !important;
        gap: 0.35rem !important;
    }

    body.page-resultats .tool-tab-pill {
        padding: 0.25rem 0.55rem !important;
        font-size: 0.72rem !important;
        height: auto !important;
    }

    body.page-resultats .budget-stepper,
    body.page-index-v2 .budget-stepper {
        margin: 2px auto 6px auto !important;
        font-size: 0.68rem !important;
        gap: 0.25rem !important;
    }

    body.page-resultats .stepper-step,
    body.page-index-v2 .stepper-step {
        padding: 0.15rem 0.4rem !important;
        font-size: 0.68rem !important;
    }

    body.page-resultats .simulator-container {
        padding: 0 10px !important;
        margin-bottom: 12px !important;
    }

    body.page-resultats .simulator-layout {
        margin-top: 2px !important;
        gap: 4px !important;
    }

    body.page-resultats .sim-results-container {
        gap: 4px !important;
    }

    body.page-resultats .budget-to-map-transition {
        margin: 2px 0 4px 0 !important;
        padding: 0 !important;
    }

    body.page-resultats .budget-to-map-transition h3 {
        font-size: 1.05rem !important;
        line-height: 1.2 !important;
    }

    /* Carte Simuler pour un bien type */
    body.page-resultats .input-group.glass-panel {
        margin-bottom: 4px !important;
        padding: 0.45rem 0.65rem !important;
        gap: 4px !important;
    }

    body.page-resultats .input-group.glass-panel .label-row {
        margin-bottom: 2px !important;
    }

    body.page-resultats .input-group.glass-panel label {
        font-size: 0.76rem !important;
    }

    body.page-resultats .property-type-selector {
        padding: 2px !important;
        gap: 0.25rem !important;
        border-radius: 9px !important;
    }

    body.page-resultats .property-type-selector .type-btn {
        padding: 0.35rem 0.2rem !important;
        font-size: 0.84rem !important;
        border-radius: 7px !important;
        line-height: 1.1 !important;
    }

    body.page-resultats .property-type-selector .type-surface {
        font-size: 0.65rem !important;
        margin-top: 1px !important;
    }

    /* Switch [Liste] [Carte] */
    body.page-resultats .results-view-switch-wrapper {
        margin: 4px 0 6px 0 !important;
    }

    body.page-resultats .results-view-switch {
        max-width: 270px !important;
        padding: 2px !important;
        border-radius: 8px !important;
    }

    body.page-resultats .view-switch-btn {
        padding: 0.35rem 0.65rem !important;
        font-size: 0.8rem !important;
        border-radius: 6px !important;
    }

    /* En-tête de section Accessibilité par département */
    body.page-resultats .depts-summary-section > div:first-child {
        margin-bottom: 6px !important;
        display: flex !important;
        align-items: baseline !important;
        justify-content: space-between !important;
        flex-wrap: wrap !important;
        gap: 0.2rem !important;
    }

    body.page-resultats .depts-summary-section h2 {
        font-size: 0.98rem !important;
        margin: 0 !important;
    }

    body.page-resultats .depts-summary-section p {
        font-size: 0.72rem !important;
        margin: 0 !important;
    }

    /* Cartes de département compactes */
    body.page-resultats .dept-summary-card {
        padding: 0.65rem 0.8rem !important;
        gap: 0.35rem !important;
        border-radius: 12px !important;
    }

    body.page-resultats .card-title-row {
        margin-bottom: 2px !important;
    }

    body.page-resultats .card-action-footer {
        margin-top: 4px !important;
        padding-top: 4px !important;
    }
}


