:root {
    --primary-color: #0d2551;
    /* Royal Blue */
    --primary-dark: #071633;
    --secondary-color: #d4af37;
    /* Gold */
    --secondary-hover: #b5952f;
    --text-color: #333333;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 10px 25px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
    --transition: all 0.3s ease;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 20px;
    /* Increased font size again */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px;
}

.section-title h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

.section-title p {
    font-size: 1.2rem;
    color: var(--text-light);
}

.bg-light {
    background-color: var(--bg-light);
}

.mt-4 {
    margin-top: 2rem;
}

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 36px;
    border-radius: 8px;
    /* Less rounded for more corporate feel */
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* Subtler shadow */
    border: 2px solid var(--secondary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-hover);
    border-color: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Pulse animation removed for cleaner look */

/* Header */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: 100px;
    /* Increased height for bigger logo/fonts */
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo a {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -1px;
    display: block;
}

.navbar .nav-links {
    display: flex;
    gap: 25px;
    align-items: center;
    /* Ensures vertical centering */
}

.nav-links li a:not(.btn-primary) {
    font-weight: 500;
    font-size: 1.1rem;
    color: var(--text-color);
    position: relative;
}

.nav-links li a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.nav-links li a:not(.btn-primary)::hover::after {
    width: 100%;
}

/* Button inside nav special handling */
.desktop-only-btn {
    margin-left: 20px;
}

.hamburger {
    display: none;
    font-size: 2rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* Mobile Menu */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background-color: rgba(13, 37, 81, 0.98);
    z-index: 2000;
    transition: 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.mobile-menu-overlay.active {
    right: 0;
}

.close-menu {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 2.5rem;
    color: var(--white);
    cursor: pointer;
}

.mobile-nav-links {
    text-align: center;
}

.mobile-nav-links li {
    margin: 25px 0;
}

.mobile-nav-links a {
    font-size: 1.8rem;
    color: var(--white);
    font-weight: 600;
}

/* Hero Section */
.hero {
    margin-top: 100px;
    /* Adjusted for header height */
    background: linear-gradient(to right, var(--primary-color), var(--primary-dark));
    color: var(--white);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-content {
    flex: 1;
    z-index: 10;
}

.hero-content h1 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    position: relative;
}

.hero-image img {
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border: 5px solid rgba(255, 255, 255, 0.1);
}

/* Benefits Section */
.benefits-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
}

.benefit-card {
    flex: 0 1 300px;
    /* Allows cards to be flexible but maintain a base width around 300px */
    width: 300px;
    /* Fallback */
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-bottom-color: var(--secondary-color);
}

.icon-box {
    width: 70px;
    height: 70px;
    background-color: rgba(212, 175, 55, 0.1);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
}

.benefit-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.benefit-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.benefits-image-wrapper {
    margin: 40px auto;
    max-width: 800px;
    text-align: center;
}

.benefits-image-wrapper img {
    border-radius: 12px;
    box-shadow: var(--shadow);
}

/* Audience Section */
.audience-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
}

.audience-content {
    flex: 1;
}

.audience-image {
    flex: 1;
}

.audience-image img {
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.audience-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.audience-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: var(--white);
    padding: 15px 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.audience-list li i {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-top: 4px;
}

.audience-list li strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.audience-list li p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

/* Steps Section */
.steps-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 50px;
}

.step-card {
    text-align: center;
    flex: 1;
    background: var(--white);
    padding: 30px 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    position: relative;
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    border: 3px solid var(--white);
}

.step-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin: 20px 0 15px;
}

.step-separator {
    color: #ddd;
    font-size: 1.5rem;
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: var(--primary-color);
    transition: background 0.2s;
}

.faq-question:hover {
    background-color: rgba(212, 175, 55, 0.05);
}

.faq-question i {
    color: var(--secondary-color);
    transition: transform 0.3s;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #fcfcfc;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 200px;
    /* Approximate max height */
}

/* Security */
.security-container {
    display: flex;
    align-items: center;
    background-color: var(--primary-color);
    border-radius: 20px;
    padding: 50px;
    color: var(--white);
    gap: 40px;
}

.security-text {
    flex: 2;
}

.security-text h2 {
    color: var(--secondary-color);
}

.security-text p {
    color: #e0e0e0;
    margin-bottom: 25px;
}

.commitments {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.commitment-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.commitment-item i {
    color: var(--secondary-color);
}

.security-icon {
    flex: 1;
    text-align: center;
}

.security-big-icon {
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.1);
}

/* Partners Section */
#parceiros {
    background-color: #ffffff;
    padding-bottom: 60px;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* Force 4 columns */
    gap: 40px;
    align-items: center;
    justify-items: center;
    margin-top: 40px;
}

.partner-item {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 80px;
}

.partner-item img {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
    /* Removed opacity and grayscale to ensure logos are fully visible */
    transition: transform 0.3s ease;
}

.partner-item img:hover {
    transform: scale(1.05);
}

/* Footer */
footer {
    background-color: #071633;
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo h3 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 10px;
}

.footer-logo p {
    max-width: 300px;
    color: #aaa;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
    color: var(--white);
}

.social-links a:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.footer-contact h4 {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: #ddd;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    color: #777;
    font-size: 0.9rem;
}

.center-btn {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

/* Responsive */
@media (max-width: 992px) {
    .section-title h2 {
        font-size: 2rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-container {
        flex-direction: column-reverse;
        text-align: center;
        gap: 30px;
    }

    .hero-btns {
        justify-content: center;
    }

    .audience-wrapper {
        flex-direction: column;
    }

    .steps-container {
        flex-direction: column;
    }

    .step-separator {
        transform: rotate(90deg);
        margin: 10px 0;
    }

    .security-container {
        flex-direction: column;
        padding: 30px;
    }

    .commitments {
        grid-template-columns: 1fr;
    }

    .desktop-only,
    .desktop-only-btn {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .navbar .nav-links {
        display: none;
    }
}

@media (max-width: 576px) {
    .section-title h2 {
        font-size: 1.8rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .hero-btns {
        flex-direction: column;
    }

    .section {
        padding: 50px 0;
    }

    .footer-container {
        flex-direction: column;
        gap: 30px;
    }
}