/* ==========================================================================
   GLOBAL DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
    --color-navy: #0b2f68;
    --color-mint: #0a8d42;
    --color-mint-hover: #087335;
    --color-bg-warm: #fbfcfe;
    --color-card-bg: #ffffff;
    --color-text-main: #1e293b;
    --color-text-muted: #64748b;
    --color-border: #e2e8f0;
    --color-gold-accent: #d97706;
    
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-handwritten: 'Caveat', cursive;
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--color-bg-warm);
    color: var(--color-text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

/* Disclaimer Banner */
.disclaimer-banner {
    background-color: #f1f5f9;
    color: #475569;
    font-size: 0.85rem;
    padding: 8px 16px;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
}

/* Header Navigation */
.site-header {
    background-color: var(--color-bg-warm);
    padding: 20px 0;
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}

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

.logo-group {
    display: flex;
    align-items: center;
    gap: 14px;
}

.site-header .logo-group img,
.logo-group img,
.header-logo-img {
    width: 76px;
    height: 76px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.logo-group:hover .header-logo-img,
.logo-group:hover img {
    transform: scale(1.05);
}

.logo-text {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-navy);
}

.brand-text-block {
    display: flex;
    flex-direction: column;
}

.logo-tagline {
    font-size: 0.78rem;
    color: var(--color-text-muted);
    line-height: 1.25;
    margin-top: 2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-btn {
    background-color: var(--color-mint);
    color: #fff !important;
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease;
}

.nav-btn:hover { background-color: var(--color-mint-hover); }

/* Buttons */
.btn {
    display: inline-block;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--color-mint);
    color: #ffffff;
    padding: 14px 28px;
    font-size: 1.05rem;
    box-shadow: 0 4px 12px rgba(10, 141, 66, 0.2);
    border: none;
}

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

.btn-large {
    padding: 16px 36px;
    font-size: 1.15rem;
}

/* ==========================================================================
   LANDING PAGE (INDEX.HTML) SPECIFIC STYLES
   ========================================================================== */

/* Hero Section */
.hero-section {
    position: relative;
    padding: 70px 0 60px;
    background-color: var(--color-bg-warm);
    
    /* Dégradé fluide + photo */
    background-image: 
        linear-gradient(to right, 
            rgba(251, 252, 254, 1) 0%, 
            rgba(251, 252, 254, 0.95) 30%, 
            rgba(251, 252, 254, 0.5) 55%,
            rgba(251, 252, 254, 0) 80%
        ), 
        url('images/golden-goose-hero.png') !important;
    /* On cale l'image à droite sans qu'elle dépasse une taille raisonnable */
    background-position: left top, 95% center !important;
    background-size: 100% 100%, auto 100% !important; /* 'auto 100%' garde l'image à hauteur fixe */
    background-repeat: no-repeat, no-repeat !important;
    
    /* Sécurité pour ultra-wide screens */
    max-width: 1440px; /* Limite la largeur maximale sur grand écran */
    margin: 0 auto;    /* Centre la section si l'écran est plus large que 1440px */
}

.hero-container { position: relative; z-index: 2; }
.hero-content { max-width: 430px; }

.hero-title {
    font-size: 3rem;
    line-height: 1.12;
    color: var(--color-navy);
    font-weight: 800;
    margin-bottom: 12px;
}

.hero-subtitle {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 18px;
}

.hero-intro {
    font-size: 1.08rem;
    color: #334155;
    margin-bottom: 28px;
}

.hero-cta-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.cta-microcopy {
    font-size: 0.88rem;
    color: var(--color-text-muted);
}

/* Landing Page Calculator Box & Overlapping Card */
.calculator-section {
    position: relative;
    z-index: 10;
    margin-top: -20px;
    padding-bottom: 60px;
}

.overlapping-card {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 36px;
    box-shadow: 0 20px 40px rgba(11, 47, 104, 0.08);
}

.chart-header-block h2 {
    font-size: 2.2rem;
    color: var(--color-navy);
    font-weight: 800;
    margin-bottom: 8px;
}

.chart-description {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    max-width: 720px;
    margin-bottom: 30px;
}

.chart-layout-grid {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 24px;
    align-items: center;
}

.chart-legend-block {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-navy);
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.dot-total { background-color: #064e3b; }
.dot-growth { background-color: #86efac; }
.dot-contributions { background-color: #93c5fd; }

.chart-inner-wrapper {
    position: relative;
    background: var(--color-bg-warm);
    border-radius: 12px;
    padding: 24px 90px 24px 20px;
    border: 1px solid var(--color-border);
}

.chart-value-badge {
    position: relative;
    background: #0b2f68;
    color: #ffffff;
    padding: 8px 18px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(11, 47, 104, 0.18);
    line-height: 1.3;
    z-index: 5;
    white-space: nowrap;
}

.handwritten-note-annotation {
    position: absolute;
    top: 110px;
    left: 42%;
    font-family: var(--font-handwritten);
    font-size: 1.35rem;
    color: var(--color-navy);
    line-height: 1.2;
    transform: rotate(-3deg);
    z-index: 5;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.handwritten-arrow-svg {
    width: 65px;
    height: 55px;
    margin-top: 2px;
    margin-left: 20px;
    display: block;
}

.svg-chart-container {
    width: 100%;
    height: 280px;
    position: relative;
}

#compounding-chart {
    width: 100%;
    height: 100%;
}

.chart-y-axis {
    position: absolute;
    right: -80px;
    top: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    border-left: 1px solid var(--color-border);
    padding-left: 10px;
}

.chart-x-axis {
    display: flex;
    justify-content: space-between;
    padding-right: 70px;
    margin-top: 12px;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

/* Steps Overview Section (Landing Page) */
.steps-overview-section { padding: 70px 0; }
.section-header { margin-bottom: 36px; }
.section-header h2 { font-size: 2rem; color: var(--color-navy); font-weight: 800; margin-bottom: 8px; }
.section-header p { font-size: 1.05rem; color: var(--color-text-muted); }

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.step-card {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.step-number {
    width: 36px;
    height: 36px;
    background: var(--color-navy);
    color: #ffffff;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.step-card h3 { color: var(--color-navy); font-size: 1.1rem; margin-bottom: 8px; }
.step-card p { font-size: 0.9rem; color: var(--color-text-muted); line-height: 1.5; margin-bottom: 16px; }
.step-link { color: var(--color-mint); font-weight: 700; text-decoration: none; font-size: 0.9rem; }
.step-link:hover { text-decoration: underline; }

/* Benefits Section (Landing Page) */
.benefits-section {
    background-color: #ffffff;
    padding: 70px 0;
    border-top: 1px solid var(--color-border);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.benefit-item { text-align: center; padding: 16px; }
.benefit-icon { font-size: 2.2rem; margin-bottom: 12px; }
.benefit-item h3 { color: var(--color-navy); font-size: 1.1rem; margin-bottom: 8px; font-weight: 700; }
.benefit-item p { font-size: 0.9rem; color: var(--color-text-muted); line-height: 1.5; }

/* ==========================================================================
   STEP 1 DEDICATED STYLES (STEFAN MOCKUP)
   ========================================================================== */

.step-container { padding: 40px 0 80px; }

.step-progress-indicator { display: flex; align-items: center; gap: 8px; }
.progress-step {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e2e8f0;
    color: var(--color-text-muted);
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
.progress-step.active { background: var(--color-mint); color: #ffffff; }
.progress-line { width: 20px; height: 2px; background: #e2e8f0; }

/* Step 1 Hero Layout */
.step1-hero-grid {
    display: flex;
    flex-direction: row;
    gap: 32px;
    align-items: flex-start;
    margin-bottom: 24px;
}

.step1-hero-text { flex: 1.2; }

.step1-title {
    font-size: 2rem;
    color: var(--color-navy);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 14px;
}

.step1-intro {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 10px;
}

.step1-body {
    font-size: 0.92rem;
    color: var(--color-text-muted);
    margin-bottom: 10px;
    line-height: 1.5;
}

.step1-hero-image-box {
    flex: 0.8;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(11, 47, 104, 0.08);
}

.step1-hero-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

.image-handwritten-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    font-family: var(--font-handwritten);
    font-size: 1.6rem;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
    transform: rotate(-6deg);
}

/* Reassurance Banner */
.reassurance-banner {
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
}

.reassurance-icon { font-size: 1.6rem; }
.reassurance-text { font-size: 0.9rem; color: #166534; }

/* Calculator Card Box */
.step1-calculator-card {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 8px 24px rgba(11, 47, 104, 0.04);
}

.controls-grid {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
}

.control-box {
    flex: 1;
    background: var(--color-bg-warm);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 18px;
}

.control-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-navy);
    display: block;
    margin-bottom: 10px;
}

.stepper-input-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 6px 14px;
    margin-bottom: 12px;
}

.stepper-value {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-navy);
}

.btn-step-minus, .btn-step-plus {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: var(--color-mint);
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    line-height: 1;
}

.btn-step-minus:hover, .btn-step-plus:hover {
    background: var(--color-mint-hover);
}

.custom-range-slider {
    width: 100%;
    accent-color: var(--color-mint);
    cursor: pointer;
    margin-bottom: 6px;
}

.control-subtext {
    font-size: 0.78rem;
    color: var(--color-text-muted);
    display: block;
    text-align: center;
}

/* Output Simulation Grid */
.simulation-output-grid {
    display: flex;
    gap: 24px;
    align-items: center;
    background: var(--color-bg-warm);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid var(--color-border);
    margin-bottom: 20px;
}

.simulation-text-summary { flex: 0.85; }
.summary-prefix-text { font-size: 0.9rem; color: var(--color-navy); font-weight: 600; display: block; }
.summary-total-big { font-size: 2.6rem; font-weight: 800; color: var(--color-mint); line-height: 1.1; }
.summary-years-badge { font-size: 1.05rem; font-weight: 700; color: var(--color-navy); }
.summary-disclaimer-small { font-size: 0.75rem; color: var(--color-text-muted); }

/* Chart Box */
.simulation-chart-box { flex: 1.15; position: relative; }

.step1-chart-legend { 
    display: flex; 
    justify-content: flex-end; 
    gap: 16px; 
    font-size: 0.8rem; 
    font-weight: 600; 
    margin-bottom: 8px;
    padding-right: 70px;
}

.dot-contrib-blue { background-color: #3b82f6; }
.dot-growth-gold { background-color: #d97706 !important; }

.step1-svg-wrapper { 
    position: relative; 
    height: 150px; 
    width: 100%; 
    padding-right: 75px; 
}

#step1-live-chart { width: 100%; height: 100%; }

.chart-y-axis-step1 {
    position: absolute;
    right: 5px;
    top: 0;
    height: 100%;
    width: 65px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-align: right;
}

.chart-x-axis-step1 {
    display: flex;
    justify-content: space-between;
    padding-right: 75px;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-top: 6px;
}

/* Breakdown Row */
.breakdown-values-row {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: #f8fafc;
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 24px;
    border: 1px solid var(--color-border);
}

.breakdown-box { display: flex; flex-direction: column; align-items: center; }
.breakdown-label { font-size: 0.82rem; color: var(--color-text-muted); margin-bottom: 2px; }
.breakdown-amount { font-size: 1.3rem; font-weight: 800; }
.amount-blue { color: #2563eb; }
.amount-gold { color: #d97706; }
.breakdown-divider { width: 1px; height: 30px; background: var(--color-border); }

.step1-submit-btn { width: 100%; max-width: 500px; }
.cta-disclaimer-sub { font-size: 0.78rem; color: var(--color-text-muted); margin-top: 8px; }

/* Footer */
.site-footer {
    background-color: var(--color-navy);
    color: #ffffff;
    padding: 36px 0 24px;
    margin-top: 40px;
}

.trust-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 24px;
    margin-bottom: 20px;
}

.trust-item { display: flex; align-items: center; gap: 8px; font-size: 0.95rem; }
.trust-check { color: var(--color-mint); font-weight: bold; }
.footer-meta { font-size: 0.85rem; color: #ffffff; }

@media (max-width: 768px) {
    .hero-container, .chart-layout-grid, .steps-grid, .benefits-grid, .step1-hero-grid, .controls-grid, .simulation-output-grid { flex-direction: column; grid-template-columns: 1fr; }
    .chart-inner-wrapper { padding-right: 20px; }
    .chart-y-axis { display: none; }
    .trust-grid { flex-direction: column; gap: 12px; align-items: center; }
}
/* Force Footer Visibility & White Text (#ffffff / #e2e8f0) on Dark Background across all pages */
footer,
.site-footer {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    background-color: var(--color-navy) !important;
    color: #ffffff !important;
}

footer h1, footer h2, footer h3, footer h4, footer h5, footer h6,
.site-footer h1, .site-footer h2, .site-footer h3, .site-footer h4, .site-footer h5, .site-footer h6,
.site-footer strong, footer strong,
.site-footer .footer-brand-name,
.site-footer .footer-col-links h4 {
    color: #ffffff !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-weight: 700 !important;
}

footer p, footer span, footer li,
.site-footer p, .site-footer span, .site-footer li,
.site-footer .footer-brand-desc,
.site-footer .footer-legal-notice,
.site-footer .footer-legal-notice p,
.site-footer .footer-copyright,
.site-footer .footer-meta {
    color: #f1f5f9 !important;
    visibility: visible !important;
    opacity: 1 !important;
}

footer a,
.site-footer a,
.site-footer .footer-col-links a {
    color: #ffffff !important;
    visibility: visible !important;
    opacity: 1 !important;
    text-decoration: none !important;
    transition: color 0.2s ease, opacity 0.2s ease;
}

footer a:hover,
.site-footer a:hover,
.site-footer .footer-col-links a:hover,
footer a:focus,
.site-footer a:focus {
    color: #f59e0b !important;
    text-decoration: underline !important;
    opacity: 1 !important;
}
/* ==========================================================================
   STEP 2 SPECIFIC STYLES
   ========================================================================== */

/* Header progress bar highlight for Step 2 */
.progress-line.active-line {
    background: var(--color-mint);
}

/* Titles */
.step2-title {
    font-size: 2.3rem;
    color: var(--color-navy);
    font-weight: 800;
    margin-bottom: 8px;
}

.step2-subtitle {
    font-size: 1.15rem;
    color: var(--color-navy);
    font-weight: 600;
    margin-bottom: 12px;
}

.step2-intro-body {
    font-size: 0.98rem;
    color: var(--color-text-muted);
    line-height: 1.55;
    max-width: 680px;
    margin: 0 auto;
}

/* 3 Key Features Banner */
.step2-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 14px;
    padding: 16px 20px;
    margin-bottom: 24px;
}

.step2-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.step2-feature-icon {
    font-size: 1.5rem;
}

.step2-feature-item strong {
    display: block;
    font-size: 0.9rem;
    color: var(--color-navy);
    line-height: 1.2;
}

.step2-feature-item p {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin: 0;
}

/* Carte Visuelle Step 2 (Photo Plein Format avec Dégradé de Lisibilité) */
.step2-media-card {
    position: relative;
    width: 100%;
    height: 360px; /* Conserve la hauteur proportionnée */
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 28px;
    box-shadow: 0 10px 30px rgba(11, 47, 104, 0.08);
    background-color: var(--color-bg-warm);
    
    /* Configuration de l'image de fond Plein Format */
    background-image: 
        /* 1. Dégradé de lisibilité à gauche pour le texte manuscrit */
        linear-gradient(to right, 
            rgba(251, 252, 254, 0.95) 0%, 
            rgba(251, 252, 254, 0.8) 35%, 
            rgba(251, 252, 254, 0) 65%),
        /* 2. Photo d'arrière-plan (main tenant un téléphone) */
        url('https://images.unsplash.com/photo-1556742049-0a67daf64f42?auto=format&fit=crop&w=1200&q=80');
    
    /* Propriétés de positionnement pour le plein format */
    background-position: center right; /* Cale le téléphone à droite */
    background-size: cover; /* Remplit 100% de la hauteur/largeur sans déformer */
    background-repeat: no-repeat;
    
    display: flex;
    align-items: center; /* Centre verticalement le texte */
    padding: 0 40px; /* Marge intérieure gauche pour le texte */
}

.step2-card-inner {
    position: relative;
    z-index: 2; /* S'assure que le texte passe devant le dégradé */
    max-width: 320px; /* Limite la largeur du texte à gauche */
}

.step2-handwritten-overlay {
    font-family: var(--font-handwritten);
    font-size: 2.3rem;
    color: var(--color-navy);
    line-height: 1.25;
    transform: rotate(-3deg);
    font-weight: 700;
}

.step2-card-inner {
    position: relative;
    width: 100%;
}

.top-left-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.step2-handwritten-overlay {
    font-family: var(--font-handwritten);
    font-size: 2.2rem;
    color: var(--color-navy);
    line-height: 1.2;
    transform: rotate(-3deg);
}

.step2-media-wrapper {
    position: relative;
    width: 100%;
    height: 320px;
}

.step2-media-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.step2-handwritten-overlay {
    position: absolute;
    top: 35px;
    left: 40px;
    font-family: var(--font-handwritten);
    font-size: 2.2rem;
    color: var(--color-navy);
    line-height: 1.2;
    transform: rotate(-4deg);
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

/* Instructions Card */
.step2-instructions-card {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 8px 24px rgba(11, 47, 104, 0.04);
}

.instructions-heading {
    font-size: 1.35rem;
    color: var(--color-navy);
    font-weight: 800;
    margin-bottom: 20px;
}

.step2-instruction-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}

.step2-instruction-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
}

.step-badge-num {
    width: 32px;
    height: 32px;
    background-color: #dcfce7;
    color: #15803d;
    font-weight: 800;
    font-size: 0.95rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.instruction-text {
    font-size: 0.98rem;
    color: var(--color-text-main);
    line-height: 1.5;
    padding-top: 3px;
}

/* Light Blue Information Box */
.info-box-lightblue {
    background-color: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 24px;
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
}

.info-icon-blue {
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.info-text-blue {
    font-size: 0.88rem;
    color: #0369a1;
    line-height: 1.5;
    margin: 0;
}

/* Checkbox Section with Prominent Header */
.checkbox-confirmation-card {
    background: #f8fafc;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 18px 20px;
    margin-bottom: 24px;
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    box-sizing: border-box;
}

.checkbox-header-label {
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--color-navy);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.custom-checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}

.step2-checkbox {
    width: 20px;
    height: 20px;
    accent-color: var(--color-mint);
    cursor: pointer;
}

.checkbox-text-content {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-navy);
}

.step2-submit-btn {
    width: 100%;
    max-width: 500px;
}

.revolut-disclaimer-bottom {
    font-size: 0.78rem;
    color: var(--color-text-muted);
    margin-top: 16px;
}

@media (max-width: 640px) {
    .step2-features-grid { grid-template-columns: 1fr; }
    .step2-handwritten-overlay { font-size: 1.6rem; top: 20px; left: 20px; }
}
/* ==========================================================================
   STEP 2 - MEDIA CARD (DESIGN VECTORIEL STABLE ET SANS BUGS)
   ========================================================================== */

.step2-media-card {
    position: relative;
    width: 100%;
    height: 340px !important;
    border-radius: 16px;
    background: linear-gradient(135deg, #e0f2fe 0%, #f0fdf4 100%);
    border: 1px solid #bae6fd;
    margin-bottom: 28px;
    box-shadow: 0 10px 25px rgba(11, 47, 104, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 50px;
    overflow: hidden;
}

.step2-card-inner {
    position: relative;
    z-index: 2;
    max-width: 320px;
}

.step2-handwritten-overlay {
    font-family: var(--font-handwritten);
    font-size: 2.3rem;
    color: var(--color-navy);
    line-height: 1.2;
    transform: rotate(-3deg);
    font-weight: 700;
}

.step2-phone-illustration {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 12px 20px rgba(11, 47, 104, 0.12));
}
/* ==========================================================================
   STEP 3 - DEFINITIVE EXACT MATCH (PORTRAIT PHONE FORMAT)
   ========================================================================== */

.step3-title {
    font-size: 2.2rem;
    color: var(--color-navy);
    font-weight: 800;
    margin-bottom: 12px;
}

.step3-subtitle {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    font-weight: 500;
    line-height: 1.5;
    max-width: 820px;
    margin: 0 auto;
}

/* Grille 4 cartes */
.step3-screenshots-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: stretch;
    gap: 16px;
    margin-bottom: 28px;
}

.step3-card {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
    box-shadow: 0 4px 12px rgba(11, 47, 104, 0.03);
}

.step3-card-title {
    font-size: 1.05rem;
    color: var(--color-navy);
    font-weight: 800;
    margin-bottom: 4px;
}

.step3-card-desc {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    line-height: 1.4;
    margin-bottom: 12px;
    min-height: 54px;
}

/* Format smartphone vertical (Ratio Écran) */
/* Format smartphone vertical (Ratio Écran) */
.step3-img-container {
    width: 100%;
    background-color: #f8fafc;
    border: 1px solid var(--color-border); /* Bordure fine et propre au lieu des pointillés */
    border-radius: 12px;
    overflow: hidden;
    margin-top: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Style de l'image de capture d'écran */
.step3-screenshot-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}


/* Carte Vert Clair */
.success-banner-card {
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 14px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
}

.success-icon-badge {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.success-banner-text strong {
    display: block;
    font-size: 0.98rem;
    color: #166534;
    margin-bottom: 2px;
}

.success-banner-text p {
    font-size: 0.85rem;
    color: #15803d;
    margin: 0;
}

@media (max-width: 868px) {
    .step3-screenshots-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .step3-screenshots-grid {
        grid-template-columns: 1fr;
    }
}
/* ==========================================================================
   STEP 4 - EXACT MATCH WITH HERO PHOTO & CONTACT FORM
   ========================================================================== */

/* Carte Hero Supérieure avec photo de fond */
.step4-hero-card {
    position: relative;
    width: 100%;
    min-height: 520px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 24px;
    padding: 44px 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    box-shadow: 0 10px 30px rgba(11, 47, 104, 0.08);
    background-color: #f8fafc;
    background-image: 
        linear-gradient(to right, 
            rgba(255, 255, 255, 0.96) 0%, 
            rgba(255, 255, 255, 0.92) 50%, 
            rgba(255, 255, 255, 0.35) 75%,
            rgba(255, 255, 255, 0.05) 100%), 
        url('images/step4-hero-photo.jpeg');
    background-position: right 10% center;
    background-size: cover;
    background-repeat: no-repeat;
}

.step4-hero-content {
    max-width: 520px;
    z-index: 2;
}

.step4-main-title {
    font-size: 2.5rem;
    color: var(--color-navy);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 4px;
}

.step4-sub-title {
    font-size: 1.8rem;
    color: var(--color-navy);
    font-weight: 800;
    margin-bottom: 8px;
}

.step4-body-text {
    font-size: 1.05rem;
    color: var(--color-navy);
    font-weight: 600;
    margin-bottom: 8px;
}

.step4-faq-link {
    display: inline-block;
    color: #2563eb;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: underline;
    margin-bottom: 24px;
}

/* Badge Vert de Confirmation */
.step4-confirmation-badge {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.badge-check-circle {
    width: 32px;
    height: 32px;
    background-color: var(--color-mint);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.badge-text strong {
    display: block;
    color: #166534;
    font-size: 0.92rem;
}

.badge-text p {
    color: #15803d;
    font-size: 0.82rem;
    margin: 0;
}

.step4-handwritten-tag {
    font-family: var(--font-handwritten);
    font-size: 2rem;
    color: var(--color-navy);
    line-height: 1.15;
    transform: rotate(-4deg);
    font-weight: 700;
    z-index: 2;
    text-align: right;
}

/* Section Formulaire de Contact */
.step4-contact-card {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
}

.contact-card-header {
    display: flex;
    gap: 14px;
    margin-bottom: 16px;
}

.contact-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.contact-card-header h3 {
    font-size: 1.1rem;
    color: var(--color-navy);
    font-weight: 800;
    margin-bottom: 2px;
}

.contact-card-header p {
    font-size: 0.88rem;
    color: var(--color-text-muted);
}

.step4-contact-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.step4-contact-form textarea {
    width: 100%;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 12px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    resize: none;
}

.form-group-bottom {
    display: flex;
    gap: 12px;
}

.email-input {
    flex: 1;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.9rem;
}

.send-btn {
    padding: 10px 28px;
    font-size: 0.95rem;
}

.form-disclaimer {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    display: block;
    margin-top: 8px;
}

/* Section FAQ Box */
.step4-faq-box {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 16px;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-box-content {
    display: flex;
    align-items: center;
    gap: 14px;
}

.faq-icon {
    font-size: 1.8rem;
}

.faq-box-content h3 {
    font-size: 1.05rem;
    color: var(--color-navy);
    font-weight: 800;
}

.faq-box-content p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.faq-button-link {
    color: #2563eb;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.95rem;
}

.faq-button-link:hover {
    text-decoration: underline;
}

@media (max-width: 640px) {
    .step4-hero-card { 
        flex-direction: column; 
        height: auto; 
        min-height: auto;
        padding: 32px 20px;
        background-image: 
            linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.92)), 
            url('images/step4-hero-photo.jpeg');
        background-position: center;
        background-size: cover;
    }
    .step4-hero-content {
        max-width: 100%;
    }
    .form-group-bottom { flex-direction: column; }
    .step4-faq-box { flex-direction: column; align-items: flex-start; gap: 12px; }
    .step4-handwritten-tag { margin-top: 20px; align-self: flex-end; }
}
/* ==========================================================================
   SITE HEADER NAVIGATION LINKS & RESPONSIVENESS
   ========================================================================== */

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

.nav-link {
    color: var(--color-navy);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

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

.lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.lang-switcher a {
    color: var(--color-navy);
    text-decoration: none;
    transition: color 0.2s ease;
}

.lang-switcher a:hover {
    color: var(--color-mint);
}

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

/* Alignement En-tête Navigation + Progression */
.step-progress-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
}

@media (max-width: 768px) {
    .site-header {
        padding: 14px 0 !important;
    }

    .header-container {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 12px !important;
    }

    .logo-group {
        justify-content: center !important;
        text-align: left;
    }

    .header-actions {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 10px !important;
        width: 100% !important;
    }

    .header-actions .step-progress-indicator {
        order: 1 !important;
        margin: 2px auto !important;
        justify-content: center !important;
    }

    .header-actions .main-nav-menu {
        order: 2 !important;
    }

    .main-nav-menu {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 10px 16px !important;
        width: 100% !important;
        font-size: 0.9rem !important;
    }

    .main-nav-menu .lang-switcher {
        margin-right: 0 !important;
    }

    .main-nav-menu .nav-link {
        font-size: 0.9rem !important;
    }

    .main-nav-menu .btn-primary {
        padding: 8px 18px !important;
        font-size: 0.9rem !important;
    }

    .step-progress-indicator {
        justify-content: center !important;
        margin: 2px auto !important;
    }
}
/* ==========================================================================
   MULTI-COLUMN FOOTER STYLES
   ========================================================================== */

.site-footer {
    background-color: var(--color-navy);
    color: #ffffff;
    padding: 50px 0 30px;
    margin-top: 60px;
}

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

.footer-logo-group {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.footer-brand-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff !important;
}

.footer-brand-desc {
    font-size: 0.9rem;
    color: #e2e8f0 !important;
    line-height: 1.6;
    max-width: 340px;
}

.footer-col-links h4 {
    font-size: 0.95rem;
    color: #ffffff !important;
    font-weight: 700;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

.footer-col-links li {
    margin-bottom: 10px;
}

.footer-col-links a {
    color: #ffffff !important;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-block;
    transition: color 0.2s ease;
}

.footer-col-links a:hover,
.footer-col-links a:focus {
    color: #f59e0b !important;
    text-decoration: underline;
    opacity: 1 !important;
}

.footer-bottom-divider {
    height: 1px;
    background-color: rgba(226, 232, 240, 0.25);
    margin: 30px 0 24px;
}

.footer-legal-notice p {
    font-size: 0.8rem;
    color: #cbd5e1 !important;
    line-height: 1.6;
    margin-bottom: 12px;
}

.footer-legal-notice strong {
    color: #ffffff !important;
    font-weight: 700;
}

.footer-copyright {
    text-align: center;
    margin-top: 16px;
    font-size: 0.82rem !important;
    color: #e2e8f0 !important;
    opacity: 1 !important;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}
/* ==========================================================================
   STEFAN STYLED CIRCULAR CONTROLS & GOLD COLOR HARMONIZATION
   ========================================================================== */

/* Conteneur de la valeur encadrée avec les boutons ronds */
.calc-value-display-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

/* Boutons ronds verts (+ et -) */
.btn-circle-control {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #065f46; /* Vert Stefan */
    color: #ffffff;
    border: none;
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    user-select: none;
    flex-shrink: 0;
}

.btn-circle-control:hover {
    background-color: #047857;
    transform: scale(1.05);
}

.btn-circle-control:active {
    transform: scale(0.95);
}

/* Boîte blanche encadrée pour le chiffre */
.calc-number-badge {
    flex: 1;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 8px 16px;
    text-align: center;
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.03);
}

/* Couleur Gold uniforme */
.color-gold-text {
    color: #d97706 !important;
}

.color-gold-bg {
    background-color: #d97706 !important;
}
/* ==========================================================================
   STEP 1 INVESTMENT CALCULATOR CARDS LAYOUT
   ========================================================================== */

.calculator-card {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 8px 24px rgba(11, 47, 104, 0.04);
    margin-bottom: 36px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.calc-sliders-grid,
.calc-inputs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 28px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.calc-control-group,
.control-box {
    background: #f8fafc;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    padding: 18px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.calc-results-section {
    background: #f8fafc;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    padding: 24px;
    position: relative;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.calc-breakdown-totals {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 14px;
    text-align: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

@media (max-width: 640px) {
    .calc-sliders-grid,
    .calc-inputs-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .calculator-card {
        padding: 20px 14px !important;
        border-radius: 14px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .calc-control-group,
    .control-box {
        padding: 16px 14px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .calc-results-section {
        padding: 16px 12px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .calc-breakdown-totals {
        gap: 10px !important;
        padding: 12px 8px !important;
    }
}

/* ==========================================================================
   FIX SVG CHART HEIGHT & RESPONSIVENESS
   ========================================================================== */

.svg-chart-container {
    position: relative;
    width: 100%;
    height: 220px !important; /* Force la hauteur à 220px */
    margin-top: 10px;
    margin-bottom: 20px;
}

#compounding-chart {
    width: 100% !important;
    height: 100% !important;
    display: block;
    overflow: visible;
}
/* ==========================================================================
   FORCE FULL WIDTH LANDING CHART (Pas pour les fourmis !)
   ========================================================================== */

.calculator-section .chart-inner-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.calculator-section .svg-chart-container {
    width: 100% !important;
    max-width: 100% !important;
    height: 380px !important; /* Hauteur généreuse */
}

.calculator-section svg#compounding-chart {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
}
.svg-chart-container {
    position: relative;
    width: 100%;
    height: 330px !important; /* Augmenté de 50% */
    margin-top: 15px;
    margin-bottom: 20px;
}

#compounding-chart {
    width: 100% !important;
    height: 100% !important;
    display: block;
    overflow: visible;
}
/* ==========================================================================
   STEP 2 PAGE STYLES
   ========================================================================== */

.step2-hero-card {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 40px auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.step2-hero-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}
/* Style du logo Footer */
.footer-logo-img {
    height: 36px; /* Ajustez la hauteur souhaitée (ex: 32px à 40px) */
    width: auto;  /* Conserve les proportions d'origine de l'image */
    display: block;
    object-fit: contain;
}
/* Photo de profil Stefan - Page About */
.stefan-avatar {
    width: 144px;           /* Taille augmentée de 20% (avant: 120px) */
    height: 144px;          /* Taille augmentée de 20% */
    border-radius: 50%;
    
    /* Cadrage de l'image */
    object-fit: cover;
    object-position: center 15%; /* Décale la photo vers le bas dans le médaillon ! */
    
    display: block;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
/* ==========================================
   CORRECTIF RESPONSIVE MOBILE CIBLÉ
   ========================================== */
/* ==========================================
   SECTION PATH TO BECOMING AN INVESTOR
   ========================================== */

.steps-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    position: relative;
}

.handwritten-tag {
    font-family: 'Caveat', cursive;
    color: #0b2f68;
    font-size: 1.4rem;
    font-weight: 700;
    text-align: center;
}

.step4-tag {
    position: absolute;
    bottom: calc(100% + 4px);
    left: 50%;
    transform: translateX(-15%);
    white-space: nowrap;
    pointer-events: none;
    z-index: 10;
}

.steps-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

.timeline-line {
    position: absolute;
    top: 32px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: #cbd5e1;
    z-index: 1;
}

.step-item {
    position: relative;
    z-index: 2;
    padding: 0 10px;
}

@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }

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

    /* 1. Typographie mobile */
    .hero-title, h1 { font-size: 1.8rem !important; line-height: 1.2 !important; }
    .section-header h2, h2 { font-size: 1.4rem !important; line-height: 1.25 !important; }

    /* 2. Section 4 Étapes */
    .steps-header {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 12px !important;
        margin-bottom: 24px !important;
    }

    .handwritten-tag:not(.step4-tag) {
        right: 0 !important;
        margin-top: 4px !important;
    }

    .step4-tag {
        bottom: calc(100% + 4px) !important;
        left: 50% !important;
        transform: translateX(-15%) !important;
        right: auto !important;
        margin-top: 0 !important;
    }

    .steps-timeline {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 32px !important;
        width: 100% !important;
    }

    .step-item {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
    }

    .timeline-line {
        display: none !important;
    }
   .hero-section {
        background-image: none !important;
    }

    .hero-mobile-img {
    display: none !important;
}

    /* 3. Calculateur SVG, Annotation & Badge bleu */
    .calculator-section .svg-chart-container,
    .svg-chart-container {
        height: 220px !important;
        margin-top: 10px !important;
        margin-bottom: 15px !important;
    }

    .chart-inner-wrapper {
        padding: 16px 14px !important;
    }

    .chart-value-badge {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        margin: 0 auto 12px auto !important;
        display: block !important;
        text-align: center !important;
    }

    .handwritten-note-annotation {
        top: 50px !important;
        left: 32% !important;
        font-size: 1.05rem !important;
    }

    .handwritten-arrow-svg {
        width: 45px !important;
        height: 38px !important;
        margin-left: 8px !important;
    }

    /* 4. En-tête Logo mobile responsive */
    .site-header .logo-group img,
    .logo-group img,
    .header-logo-img {
        width: 58px !important;
        height: 58px !important;
    }

    /* 5. Boutons CTA */
    div[style*="justify-content: center"] {
        display: flex !important;
        justify-content: center !important;
        width: 100% !important;
        margin-top: 30px !important;
        margin-bottom: 20px !important;
    }

    div[style*="justify-content: center"] a {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
}
/* ==========================================
   CORRECTIF RESPONSIVE FOOTER (MOBILE & PAYSAGE)
   ========================================== */

/* 1. Recadrage de l'image / logo du footer */
footer img,
.footer img,
.footer-logo,
footer div:has(> img) {
  max-width: 120px !important;
  height: auto !important;
  object-fit: contain !important;
  margin-bottom: 1rem !important;
}

/* 2. Restructuration des colonnes du footer sur mobile (mode vertical) */
.hero-mobile-img {
    display: none !important;
}
@media (max-width: 768px) {
   .hero-section {
        background-image: none !important;
    }

    .hero-mobile-img {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        border-radius: 16px !important;
        margin-top: 20px !important;
    }
  footer,
  .footer,
  .footer-content,
  .footer-grid,
  .footer-container {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 1.5rem !important;
    padding: 2rem 1.5rem !important;
    position: relative !important;
  }

  footer .footer-column,
  footer .footer-section,
  footer div {
    width: 100% !important;
    max-width: 100% !important;
    position: static !important; /* Évite que les textes se chevauchent */
  }

  footer h3, footer h4, footer p, footer a {
    position: static !important;
    word-break: break-word !important;
  }
}

/* 3. Correctif spécifique pour mobile en mode horizontal (paysage) */
@media (max-width: 900px) and (max-height: 500px) {
  footer img,
  .footer img {
    max-width: 80px !important;
  }

  footer,
  .footer-grid,
  .footer-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
  }
   .hero-mobile-img {
    display: none;
}
   
}

/* 4. Optimisation pour petits écrans mobiles */
@media (max-width: 480px) {
  .site-header .logo-group img,
  .logo-group img,
  .header-logo-img {
    width: 50px !important;
    height: 50px !important;
  }
  .logo-tagline {
    font-size: 0.72rem !important;
  }
  .handwritten-note-annotation {
    display: none !important;
  }
  .main-nav-menu {
    gap: 8px 12px !important;
    font-size: 0.85rem !important;
  }
  .main-nav-menu .btn-primary {
    width: 100% !important;
    max-width: 260px !important;
    text-align: center !important;
    justify-content: center !important;
  }
}


/* About Bio Text Dynamic Content */
.about-bio-text h3 {
    margin-top: 25px;
    margin-bottom: 10px;
    color: var(--color-navy, #1e293b);
}

.about-bio-text p {
    margin-bottom: 16px;
    line-height: 1.6;
    color: var(--color-text-main, #334155);
}

.about-bio-text ul {
    margin-bottom: 20px;
    padding-left: 20px;
    line-height: 1.6;
}

.about-bio-text li {
    margin-bottom: 8px;
}


/* FAQ Dynamic Content */
.faq-answer p {
    margin-bottom: 12px;
    line-height: 1.6;
}
.faq-answer p:last-child {
    margin-bottom: 0;
}
.faq-answer ul {
    margin-bottom: 12px;
    padding-left: 20px;
    line-height: 1.6;
}
.faq-answer li {
    margin-bottom: 6px;
}

