/* ══════════════════════════════════════════════════════════════
   TOKENS — Paleta índigo editorial
   ══════════════════════════════════════════════════════════════ */
:root {
    --color-ink: #15111F;          /* fundo de seções escuras / texto principal em fundo claro */
    --color-accent: #2E2560;       /* cor de assinatura: botões, links, ícones, destaques */
    --color-accent-hover: #6B5FA8; /* hover/estado ativo do accent */
    --color-surface: #F2EFEA;      /* fundo padrão das seções claras */
    --color-surface-tint: #E4DFF2; /* fundo claro com leve tom lavanda, para blocos de destaque */
    --color-text-muted: #726C7E;   /* texto secundário, legendas, notas */

    --rounded-sm: 0.125rem;
    --rounded: 0.25rem;
    --rounded-md: 0.375rem;
    --rounded-lg: 0.5rem;
    --rounded-xl: 0.75rem;
    --section-gap: 120px;
    --gutter: 24px;
}

/* ── Tema claro (padrão) ── */
:root, [data-theme="light"] {
    --surface-bg: var(--color-surface);
    --surface-text: var(--color-ink);
    --surface-text-muted: var(--color-text-muted);
    --surface-border: rgba(21, 17, 31, 0.1);
    --surface-border-strong: rgba(21, 17, 31, 0.18);
    --card-bg: rgba(21, 17, 31, 0.035);
    --card-bg-hover: rgba(21, 17, 31, 0.06);
    --heading-color: var(--color-ink);
    --icon-chip-bg: var(--color-surface-tint);
    --accent-a: var(--color-accent);
    --accent-b: var(--color-accent-hover);
    --icon-on-accent: var(--color-surface);
    --positive: #1f7a4d;
    --negative: #b3261e;
    --shadow-color: rgba(21, 17, 31, 0.1);
}

/* ── Tema escuro (pontual: hero, CTA, footer) ── */
[data-theme="dark"] {
    background: var(--color-ink);
    color: var(--color-surface);
    --surface-bg: var(--color-ink);
    --surface-text: var(--color-surface);
    --surface-text-muted: rgba(242, 239, 234, 0.68);
    --surface-border: rgba(242, 239, 234, 0.14);
    --surface-border-strong: rgba(242, 239, 234, 0.24);
    --card-bg: rgba(242, 239, 234, 0.06);
    --card-bg-hover: rgba(242, 239, 234, 0.1);
    --heading-color: var(--color-surface);
    --icon-chip-bg: rgba(242, 239, 234, 0.12);
    --accent-a: var(--color-accent-hover);
    --accent-b: var(--color-accent-hover);
    --icon-on-accent: var(--color-surface);
    --positive: #34d399;
    --negative: #f87171;
    --shadow-color: rgba(0, 0, 0, 0.35);
}

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

::selection {
    background: var(--color-accent);
    color: var(--color-surface);
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--surface-text);
    background: var(--surface-bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 { font-family: 'Sora', sans-serif; }

.container { max-width: 1280px; }

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* ── Utilitários de texto (theme-aware) ── */
.text-accent { color: var(--accent-a); }
.text-muted-brand { color: var(--surface-text-muted); }

/* Textura de grid e glows decorativos removidos — fundos chapados */
.tech-grid,
.kinetic-glow,
.kinetic-glow-cyan,
.glow-bg,
.bg-glow { display: none; }

/* ── Glass Card ── */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--surface-border);
    box-shadow: 0 4px 24px -1px var(--shadow-color);
    transition: border-color 0.5s ease, transform 0.3s ease, background 0.35s ease;
}
.glass-card:hover {
    border-color: var(--surface-border-strong);
}

/* ── Buttons ── */
.btn-magenta {
    background: var(--accent-a);
    color: var(--color-surface);
    border: none;
    border-radius: 9999px;
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.btn-magenta:hover {
    background: var(--color-accent-hover);
    color: var(--color-surface);
    transform: scale(1.03);
    box-shadow: 0 8px 24px var(--shadow-color);
}
.btn-magenta:active {
    transform: scale(0.97);
}

.btn-ghost-cyan {
    background: transparent;
    color: var(--accent-a);
    border: 1px solid var(--accent-a);
    border-radius: 9999px;
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
[data-theme="dark"] .btn-ghost-cyan {
    color: var(--color-surface);
    border-color: var(--surface-border-strong);
}
.btn-ghost-cyan:hover {
    background: var(--color-accent);
    color: var(--color-surface);
    border-color: var(--color-accent);
}

/* ── Navbar (sempre clara) ── */
.navbar-triunno {
    background: var(--color-ink);
    border-bottom: 1px solid rgba(242, 239, 234, 0.1);
    transition: padding 0.3s ease;
}
.navbar-triunno .nav-link {
    font-family: 'Sora', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-surface);
    transition: color 0.2s ease;
}
.navbar-triunno .nav-link:hover,
.navbar-triunno .nav-link.active {
    color: var(--color-surface);
}
.navbar-triunno .nav-link:hover {
    opacity: 0.75;
}
.navbar-triunno .nav-link.active {
    border-bottom: 2px solid var(--color-accent-hover);
    padding-bottom: 4px;
}
.navbar-brand-text {
    font-family: 'Sora', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-surface);
    letter-spacing: -0.03em;
}
.navbar-logo {
    height: 32px;
    width: auto;
    display: block;
}
.navbar-triunno.scrolled {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}

/* CTA do header: pill clara sobre a navbar escura, mesma lógica de contraste
   da seção clara abaixo (fundo claro, texto escuro) */
.navbar-triunno .btn-magenta {
    background: var(--color-surface);
    color: var(--color-ink);
}
.navbar-triunno .btn-magenta:hover {
    background: var(--color-surface);
    color: var(--color-ink);
    opacity: 0.85;
}

/* ── Navbar Toggler (ícone hamburger em tinta clara) ── */
.navbar-triunno .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(242, 239, 234, 0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ── Navbar Dropdown ── */
.navbar-triunno .dropdown-toggle::after {
    vertical-align: 0.12em;
    opacity: 0.6;
    transition: transform 0.25s ease;
}
.navbar-triunno .dropdown-menu {
    background: var(--color-ink);
    border: 1px solid rgba(242, 239, 234, 0.12);
    border-radius: var(--rounded-lg);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
    padding: 0.6rem;
    min-width: 260px;
}
.navbar-triunno .dropdown-item {
    display: block;
    font-family: 'Sora', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(242, 239, 234, 0.7);
    border-radius: var(--rounded-md);
    padding: 0.55rem 0.75rem;
    transition: background 0.2s ease, color 0.2s ease;
}
.navbar-triunno .dropdown-item:hover,
.navbar-triunno .dropdown-item:focus {
    background: rgba(242, 239, 234, 0.08);
    color: var(--color-surface);
}
.navbar-triunno .dropdown-item-overview {
    color: var(--color-surface);
    font-weight: 700;
}
.navbar-triunno .dropdown-divider {
    border-color: rgba(242, 239, 234, 0.12);
    opacity: 1;
    margin: 0.4rem 0.25rem;
}

@media (min-width: 992px) {
    .navbar-triunno .dropdown-menu {
        display: block;
        position: absolute;
        top: 100%;
        margin-top: 0.9rem;
        opacity: 0;
        visibility: hidden;
        transform: translateY(8px);
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    }
    /* ponte invisível para o cursor não "cair" entre o link e o menu */
    .navbar-triunno .nav-item.dropdown::after {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        height: 1rem;
        bottom: -1rem;
    }
    .navbar-triunno .nav-item.dropdown {
        position: relative;
    }
    .navbar-triunno .nav-item.dropdown:hover > .dropdown-menu,
    .navbar-triunno .nav-item.dropdown:focus-within > .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    .navbar-triunno .nav-item.dropdown:hover > .dropdown-toggle::after {
        transform: rotate(180deg);
    }
}
@media (max-width: 991.98px) {
    .navbar-triunno .dropdown-menu {
        background: rgba(242, 239, 234, 0.05);
        box-shadow: none;
        margin: 0.25rem 0 0.5rem;
    }
    /* Menu mobile aberto vira um painel de tela cheia, para não deixar o
       conteúdo da página "escapando" por baixo da lista de links. */
    .navbar-triunno:has(#navMenu.show),
    .navbar-triunno:has(#navMenu.collapsing) {
        min-height: 100vh;
        min-height: 100dvh;
    }
    .navbar-triunno .navbar-collapse {
        max-height: calc(100vh - 90px);
        max-height: calc(100dvh - 90px);
        overflow-y: auto;
    }
}

/* ── Page Hero (sub-páginas) ── */
.page-hero {
    min-height: auto;
    padding-top: 180px;
    padding-bottom: 90px;
}
.page-hero .breadcrumb-triunno {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Sora', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}
.breadcrumb-triunno a {
    color: var(--surface-text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}
.breadcrumb-triunno a:hover { color: var(--accent-a); }
.breadcrumb-triunno .sep { color: var(--surface-border-strong); }
.breadcrumb-triunno .current { color: var(--surface-text); }

/* ── Stat Strip (sub-páginas) ── */
.stat-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--surface-border);
    border-radius: var(--rounded-lg);
    overflow: hidden;
}
.stat-strip-item {
    padding: 1.75rem 1.5rem;
    border-right: 1px solid var(--surface-border);
    background: var(--card-bg);
}
.stat-strip-item:last-child { border-right: none; }
.stat-strip-value {
    font-family: 'Sora', sans-serif;
    font-size: clamp(1.6rem, 2.6vw, 2.4rem);
    font-weight: 800;
    color: var(--heading-color);
    line-height: 1.1;
    margin: 0 0 0.3rem;
}
.stat-strip-value .accent-cyan { color: var(--accent-b); }
.stat-strip-value .accent-magenta { color: var(--accent-a); }
.stat-strip-label {
    font-size: 0.8rem;
    color: var(--surface-text-muted);
    margin: 0;
}

/* ── Numbered Process ── */
.process-list {
    counter-reset: process;
    display: flex;
    flex-direction: column;
}
.process-step {
    counter-increment: process;
    display: grid;
    grid-template-columns: 80px 1fr 1.2fr;
    gap: 2rem;
    align-items: start;
    padding: 2.25rem 0;
    border-bottom: 1px solid var(--surface-border);
}
.process-step:first-child { border-top: 1px solid var(--surface-border); }
.process-step::before {
    content: counter(process, decimal-leading-zero);
    font-family: 'Sora', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-a);
    line-height: 1.2;
}
.process-step:nth-child(even)::before { color: var(--accent-b); }
.process-step h3 {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--heading-color);
    margin: 0;
}
.process-step p {
    font-size: 0.95rem;
    color: var(--surface-text-muted);
    line-height: 1.65;
    margin: 0;
}

/* ── Agent Cards ── */
.agent-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.agent-card {
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--surface-border);
    border-radius: var(--rounded-xl);
    padding: 2rem 1.75rem;
    overflow: hidden;
    transition: border-color 0.4s ease, transform 0.3s ease, background 0.35s ease;
}
.agent-card:hover,
.agent-card.agent-card-magenta:hover {
    transform: translateY(-4px);
    border-color: var(--surface-border-strong);
    background: var(--card-bg-hover);
}
.agent-card-status {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: 'Sora', sans-serif;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-a);
    background: var(--icon-chip-bg);
    border: 1px solid var(--surface-border-strong);
    border-radius: 999px;
    padding: 0.22rem 0.7rem;
    margin-bottom: 1.25rem;
}
.agent-card-magenta .agent-card-status {
    color: var(--accent-b);
}
.agent-card-status .dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
    animation: pulse-dot 2s infinite;
}
.agent-card-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--rounded-lg);
    background: var(--icon-chip-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}
.agent-card-icon .material-symbols-outlined {
    font-size: 26px;
    color: var(--accent-a);
}
.agent-card-magenta .agent-card-icon .material-symbols-outlined {
    color: var(--accent-b);
}
.agent-card h3 {
    font-size: 1.1875rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--heading-color);
    margin-bottom: 0.6rem;
}
.agent-card p {
    font-size: 0.9375rem;
    color: var(--surface-text-muted);
    line-height: 1.65;
    margin: 0;
}
.agent-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--rounded-lg);
    background: var(--icon-chip-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}
.agent-icon .material-symbols-outlined { font-size: 26px; color: var(--accent-a); }
.agent-icon-cyan .material-symbols-outlined { color: var(--accent-b); }

/* ── Detail Split (seções alternadas) ── */
.detail-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 6vw, 5.5rem);
    align-items: center;
}
.detail-eyebrow {
    font-family: 'Sora', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent-a);
    display: block;
    margin-bottom: 1rem;
}
.detail-eyebrow.magenta { color: var(--accent-b); }
.detail-split h2 {
    font-size: clamp(1.6rem, 2.5vw, 2.25rem);
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -0.015em;
    color: var(--heading-color);
    margin-bottom: 1.25rem;
}
.detail-split .lead-copy {
    font-size: 1.0625rem;
    color: var(--surface-text-muted);
    line-height: 1.7;
    margin-bottom: 1.75rem;
}
.detail-checks {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}
.detail-checks li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.93rem;
    color: var(--surface-text);
    line-height: 1.6;
}
.detail-checks .material-symbols-outlined {
    font-size: 19px;
    color: var(--accent-a);
    flex-shrink: 0;
    margin-top: 2px;
}
.detail-checks.magenta .material-symbols-outlined { color: var(--accent-b); }

/* ── Tech Stack Chips ── */
.stack-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}
.stack-chip {
    font-family: 'Sora', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--surface-text);
    background: var(--card-bg);
    border: 1px solid var(--surface-border);
    border-radius: 999px;
    padding: 0.45rem 1rem;
    transition: border-color 0.3s ease, color 0.3s ease;
    cursor: default;
}
.stack-chip:hover {
    border-color: var(--accent-a);
    color: var(--accent-a);
}

/* ── CTA Banner (sempre escuro) ── */
.cta-banner {
    position: relative;
    border: 1px solid var(--surface-border-strong);
    border-radius: var(--rounded-xl);
    background: var(--card-bg);
    padding: clamp(2.5rem, 6vw, 4.5rem);
    text-align: center;
    overflow: hidden;
}
.cta-banner h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--heading-color);
    margin-bottom: 1rem;
}
.cta-banner p {
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--surface-text-muted);
    max-width: 560px;
    margin: 0 auto 2rem;
}

@media (max-width: 991.98px) {
    .stat-strip { grid-template-columns: repeat(2, 1fr); }
    .stat-strip-item:nth-child(2) { border-right: none; }
    .stat-strip-item:nth-child(-n+2) { border-bottom: 1px solid var(--surface-border); }
    .agent-grid { grid-template-columns: repeat(2, 1fr); }
    .detail-split { grid-template-columns: 1fr; }
    .process-step { grid-template-columns: 56px 1fr; }
    .process-step p { grid-column: 2; }
}
@media (max-width: 767.98px) {
    .page-hero { padding-top: 140px; padding-bottom: 64px; }
    .agent-grid { grid-template-columns: 1fr; }
    .stat-strip { grid-template-columns: 1fr; }
    .stat-strip-item { border-right: none; border-bottom: 1px solid var(--surface-border); }
    .stat-strip-item:last-child { border-bottom: none; }
}

/* ── Hero ── */
.hero-section {
    min-height: 100vh;
    padding-top: 140px;
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
}
.hero-section .tech-grid-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.hero-title {
    font-size: clamp(2.25rem, 4.4vw, 4rem);
    font-weight: 800;
    line-height: 1.07;
    letter-spacing: -0.02em;
    color: var(--heading-color);
}
.hero-title .accent {
    color: var(--accent-a);
}
.hero-subtitle {
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--surface-text-muted);
}
.hero-image-wrap {
    position: relative;
}
.hero-image-wrap img {
    position: relative;
    border-radius: var(--rounded-xl);
    border: 1px solid var(--surface-border);
    box-shadow: 0 24px 64px var(--shadow-color);
    width: 100%;
    height: auto;
}
.hero-diag {
    color: var(--accent-a);
    font-weight: 700;
    font-size: 0.875rem;
}
.hero-diag-sub {
    color: var(--surface-text-muted);
    font-size: 0.75rem;
}

/* ── Brands ── */
.brands-section {
    border-top: 1px solid var(--surface-border);
    border-bottom: 1px solid var(--surface-border);
}
.brands-section .brand-name {
    font-family: 'Sora', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--surface-text);
    letter-spacing: -0.02em;
    opacity: 0.35;
    transition: opacity 0.5s ease;
    cursor: default;
}
.brands-section .brand-name:hover {
    opacity: 0.8;
}

/* ── Label Caps ── */
.label-caps {
    font-family: 'Sora', sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* ── Metric Value ── */
.metric-value {
    font-family: 'Sora', sans-serif;
    font-size: clamp(1.5rem, 2.4vw, 2.1rem);
    font-weight: 700;
    line-height: 1.12;
    color: var(--heading-color);
}

/* ── Section Headings ── */
.section-heading {
    font-size: clamp(1.85rem, 2.8vw, 2.6rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.018em;
    color: var(--heading-color);
}
.section-subheading {
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--surface-text-muted);
}

/* ── Results Section ── */
.result-card {
    padding: 3rem 2rem;
    border-radius: var(--rounded-xl);
    text-align: center;
    min-height: 100%;
    background: var(--color-surface-tint) !important;
    border-color: transparent !important;
}
.result-card .icon-wrap {
    margin-bottom: 1rem;
}
.result-card .icon-wrap .material-symbols-outlined {
    font-size: 48px;
}
.result-card .result-label {
    color: var(--color-text-muted);
}
.result-card-cyan {
    border-bottom: 2px solid var(--color-accent-hover) !important;
}
.result-card-cyan .icon-wrap .material-symbols-outlined {
    color: var(--color-accent-hover);
}
.result-card-magenta {
    border-bottom: 2px solid var(--color-accent) !important;
}
.result-card-magenta .icon-wrap .material-symbols-outlined {
    color: var(--color-accent);
}
.result-card .metric-value { color: var(--color-ink); }

/* ── Journey Section ── */
.journey-section {
    position: relative;
    overflow: hidden;
}
.journey-step {
    text-align: center;
    height: 100%;
}
/* Trilha de fluxo: liga o centro de cada ícone ao anterior. O ícone tem
   fundo opaco e z-index acima, então a linha "passa por trás" dele.
   Quebra no primeiro item de cada linha do grid, por breakpoint.
   O seletor mira a coluna (.row > div), não .journey-step, porque cada
   .journey-step é filho único da sua coluna — nth-child nele sempre
   contaria como "1º filho" e nunca funcionaria. */
.journey-section .row > div {
    position: relative;
}
.journey-section .row > div::before {
    content: '';
    position: absolute;
    top: 40px;
    left: -50%;
    width: 100%;
    height: 0;
    border-top: 1.5px dashed var(--surface-border-strong);
    z-index: 0;
}
/* Faixas mutuamente exclusivas: cada breakpoint tem sua própria regra
   nth-child isolada, sem tentar "resetar" a de outra faixa (regras com
   a mesma especificidade não se sobrepõem de faixas diferentes). */
@media (max-width: 767.98px) {
    .journey-section .row > div:nth-child(2n+1)::before { display: none; }
}
@media (min-width: 768px) and (max-width: 991.98px) {
    .journey-section .row > div:nth-child(3n+1)::before { display: none; }
}
@media (min-width: 992px) {
    .journey-section .row > div:nth-child(4n+1)::before { display: none; }
}
.journey-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 2;
    background: var(--surface-bg);
    border: 1px solid var(--surface-border-strong) !important;
    transition: border-color 0.5s ease;
}
.journey-icon .material-symbols-outlined {
    font-size: 32px;
}
.journey-icon-cyan:hover {
    border-color: var(--accent-b) !important;
}
.journey-icon-cyan .material-symbols-outlined {
    color: var(--accent-b);
}
.journey-icon-magenta:hover {
    border-color: var(--accent-a) !important;
}
.journey-icon-magenta .material-symbols-outlined {
    color: var(--accent-a);
}
.journey-step h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 0.5rem;
}
.journey-step p {
    font-size: 0.875rem;
    color: var(--surface-text-muted);
    margin: 0;
}
.journey-cta {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

/* ── Growth Bento ── */
.bento-phase {
    border-radius: var(--rounded-xl);
    padding: clamp(1.75rem, 2.2vw, 2.25rem);
    position: relative;
    overflow: hidden;
}
.phase-label {
    font-weight: 700;
    margin-bottom: 0.75rem;
    display: block;
}
.phase-label-magenta { color: var(--accent-a); }
.phase-label-cyan { color: var(--accent-b); }
.bento-phase h3 {
    font-size: clamp(1.2rem, 1.4vw, 1.35rem);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: var(--heading-color);
    margin-bottom: 0.6rem;
}
.bento-phase p {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--surface-text-muted);
    margin: 0;
}
.bento-side-icon {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: var(--icon-chip-bg);
}
.bento-side-icon .material-symbols-outlined {
    font-size: 40px;
}
.bento-side-cyan .material-symbols-outlined {
    color: var(--accent-b);
}
.bento-side-magenta .material-symbols-outlined {
    color: var(--accent-a);
}

/* ── Services (legado, mantido por segurança) ── */
.service-col {
    padding: 0.25rem;
    border-bottom: 1px solid var(--surface-border);
    transition: border-color 0.5s ease;
    height: 100%;
}
.service-col:hover {
    border-color: var(--accent-a);
}
.row > div:nth-child(even) .service-col:hover {
    border-color: var(--accent-b);
}
.service-col .service-tag {
    color: var(--surface-text-muted);
    opacity: 0.8;
}
.service-col h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 1rem;
}
.service-col p {
    font-size: 0.875rem;
    color: var(--surface-text-muted);
    margin-bottom: 1.5rem;
}
.tech-chip {
    display: inline-block;
    background: var(--card-bg);
    border: 1px solid var(--surface-border);
    padding: 0.25rem 0.75rem;
    border-radius: var(--rounded);
    font-size: 0.75rem;
    color: var(--surface-text);
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

/* ── FAQ ── */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.faq-item {
    border: 1px solid var(--surface-border);
    border-radius: var(--rounded-lg);
    background: var(--card-bg);
    padding: 1.25rem 1.5rem;
    transition: border-color 0.3s ease, background 0.3s ease;
}
.faq-item[open] {
    border-color: var(--accent-a);
    background: var(--card-bg-hover);
}
.faq-item summary {
    color: var(--heading-color);
    cursor: pointer;
    font-family: 'Sora', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    list-style: none;
    padding-right: 2rem;
    position: relative;
}
.faq-item summary::-webkit-details-marker {
    display: none;
}
.faq-item summary::after {
    content: '+';
    color: var(--accent-a);
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}
.faq-item[open] summary::after {
    content: '-';
}
.faq-item p {
    color: var(--surface-text-muted);
    line-height: 1.7;
    margin: 1rem 0 0;
}

/* ── Differentiation ── */
.diff-section {
    position: relative;
    overflow: hidden;
}
.diff-card {
    border-radius: 1rem;
    border-color: var(--surface-border-strong) !important;
}
.diff-item {
    display: flex;
    gap: 1.5rem;
}
.diff-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.diff-icon-magenta {
    background: var(--color-accent);
}
.diff-icon-magenta .material-symbols-outlined { color: var(--color-surface); }
.diff-icon-cyan {
    background: var(--color-accent-hover);
}
.diff-icon-cyan .material-symbols-outlined { color: var(--color-surface); }
.diff-item h4 {
    font-size: 1.1875rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--heading-color);
    margin-bottom: 0.5rem;
}
.diff-item p {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--surface-text-muted);
    margin: 0;
}
.cta-headline {
    font-family: 'Sora', sans-serif;
    font-size: clamp(1.85rem, 3.6vw, 2.85rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--heading-color);
}

/* ── Footer (tom mais profundo que a seção anterior — não repete o mesmo
   escuro do CTA, dá um "chão" próprio para a página) ── */
.footer-triunno {
    background: #0a0710;
    border-top: 1px solid rgba(242, 239, 234, 0.08);
}
.footer-panel {
    padding: 0;
}
.footer-logo {
    height: 30px;
    width: auto;
    display: block;
}
.footer-copy {
    color: rgba(242, 239, 234, 0.5);
    line-height: 1.65;
    max-width: 400px;
}
.footer-title {
    font-family: 'Sora', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(242, 239, 234, 0.38);
    margin-bottom: 1.15rem;
}
.footer-status {
    color: rgba(242, 239, 234, 0.5);
    font-size: 0.875rem;
}
.footer-link {
    color: rgba(242, 239, 234, 0.8);
    text-decoration: none;
    font-size: 0.925rem;
    transition: color 0.2s ease;
}
.footer-link:hover {
    color: var(--color-accent-hover);
}
.footer-social {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(242, 239, 234, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(242, 239, 234, 0.6);
    transition: border-color 0.3s ease, color 0.3s ease;
}
.footer-social:hover {
    border-color: var(--color-accent-hover);
    color: var(--color-accent-hover);
}
.footer-social .material-symbols-outlined {
    font-size: 18px;
}
.footer-social svg { display: block; }
.footer-bottom {
    border-top: 1px solid rgba(242, 239, 234, 0.08);
    color: rgba(242, 239, 234, 0.4);
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    justify-content: space-between;
    margin-top: 3.5rem;
    padding-top: 1.5rem;
    font-size: 0.8rem;
    letter-spacing: 0.01em;
}
.footer-bottom strong {
    color: var(--color-accent-hover);
    font-weight: 600;
}

/* ── Scroll Reveal ── */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ── Spacing ── */
.py-section { padding-top: var(--section-gap); padding-bottom: var(--section-gap); }

/* ── Performance Section (legado, mantido por segurança) ── */
.perf-header {
    max-width: 580px;
    margin-bottom: 4rem;
}
.perf-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}
.perf-card {
    position: relative;
    padding: 2.25rem 2rem 2rem;
    background: var(--card-bg);
    border: 1px solid var(--surface-border);
    border-top: 2px solid var(--accent-b);
    border-radius: var(--rounded-lg);
    display: flex;
    flex-direction: column;
    transition: background 0.35s ease, transform 0.3s ease, box-shadow 0.35s ease;
}
.perf-card--magenta {
    border-top-color: var(--accent-a);
}
.perf-card:hover {
    background: var(--card-bg-hover);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px var(--shadow-color);
}
.perf-service-tag {
    color: var(--accent-b);
    display: block;
    margin-bottom: 1.1rem;
}
.perf-card--magenta .perf-service-tag {
    color: var(--accent-a);
}
.perf-card-title {
    font-family: 'Sora', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--heading-color);
    line-height: 1.3;
    margin-bottom: 1rem;
}
.perf-card-desc {
    font-size: 0.9rem;
    color: var(--surface-text-muted);
    line-height: 1.75;
    margin-bottom: 0;
    flex-grow: 1;
}
.perf-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 1.75rem;
}
.perf-cta {
    text-align: center;
    margin-top: 4.5rem;
}

/* ── Service Tabs (legado, mantido por segurança) ── */
.service-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--surface-border);
    margin-bottom: 3.5rem;
    overflow-x: auto;
    scrollbar-width: none;
}
.service-tabs::-webkit-scrollbar { display: none; }
.service-tab-btn {
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    color: var(--surface-text-muted);
    font-family: 'Sora', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.75rem 1.75rem;
    cursor: pointer;
    white-space: nowrap;
    margin-bottom: -1px;
    transition: color 0.25s ease, border-color 0.25s ease;
}
.service-tab-btn:hover {
    color: var(--surface-text);
}
.service-tab-btn.active {
    color: var(--accent-b);
    border-bottom-color: var(--accent-b);
}
.service-tab-btn.active-magenta {
    color: var(--accent-a);
    border-bottom-color: var(--accent-a);
}
.service-panel {
    display: none;
}
.service-panel.active {
    display: block;
}

/* ── Hero Photo ─────────────────────────────────────────── */
.hero-photo {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--surface-border-strong);
    box-shadow: 0 32px 80px var(--shadow-color);
}
.hero-photo img {
    display: block;
    width: 100%;
    aspect-ratio: 5 / 4;
    object-fit: cover;
    filter: saturate(0.9) contrast(1.03);
}
.hero-photo-kpis {
    position: absolute;
    left: 1.1rem;
    right: 1.1rem;
    bottom: 1.1rem;
    z-index: 2;
    display: flex;
    gap: 0.7rem;
}
.hp-kpi {
    flex: 1;
    background: rgba(21, 17, 31, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(242, 239, 234, 0.14);
    border-radius: 12px;
    padding: 0.7rem 0.9rem;
    min-width: 0;
}
.hp-kpi-value {
    display: block;
    font-family: 'Sora', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-surface);
    line-height: 1.25;
    white-space: nowrap;
}
.hp-kpi-label {
    display: block;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: rgba(242, 239, 234, 0.6);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
@media (max-width: 575.98px) {
    .hp-kpi { padding: 0.55rem 0.65rem; }
    .hp-kpi-value { font-size: 1rem; }
    .hp-kpi-label { font-size: 0.55rem; }
}

/* ── Hero Dashboard Widget (card claro/escuro conforme seção) ─ */
.hero-dash {
    background: var(--card-bg);
    border: 1px solid var(--surface-border);
    border-radius: 16px;
    padding: 1.75rem;
    box-shadow: 0 24px 60px var(--shadow-color);
}
.hdash-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--surface-border);
    margin-bottom: 1.25rem;
}
.hdash-metric {
    padding: 0 1rem;
    border-right: 1px solid var(--surface-border);
}
.hdash-metric:first-child { padding-left: 0; }
.hdash-metric:last-child  { border-right: none; }
.hdash-metric-label {
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--surface-text-muted);
    margin: 0 0 0.35rem;
}
.hdash-metric-value {
    font-family: 'Sora', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--heading-color);
    margin: 0 0 0.2rem;
    line-height: 1;
}
.hdash-metric-delta {
    font-size: 0.68rem;
    margin: 0;
}
.hdash-metric-delta.positive { color: var(--positive); }
.hdash-metric-delta.negative { color: var(--negative); }
.hdash-chart { margin-bottom: 1rem; }
.hdash-chart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}
.hdash-chart-title {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--surface-text-muted);
    margin: 0;
}
.hdash-chart-tag {
    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--accent-a);
    background: var(--icon-chip-bg);
    border: 1px solid var(--surface-border-strong);
    border-radius: 999px;
    padding: 0.18rem 0.65rem;
}
.hdash-chart-svg { width: 100%; display: block; }
.hdash-months {
    display: flex;
    justify-content: space-between;
    margin-top: 0.4rem;
}
.hdash-months span {
    font-size: 0.58rem;
    color: var(--surface-text-muted);
}
.hdash-insight {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.8rem 1rem;
    background: var(--icon-chip-bg);
    border: 1px solid var(--surface-border);
    border-radius: 10px;
    margin-top: 1.25rem;
}
.hdash-insight .material-symbols-outlined {
    font-size: 16px;
    color: var(--accent-a);
    font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 20;
    flex-shrink: 0;
    margin-top: 1px;
}
.hdash-insight p {
    font-size: 0.72rem;
    line-height: 1.55;
    color: var(--surface-text);
    margin: 0;
}

/* ── Trai Stat (usado no hero do e-commerce) ───────────────── */
.trai-stat {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.trai-stat-value {
    font-family: 'Sora', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--heading-color);
    line-height: 1.1;
}
.trai-stat-label {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--surface-text-muted);
}

/* ── Triunno AI Section ─────────────────────────────────── */
.trai-section {
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--surface-border);
    border-bottom: 1px solid var(--surface-border);
}
.trai-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 3.5rem;
}

/* Dashboard mockup — sempre escuro (representa um print de produto) */
.trai-mockup {
    margin-bottom: 3.5rem;
}
.trai-mock-window {
    background: #0b0c0f;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.07);
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.04);
    pointer-events: none;
    user-select: none;
    font-family: 'Inter', sans-serif;
}
.trai-mock-topbar {
    background: rgba(255,255,255,0.03);
    border-bottom: 1px solid rgba(255,255,255,0.07);
    padding: 0.6rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.trai-mock-search {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 8px;
    padding: 0.35rem 0.75rem;
    color: rgba(255,255,255,0.3);
    font-size: 0.75rem;
}
.trai-mock-search .material-symbols-outlined {
    font-size: 15px;
    font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 20;
}
.trai-mock-user {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.trai-mock-notif-icon {
    font-size: 18px;
    color: rgba(255,255,255,0.3);
    font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 20;
}
.trai-mock-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--color-accent-hover);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    font-weight: 700;
    color: #fff;
}
.trai-mock-content { padding: 1.25rem 1.5rem 1.5rem; }
.trai-mock-page-header { margin-bottom: 1rem; }
.trai-mock-page-header h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.1rem;
}
.trai-mock-page-header p {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.35);
    margin: 0;
}
.trai-mock-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin-bottom: 1rem;
}
.trai-mock-stat {
    background: rgba(255,255,255,0.03);
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.07);
    padding: 0.875rem 1rem;
}
.trai-mock-stat-label {
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.3);
    margin: 0 0 0.4rem;
}
.trai-mock-stat-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.2rem;
}
.trai-mock-stat-change {
    font-size: 0.65rem;
    margin: 0;
}
.trai-mock-stat-change.negative { color: #f87171; }
.trai-mock-stat-change.positive { color: #34d399; }
.trai-mock-main {
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: 0.875rem;
}
.trai-mock-calendar {
    background: rgba(255,255,255,0.03);
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.07);
    padding: 1rem 1.125rem;
}
.trai-mock-cal-header {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 0.875rem;
}
.trai-mock-cal-header .material-symbols-outlined {
    font-size: 16px;
    color: var(--color-accent-hover);
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 20;
    margin-top: 2px;
    flex-shrink: 0;
    opacity: 0.9;
}
.trai-mock-cal-title {
    font-size: 0.78rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}
.trai-mock-cal-sub {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.3);
    margin: 0;
}
.trai-mock-cal-controls {
    margin-left: auto;
    display: flex;
    gap: 0.2rem;
    flex-shrink: 0;
}
.trai-mock-cal-tab {
    font-size: 0.65rem;
    padding: 0.18rem 0.55rem;
    border-radius: 6px;
    color: rgba(255,255,255,0.3);
}
.trai-mock-cal-tab.active {
    background: rgba(255,255,255,0.08);
    color: #fff;
    font-weight: 600;
}
.trai-mock-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}
.trai-mock-cal-label {
    font-size: 0.6rem;
    font-weight: 600;
    color: rgba(255,255,255,0.25);
    text-align: center;
    padding: 0.2rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.trai-mock-cal-day {
    font-size: 0.68rem;
    color: rgba(255,255,255,0.5);
    padding: 0.3rem 0.4rem;
    min-height: 2.2rem;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    position: relative;
}
.trai-mock-cal-muted { opacity: 0; }
.trai-mock-cal-today > span {
    display: inline-flex;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--color-accent-hover);
    color: #fff;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.62rem;
}
.trai-mock-event-bar {
    display: block;
    font-size: 0.58rem;
    padding: 0.08rem 0.3rem;
    border-radius: 3px;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.trai-mock-event-bar.pink { background: rgba(107,95,168,0.28); color: #fff; }
.trai-mock-event-bar.rose { background: rgba(107,95,168,0.18); height: 5px; }
.trai-mock-campaigns-footer {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.trai-mock-cam-label {
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.25);
}
.trai-mock-cam-tag {
    font-size: 0.62rem;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
}
.trai-mock-cam-tag.pink  { background: rgba(107,95,168,0.3); color: #fff; }
.trai-mock-cam-tag.rose  { background: rgba(107,95,168,0.18); color: #fff; }
.trai-mock-cam-tag.green { background: rgba(52,211,153,0.15); color: #34d399; }
.trai-mock-quick {
    background: rgba(255,255,255,0.03);
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.07);
    padding: 1rem;
}
.trai-mock-quick-title {
    font-size: 0.72rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.75rem;
}
.trai-mock-quick-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}
.trai-mock-quick-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.65rem 0.6rem;
    border-radius: 8px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    font-size: 0.68rem;
    font-weight: 500;
    color: rgba(255,255,255,0.6);
}
.trai-mock-quick-btn .material-symbols-outlined {
    font-size: 15px;
    color: var(--color-accent-hover);
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 20;
    flex-shrink: 0;
}
.trai-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--accent-a);
    border: 1px solid var(--surface-border-strong);
    border-radius: 999px;
    padding: 0.35rem 0.875rem;
    margin-bottom: 1.75rem;
}
.trai-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-a);
    animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.3; }
}
.trai-title {
    font-family: 'Sora', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--heading-color);
    margin-bottom: 1.25rem;
    line-height: 1.1;
}
.trai-sub {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--surface-text-muted);
    max-width: 620px;
    margin: 0 auto 3.5rem;
}
.trai-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border: 1px solid var(--surface-border);
    border-radius: var(--rounded-lg);
    overflow: hidden;
    margin-bottom: 3rem;
    text-align: left;
}
.trai-feat {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 2rem 1.75rem;
    border-right: 1px solid var(--surface-border);
    transition: background 0.3s ease;
}
.trai-feat:last-child {
    border-right: none;
}
.trai-feat:hover {
    background: var(--card-bg);
}
.trai-feat-icon {
    font-size: 1.25rem;
    color: var(--accent-a);
    font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
}
.trai-feat-name {
    font-family: 'Sora', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--heading-color);
    margin: 0;
}
.trai-feat-desc {
    font-size: 0.845rem;
    line-height: 1.6;
    color: var(--surface-text-muted);
    margin: 0;
}
.trai-cta {
    display: flex;
    justify-content: center;
}

/* ── Clean Services Grid ────────────────────────────────── */
.svc-heading {
    text-align: center;
    max-width: 660px;
    margin: 0 auto 3.25rem;
}
.svc-subheading {
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--surface-text-muted);
    margin-top: 1rem;
    margin-bottom: 0;
}
.svc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--surface-border);
    border-left: 1px solid var(--surface-border);
}
.svc-cell {
    border-right: 1px solid var(--surface-border);
    border-bottom: 1px solid var(--surface-border);
    padding: 2.25rem 2rem;
    transition: background 0.3s ease;
}
.svc-cell:hover {
    background: var(--card-bg);
}
.svc-cell-header {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 0.875rem;
}
.svc-icon {
    font-size: 1.125rem;
    color: var(--accent-a);
    font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 20;
    flex-shrink: 0;
}
.svc-name {
    font-family: 'Sora', sans-serif;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--heading-color);
    line-height: 1.3;
}
.svc-desc {
    font-size: 0.875rem;
    line-height: 1.65;
    color: var(--surface-text-muted);
    margin: 0;
}

/* ── Mobile ── */
@media (max-width: 991.98px) {
    .perf-grid    { grid-template-columns: repeat(2, 1fr); }
    .svc-grid     { grid-template-columns: repeat(2, 1fr); }
    .trai-features { grid-template-columns: 1fr; }
    .trai-feat    { border-right: none; border-bottom: 1px solid var(--surface-border); }
    .trai-feat:last-child { border-bottom: none; }
}

@media (max-width: 767.98px) {
    .hero-title { font-size: 2rem; }
    .section-heading { font-size: 1.75rem; }
    .cta-headline { font-size: 1.75rem; }
    .py-section { padding-top: 64px; padding-bottom: 64px; }
    .bento-phase { padding: 1.75rem; }
    .bento-side-icon { width: 64px; height: 64px; }
    .bento-side-icon .material-symbols-outlined { font-size: 28px; }
    .perf-grid { grid-template-columns: 1fr; }
    .perf-card { padding: 1.75rem 1.5rem 1.5rem; }
    .perf-cta { margin-top: 3rem; }
    .service-tab-btn { padding: 0.65rem 1.1rem; font-size: 0.75rem; }
    .svc-grid  { grid-template-columns: 1fr; }
    .svc-cell  { padding: 1.75rem 1.5rem; }
    .trai-title { font-size: 2.25rem; }
}

/* ── Cookie Consent ─────────────────────────────────────── */
.cookie-consent {
    position: fixed;
    left: 1.25rem;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 1080;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.5rem;
    max-width: 920px;
    margin: 0 auto;
    background: var(--color-surface);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(21, 17, 31, 0.1);
    border-radius: var(--rounded-xl);
    box-shadow: 0 24px 60px rgba(21, 17, 31, 0.18);
    padding: 1.25rem 1.5rem;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
}
.cookie-consent.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.cookie-consent-text p {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--color-text-muted);
}
.cookie-consent-text a {
    color: var(--color-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.cookie-consent-actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}
.cookie-consent-actions .btn {
    font-size: 0.8rem;
    white-space: nowrap;
}
@media (max-width: 575.98px) {
    .cookie-consent { left: 0.75rem; right: 0.75rem; bottom: 0.75rem; padding: 1.1rem 1.25rem; }
    .cookie-consent-actions { width: 100%; }
    .cookie-consent-actions .btn { flex: 1; }
}
