/* ==========================================================================
   AvaliaPlay — styles.css
   Tema: "Arc" — galeria branca industrial sobre água escura.
   Sistema monocromático + teal-navy profundo (#031e25 / #1d1d1e).
   Sem cor cromática de acento; acento por peso/dimensao de tipo.
   ========================================================================== */

:root {
  /* Cores */
  --color-bone: #e5e7eb;
  --color-charcoal: #0a0a0a;
  --color-paper: #ffffff;
  --color-obsidian: #000000;
  --color-deep-current: #031e25;
  --color-slate-depth: #1d1d1e;
  --color-muted: #5b6266;
  --color-muted-dark: #9aa6a9;
  --color-hairline: #e5e7eb;
  --color-hairline-dark: rgba(255, 255, 255, 0.14);

  /* Tipografia */
  --font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --text-caption: 11px;
  --text-body-sm: 14px;
  --text-body: 16px;
  --text-body-lg: 18px;
  --text-subheading: 22px;
  --text-heading: 32px;
  --text-heading-lg: 48px;

  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;

  /* Espacamento */
  --sp-4: 4px;
  --sp-5: 5px;
  --sp-6: 6px;
  --sp-10: 10px;
  --sp-14: 14px;
  --sp-18: 18px;
  --sp-20: 20px;
  --sp-30: 30px;
  --sp-36: 36px;
  --sp-45: 45px;
  --sp-72: 72px;
  --sp-80: 80px;
  --sp-100: 100px;

  /* Layout */
  --page-max: 1200px;
  --pad-inline: 24px;

  /* Raios */
  --radius-nav: 2.25px;
  --radius-control: 5px;
  --radius-image: 32px;

  /* Sombra unica */
  --shadow-md: rgba(0, 0, 0, 0.05) 0px 10px 15px -3px;

  --header-h: 66px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: var(--fw-regular);
  font-size: var(--text-body);
  line-height: 1.44;
  color: var(--color-charcoal);
  background: var(--color-bone);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01" on, "tnum" on;
}

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

a { color: inherit; text-decoration: none; }

button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4, p, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }

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

.section--dark :focus-visible { outline-color: var(--color-paper); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-charcoal);
  color: var(--color-paper);
  padding: 10px 16px;
  z-index: 200;
  border-radius: var(--radius-control);
}
.skip-link:focus { left: 12px; top: 12px; }

/* --------------------------------------------------------------------------
   Container / Section
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: var(--pad-inline);
}

.section { padding-block: var(--sp-72); }
.section--tight { padding-block: var(--sp-45); }

.section--canvas { background: var(--color-bone); }
.section--paper { background: var(--color-paper); }
.section--dark { background: var(--color-deep-current); color: var(--color-paper); }
.section--slate { background: var(--color-slate-depth); color: var(--color-paper); }

.section__head { max-width: 760px; margin-bottom: var(--sp-45); }
.section__head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-block;
  font-size: var(--text-caption);
  font-weight: var(--fw-medium);
  letter-spacing: 0.185em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: var(--sp-18);
}
.section--dark .eyebrow,
.section--slate .eyebrow { color: var(--color-muted-dark); }

.section__title {
  font-weight: var(--fw-light);
  font-size: clamp(28px, 5vw, var(--text-heading-lg));
  line-height: 1.1;
  letter-spacing: -0.021em;
}

.section__lead {
  margin-top: var(--sp-20);
  font-size: var(--text-body-lg);
  line-height: 1.5;
  color: var(--color-muted);
  max-width: 640px;
}
.section--dark .section__lead,
.section--slate .section__lead { color: var(--color-muted-dark); }

/* enfase por peso/dimensao — sem cor */
.accent {
  font-weight: var(--fw-semibold);
  letter-spacing: -0.02em;
}

/* --------------------------------------------------------------------------
   Botoes (ghost / filled) — raio 5px
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-6);
  font-size: var(--text-caption);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 16px 26px;
  border-radius: var(--radius-control);
  border: 1px solid var(--color-charcoal);
  background: transparent;
  color: var(--color-charcoal);
  transition: background-color 120ms linear, color 120ms linear;
}
.btn:hover { background: var(--color-charcoal); color: var(--color-paper); }

.btn--filled { background: var(--color-charcoal); color: var(--color-paper); }
.btn--filled:hover { background: transparent; color: var(--color-charcoal); }

.btn--on-dark { border-color: var(--color-paper); color: var(--color-paper); }
.btn--on-dark:hover { background: var(--color-paper); color: var(--color-charcoal); }

.btn--filled-reverse {
  background: var(--color-paper);
  color: var(--color-charcoal);
  border-color: var(--color-paper);
}
.btn--filled-reverse:hover { background: transparent; color: var(--color-paper); }

.btn--sm { padding: 12px 18px; }
.btn--full { width: 100%; }

/* --------------------------------------------------------------------------
   Header / Nav
   -------------------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-paper);
  border-bottom: 1px solid var(--color-hairline);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: var(--sp-20);
}

.logo {
  font-size: var(--text-subheading);
  font-weight: var(--fw-light);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-charcoal);
  white-space: nowrap;
}
.logo__accent { font-weight: var(--fw-semibold); }

.nav { display: flex; align-items: center; gap: var(--sp-6); }

.nav__list {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}

.nav__link {
  display: inline-block;
  font-size: var(--text-body-sm);
  font-weight: var(--fw-medium);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-charcoal);
  padding: 8px 12px;
  border-radius: var(--radius-nav);
}
.nav__link:hover { text-decoration: underline; text-underline-offset: 4px; }

.nav__cta { margin-left: var(--sp-10); }

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-nav);
  background: transparent;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav__toggle span {
  display: block;
  width: 20px;
  height: 1px;
  background: var(--color-charcoal);
  border-radius: var(--radius-nav);
  transition: transform 120ms linear, opacity 120ms linear;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(3px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-3px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav__toggle { display: inline-flex; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--color-paper);
    border-bottom: 1px solid var(--color-hairline);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--sp-10) var(--pad-inline) var(--sp-30);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 140ms linear, transform 140ms linear, visibility 140ms linear;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link {
    padding: 15px 4px;
    border-bottom: 1px solid var(--color-hairline);
    font-size: var(--text-body);
  }
  .nav__cta { margin: var(--sp-18) 0 0; }
  .btn.nav__cta { width: 100%; }
}

/* --------------------------------------------------------------------------
   Hero — banda teal escura, texto em baixo-esquerda
   -------------------------------------------------------------------------- */
.hero {
  background: var(--color-deep-current);
  color: var(--color-paper);
  padding-block: var(--sp-80) var(--sp-72);
  position: relative;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--sp-72);
  align-items: end;
}

.hero__eyebrow { color: var(--color-muted-dark); }

.hero__title {
  font-weight: var(--fw-light);
  font-size: clamp(38px, 7vw, 92px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin-bottom: var(--sp-30);
}
.hero__title .accent { letter-spacing: -0.04em; }

.hero__lead {
  font-size: var(--text-body-lg);
  line-height: 1.55;
  color: var(--color-muted-dark);
  max-width: 460px;
  margin-bottom: var(--sp-30);
}

.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-14); }

/* Vitrine de icones */
.showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-18);
}
.showcase__frame {
  border-radius: var(--radius-image);
  overflow: hidden;
  background: var(--color-slate-depth);
  aspect-ratio: 1 / 1;
}
.showcase__frame img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: var(--sp-45); }
  .showcase { max-width: 420px; }
}
@media (max-width: 480px) {
  .showcase { gap: var(--sp-10); }
}

/* --------------------------------------------------------------------------
   Catalogo de jogos
   -------------------------------------------------------------------------- */
.games {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-30);
}
@media (max-width: 900px) { .games { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .games { grid-template-columns: 1fr; } }

.card {
  background: var(--color-paper);
  border: 1px solid var(--color-hairline);
  border-radius: 0; /* tema: cards = 0px */
  padding: var(--sp-20);
  display: flex;
  flex-direction: column;
  gap: var(--sp-14);
}

.card__head { display: flex; gap: var(--sp-14); align-items: center; }

.card__icon {
  flex: 0 0 auto;
  width: 84px;
  height: 84px;
  border-radius: var(--radius-image);
  overflow: hidden;
  background: var(--color-bone);
}
.card__icon img { width: 100%; height: 100%; object-fit: cover; }

.card__id { min-width: 0; }
.card__title {
  font-size: var(--text-subheading);
  font-weight: var(--fw-regular);
  letter-spacing: -0.012em;
  line-height: 1.2;
}
.card__dev {
  margin-top: 4px;
  font-size: var(--text-body-sm);
  color: var(--color-muted);
}
.card__genre {
  display: inline-block;
  margin-top: 8px;
  font-size: var(--text-caption);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: var(--fw-medium);
  color: var(--color-muted);
}

.card__rating { display: flex; align-items: center; gap: var(--sp-10); }
.card__rating-num {
  font-size: var(--text-body-sm);
  font-weight: var(--fw-medium);
  font-variant-numeric: tabular-nums;
}

.card__desc {
  font-size: var(--text-body-sm);
  line-height: 1.55;
  color: var(--color-muted);
  flex: 1 1 auto;
}

.card__foot { margin-top: auto; }

/* Estrelas (SVG, preenchimento fracionario, monocromatico) */
.stars {
  position: relative;
  display: inline-block;
  line-height: 0;
  color: var(--color-hairline);
}
.stars__row { display: flex; gap: 2px; }
.stars__fill {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  gap: 2px;
  overflow: hidden;
  white-space: nowrap;
  color: var(--color-charcoal);
}
.section--dark .stars { color: var(--color-hairline-dark); }
.section--dark .stars__fill { color: var(--color-paper); }
.stars svg { width: 16px; height: 16px; display: block; }

/* --------------------------------------------------------------------------
   Transparencia (banda escura)
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--sp-72);
  align-items: start;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: var(--sp-45); } }

.money { display: grid; gap: var(--sp-30); }
.money__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--sp-18);
  align-items: start;
  padding-bottom: var(--sp-30);
  border-bottom: 1px solid var(--color-hairline-dark);
}
.money__item:last-child { border-bottom: 0; padding-bottom: 0; }
.money__num {
  font-size: var(--text-body-sm);
  font-weight: var(--fw-medium);
  letter-spacing: 0.15em;
  color: var(--color-muted-dark);
  padding-top: 3px;
}
.money__title {
  font-size: var(--text-subheading);
  font-weight: var(--fw-regular);
  letter-spacing: -0.012em;
  margin-bottom: var(--sp-6);
}
.money__text { font-size: var(--text-body); color: var(--color-muted-dark); line-height: 1.55; }
.money__text a { text-decoration: underline; text-underline-offset: 3px; }

/* --------------------------------------------------------------------------
   Metodo / porque confiar
   -------------------------------------------------------------------------- */
.trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-45);
}
@media (max-width: 820px) { .trust { grid-template-columns: 1fr; gap: var(--sp-36); } }

.trust__item { display: grid; gap: var(--sp-14); }
.trust__icon {
  width: 40px;
  height: 40px;
  color: var(--color-charcoal);
}
.trust__icon svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 1.25; }
.trust__title {
  font-size: var(--text-subheading);
  font-weight: var(--fw-regular);
  letter-spacing: -0.012em;
}
.trust__text { font-size: var(--text-body); color: var(--color-muted); line-height: 1.55; }
.trust__divider { height: 1px; background: var(--color-hairline); margin-block: 2px 4px; }

/* --------------------------------------------------------------------------
   Demonstracao / screenshots (banda escura, galeria)
   -------------------------------------------------------------------------- */
.gallery {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 1fr);
  gap: var(--sp-20);
  overflow-x: auto;
  padding-bottom: var(--sp-10);
  scroll-snap-type: x mandatory;
}
.gallery__item { scroll-snap-align: start; }
.gallery__frame {
  border-radius: var(--radius-image);
  overflow: hidden;
  background: var(--color-slate-depth);
  aspect-ratio: 9 / 16;
}
.gallery__frame img { width: 100%; height: 100%; object-fit: cover; }
.gallery__cap {
  margin-top: var(--sp-14);
  font-size: var(--text-body-sm);
  color: var(--color-muted-dark);
}
.gallery__cap strong { font-weight: var(--fw-medium); color: var(--color-paper); }

@media (min-width: 1000px) {
  .gallery {
    grid-auto-flow: row;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-columns: auto;
    overflow: visible;
  }
}

/* --------------------------------------------------------------------------
   Numeros / estatisticas
   -------------------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-30);
}
@media (max-width: 820px) { .stats { grid-template-columns: repeat(2, 1fr); gap: var(--sp-45) var(--sp-30); } }
@media (max-width: 400px) { .stats { grid-template-columns: 1fr; } }

.stat { border-top: 1px solid var(--color-hairline); padding-top: var(--sp-18); }
.stat__num {
  font-size: clamp(40px, 7vw, 64px);
  font-weight: var(--fw-light);
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat__label {
  margin-top: var(--sp-14);
  font-size: var(--text-body-sm);
  color: var(--color-muted);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Depoimentos
   -------------------------------------------------------------------------- */
.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-30);
}
@media (max-width: 900px) { .reviews { grid-template-columns: 1fr; } }

.review {
  background: var(--color-paper);
  border: 1px solid var(--color-hairline);
  padding: var(--sp-30);
  display: flex;
  flex-direction: column;
  gap: var(--sp-20);
}
.review__quote {
  font-size: var(--text-body-lg);
  line-height: 1.5;
  font-weight: var(--fw-light);
  letter-spacing: -0.01em;
}
.review__author { display: flex; align-items: center; gap: var(--sp-14); margin-top: auto; }
.review__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-deep-current);
  color: var(--color-paper);
  display: grid;
  place-items: center;
  font-size: var(--text-body-sm);
  font-weight: var(--fw-medium);
  letter-spacing: 0.02em;
}
.review__name { font-size: var(--text-body-sm); font-weight: var(--fw-medium); }
.review__role { font-size: var(--text-caption); color: var(--color-muted); letter-spacing: 0.04em; }

/* --------------------------------------------------------------------------
   Formulario de subscricao (banda escura)
   -------------------------------------------------------------------------- */
.subscribe__inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--sp-72);
  align-items: start;
}
@media (max-width: 900px) { .subscribe__inner { grid-template-columns: 1fr; gap: var(--sp-45); } }

.form { display: grid; gap: var(--sp-18); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-18); }
@media (max-width: 520px) { .form__row { grid-template-columns: 1fr; } }

.field { display: grid; gap: var(--sp-6); }
.field__label {
  font-size: var(--text-caption);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: var(--fw-medium);
  color: var(--color-muted-dark);
}
.field__input {
  font-family: inherit;
  font-size: var(--text-body);
  color: var(--color-paper);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-hairline-dark);
  border-radius: var(--radius-control);
  padding: 14px 15px;
  width: 100%;
}
.field__input::placeholder { color: var(--color-muted-dark); }
.field__input:focus { outline: 2px solid var(--color-paper); outline-offset: 2px; }

.consent { display: flex; gap: var(--sp-10); align-items: flex-start; }
.consent input {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: var(--color-paper);
  flex: 0 0 auto;
}
.consent label { font-size: var(--text-body-sm); color: var(--color-muted-dark); line-height: 1.5; }
.consent a { text-decoration: underline; text-underline-offset: 3px; color: var(--color-paper); }

.form__note { font-size: var(--text-caption); color: var(--color-muted-dark); letter-spacing: 0.02em; }

.success {
  display: none;
  border: 1px solid var(--color-hairline-dark);
  border-radius: var(--radius-control);
  padding: var(--sp-30);
  background: rgba(255, 255, 255, 0.03);
}
.success.is-visible { display: block; }
.success__title {
  font-size: var(--text-subheading);
  font-weight: var(--fw-light);
  letter-spacing: -0.012em;
  margin-bottom: var(--sp-10);
}
.success__text { color: var(--color-muted-dark); font-size: var(--text-body); line-height: 1.5; }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq { max-width: 820px; }
.faq__item { border-top: 1px solid var(--color-hairline); }
.faq__item:last-child { border-bottom: 1px solid var(--color-hairline); }
.faq__q {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: var(--sp-20) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-20);
  font-size: var(--text-body-lg);
  font-weight: var(--fw-regular);
  letter-spacing: -0.01em;
  color: var(--color-charcoal);
}
.faq__icon { flex: 0 0 auto; width: 18px; height: 18px; position: relative; }
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  background: var(--color-charcoal);
  transition: transform 120ms linear, opacity 120ms linear;
}
.faq__icon::before { top: 8px; left: 0; width: 18px; height: 1px; }
.faq__icon::after { top: 0; left: 8px; width: 1px; height: 18px; }
.faq__item.is-open .faq__icon::after { transform: scaleY(0); opacity: 0; }

.faq__a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 180ms ease;
}
.faq__a-inner {
  padding: 0 0 var(--sp-20);
  font-size: var(--text-body);
  color: var(--color-muted);
  line-height: 1.6;
  max-width: 680px;
}
.faq__a-inner a { text-decoration: underline; text-underline-offset: 3px; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer { background: var(--color-deep-current); color: var(--color-paper); padding-block: var(--sp-72) var(--sp-36); }
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--sp-45);
}
@media (max-width: 820px) { .footer__top { grid-template-columns: 1fr 1fr; gap: var(--sp-36); } }
@media (max-width: 460px) { .footer__top { grid-template-columns: 1fr; } }

.footer__brand .logo { color: var(--color-paper); }
.footer__tag {
  margin-top: var(--sp-18);
  color: var(--color-muted-dark);
  font-size: var(--text-body-sm);
  line-height: 1.55;
  max-width: 280px;
}
.footer__col-title {
  font-size: var(--text-caption);
  letter-spacing: 0.185em;
  text-transform: uppercase;
  color: var(--color-muted-dark);
  margin-bottom: var(--sp-18);
  font-weight: var(--fw-medium);
}
.footer__links { display: grid; gap: var(--sp-14); }
.footer__link {
  font-size: var(--text-body-sm);
  color: var(--color-paper);
  letter-spacing: 0.02em;
}
.footer__link:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer__mail { color: var(--color-paper); text-decoration: underline; text-underline-offset: 3px; font-size: var(--text-body-sm); }

.footer__bottom {
  margin-top: var(--sp-45);
  padding-top: var(--sp-30);
  border-top: 1px solid var(--color-hairline-dark);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-14);
  justify-content: space-between;
  align-items: center;
}
.footer__copy { font-size: var(--text-caption); color: var(--color-muted-dark); letter-spacing: 0.05em; }
.footer__legal { display: flex; flex-wrap: wrap; gap: var(--sp-20); }
.footer__legal a {
  font-size: var(--text-caption);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-muted-dark);
}
.footer__legal a:hover { color: var(--color-paper); }

/* --------------------------------------------------------------------------
   Botao "voltar ao topo"
   -------------------------------------------------------------------------- */
.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-control);
  border: 1px solid var(--color-charcoal);
  background: var(--color-paper);
  color: var(--color-charcoal);
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 140ms linear, transform 140ms linear, visibility 140ms linear;
  z-index: 90;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.5; }

/* --------------------------------------------------------------------------
   Cookie banner
   -------------------------------------------------------------------------- */
.cookie {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 120;
  background: var(--color-deep-current);
  color: var(--color-paper);
  border: 1px solid var(--color-hairline-dark);
  border-radius: var(--radius-control);
  padding: var(--sp-20);
  display: none;
  grid-template-columns: 1fr auto;
  gap: var(--sp-20);
  align-items: center;
  max-width: 960px;
  margin-inline: auto;
}
.cookie.is-visible { display: grid; }
.cookie__text { font-size: var(--text-body-sm); color: var(--color-muted-dark); line-height: 1.5; }
.cookie__text a { color: var(--color-paper); text-decoration: underline; text-underline-offset: 3px; }
.cookie__actions { display: flex; gap: var(--sp-10); flex-wrap: wrap; }
@media (max-width: 620px) {
  .cookie { grid-template-columns: 1fr; }
  .cookie__actions .btn { flex: 1 1 auto; }
}

/* --------------------------------------------------------------------------
   Paginas legais
   -------------------------------------------------------------------------- */
.legal { padding-block: var(--sp-72); }
.legal__head { max-width: 760px; margin-bottom: var(--sp-45); }
.legal__updated { font-size: var(--text-body-sm); color: var(--color-muted); margin-top: var(--sp-18); }
.legal__body { max-width: 760px; }
.legal__body h2 {
  font-size: var(--text-heading);
  font-weight: var(--fw-light);
  letter-spacing: -0.016em;
  margin-top: var(--sp-45);
  margin-bottom: var(--sp-14);
}
.legal__body h3 {
  font-size: var(--text-subheading);
  font-weight: var(--fw-regular);
  letter-spacing: -0.012em;
  margin-top: var(--sp-30);
  margin-bottom: var(--sp-10);
}
.legal__body p,
.legal__body li { font-size: var(--text-body); line-height: 1.6; color: var(--color-muted); }
.legal__body p { margin-bottom: var(--sp-18); }
.legal__body ul { list-style: none; display: grid; gap: var(--sp-10); margin-bottom: var(--sp-18); }
.legal__body li { padding-left: var(--sp-18); position: relative; }
.legal__body li::before { content: ""; position: absolute; left: 0; top: 11px; width: 8px; height: 1px; background: var(--color-charcoal); }
.legal__body a { color: var(--color-charcoal); text-decoration: underline; text-underline-offset: 3px; }
.legal__body strong { color: var(--color-charcoal); font-weight: var(--fw-medium); }

.back-home {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-6);
  margin-bottom: var(--sp-30);
  font-size: var(--text-caption);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: var(--fw-medium);
  color: var(--color-muted);
}
.back-home:hover { color: var(--color-charcoal); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
