/* ==========================================================================
   Lua de EB Viagens — folha de estilos
   Estrutura: 1) tokens  2) base  3) layout  4) componentes  5) secções
   Os tokens (cores, tipografia, espaçamentos) centralizam a identidade visual,
   para que novas páginas (destinos, blog, etc.) herdem o mesmo estilo.
   ========================================================================== */

/* 1) Tokens ---------------------------------------------------------------- */
:root {
  /* Cores da marca (tiradas do logótipo: turquesa, pêssego, castanho) */
  --teal-950: #05302f;
  --teal-900: #08423f;
  --teal-800: #0c5a57;
  --teal-700: #007676;
  --teal-600: #00a0a0;
  --peach-500: #f0b070;
  --peach-400: #f5c594;
  --peach-100: #fcead6;
  --sand-50: #fcf8f2;
  --sand-100: #f6efe4;
  --sand-200: #ece2d3;
  --ink-900: #2b1d10;
  --ink-700: #5a4636;
  --ink-500: #7a6656;
  --white: #ffffff;
  --success: #2f7d5b;
  --danger: #b4443a;

  /* Papéis semânticos */
  --bg: var(--sand-50);
  --surface: var(--white);
  --text: var(--ink-900);
  --text-muted: var(--ink-500);
  --border: var(--sand-200);
  --accent: var(--peach-500);
  --primary: var(--teal-900);
  --accent-text: var(--teal-700); /* acentos de texto em fundos claros */

  /* Tipografia */
  --font-display: "Fraunces", "Georgia", "Times New Roman", serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: 1.25rem;
  --fs-xl: clamp(1.6rem, 1.2rem + 1.6vw, 2.25rem);
  --fs-2xl: clamp(2.1rem, 1.4rem + 3vw, 3.4rem);
  --fs-3xl: clamp(2.6rem, 1.6rem + 4.4vw, 4.75rem);

  /* Espaçamento, raios, sombras */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;
  --space-9: 6.5rem;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(5, 48, 47, 0.06), 0 2px 8px rgba(5, 48, 47, 0.04);
  --shadow-md: 0 10px 30px -12px rgba(5, 48, 47, 0.18);
  --shadow-lg: 0 30px 80px -30px rgba(5, 48, 47, 0.35);

  --container: 1160px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* 2) Base ------------------------------------------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

/* Ícones de linha do sprite (#i-*) */
use[href^="#i-"] {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 var(--space-4);
}

h2 {
  font-size: var(--fs-2xl);
}

p {
  margin: 0 0 var(--space-4);
}

a {
  color: inherit;
  text-underline-offset: 3px;
}

:focus-visible {
  outline: 3px solid var(--peach-500);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection {
  background: var(--peach-100);
  color: var(--teal-950);
}

.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;
}

.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -100px;
  z-index: 100;
  padding: var(--space-2) var(--space-4);
  background: var(--white);
  color: var(--teal-950);
  border-radius: var(--radius-sm);
  font-weight: 600;
}
.skip-link:focus {
  top: var(--space-4);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* 3) Layout ---------------------------------------------------------------- */
.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.section {
  padding-block: var(--space-9);
}

.section-head {
  max-width: 640px;
  margin-bottom: var(--space-7);
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}
.section-head--center .eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.lead {
  font-size: var(--fs-lg);
  color: var(--text-muted);
}

/* 4) Componentes ----------------------------------------------------------- */

/* Botões */
.btn {
  --btn-bg: var(--teal-900);
  --btn-fg: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 52px;
  padding: 0 var(--space-6);
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: 600 var(--fs-sm) / 1 var(--font-body);
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn:active {
  transform: translateY(0);
}
.btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.25s var(--ease);
}
.btn:hover svg {
  transform: translateX(3px);
}
.btn--accent {
  --btn-bg: var(--peach-500);
  --btn-fg: var(--teal-950);
}
.btn--accent:hover {
  --btn-bg: var(--peach-400);
}
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink-700);
  border-color: var(--border);
}
.btn--ghost:hover {
  --btn-bg: var(--sand-100);
  box-shadow: none;
}
.btn--ghost:hover svg {
  transform: translateX(-3px);
}
.btn--light {
  --btn-bg: rgba(255, 255, 255, 0.08);
  --btn-fg: var(--white);
  border-color: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
}
.btn--light:hover {
  --btn-bg: rgba(255, 255, 255, 0.16);
}
.btn[disabled] {
  opacity: 0.6;
  cursor: progress;
  transform: none;
}

/* Logótipo */
.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: inherit;
}
.brand__mark {
  width: 44px;
  height: 44px;
  flex: none;
}
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand__name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.brand__tag {
  margin-top: 4px;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  opacity: 0.7;
}

/* Cabeçalho */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  color: var(--white);
  transition: background 0.35s var(--ease), color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(251, 248, 242, 0.88);
  color: var(--teal-950);
  box-shadow: 0 1px 0 var(--border);
  backdrop-filter: saturate(160%) blur(14px);
}
.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
}
.nav {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}
.nav__list {
  display: flex;
  gap: var(--space-6);
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav__link {
  position: relative;
  font-size: var(--fs-sm);
  font-weight: 500;
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav__link:hover {
  opacity: 1;
}
.nav__link:hover::after {
  transform: scaleX(1);
}
.site-header .btn {
  min-height: 44px;
  padding: 0 var(--space-5);
}
.site-header:not(.is-scrolled) .btn {
  --btn-bg: var(--peach-500);
  --btn-fg: var(--teal-950);
}

@media (max-width: 760px) {
  .nav__list {
    display: none;
  }
  .site-header .btn {
    min-height: 40px;
    padding: 0 var(--space-4);
    font-size: var(--fs-xs);
  }
}

/* 5) Secções --------------------------------------------------------------- */

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  min-height: min(100svh, 860px);
  display: grid;
  align-items: center;
  padding: calc(var(--header-h) + var(--space-7)) 0 var(--space-9);
  overflow: hidden;
  color: var(--white);
  background: radial-gradient(120% 80% at 75% 20%, var(--teal-800) 0%, var(--teal-900) 45%, var(--teal-950) 100%);
}
.hero__art {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
  pointer-events: none;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(5, 48, 47, 0.55) 0%, rgba(5, 48, 47, 0) 60%);
}

.hero__content {
  max-width: 640px;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: var(--space-7);
  align-items: center;
}
.hero__logo {
  position: relative;
  justify-self: center;
  width: min(360px, 100%);
}
.hero__logo::before {
  content: "";
  position: absolute;
  inset: -12% -30%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(245, 197, 148, 0.38), rgba(240, 176, 112, 0.12) 55%, rgba(240, 176, 112, 0) 100%);
  animation: glow 7s ease-in-out infinite;
}
.hero__logo img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.35));
  animation: float 9s ease-in-out infinite;
}
@keyframes glow {
  0%, 100% { opacity: 0.75; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@media (max-width: 860px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }
  .hero__logo {
    order: -1;
    justify-self: start;
    width: 140px;
  }
}
.hero h1 {
  font-size: var(--fs-3xl);
  font-weight: 400;
  margin-bottom: var(--space-5);
}
.hero h1 em {
  font-style: italic;
  color: var(--peach-400);
}
.hero__lead {
  max-width: 520px;
  margin-bottom: var(--space-6);
  font-size: var(--fs-lg);
  color: rgba(255, 255, 255, 0.78);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-6);
  margin: var(--space-7) 0 0;
  padding: 0;
  list-style: none;
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.72);
}
.hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}
.hero__trust svg {
  width: 18px;
  height: 18px;
  color: var(--peach-400);
}
.hero .eyebrow {
  color: var(--peach-400);
}

/* Como funciona */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.step {
  position: relative;
  padding: var(--space-6);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.step__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: var(--space-5);
  border-radius: 50%;
  background: var(--peach-100);
  color: var(--teal-900);
}
.step__icon svg {
  width: 26px;
  height: 26px;
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: var(--space-6);
  right: var(--space-6);
  font-family: var(--font-display);
  font-size: 2.4rem;
  line-height: 1;
  color: var(--sand-200);
}
.step h3 {
  font-size: 1.4rem;
  margin-bottom: var(--space-2);
}
.step p {
  margin: 0;
  color: var(--text-muted);
}
@media (max-width: 860px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* Secção do formulário */
.quote {
  position: relative;
  background: linear-gradient(180deg, var(--sand-100) 0%, var(--sand-50) 100%);
}
.quote__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
  gap: var(--space-8);
  align-items: start;
}
.quote__aside {
  position: sticky;
  top: calc(var(--header-h) + var(--space-6));
}
.quote__aside h2 {
  font-size: var(--fs-2xl);
}
.quote__note {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-6);
  padding: var(--space-5);
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: var(--fs-sm);
  color: var(--ink-700);
}
.quote__note + .quote__note {
  margin-top: var(--space-3);
}
.quote__note svg {
  flex: none;
  width: 22px;
  height: 22px;
  color: var(--peach-500);
}
.quote__note p {
  margin: 0;
}
@media (max-width: 980px) {
  .quote__grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  .quote__aside {
    position: static;
  }
}

/* Cartão do formulário */
.form-card {
  padding: clamp(1.25rem, 0.5rem + 3vw, 3rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* Progresso (só visível com JS ativo) */
.progress {
  display: none;
  margin-bottom: var(--space-6);
}
.js .progress {
  display: block;
}
.progress__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-2);
  margin: 0 0 var(--space-3);
  padding: 0;
  list-style: none;
}
.progress__steps li {
  height: 4px;
  border-radius: var(--radius-pill);
  background: var(--sand-200);
  overflow: hidden;
  position: relative;
}
.progress__steps li::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--peach-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.progress__steps li.is-done::after,
.progress__steps li.is-current::after {
  transform: scaleX(1);
}
.progress__label {
  display: flex;
  justify-content: space-between;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.progress__label strong {
  color: var(--teal-900);
}

/* Passos do formulário */
.form-step {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.form-step + .form-step {
  margin-top: var(--space-8);
}
.js .form-step + .form-step {
  margin-top: 0;
}
.js .form-step:not(.is-active) {
  display: none;
}
.form-step.is-active {
  animation: step-in 0.45s var(--ease);
}
@keyframes step-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
.form-step__title {
  display: block;
  width: 100%;
  margin-bottom: var(--space-2);
  padding: 0;
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 500;
  color: var(--teal-950);
}
.form-step__intro {
  margin-bottom: var(--space-6);
  color: var(--text-muted);
}

.fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-5);
}
.field--full {
  grid-column: 1 / -1;
}
@media (max-width: 600px) {
  .fields {
    grid-template-columns: 1fr;
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  min-width: 0;
}
.field[hidden] {
  display: none;
}
.field__label,
.choice-group__legend {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink-900);
}
.req {
  color: var(--teal-700);
  margin-left: 2px;
}
.field__hint {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  line-height: 1.45;
}

.input,
.textarea {
  width: 100%;
  min-height: 52px;
  padding: 0 var(--space-4);
  border: 1px solid var(--sand-200);
  border-radius: var(--radius-sm);
  background: var(--sand-50);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.textarea {
  min-height: 130px;
  padding: var(--space-3) var(--space-4);
  resize: vertical;
}
.input::placeholder,
.textarea::placeholder {
  color: #a89a8c;
}
.input:hover,
.textarea:hover {
  border-color: #d8ccb5;
}
.input:focus,
.textarea:focus {
  outline: none;
  border-color: var(--peach-500);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(240, 176, 112, 0.18);
}
.input-wrap {
  position: relative;
}
.input-wrap__suffix {
  position: absolute;
  right: var(--space-4);
  top: 50%;
  transform: translateY(-50%);
  font-weight: 600;
  color: var(--text-muted);
  pointer-events: none;
}
.input-wrap .input {
  padding-right: 2.5rem;
}

/* Erros de validação (só depois de o utilizador tentar avançar) */
.was-validated .input:invalid,
.was-validated .textarea:invalid {
  border-color: var(--danger);
  background: #fdf5f4;
}
.was-validated .choice-group:has(input:invalid) .choice__box {
  border-color: rgba(180, 68, 58, 0.55);
}
.field__error {
  display: none;
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--danger);
}
.was-validated .field:has(:invalid) > .field__error,
.was-validated .choice-group:has(input:invalid) > .field__error {
  display: block;
}

/* Grupos de escolha (chips / cartões) */
.choice-group {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.choice-group__legend {
  margin-bottom: var(--space-3);
  padding: 0;
}
.choice-group .field__hint {
  margin: calc(var(--space-2) * -1) 0 var(--space-3);
}
.choices {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.choices--cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
}
.choices--split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
}
@media (max-width: 600px) {
  .choices--cards {
    grid-template-columns: 1fr;
  }
}
.choice {
  position: relative;
  display: inline-flex;
  cursor: pointer;
}
.choice input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.choice__box {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  width: 100%;
  min-height: 46px;
  padding: var(--space-2) var(--space-4);
  border: 1px solid var(--sand-200);
  border-radius: var(--radius-pill);
  background: var(--sand-50);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--ink-700);
  transition: all 0.2s var(--ease);
  user-select: none;
}
.choice__box::before {
  content: "";
  flex: none;
  width: 16px;
  height: 16px;
  border: 1.5px solid #c9bfae;
  border-radius: 50%;
  transition: all 0.2s var(--ease);
}
.choice input[type="checkbox"] + .choice__box::before {
  border-radius: 5px;
}
.choice:hover .choice__box {
  border-color: #d8ccb5;
  background: var(--white);
}
.choice input:checked + .choice__box {
  border-color: var(--teal-900);
  background: var(--teal-900);
  color: var(--white);
}
.choice input:checked + .choice__box::before {
  border-color: var(--peach-400);
  background: var(--peach-400);
  box-shadow: inset 0 0 0 3px var(--teal-900);
}
.choice input:focus-visible + .choice__box {
  outline: 3px solid var(--peach-500);
  outline-offset: 2px;
}
.choices--cards .choice,
.choices--split .choice {
  display: flex;
}
.choices--cards .choice__box {
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-1);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-md);
}
.choices--cards .choice__box::before {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
}
.choice__title {
  font-weight: 600;
  padding-right: var(--space-6);
}
.choice__desc {
  font-size: var(--fs-xs);
  font-weight: 400;
  opacity: 0.75;
}
.choices--split .choice__box {
  justify-content: center;
  border-radius: var(--radius-sm);
}

/* Consentimento */
.consent {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  font-size: var(--fs-sm);
  color: var(--ink-700);
  cursor: pointer;
}
.consent input {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--teal-900);
}

/* Navegação entre passos */
.form-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-7);
  padding-top: var(--space-5);
  border-top: 1px solid var(--border);
}
.form-nav [data-prev],
.form-nav [data-next] {
  display: none;
}
.js .form-nav [data-prev],
.js .form-nav [data-next] {
  display: inline-flex;
}
.js .form-nav [data-prev][hidden],
.js .form-nav [data-next][hidden],
.js .form-nav [type="submit"][hidden] {
  display: none;
}
.form-nav [type="submit"] {
  margin-left: auto;
}
.form-nav__spacer {
  flex: 1;
}
.honeypot {
  display: none;
}

.form-footnote {
  margin: var(--space-4) 0 0;
  font-size: var(--fs-xs);
  color: var(--text-muted);
  text-align: center;
}

/* Sobre */
.about {
  background: var(--teal-950);
  color: var(--white);
  overflow: hidden;
  position: relative;
  isolation: isolate;
}
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: var(--space-8);
  align-items: center;
}
.about__portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  max-width: 420px;
  border-radius: 220px 220px var(--radius-lg) var(--radius-lg);
  background: linear-gradient(160deg, var(--teal-800), var(--teal-900));
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.about__portrait img,
.about__portrait svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about h2 {
  font-size: var(--fs-2xl);
}
.about p {
  color: rgba(255, 255, 255, 0.75);
}
.about .eyebrow {
  color: var(--peach-400);
}
.about__signature {
  margin-top: var(--space-6);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--peach-400);
}
@media (max-width: 860px) {
  .about__grid {
    grid-template-columns: 1fr;
  }
  .about__portrait {
    max-width: 300px;
  }
}

/* Rodapé */
.site-footer {
  padding: var(--space-8) 0 var(--space-6);
  background: var(--teal-950);
  color: rgba(255, 255, 255, 0.7);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: var(--fs-sm);
}
.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-5);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--white);
}
.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5);
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-footer__links a {
  text-decoration: none;
  opacity: 0.8;
}
.site-footer__links a:hover {
  opacity: 1;
  text-decoration: underline;
}
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-3);
  padding-top: var(--space-5);
}
.site-footer__bottom p {
  margin: 0;
}

/* Páginas simples (obrigado, privacidade, 404) */
.page-simple {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: calc(var(--header-h) + var(--space-7)) 0 var(--space-8);
  background: radial-gradient(120% 80% at 75% 20%, var(--teal-800) 0%, var(--teal-900) 45%, var(--teal-950) 100%);
  color: var(--white);
  text-align: center;
}
.page-simple__inner {
  max-width: 600px;
}
.page-simple h1 {
  font-size: var(--fs-2xl);
  font-weight: 400;
}
.page-simple h1 em {
  color: var(--peach-400);
}
.page-simple p {
  color: rgba(255, 255, 255, 0.78);
  font-size: var(--fs-lg);
}
.page-simple__moon {
  width: 160px;
  height: auto;
  filter: drop-shadow(0 24px 32px rgba(0, 0, 0, 0.35));
  margin: 0 auto var(--space-6);
}
.page-simple .btn {
  margin-top: var(--space-5);
}

.prose {
  max-width: 720px;
  padding-top: calc(var(--header-h) + var(--space-8));
  padding-bottom: var(--space-9);
}
.prose h1 {
  font-size: var(--fs-2xl);
}
.prose h2 {
  font-size: var(--fs-xl);
  margin-top: var(--space-7);
}
.prose p,
.prose li {
  color: var(--ink-700);
}

/* Revelação ao fazer scroll (progressive enhancement) */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Aviso de cookies */
.cookie-banner {
  position: fixed;
  left: var(--space-4);
  right: var(--space-4);
  bottom: var(--space-4);
  z-index: 60;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3) var(--space-5);
  max-width: 720px;
  margin-inline: auto;
  padding: var(--space-4) var(--space-5);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: var(--fs-sm);
  color: var(--ink-700);
  animation: step-in 0.4s var(--ease);
}
.cookie-banner[hidden] {
  display: none;
}
.cookie-banner p {
  flex: 1 1 320px;
  margin: 0;
}
.cookie-banner__actions {
  display: flex;
  gap: var(--space-2);
  margin-left: auto;
}
.cookie-banner .btn {
  min-height: 42px;
  padding: 0 var(--space-5);
}
