/* ===========================
   Responsive CSS Adicional
   =========================== */

/* Tablets em modo paisagem */
@media (max-width: 1200px) and (min-width: 1025px) {
    .container {
        max-width: 960px;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .servicos-extra {
        padding: 0 20px;
    }
}

/* Tablets */
@media (max-width: 1024px) and (min-width: 769px) {
    .hero-section {
        min-height: 80vh;
    }
    
    .sobre-grid {
        gap: 40px;
    }
    
    .servicos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-section {
        padding: 40px;
    }
}

/* Smartphones grandes */
@media (max-width: 768px) {
    /* Ajustes gerais */
    section {
        padding: 60px 0 !important;
    }
    
    /* Hero responsivo */
    .hero-section {
        min-height: 70vh;
        margin-top: 60px;
    }
    
    .hero-content {
        padding: 0 20px;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    /* Banner responsivo */
    .banner-content h3 {
        font-size: 24px;
    }
    
    .banner-content p {
        font-size: 16px;
    }
    
    /* Sobre responsivo */
    .sobre-image {
        margin-top: 30px;
    }
    
    .stats-grid {
        gap: 20px;
    }
    
    .stat-item {
        padding: 20px;
    }
    
    /* Serviços responsivo */
    .servico-card {
        padding: 30px 20px;
    }
    
    .cta-section {
        padding: 30px 20px;
    }
    
    .cta-section h3 {
        font-size: 24px;
    }
    
    /* Depoimentos responsivo */
    .depoimento-card {
        padding: 30px 20px;
    }
    
    .depoimento-text {
        font-size: 16px;
    }
    
    .carousel-controls {
        display: none;
    }
    
    /* Contato responsivo */
    .contato-form {
        padding: 30px 20px;
    }
    
    .mapa-wrapper iframe {
        height: 300px;
    }
    
    /* Footer responsivo */
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-column {
        margin-bottom: 30px;
    }
}

/* Smartphones médios */
@media (max-width: 576px) {
    /* Typography */
    body {
        font-size: 14px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
    
    /* Header */
    .logo h2 {
        font-size: 20px;
    }
    
    .navbar {
        padding: 10px 0;
    }
    
    /* Hero */
    .hero-title {
        font-size: 24px;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-features {
        font-size: 14px;
    }
    
    .scroll-indicator {
        display: none;
    }
    
    /* Buttons */
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .btn-lg {
        padding: 12px 24px;
        font-size: 16px;
    }
    
    /* Sections */
    .section-header {
        margin-bottom: 40px;
    }
    
    /* Sobre */
    .sobre-text h3 {
        font-size: 24px;
    }
    
    .experience-badge {
        width: 100px;
        height: 100px;
    }
    
    .experience-badge .number {
        font-size: 28px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    /* Serviços */
    .servico-title {
        font-size: 20px;
    }
    
    .beneficio-item h4 {
        font-size: 16px;
    }
    
    /* Contato */
    .contato-info h3,
    .contato-form h3 {
        font-size: 24px;
    }
    
    .info-icon {
        width: 40px;
        height: 40px;
    }
}

/* Smartphones pequenos */
@media (max-width: 400px) {
    .container {
        padding: 0 10px;
    }
    
    .hero-title {
        font-size: 22px;
    }
    
    .hero-subtitle {
        font-size: 14px;
    }
    
    .banner-content h3 {
        font-size: 20px;
    }
    
    .sobre-text h3 {
        font-size: 20px;
    }
    
    .stat-item {
        padding: 15px;
    }
    
    .servico-card {
        padding: 20px 15px;
    }
    
    .depoimento-card {
        padding: 20px 15px;
    }
    
    .contato-form {
        padding: 20px 15px;
    }
}

/* Orientação paisagem em dispositivos móveis */
@media (max-height: 600px) and (orientation: landscape) {
    .hero-section {
        min-height: 100vh;
    }
    
    .hero-content {
        padding-top: 20px;
        padding-bottom: 20px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-features {
        display: none;
    }
}

/* Print styles */
@media print {
    /* Esconder elementos desnecessários */
    .header,
    .menu-toggle,
    .hero-section,
    .banner-section,
    .depoimentos-section,
    .whatsapp-float,
    .cookie-notice,
    #preloader {
        display: none !important;
    }
    
    /* Ajustar layout para impressão */
    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
        background: #fff;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
    
    .section-title {
        font-size: 18pt;
        margin-bottom: 10pt;
    }
    
    /* Garantir quebras de página apropriadas */
    section {
        page-break-inside: avoid;
    }
    
    /* Links visíveis */
    a[href]:after {
        content: " (" attr(href) ")";
    }
    
    /* Remover cores de fundo */
    .servico-card,
    .stat-item,
    .contato-form {
        background: none;
        border: 1px solid #ddd;
    }
}

/* Acessibilidade - Alto contraste */
@media (prefers-contrast: high) {
    :root {
        --cor-primaria: #1B5E20;
        --cor-secundaria: #0D47A1;
        --cor-texto: #000000;
        --cor-texto-claro: #333333;
        --cor-fundo: #FFFFFF;
    }
    
    .btn {
        border: 2px solid currentColor;
    }
}

/* Modo escuro */
@media (prefers-color-scheme: dark) {
    :root {
        --cor-fundo: #121212;
        --cor-texto: #E0E0E0;
        --cor-texto-claro: #B0B0B0;
        --cor-branco: #1E1E1E;
    }
    
    .header {
        background: #1E1E1E;
    }
    
    .servico-card,
    .depoimento-card,
    .contato-form {
        background: #1E1E1E;
    }
    
    input,
    select,
    textarea {
        background: #2C2C2C;
        color: #E0E0E0;
        border-color: #444;
    }
}

/* Animações reduzidas */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .scroll-indicator {
        display: none;
    }
} 