/* Reset & Base Settings */
:root {
    --bg-dark: #070b14;
    --bg-secondary: #0a111f;
    --bg-light: #f4f6fa;
    --bg-card: #0d1628;
    
    --primary-blue: #132c66;
    --primary-blue-hover: #0e1f4a;
    
    --accent-green: #00ea62;
    --accent-green-hover: #00c753;
    
    --accent-orange: #FF7300;
    
    --text-light: #f8fafc;
    --text-muted: #94a3b8;
    --text-dark: #0f172a;
    --text-dark-muted: #475569;
    
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Manrope', sans-serif;
    
    --glass-bg: rgba(7, 11, 20, 0.85);
    --glass-border: rgba(255, 255, 255, 0.05);
}

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

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

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* Typography & Utils */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.text-green { color: var(--accent-green); }
.text-orange { color: var(--accent-orange); }
.text-blue { color: var(--primary-blue); }
.text-dark { color: var(--text-dark); }
.text-dark-muted { color: var(--text-dark-muted); }

.section-title {
    font-size: clamp(2.5rem, 4vw, 4rem);
    letter-spacing: -1px;
    margin-bottom: 2rem;
}

.eyebrow {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.render-lazy {
    content-visibility: auto;
    contain-intrinsic-size: 1000px;
}

.container {
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
}

.text-center { text-align: center; }
.relative { position: relative; }
.z-10 { z-index: 10; }
.mb-4 { margin-bottom: 2rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 4rem; }
.w-100 { width: 100%; }
.justify-center { justify-content: center; }
.flex-between { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.align-end { align-items: flex-end; }
.align-center { align-items: center; }

.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.light-section {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

/* Buttons */
.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 1rem 2rem;
    cursor: pointer;
    border: none;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
}

/* Shine Effect Base */
.cta-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.4), transparent);
    transform: skewX(-25deg);
    transition: left 0.7s ease;
    z-index: -1;
}
.cta-btn:hover::before {
    left: 150%;
}

.btn-orange {
    background: linear-gradient(135deg, var(--accent-orange), #e65c00);
    color: #fff;
    border-bottom: 4px solid #b34700;
    box-shadow: 0 4px 10px rgba(255, 115, 0, 0.3), 0 1px 3px rgba(0,0,0,0.2);
}
.btn-orange:hover {
    background: linear-gradient(135deg, #ff8519, #f26100);
    transform: translateY(-4px);
    border-bottom: 8px solid #b34700;
    box-shadow: 0 12px 25px rgba(255, 115, 0, 0.4), 0 5px 10px rgba(0,0,0,0.2);
    color: #fff;
}

.btn-blue {
    background: linear-gradient(135deg, var(--primary-blue), #0b1a3d);
    color: #fff;
    border-bottom: 4px solid #060e22;
    box-shadow: 0 4px 10px rgba(19, 44, 102, 0.3), 0 1px 3px rgba(0,0,0,0.2);
}
.btn-blue:hover {
    background: linear-gradient(135deg, #183882, #0d204a);
    transform: translateY(-4px);
    border-bottom: 8px solid #060e22;
    box-shadow: 0 12px 25px rgba(19, 44, 102, 0.4), 0 5px 10px rgba(0,0,0,0.2);
    color: #fff;
}

.outline-btn {
    background-color: transparent;
    border-color: currentColor;
}
.outline-btn:hover {
    background-color: currentColor;
    color: #fff !important;
}

.btn-outline-light {
    background-color: transparent;
    border-color: rgba(255,255,255,0.3);
    color: #fff;
}
.btn-outline-light:hover {
    border-color: #fff;
    background-color: #fff;
    color: var(--bg-dark);
}

.large-btn { padding: 1.2rem 3rem; font-size: 1.3rem; }
.small-btn { padding: 0.8rem 1.5rem; font-size: 1rem; }

/* Header */
#main-header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.4s ease;
}

#main-header.header-light {
    background-color: transparent;
    box-shadow: none;
}

#main-header.scrolled {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 1rem 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo { height: 45px; object-fit: contain; }

.desktop-nav ul { display: flex; gap: 2rem; }
.desktop-nav a {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-dark);
}
.desktop-nav a:hover { color: var(--primary-blue); }

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px; height: 24px;
    position: relative;
    z-index: 1001;
}

.mobile-menu-btn.dark-btn span {
    background-color: var(--primary-blue);
}

.mobile-menu-btn span {
    display: block; width: 100%; height: 2px;
    background-color: var(--text-light);
    position: absolute; left: 0;
    transition: all 0.3s ease;
}
.mobile-menu-btn span:nth-child(1) { top: 0; }
.mobile-menu-btn span:nth-child(2) { top: 11px; }
.mobile-menu-btn span:nth-child(3) { top: 22px; }

.mobile-menu-btn.active span:nth-child(1) { top: 11px; transform: rotate(45deg); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { top: 11px; transform: rotate(-45deg); }

.mobile-nav-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100vh;
    background-color: rgba(7, 11, 20, 0.98);
    z-index: 999;
    display: flex; justify-content: center; align-items: center;
    opacity: 0; visibility: hidden;
    transition: all 0.4s ease;
}
.mobile-nav-overlay.active { opacity: 1; visibility: visible; }
.mobile-nav ul { text-align: center; display: flex; flex-direction: column; gap: 2rem; }
.mobile-nav a { font-family: var(--font-heading); font-size: 2.5rem; text-transform: uppercase; color: #fff; }
.mobile-nav a:hover { color: var(--accent-orange); }

/* Hero Light Section (Folder Inspired) */
.hero-light {
    position: relative;
    padding-top: 150px;
    padding-bottom: 6rem;
    background-color: #ffffff;
    background-image: linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.92)), url('images/Image10.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.hero-light-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-light-content {
    max-width: 600px;
}

.hero-light-image {
    position: relative;
    border-radius: 8px;
}
.hero-light-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.hero-badge {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background-color: var(--primary-blue);
    color: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    max-width: 380px;
    box-shadow: 0 15px 30px rgba(19, 44, 102, 0.3);
    z-index: 10;
}
.badge-icon {
    width: 50px; height: 50px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    flex-shrink: 0;
}
.badge-icon svg { width: 24px; height: 24px; }
.badge-text strong { display: block; font-family: var(--font-heading); font-size: 1.1rem; line-height: 1.2; margin-bottom: 0.2rem; }
.badge-text span { font-size: 0.85rem; color: rgba(255,255,255,0.8); }

.hero-badge-top {
    display: inline-block;
    background-color: rgba(19, 44, 102, 0.05);
    color: var(--primary-blue);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(19, 44, 102, 0.15);
    letter-spacing: 0.5px;
}

.hero-eyebrow {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.hero-title {
    font-size: clamp(3.5rem, 6vw, 5.5rem);
    line-height: 1;
    margin-bottom: 1.5rem;
    color: var(--primary-blue);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-dark-muted);
    margin-bottom: 2.5rem;
}

/* Stats Section */
.stats-section {
    background-color: #f8fafc;
    padding: 4rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}
.stat-item {
    display: flex;
    flex-direction: column;
}
.stat-num {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
}
.stat-text {
    font-size: 0.95rem;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1px;
}

/* Marquee Section */
.marquee-section {
    background-color: #03060a;
    color: #475569;
    padding: 1.5rem 0;
    overflow: hidden;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.marquee-content {
    display: flex;
    white-space: nowrap;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    animation: marquee 25s linear infinite;
}
.marquee-content span { padding: 0 1rem; }
.marquee-content .separator { color: var(--accent-orange); }

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Nossa História */
.historia { padding: 8rem 0; }

.historia p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.historia-images {
    display: flex;
    gap: 1rem;
}
.img-hist-main {
    width: 60%;
    object-fit: cover;
    border-radius: 4px;
}
.hist-imgs-col {
    width: 40%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.hist-imgs-col img {
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

/* Serviços */
.servicos {
    padding: 8rem 0;
    background-color: var(--bg-secondary);
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.servico-card {
    background-color: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}
.servico-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 3px;
    background-color: var(--accent-orange);
    transition: width 0.4s ease;
}
.servico-card:hover {
    border-color: rgba(255, 115, 0, 0.3);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}
.servico-card:hover::after {
    width: 100%;
}

.card-num {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: rgba(255,255,255,0.15);
    font-weight: 700;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}
.servico-card:hover .card-num { color: var(--accent-orange); }

.card-content h3 { font-size: 1.4rem; color: #fff; }
.card-content p { color: var(--text-muted); font-size: 1rem; }

@media (max-width: 768px) {
    .servico-card {
        border-color: rgba(255, 115, 0, 0.2);
        background-color: rgba(255, 255, 255, 0.02);
    }
    .servico-card::after { width: 100%; }
    .servico-card .card-num { color: var(--accent-orange); }
}

/* Diferenciais (Light) */
.diferenciais {
    padding: 8rem 0;
    position: relative;
    background-color: #ffffff;
    background-image: linear-gradient(rgba(255, 255, 255, 0.93), rgba(255, 255, 255, 0.93)), url('images/Image11.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.dif-card {
    background: #fff;
    padding: 3rem 2rem;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
    border-top: 4px solid var(--primary-blue);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 1;
}
.dif-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, transparent, rgba(17, 43, 105, 0.03));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.dif-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
    border-top-color: var(--accent-orange);
}
.dif-card:hover::before {
    opacity: 1;
}

.dif-icon {
    width: 70px; height: 70px;
    background-color: var(--bg-light);
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    margin: 0 auto 1.5rem auto;
    transition: all 0.4s ease;
}
.dif-card:hover .dif-icon {
    background-color: var(--primary-blue);
    color: #fff;
    transform: rotate(360deg);
}
.dif-icon svg { width: 30px; height: 30px; }
.dif-card h3 { font-size: 1.3rem; margin-bottom: 1rem; }

/* Projetos */
.projetos { padding: 8rem 0; }
.projetos-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 3rem;
}

.proj-main {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 4px;
}

.proj-col {
    display: flex;
    gap: 1rem;
    width: 100%;
}
.proj-col img {
    width: 50%;
    height: 250px;
    object-fit: cover;
    border-radius: 4px;
}

.proj-row {
    display: flex;
    gap: 1rem;
    width: 100%;
}
.proj-row img {
    flex: 1;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
}

.gsap-galeria { filter: grayscale(50%); transition: all 0.4s ease; }
.gsap-galeria:hover { filter: grayscale(0%); transform: scale(1.02); }

/* CTA Banner Parallax */
.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.cta-banner {
    position: relative;
    padding: 8rem 0;
    overflow: hidden;
}
.cta-banner-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(7,11,20,0.95) 0%, rgba(19,44,102,0.85) 100%);
}
.cta-banner p { font-size: 1.2rem; margin-bottom: 2.5rem; }
.cta-banner-actions { display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; }

/* Contato */
.contato { padding: 8rem 0; }

.contact-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
.c-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: #fff;
    padding: 1.5rem;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}
.c-icon {
    font-size: 1.5rem;
}
.c-card strong { font-family: var(--font-heading); color: var(--primary-blue); display: block; margin-bottom: 0.3rem;}
.c-card p { font-size: 0.95rem; color: var(--text-dark-muted); }
.c-card a { color: inherit; }
.c-card a:hover { color: var(--primary-blue); }

.contato-mapa {
    height: 100%;
    min-height: 450px;
    border-radius: 4px;
    overflow: hidden;
}

/* Footer */
.site-footer {
    background-color: #030509;
    padding: 5rem 0 0 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-logo { height: 45px; margin-bottom: 1.5rem; }

.footer-col h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-col ul { display: flex; flex-direction: column; gap: 0.8rem; }
.footer-col a, .footer-col p { color: var(--text-muted); font-size: 0.95rem; }
.footer-col a:hover { color: var(--accent-green); }

.footer-socials { display: flex; gap: 1rem; margin-top: 1.5rem; }
.footer-socials a {
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px;
    background-color: rgba(255,255,255,0.05);
    border-radius: 50%;
    color: #fff;
}
.footer-socials a:hover {
    background-color: var(--primary-blue);
    transform: translateY(-3px);
}

.footer-bottom {
    background-color: #010204;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-bottom p { color: #555; font-size: 0.9rem; }

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed; bottom: 30px; right: 30px;
    background-color: #25d366;
    width: 60px; height: 60px;
    border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6); }

/* Utils */
.gsap-fade-up { opacity: 0; transform: translateY(40px); }
.gsap-fade-left { opacity: 0; transform: translateX(40px); }
.gsap-fade-right { opacity: 0; transform: translateX(-40px); }
.gsap-scale-up { opacity: 0; transform: scale(0.9); }
.d-none-mobile { display: block; }

/* Responsive */
@media (max-width: 1024px) {
    .grid-2-col { grid-template-columns: 1fr; gap: 3rem; }
    .hero-light-container { grid-template-columns: 1fr; gap: 3rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .desktop-nav, .header-container .cta-btn { display: none; }
    .mobile-menu-btn { display: block; }
    .hero-badge { position: relative; bottom: 0; left: 0; margin-top: -30px; margin-left: 20px; max-width: calc(100% - 40px); }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 3rem; }
    .section-title { font-size: 2.2rem; }
    .historia-images { flex-direction: column; }
    .img-hist-main, .hist-imgs-col { width: 100%; }
    .d-none-mobile { display: none; }
    .proj-col, .proj-row { flex-direction: column; }
    .proj-col img, .proj-row img { width: 100%; height: auto; }
    .stats-grid { grid-template-columns: 1fr; gap: 3rem; }
}
