﻿:root {
    --bg: #04080f;
    --bg-soft: #071220;
    --bg-panel: #0a1629;
    --bg-panel-alt: #0d1b32;
    --text: #e9f2ff;
    --text-muted: #9fb2cc;
    --primary: #2c9dff;
    --primary-soft: #66dcff;
    --line: rgba(130, 167, 211, 0.22);
    --line-strong: rgba(132, 193, 245, 0.4);
    --shadow-soft: 0 12px 28px rgba(0, 0, 0, 0.35);
    --shadow-glow: 0 0 0.8rem rgba(81, 203, 255, 0.3), 0 0 1.8rem rgba(44, 157, 255, 0.18);
    --radius: 14px;
    --container: 1400px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Sora", "Segoe UI", Tahoma, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: radial-gradient(130% 100% at 0% 0%, #0a1629 0%, #04080f 48%, #03060d 100%);
    overflow-x: hidden;
}

body::before,
body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
}

body::before {
    background:
        linear-gradient(115deg, transparent 0 44%, rgba(101, 160, 218, 0.05) 44.5% 45.2%, transparent 45.8% 100%),
        linear-gradient(92deg, transparent 0 23%, rgba(121, 178, 230, 0.04) 23.4% 23.8%, transparent 24.3% 100%),
        repeating-linear-gradient(90deg, transparent 0 74px, rgba(78, 122, 172, 0.05) 74px 75px),
        repeating-linear-gradient(0deg, transparent 0 74px, rgba(78, 122, 172, 0.035) 74px 75px);
    opacity: 0.46;
}

body::after {
    background:
        radial-gradient(circle at 11% 20%, rgba(99, 186, 255, 0.14) 0 1.8px, transparent 3px),
        radial-gradient(circle at 82% 24%, rgba(86, 222, 255, 0.14) 0 1.6px, transparent 3px),
        radial-gradient(circle at 68% 72%, rgba(77, 162, 255, 0.11) 0 1.8px, transparent 3px);
    filter: blur(0.15px);
    opacity: 0.58;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(var(--container), 92vw);
    margin: 0 auto;
}

.section > .container {
    position: relative;
    z-index: 1;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: auto;
}

.skip-link:focus {
    left: 1rem;
    top: 1rem;
    z-index: 100;
    background: #000;
    border-radius: 8px;
    padding: 0.7rem 0.9rem;
}

.section {
    position: relative;
    padding: 5.2rem 0;
    overflow: hidden;
}

.section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(110, 167, 225, 0.18) 20%, rgba(110, 167, 225, 0.18) 80%, transparent 100%);
}

.section-dark {
    background: linear-gradient(180deg, rgba(6, 13, 24, 0.78), rgba(8, 15, 28, 0.92));
}

.section-circuit::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.26;
    background:
        radial-gradient(circle at 18% 24%, rgba(109, 220, 255, 0.5) 0 1.5px, transparent 2.5px),
        radial-gradient(circle at 32% 54%, rgba(109, 220, 255, 0.42) 0 1.4px, transparent 2.4px),
        radial-gradient(circle at 68% 36%, rgba(109, 220, 255, 0.4) 0 1.3px, transparent 2.3px),
        radial-gradient(circle at 82% 68%, rgba(109, 220, 255, 0.32) 0 1.2px, transparent 2.1px),
        repeating-linear-gradient(
            102deg,
            transparent 0 48px,
            rgba(84, 164, 224, 0.2) 48px 49px,
            transparent 49px 86px
        ),
        linear-gradient(102deg, transparent 0 24%, rgba(93, 175, 235, 0.18) 24.2% 24.6%, transparent 24.9% 100%),
        linear-gradient(84deg, transparent 0 61%, rgba(93, 175, 235, 0.14) 61.2% 61.5%, transparent 61.8% 100%);
    animation: circuitSweep 14s ease-in-out infinite;
}

.section-circuit.circuit-right::after {
    transform: scaleX(-1);
}

.section h2 {
    margin: 0.5rem 0 0;
    font-size: clamp(1.45rem, 2.4vw, 2.1rem);
    line-height: 1.28;
    letter-spacing: -0.01em;
    max-width: 24ch;
}

.section-kicker {
    margin: 0;
    font-size: 0.74rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--primary-soft);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 90;
    border-bottom: 1px solid rgba(110, 160, 213, 0.18);
    background: rgba(4, 10, 19, 0.78);
    backdrop-filter: blur(12px);
}

.nav-wrap {
    min-height: 3.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    font-size: 0.92rem;
}

.brand img {
    width: clamp(3rem, 6vw, 4rem);
    filter: drop-shadow(0 0 6px rgba(71, 183, 255, 0.24));
}

.footer-brand img {
    width: clamp(4.2rem, 8vw, 5.8rem);
}

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

.nav a {
    color: var(--text-muted);
    font-size: 0.83rem;
    letter-spacing: 0.01em;
    transition: color 0.2s ease;
}

.nav a:hover,
.nav a:focus-visible {
    color: #f4f8ff;
}

.nav-toggle {
    display: none;
    border: 1px solid var(--line);
    background: rgba(9, 21, 39, 0.92);
    color: var(--text);
    border-radius: 10px;
    padding: 0.5rem 0.75rem;
    font-size: 0.83rem;
}

.btn {
    border: 1px solid transparent;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 0.76rem 1.2rem;
    cursor: pointer;
    transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
}

.btn-small {
    padding: 0.56rem 0.95rem;
    font-size: 0.79rem;
}

.btn-primary {
    color: #03101f;
    background: linear-gradient(135deg, #78e8ff, #2ea8ff 58%, #2188ef 100%);
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-1px);
    filter: brightness(1.04);
}

.btn-outline {
    color: #c4e8ff;
    border-color: rgba(96, 168, 235, 0.5);
    background: rgba(9, 24, 46, 0.58);
}

.btn-outline:hover {
    border-color: rgba(123, 206, 255, 0.74);
    background: rgba(12, 30, 58, 0.75);
    box-shadow: 0 0 0.7rem rgba(103, 201, 255, 0.18);
}

.hero {
    min-height: calc(100vh - 4.3rem);
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 3.7rem;
}

.hero-circuit {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(145deg, transparent 0 36%, rgba(116, 178, 237, 0.055) 36.5% 37.1%, transparent 37.8% 100%),
        linear-gradient(90deg, transparent 0 72%, rgba(121, 189, 246, 0.075) 72.3% 72.8%, transparent 73.3% 100%),
        radial-gradient(circle at 12% 50%, rgba(56, 178, 255, 0.12), transparent 32%),
        radial-gradient(circle at 84% 16%, rgba(75, 226, 255, 0.11), transparent 28%);
    opacity: 0.62;
}

.hero-circuit::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(108deg, transparent 0 44%, rgba(114, 220, 255, 0.24) 49%, transparent 54% 100%);
    opacity: 0.25;
    animation: lineSweep 12s ease-in-out infinite;
}

.ambient-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.ambient-dot {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: var(--size);
    height: var(--size);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(128, 231, 255, 0.75) 0%, rgba(128, 231, 255, 0.2) 62%, transparent 100%);
    opacity: 0.14;
    box-shadow: 0 0 0.55rem rgba(100, 213, 255, 0.32);
    animation: ambientFloat var(--duration) ease-in-out infinite, ambientBlink 5.5s ease-in-out infinite;
    animation-delay: var(--delay);
}

.pulse-node {
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #79e9ff;
    box-shadow: 0 0 0.6rem rgba(121, 233, 255, 0.85);
    animation: nodePulse 2.7s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

.hero-node.n1 { left: 7%; top: 23%; }
.hero-node.n2 { left: 86%; top: 18%; animation-delay: 0.8s; }
.hero-node.n3 { left: 76%; top: 79%; animation-delay: 1.3s; }

.hero-layout {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 1.7rem;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
}

.ecosystem-diagram {
    width: 100%;
}

.hero-copy h1 {
    margin: 0.85rem 0 1rem;
    font-size: clamp(1.78rem, 3.8vw, 2.72rem);
    line-height: 1.12;
    letter-spacing: -0.02em;
    max-width: 16ch;
}

.hero-subtitle {
    margin: 0;
    max-width: 62ch;
    color: var(--text-muted);
    font-size: clamp(0.96rem, 1.4vw, 1.08rem);
    line-height: 1.72;
}

.hero-ctas {
    margin-top: 1.45rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.ecosystem-diagram {
    border: 1px solid var(--line-strong);
    border-radius: 16px;
    background:
        linear-gradient(170deg, rgba(8, 19, 36, 0.96) 0%, rgba(8, 16, 30, 0.96) 100%);
    padding: 0.88rem;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.ecosystem-diagram::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(90deg, transparent 0 28px, rgba(113, 163, 220, 0.07) 28px 29px),
        linear-gradient(130deg, transparent 0 64%, rgba(85, 206, 255, 0.1) 64.5% 65%, transparent 65.6% 100%);
    pointer-events: none;
}

.ecosystem-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.7rem;
    padding-bottom: 0.55rem;
    border-bottom: 1px solid rgba(110, 165, 220, 0.26);
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.11em;
    color: #b8cde9;
}

.status-dot {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.status-dot::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #6fe8ff;
    box-shadow: 0 0 10px rgba(111, 232, 255, 0.9);
}

.eco-flow {
    margin-top: 0.72rem;
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.58rem;
    padding: 0.2rem 0.12rem;
}

.eco-level {
    position: relative;
    border: 1px solid rgba(111, 162, 216, 0.25);
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(8, 21, 39, 0.86), rgba(7, 18, 33, 0.84));
    padding: 0.58rem 0.62rem 0.55rem 0.95rem;
    box-shadow: 0 0 0.55rem rgba(84, 186, 245, 0.1);
    animation: ecoNodeGlow 4.4s ease-in-out infinite;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.eco-level::before {
    content: "";
    position: absolute;
    left: 50%;
    top: -0.2rem;
    width: 0.48rem;
    height: 0.48rem;
    border-radius: 50%;
    background: #73e9ff;
    box-shadow: 0 0 0.7rem rgba(115, 233, 255, 0.9);
    transform: translateX(-50%);
}

.eco-level h3 {
    margin: 0;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #d8eeff;
}

.eco-level:hover {
    transform: translateY(-2px);
    border-color: rgba(128, 199, 255, 0.46);
    box-shadow: 0 0 0.9rem rgba(95, 214, 255, 0.22);
}

.eco-items {
    margin: 0.35rem 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.28rem;
}

.eco-items li {
    font-size: 0.63rem;
    color: #9eb8d5;
    border: 1px solid rgba(106, 165, 225, 0.33);
    border-radius: 999px;
    padding: 0.16rem 0.35rem;
    background: rgba(6, 15, 28, 0.66);
}

.flow-line {
    position: absolute;
    left: 16.8%;
    right: 16.8%;
    top: 0.25rem;
    height: 1px;
    background: linear-gradient(90deg, rgba(109, 206, 255, 0.24) 0%, rgba(109, 206, 255, 0.72) 50%, rgba(109, 206, 255, 0.24) 100%);
    box-shadow: 0 0 0.45rem rgba(87, 196, 255, 0.44);
}

.flow-line::after {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    width: 16%;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, rgba(168, 240, 255, 0.9), transparent);
    filter: blur(0.3px);
    animation: linePulseX 5.2s linear infinite;
}

.flow-dot {
    position: absolute;
    top: 0.01rem;
    width: 0.48rem;
    height: 0.48rem;
    border-radius: 50%;
    background: #76eaff;
    box-shadow: 0 0 0.65rem rgba(118, 234, 255, 0.9);
    animation: flowPulse 2.4s ease-in-out infinite;
}

.flow-dot.d1 { left: calc(16.8% - 0.2rem); }
.flow-dot.d2 { left: calc(50% - 0.24rem); animation-delay: 0.4s; }
.flow-dot.d3 { left: calc(83.2% - 0.28rem); animation-delay: 0.8s; }
.eco-node-pulse {
    top: 0.02rem;
    width: 6px;
    height: 6px;
}

.eco-node-pulse.p1 {
    left: 33.3%;
    animation-delay: 0.35s;
}

.eco-node-pulse.p2 {
    left: 66.6%;
    animation-delay: 1.1s;
}

.flow-signal {
    position: absolute;
    top: 0.15rem;
    width: 0.2rem;
    height: 0.2rem;
    border-radius: 50%;
    background: #9bf2ff;
    box-shadow: 0 0 0.5rem rgba(155, 242, 255, 0.9);
    animation: flowTravelX 3.1s linear infinite;
}

.flow-signal.s2 {
    animation-delay: 1.55s;
}

@keyframes ecoNodeGlow {
    0%, 100% { box-shadow: 0 0 0.55rem rgba(84, 186, 245, 0.1); }
    50% { box-shadow: 0 0 0.8rem rgba(95, 214, 255, 0.17); }
}

@keyframes flowPulse {
    0%, 100% {
        opacity: 0.6;
        transform: scale(0.9);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

@keyframes flowTravelX {
    0% { left: 17%; opacity: 0; }
    12% { opacity: 1; }
    88% { opacity: 1; }
    100% { left: 83%; opacity: 0; }
}

@keyframes lineSweep {
    0%, 100% { transform: translateX(-4%); opacity: 0.12; }
    50% { transform: translateX(3%); opacity: 0.32; }
}

@keyframes linePulseX {
    0% { transform: translateX(0); opacity: 0; }
    15% { opacity: 0.9; }
    85% { opacity: 0.9; }
    100% { transform: translateX(520%); opacity: 0; }
}

@keyframes ambientFloat {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(var(--drift-x), var(--drift-y), 0); }
}

@keyframes ambientBlink {
    0%, 100% { opacity: 0.1; }
    50% { opacity: 0.24; }
}

@keyframes nodePulse {
    0%, 100% {
        transform: scale(0.9);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.25);
        opacity: 1;
    }
}

@keyframes circuitSweep {
    0%, 100% {
        background-position: 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0;
        opacity: 0.2;
    }
    50% {
        background-position: 8px -4px, -6px 5px, 5px -3px, -5px 3px, 16px -10px, 10px -5px, -9px 7px;
        opacity: 0.3;
    }
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.1rem;
    align-items: start;
}

.about-wrap p {
    margin-top: 0;
    color: var(--text-muted);
    max-width: 62ch;
    font-size: 0.95rem;
}

.cards-grid,
.pillars,
.portfolio-grid,
.problem-grid {
    margin-top: 1.8rem;
    display: grid;
    gap: 0.95rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.pillar,
.portfolio-card,
.problem,
.target-grid article,
.cta-box,
.contact-form,
.contact-copy {
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(10, 21, 39, 0.92), rgba(7, 14, 27, 0.9));
}

.card,
.pillar,
.portfolio-card,
.problem,
.target-grid article {
    padding: 1.05rem;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.card:hover,
.pillar:hover,
.portfolio-card:hover,
.problem:hover,
.target-grid article:hover {
    transform: translateY(-4px);
    border-color: rgba(112, 194, 255, 0.52);
    box-shadow: 0 0 0.8rem rgba(93, 194, 255, 0.16);
}

.card-icon {
    width: 2.05rem;
    height: 2.05rem;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.74rem;
    font-weight: 700;
    color: #021122;
    background: linear-gradient(135deg, #85eeff, #37b6ff);
    box-shadow: var(--shadow-glow);
}

.card h3,
.pillar h3,
.portfolio-card h3,
.problem h3,
.target-grid h3,
.timeline h3 {
    margin: 0.76rem 0 0.4rem;
    font-size: 1rem;
    line-height: 1.35;
}

.card p,
.pillar p,
.portfolio-card p,
.problem p,
.target-grid p,
.timeline p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.65;
}

.timeline {
    list-style: none;
    margin: 1.7rem 0 0;
    padding: 0;
    display: grid;
    gap: 0.85rem;
}

.timeline li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.85rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(8, 17, 31, 0.88);
    padding: 0.95rem;
}

.timeline li span {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #021123;
    background: linear-gradient(130deg, #76e8ff, #349eff);
    box-shadow: 0 0 0.7rem rgba(86, 210, 255, 0.3);
}

.badge {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(117, 180, 236, 0.46);
    border-radius: 999px;
    padding: 0.22rem 0.55rem;
    color: #bde4ff;
    font-size: 0.66rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.portfolio-card ul {
    margin: 0.65rem 0 0;
    padding-left: 1rem;
    color: #b3c6de;
}

.portfolio-card li {
    margin: 0.2rem 0;
    font-size: 0.8rem;
}

.problem {
    position: relative;
    overflow: hidden;
}

.problem::after {
    content: "";
    position: absolute;
    right: -26px;
    bottom: -22px;
    width: 86px;
    height: 86px;
    border: 1px solid rgba(98, 178, 240, 0.25);
    border-radius: 50%;
}

.target-wrap {
    display: grid;
    gap: 1.5rem;
}

.target-grid {
    display: grid;
    gap: 0.9rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cta-section {
    padding-top: 1.3rem;
}

.cta-box {
    padding: 2rem;
    text-align: center;
    border-color: var(--line-strong);
    box-shadow: var(--shadow-soft);
}

.cta-box .section-kicker {
    text-align: center;
}

.cta-box h2 {
    margin-left: auto;
    margin-right: auto;
    max-width: 20ch;
}

.cta-box p {
    margin: 0.8rem auto 0;
    color: var(--text-muted);
    max-width: 66ch;
    font-size: 0.91rem;
}

.cta-box .hero-ctas {
    justify-content: center;
}

.contato-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 1rem;
    align-items: stretch;
}

.contact-copy {
    padding: 1.25rem;
}

.contact-copy p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.contact-list {
    list-style: none;
    margin: 1.1rem 0 0;
    padding: 0;
    display: grid;
    gap: 0.62rem;
}

.contact-list li {
    color: #d3e4f9;
    font-size: 0.89rem;
}

.contact-list a {
    color: #9fd9ff;
}

.contact-form {
    padding: 1.25rem;
}

.contact-form label {
    display: block;
    font-size: 0.79rem;
    letter-spacing: 0.03em;
    color: #bfd8f2;
    margin-top: 0.8rem;
    margin-bottom: 0.33rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid rgba(105, 154, 206, 0.34);
    background: rgba(5, 13, 24, 0.75);
    color: var(--text);
    border-radius: 10px;
    padding: 0.72rem 0.8rem;
    font: inherit;
    font-size: 0.9rem;
}

.contact-form textarea {
    min-height: 116px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: 2px solid rgba(94, 198, 255, 0.34);
    border-color: rgba(94, 198, 255, 0.56);
}

.contact-form .btn {
    width: 100%;
    margin-top: 1rem;
}

.flash {
    margin-top: 0.8rem;
    padding: 0.66rem 0.78rem;
    border-radius: 9px;
    font-size: 0.84rem;
}

.flash.success {
    background: rgba(22, 156, 114, 0.18);
    border: 1px solid rgba(22, 156, 114, 0.46);
    color: #9ff4d4;
}

.flash.error {
    background: rgba(230, 73, 73, 0.16);
    border: 1px solid rgba(230, 73, 73, 0.43);
    color: #ffc5c5;
}

.site-footer {
    padding: 2.6rem 0 1.3rem;
    border-top: 1px solid rgba(116, 163, 216, 0.24);
    background: rgba(3, 8, 16, 0.95);
}

.footer-grid {
    display: grid;
    gap: 1.2rem;
    grid-template-columns: 1.2fr 1fr 1fr;
}

.footer-brand {
    margin-bottom: 0.7rem;
}

.footer-text {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.87rem;
    max-width: 44ch;
}

.site-footer h3 {
    margin: 0 0 0.5rem;
    font-size: 0.94rem;
}

.site-footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.36rem;
}

.site-footer a {
    color: #acc2dc;
    font-size: 0.84rem;
}

.site-footer a:hover {
    color: #cfeeff;
}

.footer-bottom {
    margin-top: 1.1rem;
    padding-top: 0.95rem;
    border-top: 1px solid rgba(114, 161, 212, 0.16);
}

.footer-bottom p {
    margin: 0;
    color: #8ea8c6;
    font-size: 0.8rem;
}

.reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.show {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1080px) {
    .hero-layout,
    .split,
    .contato-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .ecosystem-diagram {
        max-width: 650px;
    }

    .cards-grid,
    .pillars,
    .portfolio-grid,
    .problem-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .hero-ctas {
        margin-top: 1.2rem;
    }

    .eco-flow {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .eco-level {
        padding: 0.54rem 0.58rem 0.52rem 1.2rem;
    }

    .eco-level::before {
        left: 0.62rem;
        top: 50%;
        transform: translateY(-50%);
    }

    .flow-line {
        left: 0.84rem;
        right: auto;
        top: 8%;
        bottom: 8%;
        width: 1px;
        height: auto;
        background: linear-gradient(180deg, rgba(109, 206, 255, 0.24) 0%, rgba(109, 206, 255, 0.72) 50%, rgba(109, 206, 255, 0.24) 100%);
    }

    .flow-line::after {
        left: -1px;
        top: 0;
        width: 3px;
        height: 16%;
        background: linear-gradient(180deg, transparent, rgba(168, 240, 255, 0.9), transparent);
        animation: linePulseY 5.2s linear infinite;
    }

    .flow-dot {
        left: 0.62rem;
        top: auto;
    }

    .flow-dot.d1 { top: 17.5%; }
    .flow-dot.d2 { top: 49.5%; }
    .flow-dot.d3 { top: 81.5%; }

    .flow-signal {
        left: 0.75rem;
        top: auto;
        animation: flowTravelY 3.1s linear infinite;
    }

    .eco-node-pulse {
        left: 0.64rem;
    }

    .eco-node-pulse.p1 { top: 33%; }
    .eco-node-pulse.p2 { top: 65%; }
}

@media (min-width: 1200px) {
    .hero-layout {
        grid-template-columns: 1.2fr 0.8fr;
        gap: 2.4rem;
    }

    .hero-copy h1 {
        font-size: clamp(4rem, 5.4vw, 4.5rem);
        max-width: 14ch;
    }

    .ecosystem-diagram {
        max-width: 520px;
        justify-self: end;
    }
}

@media (min-width: 1400px) {
    .hero-copy h1 {
        font-size: clamp(4.3rem, 4.9vw, 4.75rem);
    }

    .ecosystem-diagram {
        max-width: 560px;
    }
}

@media (min-width: 1600px) {
    :root {
        --container: 1500px;
    }

    .hero-copy h1 {
        font-size: clamp(4.6rem, 4.7vw, 5rem);
    }

    .ecosystem-diagram {
        max-width: 600px;
    }
}

@media (max-width: 800px) {
    .section {
        padding: 4rem 0;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .site-header .btn-small {
        display: none;
    }

    .nav {
        display: none;
        position: absolute;
        right: 4vw;
        top: calc(100% + 0.5rem);
        width: min(290px, 92vw);
        border: 1px solid var(--line);
        border-radius: 12px;
        background: rgba(8, 18, 34, 0.97);
        box-shadow: var(--shadow-soft);
        padding: 0.7rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.6rem;
    }

    .nav.open {
        display: flex;
    }

    .cards-grid,
    .pillars,
    .portfolio-grid,
    .problem-grid {
        grid-template-columns: 1fr;
    }

    .hero-copy h1 {
        max-width: 100%;
    }

    .eco-items li {
        font-size: 0.61rem;
    }
}

@keyframes flowTravelY {
    0% { top: 10%; opacity: 0; }
    12% { opacity: 1; }
    88% { opacity: 1; }
    100% { top: 88%; opacity: 0; }
}

@keyframes linePulseY {
    0% { transform: translateY(0); opacity: 0; }
    15% { opacity: 0.9; }
    85% { opacity: 0.9; }
    100% { transform: translateY(520%); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .ambient-dot,
    .pulse-node,
    .hero-circuit::before,
    .flow-line::after,
    .flow-dot,
    .flow-signal,
    .eco-level {
        animation: none !important;
    }

    .section-circuit::after {
        animation: none !important;
    }

}
