/* Genealogia Familiar — landing page (mesma identidade das peças de redes sociais) */

:root {
  --bg: #faf6f0;
  --bg-soft: #f3ece0;
  --card: #fffbf4;
  --ink: #2d1f0e;
  --ink-soft: #5a4a36;
  --red: #8b0000;
  --red-dark: #6b0000;
  --gold: #a07820;
  --gold-light: #d8b968;
  --border: #d9cdb8;
  --cream: #fbf3e2;

  --display: "Playfair Display", Georgia, serif;
  --serif: "Lora", Georgia, serif;

  --pad: clamp(16px, 4vw, 48px);
  --topbar-h: 60px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--topbar-h) + 8px);
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--serif);
  font-size: clamp(16px, 0.35vw + 15px, 18.5px);
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--bg);
  /* papel envelhecido: manchas suaves + fibras finas */
  background-image:
    radial-gradient(ellipse at 15% 20%, rgba(160, 120, 32, 0.07) 0%, transparent 45%),
    radial-gradient(ellipse at 85% 75%, rgba(139, 90, 40, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 110%, rgba(90, 74, 54, 0.10) 0%, transparent 55%),
    repeating-linear-gradient(0deg, rgba(90, 74, 54, 0.018) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(90deg, rgba(90, 74, 54, 0.012) 0 1px, transparent 1px 6px),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: anywhere;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--red); }
ul, ol { list-style: none; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.2;
  overflow-wrap: break-word;
  text-wrap: balance;
  padding-bottom: 0.08em; /* folga para acentos/descendentes da Playfair */
}
h2 { font-size: clamp(1.75rem, 3.2vw + 0.9rem, 2.75rem); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
  border-radius: 2px;
}

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

.skip {
  position: absolute;
  left: 8px;
  top: -60px;
  z-index: 100;
  background: var(--red);
  color: #fffaf0;
  padding: 10px 16px;
  font-weight: 600;
}
.skip:focus { top: 8px; }

/* ---------- Topo / menu ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 240, 0.96);
  border-bottom: 4px double var(--gold);
  box-shadow: 0 2px 10px rgba(45, 31, 14, 0.08);
}
.topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  min-height: var(--topbar-h);
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.05rem, 1vw + 0.8rem, 1.3rem);
  color: var(--red);
  text-decoration: none;
  white-space: nowrap;
  min-width: 0;
}
.nav-desktop ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 18px;
}
.nav-desktop a,
.nav-mobile a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}
.nav-desktop a:hover,
.nav-mobile a:hover { color: var(--red); text-decoration: underline; text-decoration-color: var(--gold); }
.nav-desktop .nav-cta {
  color: #fffaf0;
  background: var(--red);
  border: 1px solid var(--gold);
  padding: 6px 14px;
  border-radius: 4px;
}
.nav-desktop .nav-cta:hover { color: #fffaf0; background: var(--red-dark); }

.nav-mobile { display: none; position: relative; }
.nav-mobile summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--red);
  border: 1px solid var(--gold);
  border-radius: 4px;
  padding: 6px 14px;
  background: var(--card);
}
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile summary::after { content: " ▾"; }
.nav-mobile[open] summary::after { content: " ▴"; }
.nav-mobile nav {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: min(240px, calc(100vw - 32px));
  background: var(--card);
  border: 4px double var(--gold);
  box-shadow: 0 10px 24px rgba(45, 31, 14, 0.18);
  padding: 6px 0;
}
.nav-mobile li a { display: block; padding: 10px 18px; }
.nav-mobile li + li { border-top: 1px solid var(--border); }

@media (max-width: 960px) {
  .nav-desktop { display: none; }
  .nav-mobile { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  color: var(--cream);
  text-align: center;
  overflow: hidden;
  border-bottom: 4px double var(--gold);
  padding: clamp(72px, 12vw, 150px) var(--pad) clamp(72px, 11vw, 140px);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  /* a legenda impressa ocupa os ~12% inferiores: imagem ampliada e ancorada no topo */
  background: url("navio.jpg") no-repeat;
  background-size: cover;
  background-position: 50% 0%;
  filter: sepia(0.9) contrast(1.1) brightness(0.95);
  bottom: -16%; /* empurra a faixa da legenda para fora do quadro */
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(107, 0, 0, 0.80) 0%, rgba(139, 0, 0, 0.72) 45%, rgba(45, 31, 14, 0.90) 100%);
}
.hero-inner { max-width: 900px; margin: 0 auto; min-width: 0; }

.kicker {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(0.72rem, 0.5vw + 0.62rem, 0.95rem);
  letter-spacing: 0.3em;
  color: var(--gold-light);
  display: inline-flex;
  align-items: center;
  gap: clamp(8px, 2vw, 18px);
  max-width: 100%;
}
.kicker::before,
.kicker::after {
  content: "";
  flex: 0 1 56px;
  width: 56px;
  min-width: 16px;
  border-top: 3px double var(--gold-light);
}
.hero h1 {
  font-size: clamp(2.1rem, 5.2vw + 0.9rem, 4.6rem);
  line-height: 1.12;
  color: #fffaf0;
  margin-top: 0.4em;
  text-shadow: 0 2px 12px rgba(30, 10, 0, 0.45);
}
.subline {
  font-style: italic;
  font-size: clamp(1.08rem, 1vw + 0.85rem, 1.5rem);
  line-height: 1.45;
  color: #f4e6cc;
  max-width: 760px;
  margin: 0.9em auto 0;
  text-wrap: balance;
}
.hero-actions {
  margin-top: clamp(28px, 4vw, 42px);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 18px;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-block;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1rem, 0.4vw + 0.92rem, 1.15rem);
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 6px;
  border: 2px solid var(--gold);
  max-width: 100%;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-red {
  color: #fffaf0;
  background: linear-gradient(135deg, var(--red-dark) 0%, var(--red) 100%);
  box-shadow: 0 6px 18px rgba(107, 0, 0, 0.28);
}
.btn-red:hover { background: var(--red-dark); }
.btn-light {
  color: var(--ink);
  background: var(--cream);
  border-color: var(--gold-light);
}
.btn-light:hover { background: #fffaf0; }
.btn-gold {
  color: var(--ink);
  background: linear-gradient(180deg, #e2c579 0%, var(--gold-light) 100%);
  border-color: #fff0c8;
}
.btn-gold:hover { background: #ecd393; }
.hero .btn:focus-visible,
.combo .btn:focus-visible { outline-color: #fffaf0; }

/* ---------- Seções ---------- */
.section { padding: clamp(56px, 8vw, 104px) var(--pad); }
.section-soft {
  background: rgba(243, 236, 224, 0.7);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.wrap { max-width: 1200px; margin: 0 auto; min-width: 0; }
.narrow { max-width: 820px; }

.section-head { text-align: center; margin-bottom: clamp(30px, 4vw, 52px); }
.section-head h2::after {
  content: "";
  display: block;
  width: 90px;
  margin: 14px auto 0;
  border-top: 4px double var(--gold);
}
.section-head-left { text-align: left; }
.section-head-left h2::after { margin-left: 0; }
.section-lead {
  font-style: italic;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 0.6vw + 0.95rem, 1.25rem);
  max-width: 720px;
  margin: 14px auto 0;
  text-wrap: balance;
}

.grid { display: grid; gap: clamp(18px, 2.4vw, 30px); }
.grid > * { min-width: 0; }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .grid-3 { grid-template-columns: minmax(0, 1fr); max-width: 620px; margin: 0 auto; }
}
@media (max-width: 680px) {
  .grid-4, .grid-2 { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Cartões ---------- */
.card {
  position: relative;
  min-width: 0;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: 0 3px 12px rgba(45, 31, 14, 0.08);
  padding: clamp(22px, 2.4vw, 30px);
}
/* filete interno dourado (efeito de documento) */
.card::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(160, 120, 32, 0.35);
  pointer-events: none;
}
.card-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.3rem, 0.8vw + 1.1rem, 1.6rem);
  line-height: 1.24;
  color: var(--ink);
  overflow-wrap: anywhere;
  min-width: 0;
}

.feature p { color: var(--ink-soft); margin-top: 10px; }
.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--red);
  border: 3px double var(--gold);
  border-radius: 50%;
  background: var(--cream);
}
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tag {
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.2;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid;
}
.tag-ok   { color: #1f5323; background: #e6f0df; border-color: #9cbf92; }
.tag-prov { color: #6b4d07; background: #f6eac6; border-color: var(--gold-light); }
.tag-trad { color: #4c3a6b; background: #ece5f3; border-color: #b9a8d1; }
.tag-hip  { color: #5a4a36; background: #efe8dc; border-color: var(--border); }

/* ---------- Como funciona ---------- */
.how {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.how > * { min-width: 0; }
.steps { display: grid; gap: 18px; }
.steps li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  background: var(--card);
  border: 1px solid var(--border);
  padding: 16px 18px;
  box-shadow: 0 2px 8px rgba(45, 31, 14, 0.06);
}
.steps p { color: var(--ink-soft); }
.step-num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.3rem;
  color: #fffaf0;
  background: linear-gradient(135deg, var(--red-dark) 0%, var(--red) 100%);
  border: 2px solid var(--gold);
  border-radius: 50%;
}
.painting {
  border: 4px double var(--gold);
  background: var(--card);
  padding: 8px;
  box-shadow: 0 6px 20px rgba(45, 31, 14, 0.14);
}
.painting img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: sepia(0.35) contrast(1.02);
}
.painting figcaption {
  font-size: 0.85rem;
  font-style: italic;
  color: var(--ink-soft);
  text-align: center;
  padding-top: 8px;
}
@media (max-width: 860px) {
  .how { grid-template-columns: minmax(0, 1fr); }
  .painting { max-width: 560px; margin: 0 auto; width: 100%; }
}

/* ---------- Planos ---------- */
.plans { align-items: stretch; padding-top: 18px; }
.plan { display: flex; flex-direction: column; }
.card-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 3px double var(--border);
  min-width: 0;
}
.price {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.4rem, 2.6vw + 1.6rem, 3.4rem);
  line-height: 1.15;
  padding-bottom: 0.06em;
  color: var(--red);
  font-variant-numeric: lining-nums;
  max-width: 100%;
  overflow-wrap: normal;
}
.price small {
  font-size: 0.5em;
  font-weight: 700;
  margin-right: 0.12em;
  vertical-align: 0.62em;
}
.bullets { color: var(--ink-soft); }
.bullets li {
  position: relative;
  padding-left: 24px;
  line-height: 1.45;
}
.bullets li + li { margin-top: 8px; }
.bullets li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 0.6em;
  width: 8px;
  height: 8px;
  background: var(--gold);
  transform: rotate(45deg);
}
.plan-btn { margin-top: auto; align-self: stretch; }
.plan .bullets, .plan .combo-line { margin-bottom: 24px; }

/* Combo em destaque */
.combo {
  color: var(--cream);
  background:
    radial-gradient(ellipse at 80% 0%, rgba(255, 220, 160, 0.12) 0%, transparent 55%),
    linear-gradient(135deg, var(--red-dark) 0%, var(--red) 50%, var(--red-dark) 100%);
  border: 3px solid var(--gold);
  box-shadow: 0 8px 26px rgba(107, 0, 0, 0.30);
  padding-top: clamp(36px, 3vw, 44px);
}
.combo::before { inset: 8px; border-color: rgba(216, 185, 104, 0.55); }
.combo .card-head { border-bottom-color: rgba(216, 185, 104, 0.5); }
.combo .card-title { color: #fffaf0; }
.combo .price { color: #fffaf0; }
.combo .bullets { color: #f4e2c4; margin-bottom: 24px; }
.combo .bullets li::before { background: var(--gold-light); }
.combo .combo-line { margin-bottom: 14px; }
.ribbon {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  max-width: calc(100% - 24px);
  background: linear-gradient(180deg, #c9a24a 0%, var(--gold) 100%);
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(0.66rem, 0.3vw + 0.6rem, 0.8rem);
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  padding: 7px 16px 6px;
  border: 1px solid #7a5a12;
  outline: 1px solid rgba(255, 240, 200, 0.7);
  outline-offset: -5px;
  box-shadow: 0 3px 8px rgba(45, 31, 14, 0.3);
  z-index: 2;
}
.old-price {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.15rem, 0.6vw + 1rem, 1.4rem);
  line-height: 1.25;
  color: rgba(251, 243, 226, 0.85);
  font-variant-numeric: lining-nums;
}
.old-price s {
  text-decoration-color: var(--gold-light);
  text-decoration-thickness: 2px;
}
.save {
  display: inline-block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
  background: #f6e7c1;
  border: 2px solid var(--gold-light);
  border-radius: 999px;
  padding: 5px 14px;
  line-height: 1.2;
  margin-top: 6px;
}
.combo-line {
  font-style: italic;
  color: #f4e2c4;
  line-height: 1.45;
  font-size: 1.08rem;
}

/* ---------- Exemplos ---------- */
.example { padding: 0; display: flex; flex-direction: column; overflow: hidden; }
.example::before { z-index: 1; }
.shot {
  aspect-ratio: 16 / 10;
  background:
    repeating-linear-gradient(45deg, rgba(160, 120, 32, 0.06) 0 10px, transparent 10px 20px),
    var(--bg-soft);
  border-bottom: 3px double var(--border);
  overflow: hidden;
}
.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  color: var(--ink-soft);
  font-size: 0.85rem;
}
.example-body { padding: clamp(18px, 2vw, 26px); display: flex; flex-direction: column; gap: 6px; flex: 1; }
.route { color: var(--ink-soft); font-style: italic; }
.example-link {
  margin-top: auto;
  padding-top: 8px;
  align-self: flex-start;
  font-weight: 600;
  color: var(--red);
  text-decoration-color: var(--gold);
  text-underline-offset: 3px;
}
.example-link:hover { color: var(--red-dark); }
/* Último card sozinho na linha (nº ímpar de exemplos): centralizado, mesma largura dos demais */
@media (min-width: 681px) {
  .examples > .card.example:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - clamp(18px, 2.4vw, 30px) / 2);
  }
}

/* ---------- Privacidade ---------- */
.doc {
  border: 4px double var(--gold);
  padding: clamp(26px, 4vw, 48px);
}
.doc::before { inset: 6px; }
.doc h2 { margin-bottom: 18px; }
.doc p { color: var(--ink-soft); }
.doc p + p { margin-top: 12px; }
.doc strong { color: var(--ink); font-weight: 600; }

/* ---------- Perguntas ---------- */
.faq { display: grid; gap: 12px; }
.faq details {
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(45, 31, 14, 0.05);
}
.faq details[open] { border-color: var(--gold-light); }
.faq summary {
  cursor: pointer;
  list-style: none;
  position: relative;
  padding: 16px 52px 16px 20px;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.05rem, 0.5vw + 0.95rem, 1.22rem);
  line-height: 1.35;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 1.1rem;
  line-height: 1;
  color: var(--red);
  border: 1px solid var(--gold);
  border-radius: 50%;
}
.faq details[open] summary::after { content: "−"; }
.faq summary:hover { color: var(--red); }
.faq details p {
  padding: 0 20px 18px;
  color: var(--ink-soft);
}

/* ---------- Contato ---------- */
.contact {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  text-align: center;
  border-top: 4px double var(--gold);
  border-bottom: 4px double var(--gold);
}
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("emigrantes.jpg") no-repeat 50% 55% / cover;
  filter: sepia(0.85) contrast(1.05);
  opacity: 0.4;
}
.contact::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(250, 246, 240, 0.86) 0%, rgba(243, 236, 224, 0.78) 50%, rgba(250, 246, 240, 0.9) 100%);
}
.contact-card { text-align: left; }
.contact-head { margin-bottom: clamp(22px, 3vw, 34px); }
.contact h2 { font-size: clamp(1.8rem, 3.4vw + 0.9rem, 3rem); margin-bottom: 0; }
.contact-line {
  font-style: italic;
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-top: 10px;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
  min-width: 0;
}
.contact-form[hidden] { display: none; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.3;
  color: var(--ink);
}
.field .opt { font-family: var(--serif); font-weight: 400; font-style: italic; font-size: 0.88em; color: var(--ink-soft); }
.contact-form input,
.contact-form select,
.contact-form textarea {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  font: inherit;
  font-size: max(16px, 1rem);
  line-height: 1.4;
  color: var(--ink);
  background: #fffdf8;
  border: 1px solid var(--border);
  border-bottom: 2px solid var(--gold-light);
  border-radius: 4px;
  padding: 10px 12px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.contact-form textarea { resize: vertical; min-height: 3.2em; }
.contact-form select {
  appearance: none;
  padding-right: 36px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--red) 50%),
    linear-gradient(135deg, var(--red) 50%, transparent 50%);
  background-position: calc(100% - 18px) 55%, calc(100% - 12px) 55%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
}
.contact-form ::placeholder { color: #9a8a74; opacity: 1; }
.contact-form input:focus-visible,
.contact-form select:focus-visible,
.contact-form textarea:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 1px;
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold);
}
.consent { font-size: 0.88rem; line-height: 1.5; color: var(--ink-soft); font-style: italic; }
.form-actions { display: flex; justify-content: center; }
.form-actions .btn { cursor: pointer; min-width: min(260px, 100%); }
.form-actions .btn:disabled { cursor: wait; opacity: 0.75; transform: none; }

.form-status:empty { display: none; }
.form-status {
  margin-top: 20px;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  background: var(--cream);
  color: var(--ink);
}
.form-status.is-ok { border-left-color: #2e6b33; background: #eef4e8; }
.form-status.is-error { border-left-color: var(--red); background: #f8e9e4; }
.contact-alt {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 3px double var(--border);
  text-align: center;
  color: var(--ink-soft);
}
.contact-alt a { font-weight: 600; text-decoration-color: var(--gold); text-underline-offset: 3px; }

@media (max-width: 640px) {
  .contact-form { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Rodapé ---------- */
.footer {
  text-align: center;
  padding: 36px var(--pad) 40px;
  background: var(--ink);
  color: #e9dcc3;
}
.footer-brand {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--gold-light);
}
.credit {
  font-size: 0.85rem;
  line-height: 1.5;
  max-width: 760px;
  margin: 10px auto 0;
  color: #d9c9ab;
}
