/* ============================================
   RESET & BASE STYLES
   ============================================ */

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

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #FDFDFC;
    color: #0C1B33;
    line-height: 1.5;
    margin: 0;
    overflow-x: hidden;
    /* Empêche le scroll horizontal */
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   CSS VARIABLES - DESIGN SYSTEM
   ============================================ */

:root {
    /* Colors */
    --neutral-white: #FDFDFC;
    --neutral-black: #0C1B33;
    --neutral-softer: #F2EFEA;
    --neutral-soft: #E3DFDA;
    --neutral-dark: #84807D;
    --primary-main: #046865;
    --primary-dark: #005752;
    --primary-darker: #003F3A;
    --secondary-main: #D67A63;
    --secondary-dark: #C35B4F;

    /* Spacing */
    --spacing-2: 2px;
    --spacing-4: 4px;
    --spacing-8: 8px;
    --spacing-12: 12px;
    --spacing-16: 16px;
    --spacing-24: 24px;
    --spacing-32: 32px;
    --spacing-40: 40px;
    --spacing-48: 48px;
    --spacing-56: 56px;
    --spacing-64: 64px;
    --spacing-72: 72px;
    --spacing-80: 80px;
    --spacing-88: 88px;
    --spacing-96: 96px;

    /* Container */
    --container-max-width: 1200px;
    /* 1320px */
    --container-padding: 0px;
}

/* ============================================
   TYPOGRAPHY SYSTEM
   ============================================ */





.display-xlarge {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 80px;
    line-height: 104px;
    font-weight: 700;
}

.display-large {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 56px;
    line-height: 72px;
    font-weight: 700;
}

.display-medium {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 32px;
    line-height: 48px;
    font-weight: 700;
}

.h1 {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 24px;
    line-height: 32px;
    font-weight: 700;
}

.h2 {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 20px;
    line-height: 24px;
    font-weight: 700;
}

.h3 {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 18px;
    line-height: 28px;
    font-weight: 700;
}

.body-large {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 18px;
    line-height: 28px;
    font-weight: 500;
}

.body-medium {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
}

.body-medium-bold {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 16px;
    line-height: 24px;
    font-weight: 700;
}

.label-large-semibold {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 18px;
    line-height: 28px;
    font-weight: 600;
}

.label-medium-semibold {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
}

.label-medium-bold {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 16px;
    line-height: 24px;
    font-weight: 700;
}

.label-small-regular {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 14px;
    line-height: 18px;
    font-weight: 500;
}

.label-small-semibold {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 14px;
    line-height: 18px;
    font-weight: 600;
}

.label-xsmall-semibold {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 12px;
    line-height: 16px;
    font-weight: 600;
}

.label-xsmall-bold {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 12px;
    line-height: 16px;
    font-weight: 700;
}


/* Desktop Typography 768px */
@media (min-width: 1024px) {
    .display-xlarge {
        font-size: 104px;
        line-height: 136px;
    }

    .display-large {
        font-size: 72px;
        line-height: 96px;
    }

    .display-medium {
        font-size: 40px;
        line-height: 56px;
    }

    .h1 {
        font-size: 32px;
        line-height: 48px;
    }

    .h2 {
        font-size: 24px;
        line-height: 32px;
    }

    .h3 {
        font-size: 20px;
        line-height: 24px;
    }
}





/* ============================================
   BUTTON COMPONENT
   ============================================ */

.btn {
    display: inline-block;
    padding: 12px 16px;
    border-radius: 8px;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

/* Primary Button */
.btn-primary {
    background-color: var(--primary-main);
    color: var(--neutral-white);
}

@media (min-width: 768px) {
    .btn-primary:hover {
        background-color: var(--primary-dark);
        box-shadow: 0 4px 12px rgba(0, 63, 58, 0.4);
    }
}

.btn-primary:active {
    background-color: var(--primary-darker);
    box-shadow: none;
}

/* Secondary Button */
.btn-secondary {
    background-color: var(--neutral-softer);
    color: var(--primary-main);
}

@media (min-width: 768px) {
    .btn-secondary:hover {
        background-color: var(--neutral-soft);
        box-shadow: 0 4px 12px rgba(132, 128, 125, 0.4);
    }
}

.btn-secondary:active {
    background-color: var(--neutral-soft);
    box-shadow: none;
}

/* Accent Button */
.btn-accent {
    background-color: var(--neutral-white);
    color: var(--secondary-dark);
}

@media (min-width: 768px) {
    .btn-accent:hover {
        background-color: var(--neutral-softer);
        box-shadow: 0 4px 12px rgba(132, 128, 125, 0.4);
    }
}

.btn-accent:active {
    background-color: var(--neutral-soft);
    box-shadow: none;
}

/* ============================================
   BADGE COMPONENT
   ============================================ */

.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999999px;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    color: var(--secondary-dark);
    border: 2px solid var(--secondary-dark);
    background-color: transparent;
}

/* ============================================
   LAYOUT UTILITIES
   ============================================ */

.container {
    padding: 0 var(--spacing-16);
}

.section {
    padding: var(--spacing-40) 0;
}

/* 768px */
@media (min-width: 480px) {
    .section {
        padding: var(--spacing-40) 0;
    }
}

@media (min-width: 480px) {
    .container {
        max-width: var(--container-max-width);
        margin: 0 auto;
        padding: 0 var(--spacing-40);
    }
}

@media (min-width: 768px) {
    .section {
        padding: var(--spacing-40) 0;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: var(--container-max-width);
        margin: 0 auto;
        padding: 0 var(--spacing-80);
    }
}

/* ============================================
   SECTION STYLES
   ============================================ */

/* Top Bar */
.top-bar {
    position: fixed;
    /* rend la top bar “fixe” à l’écran */
    top: 0;
    /* place la barre en haut */
    left: 0;
    right: 0;
    /* commence à gauche */
    width: 100%;
    /* prend toute la largeur */
    height: 80px;
    /* fixe la hauteur */
    z-index: 1000;
    /* la met au-dessus du contenu */
    background-color: var(--neutral-white);
    padding: var(--spacing-16) 0;
    transition: box-shadow 0.2s ease;
}

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

.top-bar.is-scrolled {
    box-shadow: 0 4px 12px rgba(132, 128, 125, 0.4);
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    padding: 0 0px; /* zone de protection */
}

.logo img {
    /* max-height: 32px; */
    height: 40px;
    width: auto;
    display: block;
}


@media (max-width: 768px) {
    .top-bar .btn .full-text {
        display: none;
    }

    .top-bar .btn::before {
        content: attr(data-short);
    }

    .logo img {
    /* max-height: 32px; */
    height: 32px;
}
}






/* Hero Section */
.hero-section {
    background-color: var(--neutral-white);
    padding-top: var(--spacing-80);
    padding-bottom: var(--spacing-40);
    overflow-x: clip;
    /* Permet au contenu de dépasser sans scroll */
}

.hero-inner {
    position: relative;
}

.hero-layout {
    display: grid;
    /* grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); */
    grid-template-columns: 1fr 1fr;
    /* align-items: center; */
}

/* Colonne gauche */
.hero-left {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.hero-content {
    text-align: left;
    padding-left: 0px;
    padding-right: 40px;
}

.hero-content .badge {
    margin-bottom: var(--spacing-24);
}

.hero-content h1 {
    margin-bottom: var(--spacing-24);
}

.hero-content p {
    margin-bottom: var(--spacing-32);
}

.hero-proof {
    margin-top: var(--spacing-24);
    display: flex;
    gap: var(--spacing-24);
}

.hero-proof-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-8);
}

.hero-proof-item::before {
    content: "";
    width: 24px;
    height: 24px;
    background-image: url("assets/illustration-check.svg");
    background-size: contain;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

/* Colonne droite : fond vert plein écran */
.hero-right {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 12px 0px 12px 12px;
    margin-right: -50vw;
    padding-right: 50vw;
    height: fit-content;
    /* max-height: 448px; */
}



/* Le fond vert qui s'étend */
.hero-right::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--primary-main);
    border-radius: 16px 0px 0px 16px;
    z-index: 0;
}

/* Vidéo alignée proprement */
.hero-video-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    z-index: 1;
    height: 100%;
}


.hero-video {
    /* width: 100%; */
    height: 100%;
    /* max-height: 448px; */
    width: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-position: bottom;
    /* object-fit: cover; */
    object-fit: contain;
    pointer-events: none;
}




/* Desktop : le saut de ligne existe */
.br-desktop {
    display: inline;
}

@media (max-width: 1200px) {
    .br-desktop {
        display: none;
    }
}

/* 768px */
@media (max-width: 920px) {


    .hero-content {
        padding-right: 0px;
    }

    .hero-content .badge {
        margin-top: 8px;
        margin-bottom: 16px;
    }

    .hero-content h1 {
        margin-bottom: 16px;
    }

    .hero-content p {
        margin-bottom: 24px;
    }



    .br-desktop {
        display: none;
    }

    /* Structure */
    .hero-layout {
        grid-template-columns: 1fr;
        row-gap: 32px;
    }

    /* Ordre des blocs */
    .hero-left {
        order: 1;
        justify-content: flex-start;
    }

    .hero-right {
        order: 2;
        padding: 8px;
        background-color: var(--primary-main);
        border-radius: 16px;
        width: 100%;
    }

    .hero-right::before {
        display: none;
        /* plus nécessaire sur mobile */
    }


    /* Contenu texte */
    .hero-content {
        padding-right: 0;
        text-align: left;
        /* ou center si branding */
    }

    .hero-proof {
        margin-top: 24px;
        flex-wrap: wrap;
        gap: var(--spacing-16);
    }

    /* Vidéo */
    .hero-video-wrapper {
        justify-content: center;
    }

    .hero-video {
        width: 100%;
        height: auto;
        /* max-height: 600px; */
    }
}



















/* Logos Section */
.logos-section {
    background-color: var(--neutral-white);
    padding: 0px 80px 40px 80px;
    text-align: center;
}

.logos-container {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-top: 40px;
}

.logos-container img {
    height: 48px;
    width: auto;
}



@media (max-width: 768px) {
    .logos-section {
        padding: 0px 0px 40px 0px;
    }

    .logos-container {
        gap: 48px;
        margin-top: 24px;
    }

    .logos-container img {
        height: 32px;
    }

}

@media (max-width: 375px) {
    .logos-container {
        gap: 32px;
    }
}



/* Problem Section */
.problem-section {
    background-color: var(--neutral-softer);
    text-align: center;
    margin-top: 40px;
    margin-bottom: 40px;
}

/* Contenu limité à 800px */
.problem-section .container {
    /* max-width: min(70%, 880px); */
    max-width: 880px;
    margin: 0 auto;
    text-align: left;
    /* texte aligné à gauche pour les paragraphes */
}

/* Espace entre titre et corps de texte */
.problem-section h2 {
    margin-bottom: 40px;
}

/* Bloc texte avec flèche */
.problem-block {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    /* espace entre flèche et texte */
    margin-bottom: 24px;
    /* espace entre les blocs */
}

/* Flèche */
.problem-block img {
    flex-shrink: 0;
    /* empêche la flèche de rétrécir */
    /* margin-top: 4px; */
    /* aligne verticalement avec le texte si nécessaire */
    width: 40px;
    height: 40px;
}


/* Wrapper du texte */
.text-wrapper {
    min-height: 40px;
    /* hauteur de la flèche */
    display: flex;
    align-items: center;
    /* centre le texte si 1 ligne */
}

/* Texte normal */
.problem-block .text {
    margin: 0;
}



@media (max-width: 768px) {

    .problem-section {
        margin-top: 0px;
        margin-bottom: 0px;
    }

    .problem-section .container {
        max-width: 100%;
    }

    .problem-section h2 {
        margin-bottom: 24px;
    }

    .problem-block img {
        width: 32px;
        height: 32px;
    }

    .text-wrapper {
        min-height: 32px;
    }
}









/* Solution Section */
.solution-section {
    background-color: var(--neutral-white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Conteneur du SVG décoratif */
.solution-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    /* décoratif uniquement */
    display: flex;
    align-items: center;
    /* centre verticalement */
    justify-content: center;
    padding: 40px 24px;
    /* 40px haut/bas — 80px gauche/droite */
    box-sizing: border-box;
}

/* SVG comme image de fond */
.solution-bg-svg {
    width: 100%;
    height: 100%;
    /* max-height: 500px; */
    object-fit: contain;
    /* remplit la section */
    /* object-position: center; */
}


/* Contenu limité à 800px */
.solution-section .container {
    position: relative;
    z-index: 1;
    /* max-width: 880px; */
    /* max-width: min(70%, 880px); */
    max-width: 880px;
    margin: 0 auto;
    text-align: left;
    /* texte aligné à gauche pour les paragraphes */
}


/* Espace entre titre et corps de texte */
.solution-section h2 {
    margin-bottom: 40px;
}

/* Bloc texte avec flèche */
.solution-block {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    /* espace entre flèche et texte */
    margin-bottom: 24px;
    /* espace entre les blocs */
}

/* Flèche */
.solution-block img {
    flex-shrink: 0;
    /* empêche la flèche de rétrécir */
    margin-top: 4px;
    /* aligne verticalement avec le texte si nécessaire */
    width: 40px;
    height: 40px;
}


/* Wrapper du texte */
.text-wrapper {
    min-height: 40px;
    /* hauteur de la flèche */
    display: flex;
    align-items: center;
    /* centre le texte si 1 ligne */
}

/* Texte normal */
.solution-block .text {
    margin: 0;
}


.solution-cta {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

/* Desktop : le saut de ligne existe */
.br-desktop-solution {
    display: inline;
}

@media (max-width: 480px) {
    .br-desktop-solution {
        display: none;
    }
}




@media (max-width: 1024px) {

    .solution-section {
        padding-bottom: 0;
    }


    /* === BACKGROUND MOBILE === */
    .solution-bg {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 428px;
        padding: 0;
        padding: 0px 16px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .solution-bg-svg {
        content: url("assets/trajets-budget-securite-commerces-sorties-transports-nature-calme-mobile.svg");
        width: 100%;
        max-width: 336px;
        height: auto;
        /* height: 100%;
        object-fit: contain; */
    }


    /* On crée de l’espace pour le décor autour du titre */
    .solution-section h2 {
        position: relative;
        z-index: 1;
        margin-top: 136px;
        margin-bottom: 160px;
    }


    .solution-block img {
        width: 32px;
        height: 32px;
    }

    .text-wrapper {
        min-height: 32px;
    }

    .solution-cta {
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .solution-section {
        padding-bottom: 0;
    }

    .solution-section .container {
        max-width: 100%;
    }

    .text-wrapper {
        min-height: 32px;
    }

    .solution-cta {
        margin-top: 32px;
    }
}




/* Data Section */
.data-section {
    background-color: var(--neutral-white);
}

/* Grille des blocs */
.data-grid {
    display: flex;
    gap: 40px;
}

/* Carte */
.data-card {
    flex: 1;
    background-color: var(--neutral-softer);
    border-radius: 16px;
    padding: 4px 16px 24px 16px;
    text-align: center;
}

/* Chiffre */
.data-number {
    color: var(--primary-main);
    margin-bottom: 4px;
}

/* Titre */
.data-title {
    color: var(--primary-main);
    margin-bottom: 8px;
}

@media (max-width: 1024px) {
    .data-section {
        margin-top: 40px;
        margin-bottom: 40px;
    }

    .data-grid {
        gap: 24px;
    }
}


@media (max-width: 768px) {
    .data-section {
        padding-bottom: 40px;
        margin-top: 0px;
        margin-bottom: 0px;
    }

    .data-grid {
        flex-direction: column;
        gap: 24px;
    }

}













/* Value Prop Section */
.value-prop-section {
    background-color: var(--neutral-white);
}

/* Layout texte / image */
.value-prop-layout {
    display: flex;
    gap: 40px;
    align-items: center;
    /* centre verticalement texte et image */
}

/* Colonne gauche */
.value-prop-content {
    flex: 1;
    order: 1;
}

/* Titre */
.value-prop-title {
    margin-bottom: 24px;
}

/* Texte */
.value-prop-text {
    margin-bottom: 32px;
}

/* Colonne droite */
.value-prop-image {
    order: 2;
    flex: 1;
    display: flex;
    justify-content: center;
}

/* Image responsive */
.value-prop-image img {
    max-width: 100%;
    height: auto;
}




@media (max-width: 1024px) {
    .value-prop-image {
        order: 1;
    }

    .value-prop-content {
        order: 2;
    }

    .value-prop-section {
        padding-bottom: 0px;
        padding-top: 0px;
        margin-bottom: 40px;
    }

    .value-prop-layout {
        flex-direction: column;
        gap: 24px;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .value-prop-image {
        order: 1;
    }

    .value-prop-content {
        order: 2;
    }

    .value-prop-section {
        padding-bottom: 40px;
        margin-bottom: 40px;
    }
}


/* Box interne pour le background neutral-softer et padding */
.value-prop-section-2 .value-prop-box {
    background-color: var(--neutral-softer);
    padding: 40px;
    border-radius: 16px;
}

/* Layout texte / image pour cette section spécifique */
.value-prop-section-2 .value-prop-layout {
    display: flex;
    gap: 40px;
    /* espacement image <-> contenu */
    /* align-items: center; */
    align-items: stretch;
}

/* Colonne gauche : image */
.value-prop-section-2 .value-prop-image {
    order: 1;
    flex: 1;
    display: flex;
    justify-content: center;
}

/* Colonne droite : contenu texte */
.value-prop-section-2 .value-prop-content {
    flex: 1;
    order: 2;
}

/* Image arrondie */
.value-prop-section-2 .value-prop-image img {
    border-radius: 8px;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


@media (max-width: 1024px) {
    .value-prop-section-2 .value-prop-image {
        order: 1;
    }

    .value-prop-section-2 .value-prop-content {
        order: 2;
    }

    .value-prop-section-2 .value-prop-layout {
        flex-direction: column;
        gap: 24px;
    }

    .value-prop-section-2 .value-prop-box {
        padding: 24px;
    }
}






/* Value Prop Section */
.value-prop-section-3 {
    background-color: var(--neutral-white);
}

/* Layout texte / image */
.value-prop-layout-3 {
    display: flex;
    gap: 40px;
    align-items: center;
    /* centre verticalement texte et image */
}

/* Colonne gauche */
.value-prop-content-3 {
    flex: 1;
    order: 1;
}

/* Titre */
.value-prop-title-3 {
    margin-bottom: 24px;
}

/* Texte */
.value-prop-text-3 {
    margin-bottom: 32px;
}

/* Colonne droite */
.value-prop-image-3 {
    flex: 1;
    display: flex;
    justify-content: center;
    order: 2;
}

/* Image responsive */
.value-prop-image-3 img {
    max-width: 100%;
    height: auto;
}




@media (max-width: 1024px) {
    .value-prop-content-3 {
        order: 2;
    }

    .value-prop-image-3 {
        order: 1;
    }

    .value-prop-section-3 {
        padding-bottom: 40px;
        padding-top: 0;
    }

    .value-prop-layout-3 {
        flex-direction: column;
        gap: 24px;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .value-prop-content-3 {
        order: 2;
    }

    .value-prop-image-3 {
        order: 1;
    }

    .value-prop-section-3 {
        padding-bottom: 40px;
        margin-bottom: 40px;
    }
}


/* Box interne pour le background neutral-softer et padding */
.value-prop-section-4 .value-prop-box {
    background-color: var(--neutral-softer);
    padding: 40px;
    border-radius: 16px;
    overflow: visible;
}

/* Layout texte / image pour cette section spécifique */
.value-prop-section-4 .value-prop-layout {
    display: flex;
    gap: 40px;
    /* espacement image <-> contenu */
    align-items: center;
}

/* Colonne gauche : image */
.value-prop-section-4 .value-prop-image {
    order: 1;
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

/* Colonne droite : contenu texte */
.value-prop-section-4 .value-prop-content {
    order: 2;
    flex: 1;
}


.value-prop-section-4 .value-prop-image img {
    border-radius: 8px;
    margin-top: -80px;
    display: block;
}


@media (max-width: 1024px) {

    /* .value-prop-section-4 .value-prop-box {
        margin-bottom: 40px;
    } */
    .value-prop-section-4 .value-prop-image {
        order: 1;
    }

    .value-prop-section-4 .value-prop-content {
        order: 2;
    }

    .value-prop-section-4 .value-prop-layout {
        flex-direction: column;
        gap: 24px;
    }

    .value-prop-section-4 .value-prop-box {
        padding: 24px;
    }

    .value-prop-section-4 .value-prop-image img {
        margin-top: -40px;
    }
}






/* Stat Section */
.stat-section {
    background-color: var(--secondary-main);
    color: var(--neutral-white);
    text-align: center;
    padding-top: 16px;
    margin-top: 40px;
    margin-bottom: 40px;
}

/* Conteneur horizontal pour le pourcentage et les phrases */
.stat-section .stat-content {
    display: flex;
    align-items: center;
    /* centre verticalement le % et le texte */
    justify-content: center;
    /* centre horizontalement */
    gap: 24px;
    /* espace entre % et texte */
    flex-wrap: wrap;
    /* pour mobile */
}

/* Pourcentage */
.stat-section .stat-percent {
    display: flex;
    align-items: baseline;
}


/* % */
.stat-section .stat-percent .percent-sign {
    margin-left: 4px;
}

/* Texte descriptif à droite du % */
.stat-section .stat-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* aligne verticalement avec % */
    text-align: left;
}

.stat-section .stat-text .headline {
    margin-bottom: 4px;
}

/* Bouton sous les phrases */
.stat-section .stat-button {
    margin-top: 24px;
    margin-bottom: 40px;
}


@media (max-width: 768px) {

    .stat-section {
        margin-top: 0px;
        margin-bottom: 0px;
        padding-top: 16px;
    }

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

    .stat-section .stat-content {
        gap: 8px;
    }

    .stat-section .stat-button {
        margin-bottom: 24px;
    }

}






/* Comparison Section */
.comparison-section {
    background-color: var(--neutral-white);
    text-align: center;
    margin: 0 auto;
    max-width: 880px; 
    /* 760px */
}

/* Titre */
.comparison-section h2 {
    margin-bottom: 40px;
}

/* Tableau comparatif */
.comparison-table {
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    overflow: hidden;
    /* max-width: 800px; */
    margin: 0 auto;
    background-color: var(--neutral-softer);
}

/* Titres */
.comparison-titles {
    display: flex;
    background-color: var(--neutral-softer);
}

.comparison-title-left,
.comparison-title-right {
    flex: 1;
    text-align: center;
    padding: 16px 16px 8px 16px;
    margin: 0;
}

.comparison-title-right {
    background-color: var(--primary-main);
    color: var(--neutral-white);
}

/* Ligne comparatif */
.comparison-row-global {
    display: flex;
    width: 100%;
    gap: 0;
}

/* Cellules gauche et droite */
.comparison-cell {
    flex: 1;
    padding: 16px 40px;
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
}

.comparison-cell-left {
    background-color: var(--neutral-softer);
    color: var(--neutral-black);
}

.comparison-cell-right {
    background-color: var(--primary-main);
    color: var(--neutral-white);
}

/* Icônes */
.comparison-cell img {
    width: 32px;
    height: 32px;
}


/* Bouton */
.comparison-section .btn {
    margin-top: 40px;
}

.comparison-toggle {
    display: none;
}

.comparison-cell-last {
    padding-bottom: 24px;
}


@media (max-width: 768px) {



    .comparison-section {
        padding-bottom: 0px;
        /* margin-bottom: 0px; */
    }

    /* Bouton */
    .comparison-section .btn {
        margin-top: 32px;
    }

    /* Titre */
    .comparison-section h2 {
        margin-bottom: 24px;
    }


    /* Segmented button */
    .comparison-toggle {
        display: flex;
        background-color: var(--neutral-softer);
        padding: 8px;
        border-radius: 12px;
        gap: 8px;
        margin: 32px 0;
    }

    .comparison-toggle .btn {
        flex: 1;
        margin-top: 0;
    }

    /* Masquer les titres desktop */
    .comparison-titles {
        display: none;
    }

    /* Une seule colonne visible */
    .comparison-row-global {
        flex-direction: column;
    }


    .comparison-cell {
        padding: 12px;
    }

    .comparison-cell-first {
        padding-top: 24px;
    }

    .comparison-cell-last {
        padding-bottom: 24px;
    }


    /* Par défaut : on cache la colonne droite */
    .comparison-cell-right {
        display: none;
    }

    /* Mode "Après Marque" actif */
    .comparison-table.show-right .comparison-cell-left {
        display: none;
    }

    .comparison-table.show-right .comparison-cell-right {
        display: flex;
    }


}











/* How It Works Section */
.how-it-works-section {
    background-color: var(--neutral-white);
    text-align: center;
    margin: 40px auto;
    max-width: 880px;
    /* max-width: 880px; */
}

/* Titre */
.how-it-works-section h2 {
    margin-bottom: 40px;
}

/* Box interne pour le background neutral-softer et padding */
.how-it-works-section .how-it-works-box-1 {
    background-color: var(--neutral-softer);
    padding: 16px 40px 40px 40px;
    border-radius: 16px;
    overflow: visible;
    margin-bottom: 40px;
}

/* Layout texte / image pour cette section spécifique */
.how-it-works-section .how-it-works-layout-1 {
    display: flex;
    gap: 40px;
    /* espacement image <-> contenu */
    align-items: center;
}

/* Colonne gauche : image */
.how-it-works-section .how-it-works-image-1 {
    order: 1;
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

/* Colonne droite : contenu texte */
.how-it-works-section .how-it-works-content-1 {
    order: 2;
    flex: 2;
    text-align: left;
}


.how-it-works-section .how-it-works-image-1 img {
    margin-bottom: -40px;
    margin-top: -40px;
    display: block;
}

.how-it-works-section .how-it-works-title-1 {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 16px;
}

/* Le numéro : style "primary / main" */
.how-it-works-section .how-it-works-step-1 {
    color: var(--primary-main);
}

/* Le texte : style h2 */
.how-it-works-section .how-it-works-heading-1 {
    color: var(--primary-main);
}


@media (max-width: 768px) {
    .how-it-works-section .how-it-works-image-1 {
        order: 1;
    }

    .how-it-works-section .how-it-works-content-1 {
        order: 2;
    }

    .how-it-works-section .how-it-works-layout-1 {
        flex-direction: column;
        gap: 24px;
    }

    .how-it-works-section .how-it-works-box-1 {
        padding: 24px;
    }

    .how-it-works-section .how-it-works-image-1 img {
        margin-top: -40px;
        margin-bottom: 0px;
        max-height: 192px;
        width: auto;
    }
}







/* Box interne pour le background neutral-softer et padding */
.how-it-works-section .how-it-works-box-2 {
    background-color: var(--neutral-softer);
    padding: 16px 40px 40px 40px;
    border-radius: 16px;
    overflow: visible;
    margin-bottom: 40px;

}

/* Layout texte / image pour cette section spécifique */
.how-it-works-section .how-it-works-layout-2 {
    display: flex;
    gap: 40px;
    /* espacement image <-> contenu */
    align-items: center;

}

/* Colonne gauche : image */
.how-it-works-section .how-it-works-image-2 {
    flex: 1;
    order: 2;
    display: flex;
    justify-content: center;
    position: relative;
}

/* Colonne droite : contenu texte */
.how-it-works-section .how-it-works-content-2 {
    order: 1;
    flex: 2;
    text-align: left;
}


.how-it-works-section .how-it-works-image-2 img {
    margin-bottom: -40px;
    margin-top: -40px;
    display: block;
}

.how-it-works-section .how-it-works-title-2 {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 16px;
}

/* Le numéro : style "primary / main" */
.how-it-works-section .how-it-works-step-2 {
    color: var(--primary-main);
}

/* Le texte : style h2 */
.how-it-works-section .how-it-works-heading-2 {
    color: var(--primary-main);
}


@media (max-width: 768px) {
    .how-it-works-section .how-it-works-image-2 {
        order: 1;
    }

    .how-it-works-section .how-it-works-content-2 {
        order: 2;
    }

    .how-it-works-section .how-it-works-layout-2 {
        flex-direction: column;
        gap: 24px;
    }

    .how-it-works-section .how-it-works-box-2 {
        padding: 24px;
    }

    .how-it-works-section .how-it-works-image-2 img {
        margin-top: -40px;
        margin-bottom: 0px;
        max-height: 216px;
        width: auto;
    }
}





/* Box interne pour le background neutral-softer et padding */
.how-it-works-section .how-it-works-box-3 {
    background-color: var(--neutral-softer);
    padding: 16px 40px 40px 40px;
    border-radius: 16px;
    margin-bottom: 40px;
}

/* Layout vertical centré */
.how-it-works-section .how-it-works-layout-3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

/* Titre */
.how-it-works-section .how-it-works-title-3 {
    display: flex;
    align-items: baseline;
    gap: 8px;
    text-align: center;
}

/* Numéro */
.how-it-works-section .how-it-works-step-3 {
    color: var(--primary-main);
}

/* Texte du titre */
.how-it-works-section .how-it-works-heading-3 {
    color: var(--primary-main);
}

/* Image */
.how-it-works-section .how-it-works-image-3 img {
    max-width: 100%;
    display: block;
}

.how-it-works-text-3--mobile {
    display: none;
}


@media (max-width: 768px) {

    .how-it-works-text-3--mobile {
        display: block;
    }

    .how-it-works-section .how-it-works-box-3 {
        padding: 24px;
    }

    /* Titre */
    .how-it-works-section .how-it-works-title-3 {
        text-align: left;
    }

    /* Image au-dessus du titre */
    .how-it-works-section .how-it-works-image-3 {
        flex: 1;
        order: -1;
        width: 100%;
        display: flex;
        justify-content: center;
        position: relative;
    }

    /* Remplacer l'image en mobile */
    .how-it-works-section .how-it-works-image-3 img {
        content: url("assets/choix-du-quartier-sur-la-carte-interactive-mobile.svg");
        width: 100%;
        /* max-width: 209px;
        height: auto; */
        max-height: 232px;
        width: auto;
        display: block;
        margin-top: -40px;
        margin-bottom: 0px;
    }

    .how-it-works-section .how-it-works-layout-3 {
        align-items: flex-start;
        gap: 16px;
    }

    /* Bloc texte avec flèche */
    .how-it-works-block {
        display: flex;
        align-items: flex-start;
        /* flèche en haut, texte naturel */
        gap: 16px;
        /* margin-bottom: 24px; */
    }


    /* Flèche */
    .how-it-works-block img {
        flex-shrink: 0;
        /* empêche la flèche de rétrécir */
        /* margin-top: 4px; */
        /* aligne verticalement avec le texte si nécessaire */
        width: 32px;
        height: 32px;
    }

    /* Wrapper du texte */
    .how-it-works-text-wrapper {
        min-height: 32px;
        /* hauteur de la flèche */
        display: flex;
        align-items: center;
        /* centre le texte si 1 ligne */
    }

    /* Texte normal */
    .how-it-works-block .text {
        margin: 0;
        text-align: left;
    }


}






/* FAQ Section */
.faq-section {
    background-color: var(--neutral-white);
    text-align: center;
    margin: 0 auto;
    max-width: 880px;
}

/* Liste FAQ */
.faq-list {
    margin-top: 40px;
    text-align: left;
}

/* Item */
.faq-item {
    border-bottom: 1px solid var(--neutral-softer);
    padding-bottom: 24px;
    margin-bottom: 24px;
}

.faq-item-last {
    border-bottom: 1px solid var(--neutral-softer);
    padding-bottom: 24px;
    margin-bottom: 0px;
}


/* Question */
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    list-style: none;
}

/* Supprime le triangle natif */
.faq-question::-webkit-details-marker {
    display: none;
}



/* Chevron */
.faq-question::after {
    content: "";
    width: 32px;
    height: 32px;
    background-image: url("assets/illustration-chevron-down.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    flex-shrink: 0;
    transition: transform 0.2s ease;
    margin-left: 24px;
}

/* Chevron quand ouvert */
.faq-item[open] .faq-question::after {
    transform: rotate(180deg);
}

/* Réponse */
.faq-answer {
    margin-top: 16px;
}

.faq-answer p+p {
    margin-top: 8px;
}


/* Dropdown FAQ (dans une réponse) */
.faq-dropdown {
    margin-top: 16px;
}





.faq-color-list {
    list-style: disc;
    /* ou circle si tu veux */
    padding-left: 24px;
    /* espace pour la puce */
    margin-top: 8px;
    /* petit espace après le texte */
    margin-bottom: 16px;
    /* espace avec le paragraphe suivant */
}

.faq-color-list li {
    margin-bottom: 8px;
    /* espace entre les items */
}






/* Trigger cliquable */
.faq-dropdown-trigger {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 0px 8px 0px;
    cursor: pointer;
    list-style: none;

    color: var(--primary-main);
}

/* Supprime le marker natif */
.faq-dropdown-trigger::-webkit-details-marker {
    display: none;
}

/* Hover */
.faq-dropdown-trigger:hover {
    color: var(--primary-dark);
}


/* Flèche */
.faq-dropdown-trigger::after {
    content: "";
    width: 20px;
    height: 20px;

    background-color: currentColor;

    -webkit-mask-image: url("assets/icon-chevron-down.svg");
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;

    mask-image: url("assets/icon-chevron-down.svg");
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;

    transition: transform 0.2s ease;
}


/* Flèche inversée quand ouvert */
.faq-dropdown[open] .faq-dropdown-trigger::after {
    transform: rotate(180deg);
}

.br-faq {
    display: none;
}


@media (max-width: 768px) {
    .faq-section {
        padding: 0;
    }

    /* Desktop : le saut de ligne existe */
    .br-faq {
        display: inline;
    }
}

















/* Closing Section */
.closing-section {
    background-color: var(--neutral-white);
    margin-bottom: 40px;
}


/* Layout texte / image */
.closing-layout {
    display: flex;
    gap: 40px;
    align-items: stretch;
    /* align-items: center; */
    /* centre verticalement texte et image */
}

/* Colonne gauche */
.closing-content {
    order: 1;
    flex: 1;
}

/* Titre */
.closing-title {
    margin-bottom: 24px;
}

/* Texte */
.closing-text {
    margin-bottom: 32px;
}


/* Bloc texte avec flèche */
.closing-block {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    /* espace entre flèche et texte */
    margin-bottom: 16px;
    /* espace entre les blocs */
}

/* Flèche */
.closing-block img {
    flex-shrink: 0;
    /* empêche la flèche de rétrécir */
    margin-top: 4px;
    /* aligne verticalement avec le texte si nécessaire */
    width: 32px;
    height: 32px;
}

/* Texte du bloc */
.closing-block .text {
    font-family: var(--body-font);
    font-size: var(--body-medium-size);
    line-height: var(--body-medium-lineheight);
}

/* Wrapper du texte */
.text-wrapper {
    min-height: 32px;
    /* hauteur de la flèche */
    display: flex;
    align-items: center;
    /* centre le texte si 1 ligne */
}

/* Texte normal */
.closing-block .text {
    margin: 0;
}


/* Bouton */
.closing-section .btn {
    margin-top: 8px;
}

.closing-proof {
    margin-top: var(--spacing-24);
    display: flex;
    gap: var(--spacing-24);
}

.closing-proof-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-8);
}

.closing-proof-item::before {
    content: "";
    width: 24px;
    height: 24px;
    background-image: url("assets/illustration-check.svg");
    background-size: contain;
    background-repeat: no-repeat;
    flex-shrink: 0;
}



/* Colonne droite */
.closing-image {
    order: 2;
    flex: 1;
    display: flex;
    justify-content: center;
}

/* Image responsive */
.closing-image img {
    /* max-width: 100%; */
    /* height: auto; */
    width: 100%;
    height: 100%;
    border-radius: 16px;
    object-fit: cover;
    object-position: right center;
}

@media (max-width: 768px) {

    /* Closing Section */
    .closing-section {
        margin-bottom: 0px;
    }

    .closing-layout {
        flex-direction: column;
        gap: 24px;
    }

    /* Colonne gauche */
    .closing-content {
        order: 2;
    }

    /* Colonne droite */
    .closing-image {
        order: 1;
    }
}








/* Footer */
.footer {
    background-color: var(--neutral-softer);
    padding: 40px 80px;
    text-align: center;
}

/* Logo */
.footer-logo {
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
}

.footer-logo img {
    /* max-height: 32px; */
    height: 56px;
    width: auto;
    display: block;
}


/* Icône LinkedIn */
.footer-linkedin {
    display: flex;
    justify-content: center;
    /* margin-top: 16px; */
    margin-bottom: 24px;
}

.footer-linkedin img {
    width: 32px;
    height: 32px;
    display: block;
}




/* Titre "Nous contacter" */
.footer-contact-title {
    margin-bottom: 12px;
}

/* Email */
.footer-email {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    /* espace entre icône et texte */
    color: var(--primary-main);
    margin-bottom: 40px;
}

.footer-email-icon {
    width: 24px;
    height: 24px;
    display: inline-block;
    object-fit: contain;
}

.footer-email a {
    color: inherit;          /* même couleur que le parent */
    text-decoration: none;   /* enlève le soulignement */
}

/* Liens légaux */
.footer-legal {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    /* espace horizontal entre texte et point */
    flex-wrap: wrap;
}

.footer-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: var(--neutral-dark);
    border-radius: 100%;
}

.footer-legal a {
    color: var(--neutral-black);
    text-decoration: none;
}

.footer-legal a:hover {
    text-decoration: underline;
}



@media (max-width: 768px) {

    .footer {
        padding: 40px 0px;
    }

    /* Liens légaux en colonne */
    .footer-legal {
        flex-direction: column;
        gap: 8px;
    }

    .footer-logo img {
    /* max-height: 32px; */
    height: 48px;
}



}

















/* ============================================
   UTILITY CLASSES
   ============================================ */

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

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

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


/* ============================================
   GRID SYSTEM
   ============================================ */

.grid {
    display: grid;
    gap: var(--spacing-40);
}

/* Mobile-first : 1 colonne */
.grid-6 {
    grid-template-columns: 1fr;
}

/* Desktop ≥768px : 6 colonnes */
@media (min-width: 768px) {
    .grid-6 {
        grid-template-columns: repeat(6, 1fr);
    }
}

/* ============================================
   PERFORMANCE OPTIMIZATIONS
   ============================================ */

/* Optimize font loading */
@font-face {
    font-family: 'Source Sans Pro';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: local('Source Sans Pro'), local('SourceSansPro-Regular');
}

@font-face {
    font-family: 'Source Sans Pro';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: local('Source Sans Pro Semibold'), local('SourceSansPro-Semibold');
}

@font-face {
    font-family: 'Source Sans Pro';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: local('Source Sans Pro Bold'), local('SourceSansPro-Bold');
}

/* GPU acceleration for animations */
.btn,
.badge {
    will-change: transform;
    transform: translateZ(0);
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Focus styles */
*:focus-visible {
    outline: 2px solid var(--primary-main);
    outline-offset: 2px;
}

/* ============================================
   MODALE - SERVICE INDISPONIBLE
   (affichée à la place du formulaire Tally quand
   TALLY_FORM_ENABLED est à false dans index.html)
   ============================================ */

.unavailable-modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(12, 27, 51, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-16);
    z-index: 1000;
}

.unavailable-modal-overlay[hidden] {
    display: none;
}

.unavailable-modal {
    position: relative;
    background-color: var(--neutral-white);
    border-radius: 16px;
    padding: var(--spacing-32) var(--spacing-24);
    max-width: 420px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(12, 27, 51, 0.25);
}

.unavailable-modal .h2 {
    margin-bottom: var(--spacing-16);
    color: var(--primary-main);
}

.unavailable-modal .text {
    margin-bottom: var(--spacing-12);
}

.unavailable-modal .text:last-child {
    margin-bottom: 0;
}

.unavailable-modal .text a {
    color: var(--primary-main);
    font-weight: 700;
}

.unavailable-modal-close {
    position: absolute;
    top: var(--spacing-12);
    right: var(--spacing-12);
    width: 32px;
    height: 32px;
    border: none;
    background-color: var(--neutral-softer);
    color: var(--neutral-black);
    border-radius: 50%;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.unavailable-modal-close:hover {
    background-color: var(--neutral-soft);
}