/* ============ VARIABLES ============ */
:root {
    /* Couleurs */
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --secondary: #f59e0b;
    --dark: #1e293b;
    --light: #f8fafc;
    --gray: #64748b;
    --light-gray: #e2e8f0;
    
    /* Typographie */
    --font-main: 'Montserrat', -apple-system, sans-serif;
    --font-accent: 'Playfair Display', serif;
    
    /* Effets */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    
    /* Dimensions */
    --radius: 8px;
    --radius-lg: 12px;
}

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

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

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

/* ============ TYPOGRAPHIE ============ */
h1, h2, h3, h4 {
    font-family: var(--font-accent);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.4rem; }

p {
    margin-bottom: 1rem;
    color: var(--gray);
    line-height: 1.7;
}

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









/* Ajoutez ces règles à votre fichier CSS */

/* Correction générale des marges */
body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    width: 100%;
    overflow-x: hidden;
}

/* Ajustement des marges intérieures */
.container {
    padding-left: 2rem;
    padding-right: 2rem;
}

/* Augmenter les marges sur les grands écrans */
@media (min-width: 1200px) {
    .container {
        padding-left: 3rem;
        padding-right: 3rem;
    }
}

/* Ajustement spécifique pour les sections */
.section {
    padding: 4rem 0;
    width: 100%;
}

/* Correction des marges pour le header */
.header {
    padding-left: 2rem;
    padding-right: 2rem;
}

/* Ajustement des marges pour le contenu du hero */
.hero-container {
    padding-left: 2rem;
    padding-right: 2rem;
}

/* Ajustement des marges pour le simulateur */
.simulator {
    margin: -3rem auto 0;
    max-width: calc(100% - 4rem);
}

/* Correction pour les éléments en full-width */
.full-width {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}








/* ============ LAYOUT ============ */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 6rem 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    margin: 1.5rem auto;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
}

/* Correction des marges générales */
body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    width: 100%;
    overflow-x: hidden;
}

.container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* Ajustement des sections */
.section {
    padding: 4rem 0;
    width: 100%;
}

/* ============ HEADER & NAVIGATION ============ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1.2rem 0;
    transition: all 0.4s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header.scrolled {
    padding: 0.8rem 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}

.logo img {
    height: 50px;
    transition: var(--transition);
}

.header.scrolled .logo img {
    height: 40px;
}

/* Navigation Menu */
.nav-menu ul {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

.nav-menu li a {
    position: relative;
    padding: 0.5rem 0;
    font-weight: 600;
    color: var(--dark);
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-menu li a:hover::after {
    width: 100%;
}

/* Dropdown Menu */
.dropdown-parent {
    position: relative;
}

.dropdown-parent > a::after {
    content: '⌄';
    margin-left: 0.3rem;
    font-size: 0.8rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.dropdown-parent:hover > a::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: white;
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
    padding: 0.5rem 0;
}

.dropdown-parent:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 0.7rem 1.5rem;
    color: var(--gray);
    transition: all 0.2s ease;
}

.dropdown-menu li a:hover {
    color: var(--primary);
    background: rgba(37, 99, 235, 0.05);
}

.highlight {
    color: var(--primary);
    font-weight: 700;
}

/* Header CTA */
.header-cta .btn-secondary {
    margin-left: 1.5rem;
    padding: 0.7rem 1.5rem;
    border-radius: var(--radius);
    transition: all 0.3s ease;
}

.header-cta .btn-secondary:hover {
    background: var(--primary);
    color: white;
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

/* ============ HERO SECTION ============ */
.hero {
    padding: 8rem 0 6rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 3rem;
    position: relative;
    z-index: 1;
    animation: fadeIn 1s ease;
}

.hero-content {
    flex: 1;
    padding-right: 2rem;
    animation: fadeInUp 0.8s ease;
}

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

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

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 1s ease;
}

.hero-image img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transform: perspective(1000px) rotateY(-10deg);
    transition: var(--transition);
}

.hero-image:hover img {
    transform: perspective(1000px) rotateY(0);
}

.hero-title {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-badges {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.25rem;
    background-color: white;
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
    font-size: 0.875rem;
    font-weight: 600;
    transition: var(--transition);
}

.badge:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.badge i {
    margin-right: 0.5rem;
    color: var(--secondary);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

/* ============ SIMULATEUR ============ */
.simulator {
    background-color: white;
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    margin: -3rem auto 0;
    position: relative;
    z-index: 10;
    max-width: calc(100% - 3rem);
}

.simulator-wrapper {
    display: flex;
    gap: 2rem;
}

.simulator-form {
    flex: 1;
    padding: 2rem;
    background-color: var(--light);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.form-group {
    margin-bottom: 1.75rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--dark);
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid var(--light-gray);
    border-radius: var(--radius);
    font-family: inherit;
    transition: var(--transition);
}

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

input[type="range"] {
    width: 100%;
    height: 8px;
    -webkit-appearance: none;
    background-color: var(--light-gray);
    border-radius: 4px;
    margin-bottom: 1rem;
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    background-color: var(--primary);
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid white;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.range-values {
    display: flex;
    justify-content: space-between;
    color: var(--gray);
    font-size: 0.875rem;
    margin-top: -0.5rem;
}

#calculate-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    margin-top: 1rem;
}

.simulator-result {
    flex: 1;
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: var(--radius);
    color: white;
    display: none;
    box-shadow: var(--shadow-md);
}

.result-header {
    margin-bottom: 2rem;
    text-align: center;
}

.result-header h3 {
    margin-bottom: 0.5rem;
    color: white;
    font-size: 1.5rem;
}

.result-header p {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
}

.result-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.result-item {
    text-align: center;
    background-color: rgba(255,255,255,0.1);
    padding: 1.25rem;
    border-radius: var(--radius);
    transition: var(--transition);
}

.result-item:hover {
    background-color: rgba(255,255,255,0.15);
    transform: translateY(-3px);
}

.result-item span {
    display: block;
    font-size: 0.875rem;
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.result-item strong {
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
}

.disclaimer {
    font-size: 0.75rem;
    opacity: 0.8;
    margin-top: 1.5rem;
    text-align: center;
    color: rgba(255,255,255,0.7);
}

/* ============ TRUST BADGES ============ */
.trust-badges {
    padding: 3rem 0;
    background-color: var(--light);
}

.trust-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 150px;
    padding: 1rem;
    background-color: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.trust-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.trust-item img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.trust-item p {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--dark);
}

/* ============ BANK COMPARISON ============ */
.bank-comparison {
    background-color: var(--light);
    padding: 5rem 0;
}

.comparison-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tab-btn {
    padding: 0.75rem 1.5rem;
    background-color: white;
    border: 1px solid var(--light-gray);
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
}

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

.comparison-table {
    overflow-x: auto;
    border-radius: var(--radius);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    background: white;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 1.25rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid var(--light-gray);
}

th {
    background-color: var(--primary);
    color: white;
    position: sticky;
    top: 0;
    font-weight: 600;
}

tr:nth-child(even) {
    background-color: #f8fafc;
}

tr:hover {
    background-color: #f1f5f9;
}

.btn-table {
    padding: 0.5rem 1rem;
    background-color: var(--primary);
    color: white;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-table:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* ============ ABOUT SECTION ============ */
.about-container {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.about-image {
    flex: 1;
    position: relative;
}

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

.about-badge {
    position: absolute;
    top: -15px;
    right: -15px;
    background-color: var(--secondary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

.about-content {
    flex: 1;
}

.benefits-list {
    list-style: none;
    margin-bottom: 2rem;
}

.benefits-list li {
    display: flex;
    margin-bottom: 1.5rem;
}

.benefit-icon {
    font-size: 1.5rem;
    margin-right: 1rem;
    color: var(--primary);
}

.benefit-text strong {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.about-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    flex: 1;
    background: var(--light);
    padding: 1.5rem;
    border-radius: var(--radius);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-sm);
}

.stat-item strong {
    display: block;
    font-size: 2rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-item span {
    font-size: 0.9rem;
    color: var(--gray);
}

/* ============ SERVICES SECTION ============ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: white;
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(37, 99, 235, 0.2);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.service-card h3 {
    margin-bottom: 1rem;
}

.service-link {
    display: inline-block;
    margin-top: 1.5rem;
    color: var(--primary);
    font-weight: 600;
    position: relative;
}

.service-link::after {
    content: '→';
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.service-link:hover::after {
    transform: translateX(3px);
}

/* ============ INSURANCE SECTION ============ */
.insurance {
    background-color: var(--light);
    padding: 5rem 0;
}

.insurance-container {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.insurance-content {
    flex: 1;
}

.insurance-image {
    flex: 1;
}

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

.insurance-list {
    list-style: none;
    margin: 1.5rem 0;
}

.insurance-list li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 2rem;
}

.insurance-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--secondary);
    font-weight: bold;
    font-size: 1.2rem;
}

/* ============ CREDIT CONSOLIDATION ============ */
.consolidation-container {
    max-width: 800px;
    margin: 0 auto;
}

.consolidation-calculator {
    display: flex;
    gap: 2rem;
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.calculator-steps {
    flex: 1;
}

.step {
    margin-bottom: 2rem;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.credit-inputs {
    margin-top: 1rem;
}

.credit-item {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.btn-add {
    background: none;
    border: none;
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
}

.btn-add i {
    margin-right: 0.5rem;
}

.calculator-result {
    flex: 1;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 2rem;
    border-radius: var(--radius);
    text-align: center;
    color: white;
}

.result-amount {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 1rem 0;
}

/* ============ PROCESS SECTION ============ */
.process-steps {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.process-step {
    flex: 1;
    max-width: 250px;
    text-align: center;
    position: relative;
}

.process-step:not(:last-child):after {
    content: '';
    position: absolute;
    top: 40px;
    right: -30px;
    width: 30px;
    height: 2px;
    background-color: var(--light-gray);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    box-shadow: var(--shadow-md);
}

.step-content {
    margin-top: 1.5rem;
}

.step-content h3 {
    margin-bottom: 0.75rem;
}

/* ============ WEALTH ADVICE ============ */
.wealth-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.wealth-card {
    background-color: white;
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.wealth-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.wealth-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.wealth-form {
    max-width: 500px;
    margin: 3rem auto 0;
    background-color: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

/* ============ PRO SERVICES ============ */
.pro-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tab-btn {
    padding: 0.75rem 1.5rem;
    background-color: white;
    border: 1px solid var(--light-gray);
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
}

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

.tab-content {
    display: none;
}

.tab-content.active {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.pro-list {
    list-style: none;
    margin: 1.5rem 0;
}

.pro-list li {
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 1.5rem;
}

.pro-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
}

/* ============ TRACKING SECTION ============ */
.tracking-demo {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-top: 3rem;
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.tracking-image {
    flex: 1;
}

.tracking-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

.tracking-features {
    flex: 1;
}

.feature {
    display: flex;
    margin-bottom: 1.5rem;
}

.feature-icon {
    font-size: 1.5rem;
    margin-right: 1rem;
    color: var(--primary);
}

/* ============ TEAM SECTION ============ */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-member {
    background-color: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.member-photo {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-member:hover .member-photo img {
    transform: scale(1.05);
}

.member-info {
    padding: 1.5rem;
    background: white;
}

.member-role {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.member-bio {
    margin-bottom: 1.5rem;
    color: var(--gray);
}

.member-link {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    position: relative;
}

.member-link::after {
    content: '→';
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.member-link:hover::after {
    transform: translateX(3px);
}

/* ============ REVIEWS SECTION ============ */
.reviews-slider {
    position: relative;
    padding: 1rem 0;
    overflow: hidden;
}

.reviews-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s ease;
}

.review-card {
    min-width: calc(25% - 1.5rem); /* 4 cartes visibles sur desktop */
    flex: 0 0 auto;
    background-color: white;
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

/* Styles pour mobile */
@media (max-width: 768px) {
    .review-card {
        min-width: calc(100% - 2rem); /* 1 carte visible sur mobile */
    }
}


/* ============ FAQ SECTION ============ */
.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid var(--light-gray);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary);
}

.faq-question {
    width: 100%;
    padding: 1.25rem;
    background-color: var(--light);
    border: none;
    text-align: left;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-answer {
    padding: 0 1.25rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: white;
}

.faq-item.active .faq-answer {
    padding: 0 1.25rem 1.25rem;
    max-height: 500px;
}

.icon-arrow {
    transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] .icon-arrow {
    transform: rotate(180deg);
}


/* ============ FINAL CTA ============ */
.final-cta {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-title {
    color: white;
    position: relative;
    z-index: 1;
}

.cta-subtitle {
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.cta-contacts {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.contact-item {
    display: flex;
    align-items: center;
    color: rgba(255,255,255,0.9);
}

.contact-item i {
    margin-right: 0.5rem;
    font-size: 1.1rem;
}






















/* Footer Styles */
.footer {
    background: linear-gradient(135deg, #1a3a6e 0%, #0d2444 100%);
    color: #fff;
    padding: 4rem 0 0;
    position: relative;
    font-family: 'Montserrat', sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col {
    margin-bottom: 2rem;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: #4a90e2;
}

.footer-logo img {
    max-width: 180px;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1);
}

.footer-description {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    display: inline-block;
}

.footer-links a:hover {
    color: #4a90e2;
    transform: translateX(5px);
}

.footer-contact i {
    margin-right: 0.8rem;
    color: #4a90e2;
    width: 20px;
    text-align: center;
}

.footer-address,
.footer-phone,
.footer-email,
.footer-hours {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: #4a90e2;
    transform: translateY(-3px);
}

.footer-btn {
    background: #4a90e2;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.footer-btn:hover {
    background: #3a7bc8;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.3);
}

.footer-secondary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    flex-wrap: wrap;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.8rem;
    opacity: 0.7;
}

.footer-legal-links {
    display: flex;
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-legal-links a:hover {
    color: #4a90e2;
}

.footer-badges {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer-badges img {
    height: 40px;
    width: auto;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-badges img:hover {
    opacity: 1;
    transform: scale(1.05);
}

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #4a90e2;
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 99;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #3a7bc8;
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-secondary {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-legal {
        flex-direction: column;
    }
    
    .footer-legal-links {
        justify-content: center;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 1rem;
        right: 1rem;
    }
}



























/* ============ MODAL ============ */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-lg);
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray);
    transition: var(--transition);
}

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

/* Styles supplémentaires pour améliorer le responsive */
img {
    max-width: 100%;
    height: auto;
}

/* Assurer que les éléments interactifs ont une taille suffisante */
button, .btn, a {
    min-height: 44px;
    min-width: 44px;
}

/* ============ MEDIA QUERIES ============ */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero-container {
        flex-direction: column;
    }
    
    .hero-content {
        text-align: center;
        margin-bottom: 2rem;
        padding-right: 0;
    }
    
    .hero-badges {
        justify-content: center;
    }
    
    .simulator-wrapper {
        flex-direction: column;
    }
    
    .simulator-form,
    .simulator-result {
        width: 100%;
    }
    
    .result-grid {
        grid-template-columns: 1fr;
    }
    
    input[type="range"] {
        width: 100%;
    }
    
    .nav-container {
        padding: 1rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: white;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        padding: 2rem;
        z-index: 1000;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .menu-burger {
        display: flex;
        z-index: 1001;
    }
}

/* Menu Burger */
.menu-burger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 2rem;
    height: 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

.burger-line {
    width: 2rem;
    height: 0.25rem;
    background: var(--dark);
    transition: all 0.3s ease;
}

.menu-burger[aria-expanded="true"] .burger-line:nth-child(1) {
    transform: rotate(45deg) translate(0.45rem, 0.45rem);
}

.menu-burger[aria-expanded="true"] .burger-line:nth-child(2) {
    opacity: 0;
}

.menu-burger[aria-expanded="true"] .burger-line:nth-child(3) {
    transform: rotate(-45deg) translate(0.45rem, -0.45rem);
}

/* Navigation Mobile */
@media (max-width: 1024px) {
    .menu-burger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: white;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        padding: 2rem;
        z-index: 9;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .dropdown-parent > a::after {
        content: '+';
        float: right;
        transform: none !important;
    }
    
    .dropdown-menu {
        position: static;
        box-shadow: none;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        opacity: 1;
        visibility: visible;
        transform: none !important;
        background: rgba(0, 0, 0, 0.02);
        border-radius: 0;
    }
    
    .dropdown-parent.active .dropdown-menu {
        max-height: 500px;
        padding: 0.5rem 0;
    }
    
    .dropdown-menu li a {
        padding: 0.8rem 1.5rem 0.8rem 2.5rem;
    }
    
    .header-cta {
        margin-top: 2rem;
        padding-top: 1.5rem;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .hero-container,
    .about-container,
    .insurance-container,
    .tab-content.active,
    .tracking-demo {
        flex-direction: column;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 3rem;
        text-align: center;
    }
    
    .hero-badges,
    .hero-cta {
        justify-content: center;
    }
    
    .hero-image img {
        max-width: 500px;
        transform: none;
    }
    
    .process-steps {
        flex-wrap: wrap;
    }
    
    .process-step {
        max-width: calc(50% - 1rem);
    }
    
    .process-step:after {
        display: none;
    }
}

/* Styles critiques */
:root {
    --primary: #0056b3;
    --secondary: #007bff;
    --dark: #121212;
    --light: #f8f9fa;
}

/* Accessibilité */
:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

.badge-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 20px 0;
}

.badge a {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 999px;
    color: white;
    font-weight: bold;
    text-decoration: none;
}

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

.btn-secondary {
    background-color: var(--secondary);
}

.faq {
    padding: 3rem 1rem;
    background: var(--light);
}
.faq-container {
    max-width: 960px;
    margin: auto;
}
.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 0.5rem;
}
.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
}
.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.faq-item {
    border-bottom: 1px solid #ddd;
    padding: 1rem 0;
}
.faq-question {
    width: 100%;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}
.icon-arrow {
    transition: transform 0.3s ease;
}
.faq-question[aria-expanded="true"] .icon-arrow {
    transform: rotate(180deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.3s ease;
    padding: 0 0;
    color: #444;
}
.faq-answer.open {
    max-height: 300px;
    padding: 0.75rem 0;
}

/* Simulateur */
#simulator-result {
    display: none;
}

#simulator-result.visible {
    display: block;
}

/* Réduire les animations si nécessaire */
@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
    }
}

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








































/*---------------------------------------------*/

.card-glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f2937;
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.5rem;
  font-size: 1rem;
}

.btn-primary {
  background-color: #0f766e;
  color: white;
  font-weight: 600;
  padding: 0.75rem;
  border-radius: 0.5rem;
  transition: background-color 0.2s ease;
}

.btn-primary:hover {
  background-color: #0d9488;
}
 