/* ==========================================================================
   DESIGN SYSTEM & CUSTOM PROPERTIES (style.css)
   ========================================================================== */

:root {
    /* Color Palette */
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    
    --plum-50: #fdf4f9;
    --plum-100: #fae5f3;
    --plum-500: #ab2c79;
    --plum-600: #7b1b5b;
    --plum-700: #55103d;
    
    --orange-50: #fef7ee;
    --orange-100: #fdedd6;
    --orange-500: #f09a3c;
    --orange-600: #dc8d30;
    --orange-700: #b36f20;
    
    --purple-500: #a855f7;
    --purple-600: #9333ea;
    
    /* Semantic Gradients */
    --grad-primary: linear-gradient(135deg, var(--plum-600) 0%, var(--orange-600) 100%);
    --grad-plum: linear-gradient(135deg, var(--plum-600) 0%, var(--plum-500) 100%);
    --grad-orange: linear-gradient(135deg, var(--orange-600) 0%, var(--orange-500) 100%);
    --grad-purple: linear-gradient(135deg, var(--purple-600) 0%, #c084fc 100%);
    --grad-dark: linear-gradient(135deg, var(--slate-800) 0%, var(--slate-900) 100%);
    --grad-glow: linear-gradient(135deg, rgba(123, 27, 91, 0.12) 0%, rgba(220, 141, 48, 0.12) 100%);
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px 0 rgba(15, 23, 42, 0.03);
    --shadow-md: 0 4px 20px -2px rgba(15, 23, 42, 0.06), 0 2px 8px -1px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 10px 30px -5px rgba(15, 23, 42, 0.08), 0 4px 12px -2px rgba(15, 23, 42, 0.03);
    --shadow-xl: 0 20px 50px -12px rgba(15, 23, 42, 0.15), 0 8px 16px -4px rgba(15, 23, 42, 0.05);
    --shadow-glow-plum: 0 10px 30px -10px rgba(123, 27, 91, 0.4);
    --shadow-glow-orange: 0 10px 30px -10px rgba(220, 141, 48, 0.4);
    
    /* Borders & Rounding */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    --border-glass: 1px solid rgba(255, 255, 255, 0.4);
    --border-glass-dark: 1px solid rgba(255, 255, 255, 0.1);
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   RESET & GLOBAL RULES
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--slate-50);
    color: var(--slate-800);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--slate-900);
    font-weight: 700;
    line-height: 1.25;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    transition: var(--transition-fast);
}

input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    outline: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.max-w-3xl { max-width: 768px; }
.max-w-4xl { max-width: 896px; }
.text-center { text-align: center; }
.font-bold { font-weight: 700; }
.uppercase { text-transform: uppercase; }
.w-full { width: 100%; }
.ml-1 { margin-left: 4px; }
.mr-1 { margin-right: 4px; }

/* ==========================================================================
   BUTTONS & BADGES
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    transition: var(--transition-normal);
    gap: 8px;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.05rem;
    border-radius: var(--radius-md);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.82rem;
    border-radius: var(--radius-sm);
}

.btn-primary {
    background: var(--grad-primary);
    color: white;
    box-shadow: var(--shadow-glow-orange);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -10px rgba(79, 70, 229, 0.6);
}

.btn-outline {
    border: 2px solid var(--slate-200);
    color: var(--slate-700);
    background: rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
    border-color: var(--slate-800);
    color: var(--slate-900);
    background: white;
    transform: translateY(-2px);
}

.btn-secondary {
    background: white;
    color: var(--slate-900);
    border: 1px solid var(--slate-200);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--slate-100);
    color: var(--slate-900);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline.btn-reverse {
    border-color: rgba(255, 255, 255, 0.4);
    color: white;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
}

.btn-outline.btn-reverse:hover {
    border-color: white;
    color: var(--slate-900);
    background: white;
}

/* Badge styles */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(13, 148, 136, 0.08);
    border: 1px solid rgba(13, 148, 136, 0.2);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--plum-500);
    border-radius: 50%;
    display: inline-block;
    animation: pulse 2s infinite;
}

.badge-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--plum-700);
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
}

/* Gradients and Highlights */
.text-gradient {
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-highlight {
    color: var(--plum-600);
    font-weight: 800;
}

.text-plum { color: var(--plum-600); }
.text-orange { color: var(--orange-600); }

/* ==========================================================================
   HEADER NAVIGATION
   ========================================================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(248, 250, 252, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.04);
    transition: var(--transition-normal);
}

.header.is-scrolled {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-sm);
    padding: 8px 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 200px;
}

.logo-img {
    height: 30px;
    width: auto;
    display: block;
    transition: var(--transition-normal);
}

.logo:hover .logo-img {
    transform: scale(1.03) translateY(-1px);
}

.logo-svg {
    transition: var(--transition-normal);
}

.logo:hover .logo-svg {
    transform: rotate(5deg) scale(1.05);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--slate-900);
    letter-spacing: -0.5px;
}

.logo-dot {
    color: var(--plum-500);
}

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

.nav-link {
    font-size: 0.95rem;
    font-weight: 550;
    color: var(--slate-600);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--grad-primary);
    transition: var(--transition-normal);
}

.nav-link:hover {
    color: var(--slate-900);
}

.nav-link:hover::after {
    width: 100%;
}

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

.mobile-actions {
    display: none;
    align-items: center;
    gap: 12px;
    z-index: 110;
}

.header-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--slate-700);
    font-size: 0.95rem;
    transition: var(--transition-fast);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    text-decoration: none;
}

.header-phone:hover {
    color: var(--plum-600);
    background-color: var(--plum-50);
}

.header-phone .phone-icon {
    color: var(--plum-600);
}

/* Mobile Hamburger Menu button */
.burger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    z-index: 110;
}

.burger-bar {
    width: 100%;
    height: 2px;
    background-color: var(--slate-900);
    border-radius: 2px;
    transition: var(--transition-normal);
}

/* ==========================================================================
   MOBILE DRAWER NAVIGATION
   ========================================================================== */

.mobile-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100vh;
    background: white;
    z-index: 200;
    box-shadow: var(--shadow-xl);
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    transition: var(--transition-normal);
}

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

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

.close-drawer {
    font-size: 2.2rem;
    color: var(--slate-500);
    line-height: 1;
}

.drawer-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.drawer-link {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--slate-700);
    padding: 10px 0;
    border-bottom: 1px solid var(--slate-100);
}

.drawer-actions {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.drawer-phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--slate-700);
    font-size: 1.05rem;
    transition: var(--transition-fast);
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    text-align: center;
    border: 1px solid var(--slate-100);
    background-color: var(--slate-50);
}

.drawer-phone:hover {
    color: var(--plum-600);
    background-color: var(--plum-50);
    border-color: rgba(123, 27, 91, 0.2);
}

.drawer-phone .phone-icon {
    color: var(--plum-600);
}

.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(8px);
    z-index: 190;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-normal);
}

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

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
    position: relative;
    padding: 160px 0 100px 0;
    background-color: var(--slate-50);
    overflow: hidden;
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.hero-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.45;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--plum-100) 0%, rgba(204, 251, 241, 0) 70%);
    top: -100px;
    right: 5%;
}

.shape-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--orange-100) 0%, rgba(224, 231, 255, 0) 70%);
    bottom: -150px;
    left: -5%;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 850;
    letter-spacing: -2px;
    margin-bottom: 24px;
    color: var(--slate-900);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--slate-600);
    margin-bottom: 40px;
    max-width: 580px;
    line-height: 1.7;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--slate-900);
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--slate-500);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background-color: var(--slate-200);
}

/* Hero Visual & Glass Floating Cards */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 500px;
}

.hero-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(16px);
    border: var(--border-glass);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    animation: float 6s ease-in-out infinite;
}

.floating-card-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    box-shadow: var(--shadow-sm);
}

.floating-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--slate-900);
}

.floating-card-desc {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--slate-500);
}

.card-top {
    top: 20%;
    left: -40px;
    animation-delay: 0s;
}

.card-bottom {
    bottom: 15%;
    right: -30px;
    animation-delay: 3s;
}

/* ==========================================================================
   SECTION SECTION HEADER
   ========================================================================== */

.section-header {
    margin-bottom: 64px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--slate-500);
    max-width: 780px;
    margin: 0 auto;
}

/* ==========================================================================
   SECTION COURTAGE (PROVELIA VALUE)
   ========================================================================== */

.broker-section {
    padding: 100px 0;
    background-color: white;
    position: relative;
    border-top: 1px solid var(--slate-100);
    border-bottom: 1px solid var(--slate-100);
}

.broker-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.broker-card {
    background: var(--slate-50);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--slate-100);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.card-interactive:hover {
    transform: translateY(-8px);
    background: white;
    border-color: transparent;
    box-shadow: var(--shadow-xl);
}

/* Glow Border effect on hover */
.card-interactive::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--grad-primary);
    opacity: 0;
    transition: var(--transition-normal);
}

.card-interactive:hover::before {
    opacity: 1;
}

.card-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 28px;
    box-shadow: var(--shadow-sm);
}

.card-icon-wrapper.grad-plum { background: var(--grad-plum); box-shadow: var(--shadow-glow-plum); }
.card-icon-wrapper.grad-orange { background: var(--grad-orange); box-shadow: var(--shadow-glow-orange); }
.card-icon-wrapper.grad-purple { background: var(--grad-purple); }

.broker-card h3 {
    font-size: 1.35rem;
    margin-bottom: 16px;
}

.broker-card p {
    color: var(--slate-600);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================================================
   THE VERTICAL SECTION: CHOISIR LA MEILLEURE MUTUELLE SANTÉ
   ========================================================================== */

.guarantees-section {
    padding: 120px 0;
    background-color: var(--slate-50);
    position: relative;
}

.timeline-container {
    position: relative;
    max-width: 900px;
    margin: 60px auto 0 auto;
}

/* Timeline Vertical Track */
.timeline-track {
    position: absolute;
    top: 0;
    left: 45px;
    width: 4px;
    height: 100%;
    background: var(--slate-200);
    border-radius: 2px;
    z-index: 1;
}

.timeline-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%; /* Dynamic fill by JS */
    background: var(--grad-primary);
    border-radius: 2px;
    transition: height 0.1s ease-out;
}

.timeline-item {
    position: relative;
    padding-left: 100px;
    margin-bottom: 60px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

/* Glowing dot in track */
.timeline-dot {
    position: absolute;
    left: 27px;
    top: 30px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 3px solid var(--slate-200);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--slate-400);
    z-index: 2;
    transition: var(--transition-normal);
}

.timeline-item.is-active .timeline-dot {
    color: white;
    background: var(--grad-primary);
    border-color: transparent;
    box-shadow: 0 0 15px 2px rgba(79, 70, 229, 0.4);
}

/* Guarantees Box card styling */
.timeline-content-box {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    border: var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 32px 40px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    position: relative;
}

.timeline-content-box:hover {
    transform: translateX(8px);
    background: white;
    box-shadow: var(--shadow-lg);
    border-color: var(--slate-200);
}

.timeline-item.is-active .timeline-content-box {
    border-left: 5px solid var(--plum-500);
}

/* Inside Card details */
.timeline-content-box.grid-layout {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 32px;
    align-items: start;
}

.box-icon-container {
    width: 90px;
    height: 90px;
    border-radius: var(--radius-md);
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--slate-100);
    transition: var(--transition-normal);
}

.timeline-content-box:hover .box-icon-container {
    transform: scale(1.05) rotate(-3deg);
    box-shadow: var(--shadow-md);
}

.svg-health-icon {
    transition: stroke-dashoffset 2s ease-in-out;
}

.box-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
}

.badge-category {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--slate-500);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.box-title {
    font-size: 1.85rem;
    font-weight: 800;
}

.box-desc {
    color: var(--slate-600);
    margin-bottom: 20px;
    font-size: 0.98rem;
    line-height: 1.6;
}

.box-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.box-bullets li {
    position: relative;
    padding-left: 24px;
    font-size: 0.92rem;
    color: var(--slate-700);
    font-weight: 550;
}

.box-bullets li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--plum-500);
}

/* Scroll reveal class animations */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   SECTION AVANTAGES DUAL COLUMN
   ========================================================================== */

.benefits-section {
    padding: 100px 0;
    background-color: white;
    border-top: 1px solid var(--slate-100);
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.card-glass {
    background: rgba(248, 250, 252, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.card-glass:hover {
    background: white;
    box-shadow: var(--shadow-xl);
    border-color: var(--slate-300);
}

.column-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    border-bottom: 2px solid var(--slate-100);
    padding-bottom: 20px;
}

.column-header h3 {
    font-size: 1.65rem;
    font-weight: 800;
}

.grad-plum-text { color: var(--plum-600); }
.grad-orange-text { color: var(--orange-600); }

.benefit-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.benefit-list-item {
    display: flex;
    gap: 16px;
    align-items: start;
    font-size: 0.98rem;
    color: var(--slate-700);
    line-height: 1.6;
}

.benefit-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
    margin-top: 2px;
}

/* ==========================================================================
   LEAD GENERATOR : INTERACTIVE SIMULATOR FORM
   ========================================================================== */

.simulator-section {
    padding: 100px 0;
    background-color: var(--slate-50);
}

.card-premium {
    background: white;
    border-radius: var(--radius-lg);
    padding: 56px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--slate-200);
    position: relative;
    overflow: hidden;
}

/* Floating shadow glow ring in simulator card background */
.card-premium::after {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: var(--grad-glow);
    filter: blur(50px);
    pointer-events: none;
    z-index: 0;
}

/* Step Indicators bar styling */
.step-indicator {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 48px;
    position: relative;
    z-index: 1;
}

.step-dot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    cursor: pointer;
}

.step-dot-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--slate-100);
    color: var(--slate-500);
    font-family: var(--font-heading);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--slate-200);
    transition: var(--transition-normal);
}

.step-dot-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--slate-500);
    transition: var(--transition-normal);
}

.step-line {
    flex-grow: 1;
    height: 2px;
    background-color: var(--slate-200);
    margin-bottom: 24px;
}

/* Active and Completed step styles */
.step-dot.active .step-dot-number {
    background-color: white;
    color: var(--plum-600);
    border-color: var(--plum-600);
    box-shadow: 0 0 0 4px rgba(123, 27, 91, 0.15);
}

.step-dot.active .step-dot-label {
    color: var(--slate-900);
}

.step-dot.completed .step-dot-number {
    background: var(--grad-primary);
    color: white;
    border-color: transparent;
}

.step-dot.completed .step-dot-label {
    color: var(--plum-600);
}

.step-line.completed {
    background: var(--grad-primary);
}

/* Form transition content styling */
.simulator-form {
    position: relative;
    z-index: 1;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.4s ease-out;
}

.form-group-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-bottom: 36px;
}

.col-span-2 { grid-column: span 2; }

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--slate-700);
}

/* Customized range slider */
.form-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    border-radius: var(--radius-full);
    background: var(--slate-200);
    outline: none;
    margin: 16px 0;
}

.form-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--plum-600);
    border: 3px solid white;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: var(--transition-fast);
}

.form-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    background: var(--plum-500);
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--slate-400);
}

/* Interactive Input Elements styling */
.form-input, .form-select {
    width: 100%;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    border: 2px solid var(--slate-200);
    color: var(--slate-900);
    font-family: inherit;
    font-size: 0.98rem;
    background-color: white;
    transition: var(--transition-normal);
}

.form-input:focus, .form-select:focus {
    border-color: var(--orange-500);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
}

/* Step 2 Selection Cards */
.step-inner-title {
    font-size: 1.35rem;
    margin-bottom: 24px;
    font-weight: 700;
}

.step-inner-desc {
    color: var(--slate-500);
    font-size: 0.95rem;
    margin-bottom: 32px;
}

.guarantees-selector-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.selector-card {
    cursor: pointer;
}

.selector-radiosr {
    display: none; /* Hide real radio, style card container */
}

.selector-card-content {
    background: var(--slate-50);
    border: 2px solid var(--slate-200);
    border-radius: var(--radius-md);
    padding: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: var(--transition-normal);
}

.selector-card:hover .selector-card-content {
    border-color: var(--slate-400);
    transform: translateY(-2px);
}

/* Radio active card checked state */
.selector-radiosr:checked + .selector-card-content {
    border-color: var(--plum-600);
    background: var(--plum-50);
    box-shadow: var(--shadow-glow-plum);
}

.coverage-badge {
    align-self: flex-start;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
}

.coverage-badge.eco { background-color: var(--slate-200); color: var(--slate-700); }
.coverage-badge.equilibre { background-color: var(--plum-100); color: var(--plum-700); }
.coverage-badge.premium { background-color: var(--orange-100); color: var(--orange-700); }

.coverage-name {
    font-size: 1.1rem;
    font-weight: 700;
}

.coverage-desc {
    font-size: 0.85rem;
    color: var(--slate-500);
    line-height: 1.5;
    flex-grow: 1;
}

.coverage-highlight {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--slate-700);
    margin-top: 8px;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    padding-top: 8px;
}

.selector-radiosr:checked + .selector-card-content .coverage-highlight {
    border-top-color: rgba(13, 148, 136, 0.15);
}

/* Step 3 specific RGPD checkbox */
.form-rgpd {
    margin-bottom: 32px;
}

.checkbox-label {
    display: flex;
    align-items: start;
    gap: 12px;
    cursor: pointer;
}

.checkbox-label input {
    display: none;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--slate-300);
    border-radius: 4px;
    background: white;
    flex-shrink: 0;
    margin-top: 2px;
    position: relative;
    transition: var(--transition-fast);
}

.checkbox-label input:checked + .checkbox-custom {
    border-color: var(--plum-600);
    background-color: var(--plum-600);
}

.checkbox-label input:checked + .checkbox-custom::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg);
}

.checkbox-text {
    font-size: 0.8rem;
    color: var(--slate-500);
    line-height: 1.5;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* SUCCESS SCREEN */
.simulator-success {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 0;
    animation: fadeIn 0.5s ease-out;
}

.success-icon-wrapper {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background-color: var(--plum-50);
    border: 2px dashed var(--plum-500);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    animation: scaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.success-icon-wrapper.mini {
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
}

.success-title {
    font-size: 1.85rem;
    margin-bottom: 16px;
}

.success-message {
    color: var(--slate-600);
    max-width: 580px;
    margin-bottom: 32px;
    font-size: 1.05rem;
}

.success-info-box {
    background-color: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
    padding: 20px 32px;
    text-align: left;
    width: 100%;
    max-width: 480px;
    margin-bottom: 36px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* CALENDAR SAVE TO AGENDA SECTION */
.calendar-save-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
    max-width: 480px;
    margin-bottom: 24px;
    text-align: center;
}

.calendar-save-section .save-title {
    font-size: 1rem;
    font-weight: 600;
    color: #061d36;
    font-family: var(--font-heading);
}

.save-buttons-wrapper {
    display: flex;
    gap: 12px;
    width: 100%;
    justify-content: center;
}

.btn-save-cal {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
    text-decoration: none;
    cursor: pointer;
}

.btn-google-agenda {
    background-color: white;
    color: var(--plum-600);
    border: 1.5px solid var(--plum-100);
}

.btn-google-agenda:hover {
    background-color: var(--plum-50);
    border-color: var(--plum-600);
    transform: translateY(-2px);
}

.btn-download-ics {
    background-color: var(--plum-600);
    color: white !important;
    border: 1.5px solid var(--plum-600);
}

.btn-download-ics:hover {
    background-color: var(--plum-700);
    border-color: var(--plum-700);
    transform: translateY(-2px);
}

@media (max-width: 480px) {
    .save-buttons-wrapper {
        flex-direction: column;
        gap: 8px;
    }
}

/* ==========================================================================
   CUSTOM CALENDAR COMPONENT (MICROSOFT OUTLOOK STYLE)
   ========================================================================== */

.custom-calendar-container {
    display: flex;
    width: 100%;
    background-color: white;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin: 16px 0 32px 0;
    overflow: hidden;
    min-height: 480px;
}

/* Left panel (Calendar) style rules */
.calendar-left-panel {
    flex: 1.3;
    padding: 24px 30px;
    border-right: 1px solid var(--slate-200);
    display: flex;
    flex-direction: column;
    text-align: left;
}

.calendar-panel-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #061d36;
    margin: 0 0 20px 0;
    font-family: var(--font-heading);
}

.calendar-header-nav {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    margin-bottom: 24px;
}

.calendar-current-month {
    font-size: 1.05rem;
    font-weight: 600;
    color: #061d36;
    min-width: 100px;
    text-transform: capitalize;
}

.btn-cal-nav {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--plum-600);
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-cal-nav:hover {
    background-color: var(--plum-50);
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--slate-400);
    margin-bottom: 12px;
}

.calendar-days-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    margin-bottom: 20px;
}

.day-item {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--slate-400);
    border-radius: 50%;
    cursor: default;
    user-select: none;
    transition: all 0.2s ease;
    position: relative;
}

/* Day has appointment indicator dot */
.day-item.has-dot::after {
    content: '';
    position: absolute;
    bottom: 4px;
    width: 4px;
    height: 4px;
    background-color: var(--slate-600);
    border-radius: 50%;
}

.day-item.has-dot.selected::after {
    background-color: white;
}

/* Available booking day style */
.day-item.available {
    color: var(--plum-600);
    background-color: var(--plum-50);
    cursor: pointer;
}

.day-item.available:hover {
    background-color: var(--plum-100);
}

/* Selected day style */
.day-item.selected {
    color: white !important;
    background-color: var(--plum-600) !important;
    font-weight: 700;
}

.day-item.disabled {
    color: var(--slate-300);
    background-color: transparent;
    pointer-events: none;
}

.calendar-timezone-section {
    margin-top: auto;
    border-top: 1px solid var(--slate-100);
    padding-top: 16px;
    font-size: 0.8rem;
}

.timezone-label {
    font-weight: 700;
    color: #061d36;
    display: block;
    margin-bottom: 4px;
}

.timezone-selector {
    color: var(--slate-600);
    cursor: pointer;
    font-weight: 500;
}

/* Right panel (Time Slots) style rules */
.calendar-right-panel {
    flex: 0.8;
    padding: 24px;
    background-color: white;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.selected-date-header {
    font-size: 1.05rem;
    font-weight: 500;
    color: #061d36;
    margin-bottom: 24px;
    min-height: 24px;
    text-transform: capitalize;
}

.time-slots-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow-y: auto;
    max-height: 340px;
    padding-right: 8px;
}

/* Customized scrollbar */
.time-slots-container::-webkit-scrollbar {
    width: 6px;
}

.time-slots-container::-webkit-scrollbar-track {
    background: var(--slate-100);
    border-radius: 3px;
}

.time-slots-container::-webkit-scrollbar-thumb {
    background: var(--slate-300);
    border-radius: 3px;
}

.time-slots-container::-webkit-scrollbar-thumb:hover {
    background: var(--slate-400);
}

.time-slot-btn {
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--plum-600);
    background-color: white;
    border: 1.5px solid var(--plum-100);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.time-slot-btn:hover {
    background-color: var(--plum-50);
    border-color: var(--plum-600);
}

.time-slot-btn.selected {
    color: white !important;
    background-color: var(--plum-600) !important;
    border-color: var(--plum-600) !important;
}

.time-slot-btn:disabled, .time-slot-btn.disabled {
    color: var(--slate-300) !important;
    background-color: var(--slate-50) !important;
    border-color: var(--slate-200) !important;
    cursor: not-allowed !important;
    opacity: 0.6;
    pointer-events: none !important;
}

/* Responsive grid collapsing for mobile devices */
@media (max-width: 768px) {
    .custom-calendar-container {
        flex-direction: column;
        min-height: auto;
    }
    
    .calendar-left-panel {
        border-right: none;
        border-bottom: 1px solid var(--slate-200);
        padding: 20px;
    }
    
    .calendar-right-panel {
        padding: 20px;
    }
    
    .time-slots-container {
        max-height: 260px;
    }
}

/* ==========================================================================
   FAQ SECTION (ACCORDIONS)
   ========================================================================== */

.faq-section {
    padding: 100px 0;
    background-color: white;
}

.faq-accordion-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
    background-color: var(--slate-50);
    overflow: hidden;
    transition: var(--transition-normal);
}

.faq-item:hover {
    border-color: var(--slate-300);
    background-color: white;
}

.faq-trigger {
    width: 100%;
    padding: 24px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.12rem;
    color: var(--slate-900);
}

.faq-icon-holder {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: white;
    border: 1px solid var(--slate-200);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--slate-600);
    transition: var(--transition-normal);
}

.faq-svg-arrow {
    transition: var(--transition-normal);
}

.faq-trigger:hover .faq-icon-holder {
    border-color: var(--slate-800);
    color: var(--slate-900);
}

/* FAQ Active transition content styling */
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
}

.faq-content-inner {
    padding: 0 32px 32px 32px;
    color: var(--slate-600);
    font-size: 0.96rem;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-content-inner ul, .faq-content-inner ol {
    margin-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Active accordion open state */
.faq-item.is-open {
    background-color: white;
    border-color: var(--plum-600);
    box-shadow: var(--shadow-md);
}

.faq-item.is-open .faq-content {
    max-height: 1000px;
    transition: max-height 1s cubic-bezier(1, 0, 1, 0);
}

.faq-item.is-open .faq-svg-arrow {
    transform: rotate(180deg);
}

.faq-item.is-open .faq-icon-holder {
    background-color: var(--plum-50);
    border-color: transparent;
    color: var(--plum-600);
}

/* ==========================================================================
   ASIDE CALL BACK CTA BANNER
   ========================================================================== */

.callback-banner {
    padding: 60px 0;
    background-color: var(--slate-50);
}

.banner-card {
    background: var(--grad-dark);
    border-radius: var(--radius-lg);
    padding: 48px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.banner-card::before {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.2) 0%, rgba(0,0,0,0) 70%);
    pointer-events: none;
}

.banner-content {
    position: relative;
    z-index: 1;
}

.banner-title {
    color: white;
    font-size: 1.85rem;
    margin-bottom: 8px;
}

.banner-desc {
    color: var(--slate-300);
    max-width: 600px;
}

.banner-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}

.banner-phone-link {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--plum-500);
}

.banner-phone-link:hover {
    color: var(--plum-100);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
    background-color: var(--slate-900);
    color: var(--slate-300);
    padding: 80px 0 40px 0;
    border-top: 1px solid var(--slate-800);
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 48px;
    margin-bottom: 60px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-brand .logo-text {
    color: white;
}

.footer-about {
    line-height: 1.6;
    color: var(--slate-400);
}

.footer-orias {
    font-size: 0.78rem;
    color: var(--slate-500);
    border-left: 2px solid var(--slate-700);
    padding-left: 12px;
}

.footer-title {
    color: white;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 24px;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
}

.footer-link {
    display: block;
    color: var(--slate-400);
    margin-bottom: 12px;
    transition: var(--transition-fast);
}

.footer-link:hover {
    color: white;
    transform: translateX(4px);
}

.footer-info {
    margin-bottom: 12px;
    color: var(--slate-400);
}

.footer-info strong {
    color: var(--slate-300);
}

.footer-phone-link {
    color: var(--slate-400);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-phone-link:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid var(--slate-800);
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--slate-500);
    font-size: 0.8rem;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-legal-links {
    display: flex;
    gap: 24px;
}

.footer-legal-links a:hover {
    color: var(--slate-300);
}

/* ==========================================================================
   POPUP MODAL (CALLBACK)
   ========================================================================== */

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-normal);
}

.modal.is-active {
    opacity: 1;
    pointer-events: auto;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(12px);
    z-index: 301;
}

.modal-card {
    background: white;
    width: 100%;
    max-width: 480px;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-xl);
    border: var(--border-glass);
    z-index: 302;
    position: relative;
    animation: scaleIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.15);
}

.modal-close-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 2.2rem;
    color: var(--slate-400);
    line-height: 0.5;
    transition: var(--transition-fast);
}

.modal-close-btn:hover {
    color: var(--slate-800);
    transform: rotate(90deg);
}

.modal-title {
    font-size: 1.5rem;
    margin-bottom: 8px;
    font-weight: 800;
}

.modal-subtitle {
    font-size: 0.88rem;
    color: var(--slate-500);
    margin-bottom: 24px;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Modal success display */
.modal-success-screen {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 12px 0;
    animation: fadeIn 0.4s ease-out;
}

.modal-success-screen h4 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    font-weight: 800;
}

.modal-success-screen p {
    color: var(--slate-600);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

/* ==========================================================================
   TOAST NOTIFICATION
   ========================================================================== */

.toast {
    position: fixed;
    bottom: 32px;
    right: -320px; /* Hidden offscreen by default */
    z-index: 400;
    transition: right 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.25);
}

.toast.is-active {
    right: 32px;
}

.toast-content {
    background: var(--slate-900);
    color: white;
    padding: 16px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.toast-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--plum-600);
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast-message {
    font-size: 0.92rem;
    font-weight: 600;
}

/* ==========================================================================
   ANIMATIONS KEYFRAMES
   ========================================================================== */

@keyframes pulse {
    0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(20, 184, 166, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(20, 184, 166, 0); }
    100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(20, 184, 166, 0); }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

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

@keyframes scaleIn {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* ==========================================================================
   FIXED BOTTOM BAR CTA
   ========================================================================== */

.fixed-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--slate-200);
    box-shadow: 0 -10px 30px rgba(15, 23, 42, 0.08);
    z-index: 150;
    padding: 14px 0;
    transition: transform var(--transition-normal), opacity var(--transition-normal);
}

.bottom-bar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.bottom-bar-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.envelope-icon-wrapper {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--plum-50);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(13, 148, 136, 0.1);
}

.envelope-dot-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 9px;
    height: 9px;
    background-color: #ef4444; /* red dot badge */
    border: 2px solid white;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.bottom-bar-text {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--slate-900);
    letter-spacing: 0.5px;
}

.bottom-bar-btn {
    border-radius: var(--radius-full);
    padding: 12px 28px;
    background: var(--plum-500);
    color: white;
    box-shadow: 0 4px 14px rgba(20, 184, 166, 0.4);
    font-size: 0.9rem;
    font-weight: 700;
    border: none;
    transition: var(--transition-normal);
}

.bottom-bar-btn:hover {
    background: var(--plum-600);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 148, 136, 0.5);
    color: white;
}

/* Ensure padding on body so bottom content isn't covered */
body {
    padding-bottom: 80px;
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVE RESPONSIVENESS)
   ========================================================================== */

@media (max-width: 1024px) {
    .hero-title { font-size: 3rem; }
    .hero-grid { gap: 40px; }
    .broker-grid { gap: 20px; }
    .timeline-content-box.grid-layout { grid-template-columns: 1fr; gap: 16px; }
    .box-icon-container { width: 64px; height: 64px; }
    .box-icon-container svg { width: 36px; height: 36px; }
}

@media (max-width: 768px) {
    /* Header mobile adjustment */
    .nav-menu, .header-actions { display: none; }
    .mobile-actions { display: flex; }
    .burger { display: flex; }
    .logo { width: auto; max-width: 140px; }
    .header-container { padding: 12px 16px; }
    .mobile-actions .btn { width: auto; flex-shrink: 0; }
    
    /* Layout stacks */
    .hero-grid { grid-template-columns: 1fr; gap: 48px; text-align: center; }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-cta-group { justify-content: center; }
    .hero-stats { justify-content: center; }
    
    .floating-card { display: none; } /* Hide floating cards on mobile for cleaner screen space */
    
    .broker-grid { grid-template-columns: 1fr; }
    .benefits-grid { grid-template-columns: 1fr; gap: 28px; }
    .card-glass { padding: 32px; }
    
    /* Timeline adjustment on mobile */
    .timeline-track { left: 15px; }
    .timeline-item { padding-left: 45px; }
    .timeline-dot { left: -3px; top: 18px; width: 32px; height: 32px; }
    .timeline-dot svg { width: 16px; height: 16px; }
    .timeline-content-box { padding: 24px; }
    
    .guarantees-selector-grid { grid-template-columns: 1fr; }
    .form-group-grid { grid-template-columns: 1fr; }
    .col-span-2 { grid-column: span 1; }
    .card-premium { padding: 32px; }
    
    .banner-card { flex-direction: column; text-align: center; padding: 32px 24px; gap: 24px; }
    .banner-actions { justify-content: center; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { justify-content: center; flex-direction: column; text-align: center; }
    
    /* Bottom bar mobile overrides */
    .bottom-bar-container { flex-direction: row; justify-content: space-between; gap: 10px; }
    .bottom-bar-text { font-size: 0.8rem; line-height: 1.3; }
    .envelope-icon-wrapper { width: 32px; height: 32px; }
    .envelope-icon-wrapper svg { width: 18px; height: 18px; }
    .bottom-bar-btn { padding: 10px 18px; font-size: 0.8rem; }
    body { padding-bottom: 75px; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2.3rem; }
    .section-title { font-size: 2rem; }
    .btn { width: 100%; text-align: center; }
    .hero-cta-group { flex-direction: column; }
    .banner-actions { flex-direction: column; }
    .success-info-box { padding: 16px; }
    .modal-card { padding: 24px; }
    
    /* Custom calendar mobile responsive overrides */
    .calendar-left-panel { padding: 16px; }
    .calendar-right-panel { padding: 16px; }
    .calendar-panel-title { font-size: 1.1rem; margin-bottom: 16px; }
    
    /* Bottom bar super small mobile overrides */
    .fixed-bottom-bar { padding: 8px 0; }
    .bottom-bar-left { display: none; }
    .bottom-bar-container { justify-content: center; }
    .bottom-bar-btn { width: 100%; text-align: center; }
    body { padding-bottom: 60px; }
}

@media (max-width: 375px) {
    .header-container { padding: 10px 12px; }
    .logo { max-width: 115px; }
    .mobile-actions { gap: 8px; }
    .mobile-actions .btn { padding: 6px 12px; font-size: 0.76rem; }
}

/* Custom Combobox / Searchable Select Dropdown */
.custom-combobox-container {
    position: relative;
    width: 100%;
}

.custom-combobox-trigger {
    width: 100%;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    border: 2px solid var(--slate-200);
    color: var(--slate-900);
    background-color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition-normal);
}

.custom-combobox-trigger:hover {
    border-color: var(--slate-300);
}

.custom-combobox-trigger.is-active {
    border-color: var(--orange-500);
    box-shadow: 0 0 0 4px rgba(240, 154, 60, 0.15);
}

.custom-combobox-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 8px;
    background-color: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--slate-100);
    z-index: 100;
    max-height: 320px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.custom-combobox-dropdown.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.custom-combobox-search-wrapper {
    padding: 10px 12px;
    border-bottom: 1px solid var(--slate-100);
    background-color: var(--slate-50);
    display: flex;
    align-items: center;
    gap: 8px;
}

.custom-combobox-search-input {
    width: 100%;
    border: none !important;
    outline: none !important;
    background: transparent;
    font-size: 0.95rem;
    color: var(--slate-800);
    padding: 4px 0;
}

.custom-combobox-options {
    overflow-y: auto;
    max-height: 220px;
}

.custom-combobox-option {
    padding: 10px 18px;
    font-size: 0.95rem;
    color: var(--slate-700);
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.custom-combobox-option:hover {
    background-color: var(--plum-50);
    color: var(--plum-600);
}

.custom-combobox-option.is-selected {
    background-color: var(--plum-600);
    color: white;
    font-weight: 600;
}

.custom-combobox-no-results {
    padding: 24px;
    text-align: center;
    color: var(--slate-400);
    font-size: 0.9rem;
}

