:root {
    --primary-blue: #24607B;
    /* Official Brand Blue */
    --accent-blue: #65B1D2;
    /* Official Brand Accent Blue */
    --sustainable-green: #277955;
    /* Official Brand Green */
    --accent-green: #27AE60;
    --bg-dark: #0D1B2A;
    /* Deep Navy Background */
    --bg-card: #1B263B;
    /* Slightly lighter for cards */
    --text-primary: #E0E6ED;
    /* Light gray for high readability */
    --text-secondary: #B0BCC7;
    --white: #FFFFFF;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.2rem 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(13, 27, 42, 0.85);
    backdrop-filter: blur(15px);
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo img {
    height: 45px;
    width: auto;
}

.logo span {
    display: none;
    /* Hide placeholder text */
}

.menu-toggle {
    display: none;
    color: var(--white);
    cursor: pointer;
    font-size: 1.5rem;
}

.menu-toggle:hover {
    color: var(--accent-blue);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

nav a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    opacity: 0.8;
}

nav a:hover {
    color: var(--accent-blue);
    opacity: 1;
}

/* Hero Section */
.hero {
    height: 100vh;
    padding: 0 8%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: radial-gradient(circle at 10% 20%, rgba(36, 96, 123, 0.1) 0%, rgba(13, 27, 42, 1) 90.2%);
    padding-top: 80px;
    overflow: hidden;
}

.hero-content {
    max-width: 600px;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero-content h1 span {
    color: var(--accent-blue);
}

.hero-content p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.hero-btns {
    display: flex;
    gap: 1.2rem;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--sustainable-green);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-blue);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(36, 96, 123, 0.2);
}

.btn-secondary {
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-3px);
}

.hero-image {
    width: 48%;
    height: 65vh;
    background: linear-gradient(rgba(13, 27, 42, 0.4), rgba(13, 27, 42, 0.4)),
        url('../img/servico_pmoc.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 30px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Services Section */
.services {
    padding: 100px 8%;
    background-color: #0b1520;
    /* Darker variant */
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.8rem;
    color: var(--white);
    margin-bottom: 1rem;
}

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

.service-card {
    background: var(--bg-card);
    padding: 3.5rem 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-12px);
    border-color: var(--accent-blue);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.service-card i {
    font-size: 3.5rem;
    color: var(--accent-blue);
    margin-bottom: 2rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--white);
    font-size: 1.4rem;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 160px;
    right: 30px;
    background: #25D366;
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition);
}

.whatsapp-btn:hover {
    transform: scale(1.05);
}

/* About Section */
/* Foz Sustentável Structured Highlight */
.foz-highlight {
    padding: 80px 8%;
    background: linear-gradient(135deg, #F0F4F8 0%, #FFFFFF 100%);
    color: #1a2a3a;
}

.foz-highlight .foz-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

/* Sub-bloco 1: Intro */
.foz-header {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 2rem;
}

.foz-logo-area {
    flex: 0 0 250px;
    background: #FFFFFF;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.foz-logo-area img {
    width: 100%;
    height: auto;
}

.foz-title-group h2 {
    font-size: 2.2rem;
    color: #0D1B2A;
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 800;
}

.foz-title-group p {
    font-size: 1.1rem;
    color: #4A5568;
    max-width: 800px;
}

.foz-main-features {
    display: flex;
    gap: 2rem;
    list-style: none;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.foz-main-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    color: #2D3748;
}

.foz-main-features i {
    color: #0098DA;
}

/* Sub-sections common */
.foz-sub-section h3 {
    font-size: 1.5rem;
    color: #0D1B2A;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-desc {
    color: #4A5568;
    margin-bottom: 2rem;
    max-width: 900px;
}

/* Methodology Grid */
.methodology-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.method-step {
    background: rgba(0, 152, 218, 0.03);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 152, 218, 0.1);
}

.step-num {
    display: block;
    font-size: 0.8rem;
    font-weight: 800;
    color: #0098DA;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.method-step h4 {
    color: #1a2a3a;
    margin-bottom: 0.8rem;
}

.method-step p {
    font-size: 0.9rem;
    color: #4A5568;
}

/* Audience Grid */
.audience-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.audience-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    background: #FFFFFF;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    text-align: center;
}

.audience-item i {
    color: #0098DA;
    width: 32px;
    height: 32px;
}

.audience-item span {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2D3748;
}

/* Foz Footer */
.foz-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 2px solid #F0F4F8;
    gap: 3rem;
}

.foz-results p {
    font-size: 1.05rem;
    color: #2D3748;
}

.foz-results strong {
    color: #0098DA;
}

.btn-foz {
    background: #0098DA;
    color: #FFFFFF;
    padding: 1rem 2rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 10px;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-foz:hover {
    background: #0077B3;
    transform: translateY(-3px);
}

@media (max-width: 992px) {
    .foz-header {
        flex-direction: column;
        text-align: center;
    }

    .methodology-grid {
        grid-template-columns: 1fr;
    }

    .audience-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .foz-footer {
        flex-direction: column;
        text-align: center;
    }

    .foz-main-features {
        flex-direction: column;
        gap: 1rem;
    }
}

.about {
    padding: 100px 8%;
    display: flex;
    align-items: center;
    gap: 5rem;
    background: var(--bg-dark);
}

.about-content {
    flex: 1;
}

.about-content h2 {
    font-size: 2.8rem;
    color: var(--white);
    margin-bottom: 1.8rem;
}

.about-content p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.about-stats {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
}

.stat-item h4 {
    font-size: 2.5rem;
    color: var(--accent-blue);
    font-weight: 800;
}

.stat-item p {
    font-size: 0.9rem;
    font-weight: 600;
}

.about-image {
    flex: 1;
    height: 500px;
    background: url('https://images.unsplash.com/photo-1541888946425-d81bb19240f5?ixlib=rb-1.2.1&auto=format&fit=crop&w=1000&q=80');
    background-size: cover;
    background-position: center;
    border-radius: 20px;
}

/* Contact Section */
.contact {
    padding: 100px 8%;
    background-color: #0d1b2a;
    color: var(--white);
    display: flex;
    gap: 5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-info {
    flex: 1;
}

.contact-info h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: var(--white);
}

.contact-details {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item i {
    color: var(--accent-blue);
    font-size: 1.5rem;
}

.contact-form {
    flex: 1.2;
    background: var(--bg-card);
    padding: 4rem;
    border-radius: 24px;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.form-group-row {
    display: flex;
    gap: 1.5rem;
}

.form-group-row .form-group {
    flex: 1;
}

@media (max-width: 600px) {
    .form-group-row {
        flex-direction: column;
        gap: 0;
    }
}

.form-group label {
    display: block;
    margin-bottom: 0.6rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    background: rgba(13, 27, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-size: 1rem;
    color: var(--white);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-blue);
    outline: none;
    background: rgba(13, 27, 42, 0.8);
}

/* Footer */
footer {
    padding: 50px 8%;
    background: #00152b;
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    gap: 2rem;
}

.footer-logo img {
    height: 45px;
    width: auto;
    display: block;
}

.footer-copyright {
    font-size: 0.9rem;
    opacity: 0.8;
    text-align: center;
}

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

.social-links a {
    color: var(--white);
    font-size: 1.5rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--accent-green);
}

@media (max-width: 992px) {

    /* Header & Nav */
    .menu-toggle {
        display: block;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(13, 27, 42, 0.98);
        padding: 2rem;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: 0.5s ease-in-out;
    }

    nav.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    nav ul {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    nav a {
        font-size: 1.2rem;
        display: block;
    }

    /* Hero */
    .hero {
        flex-direction: column;
        text-align: center;
        height: auto;
        padding-top: 130px;
        padding-bottom: 60px;
    }

    .hero-image {
        width: 100%;
        margin-top: 40px;
        height: 350px;
    }

    .hero-btns {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    /* Sections */
    .services,
    .about,
    .contact,
    .foz-highlight {
        padding: 60px 8%;
    }

    .about,
    .contact {
        flex-direction: column;
        gap: 3rem;
    }

    .about-image {
        height: 300px;
        order: -1;
    }

    /* Contact Form on Mobile */
    .contact-form {
        padding: 2rem;
    }

    /* Footer */
    footer {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
        padding: 40px 8% 100px 8%;
        /* Extra padding bottom for WhatsApp btn */
    }

    /* Floating Button */
    .whatsapp-btn {
        bottom: 20px;
        right: 20px;
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-btns {
        flex-direction: column;
    }

    .section-header h2,
    .about-content h2,
    .contact-info h2 {
        font-size: 2rem;
    }
}

/* ============================================================ 
   SCROLL REVEAL ANIMATIONS 
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 1.2s cubic-bezier(0.5, 0, 0, 1),
        transform 1.2s cubic-bezier(0.5, 0, 0, 1);
    will-change: opacity, transform;
}

.reveal.active {
    opacity: 1;
    transform: translateX(0);
}

/* Staggered Delay Utilities */
.delay-100 {
    transition-delay: 100ms;
}

.delay-200 {
    transition-delay: 200ms;
}

.delay-300 {
    transition-delay: 300ms;
}

.delay-400 {
    transition-delay: 400ms;
}