/* Responsividade - Mobile First */

/* Tablet e dispositivos menores (max-width: 1024px) */
@media (max-width: 1024px) {
    :root {
        --font-size-6xl: 3rem;        /* 48px */
        --font-size-5xl: 2.5rem;      /* 40px */
        --font-size-4xl: 2rem;        /* 32px */
        --font-size-3xl: 1.75rem;     /* 28px */
    }

    .container {
        --container-padding: 1.25rem;
    }

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

    .hero-title {
        font-size: 2.5rem;
    }

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

    .hero-text {
        max-width: 100%;
    }

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

    .hero-image {
        order: -1;
        max-width: 400px;
        margin: 0 auto;
    }

    /* About Section */
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-text {
        max-width: 100%;
    }

    .about-image {
        max-width: 500px;
        margin: 0 auto;
    }

    /* Differentials */
    .differentials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Features */
    .feature-item,
    .feature-item-reverse {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .feature-item-reverse .feature-image,
    .feature-item-reverse .feature-text {
        order: unset;
    }

    /* Clients */
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

    /* Scroll to Top Button */
    .scroll-to-top {
        width: 68px;
        height: 68px;
        bottom: 1.5rem;
        right: 1.5rem;
    }

    .scroll-progress-ring {
        width: 68px;
        height: 68px;
    }

    .scroll-progress-ring-circle-bg,
    .scroll-progress-ring-circle {
        r: 31;
        cx: 34;
        cy: 34;
    }

    .scroll-progress-ring-circle {
        stroke-dasharray: 194.778; /* 2 * PI * 31 */
        stroke-dashoffset: 194.778;
    }

    .scroll-arrow {
        width: 16px;
        height: 16px;
    }

    .scroll-percentage {
        font-size: 12px;
    }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    :root {
        --font-size-6xl: 2.5rem;      /* 40px */
        --font-size-5xl: 2rem;        /* 32px */
        --font-size-4xl: 1.75rem;     /* 28px */
        --font-size-3xl: 1.5rem;      /* 24px */
        --spacing-3xl: 4rem;          /* 64px */
        --spacing-4xl: 5rem;          /* 80px */
    }

    /* Navigation */
    .nav {
        padding: 0.625rem var(--container-padding);
    }

    .nav-logo .logo {
        height: 60px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 78px;
        left: 0;
        right: 0;
        background: rgba(20, 20, 20, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transform: translateX(100%);
        transition: transform var(--transition-base);
        border-top: 1px solid rgba(114, 221, 191, 0.1);
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-link {
        font-size: var(--font-size-base);
    }

    .nav-link::after {
        display: none;
    }

    /* Hero */
    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }

    .hero-title {
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: var(--font-size-lg);
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .hero-scroll {
        display: none;
    }

    /* Section Spacing */
    section {
        padding: var(--spacing-3xl) 0;
    }

    .section-header {
        margin-bottom: var(--spacing-xl);
    }

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

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-image {
        max-width: 350px;
    }

    /* About Stats */
    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* Differentials */
    .differentials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .differential-card {
        padding: 2rem;
    }

    /* Features */
    .features-content {
        gap: 4rem;
    }

    .feature-title {
        font-size: var(--font-size-2xl);
    }

    .feature-description {
        font-size: var(--font-size-base);
    }

    /* Clients */
    .clients-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* CTA Final */
    .cta-title {
        font-size: var(--font-size-3xl);
    }

    .cta-description {
        font-size: var(--font-size-lg);
    }

    .cta-logo-large {
        width: 350px;
        right: -50px;
    }

    /* Footer */
    .footer-links {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Scroll to Top Button */
    .scroll-to-top {
        width: 64px;
        height: 64px;
        bottom: 1.25rem;
        right: 1.25rem;
    }

    .scroll-progress-ring {
        width: 64px;
        height: 64px;
    }

    .scroll-progress-ring-circle-bg,
    .scroll-progress-ring-circle {
        r: 29;
        cx: 32;
        cy: 32;
    }

    .scroll-progress-ring-circle {
        stroke-dasharray: 182.212; /* 2 * PI * 29 */
        stroke-dashoffset: 182.212;
    }

    .scroll-arrow {
        width: 15px;
        height: 15px;
    }

    .scroll-percentage {
        font-size: 11px;
    }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
    :root {
        --font-size-6xl: 2rem;        /* 32px */
        --font-size-5xl: 1.75rem;     /* 28px */
        --font-size-4xl: 1.5rem;      /* 24px */
        --container-padding: 1rem;
    }

    .nav {
        padding: 0.5rem var(--container-padding);
    }

    .nav-logo .logo {
        height: 55px;
    }

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

    .hero-image {
        max-width: 300px;
    }

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

    .btn {
        padding: 0.875rem 1.5rem;
        font-size: var(--font-size-sm);
    }

    .btn-large {
        padding: 1rem 2rem;
        font-size: var(--font-size-base);
    }

    .differential-card {
        padding: 1.5rem;
    }

    .card-icon {
        width: 56px;
        height: 56px;
    }

    .feature-list li {
        font-size: var(--font-size-sm);
    }

    .cta-title {
        font-size: var(--font-size-2xl);
    }

    .cta-logo-bg {
        display: none;
    }

    /* Scroll to Top Button */
    .scroll-to-top {
        width: 60px;
        height: 60px;
        bottom: 1rem;
        right: 1rem;
    }

    .scroll-progress-ring {
        width: 60px;
        height: 60px;
    }

    .scroll-progress-ring-circle-bg,
    .scroll-progress-ring-circle {
        r: 27;
        cx: 30;
        cy: 30;
    }

    .scroll-progress-ring-circle {
        stroke-dasharray: 169.646; /* 2 * PI * 27 */
        stroke-dashoffset: 169.646;
    }

    .scroll-arrow {
        width: 14px;
        height: 14px;
    }

    .scroll-percentage {
        font-size: 10px;
    }
}

/* Large Screens (min-width: 1400px) */
@media (min-width: 1400px) {
    :root {
        --container-max-width: 1400px;
    }

    .hero-title {
        font-size: 3.5rem;
    }

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

    .cta-logo-large {
        width: 600px;
        right: -120px;
    }

    .footer-logo {
        height: 80px;
    }
}

/* Landscape Mobile */
@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 100px 0 40px;
    }

    .hero-scroll {
        display: none;
    }

    section {
        padding: var(--spacing-xl) 0;
    }
}

/* 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-indicator {
        animation: none;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .differential-card,
    .client-logo {
        border-width: 2px;
    }

    .nav-link::after {
        height: 3px;
    }
}

/* Dark Mode Support (já está em dark por padrão) */
@media (prefers-color-scheme: light) {
    /* Caso queira suporte futuro para light mode */
}

