/* LIHA — site vitrine v4 : la v3 en version visuelle (schémas et pictogrammes).
   Identité du site actuel : noir / blanc / accent #0066FF, police système
   en graisses fines, angles droits, bordures 1px, ombre décalée bleue au survol. */

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

:root {
    --accent: #0066FF;
    --accent-ink: #0052CC;
    --accent-soft: #EEF4FF;
    --accent-line: #C9DBFF;
    --accent-on-ink: #6EA4FF;
    --ok: #0F7B3F;
    --no: #B42318;
    --text-primary: #0A0A0A;
    --text-secondary: #5C5C5C;
    --text-muted: #8A8A8A;
    --bg: #FFFFFF;
    --bg-soft: #FAFAFA;
    --border: #E5E5E5;
    --dash: #C8C8C8;
    --ink: #0A0A0A;
    --on-ink: #FFFFFF;
    --on-ink-2: #A3A3A3;
    --on-ink-line: rgba(255, 255, 255, 0.18);
    --gutter: 24px;
    --section: 120px;
    --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, Roboto, 'Helvetica Neue', Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg);
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: inherit;
}

strong,
b {
    font-weight: 500;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--gutter);
}

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

.skip-link {
    position: absolute;
    left: -9999px;
    top: 8px;
    background: var(--ink);
    color: var(--on-ink);
    padding: 8px 16px;
    z-index: 100;
}

.skip-link:focus {
    left: 8px;
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

/* Pictogrammes (sprite Lucide, site/icons.svg) */
.ico {
    width: 24px;
    height: 24px;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ---------- Typographie ---------- */

h1 {
    font-size: clamp(42px, 6.6vw, 84px);
    font-weight: 200;
    line-height: 1.04;
    letter-spacing: -0.035em;
}

h2 {
    font-size: clamp(32px, 4.2vw, 52px);
    font-weight: 200;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

h3 {
    font-size: 19px;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 18px;
}

.lead {
    font-size: clamp(19px, 1.7vw, 22px);
    line-height: 1.5;
    color: var(--text-secondary);
}

.accent-text {
    position: relative;
    display: inline-block;
}

.accent-text::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0.04em;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.tag {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 3px 8px;
    border: 1px solid var(--border);
    color: var(--text-secondary);
}

.visual-caption {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    color: var(--text-secondary);
}

.visual-caption .ico {
    color: var(--accent);
    width: 20px;
    height: 20px;
    margin-top: 2px;
}

.person {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent-ink);
}

.person .ico {
    width: 20px;
    height: 20px;
}

/* ---------- Boutons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font: inherit;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.3;
    text-decoration: none;
    padding: 16px 28px;
    border: 1px solid var(--text-primary);
    background: var(--bg);
    color: var(--text-primary);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover {
    box-shadow: 3px 3px 0 var(--accent);
    transform: translate(-2px, -2px);
}

.btn--primary {
    background: var(--ink);
    color: var(--on-ink);
}

.btn--on-ink {
    background: var(--on-ink);
    color: var(--ink);
    border-color: var(--on-ink);
}

.btn--ghost-on-ink {
    background: transparent;
    color: var(--on-ink);
    border-color: rgba(255, 255, 255, 0.45);
}

.ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

/* ---------- En-tête ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(160%) blur(12px);
    -webkit-backdrop-filter: saturate(160%) blur(12px);
    border-bottom: 1px solid var(--border);
}

.site-header nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 72px;
}

.logo {
    font-size: 26px;
    font-weight: 200;
    letter-spacing: -0.5px;
    text-decoration: none;
    color: var(--text-primary);
}

.nav-anchors {
    display: flex;
    gap: 28px;
    list-style: none;
    margin-left: auto;
    margin-right: 12px;
}

.nav-anchors a {
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
}

.nav-anchors a:hover {
    color: var(--text-primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.login-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-size: 14px;
    padding: 8px 18px;
    border: 1px solid var(--text-primary);
    white-space: nowrap;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.nav-link:hover {
    box-shadow: 2px 2px 0 var(--accent);
    transform: translate(-1px, -1px);
}

.nav-link--primary {
    background: var(--ink);
    color: var(--on-ink);
}

.forgot-password-link {
    font-size: 11px;
    color: var(--text-muted);
    text-decoration: none;
}

.forgot-password-link:hover {
    color: var(--accent);
    text-decoration: underline;
}

/* ---------- Hero ---------- */

.hero {
    padding: 104px 0 88px;
    text-align: center;
}

.hero h1 {
    max-width: 980px;
    margin: 0 auto 28px;
}

.hero .lead {
    max-width: 720px;
    margin: 0 auto 40px;
    color: var(--text-primary);
}

.hero .ctas {
    justify-content: center;
    margin-bottom: 20px;
}

.price-hint {
    font-size: 14px;
    color: var(--text-secondary);
}

.price-hint a {
    color: var(--accent-ink);
    text-decoration: none;
    border-bottom: 1px solid var(--accent-line);
}

/* Schéma du hero : les IA → LIHA → votre entreprise */
.hero-flow {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) 72px minmax(0, 1fr) 72px minmax(0, 1fr);
    align-items: center;
    margin-top: 72px;
    text-align: left;
}

.hf-col {
    border: 1px solid var(--border);
    background: var(--bg);
    padding: 24px;
    min-height: 236px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hf-label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.chip-cloud {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chip-cloud li {
    font-size: 14px;
    font-weight: 400;
    padding: 6px 12px;
    border: 1px solid var(--border);
    background: var(--bg-soft);
}

.chip-cloud li.more {
    border-style: dashed;
    background: transparent;
    color: var(--text-muted);
}

.hf-link {
    position: relative;
    height: 2px;
    margin: 0 8px;
}

.hf-link span {
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(90deg, var(--accent) 0 6px, transparent 6px 12px);
    background-size: 24px 2px;
    animation: hf-flow 1.2s linear infinite;
}

.hf-link::after {
    content: '';
    position: absolute;
    right: -2px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-top: 2px solid var(--accent);
    border-right: 2px solid var(--accent);
    transform: translateY(-50%) rotate(45deg);
}

@keyframes hf-flow {
    to {
        background-position: 24px 0;
    }
}

.hf-liha {
    background: var(--ink);
    color: var(--on-ink);
    border-color: var(--ink);
}

.hf-logo {
    font-size: 36px;
    font-weight: 200;
    letter-spacing: -0.5px;
    line-height: 1;
    margin-bottom: 20px;
}

.hf-verbs {
    list-style: none;
    display: grid;
    gap: 12px;
}

.hf-verbs li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 17px;
    font-weight: 400;
}

.hf-verbs .ico {
    color: var(--accent-on-ink);
}

.people {
    display: grid;
    grid-template-columns: repeat(3, 40px);
    gap: 10px;
    margin-bottom: 18px;
}

.gain-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    font-size: 14px;
    font-weight: 400;
    padding: 7px 12px;
    border: 1px solid var(--accent-line);
    background: var(--accent-soft);
    color: var(--accent-ink);
}

.gain-chip .ico {
    width: 18px;
    height: 18px;
}

/* ---------- Synthèse des 4 bénéfices ---------- */

.overview {
    padding-bottom: 112px;
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--border);
}

.ov-card {
    display: flex;
    flex-direction: column;
    padding: 30px 26px 30px;
    border-right: 1px solid var(--border);
    text-decoration: none;
    color: inherit;
    transition: background 0.25s ease;
}

.ov-card:last-child {
    border-right: 0;
}

.ov-card:hover {
    background: var(--bg-soft);
}

.ov-ico {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    background: var(--accent-soft);
    color: var(--accent);
    margin-bottom: 22px;
}

.ov-ico .ico {
    width: 26px;
    height: 26px;
}

.ov-num {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.ov-card h3 {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 6px;
}

.ov-card p {
    font-size: 15px;
    color: var(--text-secondary);
}

.ov-card:hover h3 {
    color: var(--accent-ink);
}

/* ---------- Sections bénéfices ---------- */

.benefit {
    padding: var(--section) 0;
    border-top: 1px solid var(--border);
}

.benefit--soft {
    background: var(--bg-soft);
}

.benefit--ink {
    background: var(--ink);
    color: var(--on-ink);
    border-top: 0;
}

.benefit-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 80px;
    align-items: center;
}

.benefit-grid--reverse {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}

.benefit-grid--reverse .benefit-text {
    order: 2;
}

.benefit-num {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: var(--accent);
    margin-bottom: 18px;
}

.benefit--ink .benefit-num {
    color: var(--accent-on-ink);
}

.benefit-text h2 {
    margin-bottom: 20px;
}

.benefit-text .lead {
    color: var(--text-primary);
    font-weight: 400;
}

.benefit--ink .benefit-text .lead {
    color: var(--on-ink);
}

/* Citation « Pour le dirigeant » */
.ceo-quote {
    margin-top: 32px;
    padding: 22px 26px;
    border-left: 2px solid var(--accent);
    background: var(--accent-soft);
}

.ceo-quote .ceo-label {
    display: block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-ink);
    margin-bottom: 8px;
}

.ceo-quote p {
    font-size: 19px;
    font-weight: 300;
    line-height: 1.45;
    color: var(--text-primary);
}

.benefit--ink .ceo-quote {
    background: rgba(110, 164, 255, 0.1);
    border-left-color: var(--accent-on-ink);
}

.benefit--ink .ceo-quote .ceo-label {
    color: var(--accent-on-ink);
}

.benefit--ink .ceo-quote p {
    color: var(--on-ink);
}

/* Visuel 1 : la question qui ne se pose plus, et les modèles */
.b1-visual {
    display: grid;
    gap: 22px;
}

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

.bubble {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    font-size: 17px;
    max-width: max-content;
}

.bubble--q {
    border: 1px dashed var(--dash);
    color: var(--text-muted);
    font-style: italic;
}

.bubble--q s {
    text-decoration-color: rgba(10, 10, 10, 0.45);
}

.bubble--a {
    align-self: flex-end;
    background: var(--ink);
    color: var(--on-ink);
    font-weight: 400;
}

.bubble--a .ico {
    color: var(--accent-on-ink);
}

/* Captures réelles d'app.liha.fr, dans un cadre de navigateur */
.shot {
    border: 1px solid var(--border);
    background: var(--bg);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.shot-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    border-bottom: 1px solid var(--border);
    background: var(--bg-soft);
}

.shot-bar span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #DADADA;
}

.shot-bar em {
    margin-left: 10px;
    font-style: normal;
    font-size: 12px;
    color: var(--text-muted);
}

.shot img {
    display: block;
    width: 100%;
    height: auto;
}

.shot--picker {
    width: 100%;
    max-width: 400px;
    justify-self: end;
}

.proof {
    margin-top: 64px;
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr);
    gap: 56px;
    align-items: center;
}

.proof--reverse {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr);
}

.proof--reverse .shot {
    order: 2;
}

.proof-title {
    font-size: clamp(22px, 2.4vw, 30px);
    font-weight: 200;
    letter-spacing: -0.02em;
    line-height: 1.25;
    margin-bottom: 10px;
}

.proof figcaption > p:last-child {
    font-size: 16px;
    color: var(--text-secondary);
}

/* Sous-bloc Ferrari */
.ferrari {
    margin-top: 104px;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    border: 1px solid var(--text-primary);
}

.ferrari-head {
    padding: 44px 40px;
    border-right: 1px solid var(--text-primary);
}

.ferrari-icons {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 4px 0 24px;
}

.fi {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent);
}

.fi .ico {
    width: 30px;
    height: 30px;
}

.fi--car {
    background: var(--ink);
    color: var(--on-ink);
}

.fi-neq {
    font-size: 30px;
    font-weight: 200;
    color: var(--text-muted);
}

.ferrari-line {
    font-size: clamp(26px, 2.8vw, 36px);
    font-weight: 200;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.ferrari-body {
    padding: 36px 40px;
}

.power-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
}

.power-table thead th {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
    text-align: left;
    padding: 0 0 12px;
}

.power-table tbody th,
.power-table tbody td {
    padding: 16px 0;
    border-top: 1px solid var(--border);
    vertical-align: middle;
}

.power-table tbody tr:last-child th,
.power-table tbody tr:last-child td {
    border-bottom: 1px solid var(--border);
}

.power-table tbody th {
    font-size: 16px;
    font-weight: 400;
    text-align: left;
}

.power-table tbody th .ico {
    width: 20px;
    height: 20px;
    color: var(--accent);
    vertical-align: -4px;
    margin-right: 12px;
}

.power-table .cost {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: var(--accent-ink);
}

.meter {
    display: inline-flex;
    gap: 3px;
}

.meter i {
    display: block;
    width: 24px;
    height: 6px;
    background: var(--accent-soft);
}

.meter i.on {
    background: var(--accent);
}

.result {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 17px;
}

.result .ico {
    color: var(--accent);
    margin-top: 1px;
}

/* Visuel 2 : chacun dans son coin / un seul environnement */
.ba2 {
    display: grid;
    gap: 14px;
}

.ba2-panel {
    border: 1px solid var(--border);
    background: var(--bg);
    padding: 22px 24px;
}

.ba-label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.silos {
    list-style: none;
    display: grid;
    gap: 8px;
}

.silos li {
    display: grid;
    grid-template-columns: 118px minmax(24px, 1fr) auto 44px;
    align-items: center;
    gap: 10px;
}

.silos .who {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
}

.silos .who .ico {
    width: 18px;
    height: 18px;
    color: var(--text-muted);
}

.silos .dash {
    border-top: 1px dashed var(--dash);
}

.silos .tool {
    font-size: 13px;
    padding: 4px 10px;
    border: 1px dashed var(--dash);
    color: var(--text-secondary);
    white-space: nowrap;
}

.silos .cost-q {
    font-size: 13px;
    font-weight: 500;
    color: var(--no);
    text-align: right;
}

.ba2-q {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    font-size: 14px;
    color: var(--text-muted);
}

.ba2-q .ico {
    width: 18px;
    height: 18px;
}

.ba2-after {
    border-color: var(--text-primary);
}

.ba2-after .ba-label {
    color: var(--accent);
}

.hub-people {
    display: flex;
    justify-content: space-around;
}

.hub-lines {
    display: block;
    width: 100%;
    height: 40px;
}

.hub-lines path {
    fill: none;
    stroke: var(--accent);
    stroke-width: 1.5;
    vector-effect: non-scaling-stroke;
}

.hub-liha {
    background: var(--ink);
    color: var(--on-ink);
    text-align: center;
    padding: 12px;
    font-size: 24px;
    font-weight: 200;
    line-height: 1.1;
}

.hub-liha small {
    display: block;
    font-size: 12px;
    color: var(--on-ink-2);
    letter-spacing: 0.04em;
    margin-top: 2px;
}

.know3 {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 12px;
    border: 1px solid var(--border);
}

.know3 li {
    padding: 12px 14px;
    font-size: 13px;
    color: var(--text-secondary);
    border-right: 1px solid var(--border);
}

.know3 li:last-child {
    border-right: 0;
}

.know3 .ico {
    display: block;
    width: 22px;
    height: 22px;
    color: var(--accent);
    margin-bottom: 6px;
}

.know3 b {
    display: block;
    font-size: 16px;
    color: var(--text-primary);
}

/* Visuel 3 : le panneau de contrôle */
.control {
    border: 1px solid var(--border);
    background: var(--bg);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.06);
}

.control-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 16px 22px;
    border-bottom: 1px solid var(--border);
}

.control-team {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 400;
}

.control-team .ico {
    color: var(--text-muted);
}

.control-row {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 16px;
    align-items: center;
    padding: 18px 22px;
    border-bottom: 1px solid var(--border);
}

.control-ico {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    background: var(--accent-soft);
    color: var(--accent);
}

.control-q {
    display: block;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    padding: 4px 10px;
    border: 1px solid var(--border);
}

.chip--on::before {
    content: '✓';
    color: var(--ok);
    font-weight: 500;
}

.chip--off {
    color: var(--text-muted);
    text-decoration: line-through;
}

.chip--off::before {
    content: '✕';
    color: var(--no);
    display: inline-block;
}

.control-private {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 22px;
    background: var(--ink);
    color: var(--on-ink);
    font-size: 15px;
    font-weight: 400;
}

.control-private .ico {
    color: var(--accent-on-ink);
}

/* Visuel 4 : la boucle usage → automatisation → temps gagné */
.loop {
    position: relative;
    aspect-ratio: 600 / 400;
}

.loop-ring {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.loop-arc {
    fill: none;
    stroke: var(--accent-on-ink);
    stroke-width: 2;
    stroke-dasharray: 6 7;
    animation: loop-flow 1.4s linear infinite;
}

@keyframes loop-flow {
    to {
        stroke-dashoffset: -26;
    }
}

.loop-node {
    position: absolute;
    width: 60px;
    height: 60px;
    transform: translate(-50%, -50%);
}

.loop-node--1 {
    left: 50%;
    top: 20%;
}

.loop-node--2 {
    left: 71.67%;
    top: 76.25%;
}

.loop-node--3 {
    left: 28.33%;
    top: 76.25%;
}

.loop-ico {
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--on-ink);
    color: var(--ink);
}

.loop-ico .ico {
    width: 26px;
    height: 26px;
}

.loop-ico--gain {
    background: var(--accent);
    color: var(--on-ink);
}

.loop-label {
    position: absolute;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.3;
    color: var(--on-ink);
}

.loop-node--1 .loop-label {
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    width: 260px;
    text-align: center;
}

.loop-node--2 .loop-label {
    top: calc(100% + 10px);
    left: 10px;
    width: 150px;
}

.loop-node--3 .loop-label {
    top: calc(100% + 10px);
    right: 10px;
    width: 150px;
    text-align: right;
}

.loop-center {
    position: absolute;
    left: 50%;
    top: 57.5%;
    transform: translate(-50%, -50%);
    width: 170px;
    text-align: center;
    font-size: 14px;
    color: var(--on-ink-2);
}

.loop-center .ico {
    display: block;
    width: 32px;
    height: 32px;
    margin: 0 auto 8px;
    color: var(--accent-on-ink);
}

/* ---------- Tarif ---------- */

.pricing {
    padding: var(--section) 0;
    background: var(--bg-soft);
    border-top: 1px solid var(--border);
}

.pricing-head {
    text-align: center;
    margin-bottom: 56px;
}

.price-card {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    border: 2px solid var(--text-primary);
    background: var(--bg);
}

.price-top {
    padding: 48px 44px;
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}

.price {
    font-size: clamp(64px, 7vw, 96px);
    font-weight: 200;
    letter-spacing: -0.04em;
    line-height: 1;
}

.price small {
    font-size: 0.32em;
    letter-spacing: 0;
    color: var(--text-secondary);
}

.price-unit {
    margin-top: 10px;
    font-size: 16px;
    color: var(--text-secondary);
}

.price-pitch {
    margin: 28px 0 32px;
    font-size: 20px;
    line-height: 1.45;
    flex: 1;
}

.price-top .ctas {
    flex-direction: column;
}

.features {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.features li {
    padding: 26px 28px;
    border-bottom: 1px solid var(--border);
}

.features li:nth-child(odd) {
    border-right: 1px solid var(--border);
}

.features li:nth-last-child(-n+2) {
    border-bottom: 0;
}

.f-ico {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    background: var(--accent-soft);
    color: var(--accent);
    margin-bottom: 14px;
}

.f-ico .ico {
    width: 22px;
    height: 22px;
}

.features h3 {
    font-size: 17px;
    margin-bottom: 4px;
}

.features p {
    font-size: 14px;
    color: var(--text-secondary);
}

.surtout {
    max-width: 900px;
    margin: 72px auto 0;
    text-align: center;
    font-size: clamp(24px, 2.8vw, 34px);
    font-weight: 200;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.surtout .label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}

/* ---------- Clôture ---------- */

.closing {
    padding: 128px 0 112px;
    background: var(--ink);
    color: var(--on-ink);
    text-align: center;
}

.closing h2 {
    font-size: clamp(38px, 5.4vw, 68px);
    max-width: 900px;
    margin: 0 auto 40px;
}

.recap {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 340px));
    justify-content: center;
    gap: 12px;
    margin: 0 auto 48px;
}

.recap li {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border: 1px solid var(--on-ink-line);
    font-size: 16px;
    font-weight: 400;
}

.recap .ico {
    color: var(--accent-on-ink);
    width: 22px;
    height: 22px;
}

.closing .ctas {
    justify-content: center;
    margin-bottom: 28px;
}

.contact-line {
    font-size: 15px;
    color: var(--on-ink-2);
}

.contact-line a {
    color: var(--on-ink);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

/* ---------- Pied de page ---------- */

footer {
    padding: 72px 0 40px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
}

.footer-brand .logo {
    display: inline-block;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 15px;
    color: var(--text-secondary);
}

.footer-col h4 {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.footer-col ul {
    list-style: none;
    display: grid;
    gap: 10px;
}

.footer-link {
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
}

.footer-link:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 26px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 24px;
    font-size: 13px;
    color: var(--text-muted);
}

.footer-bottom .legal {
    display: flex;
    gap: 20px;
}

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

    .btn,
    .nav-link,
    .ov-card {
        transition: none;
    }

    .hf-link span,
    .loop-arc {
        animation: none;
    }
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
    .overview-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ov-card:nth-child(2) {
        border-right: 0;
    }

    .ov-card:nth-child(-n+2) {
        border-bottom: 1px solid var(--border);
    }

    .hero-flow {
        grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr) 48px minmax(0, 1fr);
    }
}

@media (max-width: 960px) {
    :root {
        --section: 88px;
    }

    .nav-anchors {
        display: none;
    }

    .benefit-grid,
    .benefit-grid--reverse,
    .ferrari,
    .price-card,
    .proof {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .proof {
        gap: 24px;
    }

    .proof--reverse .shot {
        order: 0;
    }

    .ferrari,
    .price-card {
        gap: 0;
    }

    .benefit-grid--reverse .benefit-text {
        order: 0;
    }

    .ferrari-head,
    .price-top {
        border-right: 0;
        border-bottom: 1px solid var(--text-primary);
    }

    .price-top {
        border-bottom-color: var(--border);
    }

    .price-top .ctas {
        flex-direction: row;
    }

    .hero-flow {
        grid-template-columns: 1fr;
        max-width: 460px;
        margin-left: auto;
        margin-right: auto;
    }

    .hf-col {
        min-height: 0;
    }

    .hf-link {
        width: 2px;
        height: 40px;
        margin: 6px auto;
    }

    .hf-link span {
        background-image: repeating-linear-gradient(180deg, var(--accent) 0 6px, transparent 6px 12px);
        background-size: 2px 24px;
        animation-name: hf-flow-down;
    }

    .hf-link::after {
        right: auto;
        left: 50%;
        top: auto;
        bottom: -2px;
        transform: translateX(-50%) rotate(135deg);
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@keyframes hf-flow-down {
    to {
        background-position: 0 24px;
    }
}

@media (max-width: 720px) {
    :root {
        --gutter: 20px;
        --section: 72px;
    }

    body {
        font-size: 16px;
    }

    .site-header nav {
        height: 64px;
        gap: 10px;
    }

    .forgot-password-link {
        display: none;
    }

    .nav-actions {
        gap: 8px;
    }

    .nav-link {
        padding: 7px 12px;
        font-size: 13px;
    }

    .hero {
        padding: 72px 0 64px;
    }

    .hero-flow {
        margin-top: 56px;
    }

    .hero .ctas,
    .closing .ctas,
    .price-top .ctas {
        flex-direction: column;
        align-items: stretch;
    }

    .overview {
        padding-bottom: 72px;
    }

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

    .ov-card,
    .ov-card:nth-child(2) {
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .ov-card:last-child {
        border-bottom: 0;
    }

    .ov-card {
        display: grid;
        grid-template-columns: 52px 1fr;
        column-gap: 16px;
        padding: 22px 20px;
    }

    .ov-ico {
        grid-row: 1 / span 3;
        margin-bottom: 0;
    }

    .shot--picker {
        justify-self: center;
    }

    .ferrari {
        margin-top: 72px;
    }

    .ferrari-head,
    .ferrari-body,
    .price-top {
        padding: 28px 22px;
    }

    .power-table thead th:nth-child(2) {
        width: 64px;
    }

    .power-table thead th:nth-child(3) {
        width: 48px;
    }

    .power-table thead th:nth-child(3),
    .power-table .cost {
        text-align: right;
    }

    .power-table tbody th {
        font-size: 15px;
        padding-right: 10px;
    }

    .power-table tbody th .ico {
        margin-right: 8px;
    }

    .power-table .meter i {
        width: 16px;
    }

    .silos li {
        grid-template-columns: 1fr auto 40px;
    }

    .silos .dash {
        display: none;
    }

    .know3 li {
        padding: 10px;
    }

    /* La boucle devient une liste verticale */
    .loop {
        aspect-ratio: auto;
        display: flex;
        flex-direction: column;
        gap: 26px;
    }

    .loop-ring {
        display: none;
    }

    .loop-node,
    .loop-center {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        width: auto;
        height: auto;
        display: flex;
        align-items: center;
        gap: 16px;
        text-align: left;
    }

    .loop-node .loop-label,
    .loop-node--1 .loop-label,
    .loop-node--2 .loop-label,
    .loop-node--3 .loop-label {
        position: static;
        transform: none;
        width: auto;
        text-align: left;
        font-size: 17px;
    }

    .loop-node--1 { order: 1; }
    .loop-node--2 { order: 2; }
    .loop-center { order: 3; }
    .loop-node--3 { order: 4; }

    .loop-center {
        color: var(--on-ink);
        font-size: 17px;
        font-weight: 400;
    }

    .loop-center .ico {
        width: 60px;
        height: 60px;
        padding: 14px;
        margin: 0;
        border: 1px solid var(--on-ink-line);
        border-radius: 50%;
    }

    .loop-node--2::before,
    .loop-center::before,
    .loop-node--3::before {
        content: '↓';
        position: absolute;
        left: 23px;
        top: -24px;
        color: var(--accent-on-ink);
        font-size: 16px;
    }

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

    .features li,
    .features li:nth-child(odd) {
        border-right: 0;
        padding: 22px;
    }

    .features li:nth-last-child(-n+2) {
        border-bottom: 1px solid var(--border);
    }

    .features li:last-child {
        border-bottom: 0;
    }

    .ceo-quote {
        padding: 18px 20px;
    }

    .ceo-quote p {
        font-size: 18px;
    }

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

    .closing {
        padding: 88px 0 80px;
    }

    .footer-bottom .legal {
        flex-direction: column;
        gap: 8px;
    }
}
