:root {
    --primary-color: #0d2d52;
    --accent-color: #c5a47e;
    --background-color: #ffffff;
    --light-gray-bg: #f8f9fa;
    --text-color: #343a40;
    --border-color: #dee2e6;
    --border-radius: 6px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    color: var(--text-color);
    background-color: var(--background-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    max-width: 160px;
}

header a {
    text-decoration: none;
    transition: opacity 0.3s ease;
}

header a:hover {
    opacity: 0.8;
}

nav {
    display: flex;
    gap: 30px;
}

nav a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 10px 0;
    border-bottom: 2px solid transparent;
}

nav a:hover,
nav a.active {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('115A7596.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #fff;
    text-align: center;
    padding: 120px 0;
}

/* Otimização para mobile - remove background-attachment: fixed */
@media (max-width: 768px) {
    .hero {
        background-attachment: scroll;
        padding: 80px 0;
    }
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.hero-logo {
    max-width: 300px;
    height: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.hero h2 {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 30px;
}

.cta-button {
    background-color: var(--accent-color);
    color: #fff;
    padding: 15px 35px;
    text-decoration: none;
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #af8f6b;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.cdi-info {
    text-align: center;
    padding: 25px 0;
    background-color: var(--light-gray-bg);
}

.cdi-info p {
    margin: 0;
    font-size: 1.2rem;
}

.cdi-info strong {
    color: var(--primary-color);
    font-weight: 600;
}

.debentures-tables {
    padding: 80px 0;
}

.debentures-tables h2 {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 50px;
    color: var(--primary-color);
}

.private-title {
    margin-top: 60px;
}

.table-wrapper {
    background-color: var(--background-color);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    border: 1px solid var(--border-color);
    max-width: 900px;
    margin: 0 auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
}

th, td {
    padding: 15px 12px;
    border-bottom: 1px solid var(--border-color);
    white-space: nowrap;
}

th {
    background-color: var(--primary-color);
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

td {
    font-size: 0.95rem;
}

tbody tr {
    transition: background-color 0.2s ease;
}

tbody tr:last-child td {
    border-bottom: none;
}

tbody tr:nth-child(even) {
    background-color: var(--light-gray-bg);
}

/* Destacar linhas disponíveis */
tbody tr td:last-child:contains("Disponível*") {
    border: 2px solid var(--accent-color);
    border-radius: 8px;
}

/* Alternativa usando classe específica */
.available-row {
    border: 2px solid var(--accent-color) !important;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(197, 164, 126, 0.3);
}

tbody tr:hover {
    background-color: #e9ecef;
}

td:first-child {
    font-weight: 600;
    color: var(--primary-color);
}

.notes {
    text-align: center;
    margin-top: 40px;
    font-size: 0.9rem;
    color: #6c757d;
}

footer {
    background-color: var(--primary-color);
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    padding: 40px 0;
}

footer a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: #fff;
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .debentures-tables h2 { font-size: 2.2rem; }
}

/* Charts Section */
.charts-section {
    padding: 60px 0;
    background-color: var(--light-gray-bg);
}

.charts-section .container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
}

.chart-container {
    flex: 1 1 400px; /* Permite que os gráficos cresçam e encolham */
    max-width: 500px;
    text-align: center;
}

.chart-container h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.chart-container canvas {
    max-width: 260px;
    max-height: 260px;
    margin: 0 auto;
    display: block;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background-color: var(--background-color);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 25px;
    color: var(--text-color);
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background-color: var(--light-gray-bg);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.stat-item h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 0.9rem;
    color: var(--text-color);
    margin: 0;
}

.about-image {
    text-align: center;
}

.about-img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background-color: var(--light-gray-bg);
}

.services-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--background-color);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
}

/* Differentials Section */
.differentials-section {
    padding: 80px 0;
    background-color: var(--background-color);
}

.differentials-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 60px;
}

.differentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.differential-item {
    padding: 30px;
    background-color: var(--light-gray-bg);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--accent-color);
}

.differential-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.differential-item p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: #fff;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-section .cta-button {
    background-color: var(--accent-color);
    color: #fff;
    padding: 18px 40px;
    font-size: 1.1rem;
}

/* Enhanced Footer */
footer {
    background-color: var(--primary-color);
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info h3 {
    color: var(--accent-color);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.footer-info p {
    margin-bottom: 10px;
}

.footer-contact h4 {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.footer-contact p {
    margin-bottom: 10px;
}

.footer-contact a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contact a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
}

/* Responsive Design - Mobile First Approach */

/* Large screens (1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
    }
    
    .hero h1 {
        font-size: 4rem;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
}

/* Medium screens (768px to 1199px) */
@media (max-width: 1199px) and (min-width: 769px) {
    .container {
        max-width: 900px;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero h2 {
        font-size: 1.6rem;
    }
    
    .debentures-tables h2 {
        font-size: 2.5rem;
    }
    
    .table-wrapper {
        max-width: 800px;
    }
}

/* Small screens (481px to 768px) */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    /* Header */
    header .container {
        flex-direction: column;
        gap: 15px;
    }
    
    .logo {
        max-width: 140px;
    }
    
    nav {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav a {
        font-size: 0.85rem;
        padding: 8px 12px;
    }
    
    /* Hero Section */
    .hero {
        padding: 80px 0;
        background-attachment: scroll;
    }
    
    .hero h1 {
        font-size: 2.2rem;
        line-height: 1.2;
    }
    
    .hero h2 {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }
    
    .hero p {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    .cta-button {
        padding: 12px 25px;
        font-size: 0.95rem;
    }
    
    /* Charts Section */
    .charts-section {
        padding: 40px 0;
    }
    
    .charts-section .container {
        flex-direction: column;
        gap: 30px;
    }
    
    .chart-container {
        flex: none;
        max-width: 100%;
    }
    
    .chart-container canvas {
        max-width: 200px;
        max-height: 200px;
    }
    
    /* Tables */
    .debentures-tables {
        padding: 50px 0;
    }
    
    .debentures-tables h2 {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    .private-title {
        margin-top: 40px;
    }
    
    .table-wrapper {
        max-width: 100%;
        margin: 0;
        border-radius: 0;
    }
    
    table {
        min-width: 600px;
        font-size: 0.85rem;
    }
    
    th, td {
        padding: 10px 8px;
    }
    
    th {
        font-size: 0.75rem;
    }
    
    td {
        font-size: 0.8rem;
    }
    
    /* About Section */
    .about-section {
        padding: 50px 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-text h2 {
        font-size: 2rem;
        margin-bottom: 20px;
    }
    
    .about-text p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .stats {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 25px;
    }
    
    .stat-item {
        padding: 15px;
    }
    
    .stat-item h3 {
        font-size: 1.5rem;
    }
    
    /* Services Section */
    .services-section {
        padding: 50px 0;
    }
    
    .services-section h2 {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 25px 20px;
    }
    
    .service-card h3 {
        font-size: 1.2rem;
    }
    
    /* Differentials Section */
    .differentials-section {
        padding: 50px 0;
    }
    
    .differentials-section h2 {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .differentials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .differential-item {
        padding: 20px;
    }
    
    /* CTA Section */
    .cta-section {
        padding: 50px 0;
    }
    
    .cta-section h2 {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .cta-section p {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }
    
    .footer-info h3 {
        font-size: 1.3rem;
    }
    
    /* CDI Info */
    .cdi-info p {
        font-size: 1rem;
    }
}

/* Extra small screens (up to 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    /* Header */
    .logo {
        max-width: 120px;
    }
    
    nav {
        gap: 10px;
    }
    
    nav a {
        font-size: 0.8rem;
        padding: 6px 8px;
    }
    
    /* Hero Section */
    .hero {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero h2 {
        font-size: 1rem;
    }
    
    .hero p {
        font-size: 0.9rem;
    }
    
    .cta-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    /* Tables */
    .debentures-tables h2 {
        font-size: 1.5rem;
    }
    
    table {
        min-width: 500px;
        font-size: 0.75rem;
    }
    
    th, td {
        padding: 8px 6px;
    }
    
    th {
        font-size: 0.7rem;
    }
    
    td {
        font-size: 0.75rem;
    }
    
    /* About Section */
    .about-text h2 {
        font-size: 1.7rem;
    }
    
    .about-text p {
        font-size: 0.9rem;
    }
    
    .stat-item h3 {
        font-size: 1.3rem;
    }
    
    /* Services & Differentials */
    .services-section h2,
    .differentials-section h2 {
        font-size: 1.7rem;
    }
    
    .service-card {
        padding: 20px 15px;
    }
    
    .service-card h3 {
        font-size: 1.1rem;
    }
    
    .service-card p {
        font-size: 0.9rem;
    }
    
    .differential-item {
        padding: 15px;
    }
    
    .differential-item h3 {
        font-size: 1.1rem;
    }
    
    .differential-item p {
        font-size: 0.9rem;
    }
    
    /* CTA Section */
    .cta-section h2 {
        font-size: 1.7rem;
    }
    
    .cta-section p {
        font-size: 0.9rem;
    }
    
    /* Charts */
    .chart-container canvas {
        max-width: 180px;
        max-height: 180px;
    }
    
    .chart-container h3 {
        font-size: 1.2rem;
    }
    
    /* CDI Info */
    .cdi-info p {
        font-size: 0.9rem;
    }
}

/* Contact Page Responsive */
@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-hero h1 {
        font-size: 2.2rem;
    }
    
    .contact-hero p {
        font-size: 1rem;
    }
    
    .contact-form {
        padding: 25px 20px;
    }
    
    .contact-info h2,
    .contact-form h2 {
        font-size: 1.7rem;
    }
    
    .contact-item {
        padding: 15px;
        gap: 12px;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
    }
    
    .contact-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .contact-item h3 {
        font-size: 1rem;
    }
    
    .contact-item p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .contact-hero h1 {
        font-size: 1.8rem;
    }
    
    .contact-hero p {
        font-size: 0.9rem;
    }
    
    .contact-form {
        padding: 20px 15px;
    }
    
    .contact-info h2,
    .contact-form h2 {
        font-size: 1.5rem;
    }
    
    .contact-item {
        padding: 12px;
    }
    
    .contact-icon {
        width: 35px;
        height: 35px;
    }
    
    .contact-icon svg {
        width: 18px;
        height: 18px;
    }
}

/* Login Screen Responsive */
@media (max-width: 768px) {
    .login-container {
        width: 90%;
        max-width: 400px;
        padding: 30px 20px;
    }
    
    .login-content h2 {
        font-size: 1.8rem;
    }
    
    .login-content p {
        font-size: 0.95rem;
    }
    
    .login-logo {
        max-width: 120px;
    }
}

@media (max-width: 480px) {
    .login-container {
        width: 95%;
        padding: 25px 15px;
    }
    
    .login-content h2 {
        font-size: 1.5rem;
    }
    
    .login-content p {
        font-size: 0.9rem;
    }
    
    .login-logo {
        max-width: 100px;
    }
}

/* Thank You Page Responsive */
@media (max-width: 768px) {
    .thank-you-content h1 {
        font-size: 2rem;
    }
    
    .thank-you-content p {
        font-size: 1rem;
    }
    
    .next-steps h3 {
        font-size: 1.3rem;
    }
    
    .next-steps li {
        font-size: 0.95rem;
    }
    
    .action-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .action-buttons .cta-button,
    .action-buttons .secondary-button {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .thank-you-content h1 {
        font-size: 1.7rem;
    }
    
    .thank-you-content p {
        font-size: 0.9rem;
    }
    
    .next-steps h3 {
        font-size: 1.2rem;
    }
    
    .next-steps li {
        font-size: 0.9rem;
    }
}

/* Fluxograma Responsive */
@media (max-width: 1200px) {
    .fluxograma-svg svg {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 900px) {
    .fluxograma-svg svg {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 700px) {
    .fluxograma-svg svg {
        width: 100%;
        height: auto;
    }
    
    .fluxograma-section {
        padding: 40px 0;
    }
    
    .fluxograma-explicacao {
        padding: 20px;
    }
    
    .fluxograma-explicacao h2 {
        font-size: 1.7rem;
    }
    
    .fluxograma-explicacao p {
        font-size: 0.95rem;
    }
}

/* Contact Page Styles */
.contact-hero {
    background-color: var(--primary-color);
    color: #fff;
    text-align: center;
    padding: 80px 0;
}

.contact-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.contact-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.contact-section {
    padding: 80px 0;
    background-color: var(--light-gray-bg);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
}

.contact-info h2,
.contact-form h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 30px;
    padding: 20px;
    background-color: var(--background-color);
    border-radius: var(--border-radius);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.contact-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
}

.contact-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.contact-item p {
    margin: 0;
    color: var(--text-color);
}

.contact-item a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: var(--primary-color);
}

/* Contact Form */
.contact-form {
    background-color: var(--background-color);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-label {
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-top: 2px;
}

.checkbox-label a {
    color: var(--accent-color);
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.submit-btn {
    background-color: var(--accent-color);
    color: #fff;
    padding: 15px 30px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background-color: #af8f6b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Netlify Forms Honeypot */
.hidden {
    display: none;
}

/* Thank You Page */
.thank-you-section {
    padding: 100px 0;
    background-color: var(--light-gray-bg);
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.thank-you-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.success-icon {
    margin-bottom: 30px;
}

.thank-you-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.thank-you-content p {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 40px;
    line-height: 1.6;
}

.next-steps {
    background-color: var(--background-color);
    padding: 30px;
    border-radius: var(--border-radius);
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.next-steps h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.next-steps ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.next-steps li {
    padding: 10px 0;
    color: var(--text-color);
    position: relative;
    padding-left: 25px;
}

.next-steps li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.1rem;
}

.action-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.secondary-button {
    background-color: transparent;
    color: var(--primary-color);
    padding: 15px 30px;
    text-decoration: none;
    font-weight: 600;
    border-radius: var(--border-radius);
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
}

.secondary-button:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

/* Login Screen Styles */
.login-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a4a7a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.login-container {
    background-color: var(--background-color);
    padding: 50px;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    text-align: center;
    max-width: 400px;
    width: 90%;
}

.login-logo {
    max-width: 120px;
    margin-bottom: 30px;
}

.login-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.login-content p {
    color: var(--text-color);
    margin-bottom: 30px;
    font-size: 1rem;
}

.login-form .form-group {
    margin-bottom: 25px;
}

.login-form input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.login-form input:focus {
    outline: none;
    border-color: var(--accent-color);
}

.login-btn {
    background-color: var(--accent-color);
    color: #fff;
    padding: 15px 40px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.login-btn:hover {
    background-color: #af8f6b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.error-message {
    color: #dc3545;
    font-size: 0.9rem;
    margin-top: 15px;
    min-height: 20px;
}

.page-content {
    display: block;
}

/* Fluxograma Section */
.fluxograma-section {
    padding: 60px 0 80px 0;
    background-color: var(--light-gray-bg);
}

.fluxograma-explicacao {
    max-width: 900px;
    margin: 0 auto 40px auto;
    font-size: 1.1rem;
    color: var(--text-color);
    text-align: center;
}

.fluxograma-svg {
    text-align: center;
    margin: 0 auto;
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    padding: 30px 10px;
    max-width: 100%;
    overflow-x: auto;
}

/* Simulator Page Styles */
.simulator-hero {
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('115A7596.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #fff;
    text-align: center;
    padding: 80px 0;
}

.simulator-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.simulator-hero h2 {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 20px;
}

.simulator-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.simulator-section {
    padding: 80px 0;
    background-color: var(--light-gray-bg);
}

.simulator-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
}

.simulator-form {
    background-color: var(--background-color);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.simulator-form h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.period-input {
    display: flex;
    gap: 10px;
}

.period-input input {
    flex: 1;
}

.period-input select {
    width: 120px;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: inherit;
    background-color: #fff;
    transition: border-color 0.3s ease;
}

.period-input select:focus {
    outline: none;
    border-color: var(--accent-color);
}

.simulate-btn {
    background-color: var(--accent-color);
    color: #fff;
    padding: 15px 30px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 20px;
}

.simulate-btn:hover {
    background-color: #af8f6b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.simulator-results {
    background-color: var(--background-color);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.simulator-results h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.result-item {
    background-color: var(--light-gray-bg);
    padding: 15px;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid var(--border-color);
}

.result-item h3 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.result-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin: 0;
}

.results-summary {
    background-color: var(--light-gray-bg);
    padding: 20px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.results-summary h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-align: center;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-item span:first-child {
    font-weight: 500;
    color: var(--text-color);
}

.summary-item span:last-child {
    font-weight: 600;
    color: var(--primary-color);
}

.simulator-info {
    padding: 80px 0;
    background-color: var(--background-color);
}

.simulator-info h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 60px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.info-item {
    background-color: var(--light-gray-bg);
    padding: 30px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--accent-color);
}

.info-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.info-item p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
    margin: 0;
}

/* Simulator Responsive */
@media (max-width: 768px) {
    .simulator-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .simulator-hero h1 {
        font-size: 2.2rem;
    }
    
    .simulator-hero h2 {
        font-size: 1.2rem;
    }
    
    .simulator-hero p {
        font-size: 1rem;
    }
    
    .simulator-form,
    .simulator-results {
        padding: 25px 20px;
    }
    
    .simulator-form h2,
    .simulator-results h2 {
        font-size: 1.7rem;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .result-value {
        font-size: 1.3rem;
    }
    
    .simulator-info h2 {
        font-size: 2rem;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .info-item {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .simulator-hero h1 {
        font-size: 1.8rem;
    }
    
    .simulator-hero h2 {
        font-size: 1rem;
    }
    
    .simulator-hero p {
        font-size: 0.9rem;
    }
    
    .simulator-form,
    .simulator-results {
        padding: 20px 15px;
    }
    
    .simulator-form h2,
    .simulator-results h2 {
        font-size: 1.5rem;
    }
    
    .result-value {
        font-size: 1.1rem;
    }
    
    .simulator-info h2 {
        font-size: 1.7rem;
    }
    
    .info-item {
        padding: 15px;
    }
    
    .info-item h3 {
        font-size: 1.1rem;
    }
    
    .info-item p {
        font-size: 0.9rem;
    }
}

/* Gráfico do Simulador - destaque e largura total */
.simulador-grafico-section {
    background: #fff;
    padding: 40px 0 60px 0;
    width: 100%;
}
.simulador-grafico {
    max-width: 1100px;
    margin: 0 auto;
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    padding: 30px 20px 40px 20px;
}
@media (max-width: 1200px) {
    .simulador-grafico {
        max-width: 100%;
    }
}
@media (max-width: 768px) {
    .simulador-grafico-section {
        padding: 25px 0 30px 0;
    }
    .simulador-grafico {
        padding: 15px 5px 20px 5px;
    }
}

/* Melhorias responsivas para tabelas em mobile */
@media (max-width: 900px) {
  .table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-padding-left: 0 !important;
    padding-bottom: 8px;
  }
  .table-wrapper table {
    min-width: 700px;
    margin-left: 0 !important;
  }
  .table-wrapper::-webkit-scrollbar {
    height: 8px;
    background: #eee;
  }
  .table-wrapper::-webkit-scrollbar-thumb {
    background: #c5a47e55;
    border-radius: 4px;
  }
  .table-wrapper:after {
    content: 'Arraste para o lado →';
    display: block;
    color: #888;
    font-size: 0.85em;
    text-align: right;
    margin: 4px 8px 0 0;
  }
  table {
    min-width: 600px;
  }
}
@media (max-width: 600px) {
  .table-wrapper {
    padding: 0;
  }
  table {
    min-width: 480px;
    font-size: 0.75rem;
  }
  th, td {
    padding: 7px 4px;
    font-size: 0.75rem;
  }
}

/* Ajustes extras para grids e cards em mobile */
@media (max-width: 600px) {
  .process-step,
  .contact-option,
  .bank-detail {
    padding: 12px 8px !important;
    font-size: 0.95rem;
  }
  .process-step h3,
  .contact-option h3,
  .bank-detail h4 {
    font-size: 1rem !important;
  }
  .contact-options {
    gap: 12px !important;
  }
  .bank-details {
    gap: 6px !important;
  }
}

/* Hero e seções principais */
@media (max-width: 600px) {
  .hero,
  .como-investir-hero {
    padding: 40px 0 !important;
  }
  .hero h1, .como-investir-hero h1 {
    font-size: 1.2rem !important;
  }
  .hero h2, .como-investir-hero h2 {
    font-size: 1rem !important;
  }
  .hero p, .como-investir-hero p {
    font-size: 0.9rem !important;
  }
}

/* Garantir que imagens e gráficos não ultrapassem a tela */
img, canvas {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Botões maiores para toque */
@media (max-width: 600px) {
  .cta-button, .whatsapp-btn, .login-btn, .submit-btn {
    min-height: 44px;
    font-size: 1rem;
    padding: 12px 0;
    width: 100%;
    box-sizing: border-box;
  }
}

/* ===== OTIMIZAÇÕES BÁSICAS PARA MOBILE ===== */

/* Melhorar performance de scroll em dispositivos touch */
@media (max-width: 768px) {
  body {
    -webkit-overflow-scrolling: touch;
  }
  
  /* Melhorar performance de imagens */
  img {
    max-width: 100%;
    height: auto;
  }
} 

/* ===== OTIMIZAÇÕES SIMPLIFICADAS PARA MOBILE ===== */

/* Otimizações básicas para mobile */
@media (max-width: 768px) {
    /* Otimizar imagens */
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* Otimizar tabelas */
    .table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Otimizar formulários */
    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 16px;
    }
}

/* Otimizações para telas pequenas */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    
    /* Otimizar tabelas */
    th, td {
        padding: 10px 8px;
        font-size: 0.85rem;
    }
} 