/* ===== DESIGN TOKENS ===== */
:root {
    --color-content-600: #03245c;
    --color-content-700: #021d48;
    --color-background-50: #fbfcfe;
    --color-background-100: #f0f4fb;
    --color-background-200: #e6ecf8;
    --color-background-300: #dbe5f5;
    --color-action-500: #254cb9;
    --color-action-600: #203f97;
    --color-positive-100: #deeee8;
    --color-positive-500: #53ab8a;
    --color-positive-700: #508084;
    --color-positive-900: #004148;
    --color-warning-100: #ffedf9;
    --color-important-700: #f12309;
    --color-primary-foreground: #fbfcfe;
    --color-foreground: #03245c;
    --color-muted-foreground: #0442a8;
    --color-border: #dbe5f5;
    --color-background: #fbfcfe;
    --radius-md: 10px;
    --radius-lg: 20px;
    --radius-round: 50%;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--color-background-50);
    color: var(--color-foreground);
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* ===== HEADER / NAV ===== */
.nav {
    padding: 16px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: rgba(251, 252, 254, 0.50);
    backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid var(--color-border);
}

/* ===== SCROLL PROGRESS ===== */
#scroll-progress {
    position: sticky;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: var(--color-action-500);
    z-index: 99;
    transition: width .2s ease-out;
    pointer-events: none;
}

.nav-logo svg {
    height: 36px;
    width: auto;
}

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

.nav-link {
    color: var(--color-content-600);
    text-decoration: none;
    font-size: .875rem;
    font-weight: 600;
    padding: 8px 4px;
    position: relative;
    transition: color .5s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--color-action-500);
    transition: width .5s ease, left .5s ease;
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
    left: 0;
}

.nav-link.active {
    color: var(--color-action-500);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-size: .9rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all .2s;
}

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

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

.btn-secondary {
    background: var(--color-background-300);
    color: var(--color-action-500);
    border: none;
}

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

.btn-white {
    background: #fff;
    color: var(--color-action-500);
}

.btn-white:hover {
    background: var(--color-background-100);
}

.btn-nav {
    padding: 8px 20px;
    font-size: .85rem;
}

/* ===== SECTIONS COMMUNES ===== */
section {
    padding: 80px 40px;
}

.section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: var(--color-background-200);
    border-radius: var(--radius-lg);
    font-size: .75rem;
    font-weight: 600;
    color: var(--color-action-500);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.section-header h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--color-foreground);
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-header p {
    font-size: 1.1rem;
    color: #475569;
    max-width: 700px;
    margin: 0 auto;
}

/* ===== BARRES LOGOS ===== */
.logo-bar {
    background: var(--color-background-300);
    padding: 28px 40px;
}

.logo-bar-title {
    text-align: center;
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--color-action-500);
    margin-bottom: 16px;
}

.logo-bar-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    flex-wrap: wrap;
}

.logo-bar-logos img {
    height: 48px;
    width: auto;
    opacity: .5;
    transition: opacity .2s;
    object-fit: contain;
}

.logo-bar-logos img:hover {
    opacity: 1;
}

.logo-bar-logos img.logo-dark {
    filter: brightness(0);
}

/* ===== CTA FINAL ===== */
.cta-section {
    background: linear-gradient(to bottom, var(--color-content-600), var(--color-content-700));
    color: #fff;
    text-align: center;
    padding: 80px 40px;
}

.cta-section h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, .7);
    max-width: 600px;
    margin: 0 auto 36px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--color-content-700);
    color: rgba(255, 255, 255, .5);
    padding: 60px 40px 32px;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-brand p {
    font-size: .85rem;
    line-height: 1.6;
    margin-top: 16px;
    max-width: 280px;
}

.footer-brand svg {
    height: 28px;
    width: auto;
}

.footer-brand svg .cls-mps {
    fill: rgba(255, 255, 255, .6);
}

.footer-tagline {
    display: block;
    width: 280px;
    height: auto;
    margin-top: 8px;
    opacity: .6;
}

.footer-col h4 {
    color: #fff;
    font-size: .8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    color: rgba(255, 255, 255, .5);
    text-decoration: none;
    font-size: .85rem;
    padding: 4px 0;
    transition: color .2s;
}

.footer-col a:hover {
    color: #fff;
}

.footer-col p {
    font-size: .85rem;
    line-height: 1.5;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}

.footer-social a {
    display: inline-flex;
    padding: 0;
}

.footer-social svg {
    width: 20px;
    height: 20px;
    fill: rgba(255, 255, 255, .5);
    transition: fill .2s;
}

.footer-social a:hover svg {
    fill: #fff;
}

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: .75rem;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, .5);
    text-decoration: none;
    font-size: .75rem;
    transition: color .2s;
}

.footer-bottom-links a:hover {
    color: #fff;
}

/* ===== MODAL ===== */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(2, 29, 72, .6);
    backdrop-filter: blur(4px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 24px;
}

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

.modal {
    background: var(--color-background-50);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 480px;
    padding: 40px;
    position: relative;
    animation: modalIn .25s ease-out;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: translateY(12px) scale(.97);
    }

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

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: none;
    background: var(--color-background-200);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-foreground);
    transition: background .2s;
}

.modal-close:hover {
    background: var(--color-background-300);
}

.modal-close svg {
    width: 18px;
    height: 18px;
}

.modal h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-foreground);
    margin-bottom: 6px;
}

.modal .modal-subtitle {
    font-size: .9rem;
    color: #475569;
    margin-bottom: 28px;
}

.form-group {
    margin-bottom: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.form-group label {
    display: block;
    font-size: .8rem;
    font-weight: 600;
    color: var(--color-foreground);
    margin-bottom: 6px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: .9rem;
    font-family: inherit;
    color: var(--color-foreground);
    background: var(--color-background-50);
    transition: border-color .2s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-action-500);
    box-shadow: 0 0 0 3px rgba(37, 76, 185, .12);
}

.form-group input::placeholder {
    color: #94a3b8;
}

.form-group.has-error input,
.form-group.has-error select {
    border-color: var(--color-important-700);
    box-shadow: 0 0 0 3px rgba(241, 35, 9, .08);
}

.form-error {
    display: none;
    font-size: .75rem;
    color: var(--color-important-700);
    margin-top: 5px;
    align-items: center;
    gap: 4px;
}

.form-group.has-error .form-error {
    display: flex;
}

.form-error svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.form-submit {
    width: 100%;
    margin-top: 8px;
}

.form-group-checkbox {
    margin-top: 4px;
}

.form-group label.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: .75rem;
    font-weight: 400;
    line-height: 1.4;
    color: #64748b;
    margin-bottom: 0;
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkbox-box {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border: 2px solid var(--color-border);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s;
    margin-top: 1px;
}

.checkbox-box svg {
    width: 12px;
    height: 12px;
    stroke: #fff;
    opacity: 0;
    transition: opacity .15s;
}

.checkbox-label input:checked+.checkbox-box {
    background: var(--color-action-500);
    border-color: var(--color-action-500);
}

.checkbox-label input:checked+.checkbox-box svg {
    opacity: 1;
}

.checkbox-text a {
    color: var(--color-action-500);
    text-decoration: underline;
}

.form-group-checkbox.has-error .checkbox-box {
    border-color: var(--color-important-700);
}

.form-success {
    display: none;
    text-align: center;
    padding: 20px 0;
}

.form-success.active {
    display: block;
}

.form-success .success-icon {
    width: 56px;
    height: 56px;
    background: var(--color-positive-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.form-success .success-icon svg {
    width: 28px;
    height: 28px;
    color: var(--color-positive-500);
}

.form-success h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-foreground);
    margin-bottom: 8px;
}

.form-success p {
    font-size: .9rem;
    color: #475569;
}

/* ===== MODAL ZCAL ===== */
.modal-zcal {
    max-width: 1100px;
    width: 95vw;
    padding: 0;
    height: 90vh;
    max-height: 730px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.modal-zcal .modal-close {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 1010;
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
}

.modal-zcal iframe {
    width: 100%;
    height: 100%;
    border: none;
    flex: 1;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.fade-in {
    animation: fadeInUp .6s ease-out;
}

/* ===== HERO ===== */
.hero {
    padding: 80px 40px 60px;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: var(--color-background-200);
    border-radius: var(--radius-lg);
    font-size: .8rem;
    font-weight: 600;
    color: var(--color-action-500);
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--color-foreground);
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero h1 span {
    color: var(--color-action-500);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: #475569;
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: .8rem;
    color: #64748b;
}

.hero-trust-logos {
    display: flex;
    gap: 16px;
    align-items: center;
}

.hero-trust-logos span {
    font-weight: 600;
    font-size: .75rem;
    color: var(--color-action-600);
    padding: 4px 10px;
    background: var(--color-background-100);
    border-radius: 6px;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image {
    width: 100%;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--color-background-200), var(--color-background-300));
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--color-action-500);
    font-size: .85rem;
    font-weight: 600;
    border: 2px dashed var(--color-border);
}

/* ===== SECTION PROBLEME ===== */
.problem {
    background: var(--color-content-600);
    color: #fff;
}

.problem .section-label {
    background: rgba(255, 255, 255, .2);
    color: #fff;
}

.problem .section-header h2 {
    color: #fff;
}

.problem .section-header p {
    color: rgba(255, 255, 255, .85);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.problem-card {
    background: var(--color-content-700);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, .1);
    box-shadow: 0 4px 24px rgba(0, 0, 0, .25);
    text-align: center;
}

.problem-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, .1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.problem-icon svg {
    width: 24px;
    height: 24px;
    color: rgba(255, 255, 255, .5);
}

.problem-stat {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-background-50);
    margin-bottom: 8px;
    line-height: 1;
}

.problem-stat-alt1 {
    color: var(--color-action-500);
}

.problem-stat-alt {
    color: var(--color-important-700);
}

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

.problem-card p {
    font-size: .875rem;
    color: rgba(255, 255, 255, .65);
    line-height: 1.5;
}

.problem-quote {
    background: var(--color-background-300);
    padding: 28px 40px;
    text-align: center;
}

.problem-quote p {
    font-size: 1.125rem;
    color: var(--color-content-600);
    max-width: 860px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ===== SECTION PARCOURS ===== */
.parcours {
    background: var(--color-background-100);
}

.steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    position: relative;
}

.steps::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: var(--color-border);
    z-index: 0;
}

.steps::after {
    content: '';
    position: absolute;
    top: 24px;
    left: 10%;
    width: var(--steps-progress, 0px);
    height: 3px;
    background: var(--color-action-500);
    z-index: 1;
    transition: width .15s ease-out;
}

.step {
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-action-500);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    position: relative;
    overflow: hidden;
    transition: transform .3s, box-shadow .3s;
}

.step-number.active {
    box-shadow: 0 0 0 4px rgba(37, 76, 185, .2);
    transform: scale(1.1);
}

/* Numéro et icône superposés au centre du cercle */
.step-num,
.step-ico {
    position: absolute;
    top: 50%;
    left: 50%;
    transition: opacity .3s, transform .3s;
}

.step-num {
    opacity: 1;
    transform: translate(-50%, -50%);
}

.step-ico {
    width: 22px;
    height: 22px;
    color: #fff;
    opacity: 0;
    transform: translate(-50%, -50%) scale(.5);
}

/* Quand le step est actif : numéro disparaît, icône apparaît */
.step-number.active .step-num {
    opacity: 0;
    transform: translate(-50%, -50%) scale(.5);
}

.step-number.active .step-ico {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.step h3 {
    font-size: .9rem;
    font-weight: 700;
    color: var(--color-foreground);
    margin-bottom: 6px;
}

.step p {
    font-size: .8rem;
    color: #64748b;
    line-height: 1.4;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .6s cubic-bezier(.25, .1, .25, 1), transform .6s cubic-bezier(.25, .1, .25, 1);
}

.step-number.active ~ div p {
    opacity: 1;
    transform: translateY(0);
}

/* ===== SECTION BENEFICES ===== */
.benefits {
    background: var(--color-background-50);
}

/* Showcase: conteneur principal screenshot + cards overlay */
.benefits-showcase {
    position: relative;
}

/* Texte lead-in centré au-dessus du screenshot */
.benefits-showcase-text {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 32px;
}

.benefits-showcase-text p {
    font-size: 1.05rem;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 8px;
}

.benefits-showcase-text p:last-child {
    margin-bottom: 0;
}

/* Screenshot pleine largeur */
.benefits-screenshot {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.benefits-screenshot img {
    width: 100%;
    display: block;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 40px rgba(3, 36, 92, .12);
}

/* Dégradé sombre en bas pour contraste avec les cartes */
.benefits-screenshot::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to bottom, transparent, rgba(2, 29, 72, .55));
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    pointer-events: none;
}

/* Grid cartes — overlap sur le screenshot */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: -340px;
    position: relative;
    z-index: 2;
    padding: 0 24px;
}

/* Cartes flottantes — effet frosted glass */
.benefit-card {
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(219, 229, 245, .6);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    box-shadow: 0 8px 32px rgba(3, 36, 92, .15), 0 2px 8px rgba(3, 36, 92, .08);
    transition: box-shadow .25s, transform .25s;
}

.benefit-card:hover {
    box-shadow: 0 12px 48px rgba(3, 36, 92, .2), 0 4px 12px rgba(3, 36, 92, .1);
    transform: translateY(-4px);
}

.benefit-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.benefit-icon svg {
    width: 28px;
    height: 28px;
}

.benefit-icon-blue {
    background: var(--color-background-200);
    color: var(--color-action-500);
}

.benefit-icon-green {
    background: var(--color-positive-100);
    color: var(--color-positive-500);
}

.benefit-icon-teal {
    background: #e0f2f1;
    color: var(--color-positive-900);
}

.benefit-icon-red {
    background: #fde8e8;
    color: var(--color-important-700);
}

.benefit-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.benefit-top .benefit-icon {
    margin-bottom: 0;
}

.benefit-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-foreground);
    margin-bottom: 10px;
    min-height: 2.75em;
}

.benefit-stat {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-action-500);
    margin-bottom: 4px;
}

.benefit-card p {
    font-size: .9rem;
    color: #475569;
    line-height: 1.5;
}

.benefit-list {
    list-style: none;
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.benefit-list li {
    font-size: .85rem;
    color: #475569;
    padding-left: 20px;
    position: relative;
}

.benefit-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-action-500);
}

/* ===== SECTION INTEGRATION ===== */
.integration {
    background: var(--color-background-100);
}

.integration-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.integration-card {
    background: var(--color-background-50);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: center;
}

.integration-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.integration-icon svg {
    width: 24px;
    height: 24px;
}

.integration-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-foreground);
    margin-bottom: 8px;
}

.integration-card p {
    font-size: .85rem;
    color: #475569;
}

/* ===== BADGE MELIA ===== */
.melia-label {
    display: inline-flex;
    padding: 3px 10px;
    background: var(--color-action-500);
    color: #fff;
    font-size: .75rem;
    font-weight: 600;
    border-radius: 8px;
    margin-bottom: 8px;
}

/* ===== SECTION EQUIPE ===== */
.team {
    background: var(--color-background-50);
}

.team-header {
    text-align: center;
    margin-bottom: 40px;
}

.team-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-foreground);
    margin-bottom: 8px;
}

.team-header p {
    font-size: 1rem;
    color: #475569;
}

.team-founders {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 48px;
}

.founder {
    text-align: center;
    max-width: 280px;
}

.founder-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: var(--color-background-300);
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-action-500);
    overflow: hidden;
}

.founder-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

a.founder-name {
    font-size: .95rem;
    font-weight: 700;
    color: var(--color-foreground);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color .2s;
}

a.founder-name svg {
    color: #0a66c2;
    opacity: .6;
    transition: opacity .2s;
}

a.founder-name:hover {
    color: var(--color-action-500);
}

a.founder-name:hover svg {
    opacity: 1;
}

.founder-role {
    font-size: .8rem;
    color: var(--color-action-500);
    font-weight: 600;
    margin-bottom: 4px;
}

.founder-bio {
    font-size: .8rem;
    color: #475569;
    line-height: 1.5;
    margin-top: 8px;
}

.team-story {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}

.team-story p {
    font-size: .95rem;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 12px;
}

.team-story p:last-child {
    margin-bottom: 0;
}

/* ===== RESPONSIVE 1024px ===== */
@media (max-width: 1024px) {
    section {
        padding: 60px 24px;
    }

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

    .hero {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 150px 40px 60px;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-ctas {
        justify-content: center;
    }

    .hero-trust {
        justify-content: center;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .problem-grid,
    .integration-cards {
        grid-template-columns: 1fr;
    }

    /* --- Benefits mobile : horizontal scroll-jack --- */
    .benefits {
        background: var(--color-background-50);
    }

    .benefits .section-inner {
        min-height: inherit;
    }

    .benefits .section-header h2 {
        color: var(--color-foreground);
    }

    .benefits .section-header p {
        color: #475569;
    }

    .benefits-showcase {
        position: sticky;
        top: 48px;
        height: 75vh;
        overflow: hidden;
    }

    .benefits-screenshot {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1;
        max-height: 55vh;
        overflow: hidden;
        border-radius: var(--radius-md);
    }

    .benefits-screenshot img {
        border-radius: var(--radius-md);
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: top center;
    }

    .benefits-screenshot::after {
        display: block;
        height: 70%;
        background: linear-gradient(to bottom, transparent, rgba(2, 29, 72, .70));
        border-radius: 0 0 var(--radius-md) var(--radius-md);
    }

    .benefits-grid {
        display: flex;
        gap: 16px;
        position: absolute;
        top: calc(40vh - 60px);
        left: 0;
        z-index: 2;
        padding: 0 20px;
        margin-top: 0;
        transition: transform .15s ease-out;
    }

    .benefits-showcase-text {
        text-align: left;
        position: relative;
        z-index: 3;
        padding-top: 12px;
    }

    .benefit-card {
        width: calc(100vw - 40px);
        max-width: 400px;
        flex-shrink: 0;
        background: #fff;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border: 1px solid rgba(219, 229, 245, .5);
        box-shadow: none;
        padding: 24px 20px;
        opacity: 1;
        transform: none;
        transition: none;
    }

    .benefit-card:hover {
        transform: none;
        box-shadow: 0 8px 32px rgba(3, 36, 92, .12), 0 2px 8px rgba(3, 36, 92, .06);
    }

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

    .steps::before {
        display: block;
        top: 24px;
        bottom: 24px;
        left: 23px;
        right: auto;
        width: 3px;
        height: auto;
        background: var(--color-border);
        z-index: 0;
    }

    .steps::after {
        content: '';
        position: absolute;
        top: 24px;
        left: 23px;
        width: 3px;
        height: var(--steps-progress, 0px);
        background: var(--color-action-500);
        z-index: 1;
        transition: height .15s ease-out;
    }

    .step {
        display: grid;
        grid-template-columns: 48px 1fr;
        text-align: left;
        gap: 16px;
        align-items: start;
        z-index: 2;
    }

    .step-number {
        margin: 0;
        grid-row: 1 / 3;
        transition: transform .3s, box-shadow .3s;
    }

    .step-number.active {
        box-shadow: 0 0 0 4px rgba(37, 76, 185, .2);
        transform: scale(1.1);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

/* ===== RESPONSIVE 640px ===== */
@media (max-width: 640px) {
    .nav {
        padding: 12px 16px;
    }

    .nav-link {
        display: none;
    }

    .cta-section h2 {
        font-size: 1.75rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-buttons .btn {
        justify-content: center;
    }

    .footer {
        padding: 32px 16px 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        text-align: center;
    }

    .footer-col {
        display: none;
    }

    .footer-brand p {
        max-width: none;
        font-size: .8rem;
    }

    .footer-tagline {
        margin: 8px auto 0;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-bottom {
        margin-top: 24px;
        flex-direction: column;
        text-align: center;
    }

    /* Barres logos mobile */
    .logo-bar {
        padding: 24px 16px;
    }

    .logo-bar-logos {
        gap: 20px 28px;
    }

    .logo-bar-logos img {
        height: 28px;
    }

    .logo-bar-title {
        margin-bottom: 12px;
    }

    .modal {
        padding: 28px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    /* Benefits mobile — ajuster pour nav plus petite */
    .benefits-showcase {
        top: 52px;
        height: 70vh;
    }

    .benefits-screenshot {
        max-height: 45vh;
    }

    .benefits-grid {
        top: calc(32vh - 60px);
    }

    .benefit-card {
        padding: 20px 16px;
        width: calc(100vw - 32px);
    }

    .benefit-card h3 {
        min-height: auto;
    }

    /* Hero mobile */
    .hero h1 {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-ctas .btn {
        justify-content: center;
    }

    .problem-quote {
        padding: 24px 16px;
    }

    .team-founders {
        flex-wrap: wrap;
        gap: 32px;
    }

    .founder-photo {
        width: 110px;
        height: 110px;
    }
}

/* ===== LANDSCAPE MOBILE — désactiver scroll-jack ===== */
@media (max-width: 1024px) and (orientation: landscape) {
    .benefits {
        background: var(--color-background-50);
    }

    .benefits .section-header h2 {
        color: var(--color-content-700);
    }

    .benefits .section-header p {
        color: #475569;
    }

    .benefits-showcase {
        position: relative;
        top: auto;
        height: auto;
        overflow: visible;
    }

    .benefits-screenshot {
        position: relative;
        top: auto;
        max-height: 30vh;
    }

    .benefits-grid {
        position: relative;
        bottom: auto;
        display: grid;
        grid-template-columns: 1fr;
        width: auto;
        margin-top: 16px;
        transform: none !important;
    }

    .benefit-card {
        width: auto;
        max-width: none;
    }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    .benefit-card {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .benefits-grid {
        transition: none !important;
    }
}
