@charset "UTF-8";

/* ==========================================================================
   Design Tokens & Configurações Globais
   ========================================================================== */

:root {
  --paper: #f6f3ea;
  --ink: #283e37;
  --muted: #66736a;
  --line: #d6dace;
  --accent: #e6b376;
  --mint: #e2e9df;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'Segoe UI', Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 35px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.65;
  position: relative;
}

.shader-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 1;
  transition: opacity 0.5s ease;
}

.site-header,
main,
footer,
.ribbon {
  position: relative;
  z-index: 1;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-underline-offset: 5px;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}

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

.wrap {
  width: min(1180px, calc(100% - 80px));
  margin-inline: auto;
}

.skip {
  position: absolute;
  top: -80px;
  background: var(--ink);
  color: #fff;
  padding: 12px;
  z-index: 99;
}

.skip:focus {
  top: 0;
}

/* ==========================================================================
   Proteção de Contraste e Legibilidade Tipográfica
   ========================================================================== */

.hero-copy,
.section-heading,
.pet-description,
.feature-list,
.timeline,
.faq,
.daily-heading {
  position: relative;
  z-index: 1;
}

.hero h1,
.section-heading h2,
.character-layout h3,
.faq h2,
.daily-heading h2 {
  text-shadow: 0 0 10px var(--paper), 0 0 20px var(--paper);
}

.intro,
.section-heading > p,
.feature-list p,
.timeline p,
.faq details p,
.daily-heading p,
.pet-description > p {
  text-shadow: 0 0 8px var(--paper);
}

/* ==========================================================================
   Header & Navegação
   ========================================================================== */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 100px;
  border-bottom: 1px solid var(--line);
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 32px;
  letter-spacing: -2px;
  font-weight: 750;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.brand:hover img {
  transform: scale(1.06) rotate(-2deg);
}

.brand-dot {
  color: var(--accent);
  margin-left: -10px;
  transition: color 0.45s ease, text-shadow 0.45s ease;
}

.site-header nav {
  display: flex;
  gap: 30px;
  font-size: 14px;
}

.site-header nav a {
  text-decoration: none;
}

.site-header nav a:hover {
  text-decoration: underline;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  padding: 0;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.theme-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: scale(1.08);
}

.theme-toggle svg {
  display: block;
  transition: transform 0.35s ease;
}

.theme-toggle:hover svg {
  transform: rotate(20deg);
}

.theme-toggle .icon-sun {
  display: none;
}

.theme-toggle .icon-moon {
  display: block;
}

html[data-theme='dark'] .theme-toggle .icon-sun {
  display: block;
  color: var(--accent);
  filter: drop-shadow(0 0 6px var(--accent));
}

html[data-theme='dark'] .theme-toggle .icon-moon {
  display: none;
}

html[data-theme='dark'] .theme-toggle {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}

html[data-theme='dark'] .theme-toggle:hover {
  box-shadow: 0 0 12px var(--accent);
}

.header-note {
  font-size: 12px;
  text-decoration: none;
  display: flex;
  gap: 8px;
  align-items: center;
}

.header-download-pill {
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-weight: 600;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.header-download-pill:hover {
  border-color: var(--accent);
  background: var(--warm);
  transform: translateY(-1px);
}

.status-dot {
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  transition: background 0.45s ease, box-shadow 0.45s ease;
}

.status-dot.live-dot {
  background: #2b7a4b;
  box-shadow: 0 0 8px rgba(43, 122, 75, 0.6);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  min-height: 660px;
  align-items: center;
  padding-block: 70px 75px;
}

.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  margin: 0 0 24px;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(45px, 4.9vw, 68px);
  line-height: 1.04;
  letter-spacing: -2.7px;
  font-weight: 400;
  margin: 0 0 28px;
}

em {
  font-weight: 400;
}

.intro {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  background: var(--ink);
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.button:hover {
  background: var(--hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

.button-download {
  background: var(--ink);
  color: #fff;
  border: 1px solid transparent;
  gap: 10px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

html[data-theme='dark'] .button-download {
  background: var(--accent);
  color: #130f1c;
  box-shadow: 0 4px 18px rgba(191, 140, 255, 0.25);
}

.button-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}

html[data-theme='dark'] .button-download:hover {
  background: var(--hover);
  color: #130f1c;
  box-shadow: 0 6px 24px rgba(191, 140, 255, 0.4);
}

.button-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: none;
  gap: 8px;
}

.button-ghost:hover {
  background: var(--surface);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.small-note {
  font-size: 11px;
  color: var(--muted);
  margin: 13px 0 0;
}

.hero-meta-note {
  font-size: 12px;
  color: var(--muted);
  margin: 12px 0 0;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.hero-art {
  position: relative;
  min-width: 0;
  height: 490px;
  background: var(--stage);
  border-radius: 48% 48% 5px 5px;
  isolation: isolate;
}

.hero-pet {
  position: absolute;
  object-fit: contain;
  image-rendering: pixelated;
  z-index: 2;
}

.hero-nimbo {
  width: 62%;
  left: 16%;
  top: 15%;
  transform: rotate(-5deg);
}

.hero-broto {
  width: 43%;
  left: -4%;
  bottom: 0;
  transform: rotate(-8deg);
}

.hero-duna {
  width: 44%;
  right: -4%;
  bottom: 0;
  transform: rotate(7deg);
}

.art-ground {
  position: absolute;
  bottom: 35px;
  left: 10%;
  width: 80%;
  height: 40px;
  background: var(--ground);
  border-radius: 50%;
  z-index: 0;
}

.art-note {
  position: absolute;
  left: 0;
  top: 0;
  font: italic 17px/1.4 var(--serif);
  transform: rotate(-8deg);
  z-index: 3;
}

.paper-stamp {
  position: absolute;
  right: -8px;
  top: 30px;
  padding: 16px 18px;
  background: var(--warm);
  color: var(--ink);
  font: 700 12px/1.3 var(--sans);
  letter-spacing: 1px;
  transform: rotate(10deg);
  border: 1px dashed var(--accent);
  z-index: 3;
}

.art-caption {
  position: absolute;
  bottom: -27px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 9px;
  letter-spacing: 1.5px;
}

.pixel-spark {
  position: absolute;
  color: var(--accent);
  pointer-events: none;
  user-select: none;
  line-height: 1;
  z-index: 5;
}

.spark-one {
  left: 6%;
  top: 22%;
  font-size: 30px;
}

.spark-two {
  right: 7%;
  top: 38%;
  font-size: 20px;
}

.spark-three {
  left: 36%;
  top: 8%;
  font-size: 14px;
}

.spark-four {
  right: 32%;
  top: 7%;
  font-size: 12px;
}

.spark-five {
  left: 9%;
  top: 44%;
  font-size: 22px;
}

.orbit {
  position: absolute;
  background: var(--accent);
  opacity: 0.45;
  pointer-events: none;
  user-select: none;
  z-index: 5;
  transform: rotate(45deg);
}

.orbit-one {
  right: 22%;
  top: 11%;
  width: 8px;
  height: 8px;
}

.orbit-two {
  left: 15%;
  top: 34%;
  width: 4px;
  height: 4px;
}

.orbit-three {
  right: 5%;
  top: 49%;
  width: 6px;
  height: 6px;
}

.orbit-four {
  left: 50%;
  top: 5%;
  width: 3px;
  height: 3px;
}

.orbit-five {
  right: 12%;
  top: 25%;
  width: 5px;
  height: 5px;
}

/* ==========================================================================
   Ribbon
   ========================================================================== */

.ribbon {
  border-block: 1px solid var(--line);
  background: var(--surface);
}

.ribbon .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 18px;
  font-size: 12px;
}

.ribbon span[aria-hidden] {
  color: var(--accent);
}

/* ==========================================================================
   Seções Gerais & Títulos
   ========================================================================== */

.section-space {
  padding-block: 95px;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 48px;
}

h2 {
  font: 400 clamp(31px, 3.5vw, 43px)/1.15 var(--serif);
  letter-spacing: -1.2px;
  margin: 0 0 20px;
}

.section-heading > p:last-child {
  color: var(--muted);
  font-size: 15px;
  max-width: 580px;
}

/* ==========================================================================
   Personagens & Demonstração Interativa
   ========================================================================== */

.character-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.pet-picker {
  display: flex;
  gap: 7px;
  margin-bottom: 42px;
  flex-wrap: wrap;
}

.pet-picker button {
  padding: 8px 20px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 30px;
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.pet-picker button:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}

.pet-picker button[aria-pressed='true'] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.pet-description h3 {
  font: 400 48px var(--serif);
  margin: 4px 0 15px;
}

.pet-description > p {
  max-width: 345px;
  color: var(--muted);
  font-size: 15px;
  min-height: 100px;
}

.hand-note {
  font: italic 19px/1.5 var(--serif);
  color: var(--accent);
  margin-top: 30px;
}

.demo-shell {
  min-width: 0;
}

.demo-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-bottom: none;
  border-radius: 10px 10px 0 0;
  font-size: 10px;
  letter-spacing: 1px;
  background: var(--surface);
}

.demo-top > span:first-child {
  display: flex;
  gap: 5px;
  align-items: center;
}

.demo-top i {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.demo {
  position: relative;
  height: 330px;
  background: var(--stage);
  border: 1px solid var(--line);
  border-radius: 0 0 9px 9px;
  overflow: hidden;
}

.desk-note {
  position: absolute;
  left: 32px;
  top: 36px;
  width: 165px;
  padding: 17px 20px 25px;
  background: var(--note);
  transform: rotate(-5deg);
  box-shadow: 2px 4px 0 var(--ground);
  font: italic 15px var(--serif);
}

.desk-note div {
  height: 1px;
  margin-top: 18px;
  background: var(--line);
}

.desk-note div:last-child {
  width: 65%;
}

.demo-pet {
  position: absolute;
  width: 215px;
  height: 215px;
  right: 30px;
  bottom: 20px;
  padding: 0;
  border: none;
  background: none;
  transition: width 0.3s, height 0.3s;
  transform-origin: bottom center;
}

.demo-pet img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: pixelated;
  pointer-events: none;
}

.demo-message {
  position: absolute;
  right: 25px;
  top: 38px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px 10px 0 10px;
  padding: 9px 13px;
  font-size: 12px;
  max-width: 200px;
  z-index: 3;
}

.desktop-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding: 6px 12px;
  font-size: 8px;
  letter-spacing: 2px;
  background: var(--ground);
}

.demo-controls {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 18px;
}

.demo-controls button {
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
  font-size: 12px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.demo-controls button:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}

.demo-controls button[aria-pressed='true'] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
}

.demo-settings {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 11px;
}

.demo-settings label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.demo-settings input[type='range'] {
  accent-color: var(--accent);
  cursor: pointer;
}

.demo-settings button {
  padding: 6px 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 11px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.demo-settings button:hover {
  border-color: var(--accent);
}

.demo-caption {
  text-align: center;
  color: var(--muted);
  font-size: 10px;
  margin: 10px 0 0;
}

.demo[data-mode='discrete'] .demo-pet {
  width: 84px;
  height: 84px;
  right: 12px;
  bottom: 23px;
}

.demo[data-mode='music'] .demo-pet {
  animation: dance 0.8s ease-in-out infinite;
}

.demo-pet.hop {
  animation: hop 0.45s ease-out;
}

/* ==========================================================================
   Recursos & Cotidiano
   ========================================================================== */

.daily {
  background: var(--mint);
}

.daily > .wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
}

.daily-heading > p:last-child {
  font-size: 15px;
  color: var(--muted);
}

.feature-list article {
  display: flex;
  gap: 22px;
  border-top: 1px solid var(--line);
  padding: 23px 0;
}

.feature-list article:last-child {
  padding-bottom: 0;
}

.feature-mark {
  font: 12px var(--sans);
  padding-top: 7px;
  color: var(--accent-text);
}

.feature-list h3 {
  font: 400 23px var(--serif);
  margin: 0 0 10px;
}

.feature-list p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

/* ==========================================================================
   Timeline / Roadmap
   ========================================================================== */

.timeline {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  margin: 0;
}

.timeline li {
  border-top: 2px solid var(--line);
  padding-top: 23px;
}

.timeline li.current {
  border-color: var(--accent);
}

.phase-status {
  font-size: 9px;
  letter-spacing: 1.5px;
  color: var(--muted);
}

.timeline h3 {
  font: 400 25px var(--serif);
  margin: 15px 0 10px;
}

.timeline p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

/* ==========================================================================
   Feedbacks & Comunidade (#feedback)
   ========================================================================== */

.feedback-section {
  position: relative;
  z-index: 1;
}

.feedback-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 44px;
  align-items: start;
}

.feedback-channels {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.channel-card {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: border-color 0.2s ease;
}

.channel-card:hover {
  border-color: var(--accent);
}

.channel-icon-wrap {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--stage);
  color: var(--ink);
  transition: transform 0.2s ease;
}

.channel-card:hover .channel-icon-wrap {
  transform: scale(1.05);
}

.github-card .channel-icon-wrap {
  color: var(--ink);
  background: var(--ground);
}

.tiktok-card .channel-icon-wrap {
  color: #fe2c55;
  background: rgba(254, 44, 85, 0.12);
}

.channel-content {
  flex: 1;
  min-width: 0;
  text-shadow: 0 0 8px var(--paper);
}

.channel-content h3 {
  font: 400 25px/1.25 var(--serif);
  margin: 8px 0 12px;
}

.channel-content p {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 18px;
}

.channel-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  font-weight: 600;
  text-decoration-thickness: 1px;
}

.channel-link:hover {
  color: var(--accent-text);
}

.channel-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
}

/* Caderninho de Recados / Feedback */
.feedback-memo-box {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

html[data-theme='dark'] .feedback-memo-box {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}

.memo-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 18px;
  background: var(--stage);
  border-bottom: 1px solid var(--line);
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--muted);
  font-family: var(--sans);
  user-select: none;
}

.memo-top > span:first-child {
  display: flex;
  gap: 5px;
  align-items: center;
}

.memo-top i {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.8;
}

.memo-body {
  padding: 32px;
}

.form-header {
  margin-bottom: 28px;
}

.form-header h3 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  margin: 6px 0 6px;
  color: var(--ink);
}

.form-header p {
  font-size: 13.5px;
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
}

.feedback-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.feedback-type-field {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label,
.feedback-type-field legend {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.2px;
}

.feedback-type-field legend {
  padding: 0;
  margin-bottom: 8px;
}

.field-optional {
  color: var(--muted);
  font-weight: 400;
}

.form-field .required {
  color: var(--accent);
}

.feedback-type-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

.type-pill {
  position: relative;
  cursor: pointer;
}

.type-pill input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.type-pill span {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 550;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--muted);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  user-select: none;
}

.type-pill:hover span {
  border-color: var(--accent);
  color: var(--ink);
}

.type-pill input:checked + span {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
  font-weight: 650;
}

.type-pill input:focus-visible + span {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

html[data-theme='dark'] .type-pill span {
  background: var(--stage);
  border-color: var(--line);
  color: var(--muted);
}

html[data-theme='dark'] .type-pill:hover span {
  border-color: var(--accent);
  color: var(--ink);
  background: var(--surface);
}

html[data-theme='dark'] .type-pill input:checked + span {
  background: var(--ground);
  border-color: var(--accent);
  color: var(--ink);
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 13px 15px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(148, 100, 172, 0.18);
}

html[data-theme='dark'] .form-field input:focus,
html[data-theme='dark'] .form-field textarea:focus {
  box-shadow: 0 0 0 3px rgba(191, 140, 255, 0.22);
}

.form-field textarea {
  resize: vertical;
  min-height: 95px;
  line-height: 1.55;
}

.memo-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px 24px;
  padding-top: 22px;
  border-top: 1px dashed var(--line);
}

.memo-foot-note {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.memo-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  background: var(--ink);
  color: var(--paper);
  padding: 11px 24px;
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.memo-submit-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  background: var(--hover);
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

html[data-theme='dark'] .memo-submit-btn {
  background: var(--stage);
  border-color: var(--line);
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

html[data-theme='dark'] .memo-submit-btn:hover:not(:disabled) {
  background: var(--ground);
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.memo-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.feedback-status {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--muted);
  opacity: 1;
}

.feedback-status:empty {
  display: none;
}

.feedback-email {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.form-field input:disabled,
.form-field textarea:disabled {
  opacity: 0.7;
}

.type-pill input:disabled + span {
  cursor: wait;
}

.not-found {
  min-height: 90vh;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  max-width: 640px;
}

.not-found > img {
  width: 140px;
  height: 140px;
  object-fit: contain;
  image-rendering: pixelated;
  margin-bottom: 24px;
}

.not-found h1 {
  font: 400 clamp(32px, 5vw, 48px)/1.15 var(--serif);
  letter-spacing: -1px;
  margin: 0;
}

.not-found > p:not(.eyebrow) {
  color: var(--muted);
  margin: 24px 0;
}

.feedback-status.success {
  color: #2b7a4b;
  font-weight: 600;
  padding: 12px 16px;
  background: rgba(43, 122, 75, 0.1);
  border-radius: 6px;
  border: 1px solid rgba(43, 122, 75, 0.25);
}

html[data-theme='dark'] .feedback-status.success {
  color: #6ee7a8;
  background: rgba(43, 122, 75, 0.2);
  border-color: rgba(43, 122, 75, 0.4);
}

.feedback-status.error {
  color: #c93b3b;
  font-weight: 600;
  padding: 12px 16px;
  background: rgba(201, 59, 59, 0.1);
  border-radius: 6px;
  border: 1px solid rgba(201, 59, 59, 0.25);
}

html[data-theme='dark'] .feedback-status.error {
  color: #ffb4b4;
}

/* ==========================================================================
   Release Preview & FAQ
   ========================================================================== */

.release {
  background: var(--warm);
  padding: 50px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  gap: 30px;
  border-radius: 8px;
}

.release-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
}

.release p:not(.eyebrow) {
  font-size: 14px;
  color: var(--ink);
}

.release-label {
  position: absolute;
  right: 30px;
  bottom: 17px;
  font-size: 8px;
  letter-spacing: 1.5px;
  color: var(--ink);
}

.faq {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
}

.faq h2 {
  font-size: 33px;
  max-width: 300px;
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.faq details:first-child {
  padding-top: 0;
}

.faq summary {
  cursor: pointer;
  font-size: 15px;
}

.faq details p {
  font-size: 14px;
  color: var(--muted);
  max-width: 540px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 30px;
  border-top: 1px solid var(--line);
  gap: 25px;
}

.footer-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 11.5px;
}

.footer-socials a {
  text-decoration: none;
  color: var(--muted);
  transition: color 0.2s ease;
}

.footer-socials a:hover {
  color: var(--accent-text);
  text-decoration: underline;
}

footer p,
footer > a:last-child {
  font-size: 11px;
  color: var(--muted);
  margin: 0;
}

/* ==========================================================================
   Animações Básicas
   ========================================================================== */

@keyframes dance {
  0%, 100% {
    transform: rotate(-7deg);
  }
  50% {
    transform: rotate(7deg) translateY(-5px);
  }
}

@keyframes hop {
  50% {
    transform: translateY(-30px);
  }
}

/* ==========================================================================
   Responsividade: Tablet / Telas Médias (<= 950px)
   ========================================================================== */

@media (max-width: 950px) {
  .wrap {
    width: calc(100% - 48px);
  }

  .site-header nav {
    gap: 18px;
  }

  .header-note {
    display: none;
  }

  .hero {
    min-height: 590px;
    padding-block: 55px;
  }

  .hero-art {
    height: 390px;
  }

  .hero h1 {
    font-size: 49px;
  }

  .character-layout,
  .daily > .wrap,
  .faq {
    gap: 35px;
  }

  .hero-nimbo {
    top: 23%;
  }

  .art-note {
    font-size: 15px;
  }

  .paper-stamp {
    right: 0;
  }

  .section-space {
    padding-block: 70px;
  }

  .feedback-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .feedback-memo-box,
  .feedback-channels {
    grid-column: auto;
    grid-row: auto;
  }

  .feedback-memo-box {
    order: -1;
  }

  .feedback-channels {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }

  .channel-card {
    flex-direction: column;
  }
}

/* ==========================================================================
   Responsividade: Mobile (<= 640px)
   ========================================================================== */

@media (max-width: 640px) {
  .wrap {
    width: calc(100% - 36px);
  }

  .site-header {
    display: grid;
    grid-template-columns: 1fr auto;
    min-height: 64px;
    gap: 0 12px;
    padding-top: 14px;
  }

  .brand {
    font-size: 24px;
    gap: 6px;
    flex-shrink: 0;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .site-header nav {
    display: flex;
    gap: 12px;
    font-size: 13px;
    grid-column: 1 / -1;
    grid-row: 2;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    padding-block: 12px;
    flex: 1;
    min-width: 0;
    margin: 0;
  }

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

  .header-actions {
    flex-shrink: 0;
    grid-column: 2;
    grid-row: 1;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-block: 35px 45px;
    gap: 30px;
  }

  .hero h1 {
    font-size: clamp(32px, 8.5vw, 42px);
    line-height: 1.12;
    letter-spacing: -1.2px;
  }

  .hero .eyebrow {
    font-size: 9px;
    letter-spacing: 1.5px;
  }

  .intro {
    font-size: 15px;
    line-height: 1.7;
  }

  .hero-art {
    height: 340px;
    max-width: 360px;
    width: 100%;
    margin: 10px auto 0;
  }

  .hero-nimbo {
    width: 58%;
    top: 12%;
    left: 21%;
  }

  .hero-broto,
  .hero-duna {
    width: 42%;
    bottom: 0;
  }

  .hero-broto {
    left: 0;
  }

  .hero-duna {
    right: 0;
  }

  .art-note {
    left: 10px;
    top: 8px;
    font-size: 13px;
  }

  .paper-stamp {
    right: 8px;
    top: 10px;
    padding: 10px 13px;
    font-size: 10px;
  }

  .art-caption {
    font-size: 8px;
  }

  .spark-one {
    font-size: 24px;
  }

  .spark-two {
    font-size: 16px;
  }

  .spark-three {
    font-size: 12px;
  }

  .spark-four {
    font-size: 10px;
  }

  .spark-five {
    font-size: 18px;
  }

  .ribbon .wrap {
    font-size: 10px;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    padding-block: 14px;
  }

  .ribbon span:nth-last-child(-n+2) {
    display: none;
  }

  .section-space {
    padding-block: 50px;
  }

  .section-heading {
    margin-bottom: 28px;
  }

  h2 {
    font-size: clamp(26px, 7vw, 34px);
    line-height: 1.2;
  }

  .character-layout,
  .daily > .wrap,
  .faq {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .pet-picker {
    margin-bottom: 20px;
    gap: 6px;
  }

  .pet-picker button {
    padding: 7px 16px;
    font-size: 12px;
  }

  .pet-description {
    border-left: none;
    border-top: 2px solid var(--accent);
    padding-left: 0;
    padding-top: 14px;
  }

  .pet-description h3 {
    font-size: 36px;
    margin: 2px 0 10px;
  }

  .pet-description > p {
    min-height: 0;
    max-width: none;
    font-size: 14px;
    line-height: 1.6;
  }

  .hand-note {
    display: none;
  }

  .demo {
    height: 320px;
    border-radius: 0 0 10px 10px;
  }

  .demo-pet {
    right: 12px;
    bottom: 15px;
    width: 170px;
    height: 170px;
  }

  .desk-note {
    left: 12px;
    top: 18px;
    width: 110px;
    padding: 10px 12px;
    font-size: 12px;
  }

  .demo-message {
    top: 18px;
    right: 12px;
    max-width: 140px;
    font-size: 11px;
    padding: 7px 11px;
    border-radius: 8px;
  }

  .demo-top {
    font-size: 8px;
  }

  .demo-controls {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-top: 14px;
  }

  .demo-controls button {
    padding: 9px 4px;
    font-size: 11px;
    text-align: center;
    min-height: 38px;
    border-radius: 4px;
  }

  .demo-settings {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    padding-top: 12px;
    font-size: 11px;
  }

  .demo-settings label {
    gap: 6px;
  }

  .demo-settings input {
    max-width: 85px;
  }

  .demo-settings button {
    padding: 5px 8px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 4px;
    font-size: 10px;
  }

  .daily-heading h2 {
    margin-bottom: 16px;
  }

  .feature-list article {
    padding: 18px 0;
    gap: 16px;
  }

  .feature-list h3 {
    font-size: 20px;
    margin-bottom: 6px;
  }

  .feature-list p {
    font-size: 13.5px;
    line-height: 1.6;
  }

  .timeline {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .timeline li {
    padding: 16px 18px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    border-top: 1px solid var(--line);
  }

  .timeline li.current {
    border-color: var(--accent);
    box-shadow: 0 2px 0 var(--ground);
  }

  .timeline h3 {
    font-size: 20px;
    margin: 8px 0 6px;
  }

  .timeline p {
    font-size: 13.5px;
  }

  .release {
    padding: 32px 20px 24px;
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    border-radius: 8px;
  }

  .release h2 {
    font-size: 26px;
    line-height: 1.2;
    margin: 0 0 12px;
  }

  .release-faces {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 12px;
    width: 100%;
    max-width: 260px;
    margin: 6px auto 0;
    flex: none;
  }

  .release-label {
    position: static;
    font-size: 8px;
    margin-top: 6px;
    text-align: center;
  }

  .faq h2 {
    max-width: none;
  }

  .faq {
    gap: 20px;
  }

  .faq details {
    padding: 16px 0;
  }

  .faq summary {
    font-size: 15px;
    font-weight: 600;
  }

  .faq details p {
    font-size: 14px;
    line-height: 1.6;
    padding-top: 8px;
  }

  footer {
    flex-direction: column;
    text-align: center;
    gap: 12px;
    padding-block: 28px;
  }

  footer p,
  footer > a:last-child {
    width: 100%;
    text-align: center;
    margin: 0;
  }

  .eyebrow {
    margin-bottom: 18px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 10px;
  }

  .hero-actions .button {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 13px 18px;
  }

  .hero-meta-note {
    justify-content: center;
    text-align: center;
  }

  .feedback-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .feedback-channels {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .memo-body {
    padding: 24px 20px;
  }

  .form-header h3 {
    font-size: 24px;
  }

  .channel-card {
    padding: 24px 0;
    gap: 16px;
    flex-direction: column;
    align-items: flex-start;
  }

  .channel-icon-wrap {
    width: 44px;
    height: 44px;
  }

  .memo-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .memo-submit-btn {
    width: 100%;
    justify-content: center;
  }

  .memo-foot-note {
    justify-content: center;
    text-align: center;
  }

  .release-actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .release-actions .button {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

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