/* Landing EvoRating — conversion-focused */

body.home-page {
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
}

.home-page {
    --home-bg: #f4f5f8;
    --home-bg-soft: #f8f9fb;
    --home-bg-center: #fdfdfd;
    background-color: var(--home-bg);
    color: #0a0a0b;
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
}

.home-page main {
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
}

/* Fond plat — évite les taches grises dans les coins */
.home-hero {
    background-color: var(--home-bg);
}

.home-header {
    background: rgba(248, 249, 251, 0.88);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(10, 10, 11, 0.06);
}

.home-header-logo {
    height: 2.25rem;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: left center;
}

/* Desktop header: split nav items + CTA into two blocks */
.home-header__nav-links {
    flex: 1 1 auto;
    min-width: 0;
}

.home-header__nav-cta {
    flex: 0 0 auto;
    margin-left: 2.25rem;
}

/* Zoom logo : desktop uniquement (limité pour éviter de masquer le hero) */
@media (min-width: 768px) {
    .home-header {
        overflow: visible;
    }

    .home-header-logo {
        transform: scale(2);
        transform-origin: left center;
    }
}

.home-logo-text {
    font-weight: 700;
    letter-spacing: -0.03em;
    font-size: 1.25rem;
}

.home-logo-star {
    color: #9ca3af;
}

.home-nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: #52525b;
    transition: color 0.2s;
}

.home-nav-link:hover {
    color: #0a0a0b;
}

.home-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9375rem 1.875rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.9375rem;
    background: linear-gradient(135deg, #0a0a0b 0%, #1f1f23 100%);
    color: #fff;
    box-shadow: 0 4px 20px rgba(10, 10, 11, 0.18);
    transition: transform 0.15s, box-shadow 0.2s;
}

.home-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(10, 10, 11, 0.22);
}

.home-btn-outline {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #52525b;
    border: 1px solid #d4d4d8;
    background: #fff;
    transition: border-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.home-btn-outline:hover {
    border-color: #0a0a0b;
    color: #0a0a0b;
    box-shadow: 0 2px 8px rgba(10, 10, 11, 0.06);
}

.home-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 9999px;
    border: 1px solid rgba(10, 10, 11, 0.08);
    background: #fff;
    padding: 0.375rem 0.875rem 0.375rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #52525b;
    box-shadow: 0 1px 3px rgba(10, 10, 11, 0.04);
}

.home-hero-badge-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
}

.home-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(10, 10, 11, 0.06);
}

.home-hero-grid {
    display: grid;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .home-hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3.5rem 4rem;
    }

    .home-hero-main {
        grid-column: 1;
        grid-row: 1;
        align-self: end;
    }

    .home-stats--hero {
        grid-column: 1;
        grid-row: 2;
        margin-top: 0;
    }

    .home-hero-visual {
        grid-column: 2;
        grid-row: 1 / span 2;
        align-self: center;
    }
}

.home-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #0a0a0b;
}

.home-stat-label {
    margin-top: 0.25rem;
    font-size: 0.75rem;
    color: #71717a;
}

.home-input {
    width: 100%;
    border-radius: 0.75rem;
    border: 1px solid #e4e4e7;
    background: #fff;
    padding: 0.8125rem 1rem;
    font-size: 0.9375rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.home-input:focus {
    outline: none;
    border-color: #a1a1aa;
    box-shadow: 0 0 0 3px rgba(10, 10, 11, 0.06);
}

.home-input--error,
.home-field--error .home-input {
    border-color: #f87171;
    background: #fef2f2;
}

.home-field--error .home-input:focus {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

.home-checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.home-checkbox {
    margin-top: 0.2rem;
    width: 1.125rem;
    height: 1.125rem;
    flex-shrink: 0;
    accent-color: #0a0a0b;
    border-radius: 0.25rem;
}

.home-checkbox-label {
    font-size: 0.8125rem;
    line-height: 1.5;
    color: #52525b;
}

.home-checkbox-label a {
    color: #0a0a0b;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.home-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.home-card {
    background: #fff;
    border: 1px solid rgba(10, 10, 11, 0.06);
    border-radius: 1.25rem;
    box-shadow: 0 1px 2px rgba(10, 10, 11, 0.04);
    transition: box-shadow 0.25s, transform 0.25s;
}

.home-card:hover {
    box-shadow: 0 16px 48px rgba(10, 10, 11, 0.09);
    transform: translateY(-3px);
}

.home-card-featured {
    border-color: rgba(10, 10, 11, 0.12);
    background: linear-gradient(165deg, #fff 0%, #f8f9fb 100%);
}

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

.home-hero-image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    border: none;
    border-radius: 0;
    box-shadow: none;
    object-fit: contain;
}

@media (min-width: 768px) {
    .home-hero-image {
        transform: scale(1.3);
    }
}

.home-solution-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.home-solution-image {
    display: block;
    width: 100%;
    max-width: 72rem;
    height: auto;
    margin: 0 auto;
    border: none;
    border-radius: 0;
    box-shadow: none;
    object-fit: contain;
}

.home-flash {
    border-radius: 0.875rem;
    padding: 1rem 1.125rem;
    font-size: 0.875rem;
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
}

.home-flash-success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.home-flash-warning {
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
}

.home-flash-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.home-form-error {
    display: flex;
    align-items: flex-start;
    gap: 0.375rem;
    margin-top: 0.5rem;
    font-size: 0.8125rem;
    color: #b91c1c;
}

.home-form-errors-global {
    border-radius: 0.875rem;
    border: 1px solid #fecaca;
    background: #fef2f2;
    padding: 1rem 1.125rem;
    font-size: 0.875rem;
    color: #991b1b;
}

.home-contact-card {
    background: #fff;
    border: 1px solid rgba(10, 10, 11, 0.08);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 24px 64px rgba(10, 10, 11, 0.08);
}

.home-section-alt {
    background: #fff;
    border-top: 1px solid rgba(10, 10, 11, 0.05);
    border-bottom: 1px solid rgba(10, 10, 11, 0.05);
}

.home-section-dark {
    background: linear-gradient(165deg, #0a0a0b 0%, #18181b 100%);
    color: #fff;
}

.home-silver-accent {
    color: #71717a;
}

.home-icon-wrap {
    width: 3rem;
    height: 3rem;
    border-radius: 0.875rem;
    background: linear-gradient(135deg, #f4f4f5 0%, #e4e4e7 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0a0a0b;
    font-size: 1.125rem;
}

/* Bandeau défilant — fond noir */
.home-marquee {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    contain: paint;
    background: #0a0a0b;
    padding: 1.125rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.home-marquee__track {
    display: flex;
    align-items: center;
    gap: 3.5rem;
    width: max-content;
    animation: home-marquee-scroll 45s linear infinite;
}

.home-marquee__track:hover {
    animation-play-state: paused;
}

.home-marquee__item {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    white-space: nowrap;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #d4d4d8;
}

.home-marquee__item i {
    color: #71717a;
    font-size: 0.9375rem;
}

.home-marquee__fade {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 5rem;
    z-index: 2;
    pointer-events: none;
}

.home-marquee__fade--left {
    left: 0;
    background: linear-gradient(90deg, #0a0a0b 0%, transparent 100%);
}

.home-marquee__fade--right {
    right: 0;
    background: linear-gradient(270deg, #0a0a0b 0%, transparent 100%);
}

@keyframes home-marquee-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-marquee__track {
        animation: none;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        gap: 1rem 2rem;
        padding: 0 1rem;
    }

    .home-marquee__fade {
        display: none;
    }
}


/* Section danger — aligné sur le design EvoRating */
.home-danger {
    padding: 4rem 0 5rem;
    background: var(--home-bg);
}

.home-danger__header {
    max-width: 40rem;
    margin: 0 auto 3rem;
    text-align: center;
}

.home-danger__eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #71717a;
}

.home-danger__title {
    margin-top: 0.75rem;
    font-size: clamp(1.625rem, 3.5vw, 2.375rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.025em;
    color: #0a0a0b;
}

.home-danger__accent {
    color: #e11d48;
}

.home-danger__lead {
    margin-top: 1.25rem;
    font-size: 1.0625rem;
    line-height: 1.7;
    color: #52525b;
}

.home-danger__grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .home-danger__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.home-danger-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100%;
    padding: 1.75rem 1.5rem 1.5rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(10, 10, 11, 0.06);
    background: #fff;
    text-align: center;
    box-shadow: 0 1px 2px rgba(10, 10, 11, 0.04);
    transition: box-shadow 0.25s, transform 0.25s;
}

.home-danger-card:hover {
    box-shadow: 0 12px 40px rgba(10, 10, 11, 0.08);
    transform: translateY(-2px);
}

.home-danger-card__title {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #0a0a0b;
    line-height: 1.35;
}

.home-danger-card__icon {
    margin: 1.25rem 0 1rem;
}

.home-danger-card__icon-wrap {
    width: 5rem;
    height: 5rem;
    font-size: 2.5rem;
    background: none;
    border-radius: 0;
}

.home-danger-card__icon-wrap--rose {
    color: #e11d48;
}

.home-danger-card__text {
    flex: 1;
    font-size: 0.875rem;
    line-height: 1.65;
    color: #52525b;
}

.home-danger-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid #f4f4f5;
}

.home-danger-card__stars {
    display: flex;
    gap: 0.2rem;
    font-size: 0.6875rem;
}

.home-danger-card__stars--muted {
    color: #a1a1aa;
}

.home-danger-card__stars--gold {
    color: #f59e0b;
}

.home-danger-card__pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.625rem;
    border-radius: 9999px;
    font-size: 0.6875rem;
    font-weight: 600;
    white-space: nowrap;
}

.home-danger-card__pill--alert {
    background: #fef2f2;
    color: #be123c;
    border: 1px solid #fecdd3;
}

.home-danger-card__pill--google {
    background: #f8fafc;
    color: #3f3f46;
    border: 1px solid #e4e4e7;
}

.home-danger-card__pill--google i {
    color: #4285f4;
    font-size: 0.8125rem;
}

.home-danger-card__foot--positive {
    border-top-color: #fef3c7;
}

/* Footer pro */
.home-footer {
    background: #0a0a0b;
    color: #a1a1aa;
}

.home-footer__main {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.home-footer-logo {
    height: 2rem;
    width: auto;
    object-fit: contain;
    transform: scale(4);
}

.home-footer-logo--fallback {
    filter: brightness(0) invert(1);
}

.home-footer__tagline {
    margin-top: 1.25rem;
    max-width: 18rem;
    font-size: 0.875rem;
    line-height: 1.65;
    color: #71717a;
}

.home-footer__social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.home-footer-social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #a1a1aa;
    font-size: 0.875rem;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.home-footer-social:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.home-footer__heading {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
}

.home-footer__links {
    margin-top: 1rem;
    list-style: none;
    padding: 0;
}

.home-footer__links li + li {
    margin-top: 0.625rem;
}

.home-footer-link {
    font-size: 0.875rem;
    color: #a1a1aa;
    transition: color 0.2s;
}

.home-footer-link:hover {
    color: #fff;
}

.home-footer__bar {
    background: #050506;
}

.home-footer__copy {
    font-size: 0.8125rem;
    color: #71717a;
}

.home-footer__copy-muted {
    font-size: 0.75rem;
    color: #52525b;
}

.home-step-num {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: #0a0a0b;
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.home-cta-band {
    background: linear-gradient(135deg, #0a0a0b 0%, #27272a 100%);
    border-radius: 1.5rem;
    padding: 3rem 2rem;
    text-align: center;
    color: #fff;
    box-shadow: 0 24px 60px rgba(10, 10, 11, 0.2);
}

.home-cta-band .home-btn-primary {
    background: #fff;
    color: #0a0a0b;
    box-shadow: none;
}

.home-cta-band .home-btn-primary:hover {
    background: #f4f4f5;
}

.home-btn-primary--lg {
    padding: 0.875rem 1.75rem;
    font-size: 1.0625rem;
    gap: 0.5rem;
}

.home-legal-prose h2 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: #18181b;
}

.home-legal-prose h2:first-child {
    margin-top: 0;
}

.home-legal-prose p,
.home-legal-prose ul {
    margin-bottom: 1rem;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: #52525b;
}

.home-legal-prose ul {
    padding-left: 1.25rem;
}

.home-legal-prose a {
    color: #18181b;
    text-decoration: underline;
}

.home-legal-note {
    margin-top: 2rem;
    padding: 1rem;
    border-radius: 0.5rem;
    background: #fafafa;
    font-size: 0.875rem;
}

/* Pages légales (Google OAuth, RGPD) */
.home-page--legal {
    background: #fafafa;
}

.home-legal-hero__title {
    margin-top: 1rem;
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #09090b;
}

.home-legal-hero__meta {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #71717a;
}

.home-legal-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.home-legal-nav__link {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.875rem;
    border-radius: 9999px;
    border: 1px solid #e4e4e7;
    background: #fff;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #52525b;
    text-decoration: none;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.home-legal-nav__link:hover {
    border-color: #a1a1aa;
    color: #18181b;
}

.home-legal-nav__link.is-active {
    border-color: #18181b;
    background: #18181b;
    color: #fff;
}

.home-legal-card {
    margin-top: 1.5rem;
    padding: 1.75rem 1.5rem;
    border-radius: 1rem;
    border: 1px solid #e4e4e7;
    background: #fff;
    box-shadow: 0 1px 2px rgb(0 0 0 / 4%);
}

.home-legal-summary {
    margin-bottom: 1.5rem;
    padding: 1.25rem 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid #dbeafe;
    background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
}

.home-legal-summary__title {
    margin: 0 0 0.75rem;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #1d4ed8;
}

.home-legal-summary ul {
    margin: 0;
    padding-left: 1.125rem;
    font-size: 0.875rem;
    line-height: 1.6;
    color: #334155;
}

.home-legal-summary li {
    margin-bottom: 0.35rem;
}

.home-legal-prose h3 {
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
    font-size: 1.0625rem;
    font-weight: 600;
    color: #27272a;
}

.home-footer__bar-legal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.35rem 0.5rem;
    font-size: 0.8125rem;
}

.home-footer__sep {
    color: #a1a1aa;
    user-select: none;
}

.home-success-icon {
    font-size: 3.5rem;
    color: #16a34a;
}

.home-back-link {
    margin: 0;
}

.home-back-link a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #71717a;
    text-decoration: none;
    transition: color 0.15s ease;
}

.home-back-link a:hover {
    color: #18181b;
}

/* Burger + menu mobile : cachés par défaut (desktop) */
.home-nav-toggle,
.home-nav-overlay,
.home-mobile-nav {
    display: none;
}

/* ========== Mobile uniquement (téléphone) — le desktop reste inchangé ========== */
@media (max-width: 767px) {
    html {
        overflow-x: hidden;
        max-width: 100%;
    }

    body.home-page {
        overflow-x: hidden;
        overscroll-behavior-x: none;
        max-width: 100%;
    }

    body.home-nav-open {
        overflow: hidden;
    }

    .home-page,
    .home-page main,
    .home-header,
    .home-hero,
    .home-marquee,
    .home-danger,
    .home-section-alt,
    .home-footer {
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }

    .home-page,
    .home-page main {
        overflow-x: hidden;
    }

    /* Header + menu burger */
    .home-header {
        overflow: hidden;
        contain: layout style;
    }

    .home-header > .mx-auto {
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
        min-height: 3.75rem;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }

    .home-header--nav-open {
        z-index: 55;
    }

    .home-header__brand {
        display: flex;
        align-items: center;
        flex: 1 1 auto;
        min-width: 0;
        max-width: calc(100% - 3.25rem);
        overflow: hidden;
        height: 3.15rem;
        contain: paint;
        isolation: isolate;
    }

    .home-header-logo {
        display: block;
        height: 1.9rem;
        width: auto;
        max-width: 100%;
        transform: scale(2.15);
        transform-origin: left center;
        margin: 0;
        object-fit: contain;
        object-position: left center;
        will-change: transform;
    }

    .home-header__actions {
        display: flex;
        flex-shrink: 0;
        align-items: center;
    }

    .home-nav-toggle {
        display: inline-flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 6px;
        width: 2.75rem;
        height: 2.75rem;
        padding: 0;
        margin: 0;
        border: none;
        background: transparent;
        box-shadow: none;
        outline: none;
        cursor: pointer;
        flex-shrink: 0;
        position: relative;
        z-index: 1;
        -webkit-appearance: none;
        appearance: none;
    }

    .home-nav-toggle:focus,
    .home-nav-toggle:active {
        background: transparent;
        box-shadow: none;
        outline: none;
    }

    .home-header--nav-open .home-nav-toggle {
        z-index: 60;
        background: transparent;
        box-shadow: none;
    }

    .home-nav-toggle__bar {
        display: block;
        width: 1.125rem;
        height: 2px;
        border-radius: 1px;
        background: #18181b;
        transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1),
            opacity 0.22s ease,
            width 0.32s ease;
    }

    .home-header--nav-open .home-nav-toggle__bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .home-header--nav-open .home-nav-toggle__bar:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }

    .home-header--nav-open .home-nav-toggle__bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .home-nav-overlay {
        display: block !important;
        position: fixed;
        inset: 0;
        z-index: 40;
        background: rgba(10, 10, 11, 0.45);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.32s cubic-bezier(0.4, 0, 0.2, 1),
            visibility 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .home-header--nav-open .home-nav-overlay {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .home-mobile-nav {
        display: block !important;
        position: fixed;
        top: 0;
        right: 0;
        z-index: 45;
        width: min(100%, 20rem);
        height: 100dvh;
        height: 100vh;
        background: #fff;
        border-left: 1px solid rgba(10, 10, 11, 0.08);
        box-shadow: -8px 0 32px rgba(10, 10, 11, 0.12);
        transform: translateX(100%);
        visibility: hidden;
        pointer-events: none;
        transition: transform 0.36s cubic-bezier(0.32, 0.72, 0, 1),
            visibility 0.36s cubic-bezier(0.32, 0.72, 0, 1);
        overflow: hidden;
    }

    .home-header--nav-open .home-mobile-nav {
        transform: translateX(0);
        visibility: visible;
        pointer-events: auto;
    }

    .home-mobile-nav__inner {
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
        padding: 5rem 1.25rem 2rem;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        max-height: 100dvh;
        max-height: 100vh;
    }

    .home-mobile-nav__link {
        display: block;
        padding: 0.875rem 1rem;
        border-radius: 0.75rem;
        font-size: 1rem;
        font-weight: 500;
        color: #3f3f46;
        text-decoration: none;
    }

    .home-mobile-nav__link:active {
        background: #f4f4f5;
    }

    .home-mobile-nav__cta {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid #f4f4f5;
    }

    .home-mobile-nav__cta .home-btn-primary {
        width: 100%;
        justify-content: center;
    }

    /* Contenu */
    .home-hero .home-stats--hero {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.5rem 0.35rem;
        margin-top: 0.25rem;
        padding-top: 1.25rem;
        text-align: center;
    }

    .home-hero .home-stats--hero .home-stat-value {
        font-size: 1.125rem;
    }

    .home-hero .home-stats--hero .home-stat-label {
        font-size: 0.625rem;
        line-height: 1.3;
        margin-top: 0.2rem;
    }

    .home-marquee {
        contain: strict;
    }

    .home-marquee__track {
        max-width: none;
    }

    .home-marquee__item {
        font-size: 0.75rem;
    }

    .home-hero h1 {
        font-size: 1.875rem;
        line-height: 1.15;
    }

    .home-hero .home-btn-primary {
        width: 100%;
        justify-content: center;
    }

    .home-hero-image {
        transform: none;
        max-width: min(100%, 20rem);
    }

    .home-hero,
    .home-hero > div,
    .home-solution-visual,
    .home-marquee,
    .home-danger,
    .home-section-alt,
    #solution,
    #fonctionnalites,
    #contact {
        max-width: 100%;
        overflow-x: clip;
    }

    .home-hero-grid {
        width: 100%;
        min-width: 0;
    }

    .home-hero-visual {
        margin-top: 0.5rem;
        overflow: hidden;
    }

    .home-cta-band {
        margin-left: 0.75rem;
        margin-right: 0.75rem;
        padding: 2rem 1.25rem;
    }

    .home-cta-band .home-btn-primary {
        width: 100%;
        justify-content: center;
    }

    .home-contact-card {
        padding: 1.25rem;
    }

    .home-danger {
        padding: 2.5rem 0 3rem;
    }

    .home-danger__header {
        margin-bottom: 2rem;
    }

    .home-footer-logo {
        transform: scale(2.25);
        transform-origin: left center;
    }

    .home-footer .grid.grid-cols-2 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .home-footer .col-span-2 {
        grid-column: auto;
    }

    .home-footer__main {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }

    .home-legal-prose h2 {
        font-size: 1.125rem;
    }

    .home-legal-prose p,
    .home-legal-prose ul {
        font-size: 0.875rem;
    }

    main.mx-auto.max-w-3xl,
    main.mx-auto.max-w-xl {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}
