/* ============================================
   AGÊNCIA WK - LANDING PAGE
   CSS Responsivo - Media Queries
   Mobile-First Approach
   ============================================ */

/* Tablet Portrait (768px - 1024px) */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .benefits-grid,
    .results-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .expertise-grid,
    .guarantees-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .methodology-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }
    
    .timeline-item:nth-child(2n) {
        border-left: 2px solid var(--yellow-primary);
        padding-left: var(--spacing-md);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Landscape (481px - 768px) */
@media (max-width: 768px) {
    :root {
        --spacing-xl: 4rem;
        --spacing-lg: 3rem;
    }
    
    .container {
        padding: 0 var(--spacing-md);
    }
    
    /* Hero Mobile */
    .hero-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
        text-align: center;
    }
    
    .hero-content {
        order: 2;
    }
    
    .hero-image {
        order: 1;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        max-width: 100%;
    }
    
    .hero-logo {
        display: flex;
        justify-content: center;
    }
    
    .logo-img {
        max-width: 150px;
    }
    
    /* About Mobile */
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-text h2 {
        text-align: center;
    }
    
    .about-img {
        height: 350px;
    }
    
    /* Benefits Mobile */
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .benefit-card {
        padding: var(--spacing-md);
    }
    
    /* Results Mobile */
    .results-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
    }
    
    .result-number {
        font-size: 2.5rem;
    }
    
    .result-label {
        font-size: 1rem;
    }
    
    /* Expertise & Guarantees Mobile */
    .expertise-grid,
    .guarantees-grid {
        grid-template-columns: 1fr;
    }
    
    /* Methodology Mobile */
    .methodology-timeline {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .timeline-item {
        position: relative;
        padding-left: var(--spacing-lg);
    }
    
    .timeline-item:not(:last-child)::after {
        content: '';
        position: absolute;
        left: 40px;
        bottom: -20px;
        width: 2px;
        height: 30px;
        background: var(--yellow-primary);
    }
    
    .timeline-number {
        position: absolute;
        left: 0;
    }
    
    .timeline-content {
        text-align: left;
        padding-left: var(--spacing-md);
    }
    
    /* Offer Mobile */
    .offer-content {
        grid-template-columns: 1fr;
    }
    
    .offer-text h2 {
        text-align: center;
    }
    
    .contact-form {
        padding: var(--spacing-md);
    }
    
    /* Numbers Mobile */
    .numbers-grid {
        grid-template-columns: 1fr;
    }
    
    /* Footer Mobile */
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .footer-cta h3 {
        font-size: 1.5rem;
    }
    
    .footer-cta p {
        font-size: 1rem;
    }
    
    .footer-cta .cta-button {
        width: 100%;
        justify-content: center;
    }
    
    .social-icons {
        justify-content: center;
    }
}

/* Mobile Portrait (320px - 480px) */
@media (max-width: 480px) {
    :root {
        --spacing-xl: 3rem;
        --spacing-lg: 2rem;
        --spacing-md: 1.5rem;
    }
    
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    /* Typography Mobile */
    .hero-title {
        font-size: 2rem;
        line-height: 1.1;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .section-intro {
        font-size: 1rem;
    }
    
    /* CTA Buttons Mobile */
    .cta-button {
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .cta-large {
        padding: 1.2rem 2rem;
        font-size: 1rem;
    }
    
    /* Hero Mobile Small */
    .hero-container {
        padding: var(--spacing-lg) var(--spacing-sm);
    }
    
    .hero-title {
        margin-bottom: var(--spacing-sm);
    }
    
    .hero-subtitle {
        margin-bottom: var(--spacing-md);
    }
    
    .hero-cta {
        width: 100%;
        justify-content: center;
    }
    
    .trust-badge {
        font-size: 0.85rem;
        justify-content: center;
    }
    
    /* About Mobile Small */
    .about-img {
        height: 280px;
    }
    
    .highlight-item {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-sm);
    }
    
    .highlight-item i {
        font-size: 1.5rem;
    }
    
    .highlight-item h3 {
        font-size: 1.1rem;
    }
    
    /* Benefits Mobile Small */
    .benefit-icon {
        width: 60px;
        height: 60px;
    }
    
    .benefit-icon i {
        font-size: 1.5rem;
    }
    
    .benefit-card h3 {
        font-size: 1.1rem;
    }
    
    /* Results Mobile Small */
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .result-number {
        font-size: 2rem;
    }
    
    /* Expertise & Guarantees Mobile Small */
    .expertise-card i,
    .guarantee-item i {
        font-size: 2.5rem;
    }
    
    .expertise-card h4,
    .guarantee-item h4 {
        font-size: 1.1rem;
    }
    
    /* Methodology Mobile Small */
    .timeline-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .timeline-content h4 {
        font-size: 1.1rem;
    }
    
    .timeline-content p {
        font-size: 0.9rem;
    }
    
    /* Offer Mobile Small */
    .offer-text h2 {
        font-size: 2rem;
    }
    
    .offer-benefits {
        margin: var(--spacing-md) 0;
    }
    
    .offer-item {
        font-size: 0.95rem;
    }
    
    .urgency-badge {
        padding: var(--spacing-sm);
        font-size: 0.9rem;
    }
    
    /* Form Mobile Small */
    .form-group input,
    .form-group textarea {
        padding: 0.9rem;
        font-size: 0.95rem;
    }
    
    .contact-form {
        padding: var(--spacing-sm);
    }
    
    /* Numbers Mobile Small */
    .number-icon {
        width: 70px;
        height: 70px;
    }
    
    .number-icon i {
        font-size: 2rem;
    }
    
    .number-value {
        font-size: 2.5rem;
    }
    
    .number-label {
        font-size: 1.1rem;
    }
    
    /* FAQ Mobile Small */
    .faq-question {
        font-size: 1rem;
        padding: var(--spacing-sm);
    }
    
    .faq-answer p {
        padding: 0 var(--spacing-sm) var(--spacing-sm);
        font-size: 0.95rem;
    }
    
    .faq-cta p {
        font-size: 1.1rem;
    }
    
    /* Footer Mobile Small */
    .footer-logo {
        max-width: 120px;
    }
    
    .footer-links h4,
    .footer-contact h4,
    .footer-social h4 {
        font-size: 1.1rem;
    }
    
    .footer-cta h3 {
        font-size: 1.3rem;
    }
    
    .footer-cta .cta-button {
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .social-icons a {
        width: 40px;
        height: 40px;
    }
    
    .footer-bottom p {
        font-size: 0.85rem;
    }
}

/* Extra Small Devices (max-width: 320px) */
@media (max-width: 320px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .cta-button {
        padding: 0.9rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .result-number,
    .number-value {
        font-size: 1.8rem;
    }
    
    .hero-cta span {
        display: none;
    }
    
    .hero-cta i {
        margin: 0;
    }
}

/* Landscape Orientation */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        min-height: auto;
        padding: var(--spacing-lg) 0;
    }
    
    .hero-container {
        padding: var(--spacing-md);
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
}

/* Print Styles */
@media print {
    .hero-section,
    .footer-section,
    .offer-section,
    .faq-section {
        page-break-after: always;
    }
    
    .cta-button {
        display: none;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-img,
    .about-img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .fade-in {
        opacity: 1;
        transform: none;
    }
}

/* Dark Mode Support (Auto) */
@media (prefers-color-scheme: dark) {
    /* Já estamos em modo escuro, então não há mudanças necessárias */
    /* Mantido para consistência futura se houver tema claro */
}

