/* ================================================================
   Sourdosphère — landing-refonte.css
   Habillage de la landing publique (chargé après landing.css).
   Aucun texte n'est modifié : seules la mise en page, la police et
   les formes changent.
   ================================================================ */

:root {
    --font: 'Schibsted Grotesk', -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
    --papier: #F7F6F2;
    --carte-bord: #E6E4DC;
    --vert-texte: #0a6b4e;
    --nav-h: 62px;
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.landing-body {
    font-family: var(--font);
    background: var(--papier);
    font-size: 15px;
}
.landing-body h1, .landing-body h2, .landing-body h3, .landing-body h4 {
    font-weight: 600; letter-spacing: -0.02em;
}
.landing-body button, .landing-body input { font-family: var(--font); }
.landing-body :focus-visible { outline: 3px solid var(--vert-mid); outline-offset: 3px; }
.landing-body [id] { scroll-margin-top: calc(var(--nav-h) + var(--staging-banner-h, 0px)); }

/* ── Navigation ────────────────────────────────────────────────── */
.l-nav {
    background: var(--papier);
    border-bottom: 1px solid var(--carte-bord);
    top: var(--staging-banner-h, 0px);
}
.l-nav__inner { height: var(--nav-h); }
.l-nav__logo { color: var(--vert-fonce); font-weight: 600; font-size: 1.2rem; letter-spacing: -0.02em; }
.l-nav__logo span { color: var(--vert-mid); }
.l-nav__links a { color: #2d2d2a; font-weight: 500; }
.l-nav__links a:hover { color: var(--vert-fonce); text-decoration: underline; text-underline-offset: 4px; }
.l-nav__login {
    color: var(--vert-fonce); font-weight: 600;
    border: 1.5px solid var(--vert-fonce); border-radius: 10px; padding: 0.4rem 0.95rem;
}
.l-nav__cta { border-radius: 10px; color: #072016; font-weight: 600; padding: 0.5rem 1.1rem; }
.l-nav__cta:hover { color: #fff; }

/* ── Hero : un seul écran ──────────────────────────────────────── */
.l-hero {
    position: relative;
    background: var(--papier);
    min-height: calc(100vh - var(--nav-h) - 1px - var(--staging-banner-h, 0px));
    min-height: calc(100svh - var(--nav-h) - 1px - var(--staging-banner-h, 0px));
    padding: 1.5rem 1.5rem 4.5rem;
    display: flex; flex-direction: column; justify-content: center;
    box-sizing: border-box;
}
.l-hero__inner {
    width: 100%;
    grid-template-columns: minmax(0, 1fr) 440px;
    gap: 4rem; align-items: center; padding-top: 0;
}
.l-hero__eyebrow {
    text-transform: none; letter-spacing: 0; font-size: 0.85rem; font-weight: 600;
    color: var(--vert-fonce); background: var(--vert-clair);
    display: inline-flex; padding: 0.3rem 0.8rem; border-radius: 999px;
    margin-bottom: 1.25rem;
}
.l-hero__eyebrow::before { display: none; }
.l-hero__title {
    color: var(--vert-fonce); font-weight: 600;
    font-size: clamp(2rem, 4.2vw, 3.1rem); line-height: 1.08;
    letter-spacing: -0.03em; margin-bottom: 1.1rem;
}
.l-hero__title em { color: var(--vert-texte); font-style: normal; }
.l-hero__desc { color: #2d2d2a; font-size: 1.05rem; line-height: 1.6; max-width: 34rem; margin-bottom: 1.75rem; }
.l-hero__desc strong { color: var(--vert-fonce); font-weight: 600; }
.l-hero__btns { gap: 0.75rem; }
.l-hero__btn-primary {
    background: var(--vert-mid); color: #072016; font-weight: 600; font-size: 0.97rem;
    border-radius: 10px; padding: 0.8rem 1.4rem; min-height: 46px; box-sizing: border-box;
}
.l-hero__btn-primary:hover { background: #18845f; color: #fff; }
.l-hero__btn-ghost {
    color: var(--vert-fonce); font-weight: 600; font-size: 0.97rem;
    border: 1.5px solid var(--vert-fonce); border-radius: 10px;
    padding: 0.8rem 1.4rem; min-height: 46px; box-sizing: border-box;
    display: inline-flex; align-items: center;
}
.l-hero__btn-ghost:hover { background: var(--vert-clair); color: var(--vert-fonce); border-color: var(--vert-fonce); }

/* « Découvrir plus » */
.l-hero__cue {
    position: absolute; left: 50%; bottom: 1.1rem; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    font-size: 0.88rem; font-weight: 600; color: var(--vert-fonce);
}
.l-hero__cue svg { animation: l-cue 1.8s ease-in-out infinite; }
.l-hero__cue:hover { text-decoration: underline; text-underline-offset: 4px; }
@keyframes l-cue { 0%, 100% { transform: translateY(0); opacity: .6; } 50% { transform: translateY(5px); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .l-hero__cue svg { animation: none; } }

/* Aperçu : trois cartes du fil, légèrement décalées */
.l-hero__mockup { padding-top: 0; gap: 12px; position: relative; }
.l-post {
    border: 1px solid var(--carte-bord); border-radius: 14px;
    padding: 1rem 1.1rem; box-shadow: 0 10px 30px rgba(26,58,46,0.08);
}
.l-post:nth-child(2) { margin-left: 2.25rem; margin-right: -0.5rem; }
.l-post:nth-child(3) { margin-right: 2rem; }
.l-post__avatar { border-radius: 50%; }
.l-post__meta-name { font-weight: 600; }
.l-post__badge {
    border-radius: 999px; padding: 2px 10px; font-weight: 600; letter-spacing: 0;
    background: var(--vert-clair); color: var(--vert-fonce);
}
.l-post__footer { border-top-color: var(--carte-bord); }

@media (max-width: 900px) {
    .l-hero__inner { grid-template-columns: 1fr; gap: 1.25rem; }
    /* Sur petit écran : une seule carte pour rester sur un écran */
    .l-hero__mockup { display: flex; }
    .l-hero__mockup .l-post:nth-child(n+2) { display: none; }
    .l-hero__title { font-size: 2rem; }
}
@media (max-width: 768px) {
    .l-hero {
        padding: 3rem 1.25rem 3.5rem;
        min-height: calc(100svh - var(--nav-h) - 1px - var(--staging-banner-h, 0px));
        justify-content: center;
    }
    .l-hero::after { display: none; }
    .l-hero__eyebrow { font-size: 0.8rem; margin-bottom: 0.9rem; }
    .l-hero__title { font-size: 1.95rem; margin-bottom: 0.8rem; }
    .l-hero__desc { font-size: 0.95rem; line-height: 1.5; margin-bottom: 1.1rem; }
    .l-hero__btns { flex-wrap: nowrap; gap: 0.5rem; }
    .l-hero__btn-primary, .l-hero__btn-ghost { flex: 1; justify-content: center; padding: 0.7rem 0.5rem; font-size: 0.92rem; text-align: center; }
    .l-hero__btn-primary { flex: 1.35; }
    .l-hero__btn-primary svg { display: none; }
    .l-post__text { font-size: 0.85rem; }
}
@media (max-height: 700px) and (max-width: 900px) {
    .l-hero__mockup { display: none; }
}

/* ── Stats ─────────────────────────────────────────────────────── */
.l-stats { box-shadow: none; border-top: 1px solid var(--bordure); border-bottom: 1px solid var(--bordure); background: var(--papier); }
.l-stat { border-right-color: var(--bordure); }
.l-stat__num { font-weight: 600; letter-spacing: -0.03em; font-size: 2rem; }
.l-stat__num span { color: var(--vert-texte); }

/* ── Intro SEO ─────────────────────────────────────────────────── */
.l-intro { background: var(--papier); border-bottom: none; padding: 4rem 1.5rem 2rem; }
.l-intro__heading { border-left: none; padding-left: 0; font-weight: 600; font-size: 1.8rem; letter-spacing: -0.025em; }
.l-intro__body { color: #2d2d2a; font-size: 1rem; line-height: 1.7; }

/* ── Titres de section ─────────────────────────────────────────── */
.l-section-kicker {
    text-transform: none; letter-spacing: 0; font-size: 0.88rem; font-weight: 600;
    color: var(--vert-texte); margin-bottom: 0.35rem;
}
.l-section-title { font-weight: 600; font-size: 1.8rem; letter-spacing: -0.025em; }

/* ── Fonctionnalités : cartes ──────────────────────────────────── */
.l-features { padding: 3rem 1.5rem 4rem; }
.l-features__grid { border: none; gap: 1rem; }
.l-feature,
.l-features__grid .l-feature:nth-child(3n),
.l-features__grid .l-feature:nth-last-child(-n+3) {
    background: #fff; border: 1px solid var(--carte-bord) !important; border-radius: 14px;
    padding: 1.4rem 1.35rem;
}
.l-feature__icon { background: var(--vert-clair); border-radius: 50%; width: 42px; height: 42px; }
.l-feature h3 { font-size: 1.05rem; font-weight: 600; color: var(--vert-fonce); }
.l-feature p { color: #444441; font-size: 0.92rem; line-height: 1.6; }

/* ── Bandeaux (pros, café signe, transcripteur) ────────────────── */
.l-banner { padding: 0 1.5rem 1rem; }
.l-banner__inner {
    max-width: 1160px; margin: 0 auto;
    border-radius: 14px; padding: 2rem 2.25rem;
    display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
}
.l-banner__text { max-width: 640px; }
.l-banner__kicker { font-size: 0.88rem; font-weight: 600; margin-bottom: 0.5rem; }
.l-banner__title { font-size: 1.6rem; line-height: 1.2; margin-bottom: 0.7rem; }
.l-banner__desc { font-size: 1rem; line-height: 1.6; margin: 0; }
.l-banner__btn {
    display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; white-space: nowrap;
    font-size: 0.97rem; font-weight: 600; padding: 0.8rem 1.4rem; min-height: 46px; box-sizing: border-box;
    border-radius: 10px; transition: background 0.12s, color 0.12s;
}
.l-banner--pro .l-banner__inner { background: #fff; border: 1px solid var(--carte-bord); }
.l-banner--pro .l-banner__kicker { color: var(--vert-texte); }
.l-banner--pro .l-banner__title { color: var(--vert-fonce); }
.l-banner--pro .l-banner__desc { color: #444441; }
.l-banner--pro .l-banner__btn { background: var(--vert-mid); color: #072016; }
.l-banner--pro .l-banner__btn:hover { background: #18845f; color: #fff; }

.l-banner--cafe .l-banner__inner { background: var(--vert-fonce); }
.l-banner--cafe .l-banner__kicker { color: #9FE1CB; }
.l-banner--cafe .l-banner__title { color: #F7F6F2; }
.l-banner--cafe .l-banner__desc { color: #cfe3da; }
.l-banner--cafe .l-banner__btn { background: var(--vert-mid); color: #072016; }
.l-banner--cafe .l-banner__btn:hover { background: #fff; color: var(--vert-fonce); }

.l-banner--transcripteur .l-banner__inner { background: var(--vert-clair); border: 1px solid #9FE1CB; }
.l-banner--transcripteur .l-banner__kicker { color: var(--vert-texte); }
.l-banner--transcripteur .l-banner__title { color: var(--vert-fonce); }
.l-banner--transcripteur .l-banner__desc { color: #2d2d2a; }
.l-banner--transcripteur .l-banner__btn { background: var(--vert-fonce); color: #F7F6F2; }
.l-banner--transcripteur .l-banner__btn:hover { background: #0e2820; }
.l-banner--transcripteur { padding-bottom: 3rem; }

@media (max-width: 700px) {
    .l-banner__inner { padding: 1.5rem 1.25rem; }
    .l-banner__title { font-size: 1.35rem; }
    .l-banner__btn { width: 100%; justify-content: center; }
}

/* ── Blog ──────────────────────────────────────────────────────── */
.l-blog { background: var(--papier); border: none; padding: 1rem 1.5rem 4rem; }
.l-blog__link { color: var(--vert-texte); border-bottom-color: transparent; font-weight: 600; }
.l-blog__link:hover { border-bottom-color: var(--vert-texte); }
.l-blog__grid { border: none; background: transparent; gap: 1rem; }
.l-article,
.l-article:last-child {
    background: #fff; border: 1px solid var(--carte-bord) !important; border-radius: 14px; padding: 1.35rem;
}
.l-article:hover { background: var(--vert-pale); }
.l-article__cat { text-transform: none; letter-spacing: 0; font-size: 0.82rem; color: var(--vert-texte); }
.l-article__title { font-weight: 600; font-size: 1.05rem; }
.l-article__excerpt { color: #444441; }
.l-blog__empty { border-radius: 14px; border-color: var(--carte-bord); }

/* ── Annuaire ──────────────────────────────────────────────────── */
.l-directory { border-bottom: none; padding: 1rem 1.5rem 4rem; }
.l-directory__text h2 { font-weight: 600; letter-spacing: -0.025em; }
.l-directory__text p { color: #2d2d2a; font-size: 1rem; }
.l-directory__btn {
    border: 1.5px solid var(--vert-fonce); border-radius: 10px; font-weight: 600; padding: 0.7rem 1.3rem;
}
.l-tag { border-radius: 10px; border-color: var(--bordure); font-weight: 500; font-size: 0.9rem; }

/* ── CTA final + newsletter ────────────────────────────────────── */
.l-cta { background: var(--vert-fonce); padding: 4.5rem 1.5rem 0; }
.l-cta h2 { font-weight: 600; font-size: clamp(1.8rem, 3.4vw, 2.3rem); letter-spacing: -0.03em; color: #F7F6F2; }
.l-cta p { color: #cfe3da; }
.l-cta__btn { border-radius: 10px; color: #072016; font-weight: 600; font-size: 1rem; padding: 0.85rem 1.8rem; }
.l-cta__btn:hover { background: #fff; color: var(--vert-fonce); }
.l-cta__note { color: #9FE1CB; }
.l-cta__note a { color: #E1F5EE; }
.l-newsletter { background: transparent; margin-top: 3.5rem; border-top-color: rgba(255,255,255,0.12); }
.l-newsletter__inner h3 { font-weight: 600; color: #F7F6F2; }
.l-newsletter__form { border-radius: 10px; }
.l-newsletter__btn { color: #072016; font-weight: 600; }
.l-newsletter__btn:hover { background: #fff; color: var(--vert-fonce); }

/* ── Footer ────────────────────────────────────────────────────── */
.l-footer { background: #12281f; }
.l-footer__logo { font-weight: 600; }
.l-footer__col h4 { text-transform: none; letter-spacing: 0; font-size: 0.85rem; color: #E1F5EE; }
.l-footer__col a { color: #9FE1CB; }
.l-footer__col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.l-footer__tagline, .l-footer__bottom { color: #7fb9a1; }

/* ── Raccourci transcripteur (bulle) : plus discret ────────────── */
.landing-transcripteur-fab {
    background: #fff !important; color: var(--vert-fonce) !important;
    border: 1px solid var(--bordure) !important; border-radius: 12px !important;
    box-shadow: 0 6px 20px rgba(26,58,46,0.14) !important; font-weight: 600 !important;
}
.landing-transcripteur-fab__icon { background: var(--vert-mid) !important; border-radius: 8px; }

/* ── Petits écrans : la navigation tient sur une ligne ─────────── */
@media (max-width: 640px) {
    .l-nav { padding: 0 1rem; }
    .l-nav__inner { gap: 0.5rem; justify-content: space-between; }
    .l-nav__logo { font-size: 1.05rem; }
    .l-nav__actions { gap: 0.4rem; }
    .l-nav__login { padding: 0.35rem 0.7rem; font-size: 0.82rem; }
    .l-nav__cta { padding: 0.45rem 0.8rem; font-size: 0.82rem; }
}

/* ================================================================
   Structure de la maquette : fenêtre + téléphone, cartes avec aperçus,
   café et transcripteur côte à côte
   ================================================================ */

/* Hero : fenêtre d'application + téléphone qui déborde */
.l-win {
    background: #fff; border: 1px solid var(--carte-bord); border-radius: 16px;
    box-shadow: 0 24px 60px rgba(26,58,46,0.14); overflow: hidden;
}
.l-win__bar { display: flex; gap: 6px; padding: 10px 14px; background: var(--papier); border-bottom: 1px solid var(--carte-bord); }
.l-win__bar i { width: 9px; height: 9px; border-radius: 50%; background: #d3d1c7; }
.l-win__body { display: flex; }
.l-win__rail { display: flex; flex-direction: column; gap: 8px; padding: 12px 9px; border-right: 1px solid var(--carte-bord); background: #fbfaf7; }
.l-win__rail-item { width: 30px; height: 30px; border-radius: 9px; display: flex; align-items: center; justify-content: center; color: #8a8980; }
.l-win__rail-item.is-on { background: var(--vert-clair); color: var(--vert-texte); }
.l-win__feed { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; padding: 12px; background: var(--papier); }
.l-win .l-post, .l-win .l-post:nth-child(n) { margin: 0; box-shadow: none; padding: 0.8rem 0.9rem; }
.l-win .l-post__text { font-size: 0.85rem; line-height: 1.45; margin: 0.5rem 0; }

.l-phone {
    position: absolute; right: -26px; bottom: -34px; width: 168px;
    background: #fff; border: 6px solid var(--vert-fonce); border-radius: 28px;
    box-shadow: 0 24px 50px rgba(26,58,46,0.28); padding: 10px 10px 14px; box-sizing: border-box;
}
.l-phone__notch { width: 44px; height: 5px; border-radius: 3px; background: var(--vert-fonce); margin: 0 auto 9px; opacity: .85; }
.l-phone__video {
    position: relative; height: 150px; border-radius: 14px;
    background: linear-gradient(160deg, #2f6b55 0%, #1a3a2e 70%);
    display: flex; align-items: center; justify-content: center;
}
.l-phone__play { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.22); display: flex; align-items: center; justify-content: center; }
.l-phone__sign { position: absolute; left: 8px; top: 8px; background: #9FE1CB; color: #04342C; font-size: .7rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.l-phone__lines { display: flex; flex-direction: column; gap: 6px; margin: 10px 2px 8px; }
.l-phone__lines i { display: block; height: 7px; border-radius: 4px; background: #e6e4dc; }
.l-phone__lines i + i { width: 60%; }
.l-phone__pills { display: flex; gap: 5px; }
.l-phone__pills i { flex: 1; height: 6px; border-radius: 3px; background: #cfe9de; }
.l-phone__pills i:nth-child(2) { background: var(--vert-mid); flex: 2; }

@media (min-width: 901px) {
    .l-hero__inner { grid-template-columns: minmax(0, 1fr) 500px; gap: 3.5rem; }
    .l-hero__mockup { padding-bottom: 20px; }
    .l-win .l-post:nth-child(3) { display: none; }
}
@media (max-width: 900px) {
    .l-phone, .l-win__rail, .l-win__bar { display: none; }
    .l-win { border: none; box-shadow: none; background: transparent; }
    .l-win__feed { padding: 0; background: transparent; }
    .l-win .l-post { box-shadow: 0 10px 30px rgba(26,58,46,0.08); }
}

/* Fonctionnalités : cartes avec aperçu */
.l-viz {
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
    min-height: 92px; margin-bottom: 1.1rem; padding: 12px;
    background: var(--vert-pale, #f1f8f5); border: 1px solid #d9efe6; border-radius: 12px; box-sizing: border-box;
}
.l-sk { display: block; height: 7px; border-radius: 4px; background: #cfe0d8; width: 100%; }
.l-sk--s { width: 55%; }
.l-viz__post { display: flex; align-items: center; gap: 10px; width: 100%; }
.l-viz__av { width: 32px; height: 32px; border-radius: 50%; background: #9FE1CB; flex-shrink: 0; }
.l-viz__lines { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.l-viz__badge { background: #fff; color: var(--vert-texte); font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; border: 1px solid #cfe9de; }
.l-viz__bub { width: 70%; background: #fff; border-radius: 12px 12px 12px 3px; padding: 9px 11px; box-sizing: border-box; }
.l-viz__bub--me { margin-left: auto; background: var(--vert-mid); border-radius: 12px 12px 3px 12px; }
.l-viz__bub--me .l-sk { background: rgba(255,255,255,.65); }
.l-viz__bub + .l-viz__bub { margin-top: -2px; }
.l-viz:has(.l-viz__bub) { flex-direction: column; align-items: stretch; gap: 6px; }
.l-viz__ev { display: flex; align-items: center; gap: 10px; width: 100%; }
.l-viz__date { width: 44px; height: 44px; border-radius: 11px; background: var(--vert-fonce); color: #fff; display: flex; align-items: center; justify-content: center; font-size: .8rem; flex-shrink: 0; }
.l-viz__evt { font-size: .8rem; font-weight: 600; color: var(--vert-fonce); line-height: 1.3; }
.l-viz__evt small { display: block; font-weight: 500; color: #5f5e58; margin-top: 2px; font-size: .75rem; }
.l-viz__chip { background: #fff; border: 1px solid #cfe9de; color: var(--vert-fonce); font-size: .82rem; font-weight: 600; padding: 5px 12px; border-radius: 999px; }
.l-viz__chip--on { background: var(--vert-fonce); border-color: var(--vert-fonce); color: #fff; }
.l-viz__vid { width: calc(33.3% - 6px); height: 66px; border-radius: 10px; background: linear-gradient(160deg, #2f6b55, #1a3a2e); display: flex; align-items: center; justify-content: center; }
.l-viz__vid--b { background: linear-gradient(160deg, #1D9E75, #12604a); }
.l-viz__vid--c { background: linear-gradient(160deg, #5aa88f, #2f6b55); }

/* Café signe + transcripteur côte à côte */
.l-duo { max-width: 1160px; margin: 0 auto; padding: 0 1.5rem 1rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; box-sizing: border-box; }
.l-duo .l-banner { padding: 0; display: flex; }
.l-duo .l-banner__inner { flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 1.5rem; padding: 2rem; width: 100%; box-sizing: border-box; }
.l-duo .l-banner__title { font-size: 1.5rem; }
@media (max-width: 860px) { .l-duo { grid-template-columns: 1fr; } }
@media (min-width:901px) and (max-width:1199px){ .l-phone{right:-6px} }

/* Le bandeau de test est fixe : on décale le flux pour que le hero tienne exactement dans l'écran */
.landing-body { padding-top: var(--staging-banner-h, 0px); }
