/* ==========================================
   HERO
========================================== */

.hero{

    padding:0;

    background:var(--surface);

}

/* ==========================================
   BANNER
========================================== */

.hero-banner {
    position: relative;
    width: min(calc(100% - 32px), 1100px);
    aspect-ratio: 16 / 7;
    height: auto;
    margin: clamp(12px, 2vw, 24px) auto 0;
    overflow: hidden;
    border-radius: clamp(16px, 2vw, 28px);
    background: var(--surface-hover);
    box-shadow: 0 16px 38px rgba(15, 23, 42, .12);
}

@media (max-width: 767px) {
    .hero-banner {
        width: calc(100% - 24px);
        aspect-ratio: 16 / 7;
        margin-top: 12px;
        border-radius: 18px;
    }
}

.hero-banner img {
    width: 100%;
    height: 100%;
    /* Garante que a imagem se ajuste ao espaço sem se achatar ou esticar */
    object-fit: contain;
    object-position: center;
}


/* Sem banner cadastrado: em vez de deixar a caixa escura vazia (280px sem
   nada dentro), colapsa a altura pra a página seguir direto pro conteúdo. */
.hero-banner--vazio{

    display:none;

}

/* ==========================================
   CARROSSEL (múltiplos banners)
========================================== */

/* Trilho com todos os slides lado a lado; a rolagem é feita movendo esse
   elemento inteiro com transform, um slide de largura por vez. */
.hero-banner-track{

    display:flex;

    width:100%;

    height:100%;

    transition:transform .5s ease;

}

.hero-banner-slide{

    flex:0 0 100%;

    width:100%;

    height:100%;

}

.hero-banner-slide img{

    display:block;

    width:100%;

    height:100%;

    object-fit:contain;

    /* Slide pode ter um link (clicável); sem sublinhado/cursor estranho */
    pointer-events:none;

    /* Zoom lento no hover (efeito "Ken Burns") */
    transition:transform 8s linear;

}

.hero-banner:hover .hero-banner-slide img{

    transform:none;

}

/* Setas de navegação (anterior/próximo) */
.hero-banner-arrow{

    position:absolute;

    top:50%;

    transform:translateY(-50%);

    width:44px;

    height:44px;

    border:none;

    border-radius:50%;

    color:var(--text-white);

    display:flex;

    align-items:center;

    justify-content:center;

    cursor:pointer;

    transition:background .2s ease;

    z-index:2;

    background:var(--primary);
    background:color-mix(in srgb, var(--primary) 55%, transparent);

    backdrop-filter:blur(8px);
    -webkit-backdrop-filter:blur(8px);

}

.hero-banner::after{

    content:none;

    position:absolute;

    inset:0;

    background:linear-gradient(
        to bottom,
        rgba(0,0,0,.08),
        rgba(0,0,0,.25)
    );

    pointer-events:none;

}

.hero-banner-arrow:hover{

    background:var(--primary-hover);

}

.hero-banner-arrow i{

    width:20px;

    height:20px;

}

.hero-banner-arrow--prev{

    left:12px;

}

.hero-banner-arrow--next{

    right:12px;

}

/* Só um banner (ou nenhum): esconde setas e bolinhas, não faz sentido
   navegar entre slides que não existem. */
.hero-banner--slide-unico .hero-banner-arrow,
.hero-banner--slide-unico .hero-banner-dots{

    display:none;

}

/* Bolinhas indicando quantos banners existem e qual está ativo */
.hero-banner-dots{

    position:absolute;

    bottom:14px;

    left:50%;

    transform:translateX(-50%);

    display:flex;

    gap:8px;

    z-index:2;

}

.hero-banner-dot{

    width:8px;

    height:8px;

    border-radius:50%;

    border:none;

    padding:0;

    background:rgba(255,255,255,.5);

    cursor:pointer;

    transition:background .2s ease,transform .2s ease;

}

.hero-banner-dot:hover{

    background:rgba(255,255,255,.8);

}

.hero-banner-dot.ativo{

    background:var(--primary);

    transform:scale(1.25);

}

@media (max-width:640px){

    .hero-banner-arrow{

        width:30px;

        height:30px;

    }

    .hero-banner-arrow i{

        width:16px;

        height:16px;

    }

}

/* ==========================================
   CONTEÚDO
========================================== */

.hero-content{

    width:min(100% - 32px,var(--container));

    margin:auto;

    padding:32px 0;

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:32px;

    flex-wrap:wrap;

}

/* ==========================================
   ESQUERDA
========================================== */

.hero-left{

    flex:1;

    min-width:280px;

}

.hero-title{

    margin-bottom:12px;

}

.hero-description{

    max-width:700px;

    color:var(--text-light);

}

/* ==========================================
   INFORMAÇÕES (CHIPS DO TOPO)
========================================== */

.hero-info{

    margin-top:20px;

    display:flex;

    flex-wrap:wrap;

    gap:12px;

}

.hero-chip{

    display:flex;

    align-items:center;

    gap:8px;

    padding:10px 18px;

    border-radius:999px;

    background:var(--background);

    border:1px solid var(--border);

    box-shadow:var(--shadow-xs);

    font-size:.9rem;

    font-weight:600; /* Ligeiramente mais negrito para destacar */

    transition: transform .2s, box-shadow .2s;

}

.hero-chip i,
.hero-chip svg{

    width:18px;

    height:18px;

    color:var(--primary);

    flex-shrink:0;

}

/* 🚀 ESTILIZAÇÃO DO HORÁRIO (Clock - Sempre Div, azul) */
div.hero-chip {
    background: #E0F2FE !important;
    border-color: #BAE6FD !important;
    color: #0369A1 !important;
}
div.hero-chip i,
div.hero-chip svg {
    color: #0284C7 !important;
}

/* 🚀 ESTILIZAÇÃO DA LOCALIZAÇÃO (Google Maps - Laranja/Dourado) */
a.hero-chip[href*="maps"],
a.hero-chip[href*="apple.com"] {
    background: #FFEDD5 !important;
    border-color: #FED7AA !important;
    color: #C2410C !important;
}
a.hero-chip[href*="maps"] i,
a.hero-chip[href*="maps"] svg,
a.hero-chip[href*="apple.com"] i,
a.hero-chip[href*="apple.com"] svg {
    color: #EA580C !important;
}

/* 🚀 ESTILIZAÇÃO DO WHATSAPP (Verde Pastel Suave e Elegante) */
a.hero-chip[href*="wa.me"] {
    background: #DCFCE7 !important; /* Verde pastel suave */
    border-color: #BBF7D0 !important; /* Borda verde suave */
    color: #166534 !important; /* Texto verde escuro para leitura */
}
a.hero-chip[href*="wa.me"] i,
a.hero-chip[href*="wa.me"] svg {
    color: #15803D !important; /* Ícone no verde clássico do WhatsApp */
}

/* 🚀 ESTILIZAÇÃO DO INSTAGRAM (Tons de Rosa/Magenta da Marca) */
a.hero-chip[href*="instagram"] {
    background: #FDF2F8 !important; /* Fundo rosa bem clarinho */
    border-color: #FBCFE8 !important; /* Borda rosa pastel */
    color: #9D174D !important; /* Texto magenta escuro */
}
a.hero-chip[href*="instagram"] i,
a.hero-chip[href*="instagram"] svg {
    color: #DB2777 !important; /* Ícone no rosa clássico do Instagram */
}

/* Efeito ao passar o mouse nos chips clicáveis (links) */
a.hero-chip:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

a.hero-chip:active {
    transform: scale(0.96);
}

/* Identidade e contatos: compactos e legíveis em todas as telas. */
.hero-content {
    padding: 24px 0 20px;
    gap: 16px;
}
.hero-content > .container {
    width: 100%;
    padding: 0;
}
#heroTitle {
    margin: 0 0 6px;
    font-size: clamp(24px, 2.4vw, 32px);
    line-height: 1.2;
    letter-spacing: -.025em;
}
#heroDescription {
    margin: 0;
    max-width: 680px;
    color: var(--text-light, #64748b);
    font-size: 15px;
    line-height: 1.6;
}
#heroInfo {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
#heroInfo .hero-chip {
    min-height: 44px;
    max-width: 100%;
    padding: 10px 13px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    overflow-wrap: anywhere;
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
    color: #475569 !important;
    box-shadow: none;
    text-decoration: none;
}
#heroInfo .hero-chip svg, #heroInfo .hero-chip i {
    width: 16px;
    height: 16px;
    color: #64748b !important;
}
#heroInfo a.hero-chip[href*="wa.me"] {
    background: #f0fdf4 !important;
    border-color: #d1eadb !important;
    color: #166534 !important;
}
#heroInfo a.hero-chip[href*="wa.me"] svg { color: #15803d !important; }
#heroInfo a.hero-chip:hover { border-color: #94a3b8 !important; transform: translateY(-1px); }
#heroInfo a.hero-chip:focus-visible { outline: 3px solid #94a3b8; outline-offset: 3px; }
@media (max-width: 600px) {
    .hero-content { padding: 18px 0 16px; }
    #heroDescription { font-size: 14px; }
    #heroInfo { margin-top: 12px; gap: 8px; }
    #heroInfo .hero-chip { padding: 10px 11px; }
}
