:root {
    /* NOVA COR PEnG (Baseada na imagem: Laranja/Vermelho Queimado) */
    --primary: #E84E1B; 
    --primary-gradient: linear-gradient(135deg, #FF8C42 0%, #E84E1B 100%);
    
    --dark: #0f172a;    
    --darker: #020617;
    --light: #fff7f2; /* Um branco levemente aquecido para combinar */
    --grey: #64748b;
    --gold: #fbbf24;
    --border: #e2e8f0;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; scroll-behavior: smooth; }

html, body { width: 100%; margin: 0; padding: 0; overflow-x: hidden; }
body { background-color: white; color: var(--dark); line-height: 1.6; }

/* UTILITIES */
.bg-light { background-color: var(--light); }
.dark-bg { background-color: var(--dark); color: white; }
.section { padding: 2.5rem 0%; }
.container { max-width: 1200px; margin: 0 auto; }
.text-center { text-align: center; }

/* NAVBAR */
.navbar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1rem 5%; position: fixed; width: 100%; top: 0;
    background: rgba(15, 23, 42, 0.95); backdrop-filter: blur(10px); z-index: 1000;
    color: white; border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* Removemos o estilo de texto antigo (.logo) e adicionamos este: */

.logo-container {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px; /* Ajuste este valor para aumentar ou diminuir a logo */
    width: auto;  /* Mantém a proporção correta */
    object-fit: contain;
}

.logo-img-footer {
    height: 100px; /* Ajuste este valor para aumentar ou diminuir a logo */
    width: auto;  /* Mantém a proporção correta */
    object-fit: contain;
    position: relative;
}

/* Ajuste para Mobile (opcional, caso fique muito grande no celular) */
@media (max-width: 768px) {
    .logo-img {
        height: 40px;
    }
}

.nav-links { display: flex; list-style: none; gap: 2rem; }
.nav-links a { text-decoration: none; color: #cbd5e1; transition: 0.3s; font-size: 0.95rem; font-weight: 500; }
.nav-links a:hover { color: var(--primary); }

.lang-selector select {
    background: rgba(255,255,255,0.1); border: 1px solid #475569; color: var(--primary);
    padding: 0.5rem; border-radius: 6px; cursor: pointer; outline: none; font-weight: bold;
}
.mobile-menu-btn { display: none; color: white; font-size: 1.5rem; cursor: pointer; }

/* HERO SECTION */
.hero {
    height: 100vh; position: relative; display: flex; align-items: center; justify-content: center;
    overflow: hidden; text-align: center; color: white;
}
.hero-video {
    position: absolute; top: 50%; left: 50%; min-width: 100%; min-height: 100%;
    width: auto; height: auto; z-index: 0;
    transform: translateX(-50%) translateY(-50%);
    filter: brightness(0.5) sepia(0.2); /* Adicionei sepia para aquecer o vídeo */
}
.hero-content { position: relative; z-index: 2; }
.hero-overlay { z-index: 1; background: rgba(15,23,42,0.5); }

/* BUTTONS (Atualizados com Gradiente) */
.btn { padding: 1rem 2.5rem; border: none; border-radius: 50px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; font-size: 1rem; text-decoration: none; }

.primary { 
    background: var(--primary-gradient); /* Gradiente PEnG */
    color: white; 
}
.primary:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(232, 78, 27, 0.4); }

.secondary { background: transparent; border: 2px solid rgba(255,255,255,0.3); color: white; margin-left: 1rem; }
.secondary:hover { background: white; color: var(--dark); border-color: white; }

/* MISSION & VALUES */
.mission-statement { font-size: 1.5rem; max-width: 750px; margin: 0 auto 3rem auto; color: var(--dark); font-weight: 300; line-height: 1.4; }
.values-grid { display: flex; justify-content: center; gap: 4rem; flex-wrap: wrap; margin-top: 3rem; }
.value-item { text-align: center; max-width: 250px; }
.val-icon { font-size: 2.5rem; color: var(--primary); margin-bottom: 1.2rem; opacity: 0.9; background: rgba(232, 78, 27, 0.1); padding: 20px; border-radius: 50%; width: 80px; height: 80px; display: inline-flex; align-items: center; justify-content: center; }

/* PROCESS TIMELINE */
.process-timeline { display: flex; align-items: flex-start; justify-content: space-between; margin-top: 3rem; position: relative; }
.process-step { flex: 1; text-align: center; padding: 1rem; position: relative; z-index: 2; }
.step-icon { font-size: 3rem; background: white; width: 200px; height: 200px; line-height: 200px; border-radius: 50%; margin: 0 auto 1.5rem auto; box-shadow: 0 10px 25px rgba(0,0,0,0.08); border: 3px solid var(--primary); transition: 0.3s; }
.process-step:hover .step-icon { transform: scale(1.1); background: var(--primary); color: white; }
.step-arrow { align-self: center; font-size: 1.5rem; color: #cbd5e1; margin-top: -30px; }

/* TECHNOLOGY & CARDS */
.tag { background: rgba(232, 78, 27, 0.1); color: var(--primary); padding: 5px 12px; border-radius: 4px; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 700; }
.tag.gold { color: var(--gold); background: rgba(251, 191, 36, 0.1); }
h2 { font-size: 2.5rem; margin: 1rem 0 3rem 0; color: var(--dark); }
.dark-bg h2 { color: white; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.card { padding: 2.0rem; background: white; border-radius: 12px; box-shadow: 0 4px 6px rgba(0,0,0,0.02); transition: 0.3s; border: 1px solid var(--border); }
.card:hover { transform: translateY(-5px); border-color: var(--primary); box-shadow: 0 15px 30px rgba(0,0,0,0.05); }
.icon { font-size: 2rem; color: var(--primary); margin-bottom: 1.5rem; }

/* INVESTORS STATS */
.stats-grid { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.stat-box { background: rgba(255,255,255,0.03); padding: 2.5rem; flex: 1; border-radius: 12px; text-align: center; border: 1px solid rgba(255,255,255,0.1); min-width: 200px; }
.stat-box h4 { color: #94a3b8; margin-bottom: 0.5rem; font-weight: 400; text-transform: uppercase; font-size: 0.9rem; letter-spacing: 1px; }
.stat-box span { display: block; font-size: 3rem; font-weight: 700; color: var(--primary); }

/* CEO SECTION */
.split-layout { display: flex; align-items: center; gap: 5rem; }
.ceo-image { flex: 1; position: relative; }
.ceo-image img { width: 100%; border-radius: 12px; box-shadow: 20px 20px 0px rgba(232, 78, 27, 0.2); filter: brightness(0.95); transition: 0.3s; }
.ceo-image:hover img { filter: brightness(1); }
.ceo-badge { position: absolute; bottom: -20px; right: 20px; background: var(--dark); color: white; padding: 12px 25px; border-radius: 50px; font-weight: bold; box-shadow: 0 5px 15px rgba(0,0,0,0.2); }
.ceo-content { flex: 1; }
.ceo-content blockquote { font-size: 1.6rem; font-style: italic; border-left: 5px solid var(--primary); padding-left: 2rem; margin: 2rem 0; color: #334155; line-height: 1.4; }
.btn-link { color: var(--primary); text-decoration: none; font-weight: 700; margin-top: 1.5rem; display: inline-flex; align-items: center; gap: 0.5rem; transition: 0.2s; }
.btn-link:hover { gap: 1rem; }

/* TEAM CARDS */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; margin-top: 2rem; }
.team-card { background: white; border-radius: 12px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: 0.3s; position: relative; border: 1px solid var(--border); }
.team-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.team-img { height: 320px; background-size: cover; background-position: center; transition: 0.4s; }
.team-card:hover .team-img { height: 260px; filter: grayscale(100%); }
.team-info { padding: 1.0rem; text-align: center; background: white; position: relative; z-index: 2; }
.team-info h3 { font-size: 1.3rem; margin-bottom: 0.3rem; }
.team-info .role { color: var(--primary); font-size: 0.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.team-socials { margin-top: 1rem; opacity: 0; transform: translateY(20px); transition: 0.4s; display: flex; justify-content: center; gap: 1rem; }
.team-card:hover .team-socials { opacity: 1; transform: translateY(0); }
.team-socials a { color: var(--dark); font-size: 1.4rem; transition: 0.2s; }
.team-socials a:hover { color: var(--primary); }
#team { padding-bottom: 0; }
#team2 { padding-top: 2rem; }
#team2 .team-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
#team2 .team-card { padding: 0; transition: transform 0.3s ease, box-shadow 0.3s ease; }
#team2 .team-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.15); }
#team2 .team-img { width: 100%; height: 250px; background-size: cover; background-position: center; }
#team2 h3 { font-size: 1.1rem; }

/* ACHIEVEMENTS */
.patents-box { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 2rem; margin-bottom: 3rem; }
.patent-item { display: flex; align-items: flex-start; gap: 1.5rem; padding: 1rem; background: white; border: 1px solid var(--border); border-radius: 12px; transition: 0.3s; }
.patent-item:hover { border-color: var(--gold); transform: translateX(5px); }
.gold-icon { color: #d4af37; font-size: 2rem; margin-top: 5px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.gallery-img { width: 100%; height: 250px; object-fit: cover; border-radius: 12px; cursor: pointer; transition: 0.4s; filter: grayscale(100%); }
.gallery-img:hover { filter: grayscale(0%); transform: scale(1.03); box-shadow: 0 10px 30px rgba(0,0,0,0.15); }

/* CAROUSEL AUTOPLAY */
.carousel-wrapper { margin-top: 4rem; overflow: hidden; position: relative; width: 100%; mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); }
.carousel-track { display: flex; gap: 2rem; width: max-content; animation: scroll 30s linear infinite; }
.carousel-item { background: white; border: 1px solid var(--border); border-radius: 50px; padding: 1rem 2rem; display: flex; align-items: center; gap: 1rem; min-width: 200px; box-shadow: 0 4px 6px rgba(0,0,0,0.02); white-space: nowrap; }
.carousel-item i { font-size: 1.2rem; color: var(--gold); }
.carousel-item span { font-weight: 700; color: var(--dark); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* PARTNERS & NEWSLETTER */
.mini-title { text-align: center; text-transform: uppercase; color: var(--grey); letter-spacing: 2px; margin-bottom: 2.5rem; font-weight: 600; font-size: 0.9rem; }
.partners-grid { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; opacity: 0.6; }
.partner-logo { font-weight: 700; font-size: 1.1rem; color: var(--dark); padding: 1rem 2rem; border: 2px solid #cbd5e1; border-radius: 8px; transition: 0.3s; cursor: default; }
.partner-logo:hover { border-color: var(--primary); opacity: 1; transform: translateY(-3px); color: var(--primary); }

.cta-section { text-align: center; }
.cta-section p { color: #cbd5e1; margin-bottom: 2.5rem; }
.newsletter-form { display: flex; justify-content: center; gap: 1rem; max-width: 500px; margin: 0 auto; }
.newsletter-form input { flex: 1; padding: 1rem 1.5rem; border-radius: 50px; border: none; outline: none; font-size: 1rem; }
.newsletter-form button { padding: 1rem 2rem; }

/* FOOTER */
.main-footer { background: var(--darker); color: #94a3b8; padding: 2rem 0 2rem 0; border-top: 3px solid var(--primary); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 4rem; margin-bottom: 4rem; }
.footer-brand h2 { color: white; margin-bottom: 1rem; }
.social-links { margin-top: 1.5rem; }
.social-links a { width: 45px; height: 45px; background: rgba(255,255,255,0.05); display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; color: white; margin-right: 10px; transition: 0.3s; text-decoration: none; border: 1px solid rgba(255,255,255,0.1); }
.social-links a:hover { background: var(--primary); transform: rotate(360deg); color: var(--darker); border-color: var(--primary); }

.footer-nav h4 { color: white; margin-bottom: 1.5rem; font-size: 1.1rem; }
.footer-nav ul { list-style: none; }
.footer-nav li { margin-bottom: 1rem; }
.footer-nav a { color: #94a3b8; text-decoration: none; transition: 0.2s; }
.footer-nav a:hover { color: var(--primary); padding-left: 2px; }
.badge-hiring { background: var(--primary); color: white; font-size: 0.6rem; padding: 3px 8px; border-radius: 4px; font-weight: 800; margin-left: 8px; vertical-align: middle; text-transform: uppercase; }

.footer-contact a { color: inherit; text-decoration: none; transition: 0.3s; }
.footer-contact a:hover { color: var(--primary); }

.contact-email { color: var(--primary); font-weight: 700; margin-top: 1rem; font-size: 1.1rem; }
.footer-bottom { text-align: center; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem; font-size: 0.9rem; }

/* ANIMATION CLASSES */
.fade-in { animation: fadeIn 1.5s ease-in-out; }
.scroll-reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease-out; }
.scroll-reveal.active { opacity: 1; transform: translateY(0); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* MEDIA QUERIES */
@media (max-width: 992px) {
    .stats-grid { flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
    .patents-box { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }
    .process-timeline { flex-direction: column; gap: 2rem; }
    .step-arrow { transform: rotate(90deg); margin: 0; }
    .split-layout { flex-direction: column; }
    .newsletter-form { flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 2.5rem; }
    .social-links { justify-content: center; display: flex; }
    .mission-statement { font-size: 1.2rem; }
    .calc-results { grid-template-columns: 1fr; }
}

/* CALCULADORA */
.calc-wrapper { background: white; padding: 1.5rem; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.08); border: 1px solid var(--border); }
.calc-inputs input[type=range] { width: 100%; height: 8px; background: #e2e8f0; border-radius: 5px; outline: none; -webkit-appearance: none; margin: 1.5rem 0; }
.calc-inputs input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 25px; height: 25px; background: var(--primary); border-radius: 50%; cursor: pointer; box-shadow: 0 0 10px rgba(232, 78, 27, 0.5); }
.highlight { font-weight: 800; color: var(--primary); font-size: 1.2rem; }
.calc-results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; }
.result-card { text-align: center; padding: 1.5rem; border-radius: 8px; background: #fff7f2; border: 1px solid var(--border); transition: 0.3s; }
.result-card:hover { transform: translateY(-5px); border-color: var(--primary); }
.result-card h3 { font-size: 1.8rem; margin: 10px 0; color: var(--dark); word-wrap: break-word; } /* Fonte menor para caber bbl */
.result-card.green h3 { color: var(--primary); }
.result-card.gold h3 { color: var(--gold); }
.result-card i { font-size: 2rem; color: #94a3b8; }

/* ESTILOS PARA CAPTAÇÃO DE LEADS */
.lead-form-wrapper {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    max-width: 600px;
    margin: 2rem auto 0 auto;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.business-form .form-group {
    margin-bottom: 1rem;
}

.business-form input, 
.business-form select {
    width: 100%;
    padding: 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 1rem;
    background: #f8fafc;
    color: var(--dark);
    outline: none;
    transition: 0.3s;
}

.business-form input:focus,
.business-form select:focus {
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(232, 78, 27, 0.1);
}

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

/* Ajuste Mobile */
@media (max-width: 768px) {
    .form-grid-2 {
        grid-template-columns: 1fr;
    }
}

.process-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem; /* espaço entre texto e vídeo */
  flex-wrap: wrap; /* permite quebrar em telas pequenas */
  margin-left: 5%;
}

.process-text {
  flex: 1; /* ocupa metade ou mais conforme espaço */
  padding: 2rem;
}

.video-wrapper {
  flex: 1;
  max-width: 560px; /* largura máxima do vídeo */
  margin-left: 2%;
  margin-right: 5%;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0;
}

.video-wrapper iframe {
  width: 100%;
  height: 315px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* MODAL STYLES */
.modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); z-index: 2000; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s; backdrop-filter: blur(5px); }
.modal-overlay.open { display: flex; opacity: 1; }
.modal-content { background: white; padding: 2.5rem; border-radius: 12px; max-width: 700px; width: 90%; position: relative; transform: translateY(30px); transition: transform 0.3s; max-height: 85vh; overflow-y: auto; box-shadow: 0 25px 50px rgba(0,0,0,0.25); border: 1px solid var(--border); }
.modal-overlay.open .modal-content { transform: translateY(0); }
.close-modal { position: absolute; top: 15px; right: 20px; font-size: 2rem; cursor: pointer; color: var(--grey); transition: 0.2s; line-height: 1; }
.close-modal:hover { color: var(--primary); }
#modal-body { margin-top: 1.5rem; color: #475569; line-height: 1.7; }
#modal-body h4 { color: var(--dark); margin-top: 1.5rem; margin-bottom: 0.5rem; }
#modal-body ul { margin-left: 1.5rem; margin-bottom: 1rem; }
