/* ==================================================
   INDEX.CSS — DIMEN6 | AWWWARDS-LEVEL HOMEPAGE
   Técnicas: Loading screen, char reveal, parallax,
   magnetic buttons, glitch text, noise overlay
   ================================================== */

/* ==================================================
   0. LOADING SCREEN
   ================================================== */
.d6-loader {
    position: fixed;
    inset: 0;
    background: var(--bg-dark);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.d6-loader.hidden {
    opacity: 0;
    transform: translateY(-100%);
    pointer-events: none;
}

.loader-logo {
    width: 80px;
    height: 80px;
    position: relative;
    margin-bottom: 40px;
}

.loader-hex {
    width: 80px;
    height: 80px;
    border: 2px solid var(--primary);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    animation: hexSpin 2s linear infinite;
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.3), inset 0 0 30px rgba(0, 243, 255, 0.05);
}

@keyframes hexSpin {
    0%   { transform: rotate(0deg); box-shadow: 0 0 20px rgba(0,243,255,0.3); }
    50%  { box-shadow: 0 0 50px rgba(0,243,255,0.6), inset 0 0 20px rgba(0,243,255,0.1); }
    100% { transform: rotate(360deg); box-shadow: 0 0 20px rgba(0,243,255,0.3); }
}

.loader-text {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    letter-spacing: 6px;
    color: var(--text-gray);
    text-transform: uppercase;
    margin-bottom: 30px;
}

.loader-bar-wrap {
    width: 200px;
    height: 1px;
    background: rgba(255,255,255,0.08);
    overflow: hidden;
}

.loader-bar {
    height: 100%;
    background: linear-gradient(to right, transparent, var(--primary));
    width: 0%;
    box-shadow: 0 0 10px var(--primary);
    transition: width 0.05s linear;
}

.loader-percent {
    font-family: var(--font-heading);
    font-size: 0.6rem;
    letter-spacing: 3px;
    color: var(--primary);
    margin-top: 12px;
}

/* ==================================================
   1. NOISE OVERLAY GLOBAL
   ================================================== */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 200px 200px;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.35;
}


/* ==================================================
   3. HERO SECTION — CINEMATOGRÁFICO
   ================================================== */
.hero {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: transparent;
}

/* Grade futurista de fundo */
.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 243, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 243, 255, 0.04) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 80%);
    z-index: 0;
    animation: gridShift 20s linear infinite;
}

@keyframes gridShift {
    0%   { background-position: 0 0; }
    100% { background-position: 80px 80px; }
}

/* Glow de canto superior direito */
.hero::before {
    content: '';
    position: absolute;
    top: -20%; right: -10%;
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(0, 243, 255, 0.06) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

/* Glow roxo inferior esquerdo */
.hero::after {
    content: '';
    position: absolute;
    bottom: -20%; left: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(112, 0, 255, 0.06) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
}

/* Tag de abertura */
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease 0.2s forwards;
}

.eyebrow-line {
    width: 40px;
    height: 1px;
    background: var(--primary);
    box-shadow: 0 0 8px var(--primary);
}

.eyebrow-text {
    font-family: var(--font-heading);
    font-size: 0.65rem;
    letter-spacing: 5px;
    color: var(--primary);
    text-transform: uppercase;
}

.eyebrow-dot {
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--primary);
    animation: pulse 2s ease-in-out infinite;
}

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

/* Título principal — chars revelados individualmente */
.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 7vw, 6.5rem);
    line-height: 1.0;
    letter-spacing: 2px;
    margin-bottom: 0;
    overflow: hidden;
}

.hero-title .line {
    display: block;
    overflow: hidden;
}

.hero-title .word {
    display: inline-block;
    transform: translateY(110%);
    opacity: 0;
    transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.6s ease;
}

.hero-title .word.revealed {
    transform: translateY(0);
    opacity: 1;
}

.hero-title .accent {
    color: var(--primary);
    position: relative;
    text-shadow: 0 0 40px rgba(0, 243, 255, 0.3);
}

/* Efeito glitch no texto accent */
.hero-title .accent::before,
.hero-title .accent::after {
    content: attr(data-text);
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-title .accent::before {
    color: #ff0080;
    clip-path: polygon(0 20%, 100% 20%, 100% 40%, 0 40%);
    transform: translateX(-2px);
    animation: glitch1 4s infinite;
    opacity: 0.5;
}

.hero-title .accent::after {
    color: var(--primary);
    clip-path: polygon(0 60%, 100% 60%, 100% 80%, 0 80%);
    transform: translateX(2px);
    animation: glitch2 4s infinite;
    opacity: 0.5;
}

@keyframes glitch1 {
    0%, 90%, 100% { transform: translateX(0); opacity: 0; }
    92% { transform: translateX(-3px); opacity: 0.5; }
    94% { transform: translateX(3px); opacity: 0.5; }
    96% { transform: translateX(-1px); opacity: 0.3; }
}

@keyframes glitch2 {
    0%, 90%, 100% { transform: translateX(0); opacity: 0; }
    92% { transform: translateX(3px); opacity: 0.5; }
    94% { transform: translateX(-3px); opacity: 0.5; }
    96% { transform: translateX(1px); opacity: 0.3; }
}

/* Subtítulo */
.hero-sub {
    margin-top: 28px;
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.8;
    max-width: 560px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.9s ease 1.2s forwards;
}

/* Barra de ações */
.hero-actions {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 50px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.9s ease 1.5s forwards;
}

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

/* Botão primário magnético */
.btn-primary-mag {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 38px;
    background: var(--primary);
    color: var(--bg-dark);
    font-family: var(--font-heading);
    font-size: 0.72rem;
    letter-spacing: 3px;
    text-decoration: none;
    font-weight: 700;
    clip-path: polygon(14px 0%, 100% 0%, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0% 100%, 0% 14px);
    transition: all 0.35s ease;
    overflow: hidden;
}

.btn-primary-mag::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.2);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.btn-primary-mag:hover::before { transform: scaleX(1); transform-origin: left; }
.btn-primary-mag:hover {
    box-shadow: 0 0 40px rgba(0, 243, 255, 0.5);
    transform: translateY(-2px);
}

.btn-primary-mag i { transition: transform 0.3s ease; }
.btn-primary-mag:hover i { transform: translateX(6px); }

/* Botão outline */
.btn-outline-mag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 34px;
    background: transparent;
    border: 1px solid rgba(0, 243, 255, 0.3);
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 0.72rem;
    letter-spacing: 3px;
    text-decoration: none;
    clip-path: polygon(14px 0%, 100% 0%, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0% 100%, 0% 14px);
    transition: all 0.35s ease;
}

.btn-outline-mag:hover {
    background: rgba(0, 243, 255, 0.06);
    border-color: var(--primary);
    box-shadow: 0 0 25px rgba(0, 243, 255, 0.15);
}

/* Separador hero */
.hero-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.15);
}

/* Texto de scroll */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 2;
    opacity: 0;
    animation: fadeUp 1s ease 2s forwards;
}

.hero-scroll span {
    font-family: var(--font-heading);
    font-size: 0.55rem;
    letter-spacing: 4px;
    color: var(--text-gray);
    text-transform: uppercase;
    writing-mode: vertical-rl;
}

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

@keyframes scrollDrop {
    0% { transform: scaleY(0); transform-origin: top; opacity: 1; }
    50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
    51% { transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* Stats flutuantes no hero */
.hero-float-stats {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 30px;
    z-index: 2;
    opacity: 0;
    animation: fadeIn 1s ease 1.8s forwards;
}

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

.float-stat {
    text-align: right;
    border-right: 2px solid rgba(0, 243, 255, 0.2);
    padding-right: 20px;
    position: relative;
}

.float-stat::after {
    content: '';
    position: absolute;
    right: -2px; top: 50%;
    width: 2px; height: 0;
    background: var(--primary);
    transform: translateY(-50%);
    transition: height 0.4s ease;
    box-shadow: 0 0 8px var(--primary);
}

.float-stat:hover::after { height: 100%; }

.float-stat-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--primary);
    line-height: 1;
    letter-spacing: 2px;
    text-shadow: 0 0 20px rgba(0, 243, 255, 0.4);
}

.float-stat-label {
    display: block;
    font-size: 0.65rem;
    letter-spacing: 2px;
    color: var(--text-gray);
    text-transform: uppercase;
    margin-top: 4px;
}

/* ==================================================
   4. MARQUEE — CLIENTS / TECH
   ================================================== */
.marquee-section {
    padding: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    background: rgba(5, 10, 20, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.marquee-fade-l,
.marquee-fade-r {
    position: absolute;
    top: 0; width: 150px; height: 100%;
    z-index: 2; pointer-events: none;
}

.marquee-fade-l { left: 0; background: linear-gradient(to right, var(--bg-dark), transparent); }
.marquee-fade-r { right: 0; background: linear-gradient(to left, var(--bg-dark), transparent); }

.marquee-track {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 22px 0;
    white-space: nowrap;
    animation: marqueeRun 25s linear infinite;
    width: max-content;
}

.marquee-track.reverse { animation-direction: reverse; animation-duration: 30s; }

@keyframes marqueeRun {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.marquee-item {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    letter-spacing: 4px;
    color: rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 60px;
    transition: color 0.3s ease;
}

.marquee-item:hover { color: var(--primary); }

.marquee-sep {
    width: 4px; height: 4px;
    background: rgba(0, 243, 255, 0.3);
    border-radius: 50%;
    flex-shrink: 0;
}

/* ==================================================
   5. SERVIÇOS — SHOWCASE VISUAL
   ================================================== */
.services-index {
    padding: 140px 0 100px;
    position: relative;
    z-index: 2;
}

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 80px;
    gap: 40px;
}

.section-label {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: var(--font-heading);
    font-size: 0.65rem;
    letter-spacing: 4px;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.label-line {
    width: 30px; height: 1px;
    background: var(--primary);
    box-shadow: 0 0 6px var(--primary);
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.2rem);
    letter-spacing: 3px;
    line-height: 1.1;
}

.section-header h2 span { color: var(--primary); }

.section-header-right {
    max-width: 340px;
    text-align: right;
}

.section-header-right p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Grid de serviços numerados */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: rgba(0, 243, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
}

.svc-card {
    background: rgba(5, 10, 20, 0.95);
    padding: 50px 40px;
    position: relative;
    overflow: hidden;
    transition: background 0.4s ease;
    cursor: pointer;
    group: true;
}

.svc-card:hover {
    background: rgba(0, 243, 255, 0.03);
}

/* Número de fundo */
.svc-num {
    position: absolute;
    top: -20px; right: 20px;
    font-family: var(--font-heading);
    font-size: 7rem;
    color: rgba(0, 243, 255, 0.03);
    line-height: 1;
    pointer-events: none;
    transition: color 0.4s ease, transform 0.5s ease;
    user-select: none;
}

.svc-card:hover .svc-num {
    color: rgba(0, 243, 255, 0.07);
    transform: translateY(-10px) scale(1.05);
}

/* Ícone */
.svc-icon {
    width: 54px; height: 54px;
    border: 1px solid rgba(0, 243, 255, 0.2);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 28px;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.svc-card:hover .svc-icon {
    background: rgba(0, 243, 255, 0.1);
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.2);
    transform: scale(1.1) rotate(-5deg);
}

.svc-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    letter-spacing: 2px;
    color: var(--text-white);
    margin-bottom: 14px;
    position: relative; z-index: 1;
}

.svc-desc {
    font-size: 0.88rem;
    color: var(--text-gray);
    line-height: 1.75;
    position: relative; z-index: 1;
}

.svc-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    font-family: var(--font-heading);
    font-size: 0.65rem;
    letter-spacing: 2px;
    color: var(--primary);
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    position: relative; z-index: 1;
}

.svc-card:hover .svc-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Linha de acento superior */
.svc-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 0; height: 2px;
    background: linear-gradient(to right, var(--primary), transparent);
    box-shadow: 0 0 10px var(--primary);
    transition: width 0.5s ease;
}

.svc-card:hover::before { width: 100%; }

/* ==================================================
   6. SHOWCASE / PROJETOS — LISTA CINEMÁTICA
   ================================================== */
.showcase-section {
    padding: 100px 0;
    position: relative;
    z-index: 2;
}

.project-list {
    border-top: 1px solid rgba(255,255,255,0.06);
}

.project-item {
    border-bottom: 1px solid rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 36px 0;
    gap: 30px;
    cursor: pointer;
    position: relative;
    transition: padding 0.4s ease;
    overflow: hidden;
}

.project-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 243, 255, 0.02);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.project-item:hover::before { transform: scaleX(1); }
.project-item:hover { padding: 36px 20px; }

.proj-num {
    font-family: var(--font-heading);
    font-size: 0.65rem;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.2);
    min-width: 40px;
}

.proj-title {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    letter-spacing: 2px;
    color: var(--text-white);
    flex: 1;
    transition: color 0.3s ease;
}

.project-item:hover .proj-title { color: var(--primary); }

.proj-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.proj-tag {
    font-family: var(--font-heading);
    font-size: 0.6rem;
    letter-spacing: 2px;
    padding: 5px 12px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    color: var(--text-gray);
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.project-item:hover .proj-tag {
    border-color: rgba(0, 243, 255, 0.2);
    color: var(--primary);
}

.proj-arrow {
    width: 44px; height: 44px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-gray);
    font-size: 0.8rem;
    transition: all 0.4s ease;
    flex-shrink: 0;
}

.project-item:hover .proj-arrow {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--bg-dark);
    transform: rotate(-45deg);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.4);
}

/* Imagem hover no projeto (aparece ao lado do cursor) */
.proj-hover-img {
    position: absolute;
    right: 80px; top: 50%;
    transform: translateY(-50%) scale(0.8);
    width: 180px; height: 120px;
    border-radius: 10px;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
    border: 1px solid rgba(0, 243, 255, 0.2);
}

.proj-hover-img img {
    width: 100%; height: 100%;
    object-fit: cover;
}

.project-item:hover .proj-hover-img {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

/* ==================================================
   7. SEÇÃO PORQUE DIMEN6 — HORIZONTAL FEATURE
   ================================================== */
.why-section {
    padding: 120px 0;
    position: relative;
    z-index: 2;
    background: rgba(5, 10, 20, 0.5);
    border-top: 1px solid rgba(255,255,255,0.04);
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.why-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.why-left h2 {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    letter-spacing: 3px;
    line-height: 1.1;
    margin-bottom: 30px;
}

.why-left h2 span { color: var(--primary); }

.why-left p {
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 40px;
}

/* Terminal block */
.terminal-block {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(0, 243, 255, 0.15);
    border-radius: 12px;
    padding: 24px;
    font-family: 'Courier New', monospace;
    font-size: 0.82rem;
    line-height: 1.8;
    position: relative;
    overflow: hidden;
}

.terminal-block::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 32px;
    background: rgba(0, 243, 255, 0.05);
    border-bottom: 1px solid rgba(0, 243, 255, 0.1);
}

.terminal-dots {
    position: absolute;
    top: 10px; left: 16px;
    display: flex; gap: 6px;
}

.terminal-dots span {
    width: 10px; height: 10px;
    border-radius: 50%;
}

.terminal-dots span:nth-child(1) { background: #ff5f57; }
.terminal-dots span:nth-child(2) { background: #febc2e; }
.terminal-dots span:nth-child(3) { background: #28c840; }

.terminal-body { margin-top: 20px; }

.t-line { display: block; }
.t-prompt { color: var(--primary); }
.t-cmd { color: var(--text-white); }
.t-output { color: var(--text-gray); }
.t-success { color: #2ecc71; }
.t-cursor {
    display: inline-block;
    width: 8px; height: 14px;
    background: var(--primary);
    animation: blink 1s step-end infinite;
    vertical-align: middle;
}

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

/* Features à direita */
.why-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.why-feat {
    display: flex;
    gap: 22px;
    padding: 28px 24px;
    background: rgba(10, 21, 37, 0.6);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.why-feat::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 2px;
    background: var(--primary);
    transform: scaleY(0);
    transition: transform 0.4s ease;
    box-shadow: 0 0 10px var(--primary);
}

.why-feat:hover {
    border-color: rgba(0, 243, 255, 0.15);
    background: rgba(0, 243, 255, 0.03);
    transform: translateX(6px);
}

.why-feat:hover::before { transform: scaleY(1); }

.feat-icon {
    width: 48px; height: 48px;
    flex-shrink: 0;
    background: rgba(0, 243, 255, 0.06);
    border: 1px solid rgba(0, 243, 255, 0.15);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    color: var(--primary);
    transition: all 0.3s ease;
}

.why-feat:hover .feat-icon {
    background: rgba(0, 243, 255, 0.12);
    border-color: var(--primary);
}

.feat-body h4 {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    letter-spacing: 2px;
    color: var(--text-white);
    margin-bottom: 8px;
}

.feat-body p {
    color: var(--text-gray);
    font-size: 0.88rem;
    line-height: 1.6;
}

/* ==================================================
   8. PROCESSO — LINHA DO TEMPO HORIZONTAL
   ================================================== */
.process-index {
    padding: 120px 0;
    position: relative;
    z-index: 2;
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 80px;
    position: relative;
}

/* Linha conectora */
.process-timeline::before {
    content: '';
    position: absolute;
    top: 38px;
    left: calc(12.5%);
    right: calc(12.5%);
    height: 1px;
    background: linear-gradient(to right,
        transparent,
        rgba(0, 243, 255, 0.3) 20%,
        rgba(0, 243, 255, 0.3) 80%,
        transparent
    );
    z-index: 0;
}

.timeline-step {
    padding: 0 20px 40px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.timeline-step-num {
    width: 76px; height: 76px;
    border: 1px solid rgba(0, 243, 255, 0.2);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    letter-spacing: 1px;
    color: var(--primary);
    margin: 0 auto 30px;
    background: var(--bg-dark);
    position: relative;
    transition: all 0.4s ease;
    text-shadow: 0 0 15px rgba(0, 243, 255, 0.4);
}

.timeline-step:hover .timeline-step-num {
    background: rgba(0, 243, 255, 0.08);
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.2);
    transform: scale(1.1);
}

.timeline-step h3 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    letter-spacing: 2px;
    color: var(--text-white);
    margin-bottom: 12px;
}

.timeline-step p {
    font-size: 0.88rem;
    color: var(--text-gray);
    line-height: 1.7;
}

/* ==================================================
   9. CTA FINAL — ÉPICO
   ================================================== */
.cta-final {
    padding: 160px 0 100px;
    position: relative;
    z-index: 2;
    text-align: center;
    overflow: hidden;
}

.cta-final::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(0, 243, 255, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

/* Grade de fundo */
.cta-final::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 243, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 243, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at 50% 50%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 20%, transparent 70%);
    pointer-events: none;
}

.cta-final-inner {
    position: relative;
    z-index: 2;
}

.cta-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 0.65rem;
    letter-spacing: 5px;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 30px;
}

.cta-label i { animation: pulse 2s ease-in-out infinite; }

.cta-final h2 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 5rem);
    letter-spacing: 3px;
    line-height: 1.1;
    margin-bottom: 20px;
}

.cta-final h2 span {
    color: var(--primary);
    text-shadow: 0 0 40px rgba(0, 243, 255, 0.3);
}

.cta-final p {
    color: var(--text-gray);
    font-size: 1.1rem;
    max-width: 480px;
    margin: 0 auto 50px;
    line-height: 1.7;
}

.cta-final-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* ==================================================
   10. SCROLL REVEAL GLOBAL
   ================================================== */
.sr {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}

.sr.visible { opacity: 1; transform: translateY(0); }
.sr-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.9s ease, transform 0.9s ease; }
.sr-left.visible { opacity: 1; transform: translateX(0); }
.sr-right { opacity: 0; transform: translateX(40px); transition: opacity 0.9s ease, transform 0.9s ease; }
.sr-right.visible { opacity: 1; transform: translateX(0); }

/* ==================================================
   11. RESPONSIVO
   ================================================== */
@media (max-width: 1100px) {
    .hero-float-stats { display: none; }
    .why-layout { grid-template-columns: 1fr; gap: 50px; }
    .section-header { flex-direction: column; align-items: flex-start; }
    .section-header-right { text-align: left; max-width: 100%; }
}

@media (max-width: 992px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .process-timeline { grid-template-columns: repeat(2, 1fr); gap: 40px; }
    .process-timeline::before { display: none; }
    .hero-title { font-size: 2.8rem; }
}

@media (max-width: 768px) {
    .hero { padding: 0 20px; }
    .hero-title { font-size: clamp(2rem, 8vw, 3rem); }
    .hero-actions { flex-direction: column; align-items: flex-start; gap: 16px; }
    .hero-divider { display: none; }
    .hero-scroll { display: none; }

    .services-grid { grid-template-columns: 1fr; }
    .svc-card { padding: 36px 28px; }

    .project-item { flex-wrap: wrap; }
    .proj-hover-img { display: none; }

    .process-timeline { grid-template-columns: 1fr; }

    .cta-final { padding: 100px 0 60px; }
    .cta-final h2 { font-size: 2.2rem; }


}