/* Variáveis de Tema */
:root {
    --primary: #0F172A;
    --primary-light: #1E293B;
    --secondary: #00E5FF;
    --secondary-hover: #00B8D4;
    --secondary-dark: #0097A7;
    --bg-body: #FFFFFF;
    --bg-alt: #F8FAFC;
    --text-main: #334155;
    --text-light: #64748B;
    --font-display: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --header-height: 80px;
}

/* Resets */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
ul { list-style: none; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; display: block; }

/* Tipografia */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; color: var(--primary); }
h2 { font-size: 2.25rem; margin-bottom: 2rem; }
h3 { font-size: 1.5rem; margin-bottom: 1rem; }
p { margin-bottom: 1rem; color: var(--text-light); font-size: 1.1rem; }

/* Contêiner */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* Botões */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}
.btn-accent { background: var(--secondary); color: var(--primary); }
.btn-accent:hover { background: var(--secondary-hover); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0, 229, 255, 0.2); }
.btn-outline { border: 2px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #FFF; transform: translateY(-2px); }

/* Animações */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }

/* HEADER */
header {
    position: fixed; top: 0; left: 0; width: 100%; height: var(--header-height);
    background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(8px);
    z-index: 1000; display: flex; align-items: center; border-bottom: 1px solid rgba(0,0,0,0.05);
}
header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.05); }
.header-content { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.logo img { height: 38px; width: auto; }
.header-actions { display: flex; align-items: center; gap: 1.25rem; flex-wrap: nowrap; }
nav ul { display: flex; gap: 1.25rem; flex-wrap: nowrap; }
nav a { font-weight: 500; font-size: 0.95rem; white-space: nowrap; }
nav a:hover { color: var(--secondary-dark); }
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }

/* HERO */
.hero { padding: calc(var(--header-height) + 4rem) 0 5rem; background: var(--primary); color: #FFF; min-height: 70vh; display: flex; align-items: center; }
.hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.hero h1 { color: #FFF; font-size: 3rem; margin-bottom: 1.5rem; }
.hero p { color: #94A3B8; font-size: 1.2rem; margin-bottom: 2.5rem; }
.hero-visual { border-radius: 12px; overflow: hidden; background: rgba(255,255,255,0.05); aspect-ratio: 16/10; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }

/* SEÇÕES */
section { padding: 5rem 0; }

/* PARCEIROS */
#parceiros { background: var(--bg-alt); padding: 3rem 0; text-align: center; border-bottom: 1px solid rgba(0,0,0,0.03); }
#parceiros h3 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 2px; color: var(--text-light); margin-bottom: 2rem; }
.partners-marquee { overflow: hidden; mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent); }
.partners-track { display: flex; gap: 5rem; width: max-content; animation: marquee 35s linear infinite; align-items: center; }
.partner-logo { opacity: 0.5; filter: grayscale(1); transition: var(--transition); display: flex; align-items: center; justify-content: center; min-width: 120px; }
.partner-logo:hover { opacity: 1; filter: grayscale(0); }
.partner-logo img { height: 32px; width: auto; object-fit: contain; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(calc(-50% - 2.5rem)); } }

/* SPLIT SECTIONS */
.split-section { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.split-image { border-radius: 12px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.08); aspect-ratio: 16/10; }
.split-image img { width: 100%; height: 100%; object-fit: cover; }
.icon-wrap { width: 52px; height: 52px; background: rgba(0, 229, 255, 0.1); color: var(--secondary-dark); border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; }
.icon-wrap .icon { width: 26px; height: 26px; }
.section-title-wrap h2 { margin-bottom: 1rem; }
.split-content p { margin-bottom: 2rem; }
.split-section.reverse .split-content { order: -1; }
#maquinas { background: var(--bg-alt); }

/* DIFERENCIAIS */
#diferenciais { background: var(--primary); color: #FFF; }
#diferenciais h2 { color: #FFF; margin-bottom: 4rem; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem; }
.feature-item { background: rgba(255,255,255,0.05); padding: 2.25rem; border-radius: 12px; border: 1px solid rgba(255,255,255,0.08); transition: var(--transition); }
.feature-item:hover { background: rgba(255,255,255,0.08); transform: translateY(-5px); }
.feature-item .icon { color: var(--secondary); margin-bottom: 1.5rem; }
.feature-item h4 { color: #FFF; margin-bottom: 1rem; font-size: 1.2rem; }
.feature-item p { color: #94A3B8; font-size: 0.95rem; margin: 0; }

/* CONTATO */
#contato { background: var(--bg-alt); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: stretch; }
.contact-info-area { display: flex; flex-direction: column; height: 100%; }
.info-cards { flex: 1; display: flex; flex-direction: column; gap: 1.25rem; }
.info-card { background: #FFF; padding: 1.5rem; border-radius: 12px; display: flex; gap: 1.25rem; box-shadow: 0 4px 15px rgba(0,0,0,0.04); align-items: center; }
.info-card .icon-wrap { width: 44px; height: 44px; margin-bottom: 0; flex-shrink: 0; }
.info-card h4 { font-size: 0.8rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.2rem; }
.info-card a { font-weight: 600; font-size: 1.1rem; }

/* REDES SOCIAIS */
.social-platforms { display: flex; gap: 1rem; margin-top: auto; padding-top: 1.5rem; }
.social-btn {
    flex: 1; padding: 0.85rem; border-radius: 8px; background: var(--primary); color: #FFF;
    display: flex; align-items: center; justify-content: center; gap: 0.75rem; font-weight: 600;
    font-size: 0.95rem; transition: var(--transition);
}
.social-btn:hover { background: var(--primary-light); transform: translateY(-3px); }
.social-btn i { 
    width: 24px;
    height: 24px;
    stroke: #00E5FF;
    stroke-width: 2;
    margin-right: 8px;
}

.map-area { display: flex; flex-direction: column; height: auto; align-self: stretch; }
.map-card { flex: 1; display: flex; flex-direction: column; background: #FFF; padding: 0.5rem; border-radius: 12px; overflow: hidden; box-shadow: 0 5px 25px rgba(0,0,0,0.05); }
.map-container { flex: 1; width: 100%; min-height: 380px; border-radius: 8px; overflow: hidden; display: flex; }

/* FOOTER */
footer { background: var(--primary); color: rgba(255,255,255,0.5); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 4rem; margin-bottom: 3rem; }
.footer-about p { margin-top: 1.5rem; font-size: 0.95rem; }
.footer-links h4 { color: #FFF; margin-bottom: 1.5rem; font-size: 1.1rem; }
.footer-links ul li { margin-bottom: 0.6rem; }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.08); font-size: 0.8rem; }

/* MOBILE */
@media (max-width: 991px) {
    .container { padding: 0 2rem; }
    .hero .container, .split-section, .contact-grid, .footer-grid { grid-template-columns: 1fr; gap: 3rem; }
    .hero { text-align: center; min-height: auto; }
    .hero-content { order: 2; }
    .hero-visual { order: 1; margin-bottom: 2rem; aspect-ratio: 16/9; }
    .hero h1 { font-size: 2.5rem; }
    
    .split-section { display: flex; flex-direction: column; gap: 0; }
    .split-content { display: contents; }
    .section-title-wrap { order: 1; margin-bottom: 1.5rem; width: 100%; }
    .split-image { order: 2; margin-bottom: 2rem; width: 100%; aspect-ratio: 16/9; }
    .split-content p { order: 3; margin-bottom: 1rem; width: 100%; }
    .split-content .btn { order: 4; align-self: flex-start; width: 100%; margin-bottom: 4rem; }
    
    .logo img { height: 32px; }
    .mobile-toggle { display: block; }
    nav ul {
        position: absolute; top: var(--header-height); left: 0; width: 100%;
        background: #FFF; flex-direction: column; padding: 1.5rem 0;
        box-shadow: 0 10px 25px rgba(0,0,0,0.1); display: none;
    }
    nav ul.nav-active { display: flex; }
    .desktop-only { display: none !important; }
    .social-platforms { flex-direction: column; }
}

@media (max-width: 768px) {
    section { padding: 4rem 0; }
}
