/* Reset básico para consistência */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Ajustes gerais para telas menores */
html,
body {
    overflow-x: hidden;
}

/* Media Queries */

/* Tablets e dispositivos médios (até 991px) */
@media (max-width: 1200px) {
    .hero .row:first-child {
        padding-left: 0px !important;
    }
}

@media (max-width: 991px) {

    /* Navbar */
    .navbar-nav {
        text-align: center;
        padding: 1rem 0;
    }

    .navbar-nav .nav-item {
        margin: 0.5rem 0;
    }

    .navbar .btn-outline-light {
        margin: 1rem auto;
        display: block;
        width: fit-content;
    }

    .navbar-logo {
        height: 35px;
    }

    /* Hero Section */
    .hero {
        padding-top: 120px !important;
        text-align: center;
    }

    .hero .row:first-child {
        padding: 0 !important;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p.lead {
        font-size: 1rem;
    }

    .hero .btn {
        padding: 0.5rem 1.5rem;
        font-size: 0.9rem;
    }

    .hero-graphic {
        margin-top: 2rem;
    }

    .hero-graphic img {
        max-width: 80%;
        margin: 0 auto;
    }

    .trust-badge {
        margin-top: 2rem;
    }

    /* Promotion Band */
    .promo-band p {
        font-size: 1rem;
    }

    /* Passion Section */
    .passion-section {
        height: auto;
        padding: 4rem 0;
    }

    .passion-section h2 {
        font-size: 2rem;
    }

    /* Financial Language Section */
    .finance-card-lg {
        margin-bottom: 2rem;
    }

    .finance-card-lg h3 {
        font-size: 1.75rem;
    }

    /* Finance Section */
    .finance-card {
        margin-bottom: 2rem;
        transform: rotate(0deg) !important;
        /* Remove rotação em telas menores */
    }

    .card-illustration {
        height: 150px;
    }

    /* Services Overview */
    .service-card {
        margin-bottom: 2rem;
    }

    /* Testimonials Section */
    .testimonials-section {
        min-height: auto;
        padding: 4rem 0;
    }

    .testimonials-section .lead {
        font-size: 1.25rem;
    }

    /* Team Section */
    .team-img {
        width: 150px;
    }

    /* CTA Section */
    .cta-section h2 {
        font-size: 2rem;
    }

    .cta-section p {
        font-size: 1rem;
    }
}

/* Smartphones (até 767px) */
@media (max-width: 767px) {

    /* Geral */
    section {
        padding: 40px 0;
    }

    /* Navbar */
    .navbar {
        padding: 0.5rem 0;
    }

    .navbar-logo {
        height: 30px;
    }

    .nav-link {
        font-size: 0.85rem;
    }

    /* Hero Section */
    .hero {
        padding-top: 60px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p.lead {
        font-size: 0.9rem;
    }

    .hero .btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .hero-graphic img {
        max-width: 100%;
    }

    .trust-badge p {
        font-size: 0.8rem;
    }

    /* Promotion Band */
    .promo-band p {
        font-size: 0.9rem;
    }

    .promo-band .fw-bold {
        display: block;
        margin-bottom: 0.5rem;
    }

    /* Passion Section */
    .passion-section h2 {
        font-size: 1.75rem;
    }

    .passion-section .btn {
        font-size: 0.9rem;
    }

    /* Financial Language Section */
    .financial-language h2 {
        font-size: 1.75rem;
    }

    .finance-card-lg {
        padding: 2rem;
    }

    .finance-card-lg h3 {
        font-size: 1.5rem;
    }

    .finance-card-lg p {
        font-size: 0.9rem;
    }

    /* Finance Section */
    .finance-section h2 {
        font-size: 1.75rem;
    }

    .finance-card {
        padding: 1.5rem;
    }

    .finance-card h3 {
        font-size: 1.25rem;
    }

    .finance-card p {
        font-size: 0.8rem;
    }

    .card-illustration {
        height: 120px;
    }

    /* Services Overview */
    .services-overview h2 {
        font-size: 1.75rem;
    }

    .service-card h3 {
        font-size: 1.25rem;
    }

    .service-card p {
        font-size: 0.85rem;
    }

    .service-card .btn {
        font-size: 0.85rem;
    }

    /* Testimonials Section */
    .testimonials-section .lead {
        font-size: 1rem;
    }

    .testimonials-section img {
        width: 50px;
        height: 50px;
    }

    .testimonials-section .text-start p {
        font-size: 0.9rem;
    }

    .testimonials-section .text-muted {
        font-size: 0.75rem;
    }

    /* Team Section */
    .team-section h2 {
        font-size: 1.75rem;
    }

    .team-img {
        width: 120px;
    }

    /* CTA Section */
    .cta-section h2 {
        font-size: 1.5rem;
    }

    .cta-section .btn {
        font-size: 0.9rem;
        padding: 0.5rem 1.5rem;
    }

    /* Footer */
    .footer-section {
        text-align: center;
    }

    .footer-section p,
    .footer-section ul li {
        font-size: 0.85rem;
    }

    .footer-section .social-links {
        justify-content: center;
    }
}

/* Telas muito pequenas (até 576px) */
@media (max-width: 576px) {

    /* Hero Section */
    .hero h1 {
        font-size: 1.75rem;
    }

    .hero p.lead {
        font-size: 0.85rem;
    }

    .hero .btn {
        padding: 0.4rem 1rem;
        font-size: 0.8rem;
    }

    /* Passion Section */
    .passion-section h2 {
        font-size: 1.5rem;
    }

    /* Financial Language */
    .financial-language h2 {
        font-size: 1.5rem;
    }

    .finance-card-lg h3 {
        font-size: 1.25rem;
    }

    /* Finance Section */
    .finance-section h2 {
        font-size: 1.5rem;
    }

    /* Services Overview */
    .services-overview h2 {
        font-size: 1.5rem;
    }

    /* Testimonials Section */
    .testimonials-section .lead {
        font-size: 0.9rem;
    }

    /* Team Section */
    .team-section h2 {
        font-size: 1.5rem;
    }

    .team-img {
        width: 100px;
    }

    /* CTA Section */
    .cta-section h2 {
        font-size: 1.25rem;
    }

    .cta-section p {
        font-size: 0.9rem;
    }

    /* Contact Form */
    .contact-form {
        padding: 1rem !important;
    }
}