/* ===== 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: #f0f4fb;
    --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: 101;
    border-bottom: 1px solid var(--color-border);
}

.contact-nav {
    background: var(--color-background-200);
    backdrop-filter: none;
    border-bottom: none;
}

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

.nav-logo svg {
    display: block;
    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;
    filter: grayscale(1) sepia(1) saturate(1) hue-rotate(190deg) brightness(0.65);
    opacity: .6;
    transition: filter .3s, opacity .3s;
    object-fit: contain;
}

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

/* ===== ACTUALITÉS ===== */
.news {
    background: var(--color-background-100);
}

.news-carousel-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
}

.news-carousel {
    flex: 1;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.news-track {
    display: flex;
    gap: 24px;
    transition: transform .45s cubic-bezier(.4, 0, .2, 1);
}

.news-embed {
    flex: 0 0 calc((100% - 48px) / 3);
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.news-embed iframe {
    display: block;
    width: 100%;
    border: none;
}

/* Flèches desktop */
.news-arrow {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-round);
    border: 1px solid var(--color-border);
    background: #fff;
    color: var(--color-foreground);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .2s;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
}

.news-arrow:hover {
    background: var(--color-action-500);
    color: #fff;
    border-color: var(--color-action-500);
}

.news-arrow:disabled {
    opacity: .3;
    cursor: default;
    pointer-events: none;
}

/* Dots mobile (masqués sur desktop) */
.news-dots {
    display: none;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.news-dot {
    width: 10px;
    height: 10px;
    border-radius: var(--radius-round);
    background: var(--color-background-300);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background .2s, transform .2s;
}

.news-dot.active {
    background: var(--color-action-500);
    transform: scale(1.2);
}

.news-follow {
    text-align: center;
    margin-top: 40px;
}

/* Bouton outline LinkedIn */
.btn-outline {
    background: var(--color-background-50);
    color: var(--color-action-500);
    border: none;
}

.btn-outline:hover {
    background: var(--color-action-500);
    color: #fff;
    border: none;
}

.btn-outline:active {
    background: var(--color-action-600);
    color: #fff;
    border: none;
}

/* ===== CTA FINAL ===== */
.cta-section {
    background: var(--color-background-50);
    text-align: center;
    padding: 80px 40px 0;
}

.cta-card {
    background: var(--color-action-600);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 64px 48px;
    margin-bottom: -60px;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 80px rgba(37, 76, 185, .5);
}

.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-badge {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(255, 255, 255, .15);
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 100px;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 20px;
}

.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: 120px 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 h3 {
    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,
.form-group textarea {
    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 textarea {
    resize: vertical;
}

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

.form-group input::placeholder,
.form-group textarea::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;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.form-submit svg {
    flex-shrink: 0;
}

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

.launch-banner {
    position: sticky;
    top: var(--nav-height, 82px);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-positive-700);
    color: var(--color-background-50);
    padding: 10px 20px;
    font-size: .78rem;
    font-weight: 400;
    letter-spacing: .1em;
    text-transform: uppercase;
    cursor: pointer;
}

.launch-banner-close {
    position: absolute;
    right: 20px;
    display: block;
    opacity: .7;
}

.launch-banner:hover .launch-banner-close {
    opacity: 1;
}

.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%;
    height: auto;
    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, .70);
}

.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;
    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, .70);
    line-height: 1.5;
}

.problem-quote {
    padding: 24px 40px 0;
    text-align: center;
    position: relative;
}

.problem-quote p {
    font-size: 1.1rem;
    font-style: italic;
    color: rgba(255, 255, 255, .65);
    max-width: 860px;
    margin: 0 auto;
    line-height: 1.7;
}

.problem-quote::before {
    content: "\201C";
    font-size: 4rem;
    color: var(--color-action-500);
    line-height: 1;
    display: block;
    margin-bottom: -8px;
}

/* ===== 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;
    will-change: width;
}

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


.benefit-card-ghost {
    display: none;
}

/* 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);
    /* Slide-in desktop : état initial caché */
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .6s ease-out, transform .6s ease-out, box-shadow .25s;
}

.benefit-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.benefit-card.is-visible: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-300);
}

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

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

.integration-card:hover {
    background: var(--color-background-50);
    transition: ease-in-out .2s;
}

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

/* ===== PAGES LÉGALES ===== */
.legal-page {
    background: var(--color-background-200);
    padding: 80px 40px;
    min-height: 100vh;
}

.legal-inner {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 60px;
    box-shadow: 0 1px 3px rgba(3, 36, 92, .06);
}

.legal-inner h1 {
    font-size: 2rem;
    color: var(--color-content-700);
    margin-bottom: 8px;
}

.legal-updated {
    font-size: .85rem;
    color: #64748b;
    margin-bottom: 40px;
}

.legal-inner h2 {
    font-size: 1.15rem;
    color: var(--color-content-600);
    margin-top: 36px;
    margin-bottom: 12px;
}

.legal-inner p {
    font-size: .9rem;
    color: #334155;
    line-height: 1.75;
    margin-bottom: 12px;
}

.legal-inner ul {
    list-style: none;
    padding: 0;
    margin-bottom: 12px;
}

.legal-inner ul li {
    font-size: .9rem;
    color: #334155;
    line-height: 1.75;
    padding-left: 20px;
    position: relative;
}

.legal-inner ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-action-500);
}

.legal-inner a {
    color: var(--color-action-500);
    text-decoration: none;
}

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

/* ===== PAGE CONTACT ===== */
.contact-page {
    background: var(--color-background-200);
    padding: 80px 40px;
}

.contact-inner {
    max-width: 960px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 0 56px;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 48px 48px 40px;
}

.contact-intro {
    position: sticky;
    top: 120px;
    align-self: start;
}

.contact-inner h1 {
    font-size: 2rem;
    color: var(--color-content-700);
    margin-bottom: 12px;
}

.contact-subtitle {
    font-size: .9rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 0;
}

.contact-inner select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: .9rem;
    color: var(--color-content-600);
    background: #fff;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}

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

.contact-inner textarea {
    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-content-600);
    resize: vertical;
    min-height: 120px;
}

.contact-inner textarea:focus {
    outline: none;
    border-color: var(--color-action-500);
    box-shadow: 0 0 0 3px rgba(37, 76, 185, .12);
}

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

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

    /* Carrousel mobile : 1 post visible + dots */
    .news-arrow {
        display: none;
    }

    .news-carousel-wrapper {
        gap: 0;
    }

    .news-embed {
        flex: 0 0 100%;
        position: relative;
    }

    .news-embed::after {
        content: '';
        position: absolute;
        inset: 0;
        z-index: 1;
    }

    .news-track {
        gap: 0;
    }

    .news-dots {
        display: flex;
    }

    /* --- 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: calc(100vh - 48px);
        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: auto;
    }

    .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);
        opacity: 0;
        transition: opacity .4s ease-out;
    }

    .benefits-screenshot.has-overlay::after {
        opacity: 1;
    }

    .benefits-grid {
        display: flex;
        gap: 16px;
        position: absolute;
        top: calc(40vh - 60px);
        left: 0;
        z-index: 2;
        padding: 0 20px 0 32px;
        margin-top: 0;
        will-change: transform;
    }

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

    .benefit-card,
    .benefit-card.is-visible {
        width: calc(100vw - 100px);
        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: .35;
        transform: none;
        transition: opacity .3s ease-out;
        cursor: pointer;
    }

    .benefit-card.is-active {
        opacity: 1;
    }

    .benefit-card.benefit-card-ghost {
        display: block;
        opacity: 0 !important;
        pointer-events: none;
        border: none !important;
        box-shadow: none !important;
        background: transparent !important;
        padding: 0;
        height: 0;
        min-height: 0;
        overflow: hidden;
    }

    .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;
        will-change: height;
    }

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

    .cta-section {
        padding: 60px 24px 0;
    }

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

    .legal-page {
        padding: 120px 24px 60px;
    }

    .legal-inner {
        padding: 40px 32px;
    }

    .contact-page {
        padding: 90px 24px 60px;
    }

    .contact-inner {
        gap: 0 40px;
        padding: 40px 32px;
    }
}

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

    .nav-link {
        display: none;
    }

    .cta-section {
        padding: 48px 16px 0;
    }

    .cta-card {
        padding: 40px 24px;
        margin-bottom: -40px;
    }

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

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

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

    .footer {
        padding: 72px 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;
    }



    .legal-page {
        padding: 100px 16px 48px;
    }

    .legal-inner {
        padding: 32px 20px;
    }

    .legal-inner h1 {
        font-size: 1.5rem;
    }

    .legal-inner h2 {
        font-size: 1.05rem;
    }

    .contact-page {
        padding: 80px 16px 48px;
    }

    .contact-inner {
        grid-template-columns: 1fr;
        padding: 32px 20px;
    }

    .contact-intro {
        position: static;
        margin-bottom: 24px;
    }

    .contact-inner h1 {
        font-size: 1.5rem;
    }

    .modal {
        padding: 28px 20px;
    }

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

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

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

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

    .benefit-card,
    .benefit-card.is-visible {
        padding: 20px 16px;
        width: calc(100vw - 90px);
    }

    .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;
        opacity: 1;
    }

}

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

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