/* ============================================
   HARPIONTECH — Landing Page
   Theme: Dark tech, azul elétrico
   ============================================ */

/* Acessibilidade: respeita preferência do SO por menos movimento */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .cursor,
    .cursor-trail,
    .spotlight,
    #particles-canvas,
    #fluid-canvas,
    .scanline {
        display: none !important;
    }

    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

:root {
    --bg: #05070d;
    --bg-2: #0a0e18;
    --bg-3: #0f1420;
    --surface: rgba(255, 255, 255, 0.03);
    --surface-hover: rgba(255, 255, 255, 0.06);
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.15);
    --text: #e8eef9;
    --text-dim: #8892a6;
    --text-mute: #5a6478;
    --accent: #1e9bff;
    --accent-2: #00d4ff;
    --accent-glow: rgba(30, 155, 255, 0.4);
    --accent-glow-soft: rgba(30, 155, 255, 0.15);
    --font-sans: 'Space Grotesk', -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    min-height: 100%;
    background: var(--bg);
}

body {
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    min-height: 100vh;
    min-height: 100dvh;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    cursor: none;
}

body.loading {
    overflow: hidden;
}

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

button {
    font-family: inherit;
    cursor: none;
    border: none;
    background: none;
    color: inherit;
}

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

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

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--border-strong);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* ============================================
   PRELOADER
   ============================================ */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--bg);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    transition: opacity 0.8s var(--ease), visibility 0.8s var(--ease);
    overflow: hidden;
    perspective: 1200px;
}

/* Wrap do holograma centralizado */
.preloader-logo-wrap {
    margin-bottom: 8px;
    position: relative;
}

.preloader.done {
    opacity: 0;
    visibility: hidden;
}

/* Background: linhas blueprint sendo desenhadas */
.preloader-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0;
    animation: linesFadeIn 1s ease forwards 0.3s;
}

.preloader-lines path {
    stroke-dasharray: 3000;
    stroke-dashoffset: 3000;
    animation: drawLine 2.5s ease-out forwards;
}

.preloader-lines path:nth-of-type(1) {
    animation-delay: 0.2s;
}

.preloader-lines path:nth-of-type(2) {
    animation-delay: 0.4s;
}

.preloader-lines path:nth-of-type(3) {
    animation-delay: 0.6s;
}

.preloader-lines path:nth-of-type(4) {
    animation-delay: 0.5s;
}

.preloader-lines path:nth-of-type(5) {
    animation-delay: 0.7s;
}

.preloader-lines path:nth-of-type(6) {
    animation-delay: 0.9s;
}

.preloader-lines circle {
    opacity: 0;
    animation: dotPulse 0.6s ease forwards;
    transform-origin: center;
}

.preloader-lines circle:nth-of-type(1) {
    animation-delay: 1.0s;
}

.preloader-lines circle:nth-of-type(2) {
    animation-delay: 1.2s;
}

.preloader-lines circle:nth-of-type(3) {
    animation-delay: 1.1s;
}

.preloader-lines circle:nth-of-type(4) {
    animation-delay: 1.3s;
}

.preloader-lines circle:nth-of-type(5) {
    animation-delay: 1.4s;
}

.preloader-lines circle:nth-of-type(6) {
    animation-delay: 1.5s;
}

.preloader-lines circle:nth-of-type(7) {
    animation-delay: 1.6s;
}

@keyframes linesFadeIn {
    to {
        opacity: 1;
    }
}

@keyframes drawLine {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes dotPulse {
    0% {
        opacity: 0;
        transform: scale(0);
    }

    60% {
        opacity: 1;
        transform: scale(1.5);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Logo central com rotação 3D na entrada */
.preloader-logo-wrap {
    position: relative;
    transform-style: preserve-3d;
    z-index: 2;
    will-change: transform;
}

.preloader-canvas {
    width: 280px;
    height: 280px;
    display: block;
    opacity: 0;
    transform: scale(0.7);
    animation: hologramEnter 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards 0.3s;
    filter: drop-shadow(0 0 24px rgba(0, 212, 255, 0.55))
            drop-shadow(0 0 60px rgba(30, 155, 255, 0.3));
}

@keyframes hologramEnter {
    0%   { opacity: 0; transform: scale(0.7); }
    100% { opacity: 1; transform: scale(1); }
}


/* Texto abaixo do logo */
.preloader-text {
    font-size: clamp(18px, 2.5vw, 28px);
    font-weight: 700;
    letter-spacing: 0.2em;
    display: flex;
    gap: 2px;
    z-index: 2;
    position: relative;
}

.preloader-text span {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    animation: plIn 0.5s var(--ease) forwards;
    animation-delay: calc(1.4s + (var(--i, 0) * 0.04s));
}

.preloader-text .pl-dot {
    color: var(--accent);
}

.preloader-text span:nth-child(1) {
    --i: 0;
}

.preloader-text span:nth-child(2) {
    --i: 1;
}

.preloader-text span:nth-child(3) {
    --i: 2;
}

.preloader-text span:nth-child(4) {
    --i: 3;
}

.preloader-text span:nth-child(5) {
    --i: 4;
}

.preloader-text span:nth-child(6) {
    --i: 5;
}

.preloader-text span:nth-child(7) {
    --i: 6;
}

.preloader-text span:nth-child(8) {
    --i: 7;
}

.preloader-text span:nth-child(9) {
    --i: 8;
    color: var(--accent);
}

.preloader-text span:nth-child(10) {
    --i: 9;
    color: var(--accent);
}

.preloader-text span:nth-child(11) {
    --i: 10;
    color: var(--accent);
}

.preloader-text span:nth-child(12) {
    --i: 11;
    color: var(--accent);
}

@keyframes plIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.preloader-bar {
    width: 240px;
    height: 2px;
    background: var(--border);
    overflow: hidden;
    position: relative;
    z-index: 2;
    transition: opacity 0.4s ease;
}

.preloader-bar-fill {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    transform: translateX(-100%);
    animation: barFill 1.8s var(--ease) forwards 0.6s;
}

@keyframes barFill {
    to {
        transform: translateX(0);
    }
}

.preloader-status {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    color: var(--text-mute);
    z-index: 2;
    position: relative;
    transition: opacity 0.4s ease;
}

.dots::after {
    content: '';
    animation: dots 1.4s infinite;
}

@keyframes dots {

    0%,
    20% {
        content: '';
    }

    40% {
        content: '.';
    }

    60% {
        content: '..';
    }

    80%,
    100% {
        content: '...';
    }
}

/* ============================================
   CURSOR
   ============================================ */
.cursor {
    position: fixed;
    width: 10px;
    height: 10px;
    background: var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s var(--ease), height 0.3s var(--ease), background 0.3s;
    mix-blend-mode: screen;
}

.cursor.hover {
    width: 50px;
    height: 50px;
    background: transparent;
    border: 1px solid var(--accent);
}

.cursor-trail {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(30, 155, 255, 0.3);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: transform 0.15s ease-out;
}

@media (hover: none) {

    .cursor,
    .cursor-trail {
        display: none;
    }

    body,
    a,
    button {
        cursor: auto;
    }
}

/* ============================================
   SPOTLIGHT — segue o mouse, ilumina o conteúdo
   ============================================ */
.spotlight {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 50%),
            rgba(30, 155, 255, 0.10),
            rgba(30, 155, 255, 0.04) 25%,
            transparent 55%);
    mix-blend-mode: screen;
    transition: opacity 0.4s ease;
    will-change: background;
}

@media (hover: none) {
    .spotlight {
        display: none;
    }

    .project-card::before {
        display: none;
    }
}

/* ============================================
   BACKGROUND EFFECTS
   ============================================ */
#particles-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

#fluid-canvas {
    position: fixed;
    inset: 0;
    z-index: 4;
    pointer-events: none;
    opacity: 0.7;
}

/* Noise/grain global — textura analógica sutil, dá pegada cinema */
.noise-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 3;
    opacity: 0.06;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
    background-size: 200px 200px;
    animation: noiseShift 0.8s steps(2) infinite;
}

@keyframes noiseShift {
    0% {
        transform: translate(0, 0);
    }

    25% {
        transform: translate(-5%, 3%);
    }

    50% {
        transform: translate(3%, -4%);
    }

    75% {
        transform: translate(-3%, 2%);
    }

    100% {
        transform: translate(0, 0);
    }
}

/* Vignette — escurecimento radial nas bordas, foca o conteúdo */
.vignette {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    background: radial-gradient(ellipse at center,
            transparent 30%,
            rgba(0, 0, 0, 0.35) 75%,
            rgba(0, 0, 0, 0.6) 100%);
}

/* Light rays no hero — feixes de luz vindo do topo */
.light-rays {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
    opacity: 0.45;
    mask-image: linear-gradient(to bottom, black 0%, transparent 80%);
    -webkit-mask-image: linear-gradient(to bottom, black 0%, transparent 80%);
}

.light-rays::before,
.light-rays::after {
    content: '';
    position: absolute;
    top: -20%;
    left: 50%;
    width: 120%;
    height: 140%;
    background:
        conic-gradient(from 90deg at 50% 0%,
            transparent 0deg,
            rgba(30, 155, 255, 0.12) 6deg,
            transparent 12deg,
            transparent 28deg,
            rgba(30, 155, 255, 0.08) 34deg,
            transparent 40deg,
            transparent 56deg,
            rgba(120, 80, 255, 0.06) 62deg,
            transparent 68deg);
    transform: translateX(-50%) rotate(0deg);
    animation: raysDrift 18s ease-in-out infinite alternate;
    filter: blur(8px);
}

.light-rays::after {
    animation-duration: 24s;
    animation-direction: alternate-reverse;
    opacity: 0.6;
    filter: blur(14px);
}

@keyframes raysDrift {
    0% {
        transform: translateX(-50%) rotate(-4deg);
    }

    100% {
        transform: translateX(-50%) rotate(4deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .noise-overlay {
        animation: none;
    }

    .light-rays::before,
    .light-rays::after {
        animation: none;
    }
}

.grid-overlay {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(30, 155, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(30, 155, 255, 0.03) 1px, transparent 1px);
    background-size: clamp(40px, 6vmin, 80px) clamp(40px, 6vmin, 80px);
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.scanline {
    position: fixed;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(to bottom,
            transparent 0%,
            rgba(30, 155, 255, 0.02) 50%,
            transparent 100%);
    background-size: 100% 4px;
    opacity: 0.4;
    animation: scan 8s linear infinite;
}

@keyframes scan {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 0 100%;
    }
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: 64px;
    padding: 0 48px;
    display: flex;
    justify-content: center;
    gap: 50px;
    align-items: center;
    transition: all 0.4s var(--ease);
    background: linear-gradient(to bottom, rgba(5, 7, 13, 0.9) 0%, rgba(5, 7, 13, 0.55) 45px, transparent 80px);
    backdrop-filter: blur(0px);
}

.site-header.scrolled {
    height: 56px;
    padding: 0 48px;
    background: rgba(5, 7, 13, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 2;
    overflow: visible;
}

.brand-logo {
    height: 120px;
    width: auto;
    transition: all 0.4s var(--ease);
    filter: drop-shadow(0 4px 25px rgba(30, 155, 255, 0.4));
}

.site-header.scrolled .brand-logo {
    height: 90px;
}

.brand:hover .brand-logo {
    transform: scale(1.05);
    filter: drop-shadow(0 6px 35px rgba(30, 155, 255, 0.7));
}

.main-nav {
    display: flex;
    gap: 40px;
    align-items: center;
}

.main-nav a {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--text-dim);
    position: relative;
    padding: 8px 0;
    transition: color 0.3s var(--ease);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.4s var(--ease);
}

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

.main-nav a:hover::after {
    width: 100%;
}

.main-nav .cta-link {
    padding: 10px 24px;
    border: 1px solid var(--border-strong);
    border-radius: 100px;
    color: var(--text);
}

.main-nav .cta-link::after {
    display: none;
}

.main-nav .cta-link:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--bg);
}

.menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--text);
    transition: all 0.3s var(--ease);
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(4px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    transform: translateY(-4px) rotate(-45deg);
}

/* ============================================
   HERO
   ============================================ */
main {
    position: relative;
    z-index: 3;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 48px 80px;
    position: relative;
    overflow: hidden;
}

.hero-bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(clamp(60px, 12vmin, 120px));
    opacity: 0.5;
    pointer-events: none;
    animation: orbFloat 12s ease-in-out infinite;
}

.orb-1 {
    width: clamp(280px, 55vmin, 500px);
    height: clamp(280px, 55vmin, 500px);
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    top: -10vmin;
    left: -10vmin;
}

.orb-2 {
    width: clamp(320px, 65vmin, 600px);
    height: clamp(320px, 65vmin, 600px);
    background: radial-gradient(circle, var(--accent-2) 0%, transparent 70%);
    bottom: -18vmin;
    right: -15vmin;
    animation-delay: -6s;
    opacity: 0.3;
}

@keyframes orbFloat {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(30px, -30px);
    }
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    text-align: center;
    position: relative;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    border: 1px solid var(--border-strong);
    border-radius: 100px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.15em;
    color: var(--text-dim);
    margin-bottom: 40px;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 0 0 var(--accent-glow);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 var(--accent-glow);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(30, 155, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(30, 155, 255, 0);
    }
}

.hero-title {
    font-size: clamp(42px, 8vw, 108px);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.03em;
    margin-bottom: 32px;
    overflow: visible;
    padding-bottom: 0.1em;
}

.hero-title em {
    font-style: italic;
    font-weight: 300;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    padding: 0.15em 0.08em 0.25em;
    margin: -0.15em -0.08em -0.25em;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

.reveal-line {
    display: block;
    overflow: visible;
}

.reveal-line>span {
    display: block;
    transform: translateY(110%);
    transition: transform 1s var(--ease);
}

.reveal-line:nth-child(1)>span {
    transition-delay: 0.1s;
}

.reveal-line:nth-child(2)>span {
    transition-delay: 0.25s;
}

.loaded .reveal-line>span {
    transform: translateY(0);
}

.hero-desc {
    font-size: clamp(16px, 1.4vw, 19px);
    color: var(--text-dim);
    max-width: 640px;
    margin: 0 auto 44px;
    line-height: 1.6;
}

.hero-desc strong {
    color: var(--text);
    font-weight: 600;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 80px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: all 0.4s var(--ease);
    position: relative;
    overflow: hidden;
}

.btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.4s var(--ease);
}

.btn:hover svg {
    transform: translateX(4px);
}

@keyframes btnFloat {

    0%,
    100% {
        transform: translateY(-3px);
    }

    50% {
        transform: translateY(-9px);
    }
}

.btn-primary {
    background: var(--accent);
    color: var(--bg);
    box-shadow: 0 10px 40px -10px var(--accent-glow);
}

.btn-primary:hover {
    background: var(--accent-2);
    animation: btnFloat 2.4s ease-in-out infinite;
    box-shadow: 0 24px 60px -12px var(--accent-glow);
}

.btn-ghost {
    border: 1px solid var(--border-strong);
    color: var(--text);
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
}

.btn-ghost:hover {
    border-color: var(--accent);
    background: var(--accent-glow-soft);
    animation: btnFloat 2.4s ease-in-out infinite;
    box-shadow: 0 20px 50px -14px var(--accent-glow);
}

.btn-outline {
    border: 1px solid var(--border-strong);
    color: var(--text);
    padding: 18px 36px;
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn-outline svg {
    width: 20px;
    height: 20px;
}

.hero-stats {
    display: flex;
    gap: 60px;
    justify-content: center;
    flex-wrap: wrap;
}

.stat-num {
    font-size: clamp(36px, 4vw, 56px);
    font-weight: 300;
    color: var(--text);
    line-height: 1;
    font-family: var(--font-mono);
}

.stat-label {
    font-size: 12px;
    color: var(--text-mute);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-top: 8px;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.3em;
    color: var(--text-mute);
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, transparent, var(--accent));
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {

    0%,
    100% {
        transform: scaleY(0.3);
        transform-origin: top;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
    }
}

/* ============================================
   MARQUEE
   ============================================ */
.marquee {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 24px 0;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.01);
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 40s linear infinite;
    font-size: clamp(20px, 3vw, 36px);
    font-weight: 600;
    letter-spacing: -0.01em;
    will-change: transform;
}

.marquee-group {
    display: flex;
    gap: 40px;
    padding-right: 40px;
    white-space: nowrap;
    flex-shrink: 0;
}

.marquee-track span {
    color: var(--text);
}

.marquee-track .sep {
    color: var(--accent);
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* ============================================
   SECTIONS
   ============================================ */
section {
    padding: 48px 48px;
    position: relative;
}

.section-head {
    max-width: 760px;
    margin: 0 auto 60px;
    text-align: center;
}

.section-tag {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.25em;
    color: var(--accent);
    display: inline-block;
    margin-bottom: 20px;
    padding: 6px 14px;
    border: 1px solid var(--accent-glow-soft);
    border-radius: 100px;
}

.section-title {
    font-size: clamp(36px, 5vw, 68px);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.05;
    margin-bottom: 20px;
}

.section-desc {
    font-size: 17px;
    color: var(--text-dim);
    line-height: 1.6;
    max-width: 580px;
    margin: 0 auto;
}

/* ============================================
   SERVIÇOS
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1280px;
    margin: 0 auto;
    perspective: 1400px;
}

.service-card {
    padding: 40px 32px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--surface);
    backdrop-filter: blur(10px);
    transition: border-color 0.8s var(--ease-out),
        background 0.8s var(--ease-out),
        box-shadow 0.8s var(--ease-out);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    transform: translate3d(0, 0, 0) rotateX(0) rotateY(0);
    will-change: transform;
}

/* Spotlight individual seguindo o cursor */
.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(340px circle at var(--cx, 50%) var(--cy, 0%),
            rgba(30, 155, 255, 0.20),
            rgba(30, 155, 255, 0.06) 40%,
            transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 0;
}

.service-card:hover::before {
    opacity: 1;
}

/* Conteúdo acima do spotlight */
.service-card>* {
    position: relative;
    z-index: 1;
}

/* Linha que atravessa o card no hover (efeito scan) */
.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    transition: left 0.8s ease;
    z-index: 2;
}

.service-card:hover::after {
    left: 100%;
}

.service-card:hover {
    border-color: var(--accent-glow);
    background: var(--surface-hover);
    box-shadow: 0 30px 70px -20px rgba(30, 155, 255, 0.35);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-glow-soft);
    border: 1px solid var(--accent-glow-soft);
    border-radius: 14px;
    margin-bottom: 24px;
    color: var(--accent);
    transition: background 0.4s var(--ease),
        color 0.4s var(--ease),
        box-shadow 0.4s var(--ease),
        transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: iconBreath 3.5s ease-in-out infinite;
}

@keyframes iconBreath {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(30, 155, 255, 0.18);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(30, 155, 255, 0);
        transform: scale(1.04);
    }
}

.service-card:hover .service-icon {
    background: var(--accent);
    color: var(--bg);
    box-shadow: 0 10px 30px -5px var(--accent-glow);
    transform: rotate(-8deg) scale(1.1);
    animation: none;
}

.service-card:hover .service-icon svg {
    animation: iconWiggle 0.6s ease;
}

@keyframes iconWiggle {

    0%,
    100% {
        transform: rotate(0);
    }

    25% {
        transform: rotate(-12deg);
    }

    75% {
        transform: rotate(8deg);
    }
}

.service-icon svg {
    width: 26px;
    height: 26px;
}

.service-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.service-card p {
    color: var(--text-dim);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.service-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-card ul li {
    font-size: 13px;
    color: var(--text-mute);
    font-family: var(--font-mono);
    padding-left: 16px;
    position: relative;
    transition: color 0.3s ease, transform 0.3s var(--ease), padding-left 0.3s var(--ease);
}

.service-card ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
    transition: transform 0.3s var(--ease);
}

.service-card:hover ul li {
    color: var(--text);
    padding-left: 22px;
}

.service-card:hover ul li::before {
    transform: translateX(4px);
}

.service-card:hover ul li:nth-child(1) {
    transition-delay: 0.04s;
}

.service-card:hover ul li:nth-child(2) {
    transition-delay: 0.08s;
}

.service-card:hover ul li:nth-child(3) {
    transition-delay: 0.12s;
}

.service-card:hover ul li:nth-child(4) {
    transition-delay: 0.16s;
}

@media (hover: none) {
    .service-card::before {
        display: none;
    }

    .service-card {
        transform: none !important;
    }
}

/* ============================================
   PORTFÓLIO — ESTEIRA HORIZONTAL INFINITA
   ============================================ */
.conveyor-wrap {
    position: relative;
    width: 100%;
    margin: 60px auto 20px;
    overflow: hidden;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    touch-action: pan-y;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
            mask-image: linear-gradient(to right, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
}

.conveyor-wrap.is-dragging {
    cursor: grabbing;
}

.conveyor-track {
    display: flex;
    gap: 24px;
    width: max-content;
    will-change: transform;
    /* JS aplica translateX continuamente via rAF (drag + auto-scroll) */
}

.conveyor-track .project-card {
    flex: 0 0 340px;
    min-height: 420px;
    margin: 0;
    padding: 28px 24px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: linear-gradient(160deg, #0b1220 0%, #070a14 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease),
                background 0.35s var(--ease), transform 0.35s var(--ease);
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    position: relative;
}

.conveyor-track .project-card:hover {
    border-color: var(--accent);
    background: linear-gradient(160deg, #0d1729 0%, #080c18 100%);
    box-shadow:
        0 24px 60px -18px rgba(30, 155, 255, 0.45),
        0 0 0 1px rgba(30, 155, 255, 0.3);
    transform: translateY(-6px);
}

/* Conteúdo interno — herda do antigo */
.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.project-num {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-mute);
    letter-spacing: 0.1em;
}

.project-card.is-active .project-num {
    color: var(--accent);
    text-shadow: 0 0 12px rgba(30, 155, 255, 0.4);
}

.project-tag {
    font-family: var(--font-mono);
    font-size: 10px;
    padding: 5px 12px;
    background: var(--accent-glow-soft);
    color: var(--accent);
    border-radius: 100px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 1px solid rgba(30, 155, 255, 0.25);
    transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.project-card.is-active .project-tag {
    background: rgba(30, 155, 255, 0.22);
    box-shadow: 0 0 18px rgba(30, 155, 255, 0.35);
}

.project-title {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
    transition: color 0.3s;
}

.project-card.is-active .project-title {
    color: var(--accent);
}

.project-desc {
    color: var(--text-dim);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 28px;
    flex: 1;
}

.project-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--accent);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    transition: color 0.3s, gap 0.3s var(--ease);
}

/* ──────────────────────────────────────────────────────────
   CTA "Ver exemplo ao vivo" — zona dedicada de clique
   Card é <div> (draggable apenas), CTA é o <a> que navega.
   Imune ao drag handler do conveyor (JS pointerdown ignora).
   ────────────────────────────────────────────────────────── */
.project-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(30, 155, 255, 0.08);
    border: 1px solid rgba(30, 155, 255, 0.35);
    border-radius: 10px;
    padding: 14px 18px;
    margin-top: auto;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    text-decoration: none;
    position: relative;
    z-index: 5;
    transition: background 0.25s var(--ease),
                border-color 0.25s var(--ease),
                box-shadow 0.25s var(--ease),
                gap 0.25s var(--ease),
                color 0.25s var(--ease);
}

.project-cta svg {
    width: 14px;
    height: 14px;
    transition: transform 0.3s var(--ease);
}

.project-cta:hover {
    background: rgba(30, 155, 255, 0.18);
    border-color: var(--accent);
    color: var(--accent-2);
    gap: 14px;
    box-shadow: 0 6px 20px rgba(30, 155, 255, 0.25);
}

.project-cta:hover svg {
    transform: translate(4px, -4px);
}

.project-cta:active {
    transform: scale(0.98);
}

/* Quando .project-cta é usado, remove o border-top duplicado do .project-footer */
.project-footer.project-cta {
    border-top: none;
    padding-top: 14px;
}

.project-footer svg {
    width: 14px;
    height: 14px;
    transition: transform 0.4s var(--ease);
}

.project-card.is-active .project-footer {
    color: var(--accent);
    gap: 12px;
}

.project-card.is-active .project-footer svg {
    transform: translate(4px, -4px);
}

.project-card--tool {
    border-style: dashed;
}

.project-card--tool .project-footer svg {
    color: var(--text-mute);
}

/* Responsivo — mobile: cards menores e mais rápidos */
@media (max-width: 768px) {
    .conveyor-track .project-card {
        flex-basis: 250px;
        min-height: 340px;
        padding: 20px 18px;
    }
    .conveyor-track {
        gap: 16px;
        animation-duration: 38s;
    }
    .project-title {
        font-size: 18px;
    }
    .project-desc {
        font-size: 12px;
        margin-bottom: 18px;
    }
}

@media (max-width: 480px) {
    .conveyor-track .project-card {
        flex-basis: 220px;
        min-height: 310px;
        padding: 18px 16px;
    }
    .conveyor-track {
        gap: 12px;
    }
    .project-title {
        font-size: 16px;
    }
    .project-num,
    .project-tag {
        font-size: 9px;
    }
    .project-desc {
        font-size: 11px;
    }
}

/* Reduced motion: cuidado tratado no JS (sem auto-scroll) */

/* ============================================
   PROCESSO
   ============================================ */

/* Layout do processo: 3D à esquerda, timeline colada na borda direita */
.process-layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    max-width: 1650px;
    margin: 0 auto;
    padding: 0 40px;
}

.logo-3d-stage {
    flex: 0 0 auto;
}

.process-right {
    flex: 0 0 auto;
    min-width: 0;
    width: clamp(420px, 45%, 600px);
}

.process-right .process-timeline {
    margin: 0;
    max-width: 100%;
}

@media (max-width: 900px) {
    .process-layout {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 0 24px;
    }
}

/* Objeto 3D — águia extrudada rotacionando (Three.js WebGL) */
.logo-3d-stage {
    width: 100%;
    max-width: 420px;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    position: relative;
}

.logo-3d-canvas {
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
    z-index: 1;
    background: transparent;
    /* Glow CSS substitui o bloom WebGL — preserva o alpha do canvas */
    filter: drop-shadow(0 0 24px rgba(0, 212, 255, 0.55))
            drop-shadow(0 0 60px rgba(30, 155, 255, 0.3));
}

/* Halo azul atrás do objeto 3D */
.logo-3d-glow {
    position: absolute;
    inset: 10%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(30, 155, 255, 0.35), transparent 65%);
    filter: blur(40px);
    z-index: -1;
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {

    0%,
    100% {
        opacity: 0.6;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .logo-3d-glow {
        animation: none;
    }
}

.process-timeline {
    max-width: 860px;
    margin: 0 auto;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 20px;
    bottom: 20px;
    width: 1px;
    background: linear-gradient(to bottom, var(--accent) 0%, var(--border) 100%);
}

.process-step {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    padding: 28px 0;
    position: relative;
}

.step-num {
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-strong);
    border-radius: 50%;
    background: var(--bg);
    position: relative;
    z-index: 2;
    transition: all 0.4s var(--ease);
}

.process-step:hover .step-num {
    background: var(--accent);
    color: var(--bg);
    border-color: var(--accent);
    box-shadow: 0 0 40px var(--accent-glow);
}

.step-content {
    padding-top: 20px;
}

.step-content h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.step-content p {
    color: var(--text-dim);
    font-size: 15px;
    line-height: 1.6;
    max-width: 480px;
}

/* ============================================
   CONTATO
   ============================================ */
.contact {
    text-align: center;
    margin-top: 120px;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-inner {
    max-width: 560px;
    margin: 0 auto;
    padding: 0;
    border: none;
    background: none;
    position: relative;
}

.contact-content {
    position: relative;
    text-align: center;
}

.contact-title {
    font-size: clamp(24px, 3.2vw, 38px);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin: 0 0 12px;
}

.contact-title em {
    font-style: italic;
    font-weight: 300;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.contact-desc {
    font-size: 14px;
    color: var(--text-dim);
    margin: 0 auto 28px;
    max-width: 440px;
    line-height: 1.55;
}

.contact-email {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 22px;
    border: 1px solid var(--border);
    border-radius: 100px;
    background: transparent;
    transition: border-color 0.5s var(--ease), background 0.5s var(--ease),
                box-shadow 0.5s var(--ease), transform 0.5s var(--ease);
    margin-bottom: 32px;
    text-decoration: none;
    animation: btnPulse 2.5s ease-in-out infinite;
}

.contact-email:hover {
    border-color: var(--accent);
    background: var(--accent-glow-soft);
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 20px 60px -10px var(--accent-glow);
    animation: none;
}

@keyframes btnPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(30, 155, 255, 0.4),
                    0 4px 20px -4px rgba(30, 155, 255, 0.15);
        transform: translateY(0);
    }
    50% {
        box-shadow: 0 0 0 12px rgba(30, 155, 255, 0),
                    0 10px 40px -6px rgba(30, 155, 255, 0.3);
        transform: translateY(-4px);
    }
}

.email-label {
    display: none;
}

.email-value {
    font-size: 15px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0;
    color: var(--text);
}

.email-value svg {
    width: 14px;
    height: 14px;
    color: var(--accent);
    transition: transform 0.4s var(--ease);
}

.contact-email:hover .email-value svg {
    transform: translateX(4px);
}

.contact-meta {
    display: flex;
    justify-content: center;
    gap: 36px;
    padding-top: 22px;
    border-top: 1px solid var(--border);
    max-width: 460px;
    margin: 0 auto;
}

.contact-meta>div {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
}

.contact-meta span {
    font-family: var(--font-mono);
    font-size: 9px;
    color: var(--text-mute);
    text-transform: uppercase;
    letter-spacing: 0.18em;
}

.contact-meta strong {
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    margin-top: 100px;
    padding: 28px 48px 16px;
    border-top: 1px solid var(--border);
    background: var(--bg-2);
    position: relative;
    z-index: 3;
}

.footer-top {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 32px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);
    align-items: center;
}

.footer-brand {
    grid-column: 1;
}

.footer-links {
    grid-column: 2;
    justify-self: center;
}

.footer-brand img {
    height: 72px;
    margin-bottom: 12px;
    filter: drop-shadow(0 4px 20px rgba(30, 155, 255, 0.3));
    transition: filter 0.4s var(--ease);
    transform: scale(3);
    transform-origin: left center;
}

.footer-brand img:hover {
    filter: drop-shadow(0 6px 30px rgba(30, 155, 255, 0.6));
}

.footer-brand p {
    color: var(--text-dim);
    font-size: 12px;
    max-width: 320px;
    line-height: 1.5;
}

/* Cada grupo (Navegar / Conectar) com title em cima e links em linha horizontal */
.footer-links {
    display: flex;
    justify-content: center;
    gap: 48px;
    align-items: flex-start;
}

.footer-links > div {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links h4 {
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-mute);
    margin: 0;
    font-family: var(--font-mono);
}

/* Links em linha horizontal dentro do grupo */
.footer-links > div {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 18px;
}

.footer-links > div h4 {
    width: 100%;
    margin-bottom: 4px;
}

.footer-links a {
    font-size: 12px;
    color: var(--text-dim);
    padding: 2px 0;
    transition: color 0.3s;
    white-space: nowrap;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding-top: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    font-size: 11px;
    color: var(--text-mute);
    font-family: var(--font-mono);
    letter-spacing: 0.05em;
}

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}

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

/* Quando GSAP está ativo ele controla os inline styles — desliga a transição CSS */
body.gsap-active .reveal {
    transition: none;
}

/* Garante que cards com tilt/lift JS não tenham transição CSS no transform */
.service-card,
.project-card {
    transition: border-color 0.5s var(--ease-out),
                background 0.5s var(--ease-out),
                box-shadow 0.5s var(--ease-out),
                opacity 0.4s var(--ease-out),
                filter 0.4s var(--ease-out);
}

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

/* ── TABLET ── */
@media (max-width: 1024px) {
    section {
        padding: 48px 32px;
    }
    .site-header {
        padding: 0 32px;
    }
    .hero {
        padding: 100px 32px 64px;
    }
    .contact {
        margin-top: 80px;
        min-height: 60vh;
    }
    /* Footer vira 2 colunas: logo + links centralizados */
    .footer-top {
        grid-template-columns: auto auto;
        justify-content: center;
        gap: 40px;
        text-align: left;
    }
    .footer-brand { grid-column: auto; }
    .footer-links { grid-column: auto; justify-self: auto; }
    .site-footer {
        padding: 32px 32px 20px;
        margin-top: 60px;
    }
    /* Esteira mais leve */
    .conveyor-wrap { margin: 40px auto 16px; }
}

/* ── MOBILE ── */
@media (max-width: 768px) {
    /* Menu mobile (hambúrguer) */
    .menu-toggle {
        display: flex;
    }
    .main-nav {
        position: fixed;
        inset: 0;
        background: rgba(5, 7, 13, 0.96);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 30px;
        transform: translateX(100%);
        transition: transform 0.5s var(--ease);
        z-index: 99;
    }
    .main-nav.active {
        transform: translateX(0);
    }
    .main-nav a {
        font-size: 22px;
    }

    /* Header e logo */
    .site-header {
        height: 56px;
        padding: 0 20px;
        justify-content: space-between;
    }
    .site-header.scrolled {
        height: 48px;
        padding: 0 20px;
    }
    .brand-logo {
        height: 80px;
    }
    .site-header.scrolled .brand-logo {
        height: 60px;
    }

    /* Sections */
    section {
        padding: 40px 20px;
    }
    .hero {
        padding: 90px 20px 48px;
        min-height: 100dvh;
    }
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .hero-actions .btn {
        justify-content: center;
        width: 100%;
    }
    .hero-stats {
        gap: 28px;
    }
    .hero-scroll {
        bottom: 20px;
    }
    .section-head {
        margin-bottom: 32px;
    }

    /* Process */
    .process-layout {
        flex-direction: column;
        gap: 28px;
        padding: 0 16px;
    }
    .logo-3d-stage,
    .process-right {
        width: 100%;
    }
    .process-step {
        gap: 20px;
    }
    .step-num {
        width: 52px;
        height: 52px;
        font-size: 12px;
    }
    .process-timeline::before {
        left: 26px;
    }

    /* Contato */
    .contact {
        margin-top: 56px;
        min-height: auto;
        padding: 32px 20px 56px;
    }
    .contact-title {
        font-size: 26px;
    }
    .contact-meta {
        flex-direction: column;
        gap: 18px;
        padding-top: 18px;
    }

    /* Footer */
    .site-footer {
        padding: 28px 20px 18px;
        margin-top: 40px;
    }
    .footer-top {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
        padding-bottom: 16px;
    }
    .footer-brand,
    .footer-links {
        justify-self: center;
    }
    .footer-brand img {
        height: 56px;
        transform: scale(1.8);
        transform-origin: center;
        margin: 0 auto 14px;
        display: block;
    }
    .footer-brand p {
        font-size: 12px;
        margin: 0 auto;
    }
    .footer-links {
        gap: 28px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
        font-size: 10px;
        padding-top: 12px;
    }
}

/* ── MOBILE PEQUENO ── */
@media (max-width: 480px) {
    section {
        padding: 32px 16px;
    }
    .hero {
        padding: 80px 16px 40px;
    }
    .hero-title {
        font-size: 36px;
        line-height: 1.15;
    }
    .hero-desc {
        font-size: 14px;
    }
    .hero-stats {
        gap: 20px;
    }
    .stat-num {
        font-size: 30px;
    }
    .marquee-track {
        font-size: 18px;
    }

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

    .btn {
        padding: 12px 22px;
        font-size: 13px;
    }
    .btn-outline {
        padding: 14px 26px;
    }

    .section-title {
        font-size: 28px;
    }
    .section-tag {
        font-size: 10px;
        margin-bottom: 12px;
    }
    .section-desc {
        font-size: 14px;
    }

    .contact-title {
        font-size: 22px;
    }
    .contact-desc {
        font-size: 13px;
    }
    .contact-email {
        padding: 12px 18px;
    }

    .footer-brand img {
        height: 48px;
        transform: scale(1.6);
    }
    .footer-links {
        flex-direction: column;
        gap: 18px;
    }
    .footer-links > div {
        justify-content: center;
    }
}

/* ── ACESSIBILIDADE: reduce motion ── */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}