/* =========================================================
   Karefully — site vitrine
   Charte « Brume » (glassmorphism turquoise), alignée sur l'application.
   ========================================================= */

/* ---------------------------------------------------------
   1. Police — Satoshi variable, auto-hébergée
   --------------------------------------------------------- */
@font-face {
    font-family: 'Satoshi';
    src: url('fonts/Satoshi-Variable.woff2') format('woff2-variations');
    font-weight: 300 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Satoshi';
    src: url('fonts/Satoshi-VariableItalic.woff2') format('woff2-variations');
    font-weight: 300 900;
    font-style: italic;
    font-display: swap;
}

/* ---------------------------------------------------------
   2. Tokens
   --------------------------------------------------------- */
:root {
    /* Marque */
    --brand-700: #1E4B4F;
    --brand-700-hover: #173D40;
    --brand-600: #2F6B70;
    --brand-300: #8FD0CC;
    --on-brand: #EAF4F3;

    /* Texte */
    --ink-900: #16262A;
    --ink-600: #3D5458;
    --ink-500: #4A6266;
    --ink-400: #5A7276;

    /* Statuts */
    --danger-600: #A44332;
    --danger-tint: rgba(164, 67, 50, .12);
    --warn-700: #7A5F25;
    --warn-tint: rgba(201, 149, 74, .16);
    --info-700: #365F7D;
    --info-tint: rgba(91, 122, 153, .16);
    --brand-tint: rgba(47, 107, 112, .12);

    /* Surfaces */
    --bg-base: #EAF1F0;
    --on-dark: #F0F6F5;
    /* Opacités relevées (maquette : .75 / .60) : sur le panneau sombre elles
       tombaient à 4,10 et 3,73:1, sous le seuil AA exigé pour du texte < 18px. */
    --on-dark-soft: rgba(240, 246, 245, .84);
    --on-dark-mute: rgba(240, 246, 245, .82);
    --hairline: rgba(22, 38, 42, .08);

    /* Verre */
    --glass-nav-bg: rgba(255, 255, 255, .58);
    --glass-nav-border: rgba(255, 255, 255, .72);
    --glass-card-bg: rgba(255, 255, 255, .55);
    --glass-card-border: rgba(255, 255, 255, .7);
    --glass-inset-bg: rgba(255, 255, 255, .6);
    --glass-inset-border: rgba(255, 255, 255, .85);

    /* Rayons */
    --r-input: 12px;
    --r-sm: 14px;
    --r-md: 18px;
    --r-lg: 22px;
    --r-panel: 26px;
    --r-pill: 999px;

    /* Ombres */
    --sh-nav: 0 10px 34px rgba(23, 60, 64, .12);
    --sh-card: 0 8px 32px rgba(23, 60, 64, .09);
    --sh-btn: 0 10px 28px rgba(30, 75, 79, .32);
    --sh-shot: 0 30px 80px rgba(16, 42, 45, .22);
    --sh-hero-shot: 0 30px 80px rgba(16, 42, 45, .25);
    --sh-phone: 0 24px 60px rgba(16, 42, 45, .28);
    --sh-inline-img: 0 14px 36px rgba(16, 42, 45, .18);
    --sh-dark-panel: 0 16px 48px rgba(20, 55, 58, .28);

    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --maxw: 1180px;
}

/* ---------------------------------------------------------
   3. Reset & base
   --------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    /* La nav collante ne doit pas masquer la cible d'une ancre */
    scroll-padding-top: 96px;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    font-family: 'Satoshi', system-ui, -apple-system, 'Segoe UI', sans-serif;
    color: var(--ink-900);
    background:
        radial-gradient(circle at 12% 4%, rgba(63, 138, 142, .32), transparent 38%),
        radial-gradient(circle at 92% 18%, rgba(148, 190, 224, .30), transparent 40%),
        radial-gradient(circle at 55% 95%, rgba(228, 188, 158, .18), transparent 38%),
        var(--bg-base);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--brand-600);
    text-decoration: none;
    transition: color .2s var(--ease);
}

a:hover {
    color: var(--brand-700);
}

/* Les attributs width/height servent à réserver le ratio ; la hauteur reste fluide. */
img {
    max-width: 100%;
    height: auto;
}

h1,
h2,
h3,
h4 {
    text-wrap: balance;
}

p {
    text-wrap: pretty;
}

:focus-visible {
    outline: 2px solid var(--brand-600);
    outline-offset: 2px;
    border-radius: 4px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 200;
    padding: 12px 20px;
    border-radius: 0 0 var(--r-sm) 0;
    background: var(--brand-700);
    color: var(--on-brand);
    font-size: 14px;
    font-weight: 600;
}

.skip-link:focus {
    left: 0;
    color: var(--on-brand);
}

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

/* Sprite d'icônes */
.icon {
    width: 20px;
    height: 20px;
    flex: none;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ---------------------------------------------------------
   4. Layout
   --------------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    margin-top: 110px;
}

.section--tight {
    margin-top: 90px;
}

.section--wide-gap {
    margin-top: 120px;
}

.section--narrow {
    max-width: 900px;
}

.section--faq {
    max-width: 820px;
}

/* ---------------------------------------------------------
   5. Surfaces
   --------------------------------------------------------- */
.glass-nav {
    background: var(--glass-nav-bg);
    backdrop-filter: blur(22px) saturate(1.45);
    -webkit-backdrop-filter: blur(22px) saturate(1.45);
    border: 1px solid var(--glass-nav-border);
    box-shadow: var(--sh-nav);
}

.glass-card {
    background: var(--glass-card-bg);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border: 1px solid var(--glass-card-border);
    box-shadow: var(--sh-card);
}

/* Imbriqué dans une carte : jamais de flou ni d'ombre (pas trois couches floutées) */
.glass-inset {
    background: var(--glass-inset-bg);
    border: 1px solid var(--glass-inset-border);
}

.panel-dark {
    border-radius: var(--r-panel);
    background: linear-gradient(150deg, rgba(35, 84, 88, .88), rgba(24, 60, 64, .84));
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, .24);
    box-shadow: var(--sh-dark-panel);
    padding: 64px 60px;
    color: var(--on-dark);
}

/* ---------------------------------------------------------
   6. Typographie
   --------------------------------------------------------- */
.eyebrow {
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--brand-600);
    margin-bottom: 14px;
}

/* brand-300 (#8FD0CC) ne donne que 3,69:1 sur le panneau sombre à 11,5px :
   teinte éclaircie réservée aux eyebrows, les aplats restent en brand-300. */
.eyebrow--on-dark {
    color: #BCE3E0;
}

.h1 {
    font-size: 60px;
    line-height: 1.05;
    font-weight: 600;
    letter-spacing: -.025em;
    margin: 0 auto 22px;
    max-width: 820px;
}

.h2 {
    font-size: 40px;
    font-weight: 500;
    letter-spacing: -.02em;
    line-height: 1.15;
    margin: 0 0 44px;
}

.h2--panel {
    font-size: 38px;
    margin-bottom: 40px;
}

.h3 {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -.015em;
    line-height: 1.25;
    margin: 0 0 12px;
}

.lead {
    font-size: 18.5px;
    line-height: 1.6;
    color: var(--ink-600);
    margin: 0 auto 30px;
    max-width: 680px;
}

.body-text {
    font-size: 16.5px;
    line-height: 1.6;
    color: var(--ink-600);
    margin: 0;
}

/* ink-500 et non ink-400 : sur le fond mesh, ink-400 tombe à 4,47:1 (sous AA). */
.note {
    font-size: 13px;
    line-height: 1.5;
    color: var(--ink-500);
    margin: 0;
}

/* ---------------------------------------------------------
   7. Boutons & pills
   --------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    padding: 15px 30px;
    border-radius: var(--r-pill);
    border: 1px solid transparent;
    cursor: pointer;
    transition: background-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}

.btn-primary {
    color: var(--on-brand);
    background: var(--brand-700);
    box-shadow: var(--sh-btn);
}

.btn-primary:hover {
    background: var(--brand-700-hover);
    color: var(--on-brand);
}

.btn-secondary {
    color: var(--ink-600);
    background: rgba(255, 255, 255, .6);
    border-color: rgba(255, 255, 255, .85);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, .68);
    color: var(--ink-900);
}

.btn-ghost-dark {
    font-size: 15px;
    padding: 13px 24px;
    color: var(--on-dark);
    border-color: rgba(255, 255, 255, .35);
}

.btn-ghost-dark:hover {
    background: rgba(255, 255, 255, .1);
    color: var(--on-dark);
}

.btn-sm {
    font-size: 14px;
    padding: 10px 20px;
}

.pill-tint {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 14px;
    font-weight: 600;
    color: var(--brand-700);
    background: var(--brand-tint);
    padding: 9px 18px;
    border-radius: var(--r-pill);
}

.pill-tint .icon {
    width: 16px;
    height: 16px;
}

.badge {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: var(--r-pill);
}

.badge--watch {
    color: var(--danger-600);
    background: var(--danger-tint);
}

.badge--ok {
    color: var(--brand-700);
    background: var(--brand-tint);
}

/* Pastille d'icône */
.icon-tile {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 13px;
    background: var(--brand-tint);
    color: var(--brand-600);
    flex: none;
}

.icon-tile--dark {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(143, 208, 204, .16);
    color: var(--brand-300);
}

.icon-tile--dark .icon {
    width: 19px;
    height: 19px;
}

/* ---------------------------------------------------------
   8. Cadres device
   --------------------------------------------------------- */
.browser {
    border-radius: 16px;
    background: var(--glass-card-bg);
    border: 1px solid var(--glass-card-border);
    box-shadow: var(--sh-shot);
    overflow: hidden;
}

.browser__bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(22, 38, 42, .07);
}

.browser__dots {
    display: flex;
    gap: 5px;
    flex: none;
}

.browser__dots span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(22, 38, 42, .16);
}

.browser__url {
    flex: 1;
    max-width: 240px;
    margin: 0 auto;
    text-align: center;
    font-size: 11px;
    color: var(--ink-400);
    background: rgba(22, 38, 42, .05);
    border-radius: var(--r-pill);
    padding: 3px 12px;
}

.browser__spacer {
    width: 40px;
    flex: none;
}

.browser img {
    display: block;
    width: 100%;
}

/* Variante hero : plus grande, ombre plus marquée */
.browser--hero {
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    box-shadow: var(--sh-hero-shot);
}

.browser--hero .browser__bar {
    padding: 11px 16px;
}

.browser--hero .browser__dots {
    gap: 6px;
}

.browser--hero .browser__dots span {
    width: 10px;
    height: 10px;
}

.browser--hero .browser__url {
    max-width: 280px;
    font-size: 11.5px;
    padding: 4px 14px;
}

.browser--hero .browser__spacer {
    width: 46px;
}

.phone {
    border-radius: 32px;
    background: #10191B;
    padding: 8px;
    box-shadow: var(--sh-phone);
}

.phone img {
    display: block;
    width: 100%;
    border-radius: 25px;
}

/* ---------------------------------------------------------
   9. Navigation
   --------------------------------------------------------- */
.nav-wrap {
    position: sticky;
    top: 14px;
    z-index: 60;
    display: flex;
    justify-content: center;
    padding: 14px 20px 0;
}

/* Grille 3 colonnes : les liens restent optiquement centrés quelles que soient
   les largeurs du logo et du bouton. */
.nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 26px;
    width: 100%;
    max-width: var(--maxw);
    /* Padding symétrique : sinon la colonne centrale se décale d'une demi-différence.
       Le retrait visuel du logo est repris par .nav .brand. */
    padding: 10px 12px;
    border-radius: var(--r-pill);
    transition: padding .3s var(--ease), box-shadow .3s var(--ease), background-color .3s var(--ease);
}

.nav .brand {
    padding-left: 10px;
}

/* Condensation à la première molette */
.nav.is-scrolled {
    padding-top: 7px;
    padding-bottom: 7px;
    background: rgba(255, 255, 255, .72);
    box-shadow: 0 14px 40px rgba(23, 60, 64, .16);
}

.nav__end {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--ink-900);
    flex: none;
}

.brand:hover {
    color: var(--ink-900);
}

.brand svg {
    width: 26px;
    height: 26px;
    flex: none;
}

.brand__name {
    font-size: 21px;
    font-weight: 600;
    letter-spacing: -.03em;
}

.nav__links {
    display: flex;
    gap: 22px;
    justify-content: center;
    font-size: 14.5px;
    font-weight: 500;
    white-space: nowrap;
}

.nav__links a {
    position: relative;
    color: var(--ink-600);
    padding: 4px 0;
}

/* Soulignement qui se déploie depuis le centre */
.nav__links a::after {
    content: '';
    position: absolute;
    left: 50%;
    right: 50%;
    bottom: 0;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--brand-600), var(--brand-300));
    transition: left .28s var(--ease), right .28s var(--ease);
}

.nav__links a:hover {
    color: var(--brand-700);
}

.nav__links a:hover::after,
.nav__links a:focus-visible::after {
    left: 0;
    right: 0;
}

.nav__burger {
    display: none;
}

/* --- Tiroir de navigation mobile (glisse depuis la droite) --- */
.nav-scrim {
    position: fixed;
    inset: 0;
    z-index: 90;
    background: rgba(16, 34, 37, .38);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    opacity: 0;
    transition: opacity .35s var(--ease);
}

.nav-scrim.is-open {
    opacity: 1;
}

.nav-drawer {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 100;
    display: flex;
    flex-direction: column;
    width: 80%;
    max-width: 380px;
    height: 100dvh;
    padding: 18px 18px calc(24px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .82);
    backdrop-filter: blur(28px) saturate(1.5);
    -webkit-backdrop-filter: blur(28px) saturate(1.5);
    border-left: 1px solid rgba(255, 255, 255, .9);
    box-shadow: -24px 0 60px rgba(23, 60, 64, .22);
    transform: translateX(100%);
    transition: transform .38s cubic-bezier(0.32, 0.72, 0, 1);
    overflow-y: auto;
}

.nav-drawer.is-open {
    transform: translateX(0);
}

/* [hidden] ne doit pas tuer la transition : on masque par visibilité. */
.nav-scrim[hidden],
.nav-drawer[hidden] {
    display: block;
    visibility: hidden;
    pointer-events: none;
}

.nav-drawer[hidden] {
    display: flex;
}

.nav-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 22px;
}

.nav-drawer__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex: none;
    padding: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .7);
    border: 1px solid rgba(255, 255, 255, .9);
    color: var(--brand-700);
    cursor: pointer;
    transition: background-color .2s var(--ease);
}

.nav-drawer__close:hover {
    background: var(--brand-tint);
}

.nav-drawer__links {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nav-drawer__links a {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 0 16px;
    font-size: 17px;
    font-weight: 600;
    color: var(--ink-900);
    border-radius: 16px;
    /* Entrée décalée des liens à l'ouverture */
    opacity: 0;
    transform: translateX(16px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), background-color .2s var(--ease);
}

.nav-drawer.is-open .nav-drawer__links a {
    opacity: 1;
    transform: none;
}

.nav-drawer.is-open .nav-drawer__links a:nth-child(1) { transition-delay: .08s; }
.nav-drawer.is-open .nav-drawer__links a:nth-child(2) { transition-delay: .13s; }
.nav-drawer.is-open .nav-drawer__links a:nth-child(3) { transition-delay: .18s; }
.nav-drawer.is-open .nav-drawer__links a:nth-child(4) { transition-delay: .23s; }

.nav-drawer__links a:hover,
.nav-drawer__links a:focus-visible {
    background: var(--brand-tint);
    color: var(--brand-700);
}

/* ---------------------------------------------------------
   10. Hero
   --------------------------------------------------------- */
.hero {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 72px 24px 30px;
    text-align: center;
}

.hero__actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero__badge {
    margin-top: 18px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--ink-500);
}

.hero__devices {
    position: relative;
    max-width: 1020px;
    margin: 56px auto 0;
    text-align: left;
}

.hero__phone {
    position: absolute;
    right: -18px;
    bottom: -46px;
    width: 218px;
    border-radius: 34px;
    padding: 9px;
    box-shadow: 0 30px 80px rgba(16, 42, 45, .35);
}

.hero__phone img {
    border-radius: 26px;
}

/* ---------------------------------------------------------
   11. Bandeau confiance
   --------------------------------------------------------- */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.trust-card {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 18px 20px;
    border-radius: var(--r-md);
}

.trust-card span:last-child {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-900);
    line-height: 1.35;
}

/* ---------------------------------------------------------
   12. Problème / Sécurité — cartes sur panneau sombre
   --------------------------------------------------------- */
.dark-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.dark-card {
    padding: 22px;
    border-radius: var(--r-md);
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .16);
}

.dark-card .icon-tile--dark {
    margin-bottom: 14px;
}

.dark-card p {
    margin: 0;
    font-size: 15px;
    line-height: 1.55;
    color: rgba(240, 246, 245, .85);
}

.dark-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 6px;
}

.dark-card h3 + p {
    font-size: 13.5px;
    color: var(--on-dark-soft);
}

.problem__pivot {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-top: 36px;
}

.problem__photo {
    position: relative;
    flex: none;
    width: 280px;
    border-radius: var(--r-md);
    overflow: hidden;
}

.problem__photo img {
    display: block;
    width: 100%;
}

.problem__photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(30, 75, 79, .35);
}

.problem__pivot p {
    margin: 0;
    font-size: 26px;
    font-weight: 500;
    letter-spacing: -.015em;
    line-height: 1.4;
    color: var(--on-dark);
}

.disclaimer {
    margin: 32px 0 0;
    font-size: 13px;
    line-height: 1.6;
    color: var(--on-dark-mute);
    border-left: 2px solid rgba(143, 208, 204, .45);
    padding-left: 16px;
    max-width: 760px;
}

/* ---------------------------------------------------------
   13. Parcours (timeline 3 phases)
   --------------------------------------------------------- */
.parcours-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    align-items: stretch;
}

.phase-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--r-lg);
    padding: 26px;
}

.phase-card__step {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--brand-600);
    margin-bottom: 10px;
}

.phase-card h3 {
    font-size: 19px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 10px;
}

.phase-card p {
    margin: 0 0 18px;
    font-size: 15px;
    line-height: 1.55;
    color: var(--ink-600);
}

.phase-card__visual {
    margin-top: auto;
    border-radius: var(--r-sm);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .8);
    box-shadow: var(--sh-inline-img);
}

.phase-card__visual img {
    display: block;
    width: 100%;
}

.phase-card__pair {
    margin-top: auto;
    display: flex;
    gap: 12px;
    justify-content: center;
}

.phase-card__pair img {
    display: block;
    width: 44%;
    border-radius: 16px;
    box-shadow: var(--sh-inline-img);
}

.switch-visual {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 34px 20px;
    border-radius: var(--r-sm);
}

.switch-visual__tag {
    font-size: 13px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: var(--r-pill);
}

.switch-visual__tag--pre {
    color: var(--warn-700);
    background: var(--warn-tint);
}

.switch-visual__tag--post {
    color: var(--brand-700);
    background: var(--brand-tint);
}

.switch-visual .icon {
    color: var(--brand-600);
}

/* ---------------------------------------------------------
   14. Côté équipe
   --------------------------------------------------------- */
.feature-row {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: 44px;
    align-items: center;
    margin-bottom: 76px;
}

.feature-row--reverse {
    grid-template-columns: 5fr 7fr;
}

.roles-card {
    display: grid;
    grid-template-columns: 6fr 5fr;
    gap: 44px;
    align-items: center;
    border-radius: var(--r-panel);
    padding: 44px 48px;
    margin-bottom: 76px;
}

.roles-card h3 {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -.015em;
    line-height: 1.25;
    margin: 0 0 12px;
}

.roles-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.role-item {
    display: flex;
    align-items: center;
    gap: 14px;
    border-radius: var(--r-md);
    background: rgba(255, 255, 255, .65);
    border: 1px solid rgba(255, 255, 255, .9);
    padding: 16px 18px;
}

.role-item__title {
    font-size: 15.5px;
    font-weight: 700;
    line-height: 1.3;
}

.role-item__desc {
    font-size: 13px;
    line-height: 1.4;
    color: var(--ink-400);
}

.mini-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.mini-card {
    border-radius: var(--r-lg);
    padding: 24px;
}

.mini-card h3 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 6px;
}

.mini-card p {
    margin: 0 0 16px;
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--ink-600);
}

.mini-card img {
    display: block;
    width: 100%;
    border-radius: var(--r-input);
    box-shadow: 0 14px 36px rgba(16, 42, 45, .16);
}

/* ---------------------------------------------------------
   15. Côté patient
   --------------------------------------------------------- */
.patient-section {
    text-align: center;
}

.phone-row {
    display: flex;
    gap: 22px;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
}

.phone-row .phone {
    width: 206px;
}

.phone-row .phone:nth-child(even) {
    margin-top: 34px;
}

.patient-pills {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.patient-closing {
    margin: 26px auto 0;
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink-500);
    max-width: 520px;
}

/* ---------------------------------------------------------
   15 bis. Pour qui — indépendant / clinique
   --------------------------------------------------------- */
.audience-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    align-items: stretch;
}

.audience-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--r-panel);
    padding: 34px 32px;
}

.audience-card .icon-tile {
    width: 46px;
    height: 46px;
    border-radius: 15px;
    margin-bottom: 18px;
}

.audience-card .icon-tile .icon {
    width: 23px;
    height: 23px;
}

.audience-card h3 {
    font-size: 23px;
    font-weight: 700;
    letter-spacing: -.015em;
    line-height: 1.25;
    margin: 0 0 10px;
}

.audience-card__lead {
    margin: 0 0 22px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink-600);
}

.audience-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.audience-card li {
    display: flex;
    gap: 11px;
    align-items: flex-start;
    font-size: 15px;
    line-height: 1.55;
    color: var(--ink-600);
}

.audience-card li .icon {
    width: 17px;
    height: 17px;
    color: var(--brand-600);
    margin-top: 2px;
}

/* ---------------------------------------------------------
   15 ter. Blog
   --------------------------------------------------------- */
.blog-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.blog-head__all {
    flex: none;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 18px;
}

.blog-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--r-lg);
    padding: 28px 30px;
    color: inherit;
}

.blog-card:hover {
    color: inherit;
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, .95);
    box-shadow: 0 18px 46px rgba(23, 60, 64, .15);
}

/* Carte avec vignette : l'image occupe toute la largeur, sous le padding */
.blog-card--cover {
    padding: 0;
    overflow: hidden;
}

.blog-card__media {
    display: block;
    margin-bottom: 24px;
    background: rgba(47, 107, 112, .1);
}

.blog-card__media img {
    display: block;
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform .6s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card--cover:hover .blog-card__media img {
    transform: scale(1.03);
}

/* Le reste du contenu retrouve son retrait */
.blog-card--cover > *:not(.blog-card__media) {
    margin-left: 30px;
    margin-right: 30px;
}

.blog-card--cover > *:last-child {
    margin-bottom: 28px;
}

/* Image d'ouverture d'article */
.article-cover {
    max-width: 780px;
    margin: 34px auto 0;
    padding: 0 24px;
}

.article-cover img {
    display: block;
    width: 100%;
    height: 340px;
    object-fit: cover;
    border-radius: var(--r-lg);
    box-shadow: 0 24px 60px rgba(16, 42, 45, .2);
}

.article-cover + .article-body {
    margin-top: 26px;
}

.blog-card__tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    align-self: flex-start;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--brand-700);
    background: var(--brand-tint);
    padding: 6px 13px;
    border-radius: var(--r-pill);
    margin-bottom: 18px;
}

.blog-card h3 {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -.015em;
    line-height: 1.25;
    margin: 0 0 10px;
}

.blog-card p {
    margin: 0 0 20px;
    font-size: 15.5px;
    line-height: 1.6;
    color: var(--ink-600);
}

.blog-card__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--ink-500);
    margin-top: auto;
}

.blog-card__read::before {
    content: '·';
    margin-right: 8px;
}

.blog-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    font-size: 15px;
    font-weight: 600;
    color: var(--brand-700);
}

.blog-card__cta .icon {
    transition: transform .3s var(--ease);
}

.blog-card:hover .blog-card__cta .icon {
    transform: translateX(4px);
}

/* Article de blog */
.article-header {
    max-width: 780px;
    margin: 0 auto;
    padding: 56px 24px 0;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 18px 0 0;
    font-size: 14px;
    color: var(--ink-500);
}

.article-body {
    max-width: 780px;
    margin: 40px auto 0;
    padding: 48px 52px;
    border-radius: var(--r-panel);
}

.article-body > p:first-of-type {
    font-size: 19px;
    line-height: 1.65;
    color: var(--ink-600);
}

.article-body h2 {
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -.02em;
    line-height: 1.25;
    margin: 46px 0 16px;
}

.article-body h3 {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    margin: 32px 0 10px;
}

.article-body p,
.article-body li {
    font-size: 16.5px;
    line-height: 1.75;
    color: var(--ink-600);
}

.article-body p {
    margin: 0 0 18px;
}

.article-body ul {
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

/* Puce en position absolue : en flex, un <strong> en tête de li deviendrait
   une colonne à part et le reste du texte se retrouverait à côté. */
.article-body ul li {
    position: relative;
    padding-left: 20px;
}

.article-body ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand-600);
}

.article-body strong {
    color: var(--ink-900);
    font-weight: 700;
}

.article-body a {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.article-note {
    margin: 32px 0;
    padding: 20px 24px;
    border-radius: var(--r-md);
    border-left: 3px solid var(--brand-600);
    background: rgba(47, 107, 112, .07);
}

.article-note p {
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
}

.article-cta {
    max-width: 780px;
    margin: 44px auto 0;
    padding: 0 24px;
}

.article-cta__inner {
    text-align: center;
}

.article-cta__inner .h2 {
    font-size: 30px;
    margin-bottom: 12px;
}

/* ---------------------------------------------------------
   16. Vos critères
   --------------------------------------------------------- */
.criteria-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
    border-radius: var(--r-panel);
    padding: 56px 60px;
}

.criteria-card .h2 {
    font-size: 36px;
    margin-bottom: 18px;
}

.criteria-card .body-text {
    line-height: 1.65;
}

.criteria-demo {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.patient-row {
    border-radius: var(--r-md);
    background: rgba(255, 255, 255, .65);
    border: 1px solid rgba(255, 255, 255, .9);
    padding: 20px 22px;
}

.patient-row__head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.patient-row__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex: none;
}

.patient-row__avatar--watch {
    background: var(--danger-tint);
    color: var(--danger-600);
}

.patient-row__avatar--ok {
    background: var(--brand-tint);
    color: var(--brand-700);
}

.patient-row__id {
    flex: 1;
    min-width: 0;
}

.patient-row__name {
    font-size: 15.5px;
    font-weight: 700;
    line-height: 1.3;
}

.patient-row__meta {
    font-size: 12.5px;
    color: var(--ink-400);
}

.patient-row__trigger {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--ink-600);
    background: rgba(47, 107, 112, .07);
    border-radius: var(--r-input);
    padding: 12px 14px;
}

.patient-row__trigger strong {
    color: var(--ink-900);
}

.patient-row__trigger .criterion {
    color: var(--brand-700);
}

/* ---------------------------------------------------------
   17. Offre pilote
   --------------------------------------------------------- */
.pilot-card {
    border-radius: var(--r-panel);
    padding: 56px 60px;
    text-align: center;
}

.pilot-card .h2 {
    font-size: 38px;
    margin-bottom: 16px;
}

.pilot-card__intro {
    margin: 0 auto 30px;
    font-size: 16.5px;
    line-height: 1.6;
    color: var(--ink-600);
    max-width: 600px;
}

.pilot-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 24px;
    text-align: left;
    max-width: 680px;
    margin: 0 auto 34px;
    list-style: none;
    padding: 0;
}

.pilot-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 14.5px;
    line-height: 1.5;
    color: var(--ink-600);
}

.pilot-list .icon {
    width: 17px;
    height: 17px;
    color: var(--brand-600);
    margin-top: 2px;
}

/* ---------------------------------------------------------
   18. FAQ
   --------------------------------------------------------- */
.faq-head {
    text-align: center;
}

.faq-head .h2 {
    margin-bottom: 36px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    border-radius: var(--r-md);
    overflow: hidden;
}

.faq-item h3 {
    margin: 0;
}

.faq-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    min-height: 44px;
    padding: 19px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--ink-900);
    text-align: left;
}

.faq-trigger .icon {
    width: 19px;
    height: 19px;
    color: var(--brand-600);
    transition: transform .3s var(--ease);
}

.faq-trigger[aria-expanded="true"] .icon {
    transform: rotate(180deg);
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .3s var(--ease);
}

.faq-answer > div {
    overflow: hidden;
}

.faq-item.is-open .faq-answer {
    grid-template-rows: 1fr;
}

.faq-answer p {
    margin: 0;
    padding: 0 24px 20px;
    font-size: 15px;
    line-height: 1.65;
    color: var(--ink-600);
}

/* ---------------------------------------------------------
   19. Demande de démo
   --------------------------------------------------------- */
.demo-panel {
    display: grid;
    grid-template-columns: 5fr 6fr;
    gap: 56px;
    align-items: start;
}

.demo-panel .h2 {
    font-size: 38px;
    margin-bottom: 14px;
}

.demo-panel__lead {
    margin: 0 0 30px;
    font-size: 17px;
    line-height: 1.6;
    color: var(--on-dark-soft);
}

.demo-panel__reply {
    margin: 10px 0 0;
    font-size: 13.5px;
    color: var(--on-dark-mute);
}

.demo-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    background: rgba(255, 255, 255, .94);
    border-radius: 20px;
    padding: 28px;
    color: var(--ink-900);
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--ink-600);
}

.field--full {
    grid-column: 1 / -1;
}

.field input,
.field select,
.field textarea {
    font-family: inherit;
    font-size: 14.5px;
    padding: 11px 14px;
    border-radius: var(--r-input);
    border: 1px solid rgba(22, 38, 42, .14);
    background: #fff;
    color: var(--ink-900);
    width: 100%;
}

.field textarea {
    resize: vertical;
    min-height: 84px;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
    border-color: rgba(22, 38, 42, .26);
}

.field-consent {
    grid-column: 1 / -1;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 13px;
    font-weight: 500;
    color: var(--ink-600);
    line-height: 1.5;
    cursor: pointer;
}

.field-consent input {
    margin-top: 2px;
    accent-color: var(--brand-700);
    width: 16px;
    height: 16px;
    flex: none;
}

.honeypot {
    display: none;
}

.demo-form button[type="submit"] {
    grid-column: 1 / -1;
    padding: 15px;
    width: 100%;
}

.form-status {
    grid-column: 1 / -1;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 18px;
    border-radius: var(--r-sm);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.45;
}

.form-status[hidden] {
    display: none;
}

.form-status--ok {
    background: rgba(47, 107, 112, .1);
    color: var(--brand-700);
}

.form-status--error {
    background: var(--danger-tint);
    color: var(--danger-600);
}

.form-status--error a {
    color: var(--danger-600);
    text-decoration: underline;
}

.form-status .icon {
    margin-top: 1px;
}

/* ---------------------------------------------------------
   20. Footer
   --------------------------------------------------------- */
.footer {
    max-width: var(--maxw);
    margin: 80px auto 0;
    padding: 40px 24px 48px;
    border-top: 1px solid var(--hairline);
}

.footer__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.footer .brand svg {
    width: 24px;
    height: 24px;
}

.footer .brand__name {
    font-size: 19px;
}

.footer__tagline {
    margin: 10px 0 0;
    font-size: 13.5px;
    color: var(--ink-500);
}

.footer__links {
    display: flex;
    gap: 36px;
    flex-wrap: wrap;
    font-size: 13.5px;
}

.footer__links ul {
    display: flex;
    flex-direction: column;
    gap: 9px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer__links a {
    color: var(--ink-600);
}

.footer__links a:hover {
    color: var(--brand-700);
}

.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 32px;
    font-size: 12.5px;
    color: var(--ink-500);
}

.footer__mail {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--brand-700);
    border-bottom: 1px solid transparent;
    transition: border-color .2s var(--ease);
}

.footer__mail:hover {
    border-bottom-color: var(--brand-600);
}

.demo-panel__mail {
    margin: 20px 0 0;
    font-size: 14.5px;
    color: var(--on-dark-soft);
}

.demo-panel__mail a {
    color: var(--on-dark);
    font-weight: 600;
    border-bottom: 1px solid rgba(240, 246, 245, .4);
    transition: border-color .2s var(--ease);
}

.demo-panel__mail a:hover {
    color: var(--on-dark);
    border-bottom-color: var(--on-dark);
}

.footer__legal {
    display: flex;
    align-items: center;
    gap: 8px 14px;
    flex-wrap: wrap;
}

.footer__credit {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--ink-500);
}

.footer__credit a {
    color: var(--ink-600);
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: color .2s var(--ease), border-color .2s var(--ease);
}

.footer__credit a:hover {
    color: var(--brand-700);
    border-bottom-color: var(--brand-600);
}

.footer__heart {
    color: var(--danger-600);
    font-size: 12px;
    display: inline-block;
}

.footer__credit:hover .footer__heart {
    animation: heartbeat 1s var(--ease) infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    18% { transform: scale(1.28); }
    36% { transform: scale(1); }
    54% { transform: scale(1.18); }
}

.footer__hds {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(47, 107, 112, .1);
    color: var(--brand-700);
    font-weight: 600;
    padding: 6px 14px;
    border-radius: var(--r-pill);
}

.footer__hds .icon {
    width: 14px;
    height: 14px;
}

/* ---------------------------------------------------------
   21. CTA collant (mobile)
   --------------------------------------------------------- */
.sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 55;
    padding: 12px 20px 18px;
    background: linear-gradient(to top, rgba(234, 241, 240, .95), rgba(234, 241, 240, 0));
    pointer-events: none;
}

.sticky-cta a {
    pointer-events: auto;
    width: 100%;
    min-height: 52px;
    font-size: 15.5px;
    box-shadow: 0 14px 36px rgba(30, 75, 79, .4);
}

/* ---------------------------------------------------------
   22. Pages secondaires (guide, mentions légales…)
   --------------------------------------------------------- */
.subnav {
    position: sticky;
    top: 14px;
    z-index: 60;
    display: flex;
    justify-content: center;
    padding: 14px 20px 0;
}

.subnav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    max-width: var(--maxw);
    padding: 10px 12px 10px 22px;
    border-radius: var(--r-pill);
}

.page-header {
    max-width: 820px;
    margin: 0 auto;
    padding: 64px 24px 0;
    text-align: center;
}

.page-header .h1 {
    font-size: 46px;
}

.prose {
    max-width: 820px;
    margin: 44px auto 0;
    padding: 44px 48px;
    border-radius: var(--r-panel);
}

.prose h2 {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -.015em;
    line-height: 1.25;
    margin: 44px 0 14px;
    color: var(--ink-900);
}

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

.prose h3 {
    font-size: 19px;
    font-weight: 700;
    margin: 28px 0 10px;
}

.prose p,
.prose li {
    font-size: 16px;
    line-height: 1.7;
    color: var(--ink-600);
}

.prose p {
    margin: 0 0 14px;
}

.prose ul,
.prose ol {
    margin: 0 0 18px;
    padding-left: 22px;
}

.prose li {
    margin-bottom: 8px;
}

.prose strong {
    color: var(--ink-900);
}

.prose a {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 20px;
    font-size: 15px;
}

/* --- Guide d'utilisation --- */
.guide-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-500);
    margin-bottom: 20px;
}

.guide-back:hover {
    color: var(--brand-700);
}

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

.guide-grid--2 {
    grid-template-columns: repeat(2, 1fr);
}

.guide-grid .mini-card .icon-tile {
    margin-bottom: 14px;
}

.guide-grid .mini-card p:last-child {
    margin-bottom: 0;
}

.guide-steps {
    display: flex;
    flex-direction: column;
    gap: 14px;
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: none;
}

.guide-step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    border-radius: var(--r-lg);
    padding: 26px 28px;
}

.guide-step__num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex: none;
    border-radius: 50%;
    background: var(--brand-700);
    color: var(--on-brand);
    font-size: 16px;
    font-weight: 700;
}

.guide-step__tag {
    display: inline-block;
    margin: 0 0 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--brand-700);
    background: var(--brand-tint);
    padding: 4px 12px;
    border-radius: var(--r-pill);
}

.guide-step h3 {
    font-size: 19px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 10px;
}

.guide-step p {
    margin: 0 0 12px;
    font-size: 15.5px;
    line-height: 1.6;
    color: var(--ink-600);
}

.guide-step p:last-child,
.guide-step ul:last-child {
    margin-bottom: 0;
}

.guide-step ul {
    margin: 0 0 12px;
    padding-left: 20px;
}

.guide-step li {
    font-size: 15.5px;
    line-height: 1.6;
    color: var(--ink-600);
    margin-bottom: 6px;
}

.guide-step strong {
    color: var(--ink-900);
}

.guide-cta {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.prose th,
.prose td {
    text-align: left;
    padding: 10px 12px;
    border-bottom: 1px solid var(--hairline);
    color: var(--ink-600);
}

.prose th {
    font-weight: 700;
    color: var(--ink-900);
}

/* ---------------------------------------------------------
   23. Mouvement — entrées de section et micro-interactions
   --------------------------------------------------------- */

/* Entrée de section : léger flou + montée, plus doux qu'un simple fondu */
.js .reveal {
    opacity: 0;
    transform: translateY(20px);
    filter: blur(6px);
    transition:
        opacity .7s cubic-bezier(0.16, 1, 0.3, 1),
        transform .7s cubic-bezier(0.16, 1, 0.3, 1),
        filter .7s cubic-bezier(0.16, 1, 0.3, 1);
}

.js .reveal.is-visible {
    opacity: 1;
    transform: none;
    filter: none;
}

/* Cascade : les enfants d'une grille arrivent l'un après l'autre */
.js .reveal-stagger > * {
    opacity: 0;
    transform: translateY(22px);
    transition:
        opacity .65s cubic-bezier(0.16, 1, 0.3, 1),
        transform .65s cubic-bezier(0.16, 1, 0.3, 1);
}

.js .reveal-stagger.is-visible > * {
    opacity: 1;
    transform: none;
}

.js .reveal-stagger.is-visible > *:nth-child(1) { transition-delay: .05s; }
.js .reveal-stagger.is-visible > *:nth-child(2) { transition-delay: .13s; }
.js .reveal-stagger.is-visible > *:nth-child(3) { transition-delay: .21s; }
.js .reveal-stagger.is-visible > *:nth-child(4) { transition-delay: .29s; }

/* --- Cartes : décollage au survol + liseré qui s'éclaire --- */
.glass-card,
.trust-card,
.role-item,
.patient-row {
    transition:
        transform .4s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow .4s var(--ease),
        border-color .4s var(--ease),
        background-color .4s var(--ease);
}

.phase-card:hover,
.mini-card:hover,
.faq-item:hover,
.trust-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, .95);
    box-shadow: 0 18px 46px rgba(23, 60, 64, .15);
}

.trust-card:hover {
    background: rgba(255, 255, 255, .78);
}

.role-item:hover {
    transform: translateX(4px);
    background: rgba(255, 255, 255, .85);
}

/* Pastille d'icône : réagit au survol de sa carte */
.icon-tile {
    transition: transform .4s cubic-bezier(0.16, 1, 0.3, 1), background-color .3s var(--ease);
}

.trust-card:hover .icon-tile,
.role-item:hover .icon-tile,
.mini-card:hover .icon-tile {
    transform: scale(1.08) rotate(-4deg);
    background: rgba(47, 107, 112, .18);
}

.dark-card {
    transition: transform .4s cubic-bezier(0.16, 1, 0.3, 1), background-color .3s var(--ease), border-color .3s var(--ease);
}

.dark-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, .13);
    border-color: rgba(255, 255, 255, .26);
}

/* --- Boutons : lévitation et ombre qui s'étire --- */
.btn-primary,
.btn-secondary,
.btn-ghost-dark {
    transition:
        transform .3s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow .3s var(--ease),
        background-color .25s var(--ease),
        color .25s var(--ease);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(30, 75, 79, .38);
}

.btn-secondary:hover,
.btn-ghost-dark:hover {
    transform: translateY(-2px);
}

.btn-primary:active,
.btn-secondary:active,
.btn-ghost-dark:active {
    transform: translateY(0);
}

/* --- Captures : léger zoom dans leur cadre --- */
.browser,
.phone {
    transition: transform .5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .5s var(--ease);
}

.browser img,
.phone img {
    transition: transform .6s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-row .browser:hover {
    transform: translateY(-5px);
    box-shadow: 0 40px 90px rgba(16, 42, 45, .28);
}

.feature-row .browser:hover img {
    transform: scale(1.015);
}

.phone-row .phone:hover {
    transform: translateY(-8px);
    box-shadow: 0 34px 72px rgba(16, 42, 45, .34);
}

/* --- FAQ : la question glisse à l'ouverture --- */
.faq-trigger {
    transition: color .25s var(--ease);
}

.faq-item.is-open .faq-trigger {
    color: var(--brand-700);
}

/* --- Pills patient --- */
.pill-tint {
    transition: transform .3s cubic-bezier(0.16, 1, 0.3, 1), background-color .25s var(--ease);
}

.pill-tint:hover {
    transform: translateY(-2px);
    background: rgba(47, 107, 112, .18);
}

/* --- Liens de bas de page --- */
.footer__links a {
    display: inline-block;
    transition: color .2s var(--ease), transform .25s var(--ease);
}

.footer__links a:hover {
    transform: translateX(3px);
}

/* ---------------------------------------------------------
   24. Responsive
   --------------------------------------------------------- */
@media (max-width: 1100px) {
    .trust-grid,
    .dark-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .parcours-grid {
        grid-template-columns: 1fr;
    }

    .roles-card,
    .criteria-card,
    .demo-panel {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .nav__links {
        gap: 16px;
        font-size: 14px;
    }

    .nav {
        gap: 16px;
    }
}

@media (max-width: 900px) {
    .h1 {
        font-size: 46px;
    }

    .h2,
    .h2--panel,
    .criteria-card .h2,
    .pilot-card .h2,
    .demo-panel .h2 {
        font-size: 32px;
    }

    .feature-row,
    .feature-row--reverse {
        grid-template-columns: 1fr;
        gap: 22px;
        margin-bottom: 48px;
    }

    /* Sur une colonne, l'image passe toujours au-dessus du texte */
    .feature-row--reverse .feature-row__text {
        order: 2;
    }

    .panel-dark {
        padding: 40px 32px;
    }

    .roles-card,
    .criteria-card,
    .pilot-card {
        padding: 34px 28px;
    }

    .hero__phone {
        width: 160px;
        bottom: -32px;
        right: -8px;
        border-radius: 26px;
        padding: 6px;
    }

    .hero__phone img {
        border-radius: 20px;
    }
}

@media (max-width: 768px) {
    html {
        scroll-padding-top: 84px;
    }

    .container {
        padding: 0 20px;
    }

    .section,
    .section--tight,
    .section--wide-gap {
        margin-top: 60px;
    }

    /* --- Nav mobile --- */
    .nav-wrap {
        top: 8px;
        padding: 8px 14px 0;
    }

    .nav {
        gap: 10px;
        padding: 9px 10px;
    }

    .nav .brand {
        padding-left: 6px;
    }

    .brand svg {
        width: 24px;
        height: 24px;
    }

    .brand__name {
        font-size: 19px;
    }

    .nav {
        grid-template-columns: 1fr auto;
    }

    .nav__links,
    .nav__cta {
        display: none;
    }

    .nav__burger {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: rgba(255, 255, 255, .72);
        border: 1px solid rgba(255, 255, 255, .9);
        cursor: pointer;
        color: var(--brand-700);
        flex: none;
        padding: 0;
    }

    .nav__burger .icon {
        width: 19px;
        height: 19px;
    }

    /* --- Hero --- */
    .hero {
        padding: 26px 20px 0;
    }

    .eyebrow {
        font-size: 10.5px;
        line-height: 1.5;
        margin-bottom: 14px;
    }

    .h1 {
        font-size: 34px;
        line-height: 1.1;
        margin-bottom: 16px;
    }

    .lead {
        font-size: 16px;
        margin-bottom: 22px;
    }

    .hero__actions {
        flex-direction: column;
        gap: 10px;
    }

    .hero__actions .btn {
        width: 100%;
        min-height: 52px;
        padding: 14px 24px;
    }

    .hero__badge {
        margin-top: 14px;
        font-size: 12.5px;
    }

    .hero__devices {
        margin-top: 30px;
    }

    .browser--hero {
        border-radius: 14px;
        box-shadow: 0 24px 60px rgba(16, 42, 45, .26);
    }

    .browser__bar,
    .browser--hero .browser__bar {
        padding: 8px 12px;
        gap: 8px;
    }

    .browser__dots,
    .browser--hero .browser__dots {
        gap: 4px;
    }

    .browser__dots span,
    .browser--hero .browser__dots span {
        width: 7px;
        height: 7px;
    }

    .browser__url,
    .browser--hero .browser__url {
        font-size: 9.5px;
        padding: 3px 10px;
        max-width: none;
        margin-right: 22px;
    }

    .browser__spacer,
    .browser--hero .browser__spacer {
        display: none;
    }

    .hero__phone {
        width: 112px;
        right: -6px;
        bottom: -30px;
        border-radius: 20px;
        padding: 5px;
        box-shadow: 0 20px 46px rgba(16, 42, 45, .36);
    }

    .hero__phone img {
        border-radius: 16px;
    }

    /* --- Titres de section --- */
    .h2,
    .h2--panel,
    .criteria-card .h2,
    .pilot-card .h2,
    .demo-panel .h2 {
        font-size: 27px;
        line-height: 1.15;
        margin-bottom: 22px;
    }

    .h3 {
        font-size: 20px;
    }

    /* --- Confiance --- */
    .trust-grid {
        gap: 10px;
    }

    .trust-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 16px;
    }

    .trust-card .icon-tile {
        width: 36px;
        height: 36px;
        border-radius: 12px;
    }

    .trust-card .icon-tile .icon {
        width: 18px;
        height: 18px;
    }

    .trust-card span:last-child {
        font-size: 13.5px;
    }

    /* --- Panneaux sombres --- */
    .panel-dark {
        padding: 32px 24px;
    }

    .dark-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .dark-card {
        padding: 18px;
    }

    .dark-card p {
        font-size: 14.5px;
        line-height: 1.5;
    }

    .dark-card h3 {
        font-size: 15.5px;
    }

    .dark-card h3 + p {
        font-size: 13px;
    }

    /* La liste « problème » passe en ligne icône + texte */
    .problem .dark-card {
        display: flex;
        gap: 14px;
        align-items: flex-start;
    }

    .problem .dark-card .icon-tile--dark {
        margin-bottom: 0;
        width: 34px;
        height: 34px;
        border-radius: 11px;
    }

    .problem .dark-card .icon-tile--dark .icon {
        width: 17px;
        height: 17px;
    }

    .problem__pivot {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        margin-top: 22px;
    }

    .problem__photo {
        width: 100%;
    }

    .problem__photo img {
        height: 150px;
        object-fit: cover;
    }

    .problem__pivot p {
        font-size: 20px;
        line-height: 1.35;
    }

    .disclaimer {
        margin-top: 22px;
        font-size: 12.5px;
        padding-left: 14px;
    }

    /* --- Parcours --- */
    .parcours-grid {
        gap: 12px;
    }

    .phase-card {
        padding: 22px;
    }

    .phase-card__step {
        font-size: 11px;
        margin-bottom: 8px;
    }

    .phase-card h3 {
        font-size: 18px;
    }

    .phase-card p {
        font-size: 14.5px;
        margin-bottom: 16px;
    }

    .phase-card__pair img {
        width: 50%;
    }

    .switch-visual {
        padding: 22px 14px;
        gap: 12px;
    }

    .switch-visual__tag {
        font-size: 12.5px;
        padding: 6px 12px;
    }

    /* --- Côté équipe --- */
    .feature-row,
    .feature-row--reverse {
        gap: 16px;
        margin-bottom: 36px;
    }

    .feature-row .h3 {
        margin-bottom: 8px;
    }

    .feature-row .body-text {
        font-size: 15.5px;
    }

    .feature-row .note {
        font-size: 12.5px;
        margin-top: 10px;
    }

    .browser {
        border-radius: 14px;
        box-shadow: 0 24px 60px rgba(16, 42, 45, .22);
    }

    .roles-card,
    .criteria-card,
    .pilot-card {
        padding: 28px 22px;
        margin-bottom: 36px;
    }

    .roles-card h3 {
        font-size: 22px;
        line-height: 1.2;
    }

    .roles-card .body-text {
        font-size: 15.5px;
    }

    .role-item {
        gap: 12px;
        border-radius: 16px;
        padding: 14px 16px;
    }

    .role-item .icon-tile {
        width: 38px;
        height: 38px;
        border-radius: 12px;
    }

    .role-item .icon-tile .icon {
        width: 19px;
        height: 19px;
    }

    .role-item__title {
        font-size: 14.5px;
    }

    .role-item__desc {
        font-size: 12.5px;
    }

    .mini-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .mini-card {
        padding: 20px;
    }

    .mini-card h3 {
        font-size: 17px;
    }

    .mini-card p {
        font-size: 14px;
        margin-bottom: 14px;
    }

    /* --- Côté patient : carrousel horizontal --- */
    .patient-section {
        text-align: left;
    }

    .patient-section > .container {
        padding: 0;
    }

    .patient-section .eyebrow,
    .patient-section .h2,
    .patient-pills,
    .patient-closing {
        padding-left: 20px;
        padding-right: 20px;
    }

    .phone-row {
        gap: 14px;
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding: 6px 20px 18px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .phone-row::-webkit-scrollbar {
        display: none;
    }

    .phone-row .phone,
    .phone-row .phone:nth-child(even) {
        flex: none;
        width: 150px;
        margin-top: 0;
        border-radius: 26px;
        padding: 6px;
        box-shadow: 0 20px 46px rgba(16, 42, 45, .28);
    }

    .phone-row .phone img {
        border-radius: 21px;
    }

    .patient-pills {
        flex-direction: column;
        gap: 10px;
        margin-top: 0;
    }

    .patient-pills .pill-tint {
        width: 100%;
        font-size: 13.5px;
        padding: 12px 16px;
    }

    .patient-closing {
        margin-top: 12px;
        font-size: 15px;
        max-width: none;
    }

    /* --- Critères --- */
    .criteria-card .h2 {
        font-size: 26px;
        margin-bottom: 14px;
    }

    .criteria-card .body-text {
        font-size: 15.5px;
    }

    .criteria-demo {
        gap: 10px;
    }

    .patient-row {
        padding: 16px 18px;
    }

    .patient-row__head {
        gap: 11px;
    }

    .patient-row__avatar {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }

    .patient-row__name {
        font-size: 14.5px;
    }

    .patient-row__meta {
        font-size: 12px;
    }

    .badge {
        font-size: 10px;
        padding: 5px 10px;
    }

    .patient-row__trigger {
        font-size: 13px;
        padding: 11px 13px;
    }

    /* --- Pilote --- */
    .pilot-card {
        text-align: left;
    }

    .pilot-card .h2 {
        line-height: 1.2;
        margin-bottom: 12px;
    }

    .pilot-card__intro {
        font-size: 15.5px;
        margin-bottom: 22px;
    }

    .pilot-list {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 24px;
    }

    .pilot-list li {
        font-size: 14px;
    }

    .pilot-card .btn {
        width: 100%;
        min-height: 52px;
        font-size: 15.5px;
    }

    /* --- FAQ --- */
    .faq-head {
        text-align: left;
    }

    .faq-head .h2 {
        margin-bottom: 20px;
    }

    .faq-list {
        gap: 9px;
    }

    .faq-trigger {
        min-height: 52px;
        padding: 15px 18px;
        gap: 14px;
        font-size: 15px;
    }

    .faq-trigger .icon {
        width: 18px;
        height: 18px;
    }

    .faq-answer p {
        padding: 0 18px 16px;
        font-size: 14px;
        line-height: 1.6;
    }

    /* --- Démo --- */
    .demo-panel {
        gap: 20px;
    }

    .demo-panel .h2 {
        margin-bottom: 12px;
    }

    .demo-panel__lead {
        font-size: 15.5px;
        margin-bottom: 20px;
    }

    .demo-panel .btn-ghost-dark {
        width: 100%;
        min-height: 50px;
        font-size: 14.5px;
    }

    .demo-panel__reply {
        margin-top: 16px;
    }

    .demo-form {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 20px;
    }

    .field {
        font-size: 12px;
    }

    .field input,
    .field select {
        font-size: 15px;
        min-height: 46px;
    }

    .field textarea {
        font-size: 15px;
    }

    .field-consent {
        font-size: 12.5px;
    }

    .field-consent input {
        width: 18px;
        height: 18px;
    }

    .demo-form button[type="submit"] {
        min-height: 52px;
    }

    /* --- Footer --- */
    .footer {
        margin-top: 52px;
        padding: 28px 20px 108px;
    }

    .footer__top {
        gap: 22px;
    }

    .footer__links {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px 16px;
        width: 100%;
    }

    .footer__links ul {
        gap: 12px;
    }

    .footer__bottom {
        flex-direction: column-reverse;
        align-items: flex-start;
        gap: 12px;
        margin-top: 22px;
        font-size: 12px;
    }

    /* --- CTA collant --- */
    .sticky-cta {
        display: flex;
    }

    /* --- Pages secondaires --- */
    .page-header {
        padding: 34px 20px 0;
    }

    .page-header .h1 {
        font-size: 30px;
    }

    .prose {
        margin-top: 28px;
        padding: 26px 22px;
        border-radius: var(--r-lg);
    }

    .prose h2 {
        font-size: 21px;
        margin-top: 32px;
    }

    .prose h3 {
        font-size: 17px;
    }

    .prose p,
    .prose li {
        font-size: 15px;
    }

    .subnav {
        top: 8px;
        padding: 8px 14px 0;
    }

    .subnav__inner {
        padding: 9px 10px 9px 16px;
    }

    .guide-grid,
    .guide-grid--2 {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .guide-step {
        gap: 14px;
        padding: 22px 20px;
    }

    .guide-step__num {
        width: 34px;
        height: 34px;
        font-size: 15px;
    }

    .guide-step h3 {
        font-size: 18px;
    }

    .guide-step p,
    .guide-step li {
        font-size: 15px;
    }

    .guide-cta {
        flex-direction: column;
    }

    .guide-cta .btn {
        width: 100%;
        min-height: 52px;
    }

    /* --- Pour qui --- */
    .audience-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .audience-card {
        padding: 26px 22px;
        border-radius: var(--r-lg);
    }

    .audience-card .icon-tile {
        width: 42px;
        height: 42px;
        margin-bottom: 14px;
    }

    .audience-card h3 {
        font-size: 20px;
    }

    .audience-card__lead {
        font-size: 15px;
        margin-bottom: 18px;
    }

    .audience-card li {
        font-size: 14.5px;
    }

    /* --- Blog --- */
    .blog-head {
        align-items: flex-start;
        gap: 16px;
        margin-bottom: 20px;
    }

    .blog-head__all {
        width: 100%;
        min-height: 46px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .blog-card {
        padding: 22px 20px;
    }

    .blog-card h3 {
        font-size: 20px;
    }

    .blog-card__media {
        margin-bottom: 18px;
    }

    .blog-card__media img {
        height: 180px;
    }

    .blog-card--cover > *:not(.blog-card__media) {
        margin-left: 20px;
        margin-right: 20px;
    }

    .blog-card--cover > *:last-child {
        margin-bottom: 22px;
    }

    .article-cover {
        margin-top: 22px;
        padding: 0 20px;
    }

    .article-cover img {
        height: 200px;
        border-radius: var(--r-md);
    }

    .article-cover + .article-body {
        margin-top: 18px;
    }

    .blog-card p {
        font-size: 15px;
    }

    /* --- Article --- */
    .article-header {
        padding: 30px 20px 0;
    }

    .article-body {
        margin-top: 26px;
        padding: 26px 22px;
        border-radius: var(--r-lg);
    }

    .article-body > p:first-of-type {
        font-size: 17px;
    }

    .article-body h2 {
        font-size: 23px;
        margin-top: 34px;
    }

    .article-body h3 {
        font-size: 18px;
    }

    .article-body p,
    .article-body li {
        font-size: 15.5px;
        line-height: 1.7;
    }

    .article-cta {
        padding: 0 20px;
    }

    .article-cta__inner .h2 {
        font-size: 24px;
    }
}

@media (max-width: 380px) {
    .h1 {
        font-size: 30px;
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------------------------------------------------------
   25. Fallbacks — verre indisponible ou transparence réduite
   --------------------------------------------------------- */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .glass-nav,
    .glass-card,
    .nav-panel {
        background: rgba(255, 255, 255, .92);
    }

    .panel-dark {
        background: linear-gradient(150deg, #235458, #183C40);
    }
}

@media (prefers-reduced-transparency: reduce) {
    .glass-nav,
    .glass-card,
    .nav-panel {
        background: rgba(255, 255, 255, .92);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .glass-inset,
    .role-item,
    .patient-row {
        background: #fff;
    }

    .panel-dark {
        background: linear-gradient(150deg, #235458, #183C40);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
}

/* ---------------------------------------------------------
   26. Mouvement réduit
   --------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    .js .reveal,
    .js .reveal-stagger > * {
        opacity: 1;
        transform: none;
        filter: none;
    }

    /* Aucun déplacement au survol : seules les teintes changent */
    .phase-card:hover,
    .mini-card:hover,
    .faq-item:hover,
    .trust-card:hover,
    .role-item:hover,
    .dark-card:hover,
    .btn-primary:hover,
    .btn-secondary:hover,
    .btn-ghost-dark:hover,
    .feature-row .browser:hover,
    .feature-row .browser:hover img,
    .phone-row .phone:hover,
    .pill-tint:hover,
    .footer__links a:hover,
    .trust-card:hover .icon-tile,
    .role-item:hover .icon-tile,
    .mini-card:hover .icon-tile {
        transform: none;
    }

    .footer__credit:hover .footer__heart {
        animation: none;
    }

    .nav-drawer {
        transition: none;
    }
}
