:root {
    /* --- VARIABLES UNIFIÉES --- */
    --primary-blue: #b0bcd4;
    --primary-blue-light: rgba(176, 188, 212, 0.15);
    --accent-blue: #0f172a;
    --text-main: #111111;
    --text-soft: #4a4a4a;
    --text-muted: #94a3b8;
    --border-color: #eef2f8;
    --bg-page: #ffffff;
    --bg-card: #f9fbff;
    --neutral-bg: #f8fafc;
    --radius-card: 16px;
    --radius-signature: 16px;
    --overlay: rgba(15, 23, 42, 0.4);

    --font-heading: 'Lexend Deca', sans-serif;
    --font-body: 'Jost', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: #ffffff !important;
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navbar */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 24px 0;
    z-index: 100;
    transition: all 0.3s ease;
    background: #ffffff;
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-main);
    font-weight: 800;
    font-size: 1.1rem;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background-color: var(--text-main);
    color: #ffffff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-soft);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--text-main);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.05rem;
    cursor: pointer;
    border: none;
}

.btn-sm {
    padding: 12px 24px;
    font-size: 0.95rem;
}

.btn-primary {
    background-color: var(--brand-cta-light);
    color: var(--text-main);
}

.btn-primary:hover {
    background-color: var(--brand-cta-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(182, 196, 221, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--text-main);
    background-color: var(--bg-card);
    transform: translateY(-2px);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-main);
}

.mobile-cta {
    display: none;
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-content {
    max-width: 680px;
}

.hero-tag {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--text-soft);
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-tag .mobile-only {
    display: none;
}

@media (max-width: 480px) {
    .hero-tag .desktop-only {
        display: none;
    }

    .hero-tag .mobile-only {
        display: inline;
    }

    .hero-title {
        font-size: 2.25rem;
        line-height: 1.05;
        margin-bottom: 20px;
    }

    .hero-tag {
        margin-bottom: 20px;
    }

    .hero-buttons {
        gap: 12px;
    }

    .container {
        padding: 0 20px;
    }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    color: var(--text-main);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-soft);
    margin-bottom: 48px;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.hero-buttons .btn {
    padding: 16px 24px;
    font-size: 1rem;
    white-space: nowrap;
}

.btn svg {
    transition: transform 0.3s ease;
}

.btn:hover svg {
    transform: translateX(4px);
}

/* Hero Image */
.hero-image-wrapper {
    position: relative;
    opacity: 0;
    transform: translateX(30px);
    animation: fadeLeft 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
    width: 100%;
    height: 100%;
}

.main-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: var(--radius-card);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
    display: block;
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeLeft {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 2.85rem;
    }

    .hero-container {
        gap: 40px;
    }
}

@media (max-width: 992px) {

    .nav-links,
    .nav-actions {
        display: none;
    }

    .mobile-menu-btn {
        display: none;
    }

    .navbar {
        background-color: var(--brand-cta-light) !important;
        border-bottom: none !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
        padding: 16px 0 !important;
    }

    /* Force mobile logo to white to contrast with blue background */
    .navbar .logo img {
        filter: brightness(0) invert(1) !important;
    }

    .mobile-cta {
        display: inline-flex;
        padding: 10px 20px !important;
        font-size: 0.8rem;
        white-space: nowrap;
        width: auto !important;
        max-width: none !important;
        background-color: #ffffff !important;
        color: var(--brand-cta-light) !important;
        border-radius: 999px !important;
        /* Pill shape for app feel */
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1) !important;
        transition: transform 0.2s ease;
    }

    .mobile-cta:active {
        transform: scale(0.96);
    }

    .hero {
        padding: 130px 0 60px;
        text-align: center;
        min-height: auto;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .hero-image-wrapper {
        order: -1;
    }

    .hero-content {
        order: 1;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.1;
    }

    .hero-description {
        font-size: 1.05rem;
        margin-bottom: 24px;
    }

    .hero-content {
        margin: 0 auto;
    }

    .main-image {
        max-height: 220px;
        object-position: top;
    }

    .hero-buttons {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 100%;
        padding: 14px 20px;
        font-size: 0.95rem;
    }
}

/* =========================================
   1. POP-UP (MODAL) - CORRECTIF VISIBILITÉ
   ========================================= */
.modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(15, 23, 42, 0.7) !important;
    backdrop-filter: blur(5px) !important;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999999 !important;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: #ffffff !important;
    width: 90%;
    max-width: 500px;
    padding: 40px;
    border-radius: var(--radius-signature);
    text-align: center;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3) !important;
    position: relative;
    z-index: 1000000 !important;
    transform: scale(1);
    animation: modalAppear 0.3s ease-out;
}

@keyframes modalAppear {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.option-btn {
    padding: 16px 28px;
    border-radius: var(--radius-signature);
    font-weight: 600;
    text-decoration: none;
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.option-calendly {
    background: var(--primary-blue);
    color: var(--bg-page);
}

.option-whatsapp {
    background: var(--bg-page);
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.option-btn:hover {
    transform: translateY(-2px);
}

/* =========================================
   2. SECTION COMPARATIVE
   ========================================= */
.comparison-column {
    flex: 1;
    padding: clamp(24px, 4vw, 40px) clamp(20px, 3vw, 30px);
    border-radius: var(--radius-signature);
    border: 1px solid var(--border-color);
    background-color: var(--bg-card);
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@media (max-width: 991px) {
    .comparison-column.premium {
        background-color: var(--bg-page) !important;
        border-color: var(--primary-blue) !important;
        box-shadow: 0 10px 30px rgba(176, 188, 212, 0.1) !important;
        opacity: 1 !important;
    }
}

@media (min-width: 992px) {
    .comparison-column {
        background-color: transparent;
        border-color: transparent;
        opacity: 0.7;
    }

    .comparison-column:hover {
        opacity: 1;
        border-color: var(--primary-blue);
        background-color: var(--bg-page);
        transform: translateY(-8px);
        box-shadow: 0 20px 40px rgba(176, 188, 212, 0.15);
    }
}

/* =========================================
   3. SECTION FAQ (AJUSTÉE 750px)
   ========================================= */
.faq-section {
    padding: 100px 20px;
    width: 100%;
    max-width: 750px !important;
    margin: 0 auto;
}

.faq-section {
    padding: clamp(45px, 10vw, 100px) 20px;
    max-width: 750px;
    margin: 0 auto;
    font-family: var(--font-body);
}

.faq-header {
    text-align: center;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out;
}

.faq-header.reveal {
    opacity: 1;
    transform: translateY(0);
}

.tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary-blue);
    background: var(--bg-card);
    padding: 6px 16px;
    border-radius: 100px;
    display: inline-block;
    margin-bottom: 20px;
}

.faq-header h2 {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    font-weight: 600;
    letter-spacing: -0.04em;
    color: var(--text-main);
    margin: 0;
}

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

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-signature);
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.faq-item.reveal {
    opacity: 1;
    transform: translateY(0);
}

.faq-item:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 10px 30px rgba(176, 188, 212, 0.1);
}

.faq-question {
    padding: 24px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-main);
    padding-right: 20px;
}

.faq-icon {
    width: 24px;
    height: 24px;
    position: relative;
    flex-shrink: 0;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background: var(--primary-blue);
    border-radius: 2px;
}

.faq-icon::before {
    width: 100%;
    height: 2px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.faq-icon::after {
    width: 2px;
    height: 100%;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 32px;
    color: var(--text-soft);
    line-height: 1.6;
    font-size: 1.05rem;
}

.faq-item.open .faq-answer {
    max-height: 500px;
    padding-bottom: 32px;
    padding-top: 8px;
}

/* =========================================
   4. DATA (BENTO GRID) SECTION
   ========================================= */
.data-section {
    padding: clamp(45px, 10vw, 100px) 20px;
    max-width: 1100px;
    margin: 0 auto;
    font-family: var(--font-body);
}

.data-header {
    text-align: center;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out;
}

.data-header.reveal {
    opacity: 1;
    transform: translateY(0);
}

.data-header h2 {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    font-weight: 600;
    letter-spacing: -0.04em;
    margin-bottom: 16px;
    line-height: 1.1;
    color: var(--text-main);
}

.data-header p {
    color: var(--text-soft);
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.bento-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-card);
    padding: clamp(24px, 4vw, 32px);
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.bento-card.reveal {
    opacity: 1;
    transform: translateY(0);
}

.bento-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-blue);
    box-shadow: 0 20px 40px rgba(176, 188, 212, 0.15);
    background: var(--bg-page);
}

.card-large {
    grid-column: span 2;
}

.card-tall {
    grid-row: span 2;
}

.label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary-blue);
    margin-bottom: 16px;
    display: block;
    opacity: 0.7;
}

.bento-card h3 {
    font-size: clamp(1.2rem, 3vw, 1.4rem);
    font-weight: 700;
    margin: 0 0 12px 0;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

.bento-card .description {
    font-size: 0.95rem;
    color: var(--text-soft);
    line-height: 1.5;
    margin-bottom: 24px;
}

.stat-value {
    font-size: clamp(2.5rem, 8vw, 3.5rem);
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 4px;
    letter-spacing: -0.04em;
}

.vision-text p {
    font-size: clamp(0.9rem, 2vw, 1rem);
    color: var(--text-soft);
    line-height: 1.6;
    margin-bottom: 12px;
}

.vision-text strong {
    color: var(--text-main);
}

/* Responsive Grid */
@media (max-width: 991px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .card-large {
        grid-column: span 2;
    }

    .card-tall {
        grid-row: span 1;
    }
}

@media (max-width: 767px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .card-large {
        grid-column: span 1;
    }

    .data-header {
        margin-bottom: 40px;
    }
}

@media (max-width: 479px) {
    .cert-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .cert-item {
        font-size: 0.75rem;
        padding: 8px;
    }
}

.cert-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cert-item {
    background: var(--bg-page);
    border: 1px solid var(--border-color);
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.check-icon {
    color: var(--primary-blue);
    font-weight: bold;
}

/* =========================================
   5. TIMELINE SECTION
   ========================================= */
.timeline-section {
    padding: clamp(45px, 10vw, 100px) 20px;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    font-family: var(--font-body);
}

.timeline-header {
    text-align: center;
    margin-bottom: clamp(40px, 8vw, 80px);
}

.timeline-header h2 {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.timeline-container {
    position: relative;
    padding-left: clamp(30px, 6vw, 50px);
    margin-bottom: 60px;
}

/* LIGNE VERTICALE */
.timeline-line-bg {
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--border-color);
    z-index: 1;
}

.timeline-line-progress {
    position: absolute;
    left: 10px;
    top: 0;
    width: 2px;
    height: 0%;
    background: linear-gradient(to bottom, var(--primary-blue), var(--primary-blue-light));
    z-index: 2;
    transition: height 0.1s ease-out;
}

/* ITEMS */
.timeline-item {
    position: relative;
    margin-bottom: clamp(40px, 6vw, 60px);
    opacity: 0.3;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
    z-index: 5;
}

.timeline-item.is-active {
    opacity: 1;
    transform: translateY(0);
}

/* POINTS */
.timeline-dot {
    position: absolute;
    left: -31px;
    top: 24px;
    width: 20px;
    height: 20px;
    background-color: var(--bg-page);
    border: 3px solid var(--border-color);
    border-radius: 50%;
    z-index: 3;
    transition: all 0.4s ease;
}

.timeline-item.is-active .timeline-dot {
    border-color: var(--primary-blue);
    background-color: var(--primary-blue);
}

/* CARTES */
.timeline-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: clamp(20px, 4vw, 32px);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    cursor: default;
}

.timeline-card:hover {
    border-color: var(--primary-blue);
    background-color: var(--bg-page);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(176, 188, 212, 0.15);
}

/* --- AJUSTEMENTS LABEL/TITRE --- */
.step-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary-blue);
    display: block;
    margin-bottom: 0px;
    line-height: 1;
}

.timeline-card h3 {
    margin: 0 0 12px 0;
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    font-weight: 700;
}

.timeline-card p {
    margin: 0;
    color: var(--text-soft);
    line-height: 1.5;
    font-size: clamp(0.95rem, 2vw, 1.05rem);
}

/* CTA */
.timeline-footer-cta {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
    margin-top: 20px;
}

.timeline-footer-cta p {
    font-size: clamp(1rem, 3vw, 1.2rem);
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 24px;
    line-height: 1.4;
}

.btn-reminder {
    background-color: var(--primary-blue);
    color: var(--bg-page);
    padding: 16px 28px;
    border-radius: 16px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-reminder:hover {
    background-color: #9ba8c2;
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(176, 188, 212, 0.25);
}

/* --- MEDIA QUERIES (DESKTOP) --- */
@media (min-width: 601px) {

    .timeline-line-bg,
    .timeline-line-progress {
        left: 20px;
    }

    .timeline-dot {
        left: -41px;
    }

    .step-label {
        margin-bottom: 12px;
        line-height: normal;
    }
}

/* =========================================
   6. FINAL CTA SECTION
   ========================================= */
.final-cta-section {
    padding: clamp(45px, 8vw, 100px) 20px;
    max-width: 1100px;
    margin: 0 auto clamp(60px, 10vw, 100px) auto;
    font-family: var(--font-body);
}

.final-cta-card {
    background-color: var(--accent-blue-vibrant);
    /* Utilise la couleur ardoise pour un beau contraste */
    border-radius: var(--radius-card);
    /* 16px */
    padding: clamp(40px, 8vw, 80px) 20px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.final-cta-card.reveal {
    opacity: 1;
    transform: translateY(0);
}

.final-cta-card h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--bg-page);
    margin: 0 0 16px 0;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.final-cta-card p {
    font-size: clamp(1.05rem, 2.5vw, 1.2rem);
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 40px auto;
    line-height: 1.5;
}

.btn-final {
    background-color: var(--brand-cta-light);
    /* Bleu très clair */
    color: var(--bg-page);
    padding: 16px 36px;
    border-radius: 16px;
    font-weight: 600;
    font-size: 1.05rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.btn-final:hover {
    background-color: transparent;
    border-color: var(--brand-cta-light);
    color: var(--brand-cta-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* =========================================
   7. FOOTER SECTION
   ========================================= */
.site-footer {
    background-color: var(--bg-page);
    padding: 80px 5% 40px 5%;
    font-family: var(--font-body);
    border-top: 1px solid var(--border-color);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 60px auto;
}

.footer-brand {
    flex: 1;
    min-width: 250px;
}

.footer-brand h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-main);
    margin: 0 0 12px 0;
}

.footer-brand p {
    font-size: 0.95rem;
    color: var(--text-soft);
    line-height: 1.6;
    margin: 0;
}

.footer-links-group {
    display: flex;
    gap: 80px;
    flex-wrap: wrap;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-col h4 {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-main);
    margin: 0 0 8px 0;
}

.footer-col a {
    font-size: 0.95rem;
    color: var(--text-soft);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: var(--primary-blue);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    font-size: 0.85rem;
    color: var(--text-muted);
}

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

.footer-legal-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-legal-links a:hover {
    color: var(--primary-blue);
}

@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
    }

    .footer-links-group {
        gap: 60px;
        /* Leave space between columns */
        flex-direction: row;
        width: 100%;
        justify-content: flex-start;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .final-cta-card {
        padding: 40px 20px;
    }

    .final-cta-card h2 {
        font-size: 2rem;
        font-weight: 600;
        margin-bottom: 12px;
    }

    .final-cta-card p {
        font-size: 0.95rem;
        margin: 0 16px 24px 16px;
        line-height: 1.4;
    }

    .final-cta-card .btn-final {
        padding: 14px 20px;
        font-size: 0.9rem;
        width: 100%;
        max-width: 300px;
        /* Constrain slightly to avoid stretching too wide on landscape */
        white-space: nowrap;
        /* Force one line */
    }

    /* Calculator Mobile Simplification */
    .calculator-card {
        padding: 24px 16px;
    }

    .inp-group input {
        font-size: 1rem;
        padding: 10px;
    }

    .inp-label {
        font-size: 0.85rem;
        margin-bottom: 6px;
    }

    .adv-toggle {
        font-size: 0.85rem;
        padding: 12px 10px;
    }

    .adv-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .bar-row {
        gap: 12px;
        margin-bottom: 12px;
    }

    .bar-lbl {
        font-size: 0.8rem;
        width: 60px;
    }

    .visu-area {
        padding: 16px;
        margin-bottom: 24px;
    }

    .choice-card {
        padding: 20px 16px;
    }

    .choice-card p {
        display: none;
        /* Hide descriptive text on mobile to save vertical space */
    }

    .choice-card span:nth-of-type(1) {
        margin-bottom: 8px !important;
    }

    .choice-card span:nth-of-type(2) {
        margin-bottom: 16px !important;
    }
}

/* =========================================
   MOBILE-FIRST OPTIMIZATION (< 767px)
   Aérer l'ensemble du site pour mobile
   ========================================= */
@media (max-width: 767px) {

    /* --- HERO TAG --- */
    .hero-tag {
        margin-bottom: 16px;
        padding: 6px 12px;
        font-size: 0.7rem;
    }

    /* --- SECTION COMPARATIVE --- */
    .comparison-section {
        padding: 70px 20px !important;
    }

    .comparison-section .section-header {
        margin-bottom: 24px;
    }

    .comparison-section .section-header h2 {
        font-size: 1.5rem;
    }

    .comparison-section .section-intro {
        font-size: 0.95rem;
    }

    .comparison-column {
        padding: 20px 16px !important;
    }

    .comparison-container {
        gap: 14px;
    }

    .col-title {
        font-size: 1.1rem !important;
    }

    .col-subtitle {
        font-size: 0.9rem;
        margin-bottom: 14px;
    }

    .comparison-list li {
        font-size: 0.95rem;
        margin-bottom: 10px;
    }

    .result-box {
        padding: 14px;
        font-size: 0.9rem;
    }

    /* --- CALCULATEUR / SIMULATEUR --- */
    #section-simulation {
        padding: 70px 20px !important;
    }

    #section-simulation .section-header {
        margin-bottom: 24px;
    }

    #section-simulation .section-header h2 {
        font-size: 1.5rem;
    }

    #section-simulation .section-header p {
        font-size: 0.95rem;
    }

    .slider-box {
        padding: 18px 14px;
    }

    .res-box {
        padding: 8px 0 20px 0;
    }

    .res-val {
        font-size: 2rem !important;
    }

    .persuasion {
        font-size: 0.9rem;
        margin: 20px 0;
    }

    /* --- TIMELINE / MÉTHODE --- */
    .timeline-section {
        padding: 70px 20px !important;
    }

    .timeline-header {
        margin-bottom: 30px;
    }

    .timeline-header h2 {
        font-size: 1.5rem;
    }

    .timeline-item {
        margin-bottom: 24px;
    }

    .timeline-card {
        padding: 16px 14px;
    }

    .timeline-card h3 {
        font-size: 1rem;
        margin-bottom: 8px;
    }

    .timeline-card p {
        font-size: 0.9rem;
    }

    .timeline-footer-cta {
        padding-top: 24px;
        margin-top: 10px;
    }

    .timeline-footer-cta p {
        font-size: 0.95rem;
        margin-bottom: 16px;
    }

    .btn-reminder {
        padding: 14px 22px;
        font-size: 0.9rem;
    }

    /* --- SECTION ENGAGEMENT --- */
    .engagement-section {
        padding: 80px 20px !important;
    }

    .engagement-section h2 {
        font-size: 1.5rem !important;
        margin-bottom: 16px !important;
    }

    .engagement-section p {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
    }

    /* --- BENTO GRID / EXPERTISE --- */
    .data-section {
        padding: 70px 20px !important;
    }

    .data-header {
        margin-bottom: 24px;
    }

    .data-header h2 {
        font-size: 1.5rem;
    }

    .bento-card {
        padding: 20px 16px;
    }

    .bento-card h3 {
        font-size: 1.1rem;
    }

    .bento-card .description {
        font-size: 0.9rem;
        margin-bottom: 16px;
    }

    .stat-value {
        font-size: 2.2rem;
    }

    .bento-grid {
        gap: 14px;
    }

    /* --- FAQ --- */
    .faq-section {
        padding: 70px 20px !important;
    }

    .faq-header {
        margin-bottom: 30px;
    }

    .faq-header h2 {
        font-size: 1.5rem;
    }

    .faq-container {
        gap: 10px;
    }

    .faq-question {
        padding: 18px 16px;
    }

    .faq-question h3 {
        font-size: 0.95rem;
        padding-right: 12px;
    }

    .faq-answer {
        padding: 0 16px;
        font-size: 0.95rem;
    }

    .faq-item.open .faq-answer {
        padding-bottom: 20px;
    }

    /* --- FINAL CTA --- */
    .final-cta-section {
        padding: 70px 20px !important;
        margin-bottom: 20px;
    }

    .final-cta-card h2 {
        font-size: 1.6rem;
    }

    /* --- FOOTER --- */
    .site-footer {
        padding: 60px 5% 30px 5%;
    }

    .footer-top {
        margin-bottom: 30px;
        gap: 24px;
    }

    .footer-bottom {
        padding-top: 20px;
    }
}