/* Variables CSS */
:root {
    --primary-color: #de0000;
    --primary-dark: #b30000;
    --primary-light: #f16a6a;
    --secondary-color: #325f7c;
    --secondary-dark: #284b63;
    --secondary-darker: #1d3647;
    --accent-blue: #50b5e3;
    --accent-gold: #ffb327;
    --cta-shadow: rgba(222, 0, 0, 0.32);
    --success-color: #2ead7b;
    --reassurance-bg: #f0f6fb;
    --reassurance-border: #d3e3ef;
    --reassurance-text: #2b4c74;
    --bg-cream: #fdfbf7;
    --bg-blue-light: #f5f9fc;
    --text-dark: #2d2e32;
    --text-gray: #3f444a;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Typographie */
h1, h2, h3, h4, h5, h6,
.landing-title, 
.landing-subtitle,
.step-title,
.form-section h3,
.step-card h2,
.step-card h3 {
    font-family: 'Dancing Script', cursive;
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-color);
}

/* Police standard pour le texte et les libellés */
body, 
input, 
select, 
textarea, 
button,
.form-label,
.form-label-bold,
.choice-btn,
.btn,
.help-text,
.step-description,
.form-text,
p,
li,
span,
.help-link,
.info-box p,
.service-card p {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    line-height: 1.6;
}

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

body {
    font-family: 'Lato', sans-serif;
    background: linear-gradient(135deg, #fdfbf7 0%, #f8f4ee 100%);
    color: var(--text-dark);
    min-height: 100vh;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Header Styles */
#main-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    z-index: 1000;
    border-bottom: 1px solid rgba(50, 95, 124, 0.08);
}

.logo {
    height: 40px;
    transition: none;
}

.logo:hover {
    transform: none;
}

.help-link {
    color: #6c757d;
    text-decoration: none;
    transition: none;
    font-weight: 500;
    position: relative;
}

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

.help-link:hover {
    color: var(--primary-color);
    text-decoration: none;
}

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

.btn-phone {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border: none;
    border-radius: 50px;
    padding: 10px 20px;
    font-weight: 600;
    transition: none;
    position: relative;
    overflow: hidden;
}

.btn-phone::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: none;
}

.btn-phone:hover::before {
    left: 100%;
}

.btn-phone:hover {
    background: linear-gradient(135deg, var(--primary-dark), #900000);
    transform: none;
}

/* Landing Step */
.landing-container {
    position: relative;
    min-height: calc(100vh - 68px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.landing-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.landing-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.landing-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.3);
}

.landing-content {
    position: relative;
    z-index: 10;
    color: white;
    text-align: center;
}

.landing-badge {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Enhanced Landing Elements */
.landing-hero-box {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.landing-badge-premium {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.9), rgba(56, 142, 60, 0.9));
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
}

.landing-reassurance {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    font-weight: 500;
}

.landing-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    text-align: center;
}

.landing-title-enhanced {
    font-size: 2.75rem;
    font-weight: 900;
    line-height: 1.2;
    color: white;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.4);
    margin-bottom: 1.5rem;
}

.landing-title-highlight {
    display: block;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    padding: 0.5rem 1.5rem;
    border-radius: 12px;
    margin-top: 0.5rem;
    box-shadow: 0 8px 25px rgba(50, 95, 124, 0.45);
}

.landing-subtitle {
    font-size: 1.75rem;
    color: var(--secondary-color);
    max-width: 700px;
    margin: 1rem auto 2rem;
    font-weight: 500;
    line-height: 1.4;
    text-align: center;
}

.landing-subtitle-enhanced {
    font-size: 1.35rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 2rem;
}

.btn-start {
    background: var(--primary-color);
    color: #fff;
    font-weight: 700;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.125rem;
    border: 1px solid var(--primary-color);
    transition: none;
    margin-top: 2rem;
}

.btn-start-large {
    padding: 1.25rem 3rem;
    font-size: 1.25rem;
}

/* Premium CTA Button */
.btn-start-premium {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    font-weight: 800;
    font-size: 1.35rem;
    padding: 1.5rem 3rem;
    border-radius: 60px;
    border: 1px solid var(--primary-color);
    transition: none;
    position: relative;
    overflow: hidden;
    text-transform: none;
}

.btn-start-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: none;
}

.btn-start-premium:hover::before {
    left: 100%;
}

.btn-start-premium:hover {
    transform: none;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

.btn-start-premium:active {
    transform: none;
}

.btn-start-premium .btn-icon {
    font-size: 1.5rem;
}

.btn-start-premium .btn-text {
    flex: 1;
}

.btn-start-premium .btn-arrow {
    font-size: 1.2rem;
    transition: none;
}

.btn-start-premium:hover .btn-arrow {
    transform: none;
}

.landing-cta-section {
    margin: 2rem 0;
}

.btn-start:hover {
    background: #fff;
    color: var(--primary-color);
    transform: none;
    border-color: var(--primary-color);
}

.advantages-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    padding: 1rem;
}

.advantage-card {
    text-align: center;
    padding: 0.5rem;
}

.advantage-icon {
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
    color: var(--success-color);
}

.advantage-icon i {
    font-size: 2rem;
}

.advantage-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
}

.advantage-subtitle {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0.25rem;
}

.testimonial {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1rem;
    margin-top: 1rem;
}

.testimonial img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid white;
}

.testimonial-text {
    color: #e0e0e0;
    font-style: italic;
    font-size: 0.875rem;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid white;
}

.stars {
    color: var(--accent-gold);
    font-size: 1rem;
}

.stars i {
    margin: 0 2px;
}

/* Enhanced Reassurance */
.landing-reassurance-enhanced {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
    font-weight: 600;
}

.reassurance-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    backdrop-filter: blur(5px);
}

.reassurance-item i {
    font-size: 1.1rem;
    color: var(--accent-gold);
}

.reassurance-separator {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.2rem;
}

/* Trust Indicators */
.landing-trust-indicators {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.trust-item {
    text-align: center;
}

.trust-number {
    font-size: 2rem;
    font-weight: 900;
    color: var(--accent-gold);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1;
}

.trust-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    margin-top: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Landing Step Styles */
.landing-step-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(50, 95, 124, 0.1), rgba(80, 181, 227, 0.15));
    color: var(--secondary-color);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    border: 2px solid rgba(50, 95, 124, 0.2);
    box-shadow: var(--shadow-sm);
    transition: none;
}

.landing-step-badge:hover {
    transform: none;
    box-shadow: var(--shadow-md);
    border-color: var(--secondary-color);
}

.landing-step-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--text-dark), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.landing-step-subtitle {
    font-size: 1.15rem;
    color: #6c757d;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.landing-feature-card {
    background: linear-gradient(135deg, rgba(245, 249, 252, 0.9), white);
    border: 2px solid rgba(50, 95, 124, 0.12);
    border-radius: 1.25rem;
    padding: 2rem;
    height: 100%;
    text-align: center;
    position: relative;
}

.landing-feature-card .feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
}

.feature-title {
    font-size: 1rem; /* 16px */
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
    position: relative;
    z-index: 1;
}

.feature-text {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 0;
}

.landing-info-box {
    background: linear-gradient(135deg, rgba(240, 246, 251, 0.9), rgba(240, 246, 251, 1));
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: none;
}

.landing-info-box:hover {
    box-shadow: var(--shadow-md);
    transform: none;
}

.landing-steps-list {
    padding-left: 1.25rem;
    margin-bottom: 0;
}

.landing-steps-list li {
    padding: 0.5rem 0;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.landing-rating {
    padding: 1rem;
}

.landing-rating .stars {
    color: var(--accent-gold);
    font-size: 1.25rem;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

/* Form Steps Container */
.step-container {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    padding: 1rem 1rem;
    position: relative;
    overflow: hidden;
    --step-bg-image: url('../img/img_seniors/step-0.webp');
}

.step-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.82)), var(--step-bg-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    pointer-events: none;
}

.step-bg-0 { --step-bg-image: url('../img/img_seniors/step-0.webp'); }
.step-bg-1 { --step-bg-image: url('../img/img_seniors/step-1.jpg'); }
.step-bg-2 { --step-bg-image: url('../img/img_seniors/step-2.jpg'); }
.step-bg-3 { --step-bg-image: url('../img/img_seniors/step-3.webp'); }
.step-bg-4 { --step-bg-image: url('../img/img_seniors/step-4.webp'); }
.step-bg-5 { --step-bg-image: url('../img/img_seniors/step-5.jpg'); }
.step-bg-6 { --step-bg-image: url('../img/img_seniors/step-3.webp'); }
.step-bg-7 { --step-bg-image: url('../img/img_seniors/step-4.webp'); }
.step-bg-8 { --step-bg-image: url('../img/img_seniors/step-5.jpg'); }

.step-card {
    background-color: white;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-lg);
    padding: 1rem 2rem;
    max-width: 1100px;
    margin: 0 auto;
    border: 1px solid rgba(50, 95, 124, 0.08);
    transition: none;
}

.step-card-white {
    background-color: white;
    box-shadow: var(--shadow-xl);
}

.step-card .mb-4 {
    margin-bottom: 1.25rem !important;
}

.step-card .mt-4 {
    margin-top: 1.25rem !important;
}

.step-card .mb-3 {
    margin-bottom: 1rem !important;
}

/* Progress Bar */
.progress-bar-container {
    margin-bottom: 1rem;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.progress-info-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.progress-duration {
    display: inline-flex;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.progress-duration-icon {
    width: 18px;
    height: 18px;
    margin-right: 0.35rem;
}

.progress-step {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: 0.3px;
}

.progress-percentage {
    font-size: 0.9rem;
    font-weight: 600;
    color: #6c757d;
}

.progress {
    height: 12px;
    border-radius: 50px;
    background-color: #E5E5E5;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.08);
    position: relative;
}

.progress::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.3), transparent);
    border-radius: 50px 50px 0 0;
}

.progress-bar {
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--accent-blue) 100%);
    transition: none;
    border-radius: 50px;
    box-shadow: 0 2px 8px rgba(50, 95, 124, 0.3);
    position: relative;
    overflow: hidden;
}

.progress-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.4), transparent);
    border-radius: 50px 50px 0 0;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.3) 50%, 
        transparent 100%);
}

/* Form Elements */
.form-section {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(50, 95, 124, 0.08);
    box-shadow: var(--shadow-sm);
    transition: none;
}

.form-section:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(50, 95, 124, 0.12);
}

.form-label-bold {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary-color);
    display: block;
    text-align: left;
    letter-spacing: -0.01em;
    font-family: 'Lato', sans-serif;
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
}

.input-with-icon input {
    padding-left: 40px;
}

.input-with-icon select {
    padding-left: 40px;
    padding-right: 2.5rem;
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, rgba(50, 95, 124, 0.4) 50%),
                      linear-gradient(135deg, rgba(50, 95, 124, 0.4) 50%, transparent 50%);
    background-position: calc(100% - 22px) calc(1.2em), calc(100% - 17px) calc(1.2em);
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
}

.input-with-icon select:disabled {
    background-image: none;
    color: #6c757d;
    cursor: not-allowed;
    background-color: #f1f3f5;
}

.form-control {
    border: 2px solid rgba(50, 95, 124, 0.15);
    border-radius: 0.75rem;
    font-size: 1rem;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(222, 0, 0, 0.1);
    outline: none;
}

/* Choice Buttons */
.choice-btn {
    padding: 0.5rem 1.1rem;
    border: 2px solid rgba(50, 95, 124, 0.15);
    border-radius: 0.75rem;
    background-color: white;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    text-align: center;
    display: block;
    width: 100%;
    position: relative;
    overflow: hidden;
    transition: none !important;
}

.choice-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(222, 0, 0, 0.1);
    transform: translate(-50%, -50%);
}

.choice-btn:hover {
    border-color: var(--primary-color);
}

.choice-btn.active,
.choice-btn.active:hover,
.choice-btn.active:focus,
.choice-btn.active:active {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #fff !important;
    border-color: var(--primary-dark);
}

.choice-btn.active::before {
    display: none;
}

.choice-btn-red {
    border-color: rgba(222, 0, 0, 0.35);
}

.choice-btn-red.active {
    background-color: var(--primary-color);
    color: white;
    border-color: transparent;
}

.choice-btn-large {
    padding: 1.25rem 0.9rem;
    font-size: 1.1rem;
}

.choice-btn-block {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.choice-btn-block i {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.choice-btn-block span {
    flex: 1;
    text-align: left;
}

.service-choice {
    --service-active-color: var(--primary-color);
    display: flex;
    width: 100%;
    align-items: stretch;
    justify-content: flex-start;
    gap: 1.25rem;
    text-align: left;
    padding: 0.5rem 1.3rem;
    margin-bottom: 20px;
}

.service-choice-icon {
    font-size: 1.75rem;
    color: var(--service-active-color);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.service-choice-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.service-choice-title {
    font-weight: 700;
    font-size: 1.1rem;
    display: block;
}

.service-choice-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    display: block;
}

.service-choice-details {
    display: none !important;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 1rem;
    margin-top: 0.35rem;
}

.service-choice-detail {
    display: inline-flex;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.service-choice-detail i {
    color: var(--success-color);
    margin-right: 0.35rem;
    font-size: 0.9rem;
}

.service-choice-arrow {
    font-size: 1rem;
    color: var(--service-active-color);
    align-self: center;
    flex-shrink: 0;
}

.service-choice.choice-btn:hover {
    border-color: var(--service-active-color);
}

.service-choice.active .service-choice-icon,
.service-choice.active .service-choice-arrow,
.service-choice.active .service-choice-detail i {
    color: #fff;
}

.service-choice.active .service-choice-desc,
.service-choice.active .service-choice-detail {
    color: rgba(255, 255, 255, 0.9);
}

.service-choice.choice-btn.active {
    background: linear-gradient(135deg, var(--service-active-color), var(--service-active-color)) !important;
    border-color: var(--service-active-color) !important;
}

@media (max-width: 576px) {
    .service-choice {
        flex-direction: column;
        align-items: flex-start;
    }

    .service-choice-arrow {
        align-self: flex-end;
        margin-top: 0.75rem;
    }
}

/* Budget Slider */
.budget-display {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.budget-range {
    width: 100%;
    height: 8px;
    border-radius: 5px;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    background: linear-gradient(to right, var(--primary-light), var(--primary-color));
}

.budget-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.budget-range::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    border: none;
}

.budget-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: #6c757d;
    margin-top: 0.5rem;
}

.budget-slider-container {
    background-color: white;
    padding: 2rem;
    border-radius: 0.5rem;
}

.budget-presets {
    text-align: center;
}

.budget-presets .btn {
    border-radius: 20px;
    font-size: 0.875rem;
}

/* Info Box */
.info-box {
    background: linear-gradient(135deg, rgba(240, 246, 251, 0.8), rgba(240, 246, 251, 1));
    border: 1px solid var(--reassurance-border);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.info-box:hover {
    box-shadow: var(--shadow-md);
}

.info-box-icon {
    font-size: 2rem;
    color: var(--secondary-color);
}

.info-box-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--reassurance-text);
    margin-bottom: 0.5rem;
}

.info-box-text {
    color: var(--reassurance-text);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.75rem;
    color: #6c757d;
    margin-top: 0.25rem;
}

/* Service Cards */
.service-card-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.service-card-title {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin: 0;
    font-weight: 700;
    width: 100%;
    font-family: 'Lato', sans-serif;
}

.service-card {
    background-color: white;
    border: 2px solid rgba(50, 95, 124, 0.12);
    border-radius: 1.25rem;
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: rgba(50, 95, 124, 0.25);
}

.service-card-description {
    color: #6c757d;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.service-card-features {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-card-features li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: #495057;
}

.service-card-features li i {
    color: var(--primary-color);
    margin-right: 0.5rem;
    margin-top: 0.25rem;
}

.btn-service {
    background: var(--primary-color);
    color: white !important;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    border: 1px solid var(--primary-color);
    transition: none !important;
}

/* S'assurer que le texte reste blanc sur fond rouge */
[style*="background-color: var(--primary-color)"],
[style*="background: var(--primary-color)"],
[style*="background-color:#de0000"],
[style*="background:#de0000"],
[style*="background-color: #de0000"],
[style*="background: #de0000"] {
    color: white !important;
}

/* Styles spécifiques pour les boutons avec fond rouge */
.btn-service:hover,
.btn-service:focus,
.btn-service:active {
    background: #fff !important;
    color: var(--primary-color) !important;
    border-color: var(--primary-color);
}

/* Navigation Buttons */
.btn-next {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white !important;
    font-weight: 700;
    padding: 1rem 4rem;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.2s ease-out !important;
    box-shadow: 0 4px 12px rgba(222, 0, 0, 0.15);
}

.btn-next::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.btn-next:hover:not(:disabled) {
    background: linear-gradient(135deg, var(--primary-dark), #c00000);
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(222, 0, 0, 0.2);
    border-color: white;
}

.btn-next:focus:not(:disabled) {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.5);
}

.btn-next:active:not(:disabled) {
    transform: translateY(1px);
    box-shadow: 0 2px 8px rgba(222, 0, 0, 0.2);
}

.btn-next:active:not(:disabled) {
    transform: translateY(-1px);
}

.btn-next:disabled {
    background: linear-gradient(135deg, #b0b0b0, #808080) !important;
    cursor: not-allowed;
    opacity: 0.7;
    box-shadow: none;
    transform: none !important;
    border-color: #808080;
}

.btn-next-red {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-next-red:hover:not(:disabled) {
    background: #fff;
    color: var(--primary-color) !important;
    border-color: var(--primary-color);
}

.btn-back {
    color: #6c757d;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    background-color: transparent;
    border: 2px solid rgba(50, 95, 124, 0.15);
}

.btn-back:hover {
    background-color: rgba(50, 95, 124, 0.08);
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}
.step-actions .btn-back {
    min-width: 170px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.step-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2.5rem;
}

.step-actions .btn {
    min-width: 180px;
}

#btnMoreInfo {
    margin: 0 auto;
}

@media (max-width: 576px) {
    .step-actions {
        flex-direction: column-reverse;
        align-items: stretch;
    }

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

/* Confirmation Step */
.confirmation-container {
    min-height: calc(100vh - 68px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
    background-color: var(--bg-cream);
}

.confirmation-card {
    background-color: white;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 3rem 2rem;
    text-align: center;
    max-width: 700px;
}

.confirmation-icon {
    font-size: 5rem;
    color: var(--success-color);
    margin-bottom: 1.5rem;
}

.confirmation-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--success-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.confirmation-text {
    color: #6c757d;
    margin-bottom: 1.5rem;
}

.confirmation-note {
    font-size: 0.875rem;
    color: #9e9e9e;
}

/* Detailed Questions */
.question-container {
    background-color: var(--bg-blue-light);
    padding: 1.5rem;
    border-radius: 0.5rem;
}

.question-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-gray);
    text-align: center;
    margin-bottom: 1.5rem;
}

.question-option {
    padding: 0.5rem;
    border: 2px solid rgba(50, 95, 124, 0.2);
    border-radius: 0.5rem;
    background-color: white;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.question-option:hover {
    background-color: rgba(222, 0, 0, 0.06);
    border-color: rgba(222, 0, 0, 0.3);
    color: var(--primary-color);
}

.question-option.active {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-dark);
}

.question-option.active .check-icon {
    color: #fff;
}

.check-icon {
    font-size: 1.5rem;
    color: rgba(50, 95, 124, 0.55);
}

/* Refinement layout */
.refine-wrapper {
    display: grid;
    grid-template-columns: 1fr minmax(260px, 320px);
    gap: 2rem;
    align-items: start;
}

.refine-step {
    align-items: flex-start;
}

.refine-step .container {
    width: 100%;
}

.refine-dynamic {
    width: 100%;
}

.refine-static {
    background-color: #fff;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 18px 45px rgba(35, 27, 79, 0.08);
    position: sticky;
}

.refine-stat.info-box {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

/* Style pour la note Trustpilot et témoignage */
.trustpilot-widget {
    margin: 1.5rem 0;
    text-align: center;
}

.trustpilot-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.trustpilot-stars {
    color: #00B67A;
    font-size: 1.5rem;
    letter-spacing: 1px;
    margin-right: 0.5rem;
}

.trustpilot-score {
    font-weight: 700;
    color: var(--text-dark);
}

.trustpilot-reviews {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 1rem;
}

.testimonial {
    background: #fff;
    border-radius: 8px;
    padding: 1.25rem;
    margin-top: 1rem;
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 0.75rem;
    color: #495057;
}

.testimonial-author {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
    margin-bottom: 0;
}

.testimonial-date {
    font-size: 0.8rem;
    color: #6c757d;
}

/* Style spécifique pour la boîte de statistiques avec image de fond */
.info-box.h-100 {
    background: linear-gradient(135deg, rgba(240, 246, 251, 0.8), rgba(240, 246, 251, 1))
    , url('../images/seniors-souriants.jpg') center/cover no-repeat;
    background-blend-mode: overlay;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.refine-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, rgba(80, 181, 227, 0.18), rgba(80, 181, 227, 0.12));
    color: var(--secondary-color);
    font-weight: 700;
    border-radius: 999px;
    padding: 0.75rem 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(80, 181, 227, 0.25);
}

.refine-badge i {
    font-size: 1.5rem;
}

.refine-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
}

.refine-subtitle {
    margin-top: 0.75rem;
    color: #6c757d;
    font-size: 0.95rem;
}

.refine-reassurance {
    list-style: none;
    padding: 0;
    margin: 1.75rem 0 2rem;
}

.refine-reassurance li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-gray);
    margin-bottom: 0.75rem;
}

.refine-reassurance i {
    color: var(--primary-color);
    margin-top: 0.2rem;
}

.refine-summary-title {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--secondary-darker);
    margin-bottom: 0.75rem;
}

.refine-summary {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.75rem;
}

.refine-summary-item {
    background: rgba(50, 95, 124, 0.08);
    border-radius: 0.75rem;
    padding: 0.875rem 1rem;
}

.refine-summary-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    color: var(--secondary-dark);
    margin-bottom: 0.4rem;
}

.refine-summary-value {
    font-weight: 600;
    color: var(--text-dark);
    word-break: break-word;
}

.refine-dynamic .refine-question-card {
    background-color: #fff;
    border-radius: 1rem;
    padding: 1rem 2rem;
    box-shadow: 0 18px 45px rgba(35, 27, 79, 0.08);
}

.refine-question-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.refine-question-step {
    display: block;
    font-weight: 700;
    color: var(--secondary-dark);
    font-size: 0.95rem;
}

.refine-question-lead {
    display: block;
    color: #6c757d;
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

.refine-progress {
    width: 180px;
    height: 8px;
    border-radius: 999px;
    background: rgba(50, 95, 124, 0.2);
    overflow: hidden;
}

.refine-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-blue));
    border-radius: inherit;
}

.refine-question-title {
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.refine-question-helper {
    margin-bottom: 1.5rem;
    color: #6c757d;
    font-size: 0.95rem;
}

.refine-options {
    display: grid;
    gap: 0.75rem;
}

.refine-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
    width: 100%;
}

.refine-actions .btn-back {
    min-width: 160px;
}

.refine-actions-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.refine-link {
    padding: 0;
    text-decoration: none !important;
}

.refine-link:hover,
.refine-link:focus {
    text-decoration: none !important;
}

.step-actions {
    text-decoration: none !important;
}
.btn-link{
    text-decoration: underline !important;
}
button.btn.btn-back {
    background: #fff;
}

.step-actions .btn-link:hover,
.step-actions .btn-link:focus {
    text-decoration: none !important;
}

@media (max-width: 768px) {
    .refine-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .refine-actions-right {
        flex-direction: column;
        align-items: stretch;
    }

    .refine-actions .btn-back {
        width: 100%;
    }

    .refine-actions-right .btn {
        width: 100%;
    }
}

/* Animations d'entrée */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* Responsive improvements */
@media (max-width: 992px) {
    .refine-wrapper {
        grid-template-columns: 1fr;
    }

    .refine-static {
        position: static;
    }
    
    .landing-step-title {
        font-size: 2rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .step-card {
        padding: 1.5rem;
        border-radius: 1rem;
    }
    
    .landing-step-title {
        font-size: 1.75rem;
    }
    
    .btn-next {
        padding: 0.875rem 2.5rem;
        font-size: 1rem;
    }
    
    .choice-btn {
        padding: 0.875rem 1rem;
    }
    
    .refine-progress {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .refine-dynamic .refine-question-card {
        padding: 1.5rem;
    }
}

.landing-content {
    animation: slideInUp 0.8s ease-out;
}

.service-card {
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.choice-btn {
    transition: all 0.2s ease;
}

.choice-btn:active {
    transform: scale(0.98);
}

/* Responsive */
@media (min-width: 768px) {
    .landing-title {
        font-size: 3.5rem;
    }
    
    .landing-title-enhanced {
        font-size: 3.5rem;
    }
    
    .step-card {
        padding: 1rem 2rem;
    }
    
    .advantage-title {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .landing-container {
        min-height: auto;
        padding: 4.5rem 1.25rem 3rem;
        align-items: flex-start;
    }

    .landing-bg img {
        object-position: center top;
    }

    .landing-content {
        width: 100%;
        margin-top: 1.5rem;
    }

    .landing-title {
        font-size: 2rem;
    }
    
    .landing-title-enhanced {
        font-size: 1.75rem;
    }
    
    .landing-step-title {
        font-size: 1.5rem;
    }
    
    .landing-step-subtitle {
        font-size: 1rem;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .landing-subtitle {
        font-size: 1rem;
    }
    
    .landing-subtitle-enhanced {
        font-size: 1.1rem;
    }
    
    .landing-hero-box {
        padding: 2rem 1.5rem;
    }

    .btn-start {
        width: 100%;
    }

    .btn-start-premium,
    .btn-start-large {
        width: 100%;
    }
    
    .btn-start {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .btn-start-large {
        padding: 1rem 2rem;
        font-size: 1.125rem;
    }
    
    .btn-start-premium {
        font-size: 1.1rem;
        padding: 1.25rem 2rem;
        gap: 0.75rem;
    }
    
    .btn-start-premium .btn-icon {
        font-size: 1.2rem;
    }
    
    .landing-reassurance-enhanced {
        font-size: 0.85rem;
        gap: 0.5rem;
    }
    
    .reassurance-item {
        padding: 0.4rem 0.8rem;
    }
    
    .landing-trust-indicators {
        gap: 1rem;
        padding: 1rem;
    }
    
    .trust-number {
        font-size: 1.5rem;
    }
    
    .trust-label {
        font-size: 0.7rem;
    }
    
    .step-card {
        padding: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .stat-number {
        font-size: 1.25rem;
    }
    
    .advantage-title {
        font-size: 0.75rem;
    }
    
    .advantage-subtitle {
        font-size: 0.65rem;
    }
}

/* Utility Classes */
.text-accent {
    color: var(--secondary-color) !important;
}

.btn-link.text-accent {
    color: var(--secondary-color) !important;
}

.btn-link.text-accent:hover {
    color: var(--secondary-dark) !important;
    text-decoration: none;
}

.d-none {
    display: none !important;
}

.d-block {
    display: block !important;
}
.text-underline {
    text-decoration: underline !important;
}
.btn-center {
    margin: 0 auto;
}

@media (max-width: 768px) {
    .progress-info {\n    display: flex;\n    justify-content: space-between;\n    align-items: center;\n    margin-bottom: 0.75rem;\n    gap: 1.5rem;\n}\n\n.progress-info-meta {\n    display: flex;\n    align-items: center;\n    gap: 1rem;\n    flex-wrap: wrap;\n}\n\n.progress-duration {\n    display: inline-flex;\n    align-items: center;\n    font-size: 0.9rem;\n    color: var(--text-muted);\n}\n\n.progress-duration-icon {\n    width: 18px;\n    height: 18px;\n    margin-right: 0.35rem;\n}\n\n.progress-step {\n    font-size: 0.9rem;\n    font-weight: 700;\n    color: var(--text-dark);\n}

    .progress-info-meta {
        justify-content: flex-start;
    }
}



@media (max-width: 768px) {
    .progress-info {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }

    .progress-info-meta {
        justify-content: flex-start;
    }
}

#app-container h4 {
   font-size: 1.2rem;
}

#app-container label.btn {
    white-space: normal !important;
    text-align: left;
}

/* Step-specific backgrounds */
