/* ========================================
   CSS RESPONSIVO - MEDIA QUERIES
======================================== */

/* Tablets em modo paisagem e desktops pequenos */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-main-title {
        font-size: 3rem;
    }
    
    .sobre-grid {
        gap: 3rem;
    }
    
    .contato-grid {
        gap: 3rem;
    }
    
    .servicos-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

/* Tablets em modo retrato */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 2rem;
        transition: var(--transition);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .nav-link {
        font-size: 1.2rem;
        padding: 1rem 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    /* Hero Section */
    .hero-main-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-description {
        font-size: 1.2rem;
    }
    
    .hero-paragraph {
        font-size: 1rem;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 1.5rem;
    }
    
    /* Seções */
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
    
    .section-header {
        margin-bottom: 3rem;
    }
    
    .sobre-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .sobre-image {
        order: -1;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    /* Serviços */
    .servicos-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .servicos-features {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    /* Depoimentos */
    .carousel-navigation {
        padding: 0 -30px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
    }
    
    .depoimento-author {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .author-info {
        text-align: center;
    }
    
    /* Contato */
    .contato-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .info-card {
        flex-direction: column;
        text-align: center;
    }
    
    .mapa-overlay {
        position: relative;
        top: auto;
        left: auto;
        margin-top: 1rem;
        max-width: none;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 2rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    /* Cookie Banner */
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    /* WhatsApp Float */
    .whatsapp-float {
        bottom: 1rem;
        right: 1rem;
    }
    
    .whatsapp-float-btn {
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-tooltip {
        display: none;
    }
}

/* Smartphones */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    /* Header */
    .nav-container {
        padding: 0 15px;
    }
    
    .logo-text {
        font-size: 1.5rem;
    }
    
    .logo-subtitle {
        font-size: 0.7rem;
    }
    
    /* Promo Banner */
    .promo-content {
        padding: 0 15px;
    }
    
    .promo-text {
        font-size: 0.85rem;
    }
    
    /* Hero */
    .hero-main-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-paragraph {
        font-size: 0.95rem;
    }
    
    .feature-badge {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }
    
    .btn-lg {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    .hero-stats {
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    /* Seções */
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.25rem; }
    h4 { font-size: 1.125rem; }
    
    .section-header {
        margin-bottom: 2.5rem;
    }
    
    .section-title::after {
        width: 40px;
    }
    
    /* Sobre */
    .valor-item {
        padding: 0.75rem;
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .valor-icon {
        width: 40px;
        height: 40px;
        margin: 0 auto;
    }
    
    .sobre-cta {
        padding: 2rem 1.5rem;
    }
    
    /* Serviços */
    .servico-card {
        padding: 2rem 1.5rem;
    }
    
    .servico-icon {
        width: 60px;
        height: 60px;
        margin: 0 auto 1rem;
    }
    
    .servico-content {
        text-align: center;
    }
    
    .servico-list {
        text-align: left;
        max-width: 280px;
        margin: 1.5rem auto;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
    }
    
    .cta-box {
        padding: 2rem 1.5rem;
    }
    
    /* Depoimentos */
    .depoimento-card {
        padding: 2rem 1.5rem;
    }
    
    .depoimento-text {
        font-size: 1rem;
    }
    
    .carousel-navigation {
        display: none;
    }
    
    .stat-card {
        padding: 1.5rem 1rem;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .stat-icon {
        margin-bottom: 0.75rem;
    }
    
    .cta-testimonials {
        padding: 2rem 1.5rem;
    }
    
    /* Contato */
    .info-card {
        padding: 1.5rem;
        gap: 0.75rem;
    }
    
    .info-icon {
        width: 50px;
        height: 50px;
        margin: 0 auto;
    }
    
    .form-card {
        padding: 2rem 1.5rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px;
    }
    
    .horario-funcionamento {
        padding: 1.5rem;
    }
    
    .horario-item {
        flex-direction: column;
        gap: 0.25rem;
        text-align: center;
    }
    
    /* Footer */
    .footer {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-links {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-contact {
        align-items: center;
    }
    
    .contact-item {
        justify-content: center;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .separator {
        display: none;
    }
}

/* Smartphones pequenos */
@media (max-width: 360px) {
    .hero-main-title {
        font-size: 1.75rem;
    }
    
    .hero-features {
        gap: 0.75rem;
    }
    
    .feature-badge {
        padding: 0.5rem;
        font-size: 0.8rem;
    }
    
    .feature-badge svg {
        width: 16px;
        height: 16px;
    }
    
    .btn-lg {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
    
    .servico-card,
    .form-card,
    .depoimento-card {
        padding: 1.5rem 1rem;
    }
    
    .info-card {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .depoimento-text {
        font-size: 0.95rem;
    }
}

/* Melhorias para modo landscape em smartphones */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        min-height: auto;
        padding: 100px 0 60px;
    }
    
    .hero-main-title {
        font-size: 2rem;
        margin-bottom: 0.25rem;
    }
    
    .hero-subtitle,
    .hero-description {
        font-size: 0.95rem;
    }
    
    .hero-paragraph {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .hero-features {
        margin-bottom: 1.5rem;
    }
    
    .hero-stats {
        margin-top: 1.5rem;
    }
    
    .hero-scroll-indicator {
        display: none;
    }
}

/* Melhorias para impressão */
@media print {
    .header,
    .promo-banner,
    .whatsapp-float,
    .cookie-banner,
    .carousel-navigation,
    .carousel-indicators {
        display: none !important;
    }
    
    .hero-section {
        padding-top: 0;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
    }
    
    .servico-card,
    .info-card,
    .depoimento-card {
        page-break-inside: avoid;
    }
}

/* Animações para dispositivos que preferem movimento reduzido */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero-scroll-indicator {
        animation: none;
    }
    
    .whatsapp-float-btn {
        animation: none;
    }
}

/* Modo escuro - para dispositivos que preferem esquema escuro */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-color: #1a1a1a;
        --text-color: #e0e0e0;
        --white: #2d2d2d;
        --gray-light: #3a3a3a;
        --gray-medium: #b0b0b0;
        --secondary-color: #4a5568;
    }
    
    .header {
        background: rgba(45, 45, 45, 0.95);
    }
    
    .nav-menu {
        background: rgba(45, 45, 45, 0.98);
    }
    
    .servico-card,
    .info-card,
    .form-card,
    .depoimento-card {
        background: var(--white);
        color: var(--text-color);
    }
} 