/* ===========================================
   LOGICDATA — Dark Tech Theme
   =========================================== */

:root {
    --bg-dark:        #0A0E1A;
    --bg-card:        #0F1528;
    --accent:         #00D4FF;
    --accent-dim:     rgba(0, 212, 255, 0.12);
    --text-primary:   #F0F4FF;
    --text-secondary: #8A9BBE;
    --border:         rgba(0, 212, 255, 0.14);
    --font:           'Inter', sans-serif;
    --radius:         12px;
    --ease:           0.3s ease;
    --shadow-accent:  0 8px 32px rgba(0, 212, 255, 0.18);
}

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ----- Container ----- */
.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

.accent { color: var(--accent); }

/* ===========================================
   BUTTONS
   =========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 8px;
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all var(--ease);
    white-space: nowrap;
}

.btn--primary {
    background: var(--accent);
    color: #0A0E1A;
}
.btn--primary:hover {
    background: #33DEFF;
    transform: translateY(-2px);
    box-shadow: var(--shadow-accent);
}

.btn--outline {
    background: transparent;
    color: var(--accent);
    border: 1.5px solid var(--accent);
}
.btn--outline:hover {
    background: var(--accent-dim);
    transform: translateY(-2px);
}

.btn--lg {
    padding: 18px 42px;
    font-size: 1.05rem;
}

/* ===========================================
   HEADER / NAV
   =========================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: rgba(10, 14, 26, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: background var(--ease), box-shadow var(--ease);
}

.header.scrolled {
    background: rgba(10, 14, 26, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 var(--border);
}

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

.nav__logo {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: opacity var(--ease);
}
.nav__logo:hover { opacity: 0.85; }

.logo-icon {
    color: var(--accent);
    font-size: 1.45rem;
    line-height: 1;
}

.nav__menu {
    display: flex;
    gap: 36px;
}

.nav__link {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--ease);
    position: relative;
}
.nav__link::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--accent);
    transition: width var(--ease);
}
.nav__link:hover { color: var(--text-primary); }
.nav__link:hover::after { width: 100%; }
.nav__link.active { color: var(--accent); }
.nav__link.active::after { width: 100%; }

/* Hamburger */
.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}
.nav__toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--ease);
}
.nav__toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.active span:nth-child(2) { opacity: 0; }
.nav__toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===========================================
   HERO
   =========================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0 90px;
}

/* Particle canvas */
#hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Grid background */
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 212, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.045) 1px, transparent 1px);
    background-size: 64px 64px;
}
.hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 35%, rgba(0, 212, 255, 0.07) 0%, transparent 70%);
}

.hero__content {
    position: relative;
    z-index: 1;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero__text { max-width: 560px; }

/* ===========================================
   DASHBOARD WIDGET
   =========================================== */
.hero__visual {
    display: flex;
    justify-content: flex-end;
}

.dash-card {
    background: rgba(15, 21, 40, 0.85);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 24px;
    width: 100%;
    max-width: 380px;
    backdrop-filter: blur(12px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 212, 255, 0.06);
}

/* Header */
.dash-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}

.dash-header__title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.02em;
}

.dash-title-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

.dash-live {
    font-size: 0.68rem;
    font-weight: 600;
    color: #4ade80;
    letter-spacing: 0.04em;
    animation: blink 2s step-end infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* KPIs */
.dash-kpis {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 20px;
}

.dash-kpi {
    background: rgba(0, 212, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px 8px;
    text-align: center;
}

.dash-kpi__val {
    display: block;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 4px;
}

.dash-kpi__label {
    font-size: 0.62rem;
    color: var(--text-secondary);
    font-weight: 500;
    line-height: 1.3;
}

/* Bar chart */
.dash-chart { margin-bottom: 18px; }

.dash-chart__label {
    font-size: 0.68rem;
    color: var(--text-secondary);
    font-weight: 500;
    display: block;
    margin-bottom: 10px;
    letter-spacing: 0.02em;
}

.dash-bars {
    display: flex;
    align-items: flex-end;
    gap: 5px;
    height: 72px;
}

.dash-bar {
    flex: 1;
    background: linear-gradient(to top, var(--accent), rgba(0, 212, 255, 0.25));
    border-radius: 3px 3px 0 0;
    height: 0;
    animation: growBar 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    animation-delay: var(--d, 0s);
    opacity: 0.7;
}

.dash-bar.is-active {
    opacity: 1;
    background: linear-gradient(to top, var(--accent), rgba(0, 212, 255, 0.6));
    box-shadow: 0 0 8px rgba(0, 212, 255, 0.4);
}

@keyframes growBar {
    to { height: var(--h); }
}

/* Pipeline */
.dash-pipeline {
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px 12px;
    overflow: hidden;
}

.dash-pipe-node {
    font-size: 0.62rem;
    font-weight: 600;
    color: var(--text-secondary);
    white-space: nowrap;
    letter-spacing: 0.02em;
}

.dash-pipe-node.is-output {
    color: var(--accent);
    font-weight: 700;
}

.dash-pipe-flow {
    flex: 1;
    height: 2px;
    background: var(--border);
    position: relative;
    overflow: hidden;
    margin: 0 4px;
}

.dash-pipe-dot {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    animation: flowDot 1.8s linear infinite;
    box-shadow: 0 0 4px var(--accent);
}

.dash-pipe-flow:nth-child(4) .dash-pipe-dot { animation-delay: 0.6s; }
.dash-pipe-flow:nth-child(6) .dash-pipe-dot { animation-delay: 1.2s; }

@keyframes flowDot {
    0%   { left: -6px; opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: 1; }
    100% { left: 100%; opacity: 0; }
}

/* ===== EXP PANEL ===== */
.exp-panel {
    position: relative;
    width: 100%;
    max-width: 430px;
    background: rgba(8, 13, 28, 0.78);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow:
        0 0 0 1px rgba(0, 212, 255, 0.12),
        0 32px 80px rgba(0, 0, 0, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Linha de acento no topo */
.exp-panel::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--accent) 40%, rgba(0,212,255,0.4) 70%, transparent 100%);
    z-index: 2;
}

/* Halo de luz superior */
.exp-panel::after {
    content: '';
    position: absolute;
    top: -80px; left: 50%;
    transform: translateX(-50%);
    width: 260px; height: 160px;
    background: radial-gradient(ellipse, rgba(0,212,255,0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Mesh animado */
.exp-panel__mesh {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
}

.mesh-line {
    stroke: rgba(0, 212, 255, 0.18);
    stroke-width: 0.6;
    animation: meshPulse 5s ease-in-out infinite alternate;
}
.mesh-line:nth-child(2)  { animation-delay: 0.5s; }
.mesh-line:nth-child(3)  { animation-delay: 1s; }
.mesh-line:nth-child(4)  { animation-delay: 1.5s; }
.mesh-line:nth-child(5)  { animation-delay: 2s; }
.mesh-line:nth-child(6)  { animation-delay: 2.5s; }
.mesh-line:nth-child(7)  { animation-delay: 3s; }
.mesh-line:nth-child(8)  { animation-delay: 3.5s; }
.mesh-line:nth-child(9)  { animation-delay: 0.8s; }
.mesh-line:nth-child(10) { animation-delay: 1.3s; }
.mesh-line:nth-child(11) { animation-delay: 1.8s; }

.mesh-node {
    fill: rgba(0, 212, 255, 0.35);
    transform-box: fill-box;
    transform-origin: center;
    animation: nodeGlow 3.5s ease-in-out infinite;
}
.mesh-node--hi {
    fill: var(--accent);
    filter: drop-shadow(0 0 5px rgba(0,212,255,0.7));
    animation: nodeGlow 2.5s ease-in-out infinite;
}

@keyframes meshPulse {
    0%   { opacity: 0.25; }
    100% { opacity: 0.75; }
}
@keyframes nodeGlow {
    0%, 100% { opacity: 0.45; transform: scale(1); }
    50%       { opacity: 1;    transform: scale(1.5); }
}

/* Conteúdo interno */
.exp-panel__inner {
    position: relative;
    z-index: 1;
    padding: 30px 28px 26px;
}

/* Tag de marca */
.exp-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding: 5px 14px;
    background: rgba(0, 212, 255, 0.06);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 20px;
}
.exp-brand__dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

/* Headline */
.exp-headline {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 26px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}
.exp-headline__num {
    font-size: 3.4rem;
    font-weight: 900;
    color: var(--accent);
    line-height: 1;
    letter-spacing: -0.05em;
    flex-shrink: 0;
    text-shadow: 0 0 40px rgba(0, 212, 255, 0.45);
}
.exp-headline__num sup {
    font-size: 1.5rem;
    font-weight: 800;
    vertical-align: super;
}
.exp-headline__copy {
    display: flex;
    flex-direction: column;
    padding-top: 6px;
    gap: 3px;
}
.exp-headline__top {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.2;
}
.exp-headline__bottom {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.25;
    letter-spacing: -0.01em;
}

/* Competências */
.exp-comps {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
}
.exp-comp {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 11px 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(0, 212, 255, 0.07);
    border-radius: 10px;
    transition: all 0.28s ease;
    position: relative;
    overflow: hidden;
    cursor: default;
}
.exp-comp::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--accent), rgba(0,212,255,0.3));
    opacity: 0;
    transition: opacity 0.28s;
}
.exp-comp:hover {
    background: rgba(0, 212, 255, 0.045);
    border-color: rgba(0, 212, 255, 0.18);
    transform: translateX(4px);
}
.exp-comp:hover::before { opacity: 1; }

.exp-comp__icon {
    width: 36px; height: 36px;
    background: rgba(0, 212, 255, 0.07);
    border: 1px solid rgba(0, 212, 255, 0.14);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
    transition: background 0.28s;
}
.exp-comp:hover .exp-comp__icon {
    background: rgba(0, 212, 255, 0.13);
}
.exp-comp__info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}
.exp-comp__label {
    font-size: 0.83rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.2;
}
.exp-comp__sub {
    font-size: 0.68rem;
    color: var(--text-secondary);
    font-weight: 400;
}
.exp-comp__chip {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--accent);
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 6px;
    padding: 2px 8px;
    flex-shrink: 0;
}

/* Pipeline de fluxo */
.exp-flow {
    display: flex;
    align-items: center;
    padding: 11px 14px;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(0, 212, 255, 0.07);
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
}
.exp-flow-node {
    font-size: 0.6rem;
    font-weight: 600;
    color: var(--text-secondary);
    white-space: nowrap;
    letter-spacing: 0.03em;
    padding: 3px 8px;
    background: rgba(0, 212, 255, 0.05);
    border-radius: 4px;
}
.exp-flow-node--accent {
    color: var(--accent);
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.25);
    font-weight: 700;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.2);
}
.exp-flow-line {
    flex: 1;
    height: 1px;
    background: rgba(0, 212, 255, 0.15);
    position: relative;
    overflow: hidden;
    margin: 0 3px;
}
.exp-flow-dot {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 6px rgba(0, 212, 255, 0.9);
    animation: flowDot 1.8s linear infinite;
}

/* Citação */
.exp-quote {
    margin: 0;
    padding: 0;
}
.exp-quote__mark {
    display: block;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 4rem;
    line-height: 0.55;
    color: var(--accent);
    opacity: 0.35;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}
.exp-quote__text {
    font-size: 0.74rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-style: italic;
    letter-spacing: 0.01em;
}

/* Badge */
.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 16px;
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 28px;
    background: var(--accent-dim);
    letter-spacing: 0.03em;
}
.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

.hero__title {
    font-size: clamp(1.75rem, 4vw, 2.9rem);
    font-weight: 800;
    line-height: 1.13;
    letter-spacing: -0.035em;
    margin-bottom: 22px;
}

.hero__subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 540px;
    line-height: 1.75;
}

.hero__ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

/* Scroll indicator */
.hero__scroll {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
}
.hero__scroll span {
    display: block;
    width: 22px;
    height: 36px;
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: 20px;
    position: relative;
}
.hero__scroll span::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--accent);
    border-radius: 4px;
    animation: scrollDown 1.8s ease infinite;
}
@keyframes scrollDown {
    0%   { top: 5px;  opacity: 1; }
    100% { top: 18px; opacity: 0; }
}

/* ===========================================
   SECTION COMMONS
   =========================================== */
.section-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--accent);
    margin-bottom: 12px;
}

.section-tag--pain {
    font-size: clamp(1.2rem, 2.25vw, 1.76rem);
    font-weight: 700;
    text-transform: none;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 16px;
    display: block;
    text-shadow: 0 0 32px rgba(0, 212, 255, 0.35);
}

.section-title {
    font-size: clamp(1.6rem, 3vw, 2.35rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    margin-bottom: 14px;
    line-height: 1.22;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 500px;
    line-height: 1.7;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}
.section-header .section-desc { margin: 0 auto; }

/* ===========================================
   CHALLENGES
   =========================================== */
.challenges {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.challenges::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 212, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.04) 1px, transparent 1px);
    background-size: 44px 44px;
    pointer-events: none;
}

.challenges::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 15% 50%, rgba(139, 92, 246, 0.07) 0%, transparent 70%),
        radial-gradient(ellipse 50% 60% at 85% 50%, rgba(0, 212, 255, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.challenges__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    max-width: 860px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.challenge-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
    background: rgba(12, 18, 38, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 14px;
    position: relative;
    cursor: default;
    overflow: hidden;
    transition: transform 0.32s ease, box-shadow 0.32s ease, background 0.32s ease;
}

/* Borda gradiente cyan → roxo */
.challenge-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 14px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(0,212,255,0.25), rgba(139,92,246,0.15), rgba(0,212,255,0.06));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* Glow interno no hover */
.challenge-item::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 14px;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0,212,255,0.07), transparent 70%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.32s;
}

.challenge-item:hover {
    transform: translateY(-6px) scale(1.015);
    background: rgba(12, 18, 44, 0.78);
    box-shadow:
        0 20px 50px rgba(0,0,0,0.45),
        0 0 0 1px rgba(0,212,255,0.18),
        0 0 40px rgba(0,212,255,0.05);
}

.challenge-item:hover::after { opacity: 1; }

/* Ícone */
.chall-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chall-icon__pulse {
    position: absolute;
    inset: 0;
    border-radius: 10px;
    background: rgba(0, 212, 255, 0.07);
    border: 1px solid rgba(0, 212, 255, 0.14);
    animation: challPulse 3s ease-in-out infinite;
}

.challenge-item:nth-child(1) .chall-icon__pulse { animation-delay: 0s; }
.challenge-item:nth-child(2) .chall-icon__pulse { animation-delay: 0.35s; }
.challenge-item:nth-child(3) .chall-icon__pulse { animation-delay: 0.7s; }
.challenge-item:nth-child(4) .chall-icon__pulse { animation-delay: 1.05s; }
.challenge-item:nth-child(5) .chall-icon__pulse { animation-delay: 1.4s; }
.challenge-item:nth-child(6) .chall-icon__pulse { animation-delay: 1.75s; }
.challenge-item:nth-child(7) .chall-icon__pulse { animation-delay: 2.1s; }
.challenge-item:nth-child(8) .chall-icon__pulse { animation-delay: 2.45s; }

@keyframes challPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0,212,255,0.28); }
    50%       { box-shadow: 0 0 0 6px rgba(0,212,255,0); }
}

.chall-icon svg {
    position: relative;
    z-index: 1;
    color: var(--accent);
    transition: filter 0.32s;
}

.challenge-item:hover .chall-icon svg {
    filter: drop-shadow(0 0 6px rgba(0,212,255,0.75));
}

.challenge-item:hover .chall-icon__pulse {
    animation-duration: 1.4s;
    background: rgba(0, 212, 255, 0.12);
    border-color: rgba(0, 212, 255, 0.3);
}

/* Texto */
.chall-body { flex: 1; }

.chall-body p {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    line-height: 1.55;
    transition: color 0.32s, text-shadow 0.32s;
}

.challenge-item:hover .chall-body p {
    color: #cdd6f0;
    text-shadow: 0 0 22px rgba(139, 92, 246, 0.3);
}

/* ===========================================
   SERVICES
   =========================================== */
.services {
    padding: 110px 0;
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(0, 212, 255, 0.025) 50%,
        transparent 100%);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* 6 cards fill the 3×2 grid perfectly — no override needed */

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: all var(--ease);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: opacity var(--ease);
}
.service-card:hover {
    border-color: rgba(0, 212, 255, 0.35);
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 212, 255, 0.08);
}
.service-card:hover::before { opacity: 1; }

/* Featured card — Inteligência Financeira */
.service-card--featured {
    border-color: rgba(250, 198, 60, 0.3);
    background: linear-gradient(135deg, rgba(250, 198, 60, 0.06) 0%, var(--bg-card) 60%);
    position: relative;
}
.service-card--featured::before { opacity: 1; background: linear-gradient(90deg, transparent, #F5C438, transparent); }
.service-card--featured .service-card__icon { color: #F5C438; }
.service-card--featured:hover { border-color: rgba(250, 198, 60, 0.55); }

.service-card__badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #F5C438;
    border: 1px solid rgba(250, 198, 60, 0.4);
    border-radius: 100px;
    padding: 2px 10px;
    margin-bottom: 14px;
}

.service-card__icon {
    width: 46px;
    height: 46px;
    color: var(--accent);
    margin-bottom: 20px;
}
.service-card__icon svg { width: 100%; height: 100%; }

.service-card__title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}

.service-card__desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===========================================
   METHODOLOGY
   =========================================== */
.method {
    padding: 110px 0;
    position: relative;
    overflow: hidden;
}

.method::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 212, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.04) 1px, transparent 1px);
    background-size: 44px 44px;
    pointer-events: none;
}

.method::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 55% 50% at 80% 30%, rgba(139, 92, 246, 0.07) 0%, transparent 70%),
        radial-gradient(ellipse 50% 55% at 20% 70%, rgba(0, 212, 255, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.method__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    background: transparent;
    border: none;
    border-radius: 0;
    overflow: visible;
    position: relative;
    z-index: 1;
}

.method-step {
    background: rgba(12, 18, 38, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 14px;
    padding: 26px 22px;
    position: relative;
    overflow: hidden;
    cursor: default;
    transition: transform 0.32s ease, box-shadow 0.32s ease, background 0.32s ease;
}

/* Borda gradiente */
.method-step::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 14px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(0,212,255,0.22), rgba(139,92,246,0.14), rgba(0,212,255,0.06));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* Glow interno hover */
.method-step::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 14px;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0,212,255,0.07), transparent 70%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.32s;
}

.method-step:hover {
    transform: translateY(-6px) scale(1.015);
    background: rgba(12, 18, 44, 0.78);
    box-shadow:
        0 20px 50px rgba(0,0,0,0.45),
        0 0 0 1px rgba(0,212,255,0.18),
        0 0 40px rgba(0,212,255,0.05);
}

.method-step:hover::after { opacity: 1; }

/* Header: número + ícone */
.method-step__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 18px;
}

.method-step__num {
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: -0.05em;
    color: var(--accent);
    opacity: 0.28;
    line-height: 1;
    transition: opacity 0.32s;
    font-variant-numeric: tabular-nums;
}

.method-step:hover .method-step__num {
    opacity: 0.65;
    text-shadow: 0 0 20px rgba(0,212,255,0.4);
}

/* Ícone */
.method-step__icon {
    width: 38px;
    height: 38px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.method-step__icon-pulse {
    position: absolute;
    inset: 0;
    border-radius: 9px;
    background: rgba(0, 212, 255, 0.07);
    border: 1px solid rgba(0, 212, 255, 0.13);
    animation: challPulse 3s ease-in-out infinite;
}

.method-step:nth-child(1) .method-step__icon-pulse { animation-delay: 0s; }
.method-step:nth-child(2) .method-step__icon-pulse { animation-delay: 0.4s; }
.method-step:nth-child(3) .method-step__icon-pulse { animation-delay: 0.8s; }
.method-step:nth-child(4) .method-step__icon-pulse { animation-delay: 1.2s; }
.method-step:nth-child(5) .method-step__icon-pulse { animation-delay: 1.6s; }
.method-step:nth-child(6) .method-step__icon-pulse { animation-delay: 2s; }

.method-step__icon svg {
    position: relative;
    z-index: 1;
    color: var(--accent);
    transition: filter 0.32s;
}

.method-step:hover .method-step__icon svg {
    filter: drop-shadow(0 0 5px rgba(0,212,255,0.7));
}

.method-step:hover .method-step__icon-pulse {
    animation-duration: 1.4s;
    background: rgba(0, 212, 255, 0.12);
    border-color: rgba(0, 212, 255, 0.28);
}

.method-step__title {
    font-size: 0.98rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
    transition: color 0.32s;
}

.method-step:hover .method-step__title {
    color: #ffffff;
}

.method-step__desc {
    font-size: 0.84rem;
    color: var(--text-secondary);
    line-height: 1.7;
    transition: text-shadow 0.32s;
}

.method-step:hover .method-step__desc {
    text-shadow: 0 0 22px rgba(139, 92, 246, 0.25);
}

/* ===========================================
   ABOUT
   =========================================== */
.about { padding: 110px 0; }

.about__container {
    display: grid;
    grid-template-columns: 55fr 45fr;
    gap: 60px;
    align-items: stretch;
}

/* Texto institucional */
.about__text {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 0.98rem;
    line-height: 1.85;
}
.about__text strong { color: var(--text-primary); font-weight: 600; }

.about__highlight {
    font-style: normal;
    color: #c8e8ff;
    font-weight: 500;
}

/* Coluna direita */
.about__visual {
    display: flex;
    flex-direction: column;
}

/* Card glassmorphism */
.about__card {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: rgba(12, 18, 38, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 16px;
    padding: 30px 28px;
    position: relative;
    overflow: hidden;
}

/* Borda gradiente */
.about__card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(160deg, rgba(0,212,255,0.28), rgba(139,92,246,0.16), rgba(0,212,255,0.07));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* Halo de luz no topo */
.about__card::after {
    content: '';
    position: absolute;
    top: -60px; left: 50%;
    transform: translateX(-50%);
    width: 240px; height: 120px;
    background: radial-gradient(ellipse, rgba(0,212,255,0.08) 0%, transparent 70%);
    pointer-events: none;
}

/* Header do card */
.about__card-header {
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(0,212,255,0.08);
    position: relative;
    z-index: 1;
}

.about__card-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 5px 14px;
    background: rgba(0, 212, 255, 0.06);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 20px;
}

/* Lista de diferenciais */
.about__diffs {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.about__diff {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(0,212,255,0.06);
    transition: all 0.28s ease;
    cursor: default;
}
.about__diff:last-child { border-bottom: none; }

.about__diff:hover .about__diff-text {
    color: #cdd6f0;
    text-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

/* Ícone */
.about__diff-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about__diff-pulse {
    position: absolute;
    inset: 0;
    border-radius: 10px;
    background: rgba(0, 212, 255, 0.07);
    border: 1px solid rgba(0, 212, 255, 0.13);
    animation: challPulse 3s ease-in-out infinite;
}

.about__diff:nth-child(1) .about__diff-pulse { animation-delay: 0s; }
.about__diff:nth-child(2) .about__diff-pulse { animation-delay: 0.45s; }
.about__diff:nth-child(3) .about__diff-pulse { animation-delay: 0.9s; }
.about__diff:nth-child(4) .about__diff-pulse { animation-delay: 1.35s; }
.about__diff:nth-child(5) .about__diff-pulse { animation-delay: 1.8s; }

.about__diff-icon svg {
    position: relative;
    z-index: 1;
    color: var(--accent);
    transition: filter 0.28s;
}

.about__diff:hover .about__diff-icon svg {
    filter: drop-shadow(0 0 6px rgba(0,212,255,0.75));
}

.about__diff:hover .about__diff-pulse {
    animation-duration: 1.4s;
    background: rgba(0, 212, 255, 0.12);
    border-color: rgba(0, 212, 255, 0.28);
}

.about__diff-text {
    font-size: 0.87rem;
    font-weight: 500;
    color: var(--text-secondary);
    line-height: 1.45;
    transition: color 0.28s, text-shadow 0.28s;
}

/* ===========================================
   CONTACT
   =========================================== */
.contact {
    padding: 110px 0;
    background: linear-gradient(180deg,
        transparent,
        rgba(0, 212, 255, 0.03) 50%,
        transparent);
}

.contact__container {
    text-align: center;
    max-width: 580px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact__desc {
    color: var(--text-secondary);
    margin: 14px 0 40px;
    font-size: 1rem;
    line-height: 1.75;
}

.contact__number {
    margin-top: 16px;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* ===========================================
   FOOTER
   =========================================== */
.footer {
    border-top: 1px solid var(--border);
    padding: 28px 0;
}

.footer__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer__copy {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* ===========================================
   CTA MICROCOPY
   =========================================== */
.cta-microcopy {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    font-size: 0.72rem;
    color: var(--text-secondary);
    opacity: 0.75;
    letter-spacing: 0.01em;
}
.cta-microcopy--center { justify-content: center; }

.microcopy-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4ade80;
    flex-shrink: 0;
    box-shadow: 0 0 6px rgba(74, 222, 128, 0.6);
    animation: pulse 2s ease-in-out infinite;
}

/* ===========================================
   KEYWORD HIGHLIGHTS
   =========================================== */
.kw {
    color: var(--accent);
    font-weight: 600;
    font-style: normal;
}

/* ===========================================
   SCROLL REVEAL
   =========================================== */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.revealed {
    opacity: 1;
    transform: none;
}

/* ===========================================
   PROGRESS BAR
   =========================================== */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    width: 0%;
    background: linear-gradient(90deg, var(--accent), #8b5cf6);
    z-index: 10001;
    pointer-events: none;
    transition: width 0.1s linear;
}

/* ===========================================
   WHATSAPP FLOATING BUTTON
   =========================================== */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 54px;
    height: 54px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
    z-index: 9000;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
}
.whatsapp-float svg {
    width: 28px;
    height: 28px;
    fill: #fff;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.6);
}
.whatsapp-float::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.4);
    animation: waPulse 2.8s ease-in-out infinite;
}
@keyframes waPulse {
    0%, 100% { transform: scale(1);    opacity: 0.7; }
    60%       { transform: scale(1.45); opacity: 0;   }
}

/* ===========================================
   ROTATING WORD
   =========================================== */
.rotating-word {
    color: var(--accent);
    font-weight: 600;
    display: inline-block;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.rotating-word.fade-out {
    opacity: 0;
    transform: translateY(-6px);
}

/* ===========================================
   RESPONSIVE — TABLET
   =========================================== */
@media (max-width: 900px) {
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    /* tablet: 2-col services grid */

    /* Methodology tablet: 2 columns */
    .method__grid { grid-template-columns: repeat(2, 1fr); }

    .about__container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

/* ===========================================
   RESPONSIVE — MOBILE
   =========================================== */
@media (max-width: 640px) {
    /* Nav mobile */
    .nav__menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(10, 14, 26, 0.97);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        flex-direction: column;
        gap: 0;
        padding: 12px 0 20px;
        border-bottom: 1px solid var(--border);
        transform: translateY(-110%);
        opacity: 0;
        transition: transform var(--ease), opacity var(--ease);
        z-index: 99;
    }
    .nav__menu.open {
        transform: translateY(0);
        opacity: 1;
    }
    .nav__link {
        display: block;
        padding: 14px 28px;
        font-size: 1rem;
    }
    .nav__toggle { display: flex; }

    /* Hero */
    .hero__content { grid-template-columns: 1fr; gap: 36px; }
    .hero__visual { display: flex; justify-content: center; }
    .hero__ctas { flex-direction: column; align-items: flex-start; }
    .hero__ctas .btn { width: 100%; justify-content: center; }

    /* Exp Panel mobile */
    .exp-panel { max-width: 100%; border-radius: 16px; }
    .exp-panel__inner { padding: 22px 20px 20px; }
    .exp-headline__num { font-size: 2.6rem; }
    .exp-headline__bottom { font-size: 0.92rem; }
    .exp-comp { padding: 10px 12px; }
    .exp-comp__label { font-size: 0.78rem; }
    .exp-flow { padding: 10px 12px; }
    .exp-flow-node { font-size: 0.56rem; padding: 2px 6px; }
    .exp-quote__mark { font-size: 3rem; }
    .exp-quote__text { font-size: 0.72rem; }

    /* Challenges */
    .challenges__grid { grid-template-columns: 1fr; }

    /* Services */
    .services__grid { grid-template-columns: 1fr; }

    /* Methodology */
    .method__grid { grid-template-columns: repeat(2, 1fr); }
    .method-step { padding: 18px 16px; }
    .method-step__num { font-size: 1.7rem; }
    .method-step__header { margin-bottom: 14px; }

    /* Footer */
    .footer__container { flex-direction: column; text-align: center; }
}
