/* DESIGN TOKENS */
:root {
    --color-primary: #D4AF37; /* Dourado */
    --color-primary-light: #F2C94C; /* Ouro claro */
    --color-bg: #0D0D0D; /* Preto */
    --color-surface: #2B2B2B; /* Grafite */
    --color-silver: #C0C0C0; /* Prata */
    --color-text: #FFFFFF; /* Branco */
    --color-text-muted: #e5e2e1;
    
    --font-heading: 'Cinzel', serif;
    --font-body: 'Montserrat', sans-serif;
    
    --spacing-unit: 8px;
    --section-padding: 120px;
    --container-max: 1280px;
    
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s ease;
}

/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6, .logo-text {
    font-family: var(--font-heading);
    font-weight: 400;
}

.text-gold {
    color: var(--color-primary);
}
.text-silver {
    color: var(--color-silver);
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.section-text {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    max-width: 800px;
}

/* LAYOUT & UTILITIES */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: var(--section-padding) 0;
}

.bg-surface {
    background-color: rgba(43, 43, 43, 0.4);
    border-top: 1px solid rgba(192, 192, 192, 0.05);
    border-bottom: 1px solid rgba(192, 192, 192, 0.05);
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    border-radius: 0; /* SHARP SHAPE */
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.125rem;
}

.btn-primary {
    background-color: var(--color-primary);
    color: #000;
    border: 1px solid var(--color-primary);
}

.btn-primary:hover {
    background-color: var(--color-primary-light);
    border-color: var(--color-primary-light);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-silver);
}

.btn-secondary:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* HEADER */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(13, 13, 13, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(192, 192, 192, 0.1);
    transition: all 0.3s;
}

.header.scrolled {
    background: rgba(13, 13, 13, 0.95);
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: opacity var(--transition-fast);
}

.logo:hover {
    opacity: 0.8;
}

.logo-img {
    height: 48px; /* Ajuste conforme necessário */
    width: auto;
    display: block;
}

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

.nav a:not(.btn) {
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color var(--transition-fast);
}

.nav a:not(.btn):hover {
    color: var(--color-primary);
}

/* HERO SECTION */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image: 
        radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.1) 0%, transparent 40%),
        linear-gradient(rgba(192, 192, 192, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(192, 192, 192, 0.03) 1px, transparent 1px);
    background-size: 100% 100%, 40px 40px, 40px 40px;
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-silver);
    margin-bottom: 16px;
}

.hero-text {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

/* SOBRE */
.section-header {
    margin-bottom: 64px;
}

.sobre-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.sobre-card {
    background-color: var(--color-surface);
    padding: 32px;
    border: 1px solid rgba(192, 192, 192, 0.1);
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.sobre-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border-color: rgba(212, 175, 55, 0.3);
}

.icon-gold {
    color: var(--color-primary);
    width: 32px;
    height: 32px;
    margin-bottom: 24px;
}

.sobre-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--color-primary-light);
}

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

/* SERVICOS */
.servicos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.servico-card {
    background-color: var(--color-bg);
    padding: 48px;
    border: 1px solid rgba(192, 192, 192, 0.1);
    position: relative;
    overflow: hidden;
}

.servico-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity var(--transition-medium);
}

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

.card-icon {
    color: var(--color-silver);
    margin-bottom: 24px;
}

.card-icon svg {
    width: 40px;
    height: 40px;
}

.servico-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    position: relative;
}

.servico-card p {
    color: var(--color-text-muted);
    position: relative;
}

/* DIFERENCIAIS */
.diferenciais-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.diferenciais-list {
    list-style: none;
    margin-top: 32px;
}

.diferenciais-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    font-size: 1.125rem;
}

.diferenciais-visual {
    position: relative;
    height: 400px;
    background: radial-gradient(circle at center, rgba(43,43,43,0.8) 0%, transparent 70%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-graphic {
    position: relative;
    width: 300px;
    height: 300px;
}

.radar-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.rc1 { width: 100px; height: 100px; }
.rc2 { width: 200px; height: 200px; border-style: dashed; }
.rc3 { width: 300px; height: 300px; }

.tech-line {
    position: absolute;
    background-color: var(--color-primary);
    transform-origin: left;
}

.tl1 { width: 150px; height: 1px; top: 50%; left: 50%; transform: rotate(-45deg); }
.tl2 { width: 120px; height: 1px; top: 50%; left: 50%; transform: rotate(30deg); }

.tech-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: var(--color-primary-light);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--color-primary);
}

.td1 { top: 14%; left: 85%; }
.td2 { top: 80%; left: 75%; }

/* SEGMENTOS */
.segmentos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.segmento-card {
    border: 1px solid rgba(192, 192, 192, 0.1);
    background-color: var(--color-bg);
}

.segmento-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    border-bottom: 2px solid var(--color-primary);
}

.segmento-content {
    padding: 32px;
}

.segmento-content h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--color-primary);
}

/* AUTORIDADE */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 64px;
}

.stat-item {
    text-align: center;
    padding: 48px;
    background-color: var(--color-surface);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-silver);
}

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

.testimonial-card {
    background-color: var(--color-bg);
    padding: 40px;
    border: 1px solid rgba(192, 192, 192, 0.1);
    position: relative;
}

.icon-quote {
    color: rgba(212, 175, 55, 0.2);
    width: 48px;
    height: 48px;
    margin-bottom: 24px;
}

.quote {
    font-size: 1.125rem;
    font-style: italic;
    margin-bottom: 24px;
    line-height: 1.8;
}

.author strong {
    display: block;
    color: var(--color-primary-light);
}

.author span {
    font-size: 0.875rem;
    color: var(--color-silver);
}

/* CTA FORTE */
.cta-box {
    background: linear-gradient(135deg, rgba(43,43,43,1) 0%, rgba(13,13,13,1) 100%);
    border: 1px solid var(--color-primary);
    padding: 80px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212,175,55,0.05) 0%, transparent 60%);
    z-index: 0;
}

.cta-title {
    font-size: 3rem;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.cta-text {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}

.urgency-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(212, 175, 55, 0.1);
    color: var(--color-primary-light);
    padding: 8px 16px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 40px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    position: relative;
    z-index: 1;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    position: relative;
    z-index: 1;
}

/* FOOTER */
.footer {
    background-color: #050505;
    padding-top: 80px;
    border-top: 1px solid rgba(192, 192, 192, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 64px;
}

.footer-brand p {
    margin-top: 16px;
    color: var(--color-silver);
    font-size: 0.9rem;
}

.footer-links h4, .footer-contact h4 {
    color: var(--color-primary);
    font-family: var(--font-heading);
    margin-bottom: 24px;
    font-size: 1.25rem;
}

.footer-links a {
    display: block;
    color: var(--color-text-muted);
    text-decoration: none;
    margin-bottom: 12px;
    transition: color var(--transition-fast);
}

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

.footer-contact p {
    color: var(--color-text-muted);
    margin-bottom: 12px;
}

.footer-bottom {
    border-top: 1px solid rgba(192, 192, 192, 0.1);
    padding: 24px 0;
    text-align: center;
    color: var(--color-silver);
    font-size: 0.875rem;
}

/* ANIMATIONS */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Delay modifiers */
[style*="--delay: 1"] { transition-delay: 0.1s; }
[style*="--delay: 2"] { transition-delay: 0.2s; }
[style*="--delay: 3"] { transition-delay: 0.3s; }
[style*="--delay: 4"] { transition-delay: 0.4s; }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .sobre-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-title { font-size: 3.5rem; }
    .section-title { font-size: 2.5rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .header-inner { flex-direction: column; height: auto; padding: 16px 0; gap: 16px; }
    .nav { flex-wrap: wrap; justify-content: center; gap: 16px; }
    .servicos-grid, .diferenciais-content, .segmentos-grid, .testimonials, .footer-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 2.5rem; }
    .cta-actions { flex-direction: column; }
    .stats-grid { grid-template-columns: 1fr; }
    .diferenciais-visual { height: 300px; }
}
