/*
Theme Name: Axioma Planejamento Ambiental
Theme URI: https://axiomaambiental.com.br
Author: Axioma Planejamento Ambiental
Author URI: https://axiomaambiental.com.br
Description: Tema oficial da Axioma Planejamento Ambiental — Gestão Ambiental Inteligente para empresas e produtores rurais em Minas Gerais. Design premium com identidade visual oficial da marca.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.5
License: Proprietary
Text Domain: axioma-wp
Tags: one-page, landing-page, environmental, dark-mode
*/

:root {
    /* =============================================
       PALETA OFICIAL — Axioma Planejamento Ambiental
       Identidade Visual Julho/2025
    ============================================= */

    /* Cores base oficiais */
    --navy:        #0C284F;
    --navy-dark:   #081A35;
    --navy-card:   #0E3060;

    --green-lime:  #66F077;
    --green-teal:  #057974;

    /* Gradiente oficial da marca */
    --gradient-brand: linear-gradient(135deg, var(--green-lime), var(--green-teal));
    --gradient-brand-rev: linear-gradient(135deg, var(--green-teal), var(--green-lime));

    /* Superfícies */
    --bg-dark:    var(--navy-dark);
    --bg-card:    rgba(12, 40, 79, 0.7);
    --bg-glass:   rgba(12, 40, 79, 0.35);
    --border-glass: rgba(102, 240, 119, 0.12);

    /* Aliases */
    --primary:         var(--green-lime);
    --primary-glow:    rgba(102, 240, 119, 0.25);
    --secondary:       var(--green-teal);
    --secondary-glow:  rgba(5, 121, 116, 0.35);

    /* Texto */
    --text-main:  #EEF4FF;
    --text-muted: #8BA8C8;

    /* Tipografia */
    --font-main: 'Outfit', sans-serif;

    /* Layout */
    --max-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* WordPress default resets */
img { max-width: 100%; height: auto; }
a { text-decoration: none; }

/* Utilities */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h1, h2, h3, h4 {
    line-height: 1.2;
    font-weight: 700;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-primary-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--navy-dark);
}
.btn-primary-sm:hover {
    box-shadow: 0 0 15px var(--secondary-glow);
    transform: translateY(-2px);
    color: var(--navy-dark);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--navy-dark);
    box-shadow: 0 4px 15px var(--primary-glow);
}
.btn-primary:hover {
    box-shadow: 0 8px 25px var(--secondary-glow);
    transform: translateY(-3px);
    color: var(--navy-dark);
}

.btn-secondary {
    background: var(--bg-glass);
    color: var(--text-main);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(10px);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    color: var(--text-main);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    padding: 1.5rem 0;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(8, 26, 53, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-glass);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--text-main);
}
.site-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a:not(.btn-primary-sm) {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}
.nav-links a:not(.btn-primary-sm):hover {
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 4rem;
    overflow: hidden;
    background: linear-gradient(rgba(8, 26, 53, 0.88), rgba(8, 26, 53, 0.97)), url('assets/img/hero_bg.jpg') center/cover no-repeat;
}

.hero-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    opacity: 0.4;
    z-index: -1;
    filter: blur(80px);
    animation: pulse 8s infinite alternate;
}

@keyframes pulse {
    0%   { transform: translate(-50%, -50%) scale(1);   opacity: 0.3; }
    100% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.6; }
}

.hero-content {
    max-width: 900px;
    text-align: center;
    z-index: 10;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 3rem;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

/* Stats */
.stats-container {
    display: flex;
    justify-content: center;
    gap: 3rem;
    border-top: 1px solid var(--border-glass);
    padding-top: 3rem;
}

.stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 2.5rem;
    color: var(--text-main);
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Sections Global */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.section-subtitle {
    color: var(--text-muted);
    font-size: 1.125rem;
    max-width: 600px;
}
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* About Section */
.about {
    padding: 6rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.check-list {
    list-style: none;
    margin-top: 2rem;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-main);
    font-weight: 500;
}
.check-list i { color: var(--primary); }

.about-image-wrapper {
    position: relative;
    height: 100%;
    min-height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-real-img {
    width: 100%;
    max-width: 500px;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    position: relative;
    z-index: 1;
    border: 1px solid var(--border-glass);
}

.about-glass {
    position: absolute;
    bottom: -30px;
    right: -20px;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: 20px;
    z-index: 2;
    box-shadow: 0 15px 30px rgba(0,0,0,0.6);
    text-align: center;
    max-width: 250px;
}

.giant-icon {
    width: 48px;
    height: 48px;
    color: var(--primary);
    margin-bottom: 1rem;
}

/* Services */
.services {
    padding: 6rem 0;
    background: linear-gradient(to bottom, transparent, rgba(12, 40, 79, 0.35), transparent);
}

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

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px var(--primary-glow);
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(102, 240, 119, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
    transition: all 0.3s ease;
}

.service-card:hover .icon-wrapper {
    background: var(--primary);
    color: var(--navy-dark);
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}
.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Footer */
.footer {
    padding: 6rem 0 2rem;
    border-top: 1px solid rgba(102, 240, 119, 0.15);
    background: var(--navy-dark);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    color: var(--text-muted);
    margin: 1.5rem 0;
    max-width: 400px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-glass);
    color: var(--text-main);
    border: 1px solid var(--border-glass);
    transition: all 0.3s ease;
}
.social-links a.linkedin:hover {
    background: #0077b5;
    color: #fff;
    border-color: #0077b5;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 119, 181, 0.4);
}
.social-links a.instagram:hover {
    background: #E1306C;
    color: #fff;
    border-color: #E1306C;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(225, 48, 108, 0.4);
}

.footer-contact h3 { margin-bottom: 1.5rem; }

.contact-list { list-style: none; }
.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
}
.contact-list i {
    color: var(--primary);
    flex-shrink: 0;
}
.contact-list a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
    line-height: 1.3;
}
.contact-list a:hover { color: var(--primary); }

.footer-bottom {
    text-align: center;
    color: rgba(139, 168, 200, 0.5);
    font-size: 0.875rem;
}

/* WhatsApp Floater */
.whatsapp-floater {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
}
.whatsapp-floater:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
    color: white;
}
.whatsapp-floater i {
    width: 30px;
    height: 30px;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }
    .hero-actions { flex-direction: column; }
    .stats-container { flex-direction: column; gap: 2rem; }
    .about-grid, .footer-grid { grid-template-columns: 1fr; }
    .about-image-wrapper { min-height: 300px; }
    .about-glass { position: relative; bottom: auto; right: auto; margin-top: 1rem; max-width: 100%; }
}
