/* ==========================================================================
   Siteo — page d'accueil (index.php)
   Feuille dédiée : css/index.css reste utilisée par creator/index.php.
   Lecture en Z : chaque bloc alterne texte / visuel, CTA en fin de diagonale.
   ========================================================================== */

:root {
    --ink: #0b0b0c;
    --ink-2: #141416;
    --ink-3: #1e1e21;
    --paper: #f6f5f1;
    --paper-2: #ecebe5;
    --white: #ffffff;
    --line: rgba(11, 11, 12, 0.1);
    --line-dark: rgba(255, 255, 255, 0.12);
    --muted: #5d5d64;
    --muted-dark: rgba(255, 255, 255, 0.64);
    --live: #7be08a;
    --radius: 18px;
    --radius-lg: 28px;
    --gutter-x: clamp(16px, 4vw, 40px);
    --f-display: 'Fraunces', Georgia, serif;
    --f-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

body.home-page {
    font-family: var(--f-body);
    color: var(--ink);
    background: var(--paper);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.home-page img {
    max-width: 100%;
}

/* --------------------------------------------------------------------------
   Briques communes
   -------------------------------------------------------------------------- */
.h-wrap {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--gutter-x);
}

.h-section {
    position: relative;
    padding: clamp(80px, 11vw, 150px) 0;
    overflow-x: clip;
}

.h-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 22px;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}

.h-eyebrow__num {
    display: inline-grid;
    place-items: center;
    min-width: 34px;
    height: 24px;
    padding: 0 8px;
    border: 1px solid currentColor;
    border-radius: 999px;
    font-size: 0.7rem;
    letter-spacing: 0.06em;
}

.h-eyebrow--light {
    color: var(--muted-dark);
}

.h-title {
    margin: 0 0 22px;
    font-family: var(--f-display);
    font-weight: 600;
    font-size: clamp(2.2rem, 4.4vw, 3.9rem);
    line-height: 1.03;
    letter-spacing: -0.025em;
    color: inherit;
    text-wrap: balance;
}

.h-lead {
    margin: 0 0 28px;
    max-width: 52ch;
    font-size: clamp(1rem, 1.25vw, 1.12rem);
    line-height: 1.7;
    color: var(--muted);
}

.h-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 26px;
    border-radius: 999px;
    border: 1px solid var(--ink);
    background: var(--ink);
    color: var(--white);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), background 0.25s;
}

.h-btn i {
    font-size: 0.85em;
    transition: transform 0.35s var(--ease-out);
}

.h-btn:hover {
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(11, 11, 12, 0.22);
}

.h-btn:hover i.fa-arrow-right {
    transform: translateX(4px);
}

.h-btn--light {
    background: var(--white);
    border-color: var(--white);
    color: var(--ink);
}

.h-btn--light:hover {
    color: var(--ink);
    box-shadow: 0 14px 34px rgba(255, 255, 255, 0.14);
}

.h-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--ink);
    text-decoration: none;
}

.h-link::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2px;
    height: 1px;
    background: currentColor;
    transform-origin: right;
    transition: transform 0.45s var(--ease-out);
}

.h-link:hover {
    color: inherit;
}

.h-link:hover::after {
    transform: scaleX(0);
}

.h-link--light {
    color: var(--white);
}

.h-link--light:hover {
    color: var(--white);
}

.h-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 26px;
}

.h-btn:focus-visible,
.h-link:focus-visible,
.h-tab:focus-visible,
.h-accordion .accordion-button:focus-visible {
    outline: 2px solid var(--live);
    outline-offset: 3px;
}

/* Disposition en Z : texte / visuel */
.h-z {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    align-items: center;
    gap: clamp(40px, 6vw, 96px);
}

.h-z--reverse .h-z__text {
    order: 2;
}

.h-z--reverse .h-z__visual {
    order: 1;
}

.h-z__visual {
    position: relative;
}

/* Fenêtre de navigateur */
.h-browser {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.6) inset,
        0 30px 60px -20px rgba(11, 11, 12, 0.28),
        0 12px 24px -12px rgba(11, 11, 12, 0.18);
}

.h-browser__bar {
    display: flex;
    align-items: center;
    gap: 14px;
    height: 38px;
    padding: 0 14px;
    background: #f1f0ec;
    border-bottom: 1px solid var(--line);
    font-size: 0.74rem;
    color: var(--muted);
}

.h-browser__dots {
    display: inline-flex;
    gap: 6px;
}

.h-browser__dots i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(11, 11, 12, 0.16);
}

.h-browser__url {
    flex: 1;
    max-width: 280px;
    margin: 0 auto;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(11, 11, 12, 0.05);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.h-browser__url i {
    font-size: 0.65rem;
    margin-right: 4px;
}

.h-browser img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: top center;
}

.h-browser--dark {
    background: var(--ink-2);
    border-color: rgba(11, 11, 12, 0.6);
}

.h-browser--dark .h-browser__bar {
    background: var(--ink-3);
    border-bottom-color: var(--line-dark);
    color: var(--muted-dark);
}

.h-browser--dark .h-browser__dots i {
    background: rgba(255, 255, 255, 0.22);
}

.h-browser--dark .h-browser__url {
    background: rgba(255, 255, 255, 0.06);
}

/* --------------------------------------------------------------------------
   1. HERO — animation au scroll
   -------------------------------------------------------------------------- */
.scroll-hero-section {
    --gutter: 2rem;
    position: relative;
    background: #000;
    color: var(--white);
    overflow: clip;
}

.scroll-hero-section .content-wrap {
    background: #000;
    overflow: clip;
}

.scroll-hero-intro {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    max-width: 1440px;
    margin: 0 auto;
    padding: clamp(96px, 12vh, 140px) var(--gutter-x) 28px;
    display: grid;
    grid-template-rows: 1fr auto;
}

.scroll-hero-intro::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(60% 50% at 85% 30%, rgba(255, 255, 255, 0.07), transparent 70%),
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 100% 88px;
    mask-image: linear-gradient(to bottom, #000 40%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent);
    pointer-events: none;
}

.scroll-hero-headline {
    position: relative;
    align-self: center;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    align-items: end;
    gap: clamp(28px, 5vw, 80px);
}

.scroll-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 7px 14px;
    border: 1px solid var(--line-dark);
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78);
}

.scroll-hero-eyebrow .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--live);
    box-shadow: 0 0 0 4px rgba(123, 224, 138, 0.18);
}

.scroll-hero-title {
    margin: 22px 0 26px;
    font-family: var(--f-display);
    font-weight: 600;
    font-size: clamp(4rem, 10.5vw, 10rem);
    line-height: 0.88;
    letter-spacing: -0.04em;
    color: var(--white);
}

.scroll-hero-lead {
    max-width: 38ch;
    margin: 0 0 34px;
    font-size: clamp(1rem, 1.3vw, 1.15rem);
    line-height: 1.65;
    color: var(--muted-dark);
}

.scroll-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 28px;
}

.scroll-hero-meta {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: 48px;
    padding-top: 20px;
    border-top: 1px solid var(--line-dark);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.scroll-hero-scroll i {
    margin-left: 6px;
    animation: hero-bounce 1.8s ease-in-out infinite;
}

@keyframes hero-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

/* Piste de scroll : l'intro reste collée pendant que le Mac s'anime */
.scroll-hero-track {
    position: relative;
    height: 280vh;
}

.scroll-hero-track .scroll-hero-intro {
    position: sticky;
    top: 0;
    height: 100vh;
    height: 100svh;
    min-height: 0;
}

.scroll-hero-track .scroll-hero-headline {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
}

.scroll-hero-track .scroll-hero-title {
    font-size: clamp(2.8rem, 5.6vw, 5.8rem);
    line-height: 0.95;
}

/* ---- MacBook ---- */
.h-mac {
    position: relative;
    justify-self: end;
    width: min(78%, 580px);
    margin-right: 11%;
    perspective: 800px;
    perspective-origin: 50% 0%;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
}

.h-mac__body {
    position: relative;
    transform-style: preserve-3d;
    transform: rotateX(16deg) rotateY(-24deg) rotateZ(2deg) scale(0.94);
    will-change: transform;
}

.h-mac__lid {
    position: relative;
    padding: 2.1% 2.1% 2.6%;
    border-radius: 18px 18px 4px 4px;
    background: linear-gradient(180deg, #2b2b30 0%, #161619 100%);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.14),
        inset 0 0 0 3px #0c0c0e,
        0 50px 90px -30px rgba(0, 0, 0, 0.9);
}

.h-mac__screen {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 6px;
    background: #050505;
    container-type: inline-size;
    isolation: isolate;
}

.h-mac__screen::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 5;
    background: linear-gradient(118deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.02) 32%, transparent 48%);
    pointer-events: none;
}

.h-mac__notch {
    position: absolute;
    top: 0;
    left: 50%;
    z-index: 6;
    width: 15cqw;
    height: 2.6cqw;
    transform: translateX(-50%);
    border-radius: 0 0 1.2cqw 1.2cqw;
    background: #0b0b0d;
}

/* Plateau (clavier + trackpad) articulé à la charnière, couché en 3D vers le spectateur */
.h-mac__base {
    position: absolute;
    top: 100%;
    left: -1%;
    width: 102%;
    aspect-ratio: 3.4;
    transform-origin: 50% 0;
    transform: rotateX(90deg);
    border-radius: 3px 3px 22px 22px;
    background: linear-gradient(180deg, #d6d6dc 0%, #b9b9c0 100%);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.55),
        inset 0 -6px 10px rgba(0, 0, 0, 0.18);
}

.h-mac__base::before {
    content: '';
    position: absolute;
    left: 8%;
    right: 8%;
    top: 9%;
    height: 50%;
    border-radius: 8px;
    background:
        linear-gradient(#141416 2px, transparent 2px) 0 0 / 100% 16.66%,
        linear-gradient(90deg, #141416 2px, transparent 2px) 0 0 / 7.14% 100%,
        #2c2c31;
    box-shadow: 0 0 0 2px #9d9da4;
}

.h-mac__base::after {
    content: '';
    position: absolute;
    left: 31%;
    right: 31%;
    top: 65%;
    height: 28%;
    border-radius: 10px;
    background: linear-gradient(180deg, #c9c9cf, #b0b0b7);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.h-mac__shadow {
    display: none;
}

/* ---- iPhone (même contenu que le Mac) ---- */
.h-phone {
    position: absolute;
    right: -3%;
    bottom: -14%;
    z-index: 3;
    width: 23%;
}

.h-phone__body {
    position: relative;
    padding: 3.4%;
    border-radius: 17% / 8%;
    background: linear-gradient(160deg, #3a3a40 0%, #17171a 55%, #0e0e10 100%);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.2),
        inset 0 0 0 3px #0a0a0c,
        0 40px 70px -20px rgba(0, 0, 0, 0.95);
    transform: rotateX(10deg) rotateY(-34deg) rotateZ(5deg);
    will-change: transform;
}

.h-phone__body::before {
    content: '';
    position: absolute;
    right: -1.6%;
    top: 22%;
    width: 1.6%;
    height: 12%;
    border-radius: 0 3px 3px 0;
    background: #2a2a2f;
}

.h-phone__screen {
    position: relative;
    aspect-ratio: 9 / 19.5;
    overflow: hidden;
    border-radius: 14% / 6.5%;
    background: #050505;
    container-type: inline-size;
    isolation: isolate;
}

.h-phone__screen::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 5;
    background: linear-gradient(125deg, rgba(255, 255, 255, 0.1) 0%, transparent 40%);
    pointer-events: none;
}

.h-phone__island {
    position: absolute;
    top: 3%;
    left: 50%;
    z-index: 6;
    width: 32%;
    height: 4.4%;
    transform: translateX(-50%);
    border-radius: 999px;
    background: #000;
}

.scroll-hero-section .h-phone .grid {
    --offset: -1;
    grid-template-columns: repeat(3, 1fr);
    gap: 2cqw;
    width: 190%;
    margin-left: -45%;
}

.scroll-hero-section .h-phone .grid > .layer:nth-of-type(1) {
    display: none;
}

.h-phone .h-mac__bar {
    height: 24cqw;
    padding: 15cqw 7cqw 0;
    font-size: 6cqw;
}

.h-phone .h-mac__links {
    display: none;
}

.h-phone .h-mac__cta {
    padding: 2cqw 5cqw;
    font-size: 4.4cqw;
}

.h-phone .h-mac__outro {
    padding: 12cqw 7cqw 22cqw;
}

.h-phone .h-mac__outro p {
    margin-bottom: 4cqw;
    font-size: 4cqw;
}

.h-phone .h-mac__outro strong {
    font-size: 10cqw;
}

/* ---- Contenu de l'écran : mini site qui défile ---- */
.h-mac__page {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    will-change: transform;
}

.h-mac__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3cqw;
    height: 7cqw;
    padding: 2.4cqw 4.5cqw 0;
    font-size: 2cqw;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
}

.h-mac__brand i {
    margin-right: 0.6cqw;
}

.h-mac__links {
    display: inline-flex;
    gap: 2cqw;
    margin-right: auto;
    margin-left: 4cqw;
}

.h-mac__links i {
    width: 6cqw;
    height: 0.8cqw;
    border-radius: 1cqw;
    background: rgba(255, 255, 255, 0.25);
}

.h-mac__cta {
    padding: 0.8cqw 2cqw;
    border-radius: 999px;
    background: var(--white);
    color: #000;
    font-size: 1.6cqw;
}

.scroll-hero-section .grid {
    --offset: 0;
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(3, auto);
    gap: 1cqw;
    width: 124%;
    margin-left: -12%;
    padding: 0;
}

.scroll-hero-section .grid > .layer {
    display: grid;
    grid-column: 1 / -1;
    grid-row: 1 / -1;
    grid-template-columns: subgrid;
    grid-template-rows: subgrid;
    will-change: transform, opacity;
}

.scroll-hero-section .grid > .layer div {
    overflow: hidden;
}

.scroll-hero-section .grid > .layer:nth-of-type(1) div:nth-of-type(odd) { grid-column: 1; }
.scroll-hero-section .grid > .layer:nth-of-type(1) div:nth-of-type(even) { grid-column: -2; }
.scroll-hero-section .grid > .layer:nth-of-type(2) div:nth-of-type(odd) { grid-column: calc(2 + var(--offset)); }
.scroll-hero-section .grid > .layer:nth-of-type(2) div:nth-of-type(even) { grid-column: calc(-3 - var(--offset)); }
.scroll-hero-section .grid > .layer:nth-of-type(3) div:first-of-type { grid-column: calc(3 + var(--offset)); grid-row: 1; }
.scroll-hero-section .grid > .layer:nth-of-type(3) div:last-of-type { grid-column: calc(3 + var(--offset)); grid-row: -1; }

.scroll-hero-section .grid img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.scroll-hero-section .scaler {
    position: relative;
    z-index: 2;
    grid-area: 2 / calc(3 + var(--offset));
}

.scroll-hero-section .scaler img {
    transform-origin: 50% 50%;
    -webkit-user-drag: none;
}

.h-mac__outro {
    padding: 6cqw 5cqw 8cqw;
    text-align: center;
}

.h-mac__outro p {
    margin: 0 0 1.6cqw;
    font-size: 1.5cqw;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--live);
}

.h-mac__outro strong {
    display: block;
    max-width: 22ch;
    margin: 0 auto;
    font-family: var(--f-display);
    font-weight: 600;
    font-size: 5.4cqw;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--white);
}

/* Mode sans épinglage (mobile, petits écrans, mouvement réduit) */
.scroll-hero-section.is-static .scroll-hero-track {
    height: auto;
}

.scroll-hero-section.is-static .scroll-hero-intro {
    position: relative;
    height: auto;
    min-height: 100vh;
    min-height: 100svh;
}

.scroll-hero-outro {
    min-height: 80vh;
    display: grid;
    place-content: center;
    gap: 22px;
    padding: 0 var(--gutter-x);
    text-align: center;
    background: #000;
}

.scroll-hero-outro .fluid-lg {
    margin: 0;
    font-family: var(--f-display);
    font-weight: 600;
    font-size: clamp(3rem, 9vw, 8.5rem);
    line-height: 0.92;
    letter-spacing: -0.035em;
}

.scroll-hero-outro p {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

/* --------------------------------------------------------------------------
   2. CRÉATEUR DE SITE
   -------------------------------------------------------------------------- */
.h-builder {
    background: var(--paper);
}

.h-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 8px 0 36px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.h-stats > div {
    padding: 20px 18px 18px 0;
}

.h-stats > div + div {
    padding-left: 18px;
    border-left: 1px solid var(--line);
}

.h-stats dt {
    font-family: var(--f-display);
    font-size: clamp(1.7rem, 2.6vw, 2.3rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.h-stats dd {
    margin: 4px 0 0;
    font-size: 0.82rem;
    color: var(--muted);
}

.h-builder .h-z__visual {
    perspective: 1600px;
}

.h-browser--tilt {
    transform: rotateY(-9deg) rotateX(4deg);
    transform-origin: left center;
    transition: transform 0.9s var(--ease-out);
}

.h-builder .h-z__visual:hover .h-browser--tilt {
    transform: rotateY(-3deg) rotateX(1deg);
}

.h-float-card {
    position: absolute;
    left: -28px;
    bottom: -26px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px 12px 12px;
    border-radius: 14px;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: 0 20px 40px -12px rgba(11, 11, 12, 0.25);
    animation: h-float 6s ease-in-out infinite;
}

.h-float-card__icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--ink);
    color: var(--white);
}

.h-float-card strong {
    display: block;
    font-size: 0.9rem;
}

.h-float-card small {
    display: block;
    font-size: 0.76rem;
    color: var(--muted);
}

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

.h-benefits {
    list-style: none;
    margin: clamp(72px, 9vw, 120px) 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--line);
}

.h-benefits li {
    padding: 32px 28px 8px 0;
}

.h-benefits li + li {
    padding-left: 28px;
    border-left: 1px solid var(--line);
}

.h-benefits i {
    font-size: 1.15rem;
    margin-bottom: 18px;
    color: var(--ink);
}

.h-benefits h3 {
    margin: 0 0 8px;
    font-size: 1.02rem;
    font-weight: 800;
}

.h-benefits p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--muted);
}

/* --------------------------------------------------------------------------
   3. MUR D'ÉCRANS (ex-galerie) + gallery-text-overlay
   -------------------------------------------------------------------------- */
.h-wall {
    position: relative;
    min-height: clamp(620px, 100vh, 900px);
    display: flex;
    align-items: center;
    background: var(--ink);
    color: var(--white);
    overflow: hidden;
    isolation: isolate;
}

.h-wall__scene {
    position: absolute;
    inset: 0;
    perspective: 1400px;
    z-index: -2;
}

.h-wall__plane {
    position: absolute;
    top: 50%;
    left: 62%;
    width: 1500px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 22px;
    transform: translate(-50%, -50%) rotateX(24deg) rotateY(-16deg) rotateZ(10deg);
    transform-style: preserve-3d;
}

.h-wall__col {
    height: 170vh;
    overflow: hidden;
}

.h-wall__track {
    display: flex;
    flex-direction: column;
    gap: 22px;
    animation: h-wall-up 46s linear infinite;
}

.h-wall__col--down .h-wall__track {
    animation-name: h-wall-down;
    animation-duration: 54s;
}

.h-wall__track img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: top center;
    border-radius: 12px;
    border: 1px solid var(--line-dark);
    filter: saturate(0.85);
}

@keyframes h-wall-up {
    from { transform: translateY(0); }
    to { transform: translateY(calc(-50% - 11px)); }
}

@keyframes h-wall-down {
    from { transform: translateY(calc(-50% - 11px)); }
    to { transform: translateY(0); }
}

.h-wall__shade {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(11, 11, 12, 0.97) 0%, rgba(11, 11, 12, 0.88) 34%, rgba(11, 11, 12, 0.35) 66%, rgba(11, 11, 12, 0.55) 100%),
        linear-gradient(180deg, var(--ink) 0%, transparent 18%, transparent 82%, var(--ink) 100%);
}

.h-wall__content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 40px;
    padding-top: clamp(80px, 10vw, 120px);
    padding-bottom: clamp(80px, 10vw, 120px);
}

.gallery-text-overlay {
    max-width: 620px;
    color: var(--white);
}

.gallery-overlay-title {
    margin: 0 0 24px;
    font-family: var(--f-display);
    font-weight: 600;
    font-size: clamp(2.6rem, 6vw, 5.2rem);
    line-height: 0.98;
    letter-spacing: -0.035em;
    text-wrap: balance;
}

.gallery-overlay-subtitle {
    max-width: 46ch;
    margin: 0 0 36px;
    font-size: clamp(1rem, 1.3vw, 1.15rem);
    line-height: 1.7;
    color: var(--muted-dark);
}

/* Mur d'écrans placé en hero, en tête de page */
.h-wall--hero {
    min-height: 100vh;
    min-height: 100svh;
    background: #000;
}

.h-wall--hero .h-wall__shade {
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.97) 0%, rgba(0, 0, 0, 0.86) 36%, rgba(0, 0, 0, 0.3) 68%, rgba(0, 0, 0, 0.5) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, transparent 22%, transparent 78%, #000 100%);
}

.h-wall--hero .h-wall__content {
    padding-top: clamp(120px, 16vh, 170px);
    padding-bottom: clamp(56px, 9vh, 96px);
}

.h-wall--hero .scroll-hero-eyebrow {
    margin-bottom: 26px;
}

.h-wall--hero .gallery-overlay-title {
    font-size: clamp(3rem, 7vw, 6.2rem);
    color: var(--white);
}

.h-wall__chips {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
    justify-items: end;
}

.h-wall__chips li {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid var(--line-dark);
    background: rgba(11, 11, 12, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: 0.84rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.86);
}

.h-wall__chips i {
    font-size: 0.8rem;
    color: var(--live);
}

/* --------------------------------------------------------------------------
   4. OUTILS — onglets + écrans empilés
   -------------------------------------------------------------------------- */
.h-tools {
    background: var(--white);
    border-bottom: 1px solid var(--line);
}

.h-tabs {
    display: grid;
    margin: 6px 0 34px;
    border-top: 1px solid var(--line);
}

.h-tab {
    position: relative;
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    width: 100%;
    padding: 16px 4px;
    border: 0;
    border-bottom: 1px solid var(--line);
    background: none;
    text-align: left;
    color: var(--ink);
    cursor: pointer;
    transition: background 0.25s;
}

.h-tab__icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--line);
    color: var(--muted);
    transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.h-tab__name {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 9px;
    font-weight: 800;
    font-size: 1rem;
    color: var(--muted);
    transition: color 0.3s;
}

.h-tab__name em {
    font-style: normal;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 999px;
    background: var(--paper-2);
    color: var(--muted);
}

.h-tab__desc {
    display: block;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--muted);
    transition: max-height 0.5s var(--ease-out), opacity 0.4s, margin 0.4s;
}

.h-tab__progress {
    position: absolute;
    left: 0;
    bottom: -1px;
    height: 2px;
    width: 100%;
    background: var(--ink);
    transform: scaleX(0);
    transform-origin: left;
}

.h-tab:hover .h-tab__name {
    color: var(--ink);
}

.h-tab.is-active .h-tab__icon {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--white);
}

.h-tab.is-active .h-tab__name {
    color: var(--ink);
}

.h-tab.is-active .h-tab__desc {
    max-height: 80px;
    opacity: 1;
    margin-top: 6px;
}

.h-tab.is-active .h-tab__progress {
    animation: h-tab-progress var(--tab-duration, 6s) linear forwards;
}

.h-tabs.is-paused .h-tab.is-active .h-tab__progress {
    animation: none;
    transform: scaleX(1);
}

@keyframes h-tab-progress {
    to { transform: scaleX(1); }
}

/* En-tête de la section Outils, centré au-dessus des deux colonnes */
.h-tools__head {
    max-width: 760px;
    margin: 0 auto clamp(36px, 5vw, 60px);
    text-align: center;
}

.h-tools__head .h-lead {
    margin-left: auto;
    margin-right: auto;
}

.h-tools__head .h-title {
    margin-bottom: 16px;
}

/* Mode épinglé (bureau) : la section reste fixe et chaque palier de scroll active l'outil suivant */
.h-tools.is-pinned {
    padding: 0;
}

.h-tools.is-pinned .h-tools__stage {
    position: sticky;
    top: 0;
    height: 100vh;
    height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 84px 0 20px;
    overflow: hidden;
}

.h-tools.is-pinned .h-tools__head {
    margin-bottom: clamp(18px, 3.2vh, 40px);
}

.h-tools.is-pinned .h-title {
    font-size: clamp(2rem, 3.3vw, 3rem);
}

.h-tools.is-pinned .h-lead {
    margin-bottom: 0;
}

.h-tools.is-pinned .h-tabs {
    margin: 0 0 22px;
}

.h-tools.is-pinned .h-tab {
    padding: 12px 4px;
}

.h-tools.is-pinned .h-screens {
    width: 100%;
    max-width: calc((100vh - 330px) * 1.75);
    margin: 0 auto;
    padding-top: 30px;
}

/* La barre sous l'onglet actif suit le scroll au lieu du minuteur */
.h-tools.is-pinned .h-tab__progress,
.h-tools.is-pinned .h-tabs.is-paused .h-tab.is-active .h-tab__progress {
    animation: none !important;
    transform: scaleX(var(--tab-p, 0)) !important;
}

.h-tools.is-pinned .h-tab:not(.is-active) .h-tab__progress {
    transform: scaleX(0) !important;
}

/* Colonne du visuel élargie (avec h-z--reverse, le visuel occupe la 1re colonne) */
.h-tools .h-z {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
    gap: clamp(32px, 4.5vw, 72px);
}

.h-tools .h-screens {
    display: grid;
    aspect-ratio: auto;
    padding-top: 56px;
}

.h-tools .h-screen {
    position: relative;
    inset: auto;
    grid-area: 1 / 1;
}

.h-tools .h-browser img {
    aspect-ratio: 3360 / 1924;
    object-fit: contain;
    background: var(--ink-2);
}

.h-screens {
    position: relative;
    aspect-ratio: 16 / 11.2;
    perspective: 1800px;
}

.h-screen {
    position: absolute;
    inset: 0;
    margin: 0;
    transform-origin: 50% 100%;
    transition: transform 0.8s var(--ease-out), opacity 0.6s var(--ease-out), filter 0.6s;
    opacity: 0;
    pointer-events: none;
    transform: translate3d(0, 40px, -160px) rotateX(8deg);
    filter: blur(2px);
}

.h-screen.is-active {
    opacity: 1;
    z-index: 3;
    pointer-events: auto;
    transform: none;
    filter: none;
}

.h-screen.is-prev {
    opacity: 0.45;
    z-index: 2;
    transform: translate3d(0, -28px, -120px) scale(0.94);
    filter: blur(1px);
}

.h-screen.is-prev2 {
    opacity: 0.2;
    z-index: 1;
    transform: translate3d(0, -52px, -240px) scale(0.88);
}

/* ---- Outils : écran partagé pleine largeur (image à gauche, onglets à droite, sans marge) ---- */
.h-tools .h-tools__body {
    grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr);
    gap: 0;
    align-items: center;
    width: 100%;
    margin: clamp(24px, 3vw, 40px) 0 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.h-tools .h-tools__body .h-z__visual {
    position: relative;
    align-self: center;
    aspect-ratio: 3360 / 1924;
    overflow: hidden;
    background: var(--ink-2);
}

.h-tools .h-tools__body .h-screens {
    position: absolute;
    inset: 0;
    display: block;
    max-width: none;
    margin: 0;
    padding: 0;
    aspect-ratio: auto;
    perspective: none;
}

.h-tools .h-tools__body .h-screen,
.h-tools .h-tools__body .h-screen.is-prev,
.h-tools .h-tools__body .h-screen.is-prev2 {
    position: absolute;
    inset: 0;
    grid-area: auto;
    opacity: 0;
    transform: none;
    filter: none;
    transition: opacity 0.7s var(--ease-out);
}

.h-tools .h-tools__body .h-screen.is-active {
    opacity: 1;
}

.h-tools .h-tools__body .h-browser {
    height: 100%;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}

.h-tools .h-tools__body .h-browser__bar {
    display: none;
}

.h-tools .h-tools__body .h-browser img {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: top left;
    background: none;
}

.h-tools .h-tools__body .h-z__text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(24px, 3vw, 48px) clamp(24px, 3.5vw, 56px);
    background: var(--white);
}

.h-tools .h-tools__body .h-tabs {
    margin: 0 0 28px;
}

.h-tools .h-tools__body .h-tab {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 18px;
}

.h-tools .h-tools__body .h-tab__icon {
    width: 46px;
    height: 46px;
    font-size: 1.05rem;
}

.h-tools .h-tools__body .h-tab__name {
    padding-top: 10px;
    font-size: clamp(1.05rem, 1.45vw, 1.35rem);
}

/* Mode épinglé : le corps occupe toute la hauteur restante sous l'en-tête */
.h-tools.is-pinned .h-tools__stage {
    padding-bottom: 0;
}

.h-tools.is-pinned .h-tools__body {
    flex: none;
    margin-top: 16px;
}

.h-tools.is-pinned .h-tools__head {
    margin-bottom: 12px;
}

.h-tools.is-pinned .h-tools__body .h-tab {
    padding: 9px 4px;
}

.h-tools.is-pinned .h-tools__body .h-tab__name {
    padding-top: 9px;
    font-size: clamp(1rem, 1.25vw, 1.2rem);
}

.h-tools.is-pinned .h-tools__body .h-z__text {
    padding-top: 18px;
    padding-bottom: 18px;
}

.h-tools.is-pinned .h-tools__body .h-tabs {
    margin-bottom: 16px;
}

.h-tools.is-pinned .h-tools__body .h-screens {
    max-width: none;
    padding: 0;
}

/* ---- Mode épinglé compact (petits écrans / écrans bas) : rangée d'icônes + détail de l'outil actif ---- */
.h-tools.is-pinned.is-compact .h-tools__head .h-lead {
    display: none;
}

.h-tools.is-pinned.is-compact .h-tools__head .h-eyebrow {
    margin-bottom: 10px;
}

.h-tools.is-pinned.is-compact .h-title {
    margin-bottom: 0;
    font-size: clamp(1.5rem, 2.6vw, 2.4rem);
}

.h-tools.is-pinned.is-compact .h-tools__body .h-z__text {
    padding: 16px clamp(16px, 3vw, 40px);
}

.h-tools.is-pinned.is-compact .h-tabs {
    position: relative;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 6px;
    margin: 0 0 14px;
    padding-bottom: 104px;
    border-top: 0;
}

.h-tools.is-pinned.is-compact .h-tools__body .h-tab {
    position: static;
    display: flex;
    justify-content: center;
    padding: 6px 0 10px;
    border-bottom: 0;
}

.h-tools.is-pinned.is-compact .h-tab__body {
    display: none;
}

.h-tools.is-pinned.is-compact .h-tab.is-active .h-tab__body {
    position: absolute;
    left: 0;
    right: 0;
    top: 66px;
    display: block;
}

.h-tools.is-pinned.is-compact .h-tools__body .h-tab__name {
    padding-top: 0;
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
}

.h-tools.is-pinned.is-compact .h-tab__progress {
    left: 6px;
    right: 6px;
    width: auto;
    bottom: 0;
}

/* --------------------------------------------------------------------------
   5. TEMPLATES — visite immersive 3D
   -------------------------------------------------------------------------- */
.tpl3d {
    position: relative;
    /* ~12vh de scroll par template (520vh pour 28 à l'origine) */
    height: calc(var(--tpl-count, 28) * 12vh + 180vh);
    background: var(--ink);
    color: var(--white);
}

.tpl3d__stage {
    position: sticky;
    top: 0;
    height: 100vh;
    height: 100svh;
    overflow: hidden;
    background:
        radial-gradient(60% 45% at 50% 52%, rgba(255, 255, 255, 0.08), transparent 70%),
        var(--ink);
}

.tpl3d__hud {
    position: absolute;
    left: 0;
    right: 0;
    z-index: 5;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 0 var(--gutter-x);
    max-width: 1440px;
    margin: 0 auto;
    pointer-events: none;
}

.tpl3d__hud--top {
    top: clamp(84px, 11vh, 110px);
    align-items: flex-start;
}

.tpl3d__hud--bottom {
    bottom: 28px;
    align-items: center;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted-dark);
}

.tpl3d__hud .h-eyebrow {
    margin-bottom: 14px;
}

.tpl3d__title {
    margin: 0;
    font-family: var(--f-display);
    font-weight: 600;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1;
    letter-spacing: -0.03em;
}

.tpl3d__hint {
    margin: 8px 0 0;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted-dark);
}

.tpl3d__hint i {
    margin-right: 6px;
}

.tpl3d__label {
    min-width: 180px;
    color: var(--white);
}

.tpl3d__progress {
    flex: 1;
    max-width: 420px;
    height: 2px;
    background: rgba(255, 255, 255, 0.14);
    overflow: hidden;
}

.tpl3d__progress span {
    display: block;
    height: 100%;
    width: 100%;
    background: var(--white);
    transform: scaleX(0);
    transform-origin: left;
}

.tpl3d__count b {
    color: var(--white);
}

.tpl3d__viewport {
    position: absolute;
    inset: 0;
    perspective: 1000px;
    perspective-origin: 50% 46%;
}

.tpl3d__world {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    transform-style: preserve-3d;
    will-change: transform;
}

.tpl3d__floor {
    position: absolute;
    left: -1400px;
    top: 0;
    width: 2800px;
    height: 16000px;
    transform-origin: 50% 0;
    transform: translate3d(0, 300px, 600px) rotateX(-90deg);
    background:
        linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px) 0 0 / 100% 220px,
        linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px) 0 0 / 200px 100%;
    mask-image: linear-gradient(to bottom, #000 0%, transparent 92%);
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 92%);
    pointer-events: none;
}

.tpl3d-card {
    position: absolute;
    left: calc(var(--card-w, 440px) / -2);
    top: calc(var(--card-w, 440px) * -0.36);
    width: var(--card-w, 440px);
    margin: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    will-change: transform, opacity;
}

.tpl3d-card__frame {
    border-radius: 12px;
    overflow: hidden;
    background: var(--ink-2);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.55);
}

.tpl3d-card__bar {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 30px;
    padding: 0 12px;
    background: var(--ink-3);
    font-size: 0.7rem;
    color: var(--muted-dark);
}

.tpl3d-card__bar .h-browser__dots i {
    width: 7px;
    height: 7px;
    background: rgba(255, 255, 255, 0.22);
}

.tpl3d-card img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: top center;
}

.tpl3d-card figcaption {
    margin-top: 14px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.82);
}

.tpl3d-card figcaption span {
    margin-right: 8px;
    color: var(--muted-dark);
}

.tpl3d-end {
    position: absolute;
    left: -320px;
    top: -200px;
    width: 640px;
    padding: 48px;
    text-align: center;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: linear-gradient(180deg, rgba(40, 40, 44, 0.96), rgba(20, 20, 22, 0.96));
}

.tpl3d-end h3 {
    margin: 0 0 12px;
    font-family: var(--f-display);
    font-weight: 600;
    font-size: 3.4rem;
    letter-spacing: -0.03em;
}

.tpl3d-end p:not(.h-eyebrow) {
    margin: 0 auto 28px;
    max-width: 36ch;
    color: var(--muted-dark);
}

/* Version « à plat » : mobile, tablette étroite ou mouvement réduit */
.tpl3d.is-flat {
    height: auto;
}

.tpl3d.is-flat .tpl3d__stage {
    position: relative;
    height: auto;
    padding: clamp(80px, 12vw, 120px) 0 60px;
}

.tpl3d.is-flat .tpl3d__hud {
    position: relative;
    top: auto;
    bottom: auto;
}

.tpl3d.is-flat .tpl3d__hint,
.tpl3d.is-flat .tpl3d__hud--bottom,
.tpl3d.is-flat .tpl3d__floor {
    display: none;
}

.tpl3d.is-flat .tpl3d__viewport {
    position: relative;
    inset: auto;
    margin-top: 40px;
    perspective: 1200px;
}

.tpl3d.is-flat .tpl3d__world {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
    height: auto;
    display: flex;
    gap: 20px;
    padding: 20px var(--gutter-x) 30px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    transform: none !important;
}

.tpl3d.is-flat .tpl3d__world::-webkit-scrollbar {
    display: none;
}

.tpl3d.is-flat .tpl3d-card {
    position: relative;
    left: auto;
    top: auto;
    flex: 0 0 min(78vw, 360px);
    width: auto;
    scroll-snap-align: center;
    transform: rotateY(-6deg) !important;
    opacity: 1 !important;
}

.tpl3d.is-flat .tpl3d-end {
    position: relative;
    left: auto;
    top: auto;
    flex: 0 0 min(78vw, 360px);
    width: auto;
    padding: 32px 24px;
    scroll-snap-align: center;
    transform: none !important;
    opacity: 1 !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.tpl3d.is-flat .tpl3d-end h3 {
    font-size: 2.2rem;
}

/* --------------------------------------------------------------------------
   6. COMMENT ÇA FONCTIONNE
   -------------------------------------------------------------------------- */
.h-steps {
    background: var(--paper);
}

.h-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
    align-items: end;
    gap: 40px;
    margin-bottom: clamp(48px, 6vw, 72px);
}

.h-head .h-lead {
    justify-self: end;
    margin-bottom: 24px;
}

.h-timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    counter-reset: step;
}

.h-timeline li {
    position: relative;
    padding: 34px 28px 0 0;
    border-top: 1px solid var(--line);
}

.h-timeline li::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 0;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--ink);
}

.h-timeline__num {
    display: block;
    margin-bottom: 18px;
    font-family: var(--f-display);
    font-size: 3.2rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.03em;
    color: transparent;
    -webkit-text-stroke: 1px var(--ink);
}

.h-timeline h3 {
    margin: 0 0 8px;
    font-size: 1.05rem;
    font-weight: 800;
}

.h-timeline p {
    margin: 0;
    font-size: 0.93rem;
    line-height: 1.6;
    color: var(--muted);
}

/* --------------------------------------------------------------------------
   7. DNS
   -------------------------------------------------------------------------- */
.h-dns {
    padding-top: 0;
    background: var(--paper);
}

.h-dns .h-z {
    position: relative;
    overflow: hidden;
    padding: clamp(36px, 6vw, 80px);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(50% 70% at 80% 40%, rgba(255, 255, 255, 0.07), transparent 70%),
        var(--ink);
    color: var(--white);
}

.h-dns .h-z {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}

.h-dns .h-lead {
    color: var(--muted-dark);
}

.h-checks {
    list-style: none;
    margin: 0 0 34px;
    padding: 0;
    display: grid;
    gap: 12px;
}

.h-checks li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.88);
}

.h-checks i {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(123, 224, 138, 0.14);
    color: var(--live);
    font-size: 0.7rem;
}

.h-dns__visual {
    display: grid;
    place-items: center;
    min-height: 380px;
}

#word {
    width: clamp(260px, 30vw, 400px);
    aspect-ratio: 1;
    opacity: 0.7;
    pointer-events: none;
}

#word canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

.h-dns__records {
    position: absolute;
    right: 0;
    bottom: 0;
    width: min(100%, 320px);
    padding: 8px;
    border-radius: 14px;
    border: 1px solid var(--line-dark);
    background: rgba(20, 20, 22, 0.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: 0.82rem;
}

.h-dns__row {
    display: grid;
    grid-template-columns: 76px 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 8px;
}

.h-dns__row + .h-dns__row {
    border-top: 1px solid var(--line-dark);
}

.h-dns__row--head {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted-dark);
}

.h-pill {
    justify-self: start;
    padding: 2px 8px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    font-weight: 700;
    font-size: 0.72rem;
}

.h-ok {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--live);
    font-weight: 600;
}

.h-ok i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

/* --------------------------------------------------------------------------
   8. FAQ
   -------------------------------------------------------------------------- */
.h-faq {
    background: var(--white);
}

.h-faq__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(40px, 7vw, 110px);
    align-items: start;
}

.h-faq__intro {
    position: sticky;
    top: 110px;
}

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

.h-accordion .accordion-item {
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0 !important;
    background: transparent;
}

.h-accordion .accordion-header {
    margin: 0;
}

.h-accordion .accordion-button {
    gap: 20px;
    padding: 26px 0;
    background: transparent;
    box-shadow: none;
    font-family: var(--f-body);
    font-weight: 700;
    font-size: clamp(1rem, 1.4vw, 1.16rem);
    color: var(--ink);
}

.h-accordion .accordion-button:not(.collapsed) {
    background: transparent;
    color: var(--ink);
    box-shadow: none;
}

.h-accordion .accordion-button:focus {
    box-shadow: none;
}

.h-accordion .accordion-button::after {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background-size: 12px;
    background-position: center;
}

.h-accordion .accordion-body {
    padding: 0 48px 28px 0;
    font-size: 0.97rem;
    line-height: 1.75;
    color: var(--muted);
}

/* --------------------------------------------------------------------------
   9. CTA FINAL
   -------------------------------------------------------------------------- */
.h-cta-wrap {
    padding-top: 0;
    background: var(--white);
}

.h-cta {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) auto;
    align-items: end;
    gap: 40px;
    padding: clamp(40px, 6vw, 80px);
    border-radius: var(--radius-lg);
    background: var(--ink);
    color: var(--white);
}

.h-cta::after {
    content: '';
    position: absolute;
    right: -10%;
    top: -60%;
    width: 60%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.09), transparent 65%);
    pointer-events: none;
}

.h-cta .h-lead {
    margin-bottom: 0;
    color: var(--muted-dark);
}

.h-cta .h-actions {
    position: relative;
    z-index: 1;
    justify-content: flex-end;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
    .h-benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .h-benefits li:nth-child(3) {
        padding-left: 0;
        border-left: 0;
    }

    .h-benefits li:nth-child(n + 3) {
        border-top: 1px solid var(--line);
    }

    .h-timeline {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 48px;
    }
}

@media (max-width: 960px) {
    .scroll-hero-headline,
    .h-z,
    .h-head,
    .h-faq__grid,
    .h-cta,
    .h-wall__content,
    .h-dns .h-z,
    .h-tools .h-z {
        grid-template-columns: minmax(0, 1fr);
    }

    .scroll-hero-track .scroll-hero-headline {
        grid-template-columns: minmax(0, 1fr);
        align-items: start;
    }

    .h-mac {
        justify-self: center;
        width: min(74%, 440px);
        margin: 8px auto 14vw;
    }

    .h-z--reverse .h-z__text,
    .h-z--reverse .h-z__visual {
        order: initial;
    }

    .h-tools .h-tools__body .h-z__visual {
        order: -1;
        width: 100%;
    }

    .h-head .h-lead {
        justify-self: start;
        margin-bottom: 0;
    }

    .h-faq__intro {
        position: static;
    }

    .h-cta .h-actions {
        justify-content: flex-start;
    }

    .h-wall__plane {
        left: 50%;
    }

    .h-wall__shade,
    .h-wall--hero .h-wall__shade {
        background:
            linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.9) 55%, #000 100%);
    }

    .h-wall__chips {
        justify-items: start;
        grid-auto-flow: row;
    }

    .h-float-card {
        left: 12px;
    }
}

@media (max-width: 600px) {
    .scroll-hero-section {
        --gutter: 1rem;
    }

    .scroll-hero-title {
        font-size: clamp(3.6rem, 19vw, 5rem);
    }

    .scroll-hero-meta span:first-child {
        display: none;
    }

    .scroll-hero-meta {
        justify-content: flex-end;
    }

    .h-stats > div {
        padding-right: 10px;
    }

    .h-stats > div + div {
        padding-left: 12px;
    }

    .h-benefits,
    .h-timeline {
        grid-template-columns: minmax(0, 1fr);
    }

    .h-benefits li,
    .h-benefits li + li {
        padding: 26px 0 0;
        border-left: 0;
    }

    .h-benefits li + li {
        border-top: 1px solid var(--line);
        margin-top: 22px;
    }

    .h-browser--tilt {
        transform: none;
    }

    .h-float-card {
        bottom: -22px;
    }

    .h-dns__visual {
        min-height: 320px;
    }

    .h-dns__records {
        position: relative;
        margin-top: -40px;
    }

    .h-accordion .accordion-body {
        padding-right: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .h-wall__track,
    .h-float-card,
    .scroll-hero-scroll i {
        animation: none !important;
    }

    .h-screen,
    .h-browser--tilt {
        transition: none;
    }
}
