/* Reset & CSS Variables (Light Theme with Navy Blue & Gold Accents) */
:root {
    --bg-light: #ffffff;
    --bg-section-alt: #f8fafc;
    --bg-card: #ffffff;
    --bg-card-hover: #f1f5f9;
    --primary: #0f1c30; /* Dark Navy Blue */
    --primary-light: #1e3a60;
    --accent: #aa8c2c; /* Gold/Bronze */
    --accent-light: #d4af37;
    --accent-ultra-light: #fdfaf2;
    --text-main: #1e293b; /* Dark text for contrast on light background */
    --text-muted: #57657a;
    --border-color: rgba(15, 28, 48, 0.1);
    --border-hover: rgba(170, 140, 44, 0.4);
    --shadow: 0 10px 30px rgba(15, 28, 48, 0.05);
    --shadow-hover: 0 15px 40px rgba(15, 28, 48, 0.1);
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Outfit', sans-serif;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

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

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

/* Glassmorphism/Card Style Utility for Light Theme */
.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.glass-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(170, 140, 44, 0.04), transparent 70%);
    pointer-events: none;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-body);
}

.btn-primary {
    background: var(--primary);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(15, 28, 48, 0.2);
}

.btn-primary:hover {
    background: var(--primary-light);
    box-shadow: 0 6px 20px rgba(15, 28, 48, 0.35);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-secondary:hover {
    background: rgba(15, 28, 48, 0.05);
    transform: translateY(-2px);
}

.btn-header {
    background: rgba(15, 28, 48, 0.03);
    color: var(--primary);
    border: 1px solid var(--primary);
    padding: 8px 18px;
    font-size: 14px;
}

.btn-header:hover {
    background: var(--primary);
    color: #ffffff;
}

.btn-block {
    width: 100%;
    display: flex;
}

/* Header & Nav */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(15, 28, 48, 0.08);
    padding: 12px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 52px;
    width: auto;
    object-fit: contain;
    border-radius: 4px;
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-menu a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    font-size: 15px;
}

.nav-menu a:hover {
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 160px 0 100px 0;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 80% 20%, rgba(15, 28, 48, 0.03), transparent 60%), var(--bg-light);
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 44px;
    line-height: 1.25;
    margin-bottom: 24px;
    font-weight: 700;
    color: var(--primary);
}

.hero-content h1 span {
    color: var(--primary);
    border-bottom: 3px solid var(--accent); /* Elegant gold underline accent */
    padding-bottom: 2px;
}

.hero-content p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 600px;
}

.badge-tradicao {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-ultra-light);
    color: var(--accent);
    border: 1px solid rgba(170, 140, 44, 0.2);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.hero-metrics {
    display: flex;
    gap: 40px;
    border-top: 1px solid rgba(15, 28, 48, 0.08);
    padding-top: 24px;
}

.metric-item h3 {
    font-size: 26px;
    color: var(--primary);
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 4px;
}

.metric-item p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.3;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-visual-card {
    width: 100%;
    max-width: 380px;
    padding: 40px 30px;
    background: #ffffff;
    border-top: 4px solid var(--primary); /* Blue primary top border */
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(15, 28, 48, 0.08);
}

.card-title-pj {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--primary);
    margin-bottom: 24px;
    text-align: center;
}

.card-services-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
    text-align: left;
}

.card-services-list li {
    font-size: 15px;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
}

.check-icon {
    color: var(--accent); /* Gold check icon */
    font-weight: bold;
    font-size: 16px;
}

.card-footer-highlight {
    text-align: center;
    border-top: 1px solid rgba(15, 28, 48, 0.08);
    padding-top: 20px;
}

.card-footer-highlight .patient-text {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.card-footer-highlight .company-text {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}

/* Pain Points Section */
.pain-points {
    padding: 100px 0;
    background-color: var(--bg-section-alt);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 36px;
    margin-bottom: 16px;
    color: var(--primary);
}

.section-header p {
    color: var(--text-muted);
    font-size: 16px;
}

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

.pain-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.pain-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.icon-box {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(15, 28, 48, 0.05);
    color: var(--primary); /* Main blue icon box */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 24px;
    border-bottom: 2px solid var(--accent); /* Gold detail */
}

.pain-card h3 {
    font-size: 20px;
    margin-bottom: 16px;
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--primary);
}

.pain-card p {
    color: var(--text-muted);
    font-size: 15px;
}

.highlight-sentence {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent);
    margin-top: 12px;
    border-top: 1px solid rgba(15, 28, 48, 0.05);
    padding-top: 12px;
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

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

.service-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.service-item:hover {
    border-color: var(--border-hover);
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.service-item i {
    font-size: 40px;
    color: var(--primary); /* Blue for icons */
    margin-bottom: 24px;
}

.service-item h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--primary);
}

.service-item p {
    color: var(--text-muted);
    font-size: 14px;
}

/* Tax Engineering Section */
.tax-engineering-section {
    padding: 100px 0;
    background-color: var(--bg-section-alt);
}

.tax-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.tax-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px 24px;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.tax-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.tax-card.gold-border {
    border: 1px solid var(--accent);
    box-shadow: 0 10px 25px rgba(170, 140, 44, 0.08);
}

.tax-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    background: rgba(15, 28, 48, 0.05);
    color: var(--primary);
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.tax-badge.gold-bg {
    background: var(--accent);
    color: #ffffff;
}

.tax-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--primary);
    font-family: var(--font-body);
}

.tax-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.5;
}

.tax-details-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 50px;
    margin-top: 40px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.tax-detail-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tax-detail-column .icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(15, 28, 48, 0.05);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.tax-detail-column .icon-circle.gold-icon {
    background: var(--accent-ultra-light);
    color: var(--accent);
    border: 1px solid rgba(170, 140, 44, 0.1);
}

.tax-detail-column h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--primary);
}

.tax-detail-column p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
}

.highlight-column {
    background: var(--accent-ultra-light);
    padding: 30px;
    border-radius: 12px;
    border: 1px dashed rgba(170, 140, 44, 0.3);
}

/* BPO Section */
.bpo-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.bpo-wrapper {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 0;
    overflow: hidden;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.bpo-content {
    padding: 60px;
}

.badge-accent {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--accent-ultra-light);
    color: var(--accent);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.bpo-content h2 {
    font-family: var(--font-heading);
    font-size: 36px;
    margin-bottom: 16px;
    color: var(--primary);
}

.bpo-content p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.bpo-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bpo-feat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
}

.bpo-feat-item i {
    color: var(--accent); /* Gold check details */
    font-size: 18px;
}

.bpo-display {
    background: rgba(15, 28, 48, 0.02);
    border-left: 1px solid var(--border-color);
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.bpo-display h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    margin-bottom: 6px;
    color: var(--primary);
}

.bpo-display p {
    color: var(--text-muted);
    font-size: 14px;
}

.bpo-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.bpo-tags span {
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 13px;
    color: var(--text-main);
    transition: var(--transition);
}

.bpo-tags span:hover {
    background: var(--accent-ultra-light);
    border-color: var(--accent);
}

/* Reports Section */
.reports-section {
    padding: 100px 0;
    background-color: var(--bg-section-alt);
}

.reports-wrapper {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.reports-visual {
    display: flex;
    justify-content: center;
}

.report-card {
    width: 100%;
    max-width: 400px;
    padding: 40px 30px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.report-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(15, 28, 48, 0.08);
    padding-bottom: 16px;
}

.report-header i {
    font-size: 32px;
    color: var(--primary);
}

.report-header h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--primary);
}

.report-metrics-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.report-metrics-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: var(--text-muted);
}

.report-metrics-list li i.fa-check {
    color: #48bb78;
}

.report-metrics-list li i:not(.fa-check) {
    color: var(--accent);
    margin-right: 8px;
}

.reports-content h2 {
    font-family: var(--font-heading);
    font-size: 36px;
    margin-bottom: 24px;
    color: var(--primary);
}

.reports-content p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* History Section */
.history-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.history-container {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.history-image {
    display: flex;
    justify-content: center;
}

.history-badge-card {
    width: 100%;
    max-width: 320px;
    padding: 60px 40px;
    text-align: center;
    border-top: 4px solid var(--primary);
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: #ffffff;
    box-shadow: var(--shadow);
}

.history-badge-card i {
    font-size: 60px;
    color: var(--accent);
    margin-bottom: 20px;
}

.history-badge-card h2 {
    font-family: var(--font-heading);
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 8px;
}

.history-badge-card p {
    font-size: 14px;
    color: var(--text-muted);
}

.history-content h2 {
    font-family: var(--font-heading);
    font-size: 36px;
    margin-bottom: 24px;
    line-height: 1.3;
    color: var(--primary);
}

.history-content p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 16px;
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background-color: var(--bg-section-alt);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.faq-item:hover {
    border-color: var(--border-hover);
}

.faq-question {
    width: 100%;
    padding: 24px;
    background: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    color: var(--primary);
    font-size: 16px;
    font-weight: 600;
    font-family: var(--font-body);
}

.faq-question i {
    color: var(--accent);
    transition: var(--transition);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 24px;
}

.faq-answer p {
    padding-bottom: 24px;
    color: var(--text-muted);
    font-size: 15px;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* Footer */
.footer {
    background-color: var(--primary);
    padding: 80px 0 30px 0;
    color: #ffffff;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
}

.logo-footer {
    height: 48px;
    width: auto;
    margin-bottom: 20px;
    border-radius: 4px;
    filter: brightness(0) invert(1); /* Forces logo to be white on dark footer background */
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-links h4, .footer-contact h4 {
    color: #ffffff;
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

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

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact p i {
    color: var(--accent);
}

.tradition-footer {
    margin-top: 20px;
    font-weight: 600;
    color: var(--accent) !important;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
}

/* Responsiveness */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-content h1 {
        font-size: 34px;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .tax-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .tax-details-wrapper {
        grid-template-columns: 1fr;
        padding: 30px;
    }
    
    .bpo-wrapper {
        grid-template-columns: 1fr;
    }
    
    .bpo-display {
        border-left: none;
        border-top: 1px solid var(--border-color);
        padding: 40px;
    }
    
    .reports-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .reports-visual {
        order: 1;
    }
    
    .history-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 16px 0;
        background-color: #ffffff;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        border-bottom: 1px solid var(--border-color);
        padding: 24px;
        flex-direction: column;
        gap: 16px;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .btn-header {
        display: none;
    }
    
    .tax-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}
