/* ============================================================
   TOKENS — paleta, tipografia e medidas centralizadas
   Tema dark imersivo: cinza escuro + acento bronze (luz de vela)
============================================================ */
:root {
  --bg-base:    #18181b;   /* fundo cinza escuro (corpo) */
  --bg-deep:    #0e0e10;   /* profundidade (hero/rodapé) */
  --ink:        #e9e6df;   /* texto principal (off-white quente) */
  --ink-muted:  #a39e95;   /* texto secundário */
  --accent:     #c2a36b;   /* bronze/ouro fosco */
  --accent-lit: #d9be86;   /* bronze realçado (hover) */
  --hairline:   rgba(194, 163, 107, 0.28); /* divisórias finas */
  --header-bg:  rgba(0, 0, 0, 0.9);         /* preto 90% (RGBA) */

  --font-display: "Cinzel", Georgia, serif;
  --font-body:    "Open Sans", system-ui, -apple-system, sans-serif;

  --header-h: 72px;
  --maxw: 1200px;
}

/* ============================================================
   RESET / BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;            /* "Voltar ao topo" suave, sem JS */
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  background: var(--bg-base);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  overflow-x: hidden;                 /* evita scroll lateral de seções full-width */
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
img { max-width: 100%; display: block; }

/* Foco visível para teclado (acessibilidade) */
:focus-visible {
  outline: 2px solid var(--accent-lit);
  outline-offset: 3px;
}

/* ============================================================
   HEADER — barra fixa, preto 90%, logo à esquerda / nav à direita
============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(6px);         /* leve desfoque sob a barra */
  border-bottom: 1px solid var(--hairline);
  transition: transform 0.35s ease;   /* esconde/mostra suavemente */
}
/* Some para cima ao rolar para baixo; reaparece ao subir */
.site-header.header-hidden { transform: translateY(-100%); }

.header-inner {
  max-width: var(--maxw);
  height: var(--header-h);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand__mark {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.22em;
  font-size: 1.15rem;
  color: var(--ink);
}

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 3vw, 2.4rem);
}

.nav__item { position: relative; }

.nav__link {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  padding: 0.4rem 0;
  position: relative;
  transition: color 0.25s ease;
}

/* Sublinhado fino que cresce no hover */
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after { width: 100%; }

/* ---- Dropdown (CSS puro) ---- */
/* Mantém o link ativo enquanto o submenu estiver aberto */
.nav__item--has-menu:hover > .nav__link,
.nav__item--has-menu:focus-within > .nav__link { color: var(--ink); }
.nav__item--has-menu:hover > .nav__link::after,
.nav__item--has-menu:focus-within > .nav__link::after { width: 100%; }

.nav__dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 200px;
  padding: 0.5rem 0;
  background: rgba(10, 10, 12, 0.97);
  border: 1px solid var(--hairline);
  border-radius: 3px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);

  /* Estado fechado */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

/* Ponte invisível: evita "buraco" entre o link e o menu */
.nav__dropdown::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}

/* Abre no hover ou via teclado (focus-within) */
.nav__item--has-menu:hover .nav__dropdown,
.nav__item--has-menu:focus-within .nav__dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav__dropdown-link {
  display: block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  padding: 0.7rem 1.4rem;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav__dropdown-link:hover {
  color: var(--accent-lit);
  background: rgba(194, 163, 107, 0.08);
}

/* ---- Botão de idioma (PT / EN) ---- */
.nav__item--lang { margin-left: 0.4rem; }

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: transparent;
  border: 1px solid var(--hairline);
  border-radius: 2px;
  padding: 0.35rem 0.7rem;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  transition: border-color 0.25s ease;
}
.lang-toggle:hover { border-color: var(--accent); }

.lang-toggle__opt {
  color: var(--ink-muted);
  transition: color 0.25s ease;
}
/* Idioma ativo destacado em bronze */
.lang-toggle__opt.is-active { color: var(--accent-lit); }

.lang-toggle__sep { color: var(--ink-muted); opacity: 0.5; }

/* ============================================================
   HERO — tela cheia, imagem de fundo (placeholder) + logo + CTAs
   Largura: uso 100% (full-width natural) em vez de 100vw para
   não criar scroll horizontal causado pela barra de rolagem.
============================================================ */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;           /* empilha o conteúdo */
  align-items: center;              /* centraliza na horizontal */
  justify-content: flex-start;      /* conteúdo alinhado ao topo */
  text-align: center;
  overflow: hidden;

  /* O header é sticky e já reserva o próprio espaço no fluxo,
     então NÃO somamos a altura dele aqui — basta um respiro pequeno. */
  padding-top: 1rem;
  padding-bottom: clamp(2rem, 6vh, 4rem);

  /* Imagem de fundo definitiva + gradiente para legibilidade */
  background-color: var(--bg-deep);
  background-image:
    linear-gradient(180deg, rgba(0,0,0,0.35), rgba(0,0,0,0.55)),
    url("https://i.imgur.com/QhGohAL.png");
  background-size: cover;
  background-position: center;
}

/* Overlay para garantir contraste sobre futuras imagens */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.35), rgba(0,0,0,0.6));
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 0 1.5rem;
}

/* Mini player de vídeo (16:9 fluido) — usado dentro do modal */
.mini-player-container {
  width: 100%;
  margin: 0 auto;
  aspect-ratio: 16 / 9;             /* mantém a proporção de forma fluida */
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
  border: 1px solid var(--hairline);
}
.mini-player-container iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---- Modal de vídeo ---- */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;                    /* acima do header (z-index 100) */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.video-modal[hidden] { display: none; }

.video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(2px);
  cursor: pointer;
}
.video-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: min(90vw, 520px);      /* "quadradinho" contido */
}
.video-modal__close {
  position: absolute;
  top: -2.6rem;
  right: 0;
  background: none;
  border: none;
  color: var(--ink);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease;
}
.video-modal__close:hover { color: var(--accent-lit); }

/* Logotipo do Hero (imagem) */
.hero__logo {
  width: auto;
  max-width: min(70vw, 320px);     /* escala no mobile, contido no desktop */
  height: auto;
  margin: 0 auto 2rem;             /* centraliza o bloco da imagem */
  filter: drop-shadow(0 4px 24px rgba(0, 0, 0, 0.7));
}

.hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   BOTÕES — base + variações, com hover de varredura elegante
============================================================ */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.95rem 2.3rem;
  border-radius: 2px;
  border: 1px solid var(--accent);
  color: var(--ink);
  cursor: pointer;
  transition: color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 0;
}

/* Camada de preenchimento que varre da esquerda no hover */
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
  z-index: -1;
}
.btn:hover::before { transform: scaleX(1); }
.btn:hover {
  color: var(--bg-deep);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(194,163,107,0.25);
}

/* Primário (Playtest): já preenchido, escurece e brilha no hover */
.btn--primary {
  background: var(--accent);
  color: var(--bg-deep);
}
.btn--primary::before { background: var(--accent-lit); }
.btn--primary:hover { color: var(--bg-deep); }

/* Ghost (Saiba mais): contorno que preenche no hover */
.btn--ghost { background: transparent; }

/* ============================================================
   BANNERS — 3 blocos full-width, altura menor, fundo + overlay
============================================================ */
.banner {
  position: relative;
  width: 100%;
  min-height: clamp(360px, 55vh, 500px);   /* frame contido, máx. 500px */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;        /* zero distorção da arte */
  background-position: center;
  background-repeat: no-repeat;
}

/* Overlay escuro leve para legibilidade do texto sobre a imagem */
.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);   /* película mais escura p/ legibilidade */
}

.banner__content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  padding: 2rem 1.5rem;
}

.banner__title {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.12em;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  margin: 0 0 0.8rem;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.7);
}

.banner__text {
  color: #ffffff;
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  font-weight: 300;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0,0,0,0.7);
}

/* PLACEHOLDERS de fundo (troque cada um por url('assets/banner-x.jpg')) */
.banner--1 {
  background-color: #0f1218;
  background-image: url("https://i.imgur.com/1n0NSZ3.png");
}
.banner--2 {
  background-color: #11150f;
  background-image: url("https://i.imgur.com/uN2eBrN.png");
}
.banner--3 {
  background-color: #0f1410;
  background-image: url("https://i.imgur.com/ufIgc5z.jpeg");
}
.banner--4 {
  background-color: #140f12;
  background-image: url("https://i.imgur.com/dRgCVTw.png");
}

/* ============================================================
   PLAYTEST VIEW — tela de escolha + formulários
============================================================ */
#playtest-view {
  min-height: 70vh;
  padding: clamp(5.5rem, 14vh, 8.5rem) 1.5rem clamp(3rem, 8vh, 5rem);
}

.playtest {
  max-width: 760px;
  margin: 0 auto;
}

/* ---- Tela de escolha ---- */
.playtest__choice { text-align: center; }

.playtest__title {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.18em;
  font-size: clamp(2rem, 6vw, 3.2rem);
  margin: 0 0 0.8rem;
}

.playtest__lead {
  color: var(--ink-muted);
  font-weight: 300;
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  margin: 0 auto 2.8rem;
  max-width: 440px;
}

.playtest__options {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.playtest__option {
  width: 100%;
  max-width: 440px;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--hairline);
  border-radius: 3px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  padding: 1.25rem 1.5rem;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}
.playtest__option:hover {
  border-color: var(--accent);
  background: rgba(194, 163, 107, 0.08);
  transform: translateY(-2px);
}

/* ---- Painéis de formulário ---- */
.playtest__back {
  display: inline-block;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink-muted);
  font-family: var(--font-display);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0;
  margin-bottom: 1.6rem;
  transition: color 0.25s ease;
}
.playtest__back:hover { color: var(--accent-lit); }

.playtest__panel-title {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.1em;
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  margin: 0 0 1.8rem;
}

/* ---- Campos de formulário (tema dark) ---- */
.pt-field { margin-bottom: 1.3rem; }

.pt-grid-2,
.pt-grid-3 {
  display: grid;
  gap: 1rem 1.2rem;
}
.pt-grid-2 { grid-template-columns: 1fr 1fr; }
.pt-grid-3 { grid-template-columns: 2fr 2fr 1fr; }

.pt-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.5rem;
}

/* Título de cada bloco do formulário */
.pt-group {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-lit);
  margin: 2rem 0 1.1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--hairline);
}
.pt-group:first-child { margin-top: 0; }

.pt-input {
  width: 100%;
  min-height: 44px;                 /* área de toque mínima (mobile) */
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--hairline);
  border-radius: 2px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;                  /* evita zoom automático no iOS */
  padding: 0.8rem 1rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.pt-input::placeholder { color: var(--ink-muted); opacity: 0.75; }
.pt-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}
.pt-textarea { resize: vertical; line-height: 1.6; }

/* Select com seta personalizada (dark) */
select.pt-input {
  appearance: none;
  -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-muted) 50%),
                    linear-gradient(135deg, var(--ink-muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 2.4rem;
}
select.pt-input option { background: #16161a; color: var(--ink); }

/* Radios em formato de pílula (jogaria novamente) */
.pt-radios { display: flex; flex-wrap: wrap; gap: 0.7rem; padding-top: 0.2rem; }
.pt-radio { position: relative; display: inline-flex; cursor: pointer; }
.pt-radio input {                    /* esconde o radio nativo; a pílula é o controle */
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.pt-radio span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;                  /* área de toque */
  padding: 0 1.6rem;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  color: var(--ink-muted);
  font-size: 16px;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.pt-radio input:checked + span {
  border-color: var(--accent);
  background: rgba(194, 163, 107, 0.14);
  color: var(--accent-lit);
}
.pt-radio input:focus-visible + span {
  outline: 2px solid var(--accent-lit);
  outline-offset: 2px;
}

/* ============================================================
   MATRIZ RESPONSIVA
   Mobile (base): cada critério vira um cartão isolado, com as 3
   opções empilhadas como pílulas de toque (sem scroll horizontal).
   Desktop (>=768px): vira uma grade no formato de tabela/matriz.
============================================================ */
.matrix__head { display: none; }      /* cabeçalho só aparece no desktop */

.matrix__row {
  border: 1px solid var(--hairline);
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 0.8rem;
}
.matrix__row:last-child { margin-bottom: 0; }

.matrix__crit {
  display: block;
  margin-bottom: 0.8rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

.matrix__opt {
  position: relative;
  display: block;
  margin-bottom: 0.5rem;
  cursor: pointer;
}
.matrix__opt:last-child { margin-bottom: 0; }
.matrix__opt input {                  /* esconde o radio nativo */
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.matrix__pill {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;                   /* área de toque */
  padding: 0.6rem 1rem;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  color: var(--ink-muted);
  font-size: 16px;
  text-align: center;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.matrix__opt input:checked + .matrix__pill {
  border-color: var(--accent);
  background: rgba(194, 163, 107, 0.14);
  color: var(--accent-lit);
}
.matrix__opt input:focus-visible + .matrix__pill {
  outline: 2px solid var(--accent-lit);
  outline-offset: 2px;
}

/* ---- Desktop: matriz em grade ---- */
@media (min-width: 768px) {
  .matrix__head,
  .matrix__row {
    display: grid;
    grid-template-columns: minmax(160px, 1.6fr) repeat(3, 1fr);
    gap: 0.5rem;
    align-items: center;
  }
  .matrix__head {
    padding: 0 0 0.6rem;
    border-bottom: 1px solid var(--hairline);
  }
  .matrix__headcell {
    text-align: center;
    font-family: var(--font-display);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    color: var(--ink-muted);
  }
  .matrix__row {
    border: none;
    border-bottom: 1px solid var(--hairline);
    border-radius: 0;
    padding: 0.7rem 0;
    margin: 0;
  }
  .matrix__crit {
    margin: 0;
    text-transform: none;
    letter-spacing: 0.02em;
    font-size: 0.95rem;
    font-family: var(--font-body);
    color: var(--ink);
  }
  .matrix__opt { display: flex; justify-content: center; margin: 0; }
  .matrix__opt input {               /* mostra o radio nativo na grade */
    position: static;
    opacity: 1;
    width: 18px;
    height: 18px;
    accent-color: var(--accent);
    cursor: pointer;
  }
  .matrix__pill { display: none; }   /* texto já está no cabeçalho */
}

.pt-submit { margin-top: 0.6rem; cursor: pointer; }

/* ---- Opt-in de newsletter ---- */
.pt-optin {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  cursor: pointer;
  color: var(--ink-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1.4rem;
}
.pt-optin input[type="checkbox"] {
  accent-color: var(--accent);
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.1rem;
  cursor: pointer;
  flex-shrink: 0;
}

/* ---- Nota geral (escala 1 a 10) ---- */
.pt-scale {
  border: 1px solid transparent;   /* evita "pulo" de layout ao marcar erro */
  border-radius: 4px;
  padding: 0.3rem;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.pt-scale__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.pt-scale__item { position: relative; display: inline-flex; cursor: pointer; }
.pt-scale__item input {              /* esconde o radio nativo; a pílula é o controle */
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.pt-scale__item span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;                   /* área de toque */
  min-height: 44px;
  padding: 0 0.4rem;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  color: var(--ink-muted);
  font-size: 16px;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.pt-scale__item input:checked + span {
  border-color: var(--accent);
  background: rgba(194, 163, 107, 0.14);
  color: var(--accent-lit);
}
.pt-scale__item input:focus-visible + span {
  outline: 2px solid var(--accent-lit);
  outline-offset: 2px;
}
.pt-scale__anchors {
  display: flex;
  justify-content: space-between;
  margin-top: 0.6rem;
  padding: 0 0.3rem;
  font-size: 0.74rem;
  color: var(--ink-muted);
}

/* ---- Validação: nota, banner, estados de erro ---- */
.pt-required-note {
  color: var(--ink-muted);
  font-size: 0.82rem;
  margin: 0 0 1.4rem;
}

.pt-form-error {
  color: #e58a84;
  background: rgba(200, 70, 60, 0.08);
  border: 1px solid rgba(200, 70, 60, 0.5);
  border-radius: 3px;
  padding: 0.85rem 1rem;
  font-size: 0.86rem;
  line-height: 1.5;
  margin-bottom: 1.6rem;
}
.pt-form-error__sep { opacity: 0.5; margin: 0 0.15rem; }

/* Mensagem de erro por campo (oculta até dar erro) */
.pt-error {
  display: none;
  color: #e58a84;
  font-size: 0.78rem;
  margin-top: 0.45rem;
}
.pt-error__sep { opacity: 0.5; margin: 0 0.1rem; }

/* Wrap p/ radios também com borda transparente (sem pulo de layout) */
.pt-radios {
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 0.3rem;
  margin-left: -0.3rem;
}

/* Estado de erro: realce vermelho + exibe a mensagem */
.pt-field.has-error .pt-error { display: block; }
.pt-field.has-error .pt-label { color: #e58a84; }
.pt-field.has-error .pt-input {
  border-color: #c8463c;
  box-shadow: 0 0 0 1px #c8463c;
}
.pt-field.has-error .pt-scale,
.pt-field.has-error .pt-radios {
  border-color: #c8463c;
  background: rgba(200, 70, 60, 0.06);
}
/* Matriz com erro: realça as linhas/critérios */
.pt-field.has-error .matrix__row { border-color: #c8463c; }
.pt-field.has-error .matrix__crit { color: #e58a84; }

/* Mensagem de sucesso (aparição suave abaixo do botão) */
.pt-success {
  margin-top: 1.1rem;
  color: var(--accent-lit);
  background: rgba(194, 163, 107, 0.08);
  border: 1px solid var(--hairline);
  border-radius: 3px;
  padding: 0.9rem 1.1rem;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.pt-success.show { opacity: 1; transform: translateY(0); }
.pt-success[hidden] { display: none; }

/* Mensagem de falha de rede */
.pt-send-error {
  margin-top: 1.1rem;
  color: #e58a84;
  background: rgba(200, 70, 60, 0.08);
  border: 1px solid rgba(200, 70, 60, 0.5);
  border-radius: 3px;
  padding: 0.9rem 1.1rem;
  font-size: 0.9rem;
}
.pt-send-error[hidden] { display: none; }

/* Playtest: ajustes mobile */
@media (max-width: 600px) {
  .pt-grid-2, .pt-grid-3 { grid-template-columns: 1fr; }
}

/* ============================================================
   PÁGINAS COMPLEMENTARES
============================================================ */

/* Diário de desenvolvimento (artigo editorial) */
.designer-notes {
  max-width: 800px;
  margin: 0 auto;
  padding: clamp(5.5rem, 14vh, 8.5rem) 1.5rem clamp(3rem, 8vh, 5rem);
}
/* Limpa os floats das imagens p/ não vazarem para o rodapé */
.designer-notes::after { content: ""; display: block; clear: both; }

.designer-notes__eyebrow {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-lit);
  margin: 0 0 0.6rem;
}
.designer-notes__title {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.1em;
  font-size: clamp(2rem, 5vw, 3rem);
  margin: 0 0 2.2rem;
  color: var(--ink);
}
.designer-notes p {
  font-size: clamp(1rem, 1.8vw, 1.12rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);   /* off-white: contraste sem agredir */
  margin: 0 0 1.5rem;                  /* separa os blocos de raciocínio */
  text-align: left;                    /* fim do justificado */
}
.designer-notes p.designer-notes__muted { color: var(--ink-muted); font-style: italic; }

/* Imagens do artigo: pequenas e sem nenhum efeito (PNG integra ao fundo) */
.article-img {
  display: block;
  width: 100%;
  max-width: 360px;
  height: auto;
  margin: 1.5rem auto;             /* centralizado no mobile */
}
/* No desktop, o texto contorna a imagem (float alternado) */
@media (min-width: 768px) {
  .article-img--right { float: right; margin: 0.4rem 0 1.2rem 1.8rem; }
  .article-img--left  { float: left;  margin: 0.4rem 1.8rem 1.2rem 0; }
}

/* Tela reutilizável "em construção" */
.under-construction {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(5.5rem, 14vh, 8.5rem) 1.5rem clamp(3rem, 8vh, 5rem);
}
.under-construction__title {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.14em;
  font-size: clamp(1.8rem, 5vw, 3rem);
  margin: 0 0 1rem;
  color: var(--ink);
}
.under-construction__subtitle {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--ink);
  opacity: 0.6;                 /* subtítulo discreto */
  margin: 0;
}

/* Lista de contato (e-mail + Instagram) centralizada e minimalista */
.contact-list {
  margin: 2.2rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  align-items: center;
}
.contact-list__link {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  letter-spacing: 0.02em;
  color: var(--ink);
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 2px;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.contact-list__link:hover {
  color: var(--accent-lit);
  border-color: var(--accent);
}

/* Página "Sobre a insu" — leitura confortável, largura restrita */
.about {
  max-width: 700px;
  margin: 0 auto;
  padding: clamp(5.5rem, 14vh, 8.5rem) 1.5rem clamp(3rem, 8vh, 5rem);
}
.about__title {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: clamp(1.8rem, 4.5vw, 2.6rem);
  margin: 0 0 1.8rem;
  color: var(--ink);
}
.about__text {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 1.5rem;
  text-align: left;
}
.about__text:last-child { margin-bottom: 0; }

/* ============================================================
   PRE-FOOTER — Newsletter
============================================================ */
.newsletter {
  /* Cinza bem escuro, distinto do fundo principal e do rodapé,
     com um leve halo bronze ao centro para dar profundidade. */
  background:
    radial-gradient(ellipse at 50% 0%, rgba(194,163,107,0.07), transparent 60%),
    #101013;
  border-top: 1px solid var(--hairline);
  padding: clamp(3.5rem, 9vw, 6rem) 1.5rem;
  text-align: center;
}

.newsletter__inner {
  max-width: 560px;
  margin: 0 auto;
}

.newsletter__title {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.1em;
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  margin: 0 0 1rem;
}

.newsletter__text {
  color: var(--ink-muted);
  font-size: clamp(0.98rem, 1.6vw, 1.12rem);
  font-weight: 300;
  line-height: 1.7;
  margin: 0 0 2.2rem;
}

/* Formulário inline: input + botão "colados" dentro de uma moldura única */
.newsletter__form {
  display: flex;
  align-items: stretch;
  max-width: 460px;
  margin: 0 auto;
  border: 1px solid var(--hairline);
  border-radius: 2px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.25);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.newsletter__form:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

.newsletter__input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.95rem 1.2rem;
}
.newsletter__input::placeholder { color: var(--ink-muted); opacity: 0.8; }

.newsletter__btn {
  flex-shrink: 0;
  border: none;
  cursor: pointer;
  background: var(--accent);
  color: var(--bg-deep);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0 1.6rem;
  transition: background 0.3s ease, letter-spacing 0.3s ease;
}
.newsletter__btn:hover { background: var(--accent-lit); letter-spacing: 0.2em; }

/* Acessível: oculta o <label> visualmente, mantém para leitores de tela */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   FOOTER — minimalista: e-mail | redes | voltar ao topo
============================================================ */
.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--hairline);
}

.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1.6rem clamp(1rem, 4vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.footer__email {
  color: var(--ink-muted);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  transition: color 0.25s ease;
}
.footer__email:hover { color: var(--accent-lit); }

.footer__social {
  display: flex;
  gap: 0.9rem;
}

.social {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--hairline);
  border-radius: 50%;
  color: var(--ink-muted);
  transition: color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.social svg {
  width: 18px;
  height: 18px;
}
.social:hover {
  color: var(--accent-lit);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.back-to-top {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  transition: color 0.25s ease;
}
.back-to-top:hover { color: var(--accent-lit); }

/* ============================================================
   RESPONSIVO
============================================================ */
@media (max-width: 760px) {
  .header-inner { flex-wrap: wrap; height: auto; padding-block: 0.8rem; gap: 0.6rem; }
  .nav__list { gap: 1rem; flex-wrap: wrap; justify-content: center; }
  .hero__actions { flex-direction: column; width: min(280px, 80vw); margin: 0 auto; }
  .btn { width: 100%; }
  .footer-inner { flex-direction: column; text-align: center; }

  /* Newsletter: empilha input e botão no mobile */
  .newsletter__form { flex-direction: column; }
  .newsletter__btn { padding: 0.9rem 1.6rem; border-top: 1px solid var(--hairline); }
}

/* Respeita usuários que preferem menos movimento */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}
