/* Responsive Design - Engneed */

/* Tablets and small desktops */
@media (max-width: 1199px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .hero-visual {
        height: 400px;
    }
    
    .main-visual {
        height: 300px;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

/* Tablets */
@media (max-width: 991px) {
    .hero-section {
        padding-top: 100px;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-visual {
        margin-top: 3rem;
        height: 350px;
    }
    
    .floating-card {
        position: relative !important;
        margin: 0.5rem;
        animation: none !important;
        transform: none !important;
        width: calc(50% - 1rem);
        display: inline-block;
    }
    
    .card-1, .card-2, .card-3, .card-4 {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
    }
    
    .experience-badge {
        position: relative !important;
        bottom: auto !important;
        right: auto !important;
        margin-top: 2rem;
        display: inline-block;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-card {
        padding: 2rem;
    }
    
    .steps-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .step-card {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
}

/* Large smartphones */
@media (max-width: 767px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .navbar-collapse {
        background: var(--white);
        padding: 1rem;
        border-radius: 10px;
        margin-top: 1rem;
        box-shadow: var(--shadow-md);
        border: 1px solid var(--gray-medium);
    }
    
    .nav-cta {
        margin: 1rem 0 0 0;
        width: 100%;
        text-align: center;
    }
    
    .contact-form,
    .contact-info {
        padding: 2rem;
    }
    
    .footer-bottom-links {
        justify-content: flex-start;
        margin-top: 1rem;
    }
    
    .footer .row > div {
        margin-bottom: 2rem;
    }
    
    .footer .row > div:last-child {
        margin-bottom: 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .service-buttons {
        flex-direction: column;
    }
    
    .service-cta,
    .service-quote {
        width: 100%;
    }
    
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .client-logo {
        padding: 1.25rem;
    }
    
    .client-logo-placeholder i {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .step-card {
        padding: 2rem 1.5rem;
    }
    
    .brand-logo-img {
        width: 120px;
    }
    
    .footer-logo-img {
        width: 100px;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }
    
    .whatsapp-float i {
        font-size: 24px;
    }
    
    .scroll-top-btn {
        bottom: 85px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    /* Accessibility Bar - Mobile (CORRIGIDO) */
    .accessibility-bar {
        top: 20px;
        left: auto;
        right: 20px;
        bottom: auto;
        border-radius: 12px;
        transform: none;
    }
    
    .accessibility-toggle {
        border-radius: 12px;
        padding: 0.8rem 1rem;
        white-space: nowrap;
    }
    
    .accessibility-options {
        position: absolute;
        top: 100%;
        right: 0;
        left: auto;
        bottom: auto;
        transform: none;
        border-radius: 12px;
        min-width: 280px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.2);
        margin-top: 10px;
    }
    
    .accessibility-bar.expanded .accessibility-options {
        animation: slideDownMobile 0.3s ease;
    }
    
    @keyframes slideDownMobile {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* Small smartphones */
@media (max-width: 576px) {
    section {
        padding: 60px 0;
    }
    
    .hero-section {
        padding-top: 90px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
    }
    
    .service-icon i {
        font-size: 1.8rem;
    }
    
    .service-header h3 {
        font-size: 1.3rem;
    }
    
    .btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .clients-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .contact-icon {
        margin: 0 auto;
    }
    
    .footer-bottom-links {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .floating-card {
        width: 100%;
        margin: 0.5rem 0;
    }
    
    .mission-vision {
        gap: 1.5rem;
    }
    
    .mv-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .mv-item i {
        margin-top: 0;
    }
    
    /* Accessibility Bar - Mobile pequeno */
    .accessibility-bar {
        top: 15px;
        right: 15px;
    }
    
    .accessibility-toggle {
        padding: 0.7rem 0.9rem;
        font-size: 0.85rem;
    }
    
    .accessibility-options {
        min-width: calc(100vw - 40px);
        max-width: calc(100vw - 40px);
        right: 0;
        left: auto;
    }
    
    .accessibility-btn {
        padding: 0.7rem 0.9rem;
        font-size: 0.85rem;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-float i {
        font-size: 22px;
    }
    
    .scroll-top-btn {
        bottom: 80px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Very small smartphones */
@media (max-width: 375px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .service-card {
        padding: 1.5rem 1rem;
    }
    
    .section-header h2 {
        font-size: 1.6rem;
    }
    
    .cta-content h2 {
        font-size: 1.6rem;
    }
    
    .brand-logo-img {
        width: 100px;
    }
    
    .accessibility-bar {
        top: 10px;
        right: 10px;
    }
    
    .accessibility-toggle {
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .accessibility-toggle span {
        display: none; /* Esconde texto, mostra apenas ícone */
    }
    
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-float i {
        font-size: 22px;
    }
    
    .scroll-top-btn {
        bottom: 75px;
        right: 15px;
        width: 40px;
        height: 40px;
    }
}

/* Height adjustments for mobile */
@media (max-height: 700px) and (orientation: landscape) {
    .hero-section {
        min-height: 700px;
        padding-top: 100px;
    }
    
    .hero-visual {
        height: 300px;
    }
    
    .main-visual {
        height: 250px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    /* Ajuste para landscape */
    .accessibility-bar {
        top: 10px;
        right: 10px;
    }
    
    .accessibility-options {
        max-height: 70vh;
        overflow-y: auto;
    }
}

/* Para tablets em modo retrato */
@media (min-width: 768px) and (max-width: 991px) {
    .accessibility-bar {
        top: 120px;
        left: 0;
        right: auto;
    }
}

/* Print styles */
@media print {
    .navbar,
    .whatsapp-float,
    .scroll-top-btn,
    .social-links,
    .footer-bottom-links,
    .accessibility-bar {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    section {
        padding: 20px 0 !important;
        min-height: auto !important;
    }
    
    .hero-visual,
    .floating-card,
    .experience-badge {
        display: none !important;
    }
    
    .btn {
        display: none !important;
    }
    
    a[href]:after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
        font-weight: normal;
    }
}