/* ===================================
   AMEDIS - Estilos Responsivos
   Media Queries e Adaptações Mobile
   =================================== */

/* ===== MOBILE MENU ===== */
@media (max-width: 768px) {
    .glass-effect {
        background: rgba(255, 255, 255, 0.98);
    }
    
    button,
    a,
    .btn-primary {
        min-height: 44px;
        min-width: 44px;
    }
}

/* ===== HERO SECTION RESPONSIVE ===== */
@media (max-width: 768px) {
    .slide-title {
        font-size: 2rem;
    }
    
    .slide-description {
        font-size: 1rem;
    }
    
    .slide-control {
        width: 40px;
        height: 40px;
    }
    
    .slide-control.prev {
        left: 1rem;
    }
    
    .slide-control.next {
        right: 1rem;
    }
    
    .slide-indicators {
        bottom: 1rem;
    }
    
    .video-modal-close {
        top: -2.5rem;
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 480px) {
    .slide-title {
        font-size: 1.5rem;
    }
    
    .slide-description {
        font-size: 0.875rem;
    }
    
    .slide-cta {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

/* ===== SERVICE CARDS RESPONSIVE ===== */
@media (max-width: 768px) {
    .service-card {
        padding: 2rem;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
    }
    
    .service-icon i {
        font-size: 2rem;
    }
    
    .service-title {
        font-size: 1.25rem;
    }
    
    .service-description {
        font-size: 0.9375rem;
    }
    
    section {
        padding: 3rem 1rem;
    }
}

@media (max-width: 480px) {
    .service-card {
        padding: 1.5rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
    }
    
    .service-icon i {
        font-size: 1.75rem;
    }
}

/* ===== ATUAÇÃO SECTION RESPONSIVE ===== */
@media (max-width: 1024px) {
    #atuacao .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    #atuacao h2 {
        font-size: 2rem;
    }
    
    #atuacao .stat-number {
        font-size: 2rem;
    }
    
    #atuacao .stat-label {
        font-size: 0.875rem;
    }
    
    #atuacao img:last-child {
        width: 120px;
        bottom: -4rem;
        right: -2rem;
    }
}

@media (max-width: 480px) {
    #atuacao h2 {
        font-size: 1.75rem;
    }
    
    #atuacao p {
        font-size: 1rem;
    }
    
    #atuacao .stat-number {
        font-size: 1.75rem;
    }
    
    #atuacao img:last-child {
        width: 100px;
    }
}

/* ===== PARTNER CARDS RESPONSIVE ===== */
@media (max-width: 768px) {
    .partner-card h3 {
        font-size: 1.5rem;
    }
    
    .partner-card .h-64 {
        height: 200px;
    }
    
    .flex-1.overflow-y-auto {
        min-height: 150px;
    }
}

@media (max-width: 480px) {
    .partner-card h3 {
        font-size: 1.25rem;
    }
    
    .partner-card p {
        font-size: 0.875rem;
    }
}

/* ===== CTA SECTION RESPONSIVE ===== */
@media (max-width: 768px) {
    #cta-associado h2 {
        font-size: 2.5rem;
    }
    
    #cta-associado p {
        font-size: 1rem;
    }
    
    #cta-associado .grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    #cta-associado h2 {
        font-size: 2rem;
    }
    
    #cta-associado .text-lg {
        font-size: 1rem;
    }
    
    #cta-associado a {
        font-size: 1rem;
        padding: 0.875rem 1.5rem;
    }
}

/* ===== BREAKPOINTS ADICIONAIS ===== */

/* Extra Small Devices (320px - 374px) */
@media (min-width: 320px) and (max-width: 374px) {
    body {
        font-size: 14px;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    section {
        padding: 2.5rem 0.75rem;
    }
    
    h1, .slide-title {
        font-size: 1.5rem !important;
    }
    
    h2 {
        font-size: 1.75rem !important;
    }
    
    h3 {
        font-size: 1.25rem !important;
    }
}

/* Small Devices (375px - 767px) */
@media (min-width: 375px) and (max-width: 767px) {
    .container {
        padding: 0 1.25rem;
    }
    
    .slide-title {
        font-size: 2rem;
    }
    
    .service-card,
    .partner-card {
        padding: 1.75rem;
    }
}

/* Tablets (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .container {
        max-width: 720px;
    }
    
    .slide-title {
        font-size: 3rem;
    }
    
    .grid {
        gap: 1.5rem;
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }
}

/* Desktop (1024px - 1439px) */
@media (min-width: 1024px) and (max-width: 1439px) {
    .container {
        max-width: 1024px;
    }
    
    .slide-title {
        font-size: 3.5rem;
    }
}

/* Large Desktop (1440px+) */
@media (min-width: 1440px) {
    .container {
        max-width: 1440px;
    }
    
    .slide-title {
        font-size: 4.5rem;
    }
    
    .slide-description {
        font-size: 1.5rem;
        max-width: 900px;
    }
    
    section {
        padding: 6rem 1.5rem;
    }
}

/* Extra Large Desktop (1920px+) */
@media (min-width: 1920px) {
    .container {
        max-width: 1600px;
    }
    
    .slide-title {
        font-size: 5rem;
    }
}

/* ===== ACESSIBILIDADE ===== */
@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;
    }
    
    .slide-image {
        transform: none !important;
    }
}
