/* Página pública do Sonoria — direção editorial 07/10/2026.
   Referência: produto claro, tipografia editorial e artefatos da interface flutuando.
   Identidade preservada: bordô, rosé, creme e grafite. Sem dependências externas. */
:root {
  --wine: #681d36;
  --wine-deep: #4a1426;
  --wine-soft: #8f5063;
  --rose: #ead5dc;
  --rose-soft: #f5ebee;
  --cream: #fbf8f5;
  --paper: #ffffff;
  --mist: #f1efee;
  --fog: #f7f5f4;
  --ink: #202126;
  --muted: #707078;
  --quiet: #99969a;
  --line: #e7e2df;
  --display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --shadow-float: 0 0 0 1px rgba(74, 20, 38, .06), 0 24px 54px -28px rgba(53, 25, 34, .24), 0 12px 22px -18px rgba(53, 25, 34, .18);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
.wrap { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }
h1, h2, h3 { margin: 0; color: var(--ink); font-family: var(--display); font-weight: 400; }
h1 { font-size: clamp(4rem, 7.7vw, 6.9rem); line-height: .94; letter-spacing: -.047em; }
h2 { max-width: 18ch; font-size: clamp(2.7rem, 4.6vw, 4.7rem); line-height: 1.02; letter-spacing: -.035em; }
h3 { font-size: 2rem; line-height: 1.1; letter-spacing: -.025em; }
p { margin: 0; }
.section-label,
.hero-note,
.triad-label,
.pilot-label {
  color: var(--wine-soft);
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: -.01em;
}
.section-lead { margin-top: 18px; max-width: 58ch; color: var(--muted); font-size: 1.08rem; line-height: 1.6; }
:focus-visible { outline: 3px solid rgba(104, 29, 54, .26); outline-offset: 4px; }
.skip { position: absolute; left: -999px; top: 8px; padding: 8px 12px; background: var(--wine); color: #fff; z-index: 20; }
.skip:focus { left: 8px; }

/* Navegação */
.top {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 248, 245, .88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.top-row { min-height: 76px; display: flex; align-items: center; gap: 34px; }
.top-logo { flex: 0 0 auto; }
.top-logo img { width: 148px; height: auto; }
.top-nav { display: flex; align-items: center; gap: 30px; margin-left: auto; font-size: 14px; }
.top-nav a { color: var(--muted); text-decoration: none; transition: color .18s ease; }
.top-nav a:hover { color: var(--ink); }
.top-actions { display: flex; align-items: center; gap: 10px; }
.top-enter,
.top-demo,
.btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.top-enter { min-height: auto; padding: 10px 9px; color: var(--ink); }
.top-enter:hover { color: var(--wine); }
.top-demo { background: var(--wine); color: #fff; }
.top-demo:hover { background: var(--wine-deep); }

/* Botões */
.btn { min-height: 50px; padding-inline: 24px; background: var(--wine); color: #fff; font-size: 15px; }
.btn:hover { background: var(--wine-deep); }
.btn-quiet { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px #a9a3a0; }
.btn-quiet:hover { background: var(--paper); border-color: var(--ink); }
.btn-light { background: #fff; color: var(--wine); }
.btn-light:hover { background: var(--rose-soft); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 70px 0 118px; }
.hero::before {
  content: "";
  position: absolute;
  width: 780px;
  height: 520px;
  left: 50%;
  top: 320px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(234, 213, 220, .58) 0, rgba(234, 213, 220, .19) 48%, transparent 72%);
  pointer-events: none;
}
.hero-shell { position: relative; }
.hero-copy { position: relative; z-index: 2; width: min(900px, 100%); margin: 0 auto; text-align: center; }
.hero-note { margin-bottom: 26px; }
.hero h1 { margin: 0 auto; max-width: 12.5ch; text-wrap: balance; }
.lead { max-width: 650px; margin: 28px auto 30px; color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.22rem); line-height: 1.65; text-wrap: balance; }
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }

/* Colagem do produto */
.product-stage {
  position: relative;
  z-index: 1;
  width: min(1050px, 100%);
  height: 510px;
  margin: 74px auto 0;
}
.board,
.artifact {
  background: rgba(255, 255, 255, .98);
  border-radius: 22px;
  box-shadow: var(--shadow-float);
}
.board {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 24px;
  width: min(700px, 72%);
  margin: 0;
  padding: 20px;
  transform: translateX(-50%);
}
.board-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 0 4px 18px; }
.board-head div { display: grid; gap: 3px; }
.board-head span { color: var(--quiet); font-size: 12px; }
.board-head strong { font-size: .98rem; font-weight: 600; }
.board-status { padding: 6px 9px; border-radius: 999px; background: var(--rose-soft); color: var(--wine) !important; white-space: nowrap; }
.board-grid { display: grid; grid-template-columns: 44px repeat(4, minmax(0, 1fr)); grid-template-rows: 30px repeat(4, 64px); gap: 7px; }
.cell { display: flex; align-items: center; font-size: 11.5px; color: var(--quiet); }
.room { justify-content: flex-start; padding-left: 5px; color: var(--muted); font-weight: 500; }
.hour { grid-column: 1; justify-content: flex-start; font-variant-numeric: tabular-nums; }
.lesson {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  min-width: 0;
  padding: 8px 10px;
  border-radius: 12px;
  background: var(--rose-soft);
  font-size: 10.5px;
  line-height: 1.28;
  color: var(--muted);
  overflow: hidden;
}
.lesson b { color: var(--wine-deep); font-size: 11.5px; font-weight: 600; hyphens: auto; overflow-wrap: anywhere; }
.lesson-strong { background: var(--wine); color: #eadbe0; }
.lesson-strong b { color: #fff; }
.lesson-makeup { background: #fff; box-shadow: inset 0 0 0 1px rgba(104, 29, 54, .3); }
.lesson-trial { background: #fff; box-shadow: inset 0 0 0 1px var(--rose); }
.slot { border-radius: 12px; background: var(--fog); }
[data-c="2"] { grid-column: 2; } [data-c="3"] { grid-column: 3; } [data-c="4"] { grid-column: 4; } [data-c="5"] { grid-column: 5; }
[data-r="2"] { grid-row: 2; } [data-r="3"] { grid-row: 3; } [data-r="4"] { grid-row: 4; } [data-r="5"] { grid-row: 5; } [data-r="2-4"] { grid-row: 2 / 4; }
.board-legend { display: flex; flex-wrap: wrap; gap: 8px 16px; padding: 14px 4px 0; color: var(--quiet); font-size: 11px; }
.board-legend span { display: inline-flex; align-items: center; gap: 6px; }
.key { width: 11px; height: 11px; border-radius: 3px; }
.key-lesson { background: var(--rose-soft); }
.key-makeup { box-shadow: inset 0 0 0 1px rgba(104, 29, 54, .38); }
.key-trial { box-shadow: inset 0 0 0 1px var(--rose); }

.artifact { position: absolute; z-index: 3; padding: 18px 20px; }
.artifact > span { display: block; margin-bottom: 9px; color: var(--quiet); font-size: 11px; }
.artifact > strong { display: block; color: var(--ink); font-size: 1.05rem; font-weight: 600; }
.artifact > p { margin-top: 4px; color: var(--muted); font-size: 11px; }
.artifact-finance { top: 0; right: 0; width: 218px; }
.artifact-finance > strong { font-family: var(--display); font-size: 2.6rem; font-weight: 400; line-height: 1; color: var(--wine); }
.mini-bars { height: 38px; display: flex; align-items: end; gap: 6px; margin-top: 13px; }
.mini-bars i { width: 100%; border-radius: 4px 4px 2px 2px; background: var(--rose); }
.mini-bars i:nth-child(1) { height: 38%; }
.mini-bars i:nth-child(2) { height: 55%; }
.mini-bars i:nth-child(3) { height: 45%; }
.mini-bars i:nth-child(4) { height: 72%; }
.mini-bars i:nth-child(5) { height: 83%; }
.mini-bars i:nth-child(6) { height: 100%; background: var(--wine); }
.artifact-student { left: 0; bottom: 28px; width: 238px; }
.student-line { display: flex; align-items: center; gap: 9px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.student-line i { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 999px; background: var(--rose); color: var(--wine); font-style: normal; font-size: 9px; font-weight: 700; }
.student-line b { font-size: 11px; font-weight: 500; }
.artifact-teacher { right: 38px; bottom: 8px; width: 255px; }
.teacher-progress { height: 7px; margin-top: 15px; overflow: hidden; border-radius: 999px; background: var(--mist); }
.teacher-progress i { display: block; width: 68%; height: 100%; border-radius: inherit; background: var(--wine); }

@media (prefers-reduced-motion: no-preference) {
  .artifact-main { animation: product-in .7s var(--ease-smooth-out, ease) both; }
  .artifact-finance { animation: product-in .7s .1s cubic-bezier(.2,.8,.2,1) both; }
  .artifact-student { animation: product-in .7s .18s cubic-bezier(.2,.8,.2,1) both; }
  .artifact-teacher { animation: product-in .7s .26s cubic-bezier(.2,.8,.2,1) both; }
  @keyframes product-in { from { opacity: 0; translate: 0 12px; } to { opacity: 1; translate: 0 0; } }
}

/* A partir daqui, a página volta ao desenho anterior aprovado. */
.triad h2,
.brandline h2,
.steps h2,
.safety h2,
.pilot h2,
.faq h2 {
  max-width: 22ch;
  font-family: var(--sans);
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.02em;
}
.triad h3,
.steps h3 {
  font-family: var(--sans);
  font-size: 1.2rem;
  font-weight: 750;
  line-height: 1.08;
  letter-spacing: -.02em;
}

/* Gestão, professor, aluno */
.triad { padding: 88px 0; border-top: 1px solid var(--line); background: var(--cream); }
.triad-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 48px; }
.triad-col { min-height: 0; padding: 20px 0 0; border-radius: 0; border-top: 3px solid var(--wine); background: transparent; }
.triad-col:nth-child(2) { border-top-color: #8c3a55; background: transparent; }
.triad-col:nth-child(3) { border-top-color: var(--rose); background: transparent; }
.triad-col ul { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.triad-col li { padding-left: 18px; position: relative; color: var(--muted); font-size: 16px; line-height: 1.5; }
.triad-col li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--wine); }

/* Faixa da marca da escola */
.brandline { padding: 72px 0; background: var(--wine); color: var(--cream); }
.brandline-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: end; padding: 0; border-radius: 0; background: transparent; }
.brandline h2 { max-width: 18ch; color: var(--cream); }
.brandline p { color: #f1dfe5; font-size: 1.1rem; max-width: 44ch; }

/* Implantação */
.steps { padding: 88px 0; background: var(--cream); }
.steps-list { counter-reset: step; list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; border: 0; }
.steps-list li { counter-increment: step; min-height: 0; padding: 0; border: 0 !important; }
.steps-list li::before { content: counter(step); position: static; display: block; margin-bottom: 14px; font-family: var(--sans); font-size: 3rem; font-weight: 850; line-height: 1; color: var(--wine); letter-spacing: -.04em; }
.steps-list p { margin-top: 8px; color: var(--muted); font-size: 16px; }

/* Segurança */
.safety { padding: 88px 0; background: #fff; border-block: 1px solid var(--line); }
.safety-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; align-items: start; }
.safety h2 { margin-top: 0; max-width: 22ch; }
.safety-list { margin: 0; display: grid; gap: 0; }
.safety-list div { display: block; padding: 18px 0; border-top: 1px solid var(--line); }
.safety-list div:first-child { border-top: 0; padding-top: 0; }
.safety-list div:last-child { border-bottom: 0; }
.safety-list dt { font-weight: 750; }
.safety-list dd { margin: 4px 0 0; color: var(--muted); font-size: 16px; line-height: 1.55; }

/* Piloto */
.pilot { padding: 88px 0 40px; background: var(--cream); }
.pilot-box { display: grid; grid-template-columns: 1.3fr auto; gap: 32px; align-items: center; padding: 44px; border-radius: 24px; background: var(--wine-deep); color: var(--cream); }
.pilot-box h2 { max-width: 22ch; color: var(--cream); }
.pilot-box p { margin-top: 12px; color: #f1dfe5; max-width: 52ch; font-size: 16px; line-height: 1.6; }
.pilot-box .btn { align-self: center; max-width: 360px; }

/* Perguntas */
.faq { padding: 64px 0 88px; background: var(--cream); }
.faq-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; padding: 18px 32px 18px 0; font-weight: 700; list-style: none; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-family: var(--sans); font-size: 1.4rem; font-weight: 400; color: var(--wine); }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { padding: 0 0 18px; color: var(--muted); max-width: 62ch; font-size: 16px; }

/* Rodapé */
.foot { border-top: 1px solid var(--line); padding: 28px 0 40px; background: var(--cream); }
.foot-row { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 14px; }
.foot-row a { margin-left: auto; color: var(--wine); font-weight: 700; }

@media (max-width: 960px) {
  .brandline-grid, .safety-grid, .faq-wrap, .pilot-box { grid-template-columns: 1fr; }
  .triad-grid { grid-template-columns: 1fr; gap: 36px; }
  .steps-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .triad, .steps, .safety, .brandline { padding: 56px 0; }
  .pilot-box { padding: 28px 22px; }
  .pilot-box .btn { white-space: normal; text-align: center; }
  .steps-list { grid-template-columns: 1fr; }
  .foot-row { flex-wrap: wrap; }
  .foot-row a { width: auto; margin: 0 0 0 auto; }
}

/* Responsivo exclusivo do topo aprovado. */
@media (max-width: 1020px) {
  .top-nav { display: none; }
  .top-actions { margin-left: auto; }
  .product-stage { height: 530px; }
  .board { width: 84%; }
  .artifact-finance { right: -8px; }
  .artifact-student { left: -8px; }
  .artifact-teacher { right: 10px; }
}

@media (max-width: 720px) {
  html { scroll-padding-top: 112px; }
  .wrap { width: min(1200px, calc(100% - 32px)); }
  h2 { font-size: clamp(1.9rem, 6.8vw, 2.7rem); }
  .section-lead { margin-top: 12px; font-size: 1rem; }
  .pilot { padding: 48px 0 28px; }
  .faq { padding: 44px 0 56px; }
  .faq-wrap { gap: 24px; }
  .hero { padding: 54px 0 76px; }
  .hero .wrap { width: min(100% - 28px, 560px); }
  .hero-note { margin-bottom: 20px; }
  .hero h1 { font-size: clamp(3.25rem, 14vw, 4.8rem); max-width: 10ch; line-height: .96; }
  .hero .lead { margin-top: 22px; font-size: 1rem; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .hero .btn { min-height: 46px; padding-inline: 14px; font-size: 13px; }
  .product-stage { height: auto; margin-top: 54px; display: grid; gap: 12px; }
  .product-stage .board,
  .product-stage .artifact { position: static; width: 100%; transform: none; }
  .artifact-main { order: 1; }
  .artifact-finance { order: 2; }
  .artifact-student { order: 3; }
  .artifact-teacher { order: 4; }
  .artifact { padding: 16px 18px; }
  .product-stage .board { padding: 13px; overflow: hidden; }
  .board-head { padding-bottom: 12px; }
  .board-status { display: none; }
  .board-grid { grid-template-columns: 32px repeat(4, minmax(0, 1fr)); grid-template-rows: 24px repeat(4, 62px); gap: 4px; }
  .cell { font-size: 9px; }
  .room { padding-left: 2px; }
  .lesson { padding: 5px; border-radius: 8px; font-size: 8.5px; }
  .lesson b { font-size: 9.5px; }
  .board-legend { gap: 7px 12px; font-size: 9px; }
  .artifact-finance { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: end; }
  .artifact-finance > span { grid-column: 1; }
  .artifact-finance > strong { grid-column: 2; grid-row: 1 / 3; font-size: 2.2rem; }
  .artifact-finance > p { grid-column: 1; }
  .mini-bars { grid-column: 1 / -1; }
}

@media (max-width: 430px) {
  .hero-actions { grid-template-columns: 1fr; }
  .board-grid { grid-template-columns: 28px repeat(4, minmax(0, 1fr)); }
  .board-legend { display: none; }
  .lesson { padding-inline: 4px; }
  .lesson:not(.lesson-strong) { color: transparent; }
  .lesson b { color: var(--wine-deep); }
  .lesson-strong { color: transparent; }
  .lesson-strong b { color: #fff; }
}
/* Submenu do topo: abre ao passar o mouse, ao focar ou ao clicar */
.nav-grupo { position: relative; }
.nav-toggle::after { content: ""; display: inline-block; width: 5px; height: 5px; margin-left: 7px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; rotate: 45deg; translate: 0 -3px; opacity: .7; }
.nav-sub { position: absolute; top: 100%; left: -14px; min-width: 200px; padding: 8px; margin-top: 12px; display: grid; background: #17141af5; backdrop-filter: blur(14px); border: 1px solid #ffffff1a; border-radius: 14px; box-shadow: 0 24px 50px -20px #000; opacity: 0; visibility: hidden; translate: 0 -6px; transition: opacity .18s, translate .18s, visibility .18s; z-index: 50; }
.nav-sub::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; }
.nav-sub a { padding: 9px 12px; border-radius: 9px; color: var(--muted); }
.nav-sub a:hover, .nav-sub a:focus-visible { background: #ffffff10; color: var(--ink); }
.nav-grupo.aberto .nav-sub { opacity: 1; visibility: visible; translate: 0 0; }

/* Os submenus também precisam ficar acessíveis no celular. */
@media (max-width: 1020px) {
  .top-row { flex-wrap: wrap; gap: 12px; padding-block: 12px; }
  .top-nav { display: flex; order: 3; flex-basis: 100%; flex-wrap: wrap; gap: 4px 20px; margin-left: 0; }
  .top-nav > a { display: inline-flex; align-items: center; min-height: 44px; }
  .nav-sub { margin-top: 0; }
}

.nav-grupo-separado { display: inline-flex; align-items: center; }
.nav-grupo-separado > a { display: inline-flex; align-items: center; min-height: 44px; }
.nav-toggle {
  display: grid;
  place-items: center;
  width: 32px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
}
.nav-toggle::after { margin-left: 0; }
.nav-toggle[aria-expanded="true"]::after { rotate: 225deg; translate: 0 1px; }

@media (max-width: 720px) {
  .top-row { min-height: 0; gap: 2px 8px; padding-block: 6px 0; }
  .top-row .top-logo img { display: block; width: clamp(94px, 27vw, 126px); }
  .top-actions { gap: 4px; }
  .top-actions :is(.top-enter, .top-demo) { min-height: 44px; padding: 0 10px; font-size: 13px; }
  .top-nav { justify-content: center; gap: 0 clamp(4px, 2vw, 18px); font-size: 13px; }
  .top-nav .nav-toggle { width: 24px; }
  .top-nav .nav-sub a { display: flex; align-items: center; min-height: 44px; }
  .top :is(a, button):focus-visible { outline: 2px solid #edb7cd; outline-offset: 2px; }
  .top-nav { position: relative; }
  .top-nav .nav-grupo { position: static; }
  .top-nav .nav-sub {
    inset-inline: 0;
    min-width: 0;
    max-height: 58svh;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
}
@media (max-width: 360px) {
  html { scroll-padding-top: 154px; }
  .top-row .top-logo img { width: 86px; }
  .top-actions :is(.top-enter, .top-demo) { padding-inline: 8px; font-size: 12px; }
}

.top-menu, .top-menu-panel:not([open]) { display: none; }

@media (max-width: 720px) {
  html:has(.top-menu) { scroll-padding-top: 72px; }
  html:has(.top-menu-panel[open]) { overflow: hidden; }
  .top-row:has(.top-menu) {
    min-height: 62px;
    flex-wrap: nowrap;
    padding-block: 4px;
  }
  .top-row:has(.top-menu) > .top-nav { display: none; }
  .top-actions:has(.top-menu) .top-demo { display: none; }
  .top-actions:has(.top-menu) :is(a, button) {
    min-height: 46px;
    border-radius: 14px;
    user-select: none;
  }
  .top-menu, .top-menu-close {
    position: relative;
    display: grid;
    place-items: center;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 0;
    border-radius: 14px;
    background: #ffffff0d;
    color: #f8eef3;
    cursor: pointer;
  }
  .top-menu::before, .top-menu::after,
  .top-menu-close::before, .top-menu-close::after {
    content: "";
    position: absolute;
    width: 17px;
    height: 1.5px;
    border-radius: 2px;
    background: currentColor;
  }
  .top-menu::before { translate: 0 -3px; }
  .top-menu::after { translate: 0 3px; }
  .top-menu-close::before { rotate: 45deg; }
  .top-menu-close::after { rotate: -45deg; }
  .top-menu-panel {
    inset: 0;
    width: 100%;
    height: 100dvh;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: max(12px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right))
             max(24px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
    border: 0;
    overflow: auto;
    overscroll-behavior: contain;
    color: #f8eef3;
    background: radial-gradient(ellipse at 100% 0%, #452335, transparent 65%), #181219;
  }
  .top-menu-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin: 0 auto 16px;
    max-width: 520px;
  }
  .top-menu-panel .top-nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    max-width: 520px;
    margin-inline: auto;
  }
  .top-menu-panel .nav-grupo {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    border-top: 1px solid #f4cade24;
  }
  .top-menu-panel :is(.nav-grupo > a, .top-nav > .top-demo) {
    min-height: 58px;
    padding-inline: 6px;
    color: #f8eef3;
    font-size: 1.45rem;
    font-weight: 700;
  }
  .top-menu-panel .top-demo {
    justify-content: flex-start;
    border-top: 1px solid #f4cade24;
    border-radius: 0;
    background: transparent;
  }
  .top-menu-panel .nav-toggle {
    width: 46px;
    height: 46px;
    align-self: center;
    color: #ebafc6;
    background: #ffffff08;
    user-select: none;
  }
  .top-menu-panel .nav-sub {
    display: none;
    position: static;
    grid-column: 1 / -1;
    max-height: none;
    margin: 0 0 10px 6px;
    padding: 2px 8px;
    border: 0;
    border-inline-start: 2px solid #a24d70;
    border-radius: 0;
    background: none;
    backdrop-filter: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    translate: none;
  }
  .top-menu-panel .nav-sub::before { display: none; }
  .top-menu-panel .nav-grupo.aberto .nav-sub { display: grid; }
  .top-menu-panel .nav-sub a { color: #e7cbd9; font-size: .9375rem; }
  .top-menu-panel [aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }
}

@media (max-width: 420px) {
  .top-row:has(.top-menu) .top-logo {
    width: 32px;
    background: url("/assets/sonoria/sonoria-simbolo-branco.svg") center / contain no-repeat;
  }
  .top-row:has(.top-menu) .top-logo img { width: 32px; height: 44px; opacity: 0; }
}

@media (min-width: 721px) {
  .nav-planos .nav-toggle { width: 24px; margin-inline-end: -12px; justify-items: start; }
  .nav-planos .nav-toggle::after { margin-inline-start: 7px; }
}
