/* ==========================================================================
   Banner rotativo da página inicial (4 destaques com foto de fundo)
   ========================================================================== */
.banner { position: relative; isolation: isolate; background: var(--preto); color: #fff; overflow: clip; }
.banner__slides { position: relative; display: grid; }
.banner__slide { grid-area: 1 / 1; position: relative; display: flex; align-items: center; min-height: clamp(560px, 76vh, 720px); padding-block: 64px 168px; opacity: 0; visibility: hidden; transition: opacity .9s var(--suave), visibility 0s linear .9s; }
.banner__slide.is-ativo { opacity: 1; visibility: visible; transition: opacity .9s var(--suave), visibility 0s; z-index: 1; }
.banner__foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.08); transition: transform 7s linear; }
.banner__slide.is-ativo .banner__foto { transform: scale(1); }
.banner__slide::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,13,18,.92) 0%, rgba(10,13,18,.78) 34%, rgba(10,13,18,.15) 70%, rgba(10,13,18,.05) 100%), linear-gradient(0deg, rgba(10,13,18,.75) 0%, transparent 32%); }
.banner__conteudo { position: relative; z-index: 1; }
.banner__conteudo > * { max-width: 600px; }
.banner__slide .banner__conteudo > * { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--suave), transform .6s var(--suave); }
.banner__slide.is-ativo .banner__conteudo > * { opacity: 1; transform: none; }
.banner__slide.is-ativo .banner__conteudo > :nth-child(2) { transition-delay: .08s; }
.banner__slide.is-ativo .banner__conteudo > :nth-child(3) { transition-delay: .16s; }
.banner__slide.is-ativo .banner__conteudo > :nth-child(4) { transition-delay: .24s; }
.banner__selo { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font: 700 .85rem/1 var(--f-titulo); color: #fff; margin-bottom: 22px; }
.banner__selo::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--azul-ceu); box-shadow: 0 0 0 4px rgba(54,179,255,.25); }
.banner__titulo { color: #fff; font-size: clamp(2.3rem, 5.6vw, 4.4rem); font-weight: 900; line-height: .98; letter-spacing: -.04em; text-wrap: balance; }
.banner__titulo em { font-style: italic; color: var(--azul-ceu); }
.banner__texto { margin-top: 20px; font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: #d3dbe6; max-width: 50ch; }
.banner__acoes { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.botao--vidro { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.35); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.botao--vidro:hover { background: rgba(255,255,255,.2); color: #fff; border-color: #fff; }
.botao--promo { background: #e11d2e; color: #fff; box-shadow: 0 10px 30px -10px rgba(225,29,46,.7); }
.botao--promo:hover { background: #c4161f; color: #fff; }
.banner__slide--promocoes .banner__selo::before { background: #ff4d5e; box-shadow: 0 0 0 4px rgba(255,77,94,.25); }
.banner__slide--promocoes .banner__titulo em { color: #ff6b78; }

/* Películas flutuando ao lado do iPhone (só no 1º destaque) */
.banner__peliculas { position: absolute; right: clamp(24px, 5vw, 110px); top: 50%; width: 420px; height: 460px; transform: translateY(-58%); z-index: 0; pointer-events: none; }
.pel { position: absolute; width: 190px; height: 390px; border-radius: 38px; border: 1.5px solid rgba(255,255,255,.45); box-shadow: inset 0 0 0 6px rgba(255,255,255,.05), 0 30px 60px -20px rgba(0,0,0,.6); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); animation: flutuar 6s ease-in-out infinite; }
.pel::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(125deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,.08) 28%, transparent 46%, rgba(255,255,255,.12) 78%, rgba(255,255,255,.3) 100%); }
.pel::after { content: ""; position: absolute; top: 14px; left: 50%; width: 66px; height: 18px; margin-left: -33px; border-radius: 10px; border: 1.5px solid rgba(255,255,255,.4); }
.pel b { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); padding: 7px 13px; border-radius: 999px; font: 800 .74rem/1 var(--f-titulo); white-space: nowrap; color: var(--preto); background: #fff; box-shadow: 0 8px 18px -6px rgba(0,0,0,.5); }
.pel--hidrogel { right: 0; top: 30px; background: rgba(54,179,255,.14); transform: rotate(9deg); }
.pel--privacidade { right: 110px; top: 0; background: linear-gradient(90deg, rgba(10,13,18,.75), rgba(10,13,18,.2) 50%, rgba(10,13,18,.75)); transform: rotate(-2deg); animation-delay: -2s; }
.pel--privacidade b { background: var(--azul); color: #fff; bottom: auto; top: 46px; }
.pel--fosca b { bottom: auto; top: 46px; }
.pel--fosca { right: 220px; top: 40px; background: rgba(255,255,255,.18); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transform: rotate(-12deg); animation-delay: -4s; }
@keyframes flutuar { 50% { translate: 0 -12px; } }

/* Controles: pontos com nome + barra de tempo, setas e pausa */
.banner__controles { position: absolute; left: 0; right: 0; bottom: 92px; z-index: 3; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.banner__pontos { display: flex; gap: 10px; flex-wrap: wrap; }
.banner__pontos button { position: relative; display: grid; gap: 8px; width: 120px; padding: 0; border: 0; background: none; color: rgba(255,255,255,.65); text-align: left; cursor: pointer; }
.banner__pontos button i { display: block; height: 4px; border-radius: 4px; background: rgba(255,255,255,.25); overflow: hidden; }
.banner__pontos button i::after { content: ""; display: block; height: 100%; width: 0; background: #fff; }
.banner__pontos button[aria-selected="true"] { color: #fff; }
.banner__pontos button[aria-selected="true"] i::after { width: 100%; transition: width var(--banner-tempo, 6s) linear; }
.banner.is-pausado .banner__pontos button[aria-selected="true"] i::after { transition: none; }
.banner__pontos small { font: 700 .78rem/1 var(--f-titulo); }
.banner__setas { display: flex; gap: 8px; }
.banner__setas button { width: 46px; height: 46px; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); background: rgba(10,13,18,.35); color: #fff; display: grid; place-items: center; cursor: pointer; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background .2s, border-color .2s; }
.banner__setas button:hover { background: rgba(255,255,255,.18); border-color: #fff; }
.banner__setas .icone { width: 20px; height: 20px; }
.banner__pausa { width: 12px; height: 14px; border-left: 4px solid #fff; border-right: 4px solid #fff; }
.banner.is-pausado .banner__pausa { width: 0; height: 0; border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent #fff; margin-left: 4px; }

/* Faixa "Qual é o seu aparelho?" encostada no banner */
.seu-aparelho { position: relative; z-index: 4; margin-top: -64px; }
.localizador--faixa { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(20px, 3vw, 44px); align-items: center; }
.localizador--faixa .hero__notas { margin-top: 18px; color: #c9d2de; }
.localizador--faixa .hero__notas .icone { color: var(--azul-ceu); }
.localizador--faixa .localizador__marcas { margin-top: 0; }

@media (max-width: 960px) {
  .banner__slide { align-items: flex-end; min-height: 620px; padding-block: 64px 150px; }
  .banner__slide::before { background: linear-gradient(0deg, rgba(10,13,18,.95) 0%, rgba(10,13,18,.75) 45%, rgba(10,13,18,.25) 100%); }
  .banner__slide--peliculas { padding-top: 280px; }
  .banner__peliculas { right: 50%; top: 28px; transform: translateX(50%) scale(.55); transform-origin: top center; opacity: .9; }
  .banner__controles { bottom: 84px; }
  .banner__pontos button { width: 64px; }
  .banner__pontos small { display: none; }
  .localizador--faixa { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .banner__peliculas { display: none; }
  .banner__slide--peliculas { padding-top: 64px; }
}
@media (max-width: 520px) {
  .banner__setas button[data-anterior], .banner__setas button[data-proximo] { display: none; }
  .banner__pontos button { width: 48px; }
  .banner__acoes .botao { flex: 1 1 auto; }
  .seu-aparelho { margin-top: -56px; }
}
@media (prefers-reduced-motion: reduce) {
  .banner__foto, .banner__slide.is-ativo .banner__foto { transform: none; transition: none; }
  .pel { animation: none; }
}
