/*
 * ============================================================================
 * STYLE.CSS — Korx Solutions (tema claro / institucional)
 * ============================================================================
 */

:root {
    --primary-pink: #0043c5;
    --primary-pink-dark: #003399;
    --primary-pink-vibrant: #4da6ff;
    --korx-blue: #0043c5;          /* azul da marca — mantido no logotipo */
    --light-bg: #e7edf7;
    --card-bg: #FFFFFF;
    --glass-border: rgba(0, 67, 197, 0.15);
    --glass-stroke: rgba(0, 67, 197, 0.12);
    --text-primary: #1F2937;
    --text-secondary: #6B7280;
    --text-muted: #9CA3AF;
    --border-light: #d9e4f5;
}

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

html {
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--light-bg);
    color: var(--text-primary);
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

.seo-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 50px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 67, 197, 0.12);
    z-index: var(--z-modal, 1000);
    transition: all 0.3s ease;
}

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

.hero-content {
    max-width: 1200px;
    text-align: center;
    z-index: var(--z-raised, 2);
}

.glitch-text {
    font-family: 'Rajdhani', 'Orbitron', monospace;
    font-weight: 900;
    margin-bottom: 20px;
    position: relative;
    text-transform: uppercase;
    line-height: 0.88;
    letter-spacing: 4px;
}

.hero-word-korx {
    display: block;
    font-size: 5.2rem;
    color: #0043c5;
    text-shadow: 0 0 60px rgba(0, 67, 197, 0.12);
}

.hero-word-solutions {
    display: block;
    font-size: 2rem;
    color: transparent;
    -webkit-text-stroke: 1.5px #777777;
    letter-spacing: 10px;
    padding-left: 4px;
    font-weight: 700;
    margin-top: 6px;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #4B5563;
    margin-bottom: 40px;
    font-weight: 300;
}

.cta-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-top: 40px;
}

.cta-button {
    padding: 14px 36px;
    font-size: 0.9rem;
    font-weight: 700;
    border: none;
    border-radius: 6px;
    clip-path: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    transition: all 0.25s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    white-space: nowrap;
    position: relative;
    opacity: 0;
    transform: translateX(-10px);
    animation: cta-fade-in 0.5s ease forwards;
}

.cta-container .cta-button:nth-child(1) { animation-delay: 0.3s; }
.cta-container .cta-button:nth-child(2) { animation-delay: 0.5s; }
.cta-container .cta-button:nth-child(3) { animation-delay: 0.7s; }

@keyframes cta-fade-in {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.cta-primary {
    background: #1db954;
    color: #fff;
    box-shadow: 0 3px 10px rgba(29, 185, 84, 0.3);
}

.cta-primary:hover {
    background: #25d366;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(29, 185, 84, 0.45);
}

.cta-secondary {
    background: #0043c5;
    color: #fff;
    box-shadow: 0 3px 10px rgba(0, 67, 197, 0.3);
}

.cta-secondary:hover {
    background: #003399;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 67, 197, 0.45);
}

.cta-orcamento {
    background: transparent;
    color: #0043c5;
    border: 1.5px solid rgba(0, 67, 197, 0.45);
}

.cta-orcamento:hover {
    background: rgba(0, 67, 197, 0.06);
    transform: translateY(-2px);
    border-color: #0043c5;
}

.cta-button i {
    font-size: 1.1em;
    flex-shrink: 0;
}

.cta-button:hover i {
    transform: none;
}

/* GRADIENT TEXT */
.gradient-text {
    background: linear-gradient(135deg, #0043c5, #003399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Services Grid */
.services {
    padding: 80px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Rajdhani', 'Orbitron', monospace;
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
    color: #1F2937;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.section-title::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, #0043c5, #003399);
    margin: 10px auto 30px;
    clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 100%, 6px 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

@media (max-width: 600px) {
    .services-grid { grid-template-columns: 1fr; }
}

.service-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 22px 24px;
    background: #FFFFFF;
    border-left: 3px solid #0043c5;
    clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
    transition: all 0.22s ease;
    cursor: default;
    position: relative;
    box-shadow: 0 4px 16px rgba(0, 67, 197, 0.07);
}

.service-card:hover {
    background: rgba(0, 67, 197, 0.03);
    border-left-color: #003399;
    transform: translateX(5px);
    box-shadow: 0 8px 28px rgba(0, 67, 197, 0.13);
}

.service-icon {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
    background: rgba(0, 67, 197, 0.09);
    border: 1px solid rgba(0, 67, 197, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #0043c5;
    transition: background 0.22s ease;
}

.service-card:hover .service-icon {
    background: rgba(0, 67, 197, 0.18);
    color: #003399;
}

.service-text { flex: 1; }

.service-title {
    font-family: 'Rajdhani', 'Orbitron', monospace;
    font-size: 1rem;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.22s;
}

.service-card:hover .service-title { color: #0043c5; }

.service-description {
    color: #6B7280;
    line-height: 1.5;
    font-size: 0.88rem;
}

/* Tech Stack */
.tech-stack {
    padding: 80px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.tech-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.tech-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: #FFFFFF;
    border-left: 2px solid #0043c5;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
    cursor: default;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 67, 197, 0.05);
}

.tech-item:hover {
    background: rgba(0, 67, 197, 0.04);
    border-left-color: #003399;
    transform: translateX(3px);
    box-shadow: 0 4px 14px rgba(0, 67, 197, 0.11);
}

.tech-icon {
    font-size: 1rem;
    color: #0043c5;
    transition: color 0.2s ease;
    width: auto;
    height: auto;
    background: none;
    border: none;
    box-shadow: none;
    border-radius: 0;
}

.tech-item:hover .tech-icon {
    color: #003399;
}

.tech-name {
    font-family: 'Rajdhani', 'Orbitron', monospace;
    font-size: 0.85rem;
    font-weight: 700;
    color: #374151;
    text-align: left;
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
}

/* Footer */
footer {
    background: #F9FAFB;
    position: relative;
    padding: 0;
}

footer::before {
    content: '';
    display: block;
    height: 3px;
    background: linear-gradient(90deg, transparent, #0043c5 30%, #4da6ff 50%, #0043c5 70%, transparent);
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px 40px 14px;
}

/* Marca centralizada no topo */
.footer-brand-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0, 67, 197, 0.1);
    margin-bottom: 14px;
}

.footer-brand-inner {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-logo-img {
    height: 42px;
    object-fit: contain;
    filter: drop-shadow(0 0 6px rgba(0, 67, 197, 0.18));
}

.footer-logo {
    font-family: 'Rajdhani', 'Orbitron', monospace;
    font-size: 1.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin: 0;
}

.footer-word-korx {
    color: #0043c5;
}

.footer-word-solutions {
    color: transparent;
    -webkit-text-stroke: 1.5px #777777;
}

.footer-tagline {
    color: #374151;
    font-size: 0.82rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Barra de contato horizontal */
.footer-contact-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    margin-bottom: 14px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #374151;
    text-decoration: none;
    font-size: 0.88rem;
    padding: 4px 16px;
    transition: color 0.2s;
}

.footer-contact-item:hover { color: #0043c5; }

.footer-contact-item i {
    color: #0043c5;
    font-size: 0.82rem;
    flex-shrink: 0;
}

.footer-contact-sep {
    width: 1px;
    height: 18px;
    background: rgba(0, 67, 197, 0.2);
    flex-shrink: 0;
}

/* Linha: navegação + redes sociais */
.footer-nav-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-top: 1px solid rgba(0, 67, 197, 0.08);
    border-bottom: 1px solid rgba(0, 67, 197, 0.08);
    margin-bottom: 12px;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.footer-nav a {
    color: #374151;
    text-decoration: none;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 10px;
    transition: color 0.2s;
}

.footer-nav a:hover { color: #0043c5; }

.footer-nav-sep {
    color: rgba(0, 67, 197, 0.3);
    font-size: 0.7rem;
}

.social-links {
    display: flex;
    gap: 8px;
}

.social-link {
    width: 36px;
    height: 36px;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
    background: rgba(0, 67, 197, 0.07);
    border: 1px solid rgba(0, 67, 197, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0043c5;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.social-link:hover {
    background: rgba(0, 67, 197, 0.18);
    color: #003399;
    transform: translateY(-2px);
}

/* Copyright */
.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    color: #4B5563;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .footer-content { padding: 36px 24px 24px; }
    .footer-nav-row { flex-direction: column; align-items: center; gap: 16px; }
    .footer-nav { justify-content: center; }
    .footer-contact-bar { flex-direction: column; gap: 4px; }
    .footer-contact-sep { display: none; }
}

@media (max-width: 480px) {
    .footer-content { padding: 28px 16px 20px; }
    .footer-logo { font-size: 1.4rem; letter-spacing: 2px; }
    .footer-brand-inner { flex-direction: column; gap: 8px; }
}

/* FAB */
.fab-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 9999;
}

.fab-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.fab-whatsapp {
    background: #25d366;
    color: #fff;
    border: 3px solid #fff;
    box-shadow:
        0 6px 20px rgba(37, 211, 102, 0.55),
        0 2px 8px rgba(0, 0, 0, 0.25);
}

.fab-whatsapp:hover {
    background: #20ba5a;
    box-shadow:
        0 10px 30px rgba(37, 211, 102, 0.7),
        0 4px 12px rgba(0, 0, 0, 0.3);
}

.fab-instagram {
    background: #0043c5;
    color: #fff;
    border: 3px solid #fff;
    box-shadow:
        0 6px 20px rgba(0, 67, 197, 0.55),
        0 2px 8px rgba(0, 0, 0, 0.25);
}

.fab-instagram:hover {
    background: #003399;
    box-shadow:
        0 10px 30px rgba(0, 67, 197, 0.7),
        0 4px 12px rgba(0, 0, 0, 0.3);
}

.fab-btn:hover {
    transform: scale(1.12);
}

.fab-tooltip {
    position: absolute;
    right: 65px;
    background: rgba(31, 41, 55, 0.88);
    color: #fff;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.fab-btn:hover .fab-tooltip {
    opacity: 1;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #FFF7FA; }
::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #003399, #0043c5);
    border-radius: 3px;
}
