:root {
  --page: #F6F7FB;
  --surface: #FFFFFF;
  --card: #EBEFFA;
  --card-strong: #DDE2F5;
  --line: #D5DCEC;
  --ink: #0F1B3D;
  --muted: #5C6370;
  --brand: #2B5CD5;
  --brand-hover: #244FC0;
  --brand-ink: #1A44A8;
  --on-brand: #FFFFFF;
  --stop: #BD1A1D;
  --premium-start: #3A5BC4;
  --premium-end: #050811;
  --gold: #E8C872;
  --focus: #0F1B3D;
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-2xl: 40px;
  --r-pill: 999px;
  --shadow-card: 0 8px 32px rgba(15, 27, 61, 0.06);
  --shadow-theater: 0 24px 64px rgba(43, 92, 213, 0.1);
  --max: 1120px;
  --header-h: 64px;
  --sticky-h: 56px;
  --sticky-play-offset: calc(var(--sticky-h) + 1.5rem + env(safe-area-inset-bottom, 0px));
  --section-y: 3.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--page);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--brand-ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--brand-hover);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--brand);
  color: var(--on-brand);
  border-radius: var(--r-sm);
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.container {
  width: min(var(--max), 100% - 2rem);
  margin-inline: auto;
}

.display {
  font-family: "Outfit", system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.kicker {
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-ink);
  margin: 0 0 0.75rem;
}

.lede {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 42rem;
  margin: 0 0 1rem;
}

.honesty {
  font-size: 0.9375rem;
  color: var(--muted);
  max-width: 42rem;
  margin: 0 0 1.5rem;
}

.section {
  padding-block: var(--section-y);
}

.section-title {
  font-family: "Outfit", system-ui, sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 1.5rem;
  letter-spacing: -0.02em;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(246, 247, 251, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-family: "Outfit", system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.125rem;
  color: var(--ink);
  text-decoration: none;
}

.wordmark:hover {
  color: var(--ink);
}

.wordmark-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 8px;
  object-fit: cover;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  overflow-x: auto;
  flex: 1;
  min-width: 0;
  scrollbar-width: none;
}

.site-nav::-webkit-scrollbar {
  display: none;
}

.site-nav a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a:hover {
  color: var(--ink);
}

.header-play {
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .header-play {
    font-size: 0.75rem;
    padding: 0 0.75rem;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: "Manrope", system-ui, sans-serif;
  font-weight: 700;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.play-sm {
  height: 40px;
  padding: 0 1rem;
  font-size: 0.8125rem;
  border-radius: var(--r-pill);
  background: var(--brand);
  color: var(--on-brand);
}

.play-sm:hover {
  background: var(--brand-hover);
  color: var(--on-brand);
}

.play-lg {
  height: 56px;
  padding: 0 1.5rem;
  font-size: 0.9375rem;
  border-radius: var(--r-pill);
  background: var(--brand);
  color: var(--on-brand);
  box-shadow: 0 8px 24px rgba(43, 92, 213, 0.25);
}

.play-lg:hover {
  background: var(--brand-hover);
  color: var(--on-brand);
}

a.btn.play-sm,
a.btn.play-lg,
.sticky-play .play-lg,
.header-play {
  text-decoration: none;
  background: var(--brand);
  color: var(--on-brand);
}

a.btn.play-sm:hover,
a.btn.play-lg:hover,
.sticky-play .play-lg:hover {
  background: var(--brand-hover);
  color: var(--on-brand);
}

.play-badge {
  display: inline-block;
  line-height: 0;
}

.play-badge img {
  width: min(200px, 100%);
  height: auto;
}

.play-icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  line-height: 0;
}

.play-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.play-lg .play-icon svg {
  width: 20px;
  height: 20px;
}

/* Hero */
.hero.section {
  padding-block: 2.5rem 3rem;
}

.hero h1 {
  font-family: "Outfit", system-ui, sans-serif;
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 0.5rem;
  max-width: 18ch;
}

.hero-tagline {
  font-family: "Outfit", system-ui, sans-serif;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: var(--brand-ink);
  margin: 0 0 1rem;
}

.hero-banner {
  position: relative;
  width: min(1120px, 100% - 2rem);
  margin: 0 auto 2.5rem;
  padding: 1.25rem 0 1.75rem;
  min-height: clamp(200px, 34vw, 300px);
}

.hero-atmosphere {
  position: absolute;
  inset: -0.5rem -0.75rem;
  z-index: 0;
  overflow: hidden;
  border-radius: var(--r-lg);
  pointer-events: none;
}

.hero-atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    var(--page) 0%,
    rgba(246, 247, 251, 0.94) 28%,
    rgba(246, 247, 251, 0.55) 48%,
    transparent 72%
  );
  pointer-events: none;
}

.hero-atmosphere__canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: min(38rem, 100%);
}

.hero-copy .honesty {
  margin-bottom: 0;
}


.hero-demo {
  width: min(1120px, 100% - 2rem);
  margin: 0 auto;
}

.hero-demo .scene-switcher {
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .hero h1 {
    max-width: 22ch;
  }
}

.scene-switcher {
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 4px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  margin-bottom: 1.25rem;
  max-width: 100%;
  overflow-x: auto;
}

.scene-btn {
  flex: 0 0 auto;
  height: 40px;
  padding: 0 1.125rem;
  border: 0;
  border-radius: var(--r-pill);
  background: transparent;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
}

.scene-btn.is-active {
  background: var(--brand);
  color: var(--on-brand);
}

/* Theater */
.theater-wrap {
  width: 100%;
  margin: 0;
}

#transcript-theater {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-theater);
  overflow: hidden;
}

.theater-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--card) 0%, var(--surface) 100%);
}

.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  height: 40px;
  min-width: 40px;
  padding: 0 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--surface);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
}

.chip.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--on-brand);
}

.show-group .chip {
  font-weight: 600;
  font-size: 0.75rem;
  padding: 0 0.875rem;
  height: 44px;
}

.theater-status {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
  margin-left: auto;
}

.start-btn {
  height: 48px;
  padding: 0 1.25rem;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--brand);
  color: var(--on-brand);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.start-btn.is-running {
  background: var(--stop);
}

.theater-log {
  min-height: 280px;
  max-height: 420px;
  overflow-y: auto;
  padding: 1.25rem 1.5rem 1.5rem;
}

.theater-line {
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.theater-line.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.theater-line:last-child {
  border-bottom: 0;
}

.line-en,
.line-to {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
}

.line-to {
  color: var(--brand-ink);
  font-weight: 600;
  margin-top: 0.375rem;
}

.line-tag {
  display: inline-block;
  min-width: 2rem;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--muted);
}

#transcript-theater[data-show="en"] .line-to {
  display: none;
}

#transcript-theater[data-show="to"] .line-en {
  display: none;
}

.js .theater-line:not(.is-visible) {
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .theater-line {
    transition: none;
    opacity: 1;
    transform: none;
  }

}

/* Scene cards: text + compact phone, same family as theater */
.scene-stack {
  display: grid;
  gap: 1.5rem;
}

.scene-card {
  display: grid;
  gap: 1.25rem;
  align-items: center;
  padding: 1.25rem 1.25rem 1.35rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-theater);
}

.scene-card__copy {
  min-width: 0;
}

.scene-card__copy h3 {
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
}

.scene-card__copy > p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.scene-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1rem;
  counter-reset: step;
}

.scene-steps li {
  counter-increment: step;
  padding-left: 2.25rem;
  position: relative;
}

.scene-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  background: var(--card);
  color: var(--brand-ink);
  font-size: 0.75rem;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.scene-steps h3 {
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
}

.scene-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

.phone-mock {
  width: 180px;
  height: 360px;
  justify-self: center;
  border-radius: 26px;
  overflow: hidden;
  background: #e8eaf0;
  border: 9px solid #e8eaf0;
  box-shadow: var(--shadow-card);
  flex-shrink: 0;
}

.phone-mock img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

@media (min-width: 768px) {
  .scene-card {
    grid-template-columns: 1fr 200px;
    gap: 1.5rem 2rem;
    padding: 1.5rem 1.75rem;
    align-items: center;
  }

  .phone-mock {
    width: 200px;
    height: 400px;
    border-radius: 28px;
    border-width: 10px;
    justify-self: end;
  }

  /* Camera scene: align phone top with menu title, not menu-paper edge */
  #camera-card.scene-card {
    align-items: start;
  }

  #camera-card .scene-card__copy {
    display: contents;
  }

  #camera-card .scene-card__copy h3 {
    grid-column: 1;
    grid-row: 1;
  }

  #camera-card .scene-card__copy > p {
    grid-column: 1;
    grid-row: 2;
  }

  #camera-card .travel-controls {
    grid-column: 1;
    grid-row: 3;
  }

  #camera-card .menu-paper {
    grid-column: 1;
    grid-row: 4;
  }

  #camera-card .phone-mock {
    grid-column: 2;
    grid-row: 4;
    align-self: start;
    margin-top: 1rem;
  }
}

/* Video */
.video-url {
  display: flex;
  gap: 0.75rem;
  margin: 0 0 1rem;
}

.video-url input {
  flex: 1;
  height: 44px;
  padding: 0 1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--card);
  color: var(--muted);
  font-family: inherit;
  font-size: 0.875rem;
}

.video-url input:disabled {
  opacity: 0.85;
  cursor: not-allowed;
}

.video-captions {
  padding: 0.85rem 1rem;
  background: var(--card);
  border-radius: var(--r-md);
}

.caption-en,
.caption-to {
  margin: 0;
  font-size: 0.9rem;
}

.caption-to {
  color: var(--brand-ink);
  font-weight: 600;
  margin-top: 0.3rem;
}

.video-captions .travel-controls {
  margin-top: 0.75rem;
}

.video-disclaimer {
  font-size: 0.8125rem;
  color: var(--muted);
  margin: 0.85rem 0 0;
}

/* Viagem extras inside scene cards */
.travel-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1rem;
}

.menu-paper {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1rem 1.15rem;
}

.menu-title {
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 0.15rem;
  color: var(--ink);
}

.menu-sub {
  font-size: 0.75rem;
  color: var(--muted);
  margin: 0 0 0.75rem;
  font-style: italic;
}

.menu-items {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-items li {
  padding: 0.4rem 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.875rem;
  color: var(--ink);
}

.menu-items li:last-child {
  border-bottom: 0;
}

.menu-overlays {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.menu-overlay {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.55rem 0.75rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
}

.menu-overlay-source {
  font-size: 0.75rem;
  color: var(--muted);
}

.menu-overlay-translation {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand-ink);
}

.chat-pair-bar {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  margin-bottom: 0.45rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--brand-ink);
}

.chat-pair-bar__swap {
  color: var(--muted);
  font-weight: 500;
}

.chat-roles {
  margin: 0 0 0.85rem;
  font-size: 0.75rem;
  color: var(--muted);
}

.chat-role--you {
  color: var(--brand-ink);
  font-weight: 600;
}

.chat-log {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
  cursor: pointer;
  width: 100%;
  max-width: min(100%, 20rem);
}

.chat-turn {
  display: flex;
  flex-direction: column;
  max-width: 92%;
}

.chat-turn--local {
  align-self: flex-end;
  align-items: flex-end;
  margin-inline-end: 0.35rem;
}

.chat-turn--en {
  align-self: flex-start;
  align-items: flex-start;
}

.chat-bubble {
  width: 100%;
  padding: 0;
  overflow: hidden;
  border-radius: var(--r-md);
  cursor: pointer;
}

.chat-bubble--local {
  background: var(--brand);
  color: var(--on-brand);
  border-bottom-right-radius: 4px;
}

.chat-bubble--en {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-bottom-left-radius: 4px;
}

.chat-spoken,
.chat-translation {
  margin: 0;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  line-height: 1.35;
}

.chat-spoken {
  font-weight: 500;
}

.chat-translation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-weight: 700;
  border-top: 1px solid var(--line);
}

.chat-bubble--local .chat-translation {
  border-top-color: color-mix(in srgb, var(--on-brand) 22%, transparent);
}

.chat-translation__text {
  flex: 1;
  min-width: 0;
}

.chat-speaker {
  flex-shrink: 0;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  background: color-mix(in srgb, currentColor 12%, transparent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='11 5 6 9 2 9 2 15 6 15 11 19 11 5'/%3E%3Cpath d='M15.54 8.46a5 5 0 0 1 0 7.07'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 0.8rem;
}

.chat-pair-label {
  margin: 0.2rem 0 0;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--muted);
}

/* Privacidade section */
.privacy-quote {
  font-family: "Outfit", system-ui, sans-serif;
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin: 0 0 1.75rem;
  max-width: 36ch;
  color: var(--ink);
}

.facts {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.fact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.35rem 1.4rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-theater);
  min-height: 100%;
}

.fact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 0.35rem;
  border-radius: 14px;
  background: var(--card);
  color: var(--brand);
}

.fact strong {
  display: block;
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}

.fact p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--muted);
}

.privacy-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  box-sizing: border-box;
  padding: 1.1rem 1.35rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  color: var(--brand-ink);
  font-family: "Outfit", system-ui, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: var(--shadow-theater);
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.privacy-link:hover {
  background: var(--surface);
  border-color: var(--brand);
  color: var(--brand);
}

.privacy-link svg {
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .facts {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

/* Premium */
.premium-grid {
  display: grid;
  gap: 1.5rem;
}

.plan {
  padding: 1.75rem;
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
}

.plan--free {
  background: var(--surface);
  box-shadow: var(--shadow-theater);
}

.plan--premium {
  background: linear-gradient(145deg, var(--premium-start) 0%, var(--premium-end) 100%);
  color: var(--on-brand);
  border: 0;
  box-shadow: var(--shadow-theater);
}

.plan h3 {
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 1.375rem;
  margin: 0 0 1rem;
}

.plan ul {
  margin: 0;
  padding-left: 1.125rem;
}

.plan li {
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
}

.plan--premium li {
  color: rgba(255, 255, 255, 0.92);
}

.plan--free li {
  color: var(--muted);
}

@media (min-width: 768px) {
  .premium-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}

.faq-item summary {
  padding: 1rem 1.25rem;
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--brand);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-body {
  padding: 0 1.25rem 1.25rem;
  color: var(--muted);
  font-size: 0.9375rem;
}

.faq-body p {
  margin: 0;
}

/* Fechar */
.closing {
  text-align: center;
  padding-block: var(--section-y) calc(var(--section-y) + 0.5rem);
}

.closing .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.closing-couplet {
  font-family: "Outfit", system-ui, sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
  letter-spacing: -0.02em;
  text-align: center;
}

.closing-play {
  margin: 0;
}

/* Footer */
.site-footer {
  padding: 2rem 0 1rem;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.footer-links a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
}

.footer-links a[data-play-link] {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.footer-links .play-icon svg {
  width: 16px;
  height: 16px;
}

.footer-links a:hover {
  color: var(--ink);
}

.footer-copy {
  font-size: 0.8125rem;
  color: var(--muted);
  margin: 0;
}

/* Sticky play */
.sticky-play {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.95);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(12px);
  transform: translateY(100%);
  transition: transform 0.25s ease;
}

.sticky-play.is-visible {
  transform: translateY(0);
}

.sticky-play .play-lg {
  width: 100%;
  height: var(--sticky-h);
}

@media (max-width: 767px) {
  .sticky-play {
    display: block;
  }

  body:has(.sticky-play) main {
    padding-bottom: var(--sticky-play-offset);
  }
}

/* Legal page */
.legal-page {
  padding: 2.5rem 0 4rem;
}

.legal-page h1 {
  font-family: "Outfit", system-ui, sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin: 0 0 0.5rem;
}

.legal-updated {
  color: var(--muted);
  font-size: 0.9375rem;
  margin: 0 0 2rem;
}

.legal-page h2 {
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem;
}

.legal-page h3 {
  font-size: 1.0625rem;
  margin: 1.25rem 0 0.5rem;
}

.legal-page p,
.legal-page li {
  color: var(--muted);
  font-size: 0.9375rem;
}

.legal-page ul {
  padding-left: 1.25rem;
}

.legal-page a {
  color: var(--brand-ink);
}

/* Download page */
.download-hero {
  text-align: center;
  padding: 3rem 0;
}

.download-hero h1 {
  font-family: "Outfit", system-ui, sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin: 0 0 1rem;
}

.download-hero p {
  color: var(--muted);
  max-width: 32rem;
  margin: 0 auto 1.5rem;
}

@media (min-width: 768px) {
  .theater-toolbar {
    flex-wrap: nowrap;
  }

  .show-group {
    margin-left: 0.5rem;
  }
}

@media (max-width: 767px) {
  :root {
    --section-y: 2.25rem;
  }

  .hero.section {
    padding-block: 2rem 2rem;
  }

  .section-title {
    margin-bottom: 1.125rem;
  }

  .privacy-quote {
    margin-bottom: 1.25rem;
  }

  .facts {
    margin-bottom: 1rem;
  }

  .scene-stack {
    gap: 1.125rem;
  }

  .hero-demo .scene-switcher {
    display: flex;
    width: 100%;
    height: 44px;
    margin-bottom: 0.75rem;
    overflow: visible;
  }

  .hero-demo .scene-btn {
    flex: 1 1 0;
    min-width: 0;
    height: 36px;
    padding: 0 0.375rem;
    font-size: 0.8125rem;
  }

  #transcript-theater .theater-toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    column-gap: 0.375rem;
    row-gap: 0.5rem;
    padding: 0.75rem 1rem;
  }

  #transcript-theater .chip-group {
    gap: 0.375rem;
    justify-content: center;
  }

  #transcript-theater .chip-group--langs {
    flex: 0 1 100%;
  }

  #transcript-theater .show-group {
    flex: 0 1 auto;
  }

  #transcript-theater .chip-group--langs .chip {
    height: 36px;
    min-width: 36px;
    padding: 0 0.5rem;
    font-size: 0.75rem;
  }

  #transcript-theater .show-group .chip {
    height: 36px;
    padding: 0 0.625rem;
    font-size: 0.6875rem;
  }

  #transcript-theater .start-btn {
    height: 40px;
    padding: 0 1rem;
    font-size: 0.8125rem;
    flex: 0 1 100%;
    align-self: stretch;
  }

  #transcript-theater .theater-status {
    font-size: 0.75rem;
    margin-left: 0;
    flex: 0 0 auto;
  }
}

@media (max-width: 389px) {
  #transcript-theater .theater-toolbar {
    padding: 0.625rem 0.75rem;
  }
}
