/* ============================================
   DADOS EXATOS CONTABILIDADE - STYLESHEET
   Design System: Professional, Educational, Trustworthy
   ============================================ */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    line-height: 1.6;
    color: #2C3E50;
    background-color: #FFFFFF;
}

/* ============================================
   COLOR PALETTE
   ============================================ */
:root {
    --primary: #1E3A5F;
    --primary-light: #E8F0F8;
    --accent: #2D7A4A;
    --text-dark: #2C3E50;
    --text-light: #7F8C8D;
    --bg-light: #F5F7FA;
    --bg-white: #FFFFFF;
    --border-color: #E8F0F8;
    --shadow-light: 0 2px 8px rgba(30, 58, 95, 0.08);
    --shadow-medium: 0 4px 16px rgba(30, 58, 95, 0.12);
    --shadow-strong: 0 8px 24px rgba(30, 58, 95, 0.16);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: Georgia, serif;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 1rem;
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
}

h4 {
    font-size: 1.25rem;
    color: var(--text-dark);
}

p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* ============================================
   CONTAINER AND LAYOUT
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-light);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    flex-shrink: 0;
}

.logo-img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

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

.cta-nav {
    background-color: var(--primary);
    color: white !important;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.cta-nav:hover {
    background-color: var(--accent);
    color: white !important;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    background-color: var(--bg-white);
    padding: 1rem;
    gap: 1rem;
    box-shadow: var(--shadow-light);
}

.mobile-link {
    color: var(--text-dark);
    padding: 0.75rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.mobile-link:hover {
    background-color: var(--primary-light);
}

.cta-mobile {
    background-color: var(--primary);
    color: white !important;
    text-align: center;
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .mobile-menu.active {
        display: flex;
    }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.85) 0%, rgba(45, 122, 74, 0.75) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    padding: 2rem;
}

.hero-title {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: white;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #E8F0F8;
    font-family: Georgia, serif;
    font-weight: normal;
}

.hero-description {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
}

@media (max-width: 768px) {
    .hero {
        min-height: 400px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-description {
        font-size: 1rem;
    }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
}

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

.btn-primary:hover {
    background-color: var(--accent);
    box-shadow: var(--shadow-medium);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

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

/* ============================================
   SECTIONS
   ============================================ */
.section {
    padding: 5rem 0;
}

.section-light {
    background-color: var(--bg-light);
}

.section-title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary);
}

.section-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .section {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 1.8rem;
    }
}

/* ============================================
   RISK CARDS
   ============================================ */
.risks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.risk-card {
    background-color: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary);
}

.risk-card:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-4px);
}

.risk-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.risk-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.risk-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ============================================
   PILLARS SECTION
   ============================================ */
.pillars-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.pillar {
    background-color: var(--primary-light);
    padding: 2rem;
    border-radius: 12px;
    border-top: 4px solid var(--primary);
}

.pillar h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.pillar p {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.pillar-list {
    list-style: none;
    padding-left: 0;
}

.pillar-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-dark);
}

.pillar-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

/* ============================================
   EXAMPLE BOX
   ============================================ */
.example-box {
    background-color: var(--primary-light);
    padding: 2rem;
    border-radius: 12px;
    margin-top: 3rem;
    border-left: 4px solid var(--accent);
}

.example-box h4 {
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.example-table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
}

.example-table tr {
    border-bottom: 1px solid var(--border-color);
}

.example-table td {
    padding: 1rem;
    text-align: left;
}

.example-table .value {
    text-align: right;
    font-weight: 600;
    color: var(--primary);
}

.example-table .highlight {
    background-color: var(--primary-light);
    font-weight: 600;
}

.example-table .final {
    background-color: var(--accent);
    color: white;
}

.example-table .final .value {
    color: white;
}

/* ============================================
   REGIMES SECTION
   ============================================ */
.regimes-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.regime-card {
    background-color: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    border-top: 4px solid var(--primary);
}

.regime-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.regime-header {
    margin-bottom: 1rem;
}

.badge {
    display: inline-block;
    background-color: var(--accent);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.regime-card p {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.regime-pros,
.regime-cons {
    margin-top: 1.5rem;
}

.regime-pros h4,
.regime-cons h4 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.regime-pros h4 {
    color: var(--accent);
}

.regime-cons h4 {
    color: #E74C3C;
}

.regime-pros ul,
.regime-cons ul {
    list-style: none;
    padding-left: 0;
}

.regime-pros li,
.regime-cons li {
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.95rem;
    color: var(--text-light);
}

.regime-pros li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.regime-cons li:before {
    content: "✗";
    position: absolute;
    left: 0;
    color: #E74C3C;
    font-weight: bold;
}

/* ============================================
   COMPARISON BOX
   ============================================ */
.comparison-box {
    background-color: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    margin-top: 2rem;
    border-left: 4px solid var(--accent);
}

.comparison-box h4 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
}

.comparison-table th {
    background-color: var(--primary);
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.comparison-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table tr:nth-child(even) {
    background-color: var(--bg-light);
}

.comparison-table tr.highlight {
    background-color: var(--primary-light);
    font-weight: 600;
}

.comparison-table .note {
    margin-top: 1rem;
    padding: 1rem;
    background-color: var(--primary-light);
    border-left: 4px solid var(--accent);
    border-radius: 4px;
    color: var(--text-dark);
}

/* ============================================
   RECOVERY BOX
   ============================================ */
.recovery-box {
    background-color: var(--primary-light);
    padding: 2rem;
    border-radius: 12px;
    margin-top: 2rem;
    border-left: 4px solid var(--accent);
}

.recovery-box h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.recovery-list {
    list-style: none;
    padding-left: 0;
}

.recovery-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-dark);
    line-height: 1.6;
}

.recovery-list li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

/* ============================================
   CONSULTING CARDS
   ============================================ */
.consulting-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.consulting-card {
    background-color: var(--primary-light);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--accent);
}

.consulting-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.consulting-card p {
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.example-text {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ============================================
   COMPLIANCE CARDS
   ============================================ */
.compliance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.compliance-card {
    background-color: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    border-top: 4px solid var(--accent);
}

.compliance-card h4 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.compliance-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ============================================
   CHECKLIST
   ============================================ */
.checklist-box {
    background-color: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    border-left: 4px solid var(--accent);
}

.checklist-box h4 {
    color: var(--primary);
    margin-bottom: 1.5rem;
}

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

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    padding: 0.75rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.checkbox-item:hover {
    background-color: var(--bg-light);
}

.checkbox-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--accent);
}

.checkbox-item span {
    color: var(--text-dark);
    font-size: 0.95rem;
}

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

.credential-card {
    background-color: var(--primary-light);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--accent);
}

.credential-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.credential-card p {
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.credential-info {
    background-color: white;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.credential-info p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-dark);
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background-color: var(--primary-light);
    border: none;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #D4E4F0;
}

.faq-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-question.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: white;
}

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

.faq-answer p {
    padding: 1.5rem;
    color: var(--text-dark);
    line-height: 1.8;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-form-container {
    background-color: var(--primary-light);
    padding: 2rem;
    border-radius: 12px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1);
}

.form-message {
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    display: none;
}

.form-message.success {
    display: block;
    background-color: #D4EDDA;
    color: #155724;
    border: 1px solid #C3E6CB;
}

.form-message.error {
    display: block;
    background-color: #F8D7DA;
    color: #721C24;
    border: 1px solid #F5C6CB;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.info-item {
    background-color: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent);
}

.info-item h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.info-item p {
    color: var(--text-dark);
    margin-bottom: 0;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background-color: var(--primary);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 5rem;
}

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

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 0;
}

.footer-section ul {
    list-style: none;
    padding-left: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.3s ease;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1.5rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .footer {
        padding: 2rem 0 1rem;
    }

    .footer-content {
        gap: 1.5rem;
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    .risks-grid,
    .pillars-container,
    .regimes-container,
    .consulting-grid,
    .compliance-grid,
    .credentials-grid {
        grid-template-columns: 1fr;
    }

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

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center {
    text-align: center;
}

.mt-3 {
    margin-top: 2rem;
}

.mb-3 {
    margin-bottom: 2rem;
}

.hidden {
    display: none;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-in-out;
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* Focus visible for keyboard navigation */
*:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}
