/* ===========================================================
   VORTEX HOLDING, LDA — Estilos globais
   Tecnologia | Marketing | Gráfica
   Desenvolvido por Tomás Hale
   =========================================================== */

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

:root {
    /* Cores base */
    --bg: #050810;
    --bg-2: #0a0f1c;
    --surface: #0f1525;
    --surface-2: #161e34;
    --surface-3: #1c2540;
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.16);

    /* Texto */
    --text: #ffffff;
    --text-soft: #c9d1e1;
    --muted: #7a8499;
    --muted-2: #545b70;

    /* Cores acento */
    --cyan: #00d4ff;
    --cyan-dark: #0099cc;
    --purple: #8b5cf6;
    --purple-dark: #6d3fd6;
    --pink: #ec4899;
    --green: #10b981;
    --orange: #f97316;

    /* Gradientes */
    --grad-primary: linear-gradient(135deg, #00d4ff 0%, #8b5cf6 100%);
    --grad-secondary: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    --grad-cool: linear-gradient(135deg, #00d4ff 0%, #6d3fd6 50%, #ec4899 100%);
    --grad-glow: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.3) 0%, transparent 70%);

    /* Sombras */
    --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 40px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 70px rgba(0, 0, 0, 0.5);
    --shadow-cyan: 0 10px 40px rgba(0, 212, 255, 0.35);
    --shadow-purple: 0 10px 40px rgba(139, 92, 246, 0.4);

    /* Transições */
    --t-fast: 0.2s ease;
    --t: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --t-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

    /* Layout */
    --container: 1280px;
    --container-wide: 1440px;
    --header-height: 80px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    cursor: none;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { background: none; border: none; font-family: inherit; cursor: none; }
input, select, textarea { font-family: inherit; }

::selection {
    background: var(--purple);
    color: var(--white);
}

/* ===== BACKGROUND GLOBAL — malha animada ===== */
.bg-mesh {
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(ellipse 80% 60% at 20% 20%, rgba(0, 212, 255, 0.12), transparent 50%),
        radial-gradient(ellipse 60% 80% at 80% 70%, rgba(139, 92, 246, 0.15), transparent 50%),
        radial-gradient(ellipse 50% 50% at 50% 100%, rgba(236, 72, 153, 0.08), transparent 50%),
        var(--bg);
}
.bg-grid {
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    pointer-events: none;
}

/* Orbe que segue o rato (animado via JS) */
.bg-orb {
    position: fixed;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.15), transparent 70%);
    pointer-events: none;
    z-index: -1;
    transform: translate(-50%, -50%);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    filter: blur(40px);
}

/* ===== CURSOR PERSONALIZADO ===== */
.cursor-dot,
.cursor-ring {
    position: fixed;
    top: 0; left: 0;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
}
.cursor-dot {
    width: 6px;
    height: 6px;
    background: var(--cyan);
    transition: transform 0.1s ease;
}
.cursor-ring {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(0, 212, 255, 0.5);
    transition: transform 0.15s ease, width 0.3s, height 0.3s, background 0.3s;
}
.cursor-ring.hover {
    width: 60px;
    height: 60px;
    background: rgba(139, 92, 246, 0.15);
    border-color: var(--purple);
}

@media (max-width: 992px), (pointer: coarse) {
    body { cursor: auto; }
    button, a { cursor: pointer; }
    .cursor-dot, .cursor-ring { display: none; }
}

/* ===== CONTAINER ===== */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.8rem;
    position: relative;
}
.container-wide {
    max-width: var(--container-wide);
    margin: 0 auto;
    padding: 0 1.8rem;
}

/* ===== TIPOGRAFIA ===== */
h1, h2, h3, h4, h5 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--text);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--cyan);
    padding: 0.4rem 0.9rem;
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 100px;
    margin-bottom: 1.5rem;
}
.eyebrow::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 12px var(--cyan);
}

.section-title {
    font-size: clamp(2.2rem, 4.5vw, 3.8rem);
    margin-bottom: 1.2rem;
    letter-spacing: -0.03em;
}
.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-soft);
    max-width: 620px;
    line-height: 1.7;
}
.section-header {
    margin-bottom: 4rem;
}
.section-header.centered {
    text-align: center;
}
.section-header.centered .section-subtitle {
    margin: 0 auto;
}

.gradient-text {
    background: var(--grad-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}
.gradient-text-2 {
    background: var(--grad-secondary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

/* ===== BOTÕES ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.95rem 1.9rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    border-radius: 100px;
    transition: all var(--t);
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
    white-space: nowrap;
}

.btn-primary {
    background: var(--grad-primary);
    color: var(--text);
    box-shadow: var(--shadow-cyan);
}
.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--grad-secondary);
    opacity: 0;
    transition: opacity var(--t);
    z-index: 0;
}
.btn-primary > * { position: relative; z-index: 1; }
.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-purple);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    border: 1px solid var(--border-strong);
    backdrop-filter: blur(20px);
}
.btn-glass:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--cyan);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}
.btn-ghost:hover {
    border-color: var(--cyan);
    background: rgba(0, 212, 255, 0.06);
}

.btn-dark {
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
}
.btn-dark:hover {
    background: var(--surface-2);
    border-color: var(--purple);
}

.btn-sm {
    padding: 0.65rem 1.3rem;
    font-size: 0.85rem;
}
.btn-lg {
    padding: 1.15rem 2.3rem;
    font-size: 1rem;
}
.btn-block { width: 100%; }

/* ===== HEADER / NAVBAR ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
    transition: all var(--t);
    background: transparent;
}
.header.scrolled {
    background: rgba(5, 8, 16, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    height: 70px;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: var(--container-wide);
    margin: 0 auto;
    padding: 0 1.8rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.35rem;
    letter-spacing: -0.02em;
}
.logo-mark {
    width: 38px;
    height: 38px;
    background: var(--grad-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    font-size: 1.1rem;
    position: relative;
    box-shadow: var(--shadow-cyan);
    animation: logoFloat 4s ease-in-out infinite;
}
.logo-mark::before {
    content: '';
    position: absolute;
    inset: -1px;
    background: var(--grad-primary);
    border-radius: 10px;
    filter: blur(10px);
    opacity: 0.6;
    z-index: -1;
}
@keyframes logoFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-3px) rotate(3deg); }
}
.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}
.logo-text .brand {
    color: var(--text);
}
.logo-text .sub {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    color: var(--muted);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-top: 4px;
    font-weight: 400;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.2rem;
}
.nav-menu a {
    color: var(--text-soft);
    font-size: 0.92rem;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    transition: color var(--t);
}
.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--grad-primary);
    transition: width var(--t);
}
.nav-menu a:hover,
.nav-menu a.active {
    color: var(--text);
}
.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    z-index: 1001;
}
.hamburger span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--text);
    transition: all var(--t);
    border-radius: 2px;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO COMUM ===== */
.hero {
    min-height: 100vh;
    padding: calc(var(--header-height) + 4rem) 0 5rem;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.hero-content {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.8rem;
    width: 100%;
    position: relative;
    z-index: 2;
}

/* Hero da Home */
.hero-home {
    min-height: 100vh;
}
.hero-home .hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}
.hero-home h1 {
    font-size: clamp(2.5rem, 6vw, 5.2rem);
    line-height: 1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.04em;
}
.hero-home .hero-sub {
    font-size: 1.15rem;
    color: var(--text-soft);
    margin-bottom: 2.5rem;
    line-height: 1.7;
    max-width: 540px;
}
.hero-home .hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}
.hero-meta {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}
.meta-item {
    display: flex;
    flex-direction: column;
}
.meta-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1;
}
.meta-label {
    font-size: 0.8rem;
    color: var(--muted);
    margin-top: 0.4rem;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.05em;
}

/* Texto rotativo no hero */
.rotating-words {
    display: inline-block;
    position: relative;
    color: transparent;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    background-clip: text;
}
.rotating-words .word {
    display: inline-block;
    animation: wordSlide 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes wordSlide {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Hero visual à direita — composição 3D */
.hero-visual {
    position: relative;
    aspect-ratio: 1;
    perspective: 1200px;
}
.hero-card {
    position: absolute;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.2rem 1.4rem;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-lg);
    transition: transform var(--t);
}
.hero-card-1 {
    top: 5%;
    left: 0;
    width: 60%;
    background: linear-gradient(135deg, rgba(15, 21, 37, 0.95), rgba(28, 37, 64, 0.85));
    animation: floatA 7s ease-in-out infinite;
}
.hero-card-2 {
    top: 35%;
    right: 0;
    width: 55%;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(0, 212, 255, 0.05));
    border-color: rgba(139, 92, 246, 0.3);
    animation: floatB 8s ease-in-out infinite;
}
.hero-card-3 {
    bottom: 5%;
    left: 12%;
    width: 65%;
    animation: floatA 9s ease-in-out infinite reverse;
}
@keyframes floatA {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-15px) rotate(0deg); }
}
@keyframes floatB {
    0%, 100% { transform: translateY(0) rotate(2deg); }
    50% { transform: translateY(-20px) rotate(0deg); }
}

.hero-card .card-icon {
    width: 36px;
    height: 36px;
    background: var(--grad-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.7rem;
}
.hero-card h4 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
}
.hero-card p {
    font-size: 0.82rem;
    color: var(--muted);
}
.hero-card .card-progress {
    margin-top: 0.7rem;
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    overflow: hidden;
}
.hero-card .card-progress-fill {
    height: 100%;
    background: var(--grad-primary);
    border-radius: 2px;
    width: 75%;
    animation: progress 3s ease-in-out infinite;
}
@keyframes progress {
    0%, 100% { width: 25%; }
    50% { width: 85%; }
}

/* Hero interior das páginas (sobre, serviços, etc.) */
.hero-inner {
    min-height: 60vh;
    text-align: center;
}
.hero-inner h1 {
    font-size: clamp(2.4rem, 5.5vw, 4.5rem);
    margin-bottom: 1.2rem;
    letter-spacing: -0.03em;
}
.hero-inner .hero-sub {
    font-size: 1.15rem;
    color: var(--text-soft);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.7;
}
.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    color: var(--muted);
    margin-top: 2rem;
}
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb i { font-size: 0.65rem; }

/* ===== SECÇÕES GENÉRICAS ===== */
section {
    padding: 6rem 0;
    position: relative;
}

/* ===== CARDS DE SERVIÇO (home) ===== */
.services-section {
    position: relative;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 1.5rem;
}
.service-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.2rem;
    position: relative;
    overflow: hidden;
    transition: all var(--t);
    cursor: none;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(139, 92, 246, 0.15), transparent 50%);
    opacity: 0;
    transition: opacity var(--t);
    pointer-events: none;
}
.service-card:hover {
    border-color: var(--purple);
    transform: translateY(-6px);
    box-shadow: var(--shadow-purple);
}
.service-card:hover::before { opacity: 1; }

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: var(--grad-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text);
    margin-bottom: 1.5rem;
    position: relative;
}
.service-icon::after {
    content: '';
    position: absolute;
    inset: -3px;
    background: var(--grad-primary);
    border-radius: 14px;
    filter: blur(15px);
    opacity: 0.5;
    z-index: -1;
}
.service-card:nth-child(2) .service-icon { background: var(--grad-secondary); }
.service-card:nth-child(2) .service-icon::after { background: var(--grad-secondary); }
.service-card:nth-child(3) .service-icon { background: linear-gradient(135deg, var(--green), var(--cyan)); }
.service-card:nth-child(3) .service-icon::after { background: linear-gradient(135deg, var(--green), var(--cyan)); }
.service-card:nth-child(4) .service-icon { background: linear-gradient(135deg, var(--orange), var(--pink)); }
.service-card:nth-child(4) .service-icon::after { background: linear-gradient(135deg, var(--orange), var(--pink)); }
.service-card:nth-child(5) .service-icon { background: linear-gradient(135deg, var(--pink), var(--purple)); }
.service-card:nth-child(5) .service-icon::after { background: linear-gradient(135deg, var(--pink), var(--purple)); }
.service-card:nth-child(6) .service-icon { background: linear-gradient(135deg, var(--cyan), var(--purple)); }
.service-card:nth-child(6) .service-icon::after { background: linear-gradient(135deg, var(--cyan), var(--purple)); }

.service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.7rem;
}
.service-card p {
    color: var(--text-soft);
    font-size: 0.93rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}
.service-features {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-bottom: 1.5rem;
}
.service-features li {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.86rem;
    color: var(--muted);
}
.service-features li i {
    color: var(--cyan);
    font-size: 0.7rem;
}
.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--cyan);
    font-size: 0.88rem;
    font-weight: 600;
    transition: all var(--t);
}
.service-link:hover { gap: 0.8rem; color: var(--text); }

/* ===== STATS ===== */
.stats-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, transparent, rgba(139, 92, 246, 0.04), transparent);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}
.stat-block {
    text-align: center;
    padding: 1.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: all var(--t);
}
.stat-block:hover {
    border-color: var(--cyan);
    transform: translateY(-4px);
}
.stat-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 700;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}
.stat-suffix {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    background: var(--grad-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.stat-block p {
    margin-top: 0.7rem;
    font-size: 0.88rem;
    color: var(--muted);
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.05em;
}

/* ===== PROCESSO ===== */
.process-section {
    position: relative;
}
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    position: relative;
}
.process-grid::before {
    content: '';
    position: absolute;
    top: 45px;
    left: 8%;
    right: 8%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--purple), var(--cyan), transparent);
    opacity: 0.4;
}
.process-step {
    text-align: center;
    position: relative;
}
.process-num {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--surface);
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text);
    position: relative;
    z-index: 2;
    transition: all var(--t);
}
.process-step:hover .process-num {
    background: var(--grad-primary);
    border-color: transparent;
    transform: scale(1.08);
    box-shadow: var(--shadow-cyan);
}
.process-step h3 {
    font-size: 1.2rem;
    margin-bottom: 0.7rem;
}
.process-step p {
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.65;
    padding: 0 0.5rem;
}

/* ===== TECNOLOGIAS — Marquee ===== */
.tech-marquee {
    padding: 4rem 0;
    overflow: hidden;
    border-block: 1px solid var(--border);
    background: linear-gradient(180deg, transparent, rgba(0, 212, 255, 0.03));
}
.tech-marquee-label {
    text-align: center;
    color: var(--muted);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-bottom: 2rem;
}
.marquee {
    display: flex;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.marquee-track {
    display: flex;
    gap: 4rem;
    animation: marquee 30s linear infinite;
    flex-shrink: 0;
    padding-right: 4rem;
}
.marquee-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.5rem;
    color: var(--text-soft);
    white-space: nowrap;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    opacity: 0.7;
    transition: opacity var(--t);
}
.marquee-item:hover { opacity: 1; }
.marquee-item i { font-size: 1.8rem; }
@keyframes marquee {
    to { transform: translateX(-50%); }
}

/* ===== CTA ===== */
.cta-section {
    padding: 5rem 0;
}
.cta-box {
    background:
        radial-gradient(circle at 30% 50%, rgba(0, 212, 255, 0.18), transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(139, 92, 246, 0.2), transparent 50%),
        var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: 24px;
    padding: 4rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(0, 212, 255, 0.08));
    pointer-events: none;
}
.cta-box h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin-bottom: 1rem;
    position: relative;
}
.cta-box p {
    color: var(--text-soft);
    font-size: 1.08rem;
    margin-bottom: 2rem;
    max-width: 560px;
    margin-inline: auto;
    position: relative;
}
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    padding: 4.5rem 0 0;
    position: relative;
    overflow: hidden;
}
.footer::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--cyan), var(--purple), transparent);
}
.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border);
}
.footer-brand p {
    color: var(--muted);
    margin: 1.2rem 0;
    font-size: 0.93rem;
    line-height: 1.7;
    max-width: 320px;
}
.footer-social {
    display: flex;
    gap: 0.6rem;
    margin-top: 1.2rem;
}
.footer-social a {
    width: 38px;
    height: 38px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 0.85rem;
    color: var(--muted);
    transition: all var(--t);
}
.footer-social a:hover {
    background: var(--grad-primary);
    color: var(--text);
    border-color: transparent;
    transform: translateY(-3px);
}
.footer-col h4 {
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1.3rem;
}
.footer-col ul li { margin-bottom: 0.7rem; }
.footer-col ul a {
    color: var(--muted);
    font-size: 0.9rem;
    transition: all var(--t);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.footer-col ul a:hover {
    color: var(--cyan);
    padding-left: 4px;
}
.footer-contact li {
    color: var(--muted);
    font-size: 0.88rem;
    margin-bottom: 0.9rem;
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
    line-height: 1.5;
}
.footer-contact i {
    color: var(--cyan);
    font-size: 0.85rem;
    margin-top: 4px;
}

.footer-bottom {
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--muted);
}
.dev-credit a {
    background: var(--grad-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
}
.dev-credit i {
    color: var(--cyan);
    margin-left: 0.3rem;
}

/* ===== FLOATING BUTTONS ===== */
.fab-group {
    position: fixed;
    bottom: 1.8rem;
    right: 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    z-index: 999;
}
.fab {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    font-size: 1.4rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    transition: all var(--t);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}
.fab.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.fab-whatsapp {
    background: #25d366;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    animation: pulseFab 2.5s infinite;
}
@keyframes pulseFab {
    0%, 100% { box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.5); }
    50% { box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4), 0 0 0 14px rgba(37, 211, 102, 0); }
}
.fab-top {
    background: var(--surface);
    border: 1px solid var(--border-strong);
    font-size: 1rem;
}
.fab:hover { transform: translateY(-3px) scale(1.05); }

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}
.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}
.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* ===========================================================
   PÁGINAS ESPECÍFICAS
   =========================================================== */

/* ===== SOBRE ===== */
.about-story {
    padding: 6rem 0;
}
.story-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 5rem;
    align-items: center;
}
.story-visual {
    position: relative;
    aspect-ratio: 1;
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(139, 92, 246, 0.2)),
        url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?w=800&q=80') center/cover;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.story-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid var(--border-strong);
    border-radius: 24px;
    pointer-events: none;
}
.story-content .lead {
    font-size: 1.25rem;
    color: var(--text);
    margin-bottom: 1.5rem;
    line-height: 1.5;
    font-family: 'Space Grotesk', sans-serif;
}
.story-content p {
    color: var(--text-soft);
    margin-bottom: 1.2rem;
    line-height: 1.8;
}

/* Valores */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}
.value-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.8rem;
    transition: all var(--t);
}
.value-card:hover {
    border-color: var(--cyan);
    transform: translateY(-5px);
}
.value-icon {
    width: 48px;
    height: 48px;
    background: rgba(0, 212, 255, 0.1);
    color: var(--cyan);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
}
.value-card h4 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}
.value-card p {
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.65;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.timeline::before {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    left: 30px;
    width: 2px;
    background: linear-gradient(180deg, var(--cyan), var(--purple), transparent);
}
.timeline-item {
    position: relative;
    padding-left: 80px;
    margin-bottom: 3rem;
}
.timeline-item:last-child { margin-bottom: 0; }
.timeline-dot {
    position: absolute;
    left: 20px;
    top: 5px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--grad-primary);
    border: 4px solid var(--bg);
    box-shadow: 0 0 0 3px var(--cyan);
}
.timeline-year {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    color: var(--cyan);
    letter-spacing: 0.1em;
    margin-bottom: 0.4rem;
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 100px;
}
.timeline-item h3 {
    font-size: 1.3rem;
    margin: 0.5rem 0 0.5rem;
}
.timeline-item p {
    color: var(--text-soft);
    line-height: 1.7;
}

/* Equipa */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}
.team-card {
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 1.8rem;
    transition: all var(--t);
}
.team-card:hover {
    transform: translateY(-6px);
    border-color: var(--purple);
}
.team-avatar {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    margin: 0 auto 1.2rem;
    background-size: cover;
    background-position: center;
    position: relative;
    border: 3px solid var(--bg);
    box-shadow: 0 0 0 2px var(--purple);
}
.team-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}
.team-role {
    color: var(--cyan);
    font-size: 0.85rem;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}
.team-card p {
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}
.team-social {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}
.team-social a {
    width: 34px;
    height: 34px;
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-size: 0.8rem;
    transition: all var(--t);
}
.team-social a:hover {
    background: var(--cyan);
    color: var(--bg);
    border-color: var(--cyan);
}

/* ===== SERVIÇOS — Página ===== */
.service-detail {
    padding: 5rem 0;
    border-bottom: 1px solid var(--border);
}
.service-detail:last-of-type { border-bottom: none; }
.service-detail .container > div { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.service-detail.reverse .container > div { direction: rtl; }
.service-detail.reverse .container > div > * { direction: ltr; }

.service-detail .service-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    color: var(--cyan);
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 100px;
}
.service-detail h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    margin-bottom: 1.2rem;
}
.service-detail p {
    color: var(--text-soft);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}
.service-bullets {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
    margin: 1.5rem 0 2rem;
}
.service-bullets li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: var(--text-soft);
}
.service-bullets li i {
    color: var(--cyan);
    font-size: 0.8rem;
}

.service-visual {
    aspect-ratio: 4/3;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
}
.service-visual-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}
.service-visual:hover .service-visual-bg {
    transform: scale(1.05);
}
.service-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 50%, rgba(5, 8, 16, 0.6));
}

/* ===== SOFTWARES — Página ===== */
.softwares-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: 1.8rem;
}
.software-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    transition: all var(--t);
    display: flex;
    flex-direction: column;
}
.software-card:hover {
    transform: translateY(-8px);
    border-color: var(--cyan);
    box-shadow: var(--shadow-cyan);
}
.software-preview {
    aspect-ratio: 16/10;
    background-size: cover;
    background-position: center top;
    position: relative;
    overflow: hidden;
}
.software-preview::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(5, 8, 16, 0.85));
}
.software-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.35rem 0.8rem;
    background: rgba(5, 8, 16, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-strong);
    border-radius: 100px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    color: var(--cyan);
    z-index: 2;
}
.software-badge.beta { color: var(--orange); }
.software-badge.live { color: var(--green); }
.software-tags {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    z-index: 2;
}
.software-tag {
    padding: 0.25rem 0.6rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 100px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: var(--text-soft);
    letter-spacing: 0.03em;
}

.software-body {
    padding: 1.8rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.software-body h3 {
    font-size: 1.35rem;
    margin-bottom: 0.6rem;
}
.software-body p {
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
    flex: 1;
}
.software-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--border);
}
.software-meta {
    font-size: 0.82rem;
    color: var(--muted);
    font-family: 'JetBrains Mono', monospace;
}

.software-filters {
    display: flex;
    justify-content: center;
    gap: 0.7rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}
.filter-btn {
    padding: 0.6rem 1.4rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 100px;
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 500;
    transition: all var(--t);
}
.filter-btn:hover {
    color: var(--text);
    border-color: var(--cyan);
}
.filter-btn.active {
    background: var(--grad-primary);
    color: var(--text);
    border-color: transparent;
}

/* ===== BLOG ===== */
.blog-featured {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 4rem;
}
.blog-featured-image {
    aspect-ratio: 4/3;
    background-size: cover;
    background-position: center;
    position: relative;
}
.blog-featured-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(139, 92, 246, 0.3));
}
.blog-featured-content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.blog-featured-content h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    margin: 1rem 0;
    line-height: 1.25;
}
.blog-featured-content p {
    color: var(--text-soft);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    color: var(--muted);
    letter-spacing: 0.05em;
}
.blog-cat {
    padding: 0.25rem 0.7rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.25);
    border-radius: 100px;
    color: var(--cyan);
    text-transform: uppercase;
    font-size: 0.7rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: 2rem;
}
.blog-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    transition: all var(--t);
    display: flex;
    flex-direction: column;
}
.blog-card:hover {
    transform: translateY(-6px);
    border-color: var(--purple);
}
.blog-card-image {
    aspect-ratio: 16/10;
    background-size: cover;
    background-position: center;
    transition: transform var(--t-slow);
}
.blog-card:hover .blog-card-image {
    transform: scale(1.05);
}
.blog-card-body {
    padding: 1.7rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.blog-card h3 {
    font-size: 1.2rem;
    margin: 0.8rem 0;
    line-height: 1.35;
    transition: color var(--t);
}
.blog-card:hover h3 { color: var(--cyan); }
.blog-card p {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.65;
    margin-bottom: 1.2rem;
    flex: 1;
}
.blog-card-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    color: var(--muted);
}

.blog-newsletter {
    margin-top: 5rem;
    padding: 4rem 3rem;
    background:
        radial-gradient(circle at 50% 50%, rgba(0, 212, 255, 0.15), transparent 60%),
        var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: 24px;
    text-align: center;
}
.blog-newsletter h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: 0.8rem;
}
.blog-newsletter p {
    color: var(--text-soft);
    margin-bottom: 2rem;
    max-width: 480px;
    margin-inline: auto;
}
.newsletter-form {
    display: flex;
    gap: 0.6rem;
    max-width: 480px;
    margin: 0 auto;
}
.newsletter-form input {
    flex: 1;
    padding: 0.9rem 1.2rem;
    background: var(--bg);
    border: 1px solid var(--border-strong);
    border-radius: 100px;
    color: var(--text);
    font-size: 0.95rem;
    outline: none;
    transition: all var(--t);
}
.newsletter-form input:focus {
    border-color: var(--cyan);
}

/* ===== CONTACTO ===== */
.contact-section {
    padding: 5rem 0;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 3rem;
    align-items: start;
}
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.contact-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all var(--t);
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.contact-card:hover {
    border-color: var(--cyan);
    transform: translateX(5px);
}
.contact-card-icon {
    width: 44px;
    height: 44px;
    background: var(--grad-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--text);
    flex-shrink: 0;
}
.contact-card h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--muted);
    margin-bottom: 0.3rem;
    font-weight: 600;
}
.contact-card p, .contact-card a {
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.5;
    transition: color var(--t);
}
.contact-card a:hover { color: var(--cyan); }

.contact-form-wrap {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem;
}
.contact-form-wrap h3 {
    font-size: 1.5rem;
    margin-bottom: 0.4rem;
}
.contact-form-wrap > p {
    color: var(--muted);
    font-size: 0.92rem;
    margin-bottom: 2rem;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.form-group {
    margin-bottom: 1.2rem;
}
.form-group label {
    display: block;
    font-size: 0.82rem;
    color: var(--text-soft);
    margin-bottom: 0.5rem;
    font-weight: 500;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    background: var(--bg);
    border: 1px solid var(--border-strong);
    border-radius: 10px;
    color: var(--text);
    font-size: 0.93rem;
    outline: none;
    transition: all var(--t);
}
.form-group select {
    appearance: none;
    cursor: pointer;
    background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%237a8499' d='M5 6L0 0h10z'/%3E%3C/svg%3E") right 1rem center no-repeat;
    padding-right: 2.5rem;
}
.form-group textarea {
    resize: vertical;
    min-height: 130px;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.12);
}
.form-success {
    margin-top: 1rem;
    padding: 1rem 1.2rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 10px;
    color: var(--green);
    font-size: 0.9rem;
    display: none;
}
.form-success.show { display: flex; align-items: center; gap: 0.6rem; }

.map-wrap {
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    margin-top: 4rem;
    border: 1px solid var(--border-strong);
    filter: grayscale(0.5) brightness(0.8) contrast(1.2);
}
.map-wrap iframe { width: 100%; height: 100%; border: none; }

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}
.faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    transition: all var(--t);
}
.faq-item:hover { border-color: var(--cyan); }
.faq-item.open {
    border-color: var(--cyan);
    background: linear-gradient(135deg, var(--surface), rgba(0, 212, 255, 0.04));
}
.faq-q {
    width: 100%;
    padding: 1.3rem 1.6rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    color: var(--text);
    font-size: 1rem;
    font-weight: 500;
}
.faq-q i {
    color: var(--cyan);
    transition: transform var(--t);
}
.faq-item.open .faq-q i { transform: rotate(45deg); }
.faq-a {
    max-height: 0;
    overflow: hidden;
    padding: 0 1.6rem;
    color: var(--text-soft);
    font-size: 0.94rem;
    line-height: 1.7;
    transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-item.open .faq-a {
    max-height: 240px;
    padding: 0 1.6rem 1.4rem;
}

/* ===== RESPONSIVO ===== */
@media (max-width: 1100px) {
    .hero-home .hero-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    .hero-visual { max-width: 500px; margin: 0 auto; }
    .story-grid { grid-template-columns: 1fr; gap: 3rem; }
    .service-detail .container > div { grid-template-columns: 1fr; gap: 3rem; }
    .service-detail.reverse .container > div { direction: ltr; }
    .blog-featured { grid-template-columns: 1fr; }
    .blog-featured-content { padding: 2rem; }
}

@media (max-width: 992px) {
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .process-grid { grid-template-columns: 1fr 1fr; }
    .process-grid::before { display: none; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
    .contact-grid { grid-template-columns: 1fr; }
    section { padding: 5rem 0; }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 85%;
        max-width: 360px;
        background: var(--bg-2);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1.8rem;
        transition: right 0.4s ease;
        padding: 2rem;
        border-left: 1px solid var(--border);
    }
    .nav-menu.active { right: 0; }
    .nav-menu a { font-size: 1.1rem; }
    .hamburger { display: flex; }
    .nav-cta .btn { display: none; }

    .hero-buttons { flex-direction: column; align-items: stretch; }
    .hero-buttons .btn { width: 100%; }
    .hero-meta { gap: 1.5rem; }
    .meta-num { font-size: 1.6rem; }

    .stats-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
    .stat-block { padding: 1.2rem; }
    .process-grid { grid-template-columns: 1fr; }

    .cta-box { padding: 2.5rem 1.5rem; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .contact-form-wrap { padding: 1.8rem 1.4rem; }
    .blog-featured-content { padding: 1.6rem; }
    .blog-newsletter { padding: 2.5rem 1.5rem; }
    .newsletter-form { flex-direction: column; }
    .newsletter-form input { width: 100%; }

    .footer-top { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; text-align: center; }

    .fab-group { bottom: 1.2rem; right: 1.2rem; }
    .fab { width: 48px; height: 48px; font-size: 1.2rem; }
}

@media (max-width: 480px) {
    section { padding: 4rem 0; }
    .container { padding: 0 1.1rem; }
    .nav { padding: 0 1.1rem; }
    .stats-grid { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr; }
    .software-filters { gap: 0.4rem; }
    .filter-btn { padding: 0.5rem 1rem; font-size: 0.82rem; }
    .timeline-item { padding-left: 60px; }
    .timeline::before { left: 22px; }
    .timeline-dot { left: 12px; }
    .service-bullets { grid-template-columns: 1fr; }
}
