/* Responsividade para diferentes resoluções */

/* Large Desktop (1200px+) */
@media (min-width: 1200px) {
    .hero-content {
        gap: 6rem;
    }
    
    .brand-name {
        font-size: 4rem;
    }
    
    .hero-subtitle {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
}

/* Desktop (769px - 1199px) */
@media (min-width: 769px) and (max-width: 1199px) {
    .container {
        padding: 0 1.5rem;
    }

    .nav-container {
        padding: 0 1.5rem;
    }

    .hero-graphic {
        width: 350px;
        height: 350px;
    }

    .channels-diagram,
    .ecosystem-diagram {
        width: 350px;
        height: 350px;
    }
}

/* Mobile (até 768px) */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
        backdrop-filter: blur(10px);
    }

    .nav-menu.active {
        display: flex;
        animation: slideDown 0.3s ease-out;
    }

    .nav-menu li {
        padding: 0;
    }

    .nav-menu a {
        display: block;
        padding: 1rem 2rem;
        border-left: 3px solid transparent;
        transition: all 0.3s ease;
        color: var(--dark-gray);
        text-shadow: none;
    }

    .nav-menu a:hover {
        background: var(--light-blue);
        border-left-color: var(--primary-blue);
        padding-left: 2.5rem;
        color: var(--primary-blue);
    }

    .nav-menu a::after {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .hero {
        padding: 100px 0 60px 0;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .brand-name {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .about-content,
    .channels-content,
    .differential-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .footer-logo-img {
        max-width: 70%;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .link-group ul {
        align-items: center;
    }

    .contact-buttons {
        align-items: center;
        width: 100%;
    }

    .footer-contact-btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Mobile Large (576px - 767px) - Mantido para compatibilidade */
@media (max-width: 767px) {
    .container {
        padding: 0 1rem;
    }
    
    .nav-container {
        padding: 0 1rem;
        height: 70px;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .hero {
        padding: 90px 0 50px 0;
    }
    
    .brand-name {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .hero-graphic {
        width: 280px;
        height: 280px;
    }
    
    .central-hub {
        width: 80px;
        height: 80px;
    }
    
    .central-hub i {
        width: 28px;
        height: 28px;
    }
    
    .erp-text {
        font-size: 0.75rem;
    }
    
    .floating-card {
        width: 80px;
        height: 65px;
    }
    
    .floating-card i {
        width: 20px;
        height: 20px;
    }
    
    .floating-card span {
        font-size: 0.625rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .benefit-card {
        padding: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        padding: 1.5rem;
    }
    
    .channels-diagram,
    .ecosystem-diagram {
        width: 280px;
        height: 280px;
    }
    
    .channel-center,
    .ecosystem-center {
        width: 100px;
        height: 100px;
    }
    
    .channel-center i,
    .ecosystem-center i {
        width: 28px;
        height: 28px;
    }
    
    .channel-node {
        width: 60px;
        height: 60px;
    }
    
    .channel-node i {
        width: 18px;
        height: 18px;
    }
    
    .ecosystem-orbit {
        width: 240px;
        height: 240px;
    }
    
    .orbit-item {
        width: 50px;
        height: 50px;
    }
    
    .orbit-item i {
        width: 16px;
        height: 16px;
    }
    
    .contact-form {
        gap: 1rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.875rem;
    }
    
    .contact-methods {
        gap: 1rem;
    }
    
    .contact-method {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .btn-whatsapp {
        position: static;
        transform: none;
        margin-top: 0.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-header {
        margin-bottom: 2.5rem;
    }
}

/* Mobile Small (até 575px) */
@media (max-width: 575px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .nav-container {
        padding: 0 0.75rem;
    }
    
    .hero {
        padding: 80px 0 40px 0;
    }
    
    .brand-name {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .hero-graphic {
        width: 240px;
        height: 240px;
    }
    
    .central-hub {
        width: 70px;
        height: 70px;
    }
    
    .central-hub i {
        width: 24px;
        height: 24px;
    }
    
    .erp-text {
        font-size: 0.625rem;
    }
    
    .floating-card {
        width: 65px;
        height: 50px;
    }
    
    .floating-card i {
        width: 16px;
        height: 16px;
    }
    
    .floating-card span {
        font-size: 0.5rem;
    }
    
    .benefit-card {
        padding: 1.25rem;
    }
    
    .benefit-icon {
        width: 50px;
        height: 50px;
    }
    
    .benefit-icon i {
        width: 24px;
        height: 24px;
    }
    
    .stat-card {
        padding: 1.25rem;
    }
    
    .stat-icon {
        width: 50px;
        height: 50px;
    }
    
    .stat-icon i {
        width: 24px;
        height: 24px;
    }
    
    .stat-content h3 {
        font-size: 1.5rem;
    }
    
    .channels-diagram,
    .ecosystem-diagram {
        width: 240px;
        height: 240px;
    }
    
    .channel-center,
    .ecosystem-center {
        width: 80px;
        height: 80px;
    }
    
    .channel-center i,
    .ecosystem-center i {
        width: 24px;
        height: 24px;
    }
    
    .channel-node {
        width: 50px;
        height: 50px;
    }
    
    .channel-node i {
        width: 16px;
        height: 16px;
    }
    
    .ecosystem-orbit {
        width: 200px;
        height: 200px;
    }
    
    .orbit-item {
        width: 40px;
        height: 40px;
    }
    
    .orbit-item i {
        width: 14px;
        height: 14px;
    }
    
    .contact-method {
        padding: 0.875rem;
    }
    
    .method-icon {
        width: 40px;
        height: 40px;
    }
    
    .method-icon i {
        width: 16px;
        height: 16px;
    }
    
    .method-content h4 {
        font-size: 1rem;
    }
    
    .btn-whatsapp {
        padding: 0.625rem 0.875rem;
        font-size: 0.875rem;
    }
    
    section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
}

/* Landscape Mobile */
@media (max-width: 767px) and (orientation: landscape) {
    .hero {
        padding: 70px 0 40px 0;
    }
    
    .hero-content {
        gap: 2rem;
    }
    
    .hero-graphic {
        width: 200px;
        height: 200px;
    }
    
    .channels-diagram,
    .ecosystem-diagram {
        width: 200px;
        height: 200px;
    }
    
    section {
        padding: 40px 0;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-graphic,
    .channels-diagram,
    .ecosystem-diagram {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Print Styles */
@media print {
    .header,
    .nav-toggle,
    .btn-primary,
    .btn-secondary,
    .btn-whatsapp,
    .contact-form {
        display: none !important;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .hero-visual {
        display: none;
    }
    
    section {
        padding: 1.5rem 0;
        break-inside: avoid;
    }
    
    .benefit-card,
    .stat-card,
    .contact-method {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid var(--border-gray);
    }
    
    body {
        background: white;
        color: black;
    }
    
    .section-title {
        color: black;
    }
}

/* Accessibility */
@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;
    }
    
    .floating-card,
    .central-hub,
    .ecosystem-orbit {
        animation: none !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --border-gray: #666;
        --medium-gray: #333;
        --light-gray: #f5f5f5;
    }
    
    .benefit-card,
    .stat-card,
    .contact-method {
        border: 2px solid var(--border-gray);
    }
    
    .btn-primary,
    .btn-secondary {
        border: 2px solid currentColor;
    }
}

