/* ==========================================================================
   MEDIVORA — Site institutionnel V2
   Design system, mise en page et composants.
   Maquette autonome : aucune dépendance à un framework CSS.
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */

/* Polices auto-hébergées : compatibles CSP `font-src 'self'` et cPanel. */
@font-face {
    font-family: "Manrope";
    font-style: normal;
    font-weight: 500 800;
    font-display: swap;
    src: url("/fonts/manrope-latin.woff2") format("woff2");
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
    src: url("/fonts/inter-latin.woff2") format("woff2");
}

:root {
    /* Marque */
    --navy-950: #04101f;
    --navy-900: #061a33;
    --navy-800: #08213f;
    --navy-700: #0b2b50;
    --ink: #071f49;
    --ink-soft: #22395c;
    --blue: #087fe8;
    --blue-deep: #075fb0;
    --emerald: #12c76f;
    --emerald-bright: #35e39a;
    --emerald-ink: #07864f;
    --emerald-soft: #e9fbf2;

    /* Surfaces */
    --paper: #f6f8fb;
    --paper-2: #eef2f8;
    --white: #ffffff;
    --muted: #5f6f86;
    --muted-light: #68788d;
    --line: #e3e9f3;
    --line-strong: #d5deeb;
    --line-dark: rgba(255, 255, 255, 0.12);

    /* Typographie */
    --font-display: "Manrope", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    /* Rythme */
    --container: 1220px;
    --gutter: clamp(20px, 4vw, 48px);
    --section-y: clamp(72px, 8.5vw, 124px);
    --header-h: 74px;
    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 22px;

    /* Ombres */
    --shadow-sm: 0 2px 6px -2px rgba(7, 31, 73, 0.1);
    --shadow-md: 0 18px 44px -28px rgba(7, 31, 73, 0.35);
    --shadow-lg: 0 40px 90px -50px rgba(7, 31, 73, 0.55);
    --shadow-dark: 0 50px 110px -45px rgba(0, 0, 0, 0.85);

    /* Motion */
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* 2. Base ----------------------------------------------------------------- */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 18px);
}

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--paper);
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.nav-open {
    overflow: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    font-weight: 800;
    color: inherit;
    margin: 0;
}

p {
    margin: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

ul,
ol {
    margin: 0;
    padding: 0;
}

button {
    font-family: inherit;
}

::selection {
    background: rgba(18, 199, 111, 0.25);
    color: var(--navy-950);
}

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

.section--dark :focus-visible,
.hero :focus-visible,
.mobile-nav :focus-visible {
    outline-color: var(--emerald-bright);
}

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.skip-link {
    position: absolute;
    top: -60px;
    left: 16px;
    z-index: 200;
    background: var(--white);
    color: var(--ink);
    font-size: 13px;
    font-weight: 600;
    padding: 10px 16px;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    transition: top 0.2s var(--ease);
}

.skip-link:focus {
    top: 12px;
}

/* 3. Typographie ---------------------------------------------------------- */

h1 {
    font-size: clamp(37px, 5.4vw, 76px);
    line-height: 1.03;
    letter-spacing: -0.038em;
    margin-top: 18px;
    max-width: 1000px;
}

h1 em {
    font-style: normal;
    color: var(--emerald-bright);
}

h2 {
    font-size: clamp(29px, 4.1vw, 52px);
    line-height: 1.07;
    letter-spacing: -0.032em;
    margin-top: 14px;
}

h2 em {
    font-style: normal;
    color: var(--emerald-ink);
}

h3 {
    letter-spacing: -0.02em;
}

.lead {
    font-size: clamp(15.5px, 1.2vw, 17.5px);
    line-height: 1.7;
    color: var(--muted);
    max-width: 62ch;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--blue);
}

.eyebrow::before {
    content: "";
    width: 22px;
    height: 1px;
    background: currentColor;
    opacity: 0.55;
}

.section--dark .eyebrow,
.hero .eyebrow,
.section--mobile .eyebrow {
    color: var(--emerald-bright);
}

.eyebrow--emerald {
    color: var(--emerald-ink);
}

.section--dark .lead,
.section--mobile .lead,
.hero .lead {
    color: rgba(255, 255, 255, 0.68);
}

.note {
    font-size: 12.5px;
    line-height: 1.65;
    color: var(--muted-light);
    margin-top: 18px;
}

.note--dark {
    color: rgba(255, 255, 255, 0.55);
}

/* 4. Boutons et liens ----------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 14px 24px;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.005em;
    cursor: pointer;
    transition: background-color 0.22s var(--ease), border-color 0.22s var(--ease),
        color 0.22s var(--ease), transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

.btn span {
    transition: transform 0.22s var(--ease);
}

.btn:hover span {
    transform: translateX(3px);
}

.btn--primary {
    background: var(--emerald);
    color: var(--navy-950);
    box-shadow: 0 12px 28px -16px rgba(18, 199, 111, 0.85);
}

.btn--primary:hover {
    background: #24d982;
    transform: translateY(-1px);
    box-shadow: 0 16px 32px -14px rgba(18, 199, 111, 0.8);
}

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

.btn--ghost {
    background: transparent;
    border-color: var(--line-strong);
    color: var(--ink);
}

.btn--ghost:hover {
    border-color: var(--ink);
    background: rgba(7, 31, 73, 0.035);
}

.hero .btn--ghost,
.section--dark .btn--ghost,
.section--mobile .btn--ghost {
    border-color: rgba(255, 255, 255, 0.22);
    color: #ffffff;
}

.hero .btn--ghost:hover,
.section--dark .btn--ghost:hover,
.section--mobile .btn--ghost:hover {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.06);
}

.btn--sm {
    padding: 10px 16px;
    font-size: 13px;
}

.btn--block {
    width: 100%;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 16px;
    padding-bottom: 3px;
    border-bottom: 1px solid rgba(7, 31, 73, 0.2);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink);
    transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.text-link span {
    transition: transform 0.2s var(--ease);
}

.text-link:hover {
    color: var(--emerald-ink);
    border-color: var(--emerald);
}

.text-link:hover span {
    transform: translateX(3px);
}

/* 5. En-tête -------------------------------------------------------------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 90;
    background: rgba(4, 16, 31, 0.86);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    backdrop-filter: blur(14px) saturate(140%);
    transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
    background: rgba(4, 16, 31, 0.97);
    box-shadow: 0 12px 30px -20px rgba(0, 0, 0, 0.9);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    height: var(--header-h);
}

.brand {
    display: inline-flex;
    align-items: center;
    flex: none;
}

.brand img {
    height: 30px;
    width: auto;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: auto;
}

.main-nav a {
    position: relative;
    padding: 8px 10px;
    white-space: nowrap;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.main-nav a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
}

.main-nav a.is-current {
    color: #ffffff;
}

.main-nav a.is-current::after {
    content: "";
    position: absolute;
    left: 11px;
    right: 11px;
    bottom: 1px;
    height: 2px;
    border-radius: 2px;
    background: var(--emerald);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-left: 10px;
}

.nav-login {
    font-size: 13.5px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.72);
    padding: 6px 2px;
    border-bottom: 1px solid transparent;
    transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.nav-login:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.45);
}

/* Burger */
.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 0 10px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 9px;
    cursor: pointer;
}

.burger span {
    display: block;
    width: 100%;
    height: 1.6px;
    background: #ffffff;
    border-radius: 2px;
    transition: transform 0.28s var(--ease), opacity 0.2s var(--ease);
}

.burger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6.6px) rotate(45deg);
}

.burger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.burger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6.6px) rotate(-45deg);
}

/* Navigation mobile */
.mobile-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 89;
    display: flex;
    flex-direction: column;
    padding: 18px var(--gutter) 48px;
    background: var(--navy-950);
    overflow-y: auto;
    overscroll-behavior: contain;
    animation: navIn 0.28s var(--ease-out);
}

.mobile-nav[hidden] {
    display: none;
}

.mobile-nav:focus {
    outline: none;
}

.mobile-nav a {
    padding: 17px 2px;
    font-family: var(--font-display);
    font-size: 21px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.mobile-nav a:hover {
    color: var(--emerald-bright);
}

.mobile-nav a:focus-visible {
    outline-offset: -3px;
    border-radius: 6px;
}

.mobile-nav .btn {
    margin-top: 26px;
    font-family: var(--font-sans);
    font-size: 14px;
    border-bottom: 0;
    color: var(--navy-950);
}

.mobile-nav .mobile-nav__login {
    border-bottom: 0;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    padding-top: 18px;
}

@keyframes navIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

/* 6. Hero ----------------------------------------------------------------- */

.hero {
    position: relative;
    padding: clamp(44px, 5.4vw, 76px) 0 0;
    color: #ffffff;
    background:
        radial-gradient(120% 85% at 88% -12%, rgba(18, 199, 111, 0.15), transparent 55%),
        radial-gradient(90% 70% at 4% 0%, rgba(8, 127, 232, 0.2), transparent 58%),
        linear-gradient(180deg, #04101f 0%, #061a33 58%, #071f3b 100%);
    overflow: hidden;
}

.hero__grid-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
    background-size: 74px 74px;
    -webkit-mask-image: radial-gradient(ellipse 85% 62% at 50% 6%, #000 15%, transparent 78%);
    mask-image: radial-gradient(ellipse 85% 62% at 50% 6%, #000 15%, transparent 78%);
}

.hero__inner {
    position: relative;
    z-index: 1;
}

.hero__lede {
    display: grid;
    grid-template-columns: minmax(0, 540px) auto;
    justify-content: space-between;
    align-items: end;
    gap: clamp(22px, 4vw, 56px);
    margin-top: clamp(28px, 3.4vw, 44px);
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero__cta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero__points {
    display: flex;
    flex-wrap: wrap;
    gap: 8px clamp(14px, 1.8vw, 26px);
    list-style: none;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
}

.hero__points li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.hero__points li::before {
    content: "";
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--emerald);
    flex: none;
}

/* Capture produit */
.hero__showcase {
    position: relative;
    z-index: 1;
    max-width: 1160px;
    margin: clamp(38px, 5vw, 62px) auto 0;
}

.browser {
    position: relative;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: #0b1f38;
    box-shadow: var(--shadow-dark), 0 0 0 1px rgba(255, 255, 255, 0.03);
    overflow: hidden;
}

.browser__bar {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 38px;
    padding: 0 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.browser__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
    flex: none;
}

.browser__url {
    margin-left: 12px;
    padding: 3px 12px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.28);
    font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.45);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.browser img {
    width: 100%;
    height: auto;
}

.float-card {
    position: absolute;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 170px;
    padding: 14px 16px;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 26px 50px -22px rgba(0, 0, 0, 0.7);
    color: var(--ink);
    animation: floatIn 0.9s var(--ease-out) backwards;
}

.float-card--one {
    left: -26px;
    bottom: 20%;
    animation-delay: 0.5s;
}

.float-card--two {
    right: -24px;
    top: 17%;
    animation-delay: 0.68s;
}

.float-card__label {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: var(--muted);
}

.float-card strong {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.float-card__meta {
    font-size: 11px;
    color: var(--muted-light);
}

.float-card__bar {
    display: block;
    height: 5px;
    margin-top: 6px;
    border-radius: 999px;
    background: var(--paper-2);
    overflow: hidden;
}

.float-card__bar i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--emerald-ink), var(--emerald));
}

.demo-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.42);
}

.demo-pill::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--emerald);
    box-shadow: 0 0 10px rgba(18, 199, 111, 0.9);
}

.scroll-hint {
    position: relative;
    display: block;
    width: 20px;
    height: 34px;
    margin: 26px auto 26px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
}

.scroll-hint span {
    position: absolute;
    top: 7px;
    left: 50%;
    width: 3px;
    height: 7px;
    margin-left: -1.5px;
    border-radius: 999px;
    background: var(--emerald-bright);
    animation: scrollDot 1.9s var(--ease) infinite;
}

@keyframes scrollDot {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    70% {
        opacity: 0;
        transform: translateY(12px);
    }
    100% {
        opacity: 0;
        transform: translateY(12px);
    }
}

@keyframes floatIn {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

/* 7. Bandeau de confiance ------------------------------------------------- */

.trust {
    padding: 22px 0;
    background: var(--navy-950);
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.58);
    font-size: 12.5px;
}

.trust__grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px 28px;
}

.trust__grid p {
    margin: 0;
}

.trust__grid strong {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

.trust ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px clamp(14px, 2.4vw, 32px);
    list-style: none;
}

.trust li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.trust li::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--emerald);
    flex: none;
}

/* 8. Sections ------------------------------------------------------------- */

.section {
    position: relative;
    padding: var(--section-y) 0;
}

.section--white {
    background: var(--white);
}

.section--dark {
    background: linear-gradient(180deg, #05132a 0%, #071c37 100%);
    color: #ffffff;
    overflow: hidden;
}

.section--dark::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 88px 88px;
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 20%, #000, transparent 75%);
    mask-image: radial-gradient(ellipse 80% 70% at 70% 20%, #000, transparent 75%);
}

.section--dark > .container {
    position: relative;
    z-index: 1;
}

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

.section-head .lead {
    margin-top: 18px;
}

/* Pages secondaires (site public) */
.page-hero {
    position: relative;
    padding: clamp(48px, 6vw, 84px) 0 clamp(24px, 3.4vw, 40px);
    background: var(--paper);
}

.page-hero h1 {
    max-width: 900px;
    font-size: clamp(34px, 4.4vw, 56px);
}

.page-hero .lead {
    margin-top: 16px;
    max-width: 64ch;
}

.page-hero h1 em {
    font-style: normal;
    color: var(--emerald-ink);
}

.page-faq {
    max-width: 920px;
}

.page-faq.faq {
    display: block;
}

.compare-wrap {
    margin-top: 18px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--white);
    overflow-x: auto;
}

.compare {
    width: 100%;
    min-width: 620px;
    border-collapse: collapse;
    font-size: 13.5px;
}

.compare th,
.compare td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--line);
    text-align: center;
}

.compare thead th {
    background: var(--paper);
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.compare thead th:first-child,
.compare tbody th {
    text-align: left;
}

.compare tbody th {
    font-weight: 600;
    color: var(--ink);
}

.compare tbody tr:last-child th,
.compare tbody tr:last-child td {
    border-bottom: 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(16px, 2.4vw, 24px);
    margin-top: clamp(28px, 3.6vw, 44px);
}

.feature-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    overflow: hidden;
}

.feature-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: top left;
    border-bottom: 1px solid var(--line);
}

.feature-card__body {
    padding: 20px 22px 24px;
}

.feature-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 13.5px;
    line-height: 1.65;
    color: var(--muted);
}

@media (max-width: 720px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
}

/* 9. Positionnement ------------------------------------------------------- */

.pillars {
    margin-top: clamp(32px, 4vw, 52px);
    border-top: 1px solid var(--line);
}

.pillar {
    display: grid;
    grid-template-columns: 64px minmax(0, 0.92fr) minmax(0, 1.18fr);
    grid-template-areas: "idx copy shot";
    gap: clamp(20px, 3vw, 44px);
    align-items: center;
    padding: clamp(26px, 3.2vw, 42px) 0;
    border-bottom: 1px solid var(--line);
}

.pillar--reverse {
    grid-template-columns: 64px minmax(0, 1.18fr) minmax(0, 0.92fr);
    grid-template-areas: "idx shot copy";
}

.pillar__index {
    grid-area: idx;
    align-self: start;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 5px;
    font-family: var(--font-display);
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--blue);
}

.pillar__index::after {
    content: "";
    width: 26px;
    height: 2px;
    background: var(--emerald);
    border-radius: 2px;
}

.pillar > div {
    grid-area: copy;
}

.pillar h3 {
    margin-bottom: 10px;
    font-size: clamp(21px, 2.1vw, 27px);
}

.pillar p {
    max-width: 46ch;
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--muted);
}

.pillar img {
    grid-area: shot;
    width: 100%;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: var(--white);
    box-shadow: var(--shadow-md);
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.pillar:hover img {
    transform: translateY(-3px);
    box-shadow: 0 30px 60px -36px rgba(7, 31, 73, 0.5);
}

/* 10. Product tour -------------------------------------------------------- */

.tour {
    display: grid;
    grid-template-columns: 276px minmax(0, 1fr);
    align-items: start;
    gap: clamp(18px, 2.4vw, 32px);
    margin-top: clamp(32px, 4vw, 48px);
}

.tour__nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
    border-left: 1px solid var(--line);
}

.tour__tab {
    display: grid;
    grid-template-columns: 22px 1fr;
    column-gap: 10px;
    margin-left: -1px;
    padding: 13px 14px 13px 16px;
    border: 0;
    border-left: 2px solid transparent;
    border-radius: 0 10px 10px 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.tour__tab span {
    grid-row: span 2;
    padding-top: 3px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--muted-light);
    transition: color 0.2s var(--ease);
}

.tour__tab strong {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.015em;
    color: var(--ink);
}

.tour__tab small {
    font-size: 12px;
    color: var(--muted-light);
    line-height: 1.4;
}

.tour__tab:hover {
    background: var(--paper);
}

.tour__tab.is-active {
    border-left-color: var(--emerald);
    background: var(--paper);
}

.tour__tab.is-active span {
    color: var(--emerald-ink);
}

.tour__tab.is-active strong {
    color: var(--blue-deep);
}

.tour__panel {
    padding: clamp(10px, 1.4vw, 16px);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--paper);
    box-shadow: 0 30px 70px -55px rgba(7, 31, 73, 0.6);
}

.tour__stage {
    position: relative;
    aspect-ratio: 16 / 10;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
    overflow: hidden;
}

.tour__stage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top left;
    transition: opacity 0.3s var(--ease);
}

.tour__panel.is-swapping .tour__stage img {
    opacity: 0;
}

.tour__copy {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
    column-gap: 32px;
    align-items: start;
    padding: 22px 10px 8px;
}

.tour__count {
    grid-column: 1;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--blue);
}

.tour__copy h3 {
    grid-column: 1;
    margin: 5px 0 8px;
    font-size: 23px;
}

.tour__copy p {
    grid-column: 1;
    font-size: 14px;
    line-height: 1.65;
    color: var(--muted);
}

.tour__copy ul {
    grid-column: 2;
    grid-row: 1 / 4;
    display: flex;
    flex-direction: column;
    gap: 9px;
    padding-left: 22px;
    border-left: 1px solid var(--line);
    list-style: none;
    font-size: 13px;
    color: var(--ink-soft);
}

.tour__copy li {
    display: grid;
    grid-template-columns: 16px 1fr;
    gap: 8px;
    align-items: start;
}

.tour__copy li::before {
    content: "✓";
    font-size: 10px;
    font-weight: 700;
    line-height: 1.8;
    color: var(--emerald-ink);
}

/* 11. Analytics (section sombre) ------------------------------------------ */

.dark-head {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: end;
    gap: clamp(24px, 4vw, 64px);
    margin-bottom: clamp(34px, 4.6vw, 56px);
}

.dark-head p {
    padding-left: 24px;
    border-left: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 15px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.62);
}

.analytics {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.78fr);
    align-items: stretch;
    gap: clamp(16px, 2.4vw, 26px);
}

.analytics__visual {
    position: relative;
    min-height: 280px;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: #0b2038;
    box-shadow: 0 40px 80px -40px #000;
    overflow: hidden;
}

.analytics__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top left;
}

.analytics__tag {
    position: absolute;
    left: 14px;
    bottom: 14px;
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(4, 16, 31, 0.85);
    font-size: 10.5px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
}

.analytics__cards {
    display: grid;
    gap: 12px;
}

.stat {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 17px 20px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
    transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}

.stat:hover {
    border-color: rgba(18, 199, 111, 0.45);
}

.stat__label {
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.stat strong {
    margin-top: 7px;
    font-family: var(--font-display);
    font-size: clamp(26px, 2.5vw, 33px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--emerald-bright);
}

.stat p {
    margin-top: 7px;
    font-size: 12px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.55);
}

/* 12. Intelligence contextuelle ------------------------------------------- */

.context {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    align-items: center;
    gap: clamp(36px, 4.5vw, 64px);
}

.context__steps {
    margin-top: 28px;
    list-style: none;
}

.context__steps li {
    display: grid;
    grid-template-columns: 34px 1fr;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 14.5px;
    font-weight: 500;
}

.context__steps li:first-child {
    border-top: 1px solid var(--line);
}

.context__steps span {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid rgba(18, 199, 111, 0.4);
    background: var(--white);
    font-size: 12px;
    font-weight: 700;
    color: var(--emerald-ink);
}

.context__visual {
    position: relative;
    padding-bottom: 28px;
}

.context__shot {
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: var(--white);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.context__shot img {
    width: 100%;
}

.context-card {
    position: absolute;
    z-index: 2;
    max-width: 232px;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 22px 45px -28px rgba(7, 31, 73, 0.55);
}

.context-card__label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--blue);
}

.context-card p {
    margin-top: 4px;
    font-size: 12.5px;
    line-height: 1.45;
    color: var(--ink);
}

.context-card--one {
    top: -16px;
    left: -20px;
}

.context-card--two {
    right: -20px;
    bottom: 88px;
}

.context-card--three {
    bottom: -2px;
    left: 24px;
}

/* 13. Planification ------------------------------------------------------- */

.planning {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr);
    align-items: start;
    gap: clamp(14px, 2vw, 22px);
    margin-top: clamp(30px, 4vw, 46px);
}

.planning figure {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 10px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.planning img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.planning figcaption {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 12px 6px 4px;
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--muted);
}

.planning figcaption::before {
    content: "";
    flex: none;
    width: 5px;
    height: 5px;
    margin-top: 7px;
    border-radius: 50%;
    background: var(--emerald);
}

.planning__note {
    margin-top: 8px;
    padding: 10px 6px 2px;
    border-top: 1px solid var(--line);
    font-size: 11.5px;
    line-height: 1.55;
    color: var(--muted-light);
}

/* 14. Application mobile -------------------------------------------------- */

.section--mobile {
    background:
        radial-gradient(85% 75% at 82% 22%, rgba(18, 199, 111, 0.13), transparent 58%),
        radial-gradient(70% 60% at 10% 90%, rgba(8, 127, 232, 0.14), transparent 60%),
        linear-gradient(160deg, #061a33 0%, #04101f 100%);
    color: #ffffff;
    overflow: hidden;
}

.mobile-section {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: center;
    gap: clamp(32px, 5vw, 64px);
}

.checks {
    display: grid;
    gap: 11px;
    margin-top: 24px;
    list-style: none;
}

.checks li {
    display: grid;
    grid-template-columns: 19px 1fr;
    align-items: start;
    gap: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.78);
}

.checks li::before {
    content: "✓";
    display: grid;
    place-items: center;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    border-radius: 50%;
    border: 1px solid rgba(18, 199, 111, 0.45);
    background: rgba(18, 199, 111, 0.14);
    font-size: 9px;
    font-weight: 700;
    color: var(--emerald-bright);
}

.mobile-section__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 20px;
    margin-top: 30px;
}

.mobile-section__actions .note {
    margin: 0;
    color: rgba(255, 255, 255, 0.45);
}

.phones {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 0;
}

.phones::before {
    content: "";
    position: absolute;
    inset: 6% 2%;
    background: radial-gradient(circle at 50% 45%, rgba(18, 199, 111, 0.24), transparent 62%);
    filter: blur(26px);
    pointer-events: none;
}

.phone {
    position: relative;
    width: 36%;
    max-width: 208px;
    margin: 0;
    aspect-ratio: 860 / 1800;
    border: 5px solid #0b2038;
    border-radius: 26px;
    background: #0d2138;
    box-shadow: 0 40px 80px -34px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.16);
    overflow: hidden;
    transition: transform 0.4s var(--ease);
}

.phone img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.phone--back {
    z-index: 1;
    margin-right: -6.5%;
    transform: translateY(14px) rotate(-7deg) scale(0.94);
}

.phone--front {
    z-index: 3;
}

.phone--side {
    z-index: 2;
    margin-left: -6.5%;
    transform: translateY(20px) rotate(7deg) scale(0.95);
}

.phone:hover {
    transform: translateY(6px) rotate(0deg) scale(1);
}

/* Bandeau de téléchargement Android */
.download-banner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px 22px;
    margin-top: clamp(30px, 4.4vw, 52px);
    padding: 18px 22px;
    border-radius: 18px;
    background: linear-gradient(135deg, #ffffff 0%, #eef4fb 100%);
    color: var(--ink);
    box-shadow: 0 34px 80px -42px rgba(0, 0, 0, 0.65);
}

.download-banner__icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(150deg, var(--navy-800), var(--navy-950));
    color: var(--emerald-bright);
    flex: none;
}

.download-banner__icon svg {
    width: 25px;
    height: 25px;
}

.download-banner__copy {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.download-banner__eyebrow {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--emerald-ink);
}

.download-banner__copy strong {
    font-family: var(--font-display);
    font-size: clamp(16.5px, 1.7vw, 21px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.download-banner__meta {
    font-size: 12px;
    line-height: 1.5;
    color: var(--muted);
}

.download-banner__meta a {
    color: var(--emerald-ink);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.download-banner__btn {
    white-space: nowrap;
}

.download-banner__note {
    max-width: 96ch;
    margin-top: 12px;
    font-size: 11.5px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.55);
}

/* 15. Rôles --------------------------------------------------------------- */

.roles {
    margin-top: clamp(26px, 3.6vw, 40px);
}

.roles__tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    width: fit-content;
    max-width: 100%;
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--paper-2);
}

.roles__tab {
    padding: 11px 16px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

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

.roles__tab.is-active {
    background: var(--white);
    color: var(--ink);
    box-shadow: 0 2px 10px -2px rgba(7, 31, 73, 0.18);
}

.roles__panel {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: clamp(24px, 4vw, 56px);
    margin-top: 20px;
    padding: clamp(22px, 3vw, 40px);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: 0 30px 70px -55px rgba(7, 31, 73, 0.5);
    transition: opacity 0.2s var(--ease);
}

.roles__panel.is-swapping {
    opacity: 0.35;
}

.roles__eyebrow {
    display: block;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--emerald-ink);
}

.roles__copy h3 {
    margin: 8px 0 12px;
    font-size: clamp(21px, 2.2vw, 27px);
    line-height: 1.2;
}

.roles__copy > p {
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--muted);
    max-width: 46ch;
}

.roles__copy ul {
    display: grid;
    gap: 9px;
    margin-top: 20px;
    list-style: none;
    font-size: 13.5px;
    color: var(--ink-soft);
}

.roles__copy li {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 9px;
    align-items: start;
}

.roles__copy li::before {
    content: "✓";
    font-size: 10px;
    font-weight: 700;
    line-height: 1.9;
    color: var(--emerald-ink);
}

.roles__visual {
    border-radius: 13px;
    border: 1px solid var(--line);
    background: var(--paper);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.roles__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top left;
}

/* 16. Multi-entreprises --------------------------------------------------- */

.tenant {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: clamp(32px, 5vw, 72px);
    margin-top: clamp(32px, 4vw, 48px);
}

.tenant__diagram {
    position: relative;
    padding: clamp(20px, 2.6vw, 30px);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(90% 80% at 80% 0%, rgba(8, 127, 232, 0.07), transparent 60%),
        linear-gradient(160deg, #fbfdff, #eef4fb);
}

.tenant__platform {
    padding: 16px 20px;
    border-radius: 13px;
    background: linear-gradient(150deg, var(--navy-800), var(--navy-950));
    color: #ffffff;
    text-align: center;
    box-shadow: 0 18px 36px -26px rgba(7, 31, 73, 0.9);
}

.tenant__platform span {
    display: block;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.tenant__platform small {
    display: block;
    margin-top: 3px;
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.55);
}

.tenant__orgs {
    position: relative;
    display: grid;
    gap: 10px;
    margin-top: 34px;
}

.tenant__orgs::before {
    content: "";
    position: absolute;
    top: -34px;
    left: 50%;
    width: 1px;
    height: 34px;
    background: linear-gradient(rgba(7, 31, 73, 0.3), rgba(7, 31, 73, 0.12));
}

.org {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 12px;
    align-items: center;
    padding: 11px 14px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.org span {
    grid-row: span 2;
    display: grid;
    place-items: center;
    width: 33px;
    height: 33px;
    border-radius: 9px;
    background: var(--navy-800);
    color: #ffffff;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 800;
}

.org:nth-child(2) span {
    background: var(--blue);
}

.org:nth-child(3) span {
    background: var(--emerald-ink);
}

.org strong {
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.org small {
    font-size: 11.5px;
    color: var(--muted-light);
}

.tenant__copy h3 {
    font-size: clamp(21px, 2.2vw, 26px);
    margin-bottom: 12px;
}

.tenant__copy p {
    font-size: 14.5px;
    line-height: 1.75;
    color: var(--muted);
    max-width: 48ch;
}

.ticks {
    display: grid;
    gap: 10px;
    margin-top: 22px;
    list-style: none;
    font-size: 13.5px;
    color: var(--ink-soft);
}

.ticks li {
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 10px;
    align-items: start;
}

.ticks li::before {
    content: "✓";
    display: grid;
    place-items: center;
    width: 19px;
    height: 19px;
    margin-top: 1px;
    border-radius: 50%;
    background: var(--emerald-soft);
    color: var(--emerald-ink);
    font-size: 9px;
    font-weight: 700;
}

/* 17. Tarifs -------------------------------------------------------------- */

.pricing {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: clamp(14px, 1.8vw, 22px);
    margin-top: clamp(34px, 4.4vw, 54px);
}

.price {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: clamp(22px, 2.4vw, 30px);
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--white);
    box-shadow: 0 24px 60px -52px rgba(7, 31, 73, 0.5);
}

.price h3 {
    font-size: 18px;
    letter-spacing: -0.01em;
}

.price__amount {
    display: flex;
    align-items: baseline;
    gap: 7px;
    margin-top: 16px;
    font-family: var(--font-display);
    font-size: clamp(32px, 3.3vw, 41px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.035em;
}

.price__amount small {
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0;
    color: var(--muted);
}

.price__year {
    margin-top: 8px;
    font-size: 12.5px;
    color: var(--muted-light);
}

.price ul {
    display: grid;
    gap: 9px;
    margin: 22px 0 26px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    list-style: none;
    font-size: 13.5px;
    line-height: 1.5;
}

.price ul li {
    display: grid;
    grid-template-columns: 15px 1fr;
    gap: 9px;
    align-items: start;
}

.price ul li::before {
    content: "✓";
    margin-top: 2px;
    font-size: 9.5px;
    font-weight: 700;
    line-height: 1.7;
    color: var(--emerald-ink);
}

.price .btn {
    margin-top: auto;
}

.price--featured {
    border-color: rgba(255, 255, 255, 0.1);
    background: linear-gradient(165deg, #08213f 0%, #04101f 75%);
    color: #ffffff;
    box-shadow: 0 40px 80px -44px rgba(4, 16, 31, 0.75);
    transform: translateY(-10px);
}

.price--featured .price__amount small,
.price--featured .price__year {
    color: rgba(255, 255, 255, 0.55);
}

.price--featured ul {
    border-top-color: rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.85);
}

.price--featured ul li::before {
    color: var(--emerald-bright);
}

.price__flag {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--emerald);
    color: var(--navy-950);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.pricing-note {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 20px 36px;
    margin-top: clamp(26px, 3vw, 36px);
    padding-top: 22px;
    border-top: 1px solid var(--line);
    font-size: 12.5px;
    line-height: 1.7;
    color: var(--muted);
}

.pricing-note strong {
    color: var(--ink);
    font-weight: 600;
}

/* 18. FAQ ----------------------------------------------------------------- */

.faq {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
    align-items: start;
    gap: clamp(32px, 5vw, 72px);
}

.faq .section-head {
    position: sticky;
    top: calc(var(--header-h) + 26px);
}

.faq__list {
    border-top: 1px solid var(--line);
}

.faq__aside {
    margin-top: 22px;
    font-size: 13px;
    line-height: 1.6;
    color: var(--muted);
}

.faq__aside a {
    color: var(--ink);
    font-weight: 600;
    border-bottom: 1px solid rgba(7, 31, 73, 0.22);
    padding-bottom: 1px;
    transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.faq__aside a:hover {
    color: var(--emerald-ink);
    border-color: var(--emerald);
}

.faq details {
    border-bottom: 1px solid var(--line);
}

.faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 0;
    list-style: none;
    font-family: var(--font-display);
    font-size: 15.5px;
    font-weight: 700;
    letter-spacing: -0.015em;
    text-wrap: pretty;
    cursor: pointer;
    transition: color 0.2s var(--ease);
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary:hover {
    color: var(--blue-deep);
}

.faq summary::after {
    content: "";
    flex: none;
    width: 9px;
    height: 9px;
    margin-right: 6px;
    border-right: 1.5px solid var(--muted);
    border-bottom: 1.5px solid var(--muted);
    transform: rotate(45deg);
    transition: transform 0.25s var(--ease);
}

.faq details[open] summary::after {
    transform: rotate(-135deg);
}

.faq details p {
    max-width: 68ch;
    padding: 0 40px 22px 0;
    font-size: 14px;
    line-height: 1.75;
    color: var(--muted);
    animation: fadeUp 0.3s var(--ease);
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

/* 19. Démonstration ------------------------------------------------------- */

.demo {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
    gap: clamp(32px, 5vw, 72px);
}

.demo__copy > p {
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.66);
    max-width: 46ch;
}

.demo__points {
    display: grid;
    gap: 10px;
    margin-top: 26px;
    list-style: none;
}

.demo__points li {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 10px;
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.8);
}

.demo__points li::before {
    content: "✓";
    color: var(--emerald-bright);
    font-weight: 700;
    font-size: 10px;
    line-height: 2;
}

.demo-form {
    padding: clamp(20px, 2.6vw, 32px);
    border-radius: 20px;
    background: var(--white);
    color: var(--ink);
    box-shadow: 0 50px 90px -40px rgba(0, 0, 0, 0.7);
}

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
    min-width: 0;
}

.field label {
    font-size: 11.5px;
    font-weight: 600;
    color: #33445c;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid #dbe3ee;
    border-radius: 9px;
    background: #fbfcfe;
    font-family: inherit;
    font-size: 14px;
    color: var(--ink);
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s var(--ease);
}

.field input::placeholder,
.field textarea::placeholder {
    color: #9aa8ba;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
    border-color: #c3d0e2;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: 0;
    border-color: var(--blue);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(8, 127, 232, 0.14);
}

.field select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 34px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%235f6f86' stroke-width='1.6' d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
}

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

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
    border-color: #e0526a;
    background: #fff7f8;
}

.field-error {
    display: block;
    font-size: 11.5px;
    line-height: 1.4;
    color: #c92a48;
}

.consent {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 10px;
    align-items: start;
    margin: 2px 0 16px;
    font-size: 12.5px;
    line-height: 1.55;
    color: var(--muted);
    cursor: pointer;
}

.consent input {
    width: 17px;
    height: 17px;
    margin: 1px 0 0;
    accent-color: var(--emerald-ink);
}

.consent.has-error {
    color: #c92a48;
}

.consent .field-error {
    grid-column: 2;
}

.form-note {
    margin-top: 10px;
    font-size: 11.5px;
    text-align: center;
    color: var(--muted-light);
}

.form-success {
    margin-top: 14px;
    padding: 12px 14px;
    border: 1px solid #b7e8ce;
    border-radius: 10px;
    background: var(--emerald-soft);
    font-size: 13px;
    line-height: 1.5;
    color: #065c36;
    animation: fadeUp 0.35s var(--ease);
}

/* 20. Footer -------------------------------------------------------------- */

.footer {
    padding: clamp(48px, 6vw, 72px) 0 0;
    background: var(--paper);
    border-top: 1px solid var(--line);
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.6fr repeat(3, 1fr);
    gap: clamp(24px, 3vw, 48px);
}

.footer__brand img {
    height: 32px;
    width: auto;
    margin-bottom: 16px;
}

.footer__brand p {
    max-width: 36ch;
    font-size: 13px;
    line-height: 1.7;
    color: var(--muted);
}

.footer h3 {
    margin: 4px 0 12px;
    font-family: var(--font-sans);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--ink);
}

.footer__grid a {
    display: block;
    padding: 5px 0;
    font-size: 13.5px;
    color: var(--muted);
    transition: color 0.2s var(--ease);
}

.footer__grid a:hover {
    color: var(--emerald-ink);
}

.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin-top: clamp(32px, 4vw, 48px);
    padding: 20px 0 24px;
    border-top: 1px solid var(--line);
    font-size: 12px;
    color: var(--muted-light);
}

.footer__bottom nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
}

.footer__bottom a:hover {
    color: var(--ink);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* 21. Révélation au scroll ------------------------------------------------ */

[data-reveal] {
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease-out);
}

[data-reveal].is-pending {
    opacity: 0;
    transform: translateY(16px);
}

/* Les captures d'écran et l'impression ne doivent jamais masquer de contenu. */
@media print {
    [data-reveal],
    [data-reveal].is-pending {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* 22. Responsive ---------------------------------------------------------- */

@media (max-width: 1180px) {
    .context-card--two {
        right: -14px;
    }

    .context-card--one {
        left: -14px;
    }
}

@media (max-width: 1120px) {
    .main-nav {
        display: none;
    }

    .burger {
        display: flex;
    }

    .header-actions {
        margin-left: auto;
    }

    .tour {
        grid-template-columns: 240px minmax(0, 1fr);
    }

    .context {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
        gap: 40px;
    }
}

@media (max-width: 980px) {
    .pricing {
        grid-template-columns: minmax(0, 1fr);
        max-width: 520px;
        margin-inline: auto;
    }

    .price--featured {
        transform: none;
    }

    .price--featured:hover {
        transform: none;
    }

    .pricing-note {
        grid-template-columns: 1fr;
        max-width: 640px;
    }
}

@media (max-width: 900px) {
    .hero__lede {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 22px;
    }

    .hero__cta {
        width: 100%;
    }

    .hero__showcase {
        margin-top: 34px;
    }

    .float-card {
        display: none;
    }

    .pillar,
    .pillar--reverse {
        grid-template-columns: 1fr;
        grid-template-areas:
            "idx"
            "copy"
            "shot";
        gap: 16px;
        padding: 28px 0 34px;
    }

    .pillar__index {
        flex-direction: row;
        align-items: center;
        gap: 12px;
    }

    .pillar__index::after {
        width: 22px;
        height: 1px;
    }

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

    .tour__nav {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 3px;
        padding: 4px;
        border: 0;
        border-radius: 12px;
        background: var(--paper);
        overflow: visible;
    }

    .tour__tab {
        display: flex;
        align-items: center;
        gap: 7px;
        margin-left: 0;
        padding: 11px 10px;
        border: 0;
        border-radius: 7px;
        white-space: nowrap;
        overflow: hidden;
    }

    .tour__tab span {
        padding-top: 0;
        flex: none;
    }

    .tour__tab strong {
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 13.5px;
    }

    .tour__tab small {
        display: none;
    }

    .tour__tab.is-active {
        background: var(--white);
        box-shadow: inset 0 -2px 0 var(--emerald), 0 2px 8px -4px rgba(7, 31, 73, 0.4);
    }

    .tour__copy {
        grid-template-columns: 1fr;
        padding: 18px 6px 4px;
    }

    .tour__copy ul {
        grid-column: 1;
        grid-row: auto;
        margin-top: 16px;
        padding-top: 14px;
        padding-left: 0;
        border-left: 0;
        border-top: 1px solid var(--line);
    }

    .dark-head {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .dark-head p {
        padding-left: 16px;
        border-left-color: rgba(255, 255, 255, 0.16);
    }

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

    .analytics__visual {
        aspect-ratio: 16 / 10;
        min-height: 0;
    }

    .analytics__cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .context {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .context__visual {
        display: grid;
        gap: 10px;
        padding-bottom: 0;
    }

    .context-card {
        position: static;
        max-width: none;
        background: var(--paper);
        box-shadow: none;
    }

    .context-card--two,
    .context-card--three {
        right: auto;
        bottom: auto;
        left: auto;
    }

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

    .planning__map img {
        aspect-ratio: 16 / 10;
    }

    .mobile-section {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .phones {
        max-width: 560px;
        margin-inline: auto;
    }

    .roles__panel {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .roles__visual {
        order: -1;
    }

    .tenant {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .tenant__diagram {
        order: 2;
    }

    .faq {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .faq .section-head {
        position: static;
    }

    .demo {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 720px) {
    .analytics__cards {
        grid-template-columns: 1fr;
    }

    .download-banner {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 14px 16px;
        padding: 16px 18px;
    }

    .download-banner__btn {
        grid-column: 1 / -1;
        width: 100%;
    }

    .download-banner__note {
        font-size: 11px;
        color: rgba(255, 255, 255, 0.58);
    }

    .stat {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: baseline;
        justify-content: flex-start;
        gap: 0 14px;
    }

    .stat strong {
        margin-top: 0;
    }

    .stat p {
        flex-basis: 100%;
    }

    .roles__tabs {
        width: 100%;
        overflow-x: auto;
        flex-wrap: nowrap;
        scrollbar-width: none;
    }

    .roles__tabs::-webkit-scrollbar {
        display: none;
    }

    /* Cartes tarifs : bénéfices en deux colonnes pour raccourcir */
    .price ul {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    :root {
        --header-h: 66px;
    }

    .brand img {
        height: 26px;
    }

    .header-actions .btn--sm {
        display: none;
    }

    .nav-login {
        display: none;
    }

    .header-actions {
        gap: 0;
    }

    h1 {
        letter-spacing: -0.03em;
    }

    .hero__points {
        gap: 7px 16px;
        font-size: 11.5px;
    }

    .hero__actions {
        width: 100%;
    }

    .hero__actions .btn {
        flex: 1 1 auto;
        justify-content: center;
    }

    .browser {
        border-radius: 12px;
    }

    .browser__bar {
        height: 30px;
        padding: 0 10px;
    }

    .browser__url {
        font-size: 10px;
        padding: 2px 9px;
    }

    .browser__dot {
        width: 6px;
        height: 6px;
    }

    .trust__grid {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .trust ul {
        gap: 7px 16px;
        font-size: 11.5px;
    }

    .phones {
        padding: 8px 0;
    }

    .phone {
        width: 37%;
        border-width: 3px;
        border-radius: 16px;
    }

    .phone--back {
        margin-right: -6%;
        transform: translateY(8px) rotate(-6deg) scale(0.94);
    }

    .phone--side {
        margin-left: -6%;
        transform: translateY(11px) rotate(6deg) scale(0.95);
    }

    .field-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .footer__bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .planning figcaption {
        font-size: 11.5px;
    }

    .context__steps li {
        font-size: 13.5px;
    }

    .mobile-section__actions .btn {
        width: 100%;
        justify-content: center;
    }

    .roles__tabs {
        flex-wrap: wrap;
        overflow: visible;
    }

    .roles__tab {
        flex: 1 1 calc(50% - 4px);
        padding: 10px 8px;
        text-align: center;
        font-size: 12.5px;
    }

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

    .tour__tab span {
        display: none;
    }

    .tour__tab {
        padding: 11px 12px;
    }
}

@media (max-width: 430px) {
    .section {
        padding: 64px 0;
    }

    .tour__panel {
        border-radius: 16px;
    }

    .roles__panel {
        padding: 20px;
    }

    .price__flag {
        position: static;
    }

    .price__flag {
        display: inline-block;
        margin-bottom: 10px;
    }

    .price h3 {
        display: inline-block;
        margin-right: 8px;
    }

    .demo-form {
        padding: 18px;
    }
}

/* 23. Accessibilité — mouvement réduit ------------------------------------ */

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

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

    [data-reveal],
    [data-reveal].is-pending {
        opacity: 1 !important;
        transform: none !important;
    }

    .phone,
    .phone:hover {
        transform: none !important;
    }
}

/* --------------------------------------------------------------------------
   Intégration Laravel — éléments propres au site (absents de la maquette)
   -------------------------------------------------------------------------- */

.hp-field {
    position: absolute !important;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-alert {
    margin-bottom: 16px;
    padding: 11px 14px;
    border: 1px solid #f0c2cb;
    border-radius: 10px;
    background: #fff5f7;
    color: #a51f3b;
    font-size: 12.5px;
    line-height: 1.5;
}

.demo-form .form-success {
    margin: 0 0 16px;
}

.consent a {
    color: var(--emerald-ink);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.consent-error {
    display: block;
    margin: -8px 0 14px;
}

.cookie-bar {
    position: fixed;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    z-index: 120;
    display: flex;
    align-items: center;
    gap: 18px;
    width: min(720px, calc(100vw - 32px));
    padding: 14px 18px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #ffffff;
    color: var(--ink);
    box-shadow: 0 24px 60px -20px rgba(4, 16, 31, 0.45);
}

.cookie-bar[hidden] {
    display: none;
}

.cookie-bar p {
    margin: 0;
    font-size: 12.5px;
    line-height: 1.55;
    color: var(--muted);
}

.cookie-bar a {
    color: var(--ink);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-bar__actions {
    display: flex;
    gap: 8px;
    flex: none;
}

@media (max-width: 620px) {
    .cookie-bar {
        flex-direction: column;
        align-items: stretch;
        bottom: 12px;
        padding: 14px;
    }

    .cookie-bar__actions .btn {
        flex: 1;
    }
}

/* 21. Pages contact et légales ------------------------------------------- */

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(24px, 4vw, 56px);
    align-items: start;
}

.contact-info {
    display: grid;
    gap: 12px;
    margin-top: 26px;
}

.contact-info__item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--muted);
}

.contact-info__item > svg,
.contact-info__item > span:first-child {
    flex: none;
    margin-top: 2px;
    color: var(--emerald-ink);
}

.contact-info__item a {
    color: var(--emerald-ink);
    font-weight: 600;
    text-decoration: none;
}

.contact-info__item a:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.contact-panel {
    padding: clamp(20px, 3vw, 32px);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.contact-panel .demo-form {
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

.legal-page {
    max-width: 820px;
}

.legal-page h2 {
    margin: 30px 0 10px;
    font-size: clamp(19px, 2vw, 24px);
    line-height: 1.3;
    color: var(--ink);
}

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

.legal-page p,
.legal-page li {
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 1.75;
    color: var(--muted);
}

.legal-page a {
    color: var(--emerald-ink);
    font-weight: 600;
    text-decoration: none;
}

.legal-page a:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-page table {
    width: 100%;
    margin: 8px 0 18px;
    border-collapse: collapse;
    font-size: 13px;
}

.legal-page th,
.legal-page td {
    padding: 9px 10px;
    border: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
    color: var(--muted);
}

.legal-page th {
    background: var(--paper);
    color: var(--ink);
    font-weight: 600;
}

.legal-page code {
    padding: 1px 5px;
    border-radius: 5px;
    background: var(--paper-2);
    font-size: 12px;
    color: var(--ink);
}

.legal-page .note {
    margin-top: 26px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--paper);
    color: var(--muted);
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}
