/* css/presentation.css — Hexa-Duo Landing Page — Premium Dark SaaS */

/* ===== VARIABLES ===== */
:root {
    --bg-dark: #070707;
    --bg-surface: #0f0f0f;
    --bg-card: #141414;
    --text-pure: #ffffff;
    --text-main: #f0f0f0;
    --text-secondary: #7a7a7a;
    --text-muted: #4a4a4a;

    --brand-terracotta: #C2703E;
    --brand-sauge: #4A7C6F;
    --brand-terracotta-dim: rgba(194, 112, 62, 0.15);
    --brand-sauge-dim: rgba(74, 124, 111, 0.15);

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-mid: rgba(255, 255, 255, 0.1);

    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    font-family: var(--font-sans);
    background-color: var(--bg-dark);
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.5;
}


/* ===== TYPOGRAPHY ===== */
h1, h2, h3 {
    font-family: var(--font-sans);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.05;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.25rem 4vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: background 0.5s var(--ease-in-out), border-color 0.5s var(--ease-in-out);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(7, 7, 7, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom-color: var(--border-subtle);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-pure);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.logo-icon-wrap {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    /* GSAP anime scale + opacity sur ce wrapper */
}

.logo-icon-wrap svg {
    width: 22px;
    height: 26px;
    display: block;
}

/* Masque clip-reveal pour le texte "Hexa-Duo" */
.logo-text-wrap {
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.logo-text {
    display: inline-block;
    /* part de translateY(110%) — animé par GSAP */
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.25s ease;
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--text-pure);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.nav-access-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.25s ease;
    white-space: nowrap;
}

.nav-access-link:hover {
    color: var(--text-pure);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font-sans);
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    letter-spacing: -0.01em;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn:active {
    transform: scale(0.97);
}

.btn span {
    pointer-events: none;
    position: relative;
    z-index: 1;
}

.btn-primary {
    background: var(--text-pure);
    color: var(--bg-dark);
    border-color: var(--text-pure);
}

.btn-primary:hover {
    background: rgba(255,255,255,0.88);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.15);
}

.btn-secondary {
    background: transparent;
    color: var(--text-pure);
    border-color: var(--border-mid);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.25);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    height: 100svh;
    min-height: 700px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 6vw;
    overflow: hidden;
}

/* Background image contained strictly */
.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(to bottom,
            rgba(7, 7, 7, 0.2) 0%,
            rgba(7, 7, 7, 0.15) 40%,
            rgba(7, 7, 7, 0.85) 80%,
            rgba(7, 7, 7, 1) 100%),
        url('https://images.unsplash.com/photo-1464822759023-fed622ff2c3b?q=80&w=2670&auto=format&fit=crop') center/cover no-repeat;
    z-index: 0;
    will-change: transform;
}

/* All hero content above bg */
.hero > *:not(.hero-bg) {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    padding: 0.45rem 1.1rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    margin-bottom: 2.5rem;
    /* GSAP starts from here */
    opacity: 0;
    transform: translateY(16px);
}

.hero-badge .dot {
    width: 6px;
    height: 6px;
    background: var(--brand-terracotta);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--brand-terracotta);
    flex-shrink: 0;
}

.hero h1 {
    font-size: clamp(3.8rem, 8vw, 7.5rem);
    font-weight: 800;
    line-height: 1.02;
    color: var(--text-pure);
    margin-bottom: 1.75rem;
    max-width: 1100px;
    letter-spacing: -0.05em;
}

/* Line split animation wrapper */
.hero h1 .line-wrapper {
    overflow: hidden;
    display: block;
}

.hero h1 .line {
    display: block;
    will-change: transform;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 1.6vw, 1.35rem);
    color: rgba(255,255,255,0.6);
    max-width: 580px;
    margin-bottom: 3rem;
    font-weight: 400;
    letter-spacing: -0.01em;
    line-height: 1.7;
    /* GSAP initial state */
    opacity: 0;
    transform: translateY(20px);
}

.hero-cta-wrapper {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    /* GSAP initial state */
    opacity: 0;
    transform: translateY(20px);
}


/* ===== MARQUEE STRIP ===== */
.marquee-wrapper {
    background: var(--bg-surface);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    overflow: hidden;
    padding: 1.1rem 0;
    user-select: none;
}

.marquee-wrapper:hover .marquee-track {
    animation-play-state: paused;
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    width: max-content;
    animation: marquee 35s linear infinite;
}

.marquee-track span {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.01em;
    white-space: nowrap;
    transition: color 0.25s ease;
}

.marquee-track span i {
    color: var(--brand-terracotta);
    font-size: 0.75rem;
    opacity: 0.75;
}

.marquee-track span.sep {
    color: var(--border-subtle);
    font-size: 0.7rem;
    opacity: 0.5;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ===== VALUE PROPS (section blanc — inversion totale) ===== */
.value-props {
    background: #F9F8F6;
    padding: 11rem 6vw 10rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

/* ── Titre principal ── */
.vp-title-block {
    max-width: 900px;
    margin-bottom: 5rem;
}

/* Eyebrow sur fond blanc */
.vp-eyebrow {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--brand-terracotta);
    margin-bottom: 2rem;
    display: block;
    opacity: 0; /* animé GSAP */
}

/* Eyebrow générique (autres sections) */
.eyebrow {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--brand-terracotta);
    margin-bottom: 1.5rem;
    display: block;
}

/* Titre Awwwards clip reveal */
.vp-headline {
    font-size: clamp(3.4rem, 6.5vw, 6.5rem);
    font-weight: 800;
    line-height: 1.0;
    letter-spacing: -0.045em;
    color: #0a0a0a;
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 2.5rem;
}

/* Wrapper masque (overflow: hidden = le cache) */
.vp-line-wrap {
    display: block;
    overflow: hidden;
    line-height: 1.12;
    padding-bottom: 0.04em;
}

/* Ligne qui remonte depuis le bas lors du clip reveal */
.vp-line {
    display: block;
    transform: translateY(110%);
}

/* Sous-titre */
.vp-sub {
    font-size: 1.05rem;
    color: #5a5a5a;
    font-weight: 400;
    line-height: 1.75;
    max-width: 520px;
    opacity: 0; /* animé GSAP */
    transform: translateY(18px);
}

/* ── Séparateur horizontal animé (width 0 → 100%) ── */
.vp-divider {
    width: 0%;
    height: 1px;
    background: #d0cdc9;
    margin-bottom: 5rem;
}

/* ── Grid 3 colonnes ── */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid #d0cdc9;
}

/* ── Carte statistique ── */
.prop-card {
    display: flex;
    flex-direction: column;
    padding: 3rem 2.5rem 3rem 0;
    border-right: 1px solid #d0cdc9;
    opacity: 0;
    transform: translateY(40px);
    position: relative;
}

.prop-card:last-child {
    border-right: none;
    padding-right: 0;
}

.prop-card:not(:first-child) {
    padding-left: 2.5rem;
}

/* Barre animée terracotta au hover */
.prop-card::after {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--brand-terracotta);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s var(--ease-out-expo);
}

.prop-card:hover::after {
    transform: scaleX(1);
}

/* Rangée du haut : label + flèche */
.prop-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.prop-card .stat-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #9a9793;
}

.prop-arrow {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid #d0cdc9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    color: #9a9793;
    transition: border-color 0.3s ease, color 0.3s ease, transform 0.35s var(--ease-out-expo);
    flex-shrink: 0;
}

.prop-card:hover .prop-arrow {
    border-color: var(--brand-terracotta);
    color: var(--brand-terracotta);
    transform: rotate(-45deg);
}

/* Grand chiffre */
.prop-card .stat {
    font-size: clamp(4.5rem, 8vw, 7rem);
    font-weight: 800;
    color: #0a0a0a;
    line-height: 0.9;
    letter-spacing: -0.05em;
    margin-bottom: 1.75rem;
    font-variant-numeric: tabular-nums;
}

.prop-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.65rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: #0a0a0a;
    line-height: 1.2;
}

.prop-card p {
    color: #6b6b6b;
    font-size: 0.88rem;
    line-height: 1.75;
    font-weight: 400;
    margin-top: auto;
}

/* ===== SECTIONS SHOWCASE (Liste thématiques) ===== */
.sections-showcase {
    background: var(--bg-dark);
    padding: 10rem 6vw 12rem;
    border-top: 1px solid var(--border-subtle);
}

.showcase-header {
    max-width: 720px;
    margin-bottom: 5rem;
    opacity: 0;
    transform: translateY(30px);
}

.showcase-header h2 {
    font-size: clamp(2.6rem, 4.5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.08;
    color: var(--text-pure);
    letter-spacing: -0.04em;
}

/* ── Liste de lignes (rework remplacement sc-grid) ── */
.sc-list {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-subtle);
    border-radius: 18px;
    overflow: hidden;
}

/* ── Une ligne thématique ── */
.sc-row {
    display: grid;
    /* num | icon | body | tags */
    grid-template-columns: 2.5rem 3rem 1fr auto;
    align-items: center;
    gap: 0 1.5rem;
    padding: 1.4rem 2rem;
    border-bottom: 1px solid var(--border-subtle);
    position: relative;
    transition: background 0.22s ease;
    cursor: default;
    overflow: hidden;
}

.sc-row:last-child {
    border-bottom: none;
}

/* Trait coloré à gauche au hover */
.sc-row::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    transform: scaleY(0);
    transform-origin: center;
    transition: transform 0.25s var(--ease-out-expo);
    border-radius: 0 1px 1px 0;
}

.sc-row--a::before { background: var(--brand-terracotta); }
.sc-row--b::before { background: var(--brand-sauge); }

.sc-row:hover::before { transform: scaleY(1); }

.sc-row:hover {
    background: rgba(255, 255, 255, 0.025);
}

/* Numéro */
.sc-row-num {
    font-size: 0.63rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
    opacity: 0.55;
    text-align: right;
}

/* Icône */
.sc-row-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    font-size: 1.05rem;
    flex-shrink: 0;
    transition: transform 0.3s var(--ease-out-expo);
}

.sc-row--a .sc-row-icon {
    background: rgba(194, 112, 62, 0.1);
    color: var(--brand-terracotta);
    border: 1px solid rgba(194, 112, 62, 0.18);
}

.sc-row--b .sc-row-icon {
    background: rgba(74, 124, 111, 0.1);
    color: var(--brand-sauge);
    border: 1px solid rgba(74, 124, 111, 0.18);
}

.sc-row:hover .sc-row-icon {
    transform: scale(1.1) rotate(-5deg);
}

/* Corps : nom + description */
.sc-row-body {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}

.sc-row-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-pure);
    letter-spacing: -0.02em;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sc-row-desc {
    font-size: 0.77rem;
    color: var(--text-muted);
    font-weight: 400;
    line-height: 1.5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Tags (alignés à droite) */
.sc-row-tags {
    display: flex;
    gap: 0.35rem;
    flex-shrink: 0;
    align-items: center;
}

/* ── Tags ── */
.sc-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: auto;
}

.sc-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.18rem 0.55rem;
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.03);
    white-space: nowrap;
}

.sc-tag--hi {
    border-color: rgba(194, 112, 62, 0.28);
    color: rgba(194, 112, 62, 0.85);
    background: rgba(194, 112, 62, 0.06);
}

.sc-tag--live {
    border-color: rgba(74, 124, 111, 0.35);
    color: rgba(74, 124, 111, 0.9);
    background: rgba(74, 124, 111, 0.08);
}

.sc-tag--live::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--brand-sauge);
    margin-right: 0.35rem;
    box-shadow: 0 0 5px var(--brand-sauge);
}

/* Legacy badges (kept for other sections) */
.sbadge {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.03);
    white-space: nowrap;
}

.sbadge.accent {
    border-color: rgba(74, 124, 111, 0.3);
    color: rgba(74, 124, 111, 0.85);
    background: rgba(74, 124, 111, 0.07);
}

/* ===== FEATURE SHOWCASE (Sticky) ===== */
.feature-showcase {
    background: var(--bg-dark);
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 0;
    position: relative;
}

/* Sticky text column */
.feature-text-col {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 5vw 0 6vw;
}

.feature-text {
    max-width: 420px;
}

.feature-label {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-secondary);
    margin-bottom: 1.75rem;
}

.feature-label .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--brand-terracotta);
    box-shadow: 0 0 10px var(--brand-terracotta);
    flex-shrink: 0;
}

.feature-text h2 {
    font-size: clamp(2.8rem, 3.5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.07;
    margin-bottom: 1.25rem;
    color: var(--text-pure);
}

.feature-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-weight: 400;
    line-height: 1.7;
}

/* Scrolling visuals column */
.feature-visuals-col {
    padding: 12vh 6vw 12vh 4vw;
    display: flex;
    flex-direction: column;
    gap: 8vh;
}

.visual-block {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 380px;
    opacity: 0;
    transform: translateY(50px);
    transition: border-color 0.4s ease;
}

.visual-block:hover {
    border-color: var(--border-mid);
}

.visual-block h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text-pure);
}

.visual-block p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 1.7;
    max-width: 480px;
}

.visual-block-icon {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    display: block;
    line-height: 1;
}

/* Image block */
.visual-block.image-based {
    padding: 0;
    overflow: hidden;
    position: relative;
    min-height: 420px;
}

.visual-block.image-based img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    transition: transform 8s ease, opacity 0.4s ease;
    display: block;
}

.visual-block.image-based:hover img {
    transform: scale(1.05);
    opacity: 0.75;
}

.mock-ui-overlay {
    position: absolute;
    bottom: 2.5rem;
    left: 2.5rem;
    right: 2.5rem;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem 2rem;
}

.mock-ui-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-main);
}

.mock-ui-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.mock-ui-row:first-child {
    padding-top: 0;
}

.mock-ui-icon {
    color: var(--brand-terracotta);
    font-size: 1rem;
    flex-shrink: 0;
}

/* ===== TERMINAL CARD ===== */
.terminal-card {
    margin-top: 1.75rem;
    background: #080808;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
    font-family: 'JetBrains Mono', 'SF Mono', 'Fira Mono', 'Courier New', monospace;
}

.terminal-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1rem;
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.terminal-bar .dot-red,
.terminal-bar .dot-yellow,
.terminal-bar .dot-green {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.terminal-bar .dot-red    { background: #ff5f57; }
.terminal-bar .dot-yellow { background: #ffbd2e; }
.terminal-bar .dot-green  { background: #28c840; }

.terminal-title {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-left: 0.5rem;
    letter-spacing: 0.01em;
}

.terminal-body {
    padding: 1.25rem 1.25rem;
    font-size: 0.78rem;
    line-height: 1.75;
    color: #8fb88a;
    white-space: pre;
    overflow-x: auto;
    background: transparent;
    border: none;
    outline: none;
    margin: 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.08) transparent;
}

.terminal-body code {
    background: none;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

.tc-comment {
    color: #3d6b3a;
    font-style: italic;
}

.tc-dim {
    color: #4a6b47;
}

/* ===== PERFORMANCE LIST ===== */
.perf-list {
    list-style: none;
    margin-top: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.perf-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-subtle);
}

.perf-list li:last-child {
    border-bottom: none;
}

.perf-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-terracotta-dim);
    border-radius: 7px;
    color: var(--brand-terracotta);
    font-size: 0.8rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.perf-list li div {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.perf-list li strong {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-pure);
    letter-spacing: -0.01em;
}

.perf-list li span {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.5;
    font-weight: 400;
}

/* ===== CODE INLINE ===== */
code {
    font-family: 'JetBrains Mono', 'SF Mono', 'Courier New', monospace;
    font-size: 0.88em;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
    padding: 0.1em 0.45em;
    color: var(--brand-sauge);
}

/* ===== Concept tag chips ===== */
.concept-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.75rem;
}

.chip {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    background: rgba(255,255,255,0.03);
    white-space: nowrap;
}

.chip.accent-a {
    border-color: rgba(194, 112, 62, 0.3);
    color: rgba(194, 112, 62, 0.9);
    background: rgba(194, 112, 62, 0.06);
}

.chip.accent-b {
    border-color: rgba(74, 124, 111, 0.3);
    color: rgba(74, 124, 111, 0.9);
    background: rgba(74, 124, 111, 0.06);
}

/* ===== HERO STATS (intégrées au bas du hero) ===== */
.hero-stats {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem 6vw;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    background: transparent;
    z-index: 2;
}

.hero-stat-item {
    flex: 1;
    text-align: center;
    opacity: 0;
    transform: translateY(12px);
}

.hero-stat-divider {
    width: 1px;
    height: 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.stat-item .num {
    font-size: clamp(1.6rem, 2.5vw, 2.4rem);
    font-weight: 800;
    color: var(--text-pure);
    letter-spacing: -0.04em;
    line-height: 1;
    display: block;
}

.stat-item .label {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 0.35rem;
    display: block;
}

/* ===== FINAL CTA ===== */
.final-cta {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 6vw;
    overflow: hidden; /* CRITICAL — clamps the parallax bg inside */
}

.cta-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(to bottom,
            rgba(7, 7, 7, 0.75) 0%,
            rgba(7, 7, 7, 0.4) 40%,
            rgba(7, 7, 7, 0.75) 100%),
        url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?q=80&w=2670&auto=format&fit=crop') center/cover no-repeat;
    z-index: 0;
    will-change: transform;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 750px;
}

.cta-content h2 {
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 800;
    line-height: 1.05;
    color: var(--text-pure);
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(30px);
}

.cta-content .cta-sub {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 3rem;
    font-weight: 400;
    line-height: 1.7;
    opacity: 0;
    transform: translateY(20px);
}

.cta-buttons {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
}


/* ===== LOADER SCREEN ===== */
#site-loader {
    position: fixed;
    inset: 0;
    z-index: 99999; /* au-dessus de tout, y compris #page-transition */
    background: #070707;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.loader-hex {
    width: 52px;
    height: 60px;
    animation: loader-pulse 1.1s ease-in-out infinite alternate;
}

.loader-hex svg {
    width: 100%;
    height: 100%;
    display: block;
}

@keyframes loader-pulse {
    from { opacity: 0.4; transform: scale(0.88); }
    to   { opacity: 1;   transform: scale(1);    }
}

/* ===== PAGE TRANSITION OVERLAY ===== */
#page-transition {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    clip-path: circle(0% at 50% 50%);
    background: var(--brand-terracotta);
    will-change: clip-path;
}

#page-transition.is-active {
    pointer-events: all;
}

#page-transition.enter-from-dashboard {
    background: #0f0f0f;
}

.pt-hex {
    opacity: 0;
    transform: rotate(0deg) scale(0.6);
    will-change: transform, opacity;
}

.pt-hex svg {
    width: 80px;
    height: 93px;
    filter: drop-shadow(0 0 24px rgba(255,255,255,0.3));
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 4px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.2);
}

/* ===== RESPONSIVE ===== */

@media (max-width: 1024px) {
    /* sc-list rows : masquer la description sur tablette */
    .sc-row {
        grid-template-columns: 2rem 2.75rem 1fr auto;
        gap: 0 1.1rem;
        padding: 1.2rem 1.5rem;
    }
    .feature-showcase {
        grid-template-columns: 1fr;
    }
    .feature-text-col {
        position: relative;
        height: auto;
        padding: 8rem 6vw 4rem;
    }
    .feature-text {
        max-width: 100%;
    }
    .feature-visuals-col {
        padding: 4rem 6vw 8rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .nav-access-link {
        display: none;
    }
    /* Value props mobile : colonnes en 1fr */
    .grid-3 {
        grid-template-columns: 1fr;
        border-top: 1px solid #d0cdc9;
    }
    .prop-card {
        padding: 2.5rem 0 2.5rem 0;
        border-right: none;
        border-bottom: 1px solid #d0cdc9;
    }
    .prop-card:last-child {
        border-bottom: none;
    }
    .prop-card:not(:first-child) {
        padding-left: 0;
    }
    .vp-headline {
        font-size: clamp(2.8rem, 9vw, 4rem);
    }
    .hero h1 {
        letter-spacing: -0.03em;
    }
    .hero-cta-wrapper {
        flex-direction: column;
        align-items: stretch;
    }
    .hero-stats {
        gap: 0;
        padding: 1.5rem 4vw;
    }
    .stat-item .num {
        font-size: 1.4rem;
    }
    .stat-item .label {
        font-size: 0.62rem;
    }
    /* Sections showcase mobile */
    .sections-showcase {
        padding: 6rem 4vw;
    }
    /* sc-list : masquer les tags et la description sur mobile */
    .sc-row {
        grid-template-columns: 2rem 2.75rem 1fr;
        padding: 1.1rem 1.25rem;
        gap: 0 0.9rem;
    }
    .sc-row-tags {
        display: none;
    }
    .sc-row-desc {
        font-size: 0.72rem;
    }
    /* Value props header mobile — déjà géré par vp-headline clamp */
    /* Terminal card mobile */
    .terminal-body {
        font-size: 0.68rem;
    }
}

@media (max-width: 480px) {
    .hero-stat-divider {
        display: none;
    }
    .hero-stats {
        flex-wrap: wrap;
        gap: 0.5rem 0;
    }
    .hero-stat-item {
        flex: 0 0 50%;
    }
    /* sc-list ultra-mobile : masquer aussi la description */
    .sc-row-desc {
        display: none;
    }
    .sc-row {
        grid-template-columns: 1.75rem 2.5rem 1fr;
        padding: 1rem 1rem;
        gap: 0 0.75rem;
    }
}
