/* ===== RESPONSIVIDADE COMPLETA ===== */

/* ===== DESKTOP LARGE (1200px+) ===== */
@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
    }
    
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .hero-content p {
        font-size: 1.3rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
}

/* ===== DESKTOP (992px - 1199px) ===== */
@media (max-width: 1199px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== TABLET (768px - 991px) ===== */
@media (max-width: 991px) {
    /* Header e Navegação */
    .header {
        padding: 0.5rem 0;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--bg-white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 2rem;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1000;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
        width: 100%;
    }
    
    .nav-menu a {
        padding: 1rem 0;
        border-bottom: 1px solid var(--border-light);
        width: 100%;
        display: block;
    }
    
    .hamburger {
        display: block;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    /* Hero Section */
    .hero {
        padding: 4rem 0;
        min-height: 70vh;
    }
    
    .hero-content {
        text-align: center;
        padding: 0 1rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        margin: 2rem 0;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    /* Sobre Nós */
    .about {
        padding: 4rem 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-text {
        order: 2;
    }
    
    .about-image {
        order: 1;
    }
    
    .timeline {
        margin: 2rem 0;
    }
    
    .timeline-item {
        flex-direction: column;
        text-align: center;
    }
    
    .timeline-dot {
        margin: 0 auto 1rem;
    }
    
    /* Serviços */
    .services {
        padding: 4rem 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-card {
        padding: 2rem;
    }
    
    .services-tabs {
        flex-direction: column;
    }
    
    .tab-button {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    /* Depoimentos */
    .testimonials {
        padding: 4rem 0;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .testimonial-card {
        padding: 2rem;
    }
    
    .carousel-controls {
        justify-content: center;
        margin-top: 2rem;
    }
    
    /* Contato */
    .contact {
        padding: 4rem 0;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-form {
        order: 2;
    }
    
    .contact-info {
        order: 1;
    }
    
    .contact-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .map-container {
        height: 300px;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .footer-section:first-child {
        grid-column: 1 / -1;
    }
}

/* ===== MOBILE LARGE (576px - 767px) ===== */
@media (max-width: 767px) {
    /* Container */
    .container {
        padding: 0 1rem;
    }
    
    /* Hero Section */
    .hero {
        padding: 3rem 0;
        min-height: 60vh;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    /* Sobre Nós */
    .about {
        padding: 3rem 0;
    }
    
    .about-content {
        gap: 1.5rem;
    }
    
    .about-text h2 {
        font-size: 1.8rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Serviços */
    .services {
        padding: 3rem 0;
    }
    
    .services-header h2 {
        font-size: 1.8rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    /* Depoimentos */
    .testimonials {
        padding: 3rem 0;
    }
    
    .testimonials-header h2 {
        font-size: 1.8rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .testimonial-text {
        font-size: 0.95rem;
    }
    
    .testimonial-author {
        font-size: 0.9rem;
    }
    
    /* Contato */
    .contact {
        padding: 3rem 0;
    }
    
    .contact-header h2 {
        font-size: 1.8rem;
    }
    
    .contact-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-card {
        padding: 1rem;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    .map-container {
        height: 250px;
    }
    
    /* Footer */
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-section {
        padding: 0;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    /* WhatsApp Flutuante */
    .whatsapp-float {
        bottom: 1rem;
        right: 1rem;
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-float i {
        font-size: 1.5rem;
    }
    
    /* Back to Top */
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
    }
    
    .back-to-top i {
        font-size: 1rem;
    }
}

/* ===== MOBILE (até 575px) ===== */
@media (max-width: 575px) {
    /* Header */
    .header {
        padding: 0.5rem 0;
    }
    
    .logo h1 {
        font-size: 1.2rem;
    }
    
    .nav-menu {
        width: 100%;
        max-width: none;
        padding: 1rem;
    }
    
    /* Hero Section */
    .hero {
        padding: 2rem 0;
        min-height: 50vh;
    }
    
    .hero-content {
        padding: 0 0.5rem;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }
    
    .hero-content p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-stats {
        margin: 1.5rem 0;
    }
    
    .stat-item {
        padding: 0.8rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    /* Sobre Nós */
    .about {
        padding: 2rem 0;
    }
    
    .about-text h2 {
        font-size: 1.5rem;
    }
    
    .about-text p {
        font-size: 0.9rem;
    }
    
    .timeline {
        margin: 1.5rem 0;
    }
    
    .timeline-item {
        margin-bottom: 1rem;
    }
    
    /* Serviços */
    .services {
        padding: 2rem 0;
    }
    
    .services-header h2 {
        font-size: 1.5rem;
    }
    
    .service-card {
        padding: 1rem;
    }
    
    .service-card h3 {
        font-size: 1.1rem;
    }
    
    .service-card p {
        font-size: 0.85rem;
    }
    
    /* Depoimentos */
    .testimonials {
        padding: 2rem 0;
    }
    
    .testimonials-header h2 {
        font-size: 1.5rem;
    }
    
    .testimonial-card {
        padding: 1rem;
    }
    
    .testimonial-text {
        font-size: 0.85rem;
    }
    
    .testimonial-author {
        font-size: 0.8rem;
    }
    
    /* Contato */
    .contact {
        padding: 2rem 0;
    }
    
    .contact-header h2 {
        font-size: 1.5rem;
    }
    
    .contact-card {
        padding: 0.8rem;
    }
    
    .contact-card h3 {
        font-size: 1rem;
    }
    
    .contact-card p {
        font-size: 0.85rem;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 0.7rem;
        font-size: 0.85rem;
    }
    
    .btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .map-container {
        height: 200px;
    }
    
    /* Footer */
    .footer {
        padding: 1.5rem 0 1rem;
    }
    
    .footer-section h3 {
        font-size: 1.1rem;
    }
    
    .footer-section h4 {
        font-size: 1rem;
    }
    
    .footer-section p,
    .footer-section li {
        font-size: 0.85rem;
    }
    
    .footer-info .info-item {
        font-size: 0.85rem;
    }
    
    .copyright p {
        font-size: 0.8rem;
    }
    
    /* Cookie Consent */
    .cookie-consent {
        padding: 1rem;
    }
    
    .cookie-content p {
        font-size: 0.85rem;
    }
    
    .cookie-buttons .btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}

/* ===== LANDSCAPE ORIENTATION ===== */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding: 1rem 0;
    }
    
    .hero-content h1 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-content p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .hero-stats {
        margin: 1rem 0;
    }
    
    .stat-item {
        padding: 0.5rem;
    }
    
    .stat-number {
        font-size: 1.2rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    .nav-menu {
        padding: 1rem;
    }
    
    .nav-menu li {
        margin: 0.5rem 0;
    }
    
    .nav-menu a {
        padding: 0.5rem 0;
    }
}

/* ===== HIGH DPI DISPLAYS ===== */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero {
        background-image: url('/assets/images/banner.webp');
    }
    
    .about-image {
        background-image: url('/assets/images/sobre-nos.webp');
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .header,
    .footer,
    .whatsapp-float,
    .back-to-top,
    .cookie-consent,
    .hero-buttons,
    .cta-buttons {
        display: none !important;
    }
    
    .hero {
        background: none !important;
        color: black !important;
        min-height: auto !important;
        padding: 1rem 0 !important;
    }
    
    .hero-content h1 {
        color: black !important;
    }
    
    .hero-content p {
        color: black !important;
    }
    
    .container {
        max-width: none !important;
        padding: 0 !important;
    }
    
    .section {
        padding: 1rem 0 !important;
        page-break-inside: avoid;
    }
    
    .card,
    .service-card,
    .testimonial-card,
    .contact-card {
        box-shadow: none !important;
        border: 1px solid #ccc !important;
        page-break-inside: avoid;
    }
    
    a {
        color: black !important;
        text-decoration: underline !important;
    }
    
    .btn {
        border: 1px solid black !important;
        background: white !important;
        color: black !important;
    }
} 