/* ==========================================================================
   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: 12px;
}

.logo-goose-svg {
    filter: drop-shadow(0px 2px 4px rgba(217, 119, 6, 0.3));
    transition: transform 0.2s ease;
}

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

.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 130px;
    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, 1) 40%, 
            rgba(251, 252, 254, 0.48) 55%,
            rgba(251, 252, 254, 0) 100%
        ), 
        url('images/golden-goose-hero.png') !important;

    /* On cale l'image à droite sans qu'elle dépasse une taille raisonnable */
    background-position: left top, right 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: -80px;
    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: absolute;
    top: 15px;
    right: 200px;
    background: #064e3b;
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.82rem;
    text-align: center;
    box-shadow: 0 4px 10px rgba(6, 78, 59, 0.2);
    z-index: 5;
    line-height: 1.25;
}

.handwritten-note-annotation {
    position: absolute;
    top: 55px;
    right: 330px;
    font-family: var(--font-handwritten);
    font-size: 1.2rem;
    color: var(--color-navy);
    line-height: 1.15;
    transform: rotate(-4deg);
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.handwritten-arrow-svg {
    width: 40px;
    height: 30px;
    margin-top: 2px;
    margin-right: -25px;
}

.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: #94a3b8; }

@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; }
}
/* ==========================================================================
   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;
}

.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);
    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;
    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: 38px;
}

/* 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: 420px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 24px;
    padding: 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.95) 0%, 
            rgba(255, 255, 255, 0.8) 45%, 
            rgba(255, 255, 255, 0.2) 75%), 
        url('https://images.unsplash.com/photo-1506744038136-46273834b3fb?auto=format&fit=crop&w=1200&q=80');
    background-position: center right;
    background-size: cover;
    background-repeat: no-repeat;
}

.step4-hero-content {
    max-width: 460px;
    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; }
    .form-group-bottom { flex-direction: column; }
    .step4-faq-box { flex-direction: column; align-items: flex-start; gap: 12px; }
}
/* ==========================================================================
   SITE HEADER NAVIGATION LINKS
   ========================================================================== */

.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);
}

@media (max-width: 640px) {
    .header-container {
        flex-direction: column;
        gap: 12px;
    }
    .main-nav-menu {
        gap: 14px;
        font-size: 0.88rem;
    }
}
/* Alignement En-tête Navigation + Progression */
.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);
}

.step-progress-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
}

@media (max-width: 768px) {
    .main-nav-menu {
        display: none; /* Masque les liens textes sur mobile pour privilégier l'indicateur de progression */
    }
}
/* ==========================================================================
   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: 10px;
    margin-bottom: 12px;
}

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

.footer-brand-desc {
    font-size: 0.88rem;
    color: #94a3b8;
    line-height: 1.5;
    max-width: 320px;
}

.footer-col-links h4 {
    font-size: 0.95rem;
    color: #ffffff;
    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: #94a3b8;
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.2s ease;
}

.footer-col-links a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-bottom-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    margin: 30px 0 24px;
}

.footer-legal-notice p {
    font-size: 0.78rem;
    color: #94a3b8;
    line-height: 1.5;
    margin-bottom: 12px;
}

.footer-copyright {
    text-align: center;
    margin-top: 16px;
    font-size: 0.82rem !important;
    color: #64748b !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;
}
/* ==========================================================================
   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);
}
