/* Abertura editada por Camila no Figma: frame 800:4286. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.home-hero header {
  position: fixed;
  inset: 0 0 auto;
  width: 100vw;
  opacity: 0.9;
  border-bottom: 0;
}
.home-hero header .header-edi {
  display: none;
}
.home-hero .floating-tools {
  display: none;
}
.home-hero .immersive-stage {
  top: 0;
  height: 100svh;
  min-height: 640px;
}
.home-hero .immersive-stage::after {
  inset: 86px 0 0;
  background: linear-gradient(
    119.9608deg,
    rgba(24, 11, 2, 0.8) 0%,
    rgba(0, 0, 0, 0) 100.4%
  );
}
.home-hero .immersive-hero.is-quiet .immersive-stage::after {
  background: linear-gradient(
    119.9608deg,
    rgba(24, 11, 2, 0.4) 0%,
    rgba(0, 0, 0, 0) 100.4%
  );
}
.home-hero .immersive-scene:first-child {
  left: -6px;
  width: calc(100vw + 6px);
}
.home-hero .immersive-scene:first-child img {
  position: absolute;
  max-width: none;
  width: 113.03%;
  height: 117.77%;
  left: 0.03%;
  top: -8.89%;
  object-fit: fill;
  filter: none;
}
.home-hero .immersive-intro {
  top: calc(50svh - 108.5px);
  left: 64px;
  transform: none;
  width: 780px;
  max-width: calc(100% - 128px);
  text-shadow: none;
}
.home-hero .immersive-intro .eyebrow {
  font-size: 11px;
  font-weight: 600;
  line-height: 13px;
  letter-spacing: 0;
  color: var(--gold);
  margin-bottom: 8px;
}
.home-hero .immersive-intro h1 {
  font-size: 50px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: 0;
  white-space: pre-line;
  color: var(--card);
}
.home-hero .immersive-intro p {
  font-size: 16px;
  line-height: 24px;
  max-width: 650px;
  margin-top: 16px;
}
.home-hero .immersive-intro .actions {
  margin-top: 24px;
}
.hero-edi-form {
  display: flex;
  align-items: center;
  width: 500px;
  max-width: 100%;
  height: 60px;
  gap: 8px;
  margin-top: 32px;
  padding: 0 22px 0 24px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 30px;
  opacity: 0.95;
  border: 0;
}
.hero-edi-form input {
  flex: 1;
  min-width: 0;
  width: 100%;
  border: 0;
  background: transparent;
  border-radius: 0;
  padding: 0;
  margin: 0;
  font:
    400 16px/24px Quatro,
    Arial,
    sans-serif;
  color: #fff;
  height: 100%;
}
.hero-edi-form input::placeholder {
  color: #fff;
  opacity: 1;
}
.hero-edi-form:focus-within {
  outline: none;
}
.hero-edi-form input:focus-visible {
  outline: 0;
}
.hero-edi-form button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  min-height: 44px;
  padding: 0;
  margin-left: -12px;
  margin-right: -12px;
  border: 0;
  background: transparent;
  flex-shrink: 0;
}
.hero-edi-form button img {
  width: 20px;
  height: 29px;
  max-width: none;
}
.home-hero .immersive-bottom {
  left: 64px;
  right: 64px;
  bottom: 30px;
}
.home-hero .immersive-caption {
  max-width: 70%;
}
.home-hero .immersive-caption .eyebrow {
  font-size: 12px;
  line-height: 15px;
  letter-spacing: 0;
  margin-bottom: 5px;
}
.home-hero .immersive-caption p {
  font-size: 16px;
  line-height: 22px;
}
.home-hero .immersive-navigation {
  display: none;
}
@media (max-width: 1000px) {
  .home-hero .immersive-intro {
    left: 32px;
    max-width: calc(100% - 64px);
  }
  .home-hero .immersive-bottom {
    left: 32px;
    right: 32px;
  }
}
@media (max-width: 700px) {
  .home-hero .immersive-stage {
    min-height: 640px;
  }
  .home-hero .immersive-stage::after {
    inset: 72px 0 0;
  }
  .home-hero .immersive-intro {
    top: clamp(160px, 28svh, 280px);
    left: 24px;
    width: calc(100% - 48px);
    max-width: none;
  }
  .home-hero .immersive-intro .eyebrow {
    font-size: 10px;
    line-height: 13px;
    margin-bottom: 8px;
  }
  .home-hero .immersive-intro h1 {
    font-size: 32px;
    line-height: 40px;
    white-space: normal;
  }
  .home-hero .immersive-intro p {
    font-size: 14px;
    line-height: 22px;
    max-width: 100%;
    margin-top: 16px;
  }
  .hero-edi-form {
    width: 100%;
    padding: 0 20px;
  }
  .hero-edi-form input {
    font-size: 14px;
  }
  .home-hero .immersive-scene:first-child {
    left: 0;
    width: 100%;
  }
  .home-hero .immersive-scene:first-child img {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% center;
  }
  .home-hero .immersive-bottom {
    left: 24px;
    right: 24px;
    bottom: 30px;
  }
  .home-hero .immersive-caption {
    max-width: 100%;
  }
  .home-hero .immersive-caption .eyebrow {
    font-size: 10px;
  }
  .home-hero .immersive-caption p {
    font-size: 14px;
    line-height: 20px;
  }
}
@media (max-height: 650px) and (min-width: 701px) {
  .home-hero .immersive-intro {
    top: 140px;
  }
  .home-hero .immersive-intro h1 {
    font-size: 40px;
    line-height: 48px;
  }
  .hero-edi-form {
    margin-top: 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .home-hero .immersive-stage {
    height: auto;
    min-height: 0;
  }
  .home-hero .immersive-intro {
    top: clamp(160px, 28svh, 280px);
  }
  .home-hero .immersive-scene:first-child img {
    position: static;
    left: auto;
    top: auto;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .home-hero .immersive-scene:first-child {
    left: 0;
    width: 100%;
  }
}

/* Legendas e orientação de scroll da revisão atual do frame 800:4286. */
.home-hero .immersive-bottom {
  bottom: 32px;
  align-items: flex-end;
}
.home-hero .immersive-caption {
  margin-left: auto;
  width: 277px;
  max-width: 70%;
  text-align: right;
}
.home-hero .immersive-caption .eyebrow {
  height: 15px;
  line-height: 20.442px;
}
.home-hero .immersive-caption p {
  font-size: 12px;
  line-height: 13px;
  min-height: 13px;
}
.hero-scroll-cue {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 4px;
  color: #fff;
  font:
    400 12px/13px Quatro,
    Arial,
    sans-serif;
  white-space: nowrap;
}
.hero-scroll-cue img {
  max-width: none;
  transform: scaleY(-1);
}
@media (max-width: 700px) {
  .home-hero .immersive-bottom {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .home-hero .immersive-caption {
    align-self: flex-end;
    width: 277px;
    max-width: 100%;
    margin-left: 0;
  }
  .home-hero .immersive-caption .eyebrow {
    font-size: 12px;
  }
  .home-hero .immersive-caption p {
    font-size: 12px;
    line-height: 13px;
  }
  .hero-scroll-cue {
    align-self: flex-start;
    padding-bottom: 0;
  }
}

/* Minha área — estados default e hover criados no Figma. */
header nav a.header-account {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-shrink: 0;
  height: 36px;
  padding: 8px 16px;
  border: 1px solid var(--support);
  border-radius: 6px;
  background: var(--card);
  color: var(--accent);
  font:
    600 13px/normal Quatro,
    Arial,
    sans-serif;
  white-space: nowrap;
  transition:
    background 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease;
}
.header-account-arrow {
  display: grid;
  width: 12px;
  height: 10px;
  flex-shrink: 0;
}
.header-account-arrow img {
  grid-area: 1/1;
  max-width: none;
}
.header-account-arrow .account-arrow-hover {
  visibility: hidden;
}
header nav a.header-account:is(:hover, :focus-visible) {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.header-account:is(:hover, :focus-visible) .account-arrow-default {
  visibility: hidden;
}
.header-account:is(:hover, :focus-visible) .account-arrow-hover {
  visibility: visible;
}
@media (max-width: 700px) {
  header nav a.header-account {
    align-self: flex-start;
    min-height: 44px;
    margin: 8px 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  header nav a.header-account {
    transition: none;
  }
}

/* Acesso rápido aos portais: disclosure nativo, teclado e toque. */
.portal-quick-menu summary {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 52px;
  cursor: pointer;
  list-style: none;
  font:
    600 14px/20px Quatro,
    Arial,
    sans-serif;
  color: var(--ink);
}
.portal-quick-menu summary::-webkit-details-marker {
  display: none;
}
.portal-menu-chevron {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-top: -4px;
}
.portal-quick-menu[open] .portal-menu-chevron {
  transform: rotate(225deg);
  margin-top: 3px;
}
.portal-quick-menu summary:is(:hover, :focus-visible) {
  color: var(--accent);
}
.portal-quick-panel {
  position: absolute;
  top: 100%;
  right: 64px;
  width: min(960px, calc(100vw - 128px));
  max-height: calc(100dvh - 110px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--support);
  border-radius: 0 0 8px 8px;
  box-shadow: 0 16px 36px #0e0d0b26;
  color: var(--ink);
}
.portal-quick-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--support);
}
.portal-quick-heading > span {
  font-size: 12px;
  line-height: 20px;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}
header nav .portal-quick-heading a {
  border: 0;
  padding: 4px 0;
  font-size: 12px;
  line-height: 20px;
  color: var(--accent);
}
.portal-quick-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-rows: repeat(6, auto);
  grid-auto-flow: column;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px 16px;
}
header nav .portal-quick-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 0;
  padding: 12px 10px;
  min-height: 48px;
  font-size: 13px;
  line-height: 20px;
  font-weight: 500;
  border-radius: 4px;
}
header
  nav
  .portal-quick-list
  a:is(:hover, :focus-visible, [aria-current="page"]) {
  background: var(--support);
  color: var(--ink);
}
.portal-quick-number {
  font:
    400 11px/20px Quatro,
    Arial,
    sans-serif;
  color: var(--accent);
  flex-shrink: 0;
}
@media (min-width: 701px) and (max-width: 1000px) {
  .portal-quick-panel {
    right: 32px;
    width: calc(100vw - 64px);
  }
}
@media (max-width: 700px) {
  header nav.open {
    max-height: calc(100dvh - 72px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .portal-quick-menu summary {
    min-height: 52px;
    justify-content: space-between;
  }
  .portal-quick-panel {
    position: static;
    width: 100%;
    max-height: none;
    overflow: visible;
    padding: 12px 0 16px;
    border: 0;
    border-bottom: 1px solid var(--support);
    border-radius: 0;
    box-shadow: none;
    background: #fff;
  }
  .portal-quick-heading {
    align-items: flex-start;
    gap: 12px;
    padding-bottom: 12px;
  }
  .portal-quick-heading > span {
    font-size: 10px;
  }
  .portal-quick-list {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  header nav .portal-quick-list a {
    min-height: 48px;
    padding: 12px 8px;
  }
  .portal-quick-number {
    width: 18px;
  }
}
/* O painel de navegação permanece opaco para leitura sobre o hero. */
.home-hero header:has(.portal-quick-menu[open]),
.home-hero header:has(nav.open) {
  opacity: 1;
  background: rgba(240, 232, 217, 0.9);
}

/* Atalhos de intenção abaixo do campo da Edi. */
.hero-quick-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
  width: max-content;
  max-width: calc(100vw - 128px);
}
.hero-quick-prompts button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 20px;
  border: 1px solid var(--edi-suggestion-border);
  border-radius: var(--edi-suggestion-radius);
  background: var(--edi-suggestion-surface);
  color: #fff;
  font:
    600 13px/20px Quatro,
    Arial,
    sans-serif;
  text-align: left;
  transition:
    background 0.18s,
    border-color 0.18s;
}
.hero-quick-prompts button img {
  max-width: none;
  transform: rotate(-45deg);
}
.hero-quick-prompts button:is(:hover, :focus-visible) {
  background: var(--edi-suggestion-surface-hover);
  border-color: var(--edi-suggestion-border-hover);
}
.hero-quick-prompts button:focus-visible {
  outline-color: var(--gold);
}
@media (max-width: 700px) {
  .home-hero .immersive-stage {
    min-height: 740px;
  }
  .home-hero .immersive-intro {
    top: clamp(128px, 19svh, 180px);
  }
  .hero-quick-prompts {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    gap: 8px;
  }
  .hero-quick-prompts button {
    justify-content: space-between;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-quick-prompts button {
    transition: none;
  }
}

:root {
  --edi-suggestion-surface: rgba(255, 255, 255, 0.06);
  --edi-suggestion-surface-hover: rgba(255, 255, 255, 0.18);
  --edi-suggestion-border: rgba(255, 255, 255, 0.4);
  --edi-suggestion-border-hover: #fff;
  --edi-suggestion-radius: 999px;
}

/* Mesma superfície dos botões de sugestão. */
.hero-edi-form {
  position: relative;
  border: 0;
  opacity: 1;
  background: var(--edi-suggestion-surface);
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transition: background 0.18s ease;
}
.hero-edi-form::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid var(--edi-suggestion-border);
  border-radius: inherit;
  transition: border-color 0.18s ease;
}
.hero-edi-form:is(:hover, :focus-within) {
  background: var(--edi-suggestion-surface-hover);
}
.hero-edi-form:is(:hover, :focus-within)::before {
  border-color: var(--edi-suggestion-border-hover);
}
@media (prefers-reduced-motion: reduce) {
  .hero-edi-form,
  .hero-edi-form::before {
    transition: none;
  }
}

/* Campo e sugestões compartilham a mesma largura. */
.hero-edi-access {
  width: max-content;
  max-width: 100%;
  margin-top: 32px;
}
.hero-edi-access .hero-edi-form {
  width: 100%;
  margin-top: 0;
}
.hero-edi-access .hero-quick-prompts {
  max-width: 100%;
}
@media (max-width: 700px) {
  .hero-edi-access {
    width: 100%;
  }
}
@media (max-height: 650px) and (min-width: 701px) {
  .hero-edi-access {
    margin-top: 24px;
  }
}

/* Header para Full HD: distribuição pela largura da tela, alinhada ao hero. */
@media (min-width: 1600px) {
  header {
    height: 96px;
    padding-left: 64px;
    padding-right: 64px;
    gap: 48px;
  }
  .home-hero header {
    width: 100%;
  }
  header .brand img {
    width: 144px;
    height: 48px;
    max-width: none;
  }
  header nav {
    gap: 40px;
  }
  header nav > a,
  .portal-quick-menu summary,
  .header-edi {
    font-size: 16px;
  }
  header nav a.header-account {
    height: 44px;
    padding: 11px 20px;
    font-size: 14px;
  }
  .home-hero .immersive-stage::after {
    top: 96px;
  }
  .portal-quick-panel {
    right: 64px;
  }
}

/* v33 · imagens da página section hero; recortes em uma área proporcional 1440 × 840. */
.home-hero .immersive-scene,
.home-hero .immersive-scene:first-child {
  left: 0;
  width: 100%;
}
.hero-image-slot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: max(100%, calc(100svh * 12 / 7));
  height: max(100%, calc(100vw * 7 / 12));
  transform: translate(-50%, -50%);
  overflow: hidden;
}
.home-hero .immersive-scene .hero-image-slot img {
  position: absolute;
  max-width: none;
  object-fit: cover;
  object-position: center;
}
@media (prefers-reduced-motion: reduce) {
  .hero-image-slot {
    width: max(100%, calc(85svh * 12 / 7));
    height: max(100%, calc(100vw * 7 / 12));
  }
}

/* v45 · Edi compacta acompanha o scroll e retorna à abertura no topo. */
.floating-edi {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  width: 350px;
  max-width: calc(100vw - 48px);
}
.floating-edi[hidden] {
  display: none !important;
}
.floating-edi .hero-edi-form {
  width: 100%;
  height: 52px;
  margin: 0;
  padding: 0 20px;
  background: rgba(64, 56, 44, 0.94);
  border-radius: 28px;
  box-shadow: 0 8px 28px #0003;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.floating-edi .hero-edi-form input {
  font-size: 14px;
  line-height: 20px;
}
.floating-edi .hero-edi-form button img {
  width: 17px;
  height: 25px;
}
.edi-is-floating .hero-edi-access {
  visibility: hidden;
  pointer-events: none;
}
.edi-is-floating .floating-tools,
body:has(dialog[open]) .floating-edi {
  display: none;
}
@media (max-width: 700px) {
  .floating-edi {
    right: 16px;
    bottom: max(16px, env(safe-area-inset-bottom));
    width: 330px;
    max-width: calc(100vw - 32px);
  }
}

/* v46 · cores da busca flutuante. */
.floating-edi .hero-edi-form {
  background: #fff;
  border: 0;
  outline: none;
}
.floating-edi .hero-edi-form::before {
  display: none;
}
.floating-edi .hero-edi-form input,
.floating-edi .hero-edi-form input::placeholder {
  color: #000;
  opacity: 1;
}

/* Edi: the same translucent surface and blur as the music control. */
:is(.cinema-copy, .portal-opening) .hero-edi-form {
  background: #0003;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: none;
  transition:
    background 0.18s ease,
    box-shadow 0.18s ease;
}
:is(.cinema-copy, .portal-opening) .hero-edi-form::before {
  border-color: transparent;
}
:is(.cinema-copy, .portal-opening) .hero-edi-form:is(:hover, :focus-within) {
  background: #f1ede32b;
  box-shadow: none;
}
:is(.cinema-copy, .portal-opening) .hero-edi-form:focus-within,
:is(.cinema-copy, .portal-opening) .hero-edi-form input:focus-visible {
  outline: none;
  box-shadow: none;
}
:is(.cinema-copy, .portal-opening)
  .hero-edi-form:is(:hover, :focus-within)::before {
  border-color: transparent;
}
.floating-edi {
  width: 340px;
}
.floating-edi .hero-edi-form {
  height: 44px;
  padding: 0 16px;
  border-radius: 24px;
}
.floating-edi .hero-edi-form input {
  font-size: 12px;
}
.floating-edi .hero-edi-form button img {
  width: 15px;
  height: 22px;
}
@media (max-width: 700px) {
  .floating-edi {
    width: 320px;
  }
  .floating-edi .hero-edi-form {
    padding: 0 16px;
  }
  .floating-edi .hero-edi-form input {
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  :is(.cinema-copy, .portal-opening) .hero-edi-form {
    transition: none;
  }
}

/* v64 · mesmas dimensões da home em todas as aberturas. */
:is(.cinema-copy, .portal-opening) .hero-edi-access {
  width: 554px;
  max-width: 100%;
}
:is(.cinema-copy, .portal-opening) .hero-quick-prompts {
  gap: 8px;
}
:is(.cinema-copy, .portal-opening) .hero-quick-prompts button {
  font-size: 12px;
  padding: 10px 14px;
  min-height: 44px;
}
@media (max-width: 700px) {
  :is(.cinema-copy, .portal-opening) .hero-edi-access {
    width: 100%;
  }
}

/* Keep the portal hero search in place while the compact search follows the scroll. */
.edi-is-floating .portal-opening .hero-edi-access {
  visibility: visible;
  pointer-events: auto;
}
/* Main header navigation follows the Minha área type size. */
:is(body, #portal-root) > header {
  --header-menu-font-size: 13px;
}
:is(body, #portal-root) > header nav > a,
:is(body, #portal-root) > header .portal-quick-menu > summary,
:is(body, #portal-root) > header .menu-toggle {
  font-size: var(--header-menu-font-size);
}
@media (min-width: 1600px) {
  :is(body, #portal-root) > header {
    --header-menu-font-size: 14px;
  }
}
