/* =========================================
   EQUALIZER MATERIAIS - CLEAN TECH DESIGN
   ========================================= */

:root {
    /* Paleta de Cores */
    --c-petronas: #00A19C;       /* Verde Principal */
    --c-petronas-dark: #007a76;  /* Verde Hover/Detalhe */
    --c-petronas-light: #e0f2f1; /* Fundo suave de destaque */
    
    --c-white: #ffffff;
    --c-bg-body: #F9FAFB;        /* Cinza muito claro (Off-White) */
    
    /* Tipografia e Contraste (Sem preto puro #000) */
    --c-text-main: #374151;      /* Cinza Chumbo (Texto corpo) */
    --c-text-heading: #111827;   /* Cinza Escuro Profundo (Títulos) */
    --c-text-light: #6B7280;     /* Cinza Médio (Descrições) */
    
    --c-border: #E5E7EB;
    
    /* Efeitos e Sombras */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-green: 0 10px 25px -5px rgba(0, 161, 156, 0.3);
    
    --radius: 12px;
    --radius-lg: 24px;
    
    --font-main: 'Inter', sans-serif;
    --font-display: 'Outfit', sans-serif;
}

/* =========================================
   RESET E BASE
   ========================================= */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }

body {
    font-family: var(--font-main);
    background-color: var(--c-bg-body);
    color: var(--c-text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    color: var(--c-text-heading);
    font-weight: 700;
    line-height: 1.2;
}

a { text-decoration: none; color: inherit; transition: 0.3s ease; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; outline: none; font-family: inherit; }

.container {
    max-width: 1280px; margin: 0 auto; padding: 0 2rem;
}

/* Filtro para logo branca */
.filter-white { filter: brightness(0) invert(1); }

/* =========================================
   LOADING SCREEN (Verde Petronas)
   ========================================= */
.loading-screen {
    position: fixed; inset: 0;
    background-color: var(--c-petronas); /* Fundo Verde Solicitado */
    z-index: 9999;
    display: flex; justify-content: center; align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
.loading-screen.hidden { opacity: 0; visibility: hidden; }

.loading-content { text-align: center; }
.equalizer-logo-loader { display: flex; gap: 6px; height: 60px; align-items: flex-end; justify-content: center; margin-bottom: 1rem; }

/* Ondas Brancas */
.bar {
    width: 8px; background: white; border-radius: 4px;
    animation: wave 1s ease-in-out infinite;
}
.bar:nth-child(1) { height: 40%; animation-delay: 0.0s; }
.bar:nth-child(2) { height: 70%; animation-delay: 0.1s; }
.bar:nth-child(3) { height: 100%; animation-delay: 0.2s; }
.bar:nth-child(4) { height: 60%; animation-delay: 0.3s; }
.bar:nth-child(5) { height: 30%; animation-delay: 0.4s; }

@keyframes wave {
    0%, 100% { transform: scaleY(1); opacity: 1; }
    50% { transform: scaleY(0.5); opacity: 0.7; }
}

.loading-text { color: white; font-weight: 600; letter-spacing: 1px; font-size: 1.2rem; }

/* =========================================
   HEADER (Verde Fixo)
   ========================================= */
.header-premium {
    position: fixed; top: 0; left: 0; width: 100%;
    height: 80px;
    background: rgba(0, 161, 156, 0.95); /* Verde Semi-transparente */
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 161, 156, 0.2);
    transition: height 0.3s ease;
}
.header-premium.scrolled { height: 70px; }

.header-container {
    display: flex; justify-content: space-between; align-items: center;
    height: 100%; max-width: 1400px; margin: 0 auto; padding: 0 2rem;
}

.logo { height: 35px; width: auto; }

.nav-desktop { display: flex; gap: 2rem; }
.nav-link {
    color: rgba(255,255,255,0.9); font-weight: 500; font-size: 0.95rem;
    position: relative; padding: 5px 0;
}
.nav-link:hover { color: white; }
.nav-link::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
    background: white; transition: width 0.3s;
}
.nav-link:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 1.5rem; }

.status-badge {
    display: flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.15); padding: 6px 14px;
    border-radius: 20px; border: 1px solid rgba(255,255,255,0.2);
}
.status-dot { width: 8px; height: 8px; background: #4ade80; border-radius: 50%; box-shadow: 0 0 8px #4ade80; }
.status-text { color: white; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; }

.cta-button-header {
    display: flex; align-items: center; gap: 8px;
    background: white; color: var(--c-petronas-dark);
    padding: 0.6rem 1.4rem; border-radius: 50px;
    font-weight: 700; font-size: 0.9rem;
    transition: all 0.3s; box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.cta-button-header:hover { transform: translateY(-2px); box-shadow: 0 6px 15px rgba(0,0,0,0.15); }
.cta-button-header i { width: 16px; height: 16px; }

/* Mobile Menu */
.mobile-menu-btn { display: none; flex-direction: column; gap: 6px; background: none; }
.mobile-menu-btn span { width: 26px; height: 2px; background: white; transition: 0.3s; }
.mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

.mobile-nav {
    position: fixed; top: 0; right: -100%;
    width: 300px; height: 100vh;
    background: white; z-index: 2000;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    padding: 2rem; display: flex; flex-direction: column;
}
.mobile-nav.active { right: 0; }
.mobile-nav-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 3rem; border-bottom: 1px solid var(--c-border); padding-bottom: 1rem; }
.close-mobile-nav { background: none; color: var(--c-text-heading); }
.mobile-nav-links { display: flex; flex-direction: column; gap: 1.5rem; }
.mobile-nav-links a { font-size: 1.1rem; font-weight: 600; color: var(--c-text-main); }
.mobile-nav-links a:hover { color: var(--c-petronas); transform: translateX(5px); }
.mobile-nav-footer { margin-top: auto; font-size: 0.8rem; color: var(--c-text-light); text-align: center; }

/* =========================================
   HERO SECTION (Cinza Escuro / Tech)
   ========================================= */
.hero-section {
    position: relative; padding: 160px 0 100px;
    background-color: #1F2937; /* Cinza Chumbo para contraste */
    color: white;
    overflow: hidden; min-height: 90vh;
    display: flex; align-items: center;
}

.hero-overlay-gradient {
    position: absolute; inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(0, 161, 156, 0.15), transparent 60%);
    pointer-events: none;
}

.hero-container {
    display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 5rem;
    align-items: center; position: relative; z-index: 2;
    width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 2rem;
}

.hero-tag {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(0, 161, 156, 0.1); color: #4DD2CE;
    padding: 8px 16px; border-radius: 30px;
    font-size: 0.85rem; font-weight: 600; text-transform: uppercase;
    margin-bottom: 2rem; border: 1px solid rgba(0, 161, 156, 0.3);
}
.pulse-dot { width: 8px; height: 8px; background: #4DD2CE; border-radius: 50%; animation: pulse 2s infinite; }

.hero-title { font-size: 3.5rem; margin-bottom: 1.5rem; color: white; letter-spacing: -1px; }
.highlight-text { color: var(--c-petronas); }
.hero-description { font-size: 1.25rem; color: #D1D5DB; margin-bottom: 2.5rem; max-width: 540px; }

.hero-status-wrapper {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 3rem; color: #D1D5DB; font-family: monospace;
    background: rgba(255,255,255,0.05); padding: 10px 20px;
    border-radius: 8px; width: fit-content; border: 1px solid rgba(255,255,255,0.1);
}
.status-typing { color: var(--c-petronas); font-weight: bold; }

.hero-buttons { display: flex; gap: 1.2rem; flex-wrap: wrap; }

.btn-primary-large {
    background: var(--c-petronas); color: white;
    padding: 1rem 2.2rem; border-radius: 50px;
    font-weight: 600; font-size: 1.1rem;
    display: inline-flex; align-items: center; gap: 10px;
    transition: 0.3s; box-shadow: 0 10px 25px -5px rgba(0, 161, 156, 0.4);
}
.btn-primary-large:hover { background: var(--c-petronas-dark); transform: translateY(-3px); }

.btn-secondary-large {
    background: transparent; color: white; border: 2px solid rgba(255,255,255,0.3);
    padding: 0.9rem 2.2rem; border-radius: 50px;
    font-weight: 600; font-size: 1.1rem; transition: 0.3s;
}
.btn-secondary-large:hover { border-color: white; background: rgba(255,255,255,0.05); }

/* Cards Flutuantes */
.hero-visual { position: relative; height: 500px; }
.float-card {
    position: absolute;
    background: rgba(255,255,255,0.05); backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 1.5rem; border-radius: 16px;
    display: flex; align-items: center; gap: 1rem; width: 260px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2); transition: 0.3s;
}
.float-card:hover { transform: scale(1.05); border-color: var(--c-petronas); }
.fc-icon {
    width: 50px; height: 50px; background: rgba(0,161,156,0.2); color: #4DD2CE;
    border-radius: 12px; display: flex; align-items: center; justify-content: center;
}
.fc-text strong { display: block; font-size: 1.5rem; color: white; line-height: 1; }
.fc-text p { font-size: 0.85rem; color: #9CA3AF; margin-top: 4px; }

.c1 { top: 10%; right: 10%; animation: float 6s infinite; }
.c2 { top: 45%; left: 0%; animation: float 7s infinite 1s; }
.c3 { bottom: 10%; right: 20%; animation: float 8s infinite 0.5s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }

/* =========================================
   SEÇÕES GERAIS (Espaçamento Generoso)
   ========================================= */
.section { padding: 8rem 0; }
.section-header.center { text-align: center; max-width: 700px; margin: 0 auto 5rem; }
.section-badge {
    display: inline-block; color: var(--c-petronas); font-weight: 700;
    text-transform: uppercase; letter-spacing: 2px; font-size: 0.85rem;
    margin-bottom: 1rem; background: var(--c-petronas-light);
    padding: 6px 12px; border-radius: 20px;
}
.section-badge.dark { background: rgba(255,255,255,0.1); color: #4DD2CE; }
.section-title { font-size: 2.5rem; margin-bottom: 1.2rem; color: var(--c-text-heading); }
.section-title.white-text { color: white; }
.section-desc { font-size: 1.15rem; color: var(--c-text-light); }

/* SOBRE */
.about-section { background: white; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-content p { font-size: 1.1rem; color: var(--c-text-main); margin-bottom: 1.5rem; }
.feature-list { margin-top: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.feature-list li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--c-text-heading); }
.feature-list i { color: var(--c-petronas); width: 20px; }

.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.stat-card {
    background: var(--c-bg-body); padding: 2rem; border-radius: var(--radius);
    text-align: center; transition: 0.3s;
}
.stat-card.highlight { background: var(--c-petronas); color: white; grid-column: span 2; }
.stat-number { display: block; font-size: 3rem; font-weight: 800; line-height: 1; margin-bottom: 0.5rem; font-family: var(--font-display); }
.stat-card:not(.highlight) .stat-number { color: var(--c-petronas); }
.stat-label { font-size: 0.9rem; font-weight: 500; text-transform: uppercase; }

/* SOLUÇÕES */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2.5rem; }
.feature-box {
    background: white; padding: 3rem 2.5rem; border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm); border: 1px solid var(--c-border);
    transition: 0.3s;
}
.feature-box:hover { transform: translateY(-10px); box-shadow: var(--shadow-green); border-color: var(--c-petronas); }
.fb-icon {
    width: 64px; height: 64px; background: var(--c-petronas-light); color: var(--c-petronas);
    border-radius: 16px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem;
}
.feature-box h3 { margin-bottom: 1rem; font-size: 1.4rem; }
.feature-box p { color: var(--c-text-light); }

/* PRODUTOS */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 2.5rem; }
.product-card {
    background: white; border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow-md); transition: 0.4s; cursor: pointer; border: 1px solid transparent;
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--c-petronas); }
.pc-image { height: 200px; overflow: hidden; position: relative; }
.pc-image img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.product-card:hover .pc-image img { transform: scale(1.1); }
.pc-content { padding: 1.5rem; }
.pc-cat { color: var(--c-petronas); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; display: block; margin-bottom: 0.5rem; }
.pc-content h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.pc-content p { color: var(--c-text-light); font-size: 0.9rem; margin-bottom: 1.5rem; }
.pc-link { color: var(--c-petronas); font-weight: 600; font-size: 0.9rem; display: flex; align-items: center; gap: 5px; }

.center-btn-wrapper { text-align: center; margin-top: 4rem; }
.btn-outline-dark {
    background: transparent; color: var(--c-text-heading); border: 2px solid var(--c-text-heading);
    padding: 0.8rem 2rem; border-radius: 50px; font-weight: 600; transition: 0.3s;
}
.btn-outline-dark:hover { background: var(--c-text-heading); color: white; }

/* PORTAL (Cinza Escuro/Tech) */
.portal-section { background: #1F2937; color: white; overflow: hidden; }
.portal-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.portal-desc { color: #D1D5DB; margin-bottom: 2.5rem; font-size: 1.1rem; }
.portal-cards { display: flex; flex-direction: column; gap: 1.5rem; }
.portal-feature {
    background: rgba(255,255,255,0.05); padding: 1.5rem; border-radius: 12px;
    display: flex; align-items: center; gap: 1.5rem; border: 1px solid rgba(255,255,255,0.1);
    transition: 0.3s;
}
.portal-feature:hover { background: rgba(255,255,255,0.1); transform: translateX(10px); }
.portal-feature i { color: #4DD2CE; }

/* CTA FINAL */
.cta-section { background: var(--c-petronas); padding: 6rem 0; text-align: center; color: white; }
.cta-content h2 { color: white; font-size: 3rem; margin-bottom: 1rem; }
.cta-content p { font-size: 1.2rem; margin-bottom: 3rem; opacity: 0.9; }
.cta-grid-contacts { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; }
.contact-pill {
    background: rgba(255,255,255,0.2); color: white; padding: 1rem 2rem;
    border-radius: 50px; display: flex; align-items: center; gap: 10px; font-weight: 600;
    transition: 0.3s; backdrop-filter: blur(5px);
}
.contact-pill:hover { background: white; color: var(--c-petronas); transform: translateY(-5px); }
.contact-pill.whatsapp { background: #25D366; }
.contact-pill.whatsapp:hover { background: #1fa851; color: white; }

/* FOOTER (Cinza Neutro) */
.main-footer { background: #1F2937; color: #9CA3AF; padding: 5rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem; margin-bottom: 4rem; }
.footer-col h4 { color: white; margin-bottom: 1.5rem; font-size: 1.1rem; }
.footer-col a { display: block; margin-bottom: 0.8rem; transition: 0.3s; }
.footer-col a:hover { color: var(--c-petronas); padding-left: 5px; }
.social-links a { color: white; background: rgba(255,255,255,0.1); padding: 10px; border-radius: 8px; display: inline-flex; }
.social-links a:hover { background: var(--c-petronas); }
.footer-bottom { text-align: center; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem; font-size: 0.9rem; }

/* =========================================
   MODAL & FORM
   ========================================= */
.modal-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(5px);
    z-index: 2100; display: flex; justify-content: center; align-items: center;
    opacity: 0; visibility: hidden; transition: 0.3s;
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-container { background: white; width: 95%; max-width: 600px; border-radius: 20px; box-shadow: var(--shadow-lg); transform: scale(0.95); transition: 0.3s; overflow: hidden; }
.modal-overlay.active .modal-container { transform: scale(1); }
.modal-header { padding: 1.5rem 2rem; border-bottom: 1px solid var(--c-border); display: flex; justify-content: space-between; align-items: center; background: #F9FAFB; }
.modal-close { background: #E5E7EB; width: 32px; height: 32px; border-radius: 50%; display: flex; justify-content: center; align-items: center; transition: 0.3s; }
.modal-close:hover { background: #D1D5DB; }
.modal-form { padding: 2rem; }

.input-tech {
    width: 100%; padding: 12px; border: 1px solid #D1D5DB; border-radius: 8px;
    background: #F9FAFB; font-size: 1rem; transition: 0.3s;
}
.input-tech:focus { background: white; border-color: var(--c-petronas); outline: none; box-shadow: 0 0 0 3px rgba(0,161,156,0.1); }
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.5rem; color: var(--c-text-light); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* Steps */
.step-progress { display: flex; gap: 8px; margin-bottom: 1.5rem; }
.step-line { height: 4px; flex: 1; background: var(--c-border); border-radius: 2px; }
.step-line.active { background: var(--c-petronas); }
.form-actions { display: flex; margin-top: 2rem; }
.form-actions.right { justify-content: flex-end; }
.form-actions.spread { justify-content: space-between; }

.btn-submit, .btn-next {
    background: var(--c-petronas); color: white; padding: 12px 24px; border-radius: 8px;
    font-weight: 600; display: inline-flex; align-items: center; gap: 8px; transition: 0.3s;
}
.btn-submit:hover { background: var(--c-petronas-dark); }
.btn-back { background: transparent; border: 1px solid #D1D5DB; padding: 12px 24px; border-radius: 8px; font-weight: 600; color: var(--c-text-light); }
.btn-back:hover { color: var(--c-text-heading); border-color: var(--c-text-heading); }
.full-width { width: 100%; justify-content: center; }
.tech-alert { background: var(--c-petronas-light); color: var(--c-petronas-dark); padding: 1rem; border-radius: 8px; display: flex; gap: 10px; margin-bottom: 1rem; font-size: 0.9rem; }
.success-animation { width: 60px; height: 60px; background: #d1fae5; color: #059669; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; }
.form-success { text-align: center; padding: 2rem 0; }

/* =========================================
   ANIMAÇÕES (Scroll Reveal)
   ========================================= */
.reveal-up { opacity: 0; transform: translateY(30px); transition: all 0.8s ease-out; }
.reveal-up.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-30px); transition: all 0.8s ease-out; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
@keyframes pulse { 0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(77, 210, 206, 0.7); } 70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(77, 210, 206, 0); } 100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(77, 210, 206, 0); } }

/* =========================================
   RESPONSIVO
   ========================================= */
@media (max-width: 1024px) {
    .hero-container, .about-grid, .portal-layout { grid-template-columns: 1fr; text-align: center; }
    .hero-visual { display: none; }
    .hero-buttons, .cta-grid-contacts { justify-content: center; }
    .nav-desktop { display: none; }
    .mobile-menu-btn { display: flex; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .header-premium { height: 70px; }
    .hero-section { padding-top: 120px; }
    .hero-title { font-size: 2.5rem; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .form-row { grid-template-columns: 1fr; }
    .modal-container { width: 95%; }
}