/* ========================================
   RESET E VARIÁVEIS
   ======================================== */

:root {
    --primary-blue: #0E2B4D;
    --golden-sun: #F5B300;
    --pure-white: #FFFFFF;
    --light-gray: #F8F9FA;
    --text-dark: #2C3E50;
    --text-light: #6C757D;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    background: var(--pure-white);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1a4d7a 50%, var(--golden-sun) 100%);
    position: relative;
    padding: 2rem;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(245, 179, 0, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    width: 100%;
    text-align: center;
}

.typewriter-container {
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.verse-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 300;
    color: var(--pure-white);
    line-height: 1.6;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.logo-container {
    margin: 3rem 0;
    transition: var(--transition);
}

.logo-container.hidden,
.cta-container.hidden {
    opacity: 0;
    visibility: hidden;
}

.hero-logo {
    width: 180px;
    height: 180px;
    margin: 0 auto;
    animation: fadeInScale 1s ease-out forwards;
    filter: drop-shadow(0 0 30px rgba(245, 179, 0, 0.5));
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.cta-container {
    margin-top: 2rem;
    animation: fadeInUp 1s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--golden-sun);
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(245, 179, 0, 0.4);
    transition: var(--transition);
}

.btn-primary:hover {
    background: #ffc107;
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(245, 179, 0, 0.6);
}

.btn-secondary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: transparent;
    color: var(--golden-sun);
    font-weight: 600;
    font-size: 1.1rem;
    border: 2px solid var(--golden-sun);
    border-radius: 50px;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: var(--golden-sun);
    color: var(--primary-blue);
    transform: translateY(-3px);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border-left: 3px solid var(--pure-white);
    border-bottom: 3px solid var(--pure-white);
    transform: rotate(-45deg);
}

/* ========================================
   NAVEGAÇÃO
   ======================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--pure-white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
    transform: translateY(-100%);
}

.navbar.visible {
    transform: translateY(0);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
    color: var(--primary-blue);
}

.nav-logo img {
    width: 40px;
    height: 40px;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-menu li {
    text-align: center;
}

.nav-menu a {
    color: var(--primary-blue);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    display: inline-block;
    text-align: center;
    line-height: 1.3;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--golden-sun);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-special {
    color: var(--golden-sun) !important;
    font-weight: 600;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-blue);
    border-radius: 2px;
    transition: var(--transition);
}

/* ========================================
   SEÇÕES
   ======================================== */

.section {
    padding: 5rem 2rem;
    position: relative;
}

.section-light {
    background: var(--light-gray);
}

.section-dark {
    background: var(--primary-blue);
    color: var(--pure-white);
}

.section-white {
    background: var(--pure-white);
}

.section-gradient {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1a4d7a 100%);
    color: var(--pure-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: inherit;
}

.text-white {
    color: var(--pure-white) !important;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: var(--golden-sun);
    margin: 1rem auto 2rem;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
    line-height: 1.8;
}

.text-center {
    text-align: center;
}

/* ========================================
   PILARES
   ======================================== */

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.pillar-card {
    background: var(--pure-white);
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.pillar-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.pillar-icon {
    margin-bottom: 1.5rem;
}

.pillar-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.pillar-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ========================================
   PORTFÓLIO
   ======================================== */

.section-video-bg {
    position: relative;
    overflow: hidden;
}

.section-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 0;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(14, 43, 77, 0.85);
    z-index: 1;
}

.section-video-bg .container {
    position: relative;
    z-index: 2;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.portfolio-card {
    background: var(--pure-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.portfolio-image {
    height: 250px;
    position: relative;
    overflow: hidden;
    background: #000;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-card:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--golden-sun);
    color: var(--primary-blue);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.portfolio-placeholder {
    opacity: 0.3;
}

.portfolio-info {
    padding: 1.5rem;
}

.portfolio-info h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    color: var(--primary-blue);
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.portfolio-description {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.portfolio-power {
    color: var(--golden-sun);
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.portfolio-savings {
    color: var(--text-light);
}

/* ========================================
   NOSSAS OBRAS - VÍDEO SHOWCASE
   ======================================== */

.video-showcase {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 3rem;
}

.video-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: #000;
}

.showcase-video {
    width: 100%;
    height: auto;
    display: block;
    max-height: 500px;
    object-fit: contain;
}

.video-description {
    padding: 2rem;
}

.video-description h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.video-description p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--pure-white) 100%);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.stat-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--golden-sun);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

/* ========================================
   TECNOLOGIA (PAPAI SOLAR / DRAIVÃO)
   ======================================== */

.tech-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.tech-section-reverse {
    grid-template-columns: 1fr 1fr;
}

.tech-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--golden-sun);
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.tech-description {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--golden-sun);
    margin-bottom: 1.5rem;
}

.tech-text {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.tech-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tech-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.check-icon {
    width: 24px;
    height: 24px;
    background: var(--golden-sun);
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.tech-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-icon-large {
    animation: float 3s ease-in-out infinite;
}

.tech-logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    animation: float 3s ease-in-out infinite;
}

.tech-logo {
    max-width: 280px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.1));
    transition: var(--transition);
}

.tech-logo:hover {
    filter: drop-shadow(0 8px 30px rgba(245, 179, 0, 0.3));
    transform: scale(1.05);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* ========================================
   MISSÃO, VISÃO E VALORES
   ======================================== */

.mvv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.mvv-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.mvv-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-10px);
}

.mvv-icon {
    margin-bottom: 1.5rem;
}

.mvv-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    color: var(--golden-sun);
    margin-bottom: 1rem;
}

.mvv-card p {
    line-height: 1.8;
}

/* ========================================
   CONTATO
   ======================================== */

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-card {
    background: var(--pure-white);
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    margin-bottom: 1.5rem;
}

.contact-card h3 {
    font-size: 1.3rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.contact-card p {
    color: var(--text-light);
    line-height: 1.6;
}

.contact-card a {
    color: var(--golden-sun);
    font-weight: 600;
}

.contact-card a:hover {
    text-decoration: underline;
}

/* ========================================
   RODAPÉ
   ======================================== */

.footer {
    background: var(--primary-blue);
    color: var(--pure-white);
    padding: 3rem 2rem 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo img {
    width: 60px;
    margin-bottom: 1rem;
}

.footer-tagline {
    font-style: italic;
    opacity: 0.8;
}

.footer-links h4,
.footer-info h4 {
    color: var(--golden-sun);
    margin-bottom: 1rem;
    font-family: 'Montserrat', sans-serif;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a:hover {
    color: var(--golden-sun);
    padding-left: 5px;
}

.footer-info p {
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    opacity: 0.7;
}

/* ========================================
   ANIMAÇÕES
   ======================================== */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   RESPONSIVIDADE
   ======================================== */

@media (max-width: 968px) {
    .tech-section,
    .tech-section-reverse {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .tech-visual {
        order: -1;
    }

    .video-showcase {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--pure-white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-md);
        transform: translateX(-100%);
        transition: var(--transition);
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .section-title {
        font-size: 2rem;
    }

    .verse-text {
        font-size: 1.5rem;
    }
}

@media (max-width: 640px) {
    .section {
        padding: 3rem 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .verse-text {
        font-size: 1.2rem;
    }

    .hero-logo {
        width: 120px;
        height: 120px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }

    .pillars-grid,
    .portfolio-grid,
    .mvv-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .video-description {
        padding: 1rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .nav-logo span {
        display: none;
    }

    .typewriter-container {
        min-height: 150px;
        padding: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

