/*
 * =========================================
 * IDENTIDADE VISUAL E CORES DA MARCA
 * =========================================
 */
:root {
    --cor-verde-vibrante: #07a65a;
    --cor-verde-escuro: #aaff48;
    --cor-cinza-asfalto: #19519f;
    --cor-azul-escuro: #003366;
    --cor-branco: #ffffff;
    --cor-fundo-claro: #f8f9fa;
    --cor-texto: #333333;
    --cor-texto-mutado: #666666;
}

/* RESET E CONFIGURAÇÕES GERAIS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    color: var(--cor-texto);
    background-color: var(--cor-branco);
    line-height: 1.6;
}

/* SCROLLBAR PERSONALIZADO */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background-color: var(--cor-fundo-claro); }
::-webkit-scrollbar-thumb { background-color: var(--cor-verde-vibrante); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background-color: var(--cor-verde-escuro); }

html {
    scrollbar-width: thin;
    scrollbar-color: var(--cor-verde-vibrante) var(--cor-fundo-claro);
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (min-width: 1024px) {
    .container {
        padding: 0 48px;
    }
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--cor-cinza-asfalto);
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.section-subtitle {
    text-align: center;
    color: var(--cor-texto-mutado);
    max-width: 750px;
    margin: 0 auto 60px auto;
    font-size: 1.125rem;
    line-height: 1.7;
}

@media (min-width: 1024px) {
    .section-title {
        font-size: 3rem;
    }
    .section-subtitle {
        font-size: 1.25rem;
        margin-bottom: 80px;
    }
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    background-color: var(--cor-verde-vibrante);
    color: var(--cor-branco);
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #27ae60;
    transform: translateY(-3px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--cor-verde-vibrante);
    color: var(--cor-verde-vibrante);
}

.btn-outline:hover {
    background-color: var(--cor-verde-vibrante);
    color: var(--cor-branco);
}

/* HEADER E NAVEGAÇÃO */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--cor-verde-vibrante);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); 
    z-index: 1000;
    padding: 15px 0;
    border-bottom-left-radius: 60px;
    border-bottom-right-radius: 60px;
    transition: all 0.3s ease;
}

.nav-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.left-menu-icon {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
}

.hamburger-menu {
    color: var(--cor-branco);
    font-size: 1.8rem;
    cursor: pointer;
    transition: color 0.3s ease;
    position: relative;
}

.hamburger-menu:hover {
    color: var(--cor-cinza-asfalto);
}

.dropdown-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px) scale(0.95);
    position: absolute;
    top: 45px;
    left: 0;
    background-color: var(--cor-branco);
    min-width: 220px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    border-radius: 12px;
    overflow: hidden;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: top left;
}

.dropdown-menu.show-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.dropdown-menu .menu-link {
    display: block;
    padding: 12px 20px;
    color: var(--cor-cinza-asfalto);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.3s ease;
    border-bottom: 1px solid #f1f1f1;
    user-select: none;
    -webkit-user-select: none;
}

.dropdown-menu .menu-link:hover {
    background-color: var(--cor-fundo-claro);
    color: var(--cor-verde-vibrante);
}

.dropdown-socials {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 15px;
    background-color: var(--cor-fundo-claro);
}

.dropdown-socials a {
    color: var(--cor-cinza-asfalto);
    font-size: 1.2rem;
    transition: color 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.dropdown-socials a:hover {
    color: var(--cor-verde-vibrante);
    transform: scale(1.1);
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--cor-cinza-asfalto);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.right-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.wp-btn {
    background-color: var(--cor-branco);
    color: var(--cor-verde-vibrante);
    padding: 10px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.wp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
    background-color: var(--cor-cinza-asfalto);
    color: var(--cor-verde-vibrante);
}

/* HERO SECTION */
.hero {
    position: relative;
    min-height: 70vh;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    overflow: hidden;
    background-color: var(--cor-cinza-asfalto);
    color: var(--cor-branco);
    text-align: center;
}

.hero-slide {
    grid-column: 1 / -1;
    grid-row: 1 / -1;
    position: relative;
    width: 100%;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 80px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    transform: scale(1.05);
}

.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

@media (max-width: 768px) {
    .hero-slide {
        padding: 100px 0 60px;
    }
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,51,102,0.85) 0%, rgba(76,124,27,0.8) 100%);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 700;
}

.hero p {
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 40px;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    opacity: 1;
    line-height: 1.6;
}

.hero p .highlight {
    color: var(--cor-verde-vibrante);
    font-weight: 700;
}

.hero-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--cor-branco);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    opacity: 0;
    transition: all 0.3s ease;
}

.hero:hover .hero-nav-btn {
    opacity: 1;
}

.hero-nav-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.hero-nav-prev { left: 40px; }
.hero-nav-next { right: 40px; }

/* SOBRE A PYROGREEN */
.sobre {
    padding: 120px 0;
    background-color: var(--cor-branco);
}

.sobre-grid {
    display: flex;
    align-items: center;
    gap: 60px;
}

.sobre-texto { flex: 1; }
.sobre-texto .section-title { text-align: left; }
.sobre-texto p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--cor-texto-mutado);
    line-height: 1.8;
}

.sobre-imagem {
    flex: 1;
    background-color: var(--cor-fundo-claro);
    border-radius: 10px;
    padding: 60px 40px;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.sobre-imagem i {
    font-size: 9rem;
    color: var(--cor-verde-vibrante);
    opacity: 0.9;
}

.sobre-imagem h3 {
    margin-top: 25px;
    color: var(--cor-cinza-asfalto);
    font-size: 1.5rem;
}

/* COMO FUNCIONA (O PROCESSO DE PIRÓLISE) */
.processo {
    padding: 120px 0;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 60px auto 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 23px;
    right: 0;
    width: 100%;
    height: 4px;
    background-color: var(--cor-branco);
    border-radius: 4px;
    opacity: 0.3;
}

.timeline-item {
    position: relative;
    flex: 1;
    text-align: center;
    padding-top: 70px;
}

.timeline-item:last-child { margin-bottom: 0; }

.timeline-icon {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    width: 50px;
    height: 50px;
    background-color: var(--cor-branco);
    border: 4px solid var(--cor-verde-escuro);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--cor-verde-vibrante);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 10;
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-icon {
    background-color: var(--cor-cinza-asfalto);
    border-color: var(--cor-branco);
    color: var(--cor-branco);
    transform: translateX(-50%) scale(1.1);
}

.timeline-content {
    background: var(--cor-branco);
    padding: 30px 20px;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    text-align: center;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 0 10px 10px 10px;
    border-style: solid;
    border-color: transparent transparent var(--cor-branco) transparent;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.07);
}

.timeline-content h3 {
    color: var(--cor-cinza-asfalto);
    margin-bottom: 12px;
    font-size: 1.4rem;
}

.timeline-content p {
    color: var(--cor-texto-mutado);
    font-size: 1rem;
    line-height: 1.7;
}

.processo-card {
    border: 2px solid var(--cor-verde-vibrante);
    padding: 40px 30px;
    border-radius: 100px;
    background-color: var(--cor-verde-vibrante);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
}

.processo-card:hover {
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    border-color: transparent;
    transform: translateY(-5px);
}

.processo-card h3 {
    color: var(--cor-branco);
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight: 700;
}

.processo-card p {
    color: var(--cor-branco);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* NOSSOS PRODUTOS */
.produtos {
    padding: 120px 0;
    background-color: var(--cor-branco);
}

.produtos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.produto-card {
    border: 1px solid #eaeaea;
    padding: 40px 30px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    background-color: var(--cor-branco);
}

.produto-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--cor-verde-vibrante);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.produto-card:hover {
    box-shadow: 0 15px 30px rgba(0,0,0,0.07);
    border-color: transparent;
}

.produto-card:hover::before { transform: scaleX(1); }

.produto-card h3 {
    color: var(--cor-cinza-asfalto);
    margin-bottom: 15px;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.produto-card p {
    color: var(--cor-texto-mutado);
    font-size: 0.95rem;
}

/* FOOTER */
.footer-group-bar {
    background-color: var(--cor-azul-escuro);
    color: var(--cor-branco);
    padding: 10px 0;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-top-banner {
    background-color: var(--cor-branco);
    padding: 40px 0;
    margin-bottom: 0;
    border-bottom: 1px solid #eee;
}

.footer-top-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.footer-top-logo { flex: 0 0 auto; }
.footer-top-text {
    flex: 1;
    color: var(--cor-cinza-asfalto);
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.6;
    text-align: right;
    max-width: 600px;
}

footer {
    background-color: var(--cor-azul-escuro);
    color: var(--cor-branco);
    padding: 0 0 30px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-grid h4 {
    color: var(--cor-verde-vibrante);
    margin-bottom: 25px;
    font-size: 1.2rem;
    font-weight: 800;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 15px; }
.footer-links a {
    color: #b3c0cc;
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-links a:hover { color: var(--cor-branco); }

.footer-contato p {
    color: #b3c0cc;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-contato i { color: var(--cor-verde-vibrante); }

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.newsletter-form p {
    color: #b3c0cc;
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.newsletter-input {
    padding: 12px 15px;
    border-radius: 5px;
    border: 1px solid rgba(255,255,255,0.2);
    background-color: rgba(255,255,255,0.05);
    color: var(--cor-branco);
    font-size: 0.95rem;
    width: 100%;
    outline: none;
}

.newsletter-input:focus { border-color: var(--cor-verde-vibrante); }

.newsletter-btn {
    background-color: var(--cor-verde-vibrante);
    color: var(--cor-branco);
    font-weight: 700;
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.newsletter-btn:hover { background-color: #5a9120; }

.footer-socials {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--cor-branco);
    border-radius: 50%;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-socials a:hover {
    background-color: var(--cor-verde-vibrante);
    transform: translateY(-3px);
    color: var(--cor-branco);
}

.direitos {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

/* =========================================
 * MEDIA QUERIES
 * ========================================= */
@media (max-width: 992px) {
    .footer-top-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .footer-top-text { text-align: center; }
    .hero h1 { font-size: 2.8rem; }
    .sobre-grid { flex-direction: column; }
    .sobre-imagem { width: 100%; }
}

@media (max-width: 768px) {
    header {
        padding: 10px 0;
        border-bottom-left-radius: 30px;
        border-bottom-right-radius: 30px;
    }
    .nav-container {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
    }
    .left-menu-icon { justify-content: flex-start; }
    .right-actions { justify-content: flex-end; }
    .logo img { height: 32px !important; }
    .wp-btn { padding: 8px 12px; font-size: 0.8rem; }
    .wp-btn span { display: none; }
    .dropdown-menu {
        position: fixed;
        top: 60px;
        left: 20px;
        right: 20px;
        width: calc(100% - 40px);
        min-width: auto;
    }
    .hero h1 { font-size: 1.8rem; }
    .hero p { font-size: 0.95rem; padding: 0 10px; }
    .hero-nav-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
        opacity: 0.7;
    }
    .hero-nav-prev { left: 10px; }
    .hero-nav-next { right: 10px; }
    .section-title { font-size: 1.8rem; }
    .footer-top-text {
        font-size: 0.9rem;
        line-height: 1.5;
        font-weight: 500;
    }
    .footer-group-bar {
        font-size: 0.7rem;
        letter-spacing: 0.3px;
        padding: 8px 10px;
    }
    .sobre, .processo, .produtos { padding: 80px 0; }
    .timeline {
        flex-direction: column;
        gap: 50px;
        padding-left: 60px;
    }
    .timeline::before {
        right: auto;
        left: 23px;
        top: 0;
        bottom: 0;
        width: 4px;
        height: 100%;
    }
    .timeline-item {
        padding-top: 0;
        text-align: left;
        width: 100%;
    }
    .timeline-icon {
        left: -60px;
        top: 20px;
        transform: none;
    }
    .timeline-item:hover .timeline-icon { transform: scale(1.1); }
    .timeline-content {
        text-align: left;
        margin-left: 0;
    }
    .timeline-content::before {
        top: 35px;
        left: -10px;
        transform: none;
        border-width: 10px 10px 10px 0;
        border-style: solid;
        border-color: transparent var(--cor-branco) transparent transparent;
    }
    .footer-grid { gap: 30px; }
}

/* 
 * SCROLL REVEAL ANIMATIONS (Substituindo o Framer Motion)
 */
.scroll-reveal {
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.up { transform: translateY(50px); }
.scroll-reveal.down { transform: translateY(-50px); }
.scroll-reveal.left { transform: translateX(50px); }
.scroll-reveal.right { transform: translateX(-50px); }
.scroll-reveal.none { transform: none; }

.scroll-reveal.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* Custom classes replacing inline Framer Motion */
.tech-rings-spin {
    animation: spin 20s linear infinite;
}
.tech-rings-spin-reverse {
    animation: spin-reverse 15s linear infinite;
}
.pulse-glow {
    animation: pulse-glow 3s ease-in-out infinite;
}
.tech-node-float {
    animation: float 4s ease-in-out infinite;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}
@keyframes spin-reverse {
    100% { transform: rotate(-360deg); }
}
@keyframes pulse-glow {
    0%, 100% { 
        transform: scale(1);
        filter: drop-shadow(0 0 30px rgba(115,177,44,0.4));
    }
    50% { 
        transform: scale(1.05);
        filter: drop-shadow(0 0 60px rgba(115,177,44,0.8));
    }
}
@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.2; }
    50% { transform: translateY(-30px) scale(1.5); opacity: 0.8; }
}

/* Finished */
