/*
 * #1866 / #1908 — Page d'accueil commerciale bySINCE.
 * Charte : orange #dc5c3b, bleu nuit #142136, bleu clair #f2fafa, turquoise #6bdbdb, doré #cdc095.
 * Parti pris : un héros bleu nuit porté par le motif des chevrons de la marque et une grande
 * typographie Outfit ; le reste de la page reste clair et calme, les cartes ne servent qu'au
 * produit, la séquence (capter, formaliser, transmettre) est une frise.
 * Mode sombre à double portée, contrastes AA, focus visible, animations désactivées
 * avec prefers-reduced-motion ; une seule animation orchestrée à l'arrivée (héros).
 */
.landing-body {
    --l-orange: #dc5c3b;
    --l-orange-deep: #b9472a;
    --l-navy: #142136;
    --l-navy-deep: #0d1626;
    --l-navy-soft: #1f3252;
    --l-sky: #f2fafa;
    --l-turquoise: #6bdbdb;
    --l-gold: #cdc095;
    --l-bg: #f7f9fb;
    --l-surface: #ffffff;
    --l-surface-alt: #eaf3f5;
    --l-text: #142136;
    --l-muted: #4d5a70;
    --l-border: #d9e2e8;
    --l-link: #1d3fb5;
    --l-brand: #142136;
    --l-shadow: 0 24px 60px rgba(20, 33, 54, 0.14);

    margin: 0;
    background: var(--l-bg);
    color: var(--l-text);
    font-family: 'Outfit', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.05rem;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
}

.landing-body * {
    box-sizing: border-box;
}

/* L'attribut hidden prime sur tout display déclaré plus bas (messages de formulaire). */
.landing-body [hidden] {
    display: none !important;
}

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

.landing-container {
    width: min(1140px, 100% - 32px);
    margin-inline: auto;
}

.landing a:not(.landing-btn) {
    color: var(--l-link);
}

/* En-tête et pied de page : marque et liens en blanc, soulignés uniquement au survol (#1910) */
.landing-header a:not(.landing-btn),
.landing-footer a:not(.landing-btn) {
    color: #ffffff;
    text-decoration: none;
    text-underline-offset: 4px;
    text-decoration-thickness: 2px;
}

.landing-header a:not(.landing-btn):hover,
.landing-header a:not(.landing-btn):focus-visible,
.landing-footer a:not(.landing-btn):hover,
.landing-footer a:not(.landing-btn):focus-visible {
    text-decoration: underline;
}

.landing-footer-legal a {
    color: #cfd8e6;
}

.landing-body :focus-visible {
    outline: 3px solid var(--l-turquoise);
    outline-offset: 3px;
    border-radius: 4px;
}

.landing-skip {
    position: absolute;
    left: 16px;
    top: -4rem;
    z-index: 100;
    padding: 10px 16px;
    background: var(--l-navy);
    color: #ffffff !important;
    border-radius: 0 0 8px 8px;
    text-decoration: none;
    font-weight: 700;
}

.landing-skip:focus {
    top: 0;
}

/* ---------- Boutons ---------- */
.landing-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 22px;
    border-radius: 999px;
    border: 2px solid transparent;
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.landing-btn:hover,
.landing-btn:focus-visible {
    transform: translateY(-2px);
}

.landing-btn--primary:hover,
.landing-btn--primary:focus-visible {
    box-shadow: 0 10px 24px rgba(220, 92, 59, 0.35);
}

.landing-btn:active {
    transform: translateY(0);
}

.landing-btn--lg {
    min-height: 54px;
    padding: 14px 32px;
    font-size: 1.1rem;
}

.landing-btn--primary {
    background: var(--l-orange);
    border-color: var(--l-orange);
    color: #ffffff;
}

.landing-btn--primary:hover,
.landing-btn--primary:focus-visible {
    background: var(--l-orange-deep);
    border-color: var(--l-orange-deep);
    color: #ffffff;
}

.landing-btn--outline {
    background: transparent;
    border-color: var(--l-navy);
    color: var(--l-navy);
}

.landing-btn--outline:hover,
.landing-btn--outline:focus-visible {
    background: var(--l-navy);
    color: #ffffff;
}

.landing-btn--ghost {
    background: transparent;
    border-color: transparent;
    color: var(--l-navy);
}

.landing-btn--ghost:hover,
.landing-btn--ghost:focus-visible {
    background: rgba(107, 219, 219, 0.25);
}

/* Sur le fond bleu nuit du héros : bouton secondaire clair */
.landing-hero .landing-btn--outline {
    border-color: #ffffff;
    color: #ffffff;
}

.landing-hero .landing-btn--outline:hover,
.landing-hero .landing-btn--outline:focus-visible {
    background: #ffffff;
    color: var(--l-navy);
}

/* ---------- En-tête ---------- */
.landing-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--l-navy);
    color: #ffffff;
}

.landing-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 72px;
    transition: min-height 0.25s;
}

.landing-header.is-compact .landing-header-inner {
    min-height: 58px;
}

.landing-header.is-compact {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
}

/* Les ancres s'arrêtent sous l'en-tête collant */
.landing section[id] {
    scroll-margin-top: 100px;
}

.landing-header-cta {
    flex-shrink: 0;
}

.landing-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--l-brand);
    text-decoration: none;
    letter-spacing: 0.01em;
}

.landing-header .landing-brand {
    --l-brand: #ffffff;
}

.landing-nav {
    display: flex;
    align-items: center;
    gap: 6px 14px;
    flex-wrap: wrap;
    justify-content: flex-end;
    font-size: 0.95rem;
}

.landing-nav .landing-btn {
    min-height: 40px;
    padding: 8px 16px;
}

.landing-header .landing-btn--ghost {
    color: #ffffff;
}

.landing-header .landing-btn--ghost:hover,
.landing-header .landing-btn--ghost:focus-visible {
    background: rgba(255, 255, 255, 0.12);
}

.landing-nav > a {
    font-weight: 600;
    white-space: nowrap;
    padding: 6px 2px;
    border-bottom: 2px solid transparent;
}

.landing-nav > a[aria-current="true"] {
    border-bottom-color: var(--l-turquoise);
}

.landing-languages {
    display: inline-flex;
    gap: 2px;
    padding: 3px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
}

.landing-languages a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    min-height: 32px;
    padding: 0 8px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    transition: background-color 0.2s;
}

.landing-languages a:hover {
    background: rgba(255, 255, 255, 0.14);
    text-decoration: none;
}

.landing-body .landing-languages a[aria-current="page"] {
    background: #ffffff;
    color: var(--l-navy);
}

.landing-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #ffffff;
    font-size: 28px;
}

/* ---------- Héros ---------- */
.landing-hero {
    position: relative;
    overflow: hidden;
    padding: 88px 0 104px;
    background: var(--l-navy);
    color: #ffffff;
}

.landing-hero-mark {
    position: absolute;
    right: -6%;
    top: -18%;
    width: clamp(380px, 46vw, 720px);
    height: auto;
    fill: var(--l-navy-soft);
    opacity: 0.9;
    pointer-events: none;
}

.landing-hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 56px;
    align-items: center;
}

.landing-title {
    margin: 0 0 22px;
    font-size: clamp(2.4rem, 5.2vw, 4.1rem);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -0.02em;
    text-wrap: balance;
    color: #ffffff;
}

.landing-lead {
    margin: 0 0 32px;
    max-width: 34rem;
    font-size: 1.2rem;
    line-height: 1.6;
    color: #d6deea;
}

.landing-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 28px;
}

.landing-ai {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 8px 14px 8px 8px;
    border: 1px solid rgba(107, 219, 219, 0.5);
    border-radius: 999px;
    background: rgba(107, 219, 219, 0.1);
    color: #ffffff;
    font-size: 0.95rem;
}

.landing-ai-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 28px;
    padding: 0 8px;
    border: 2px solid var(--l-turquoise);
    border-radius: 8px;
    color: var(--l-turquoise);
    font-weight: 800;
    font-size: 0.85rem;
}

.landing-hero-visual {
    position: relative;
    aspect-ratio: 4 / 3.4;
    width: 100%;
    max-width: 520px;
    margin-inline: auto;
}

.landing-hero-plate {
    position: absolute;
    left: 0;
    top: 0;
    width: 86%;
    padding: 18px;
    border-radius: 22px;
    background: var(--l-sky);
    box-shadow: var(--l-shadow);
    transform: rotate(-3deg);
    transform-origin: left top;
}

.landing-hero-laptop {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.landing-hero-phone-wrap {
    /* Téléphone découpé de la plaquette Ambassadeur (captation d'un geste, compteur 00:12). */
    position: absolute;
    right: 0;
    bottom: 0;
    width: 31%;
}

.landing-hero-phone {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: auto;
    /* Fond transparent : l'ombre suit la silhouette du téléphone. */
    filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.5));
}

/* Petite ombre portée au sol, sous le téléphone */
.landing-hero-phone-wrap::after {
    content: '';
    position: absolute;
    left: 8%;
    right: 8%;
    bottom: -6%;
    height: 10%;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.25) 45%, transparent 72%);
    filter: blur(4px);
}

.landing-hero-badge {
    position: absolute;
    left: 0;
    bottom: 6%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: var(--l-shadow);
    font-size: 0.85rem;
    line-height: 1.3;
    color: var(--l-navy);
}

.landing-hero-badge .material-symbols-outlined {
    font-size: 30px;
    color: var(--l-gold);
}

/* Plans parallaxes (#1910) : le script déplace chaque [data-parallax] avec le défilement ;
   le flottement du téléphone et du badge est purement CSS. */
[data-parallax] {
    will-change: transform;
}

@keyframes landing-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.landing-hero-phone-wrap { animation: landing-float 7s ease-in-out infinite; }
.landing-hero-badge { animation: landing-float 8s 1s ease-in-out infinite reverse; }

/* Révélations au défilement : seulement quand le script est actif et le mouvement accepté ;
   au repos (sans script), tout est visible. */
.landing-js [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
    transition-delay: var(--reveal-delay, 0s);
}

.landing-js [data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

/* Une seule animation orchestrée : le héros apparaît, ligne après ligne */
@keyframes landing-rise {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

.landing-title,
.landing-lead,
.landing-actions,
.landing-ai {
    animation: landing-rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.landing-lead { animation-delay: 0.1s; }
.landing-actions { animation-delay: 0.2s; }
.landing-ai { animation-delay: 0.3s; }
.landing-hero-visual { animation: landing-rise 0.9s 0.25s cubic-bezier(0.2, 0.7, 0.2, 1) both; }

/* ---------- Sections ---------- */
.landing-section {
    padding: 88px 0;
}

.landing-section--soft {
    background: var(--l-surface-alt);
}

.landing-section--dark {
    background: var(--l-navy);
    color: #ffffff;
}

.landing-section-title {
    margin: 0 0 12px;
    max-width: 24ch;
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.015em;
    text-wrap: balance;
    color: inherit;
}

.landing-section-intro {
    margin: 0 0 44px;
    max-width: 40rem;
    font-size: 1.1rem;
    color: var(--l-muted);
}

.landing-section--dark .landing-section-intro {
    color: #cfd8e6;
}

.landing-center {
    text-align: center;
    margin: 40px 0 0;
}

.landing-benefits,
.landing-products,
.landing-steps,
.landing-testimonials,
.landing-figures {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 20px;
}

/* Bénéfices : liste en deux colonnes, séparée par des filets, sans cartes */
.landing-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 56px;
}

.landing-benefit {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 28px 0;
    border-top: 1px solid var(--l-border);
}

.landing-benefit-icon {
    transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), background-color 0.3s;
}

.landing-benefit:hover .landing-benefit-icon {
    transform: rotate(-6deg) scale(1.06);
    background: var(--l-navy-soft);
}

.landing-benefit-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: var(--l-navy);
    color: var(--l-turquoise);
    font-size: 30px;
}

.landing-benefit h3,
.landing-product h3,
.landing-step h3 {
    margin: 0 0 8px;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--l-navy);
}

.landing-benefit p,
.landing-product p,
.landing-step p {
    margin: 0;
    color: var(--l-muted);
}

/* Chiffres */
.landing-figures {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin-bottom: 44px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.landing-figure {
    padding: 28px 20px;
    border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.landing-figure:first-child {
    border-left: 0;
}

.landing-figure-value {
    display: block;
    font-family: 'Bebas Neue', 'Outfit', sans-serif;
    font-size: 4rem;
    line-height: 0.95;
    letter-spacing: 0.02em;
    color: var(--l-turquoise);
    font-variant-numeric: tabular-nums;
}

.landing-figure-label {
    display: block;
    margin-top: 8px;
    color: #cfd8e6;
}

.landing-charts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.landing-chart {
    margin: 0;
    padding: 24px;
    border-radius: 20px;
    background: var(--l-navy-soft);
}

.landing-chart svg {
    display: block;
    width: 100%;
    height: auto;
    max-height: 320px;
}

.landing-chart figcaption {
    margin-top: 12px;
    text-align: center;
    font-size: 0.95rem;
    color: #cfd8e6;
}

.landing-radar-ring { fill: none; stroke: rgba(255, 255, 255, 0.2); stroke-width: 1; }
.landing-radar-axis { stroke: rgba(255, 255, 255, 0.2); stroke-width: 1; }
.landing-radar-label { fill: #ffffff; font-size: 14px; font-weight: 700; font-family: inherit; }
.landing-radar-area { fill: rgba(107, 219, 219, 0.3); stroke: var(--l-turquoise); stroke-width: 2.5; stroke-linejoin: round; }
.landing-radar-point { fill: var(--l-navy); stroke: var(--l-turquoise); stroke-width: 2.5; }
.landing-line-grid { stroke: rgba(255, 255, 255, 0.16); stroke-width: 1; }
.landing-line-tick { fill: #cfd8e6; font-size: 12px; font-family: inherit; }
.landing-line-fill { fill: rgba(220, 92, 59, 0.22); }
.landing-line-path { fill: none; stroke: var(--l-orange); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.landing-line-point { fill: var(--l-navy); stroke: var(--l-orange); stroke-width: 2.5; }

/* Produit : trois vignettes, visuel plein cadre */
.landing-products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.landing-product {
    overflow: hidden;
    border-radius: 22px;
    background: var(--l-surface);
    box-shadow: 0 1px 0 var(--l-border), 0 14px 36px rgba(20, 33, 54, 0.08);
}

.landing-product-visual {
    aspect-ratio: 4 / 3;
    background: var(--l-sky);
}

.landing-product--dark .landing-product-visual {
    background: #16304f;
}

.landing-product-visual {
    overflow: hidden;
}

.landing-product-visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.landing-product:hover .landing-product-visual img {
    transform: scale(1.04);
}

.landing-product--dark .landing-product-visual img {
    object-fit: contain;
}

.landing-product-body {
    padding: 22px 24px 26px;
}

.landing-product--dark {
    background: var(--l-navy);
}

.landing-product--dark h3 { color: #ffffff; }
.landing-product--dark p { color: #cfd8e6; }

/* Étapes : une frise, le fil relie les trois marqueurs */
.landing-steps {
    position: relative;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}

.landing-steps::before {
    content: '';
    position: absolute;
    left: 10%;
    right: 10%;
    top: 34px;
    height: 2px;
    background: linear-gradient(90deg, var(--l-turquoise), var(--l-orange));
}

.landing-step {
    position: relative;
    padding: 0 8px;
    text-align: center;
}

.landing-step-marker {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: var(--l-surface);
    border: 3px solid var(--l-navy);
    color: var(--l-navy);
}

.landing-step-marker .material-symbols-outlined {
    font-size: 32px;
}

.landing-step-marker {
    transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.3s;
}

.landing-step:hover .landing-step-marker {
    transform: translateY(-4px);
    box-shadow: 0 0 0 8px rgba(107, 219, 219, 0.2);
}

.landing-step p {
    max-width: 30ch;
    margin-inline: auto;
}

/* Témoignages : citations calmes, en attente de textes */
.landing-testimonials {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
}

.landing-testimonial {
    position: relative;
    padding: 36px 28px 28px;
    border-left: 4px solid var(--l-gold);
    background: var(--l-surface);
}

.landing-testimonial-mark {
    position: absolute;
    left: 20px;
    top: -6px;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 5rem;
    line-height: 1;
    color: var(--l-gold);
}

.landing-testimonial blockquote {
    margin: 0 0 14px;
    font-size: 1.15rem;
    font-style: italic;
    color: var(--l-muted);
}

.landing-testimonial blockquote p { margin: 0; }
.landing-testimonial-author { margin: 0; font-weight: 600; color: var(--l-navy); }

/* Demande de démo */
.landing-demo {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 48px;
    align-items: start;
}

.landing-demo-hint {
    color: #cfd8e6;
    font-size: 0.95rem;
}

.landing-demo-form {
    padding: 32px;
    border-radius: 22px;
    background: var(--l-surface);
    color: var(--l-text);
    box-shadow: var(--l-shadow);
}

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

.landing-field {
    margin-bottom: 16px;
}

.landing-field label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: var(--l-text);
}

.landing-optional {
    font-weight: 400;
    font-size: 0.9rem;
    color: var(--l-muted);
}

.landing-field input,
.landing-field textarea {
    display: block;
    width: 100%;
    min-height: 48px;
    padding: 10px 14px;
    border: 1px solid #aeb8c6;
    border-radius: 10px;
    background: var(--l-surface);
    color: var(--l-text);
    font: inherit;
}

.landing-field input:focus-visible,
.landing-field textarea:focus-visible {
    border-color: var(--l-navy);
}

.landing-field textarea { resize: vertical; }

.landing-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.landing-privacy {
    margin: 4px 0 18px;
    font-size: 0.9rem;
    color: var(--l-muted);
}

.landing-form-errors {
    margin: 0 0 16px;
    padding: 12px 16px;
    border-left: 5px solid var(--l-orange-deep);
    border-radius: 8px;
    background: #fdeee9;
    color: #7a2412;
}

.landing-form-errors ul { margin: 0; padding-left: 1.2em; }

.landing-form-success {
    display: grid;
    justify-items: center;
    gap: 14px;
    padding: 24px 16px;
    border-radius: 14px;
    background: #e6f6ee;
    color: #15603a;
    text-align: center;
}

.landing-form-success p {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.landing-form-success-icon {
    font-size: 48px;
}

.landing-form-success .landing-btn--outline {
    border-color: #15603a;
    color: #15603a;
}

.landing-form-success .landing-btn--outline:hover,
.landing-form-success .landing-btn--outline:focus-visible {
    background: #15603a;
    color: #ffffff;
}

/* ---------- Pied de page ---------- */
.landing-footer {
    padding: 56px 0 36px;
    background: var(--l-navy-deep);
    color: #cfd8e6;
}

.landing-footer-inner {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    gap: 24px 40px;
    align-items: start;
}

.landing-footer .landing-brand { --l-brand: #ffffff; }
.landing-footer-brand p { margin: 10px 0 0; max-width: 28rem; }

.landing-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
}

.landing-footer-legal {
    grid-column: 1 / -1;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.9rem;
}

.landing-languages--footer {
    grid-column: 1 / -1;
    justify-self: start;
    background: rgba(255, 255, 255, 0.08);
}

.landing-footer-top {
    grid-column: 1 / -1;
    justify-self: end;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.95rem;
}

.landing-footer-top .material-symbols-outlined {
    font-size: 20px;
}

/* ---------- Popin de connexion ---------- */
.landing-dialog {
    position: fixed;
    inset: 0;
    margin: auto;
    width: min(440px, calc(100vw - 32px));
    height: fit-content;
    max-height: calc(100dvh - 32px);
    padding: 0;
    border: 0;
    border-radius: 22px;
    background: var(--l-surface);
    color: var(--l-text);
    box-shadow: 0 24px 60px rgba(20, 33, 54, 0.4);
    overflow: auto;
}

.landing-dialog::backdrop {
    background: rgba(13, 22, 38, 0.7);
}

.landing-login-form {
    padding: 26px 30px 30px;
}

.landing-dialog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.landing-dialog-header h2 {
    margin: 0;
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--l-navy);
}

.landing-dialog-close {
    width: 44px;
    height: 44px;
    margin-right: -10px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--l-navy);
}

.landing-dialog-close:hover { background: rgba(107, 219, 219, 0.25); }

.landing-login-submit {
    width: 100%;
    margin-top: 6px;
}

.landing-login-lost {
    margin: 14px 0 0;
    text-align: center;
    font-size: 0.95rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
    .landing-products,
    .landing-steps { grid-template-columns: 1fr; }
    .landing-steps::before { display: none; }
    .landing-step { display: grid; grid-template-columns: 70px 1fr; column-gap: 20px; text-align: left; }
    .landing-step-marker { grid-row: 1 / 3; margin: 0; }
    .landing-step p { margin-inline: 0; max-width: none; }
    .landing-figures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .landing-figure:nth-child(3) { border-left: 0; }
    .landing-figure:nth-child(-n + 2) { border-bottom: 1px solid rgba(255, 255, 255, 0.18); }
}

@media (max-width: 960px) {
    .landing-hero-inner,
    .landing-demo,
    .landing-footer-inner,
    .landing-benefits,
    .landing-charts,
    .landing-testimonials {
        grid-template-columns: 1fr;
    }

    .landing-hero { padding: 56px 0 64px; }
    .landing-hero-mark { right: -30%; top: auto; bottom: -10%; width: 420px; }
    .landing-section { padding: 64px 0; }
    .landing-benefits { gap: 0; }
}

@media (max-width: 760px) {
    .landing-menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
    .landing-header-inner { gap: 10px; }
    .landing-header-cta { margin-left: auto; min-height: 40px; padding: 8px 14px; font-size: 0.9rem; }
    .landing section[id] { scroll-margin-top: 76px; }

    .landing-nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
        background: var(--l-navy);
        box-shadow: var(--l-shadow);
    }

    .landing-nav.is-open { display: flex; }
    .landing-nav > a { padding: 10px 4px; }
    .landing-languages { justify-content: center; }
    .landing-form-row { grid-template-columns: 1fr; }
    .landing-demo-form { padding: 22px 18px; }
    .landing-actions .landing-btn { flex: 1 1 100%; }
    .landing-figure-value { font-size: 3rem; }
    .landing-hero-visual { max-width: 420px; }
}

@media (prefers-reduced-motion: reduce) {
    .landing-body { scroll-behavior: auto; }
    .landing-title,
    .landing-lead,
    .landing-actions,
    .landing-ai,
    .landing-hero-visual,
    .landing-hero-phone-wrap,
    .landing-hero-badge { animation: none; }
    .landing-btn,
    .landing-benefit-icon,
    .landing-product-visual img,
    .landing-step-marker { transition: none; }
    .landing-btn:hover,
    .landing-benefit:hover .landing-benefit-icon,
    .landing-product:hover .landing-product-visual img,
    .landing-step:hover .landing-step-marker { transform: none; }
    [data-parallax] { transform: none !important; }
    .landing-js [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ---------- Mode sombre (double portée) ---------- */
@media (prefers-color-scheme: dark) {
    html:not([data-bs-theme="light"]) .landing-body {
        --l-bg: #0f1a2d;
        --l-surface: #1a2740;
        --l-surface-alt: #13203a;
        --l-text: #eef2f8;
        --l-muted: #b8c2d3;
        --l-border: #2f4263;
        --l-link: #9dc1ff;
        --l-brand: #ffffff;
        --l-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
    }

    html:not([data-bs-theme="light"]) .landing-header,
    html:not([data-bs-theme="light"]) .landing-hero,
    html:not([data-bs-theme="light"]) .landing-section--dark,
    html:not([data-bs-theme="light"]) .landing-product--dark { background: #0a1220; }
    html:not([data-bs-theme="light"]) .landing-hero-mark { fill: #15223a; }
    html:not([data-bs-theme="light"]) .landing-hero-plate { background: #1a2740; }
    html:not([data-bs-theme="light"]) .landing-benefit h3,
    html:not([data-bs-theme="light"]) .landing-product h3,
    html:not([data-bs-theme="light"]) .landing-step h3,
    html:not([data-bs-theme="light"]) .landing-testimonial-author,
    html:not([data-bs-theme="light"]) .landing-dialog-header h2,
    html:not([data-bs-theme="light"]) .landing-dialog-close { color: #ffffff; }
    html:not([data-bs-theme="light"]) .landing-benefit-icon { background: #1f3252; }
    html:not([data-bs-theme="light"]) .landing-btn--outline { border-color: #ffffff; color: #ffffff; }
    html:not([data-bs-theme="light"]) .landing-btn--outline:hover,
    html:not([data-bs-theme="light"]) .landing-btn--outline:focus-visible { background: #ffffff; color: #142136; }
    html:not([data-bs-theme="light"]) .landing-step-marker { background: #1a2740; border-color: var(--l-turquoise); color: #ffffff; }
    html:not([data-bs-theme="light"]) .landing-figure,
    html:not([data-bs-theme="light"]) .landing-chart { background: #15223a; }
    html:not([data-bs-theme="light"]) .landing-product { box-shadow: 0 14px 36px rgba(0, 0, 0, 0.4); }
    html:not([data-bs-theme="light"]) .landing-field input,
    html:not([data-bs-theme="light"]) .landing-field textarea { background: #0f1a2d; border-color: #50607c; color: #eef2f8; }
    html:not([data-bs-theme="light"]) .landing-form-errors { background: #4a2015; color: #ffd9cf; }
    html:not([data-bs-theme="light"]) .landing-form-success { background: #123524; color: #a9ecc6; }
    html:not([data-bs-theme="light"]) .landing-form-success .landing-btn--outline { border-color: #a9ecc6; color: #a9ecc6; }
}

html[data-bs-theme="dark"] .landing-body {
    --l-bg: #0f1a2d;
    --l-surface: #1a2740;
    --l-surface-alt: #13203a;
    --l-text: #eef2f8;
    --l-muted: #b8c2d3;
    --l-border: #2f4263;
    --l-link: #9dc1ff;
    --l-brand: #ffffff;
    --l-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

html[data-bs-theme="dark"] .landing-header,
html[data-bs-theme="dark"] .landing-hero,
html[data-bs-theme="dark"] .landing-section--dark,
html[data-bs-theme="dark"] .landing-product--dark { background: #0a1220; }
html[data-bs-theme="dark"] .landing-hero-mark { fill: #15223a; }
html[data-bs-theme="dark"] .landing-hero-plate { background: #1a2740; }
html[data-bs-theme="dark"] .landing-benefit h3,
html[data-bs-theme="dark"] .landing-product h3,
html[data-bs-theme="dark"] .landing-step h3,
html[data-bs-theme="dark"] .landing-testimonial-author,
html[data-bs-theme="dark"] .landing-dialog-header h2,
html[data-bs-theme="dark"] .landing-dialog-close { color: #ffffff; }
html[data-bs-theme="dark"] .landing-benefit-icon { background: #1f3252; }
html[data-bs-theme="dark"] .landing-btn--outline { border-color: #ffffff; color: #ffffff; }
html[data-bs-theme="dark"] .landing-btn--outline:hover,
html[data-bs-theme="dark"] .landing-btn--outline:focus-visible { background: #ffffff; color: #142136; }
html[data-bs-theme="dark"] .landing-step-marker { background: #1a2740; border-color: var(--l-turquoise); color: #ffffff; }
html[data-bs-theme="dark"] .landing-figure,
html[data-bs-theme="dark"] .landing-chart { background: #15223a; }
html[data-bs-theme="dark"] .landing-product { box-shadow: 0 14px 36px rgba(0, 0, 0, 0.4); }
html[data-bs-theme="dark"] .landing-field input,
html[data-bs-theme="dark"] .landing-field textarea { background: #0f1a2d; border-color: #50607c; color: #eef2f8; }
html[data-bs-theme="dark"] .landing-form-errors { background: #4a2015; color: #ffd9cf; }
html[data-bs-theme="dark"] .landing-form-success { background: #123524; color: #a9ecc6; }
html[data-bs-theme="dark"] .landing-form-success .landing-btn--outline { border-color: #a9ecc6; color: #a9ecc6; }
