/* ========================================
   RESPONSIVE BREAKPOINTS
   Sistema completo de media queries
   ======================================== */

/* Extra Small (320px - 480px) - Smartphones pequenos */
@media (max-width: 480px) {
    :root {
        --container-padding: 18px;
        --section-padding: 30px 0;
        --text-scale: 0.85;
    }
    
    .device-mobile .container {
        padding: 0 18px !important;
    }
    
    .device-mobile .section {
        padding: 30px 0 !important;
    }
    
    .device-mobile .hero {
        padding: 70px 0 30px !important;
    }
    
    .device-mobile .hero__title {
        font-size: clamp(1.5rem, 7vw, 1.875rem) !important;
        line-height: 1.1 !important;
        margin-bottom: 0.625rem !important;
    }
    
    .device-mobile .hero__subtitle {
        font-size: clamp(0.813rem, 3.5vw, 0.938rem) !important;
        margin-bottom: 1rem !important;
    }
    
    .device-mobile .hero__cta-group {
        gap: 0.75rem !important;
        margin-bottom: 1.25rem !important;
    }
    
    .device-mobile .hero__trust-badges {
        gap: 0.5rem !important;
    }
    
    .device-mobile .trust-badge {
        gap: 0.4rem !important;
        font-size: 0.75rem !important;
    }
    
    .device-mobile .trust-badge__icon {
        width: 18px !important;
        height: 18px !important;
        font-size: 9px !important;
    }
    
    .device-mobile .btn {
        padding: 0.625rem 1.25rem !important;
        font-size: 0.875rem !important;
    }
    
    .device-mobile .btn--large {
        padding: 0.875rem 1.5rem !important;
        font-size: 0.938rem !important;
    }
    
    .device-mobile .section__header {
        margin-bottom: 1rem !important;
    }
    
    .device-mobile .section__title {
        font-size: clamp(1.25rem, 5vw, 1.5rem) !important;
        margin-bottom: 0.5rem !important;
    }
    
    .device-mobile .section__subtitle {
        font-size: 0.813rem !important;
    }
    
    .device-mobile .beneficios__grid {
        gap: 0.75rem !important;
        margin-top: 1rem !important;
    }
    
    .device-mobile .benefit-card {
        padding: 0.875rem 0.625rem !important;
    }
    
    .device-mobile .benefit-card__icon {
        margin-bottom: 0.375rem !important;
    }
    
    .device-mobile .benefit-card__title {
        margin-bottom: 0.375rem !important;
    }
    
    .device-mobile .plan-card {
        padding: 1.25rem 0.875rem !important;
    }
    
    .device-mobile .carousel-btn {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    
    .device-mobile .carousel-dot {
        width: 12px;
        height: 12px;
        padding: 0;
    }
    
    .device-mobile .article-card__image {
        height: 160px !important;
    }
}

/* Small (481px - 640px) - Smartphones médios */
@media (min-width: 481px) and (max-width: 640px) {
    :root {
        --container-padding: 16px;
        --section-padding: 35px 0;
    }
    
    .device-mobile .container {
        padding: 0 16px !important;
    }
    
    .device-mobile .section {
        padding: 35px 0 !important;
    }
    
    .device-mobile .hero {
        padding: 75px 0 35px !important;
    }
    
    .device-mobile .hero__title {
        font-size: clamp(1.75rem, 7.5vw, 2rem) !important;
        margin-bottom: 0.75rem !important;
    }
    
    .device-mobile .hero__subtitle {
        font-size: clamp(0.875rem, 3.75vw, 1rem) !important;
        margin-bottom: 1.125rem !important;
    }
    
    .device-mobile .hero__cta-group {
        gap: 0.875rem !important;
        margin-bottom: 1.375rem !important;
    }
    
    .device-mobile .hero__trust-badges {
        gap: 0.625rem !important;
    }
    
    .device-mobile .trust-badge {
        gap: 0.5rem !important;
        font-size: 0.813rem !important;
    }
    
    .device-mobile .trust-badge__icon {
        width: 20px !important;
        height: 20px !important;
        font-size: 10px !important;
    }
    
    .device-mobile .btn {
        padding: 0.688rem 1.375rem !important;
        font-size: 0.938rem !important;
    }
    
    .device-mobile .btn--large {
        padding: 0.938rem 1.75rem !important;
        font-size: 1rem !important;
    }
    
    .device-mobile .section__header {
        margin-bottom: 1.125rem !important;
    }
    
    .device-mobile .section__title {
        font-size: clamp(1.375rem, 5.5vw, 1.75rem) !important;
        margin-bottom: 0.625rem !important;
    }
    
    .device-mobile .section__subtitle {
        font-size: 0.875rem !important;
    }
    
    .device-mobile .beneficios__grid {
        gap: 0.875rem !important;
        margin-top: 1.125rem !important;
    }
    
    .device-mobile .benefit-card {
        padding: 1rem 0.75rem !important;
    }
    
    .device-mobile .benefit-card__icon {
        margin-bottom: 0.5rem !important;
    }
    
    .device-mobile .benefit-card__title {
        margin-bottom: 0.5rem !important;
    }
    
    .device-mobile .plan-card {
        padding: 1.5rem 1rem !important;
    }
    
    .device-mobile .carousel-btn {
        width: 38px !important;
        height: 38px !important;
        font-size: 18px !important;
    }
    
    .device-mobile .article-card__image {
        height: 180px !important;
    }
}

/* Medium (641px - 768px) - Smartphones grandes/Tablets pequenos */
@media (min-width: 641px) and (max-width: 768px) {
    :root {
        --container-padding: 20px;
        --section-padding: 40px 0;
    }
    
    .device-mobile .container {
        padding: 0 20px !important;
    }
    
    .device-mobile .section {
        padding: 40px 0 !important;
    }
    
    .device-mobile .hero {
        padding: 80px 0 40px !important;
    }
    
    .device-mobile .hero__title {
        font-size: clamp(2rem, 8vw, 2.25rem) !important;
        margin-bottom: 0.875rem !important;
    }
    
    .device-mobile .hero__subtitle {
        font-size: clamp(0.938rem, 4vw, 1.063rem) !important;
        margin-bottom: 1.25rem !important;
    }
    
    .device-mobile .hero__cta-group {
        gap: 1rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .device-mobile .hero__trust-badges {
        gap: 0.75rem !important;
    }
    
    .device-mobile .trust-badge {
        gap: 0.625rem !important;
        font-size: 0.875rem !important;
    }
    
    .device-mobile .trust-badge__icon {
        width: 22px !important;
        height: 22px !important;
        font-size: 11px !important;
    }
    
    .device-mobile .btn {
        padding: 0.75rem 1.5rem !important;
        font-size: 1rem !important;
    }
    
    .device-mobile .btn--large {
        padding: 1rem 2rem !important;
        font-size: 1.063rem !important;
    }
    
    .device-mobile .section__header {
        margin-bottom: 1.25rem !important;
    }
    
    .device-mobile .section__title {
        font-size: clamp(1.5rem, 6vw, 2rem) !important;
        margin-bottom: 0.75rem !important;
    }
    
    .device-mobile .section__subtitle {
        font-size: 0.938rem !important;
    }
    
    .device-mobile .beneficios__grid {
        gap: 1rem !important;
        margin-top: 1.25rem !important;
    }
    
    .device-mobile .benefit-card {
        padding: 1.25rem 1rem !important;
    }
    
    .device-mobile .benefit-card__icon {
        margin-bottom: 0.625rem !important;
    }
    
    .device-mobile .benefit-card__title {
        margin-bottom: 0.625rem !important;
    }
    
    .device-mobile .plan-card {
        padding: 1.75rem 1.25rem !important;
    }
    
    .device-mobile .carousel-btn {
        width: 40px !important;
        height: 40px !important;
        font-size: 20px !important;
    }
    
    .device-mobile .article-card__image {
        height: 200px !important;
    }
}

/* Large (769px - 1024px) - Tablets */
@media (min-width: 769px) and (max-width: 1024px) {
    .device-desktop .container {
        max-width: 960px;
        padding: 0 40px;
    }
    
    .device-desktop .hero__title {
        font-size: clamp(2.5rem, 5vw, 3rem);
    }
    
    .device-desktop .section__title {
        font-size: clamp(2rem, 4vw, 2.5rem);
    }
    
    .device-desktop .beneficios__grid,
    .device-desktop .planos__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .device-desktop .viver-bem__carousel .carousel-track {
        gap: 1.5rem;
    }
}

/* Extra Large (1025px - 1440px) - Desktops */
@media (min-width: 1025px) and (max-width: 1440px) {
    .device-desktop .container {
        max-width: 1200px;
        padding: 0 60px;
    }
    
    .device-desktop .hero__title {
        font-size: clamp(3rem, 5vw, 4rem);
    }
    
    .device-desktop .section__title {
        font-size: clamp(2.25rem, 4vw, 3rem);
    }
}

/* XXL (1441px+) - Large Desktops */
@media (min-width: 1441px) {
    .device-desktop .container {
        max-width: 1400px;
        padding: 0 80px;
    }
    
    .device-desktop .hero__title {
        font-size: 4.5rem;
    }
    
    .device-desktop .section__title {
        font-size: 3.5rem;
    }
}

/* Landscape Mobile (altura < 500px) */
@media (max-height: 500px) and (orientation: landscape) {
    .device-mobile .hero {
        min-height: auto !important;
        padding: 60px 0 30px !important;
    }
    
    .device-mobile .section {
        padding: 25px 0 !important;
    }
    
    .device-mobile .hero__title {
        font-size: 1.5rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .device-mobile .hero__subtitle {
        font-size: 0.875rem !important;
        margin-bottom: 0.75rem !important;
    }
    
    .device-mobile .hero__cta-group {
        flex-direction: row !important;
        gap: 0.75rem !important;
        margin-bottom: 1rem !important;
    }
    
    .device-mobile .btn {
        padding: 0.5rem 1rem !important;
        font-size: 0.813rem !important;
    }
}

/* Ajustes para telas muito largas */
@media (min-width: 1920px) {
    .device-desktop .container {
        max-width: 1600px;
    }
}

/* Ajustes para telas 4K */
@media (min-width: 2560px) {
    .device-desktop .container {
        max-width: 2000px;
    }
    
    .device-desktop .hero__title {
        font-size: 6rem;
    }
    
    .device-desktop .section__title {
        font-size: 4.5rem;
    }
}
