/* Estilos da página inicial.
   Estava embutido na view. */

section#categorias .bento-grid {
            align-items: start;
        }

        section#categorias .bento-grid > .card {
            align-self: start;
            height: auto;
        }

        /* Reset e variáveis críticas */
        :root {
            --azul-primario: #003366;
            --azul-secundario: #111D69;
            --vermelho-primario: #eb3835;
            --branco: #ffffff;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            line-height: 1.6;
            color: #333;
            background: #fff;
        }
        
        /* Header crítico */
        header {
            position: fixed;
            top: 0;
            width: 100%;
            z-index: 1000;
            background: #111D69;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }
        
        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 5%;
            max-width: 1400px;
            margin: 0 auto;
        }
        
        .logo img {
            height: 50px;
            width: auto;
        }
        
        .skip-link {
            position: absolute;
            left: -9999px;
            width: 1px;
            height: 1px;
            overflow: hidden;
            background: var(--azul-secundario);
            color: white;
            padding: 8px 16px;
            text-decoration: none;
            z-index: 10001;
            font-weight: bold;
        }
        .skip-link:focus {
            position: absolute;
            left: 0;
            top: 0;
            width: auto;
            height: auto;
        }
        
        /* Carrossel de Banners Fullscreen */
        .banner-carousel {
            position: relative;
            width: 100%;
            height: auto;
            overflow: hidden;
            background: #f8f9fa;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0;
        }

        section#home.banner-carousel {
            height: auto !important;
            min-height: 0 !important;
        }
        
        .banner-slides {
            position: relative;
            width: 100%;
            max-width: 1400px;
            margin: 0 auto;
            aspect-ratio: 21 / 9;
            overflow: hidden;
        }
        
        /* Estilos desktop */
        @media (min-width: 769px) {
            .banner-carousel {
                background: transparent;
                padding: 0 20px;
                margin-top: 80px !important;
            }
            
            .banner-slides {
                border-radius: 20px;
                box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
            }
        }
        
        .banner-slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            transition: opacity 0.8s ease-in-out;
            z-index: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            pointer-events: none;
        }

        .banner-slide.active {
            opacity: 1;
            z-index: 2;
            pointer-events: auto;
        }

        .banner-slide-link,
        .banner-slide-media {
            display: block;
            width: 100%;
            height: 100%;
        }

        .banner-slide-link {
            cursor: pointer;
        }

        .banner-slide-link:focus-visible {
            outline: 4px solid rgba(255, 255, 255, 0.95);
            outline-offset: -4px;
        }

        .banner-slide img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            object-position: center;
        }
        
        /* Mostrar apenas imagem desktop por padrão */
        .banner-mobile {
            display: none;
        }
        
        .banner-desktop {
            display: block;
        }
        
        /* Indicadores */
        .banner-indicators {
            position: absolute;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 12px;
            z-index: 10;
        }
        
        .indicator {
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.5);
            border: 2px solid white;
            cursor: pointer;
            transition: all 0.3s ease;
            padding: 0;
        }
        
        .indicator.active {
            background: white;
        }
        
        .indicator:hover {
            background: rgba(255, 255, 255, 0.8);
        }
        
        /* Responsivo */
        @media (min-width: 769px) and (max-width: 1400px) {
            .banner-slides {
                max-width: 95%;
            }
        }
        
        @media (max-width: 768px) {
            .banner-carousel {
                width: 100%;
                height: auto;
                padding: 0;
                margin-top: 60px !important;
                background: transparent;
            }
            
            .banner-slides {
                position: relative;
                width: 100%;
                aspect-ratio: 7 / 6;
                overflow: hidden;
            }
            
            .banner-slide {
                position: absolute;
                width: 100%;
                height: 100%;
                top: 0;
                left: 0;
                opacity: 0;
                display: flex;
                align-items: center;
                justify-content: center;
                background: transparent;
            }
            
            .banner-slide.active {
                opacity: 1;
            }
            
            /* Trocar para imagem mobile */
            .banner-desktop {
                display: none !important;
            }
            
            .banner-mobile {
                display: block !important;
                width: 100%;
                height: 100%;
                object-fit: contain;
                object-position: center;
            }

            .banner-mobile.banner-mobile-fallback {
                object-fit: cover;
            }
            
            .banner-indicators {
                display: none !important;
            }

            .cta-socio-apoiador {
                display: none !important;
            }
        }
