/* Riana & Willian · 10.04.2027
   Paleta e fontes: docs/briefing-site-casamento-RW.md */

:root {
  --pistache: #C3CA92;
  --salvia: #A4B17B;
  --oliva-claro: #859864;
  --oliva: #697E50;
  --musgo: #4E653D;
  --floresta: #354C2B;
  --quase-preto: #20331B;

  --fundo: #EFF2E1;
  --cartao: #FAFCF1;
  --papel: #F7F8EF;
  --faixa: #E4E9CF;
  --embarque: #424623;
  --dourado: #B8924A;

  --cursiva: 'Parisienne', 'Brush Script MT', cursive;
  --serifa: 'Cormorant Garamond', Georgia, serif;
  --titulo: 'Playfair Display', Georgia, serif;
  --rotulo: 'Montserrat', 'Segoe UI', sans-serif;

  --largura: 1120px;
  --lateral: max(16px, env(safe-area-inset-left, 0px));
  --raio: 18px;
  --sombra: 0 18px 40px rgba(32, 51, 27, 0.12);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--fundo);
  color: var(--floresta);
  font-family: var(--serifa);
  font-size: 19px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--floresta); }
a:hover { color: var(--quase-preto); }
:focus-visible { outline: 2px solid var(--oliva); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { margin: 0; font-weight: 400; }
h2 { font-family: var(--cursiva); font-size: clamp(46px, 6vw, 64px); line-height: 1.1; }
h3 { font-family: var(--titulo); font-weight: 600; font-size: 22px; letter-spacing: 0.04em; }
p { margin: 0; }

.rotulo {
  font-family: var(--rotulo);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--musgo);
}

.reservado { color: var(--oliva); font-style: italic; }
.opcional { text-transform: none; letter-spacing: 0; font-family: var(--serifa); font-weight: 400; font-size: 15px; }

.pular {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--floresta); color: var(--papel); padding: 10px 16px; border-radius: 999px;
  font-family: var(--rotulo); font-size: 12px; text-decoration: none;
}
.pular:focus { top: 12px; color: var(--papel); }

/* ---------- Botões ---------- */
.botoes { display: flex; flex-wrap: wrap; gap: 12px; }
.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 26px;
  border-radius: 999px; border: 1px solid var(--floresta);
  font-family: var(--rotulo); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; transition: background 0.2s, color 0.2s, transform 0.2s;
}
.botao:active { transform: translateY(1px); }
.botao--cheio { background: var(--floresta); color: var(--papel); }
.botao--cheio:hover { background: var(--quase-preto); color: var(--papel); }
.botao--contorno { background: transparent; color: var(--floresta); }
.botao--contorno:hover { background: var(--floresta); color: var(--papel); }
.botao--claro { background: var(--papel); color: var(--floresta); border-color: var(--papel); }
.botao--claro:hover { background: var(--faixa); color: var(--quase-preto); }
.botao--pequeno { min-height: 44px; padding: 0 18px; }
.botao[disabled] { opacity: 0.6; cursor: wait; }
.botao .reservado { font-family: var(--serifa); text-transform: none; letter-spacing: 0; font-size: 15px; font-weight: 500; color: inherit; opacity: 0.8; }

/* ---------- Topo ---------- */
.topo {
  position: sticky; top: 0; z-index: 50;
  background: rgba(239, 242, 225, 0.92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--pistache);
  padding-top: env(safe-area-inset-top, 0px);
}
.topo__nav {
  max-width: var(--largura); margin: 0 auto;
  padding: 10px var(--lateral);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.topo__marca { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.topo__marca img { width: 40px; height: 46px; object-fit: contain; }
.topo__nome { font-family: var(--cursiva); font-size: 28px; line-height: 1; color: var(--floresta); white-space: nowrap; }
.topo__nome--curto { display: none; }
.topo__links { display: flex; align-items: center; gap: 26px; }
.topo__links a {
  white-space: nowrap;
  font-family: var(--rotulo); font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  text-decoration: none; padding: 8px 0;
}
.topo__links a:hover { text-decoration: underline; text-underline-offset: 6px; }
.topo__links .topo__cta { border: 1px solid var(--floresta); border-radius: 999px; padding: 10px 18px; }
.topo__links .topo__cta:hover { background: var(--floresta); color: var(--papel); text-decoration: none; }
.topo__menu {
  display: none; width: 48px; height: 48px; border-radius: 999px;
  border: 1px solid var(--pistache); background: var(--papel); color: var(--floresta);
  align-items: center; justify-content: center; cursor: pointer;
}

/* ---------- Abertura ---------- */
.abertura {
  max-width: var(--largura); margin: 0 auto;
  padding: 64px var(--lateral) 88px;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center;
}
.abertura__texto { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.abertura__brasao { width: 190px; height: auto; margin-bottom: 4px; }
.abertura__titulo { font-family: var(--cursiva); font-size: clamp(60px, 8vw, 96px); line-height: 1.02; }
.abertura__convite { font-style: italic; font-size: 23px; color: var(--musgo); max-width: 30ch; }
.abertura__data {
  display: flex; align-items: center; gap: 18px; margin-top: 6px;
  font-family: var(--titulo); font-weight: 600; font-size: 24px; letter-spacing: 0.18em;
}
.fio { width: 56px; height: 1px; background: var(--dourado); }
.abertura__local { font-size: 19px; color: var(--musgo); }
.abertura .botoes { justify-content: center; margin-top: 8px; }

.contagem {
  display: grid; grid-template-columns: repeat(4, minmax(0, 92px)); gap: 12px; margin-top: 10px;
}
.contagem__item {
  background: var(--papel); border: 1px solid var(--pistache); border-radius: 14px;
  padding: 14px 6px 12px; display: flex; flex-direction: column; align-items: center;
}
.contagem__num { font-family: var(--titulo); font-size: 34px; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; }
.contagem__rotulo { font-family: var(--rotulo); font-size: 10px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; margin-top: 8px; color: var(--musgo); }

.abertura__foto { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.arco {
  width: 100%; max-width: 420px; padding: 12px;
  border: 1px solid var(--dourado); border-radius: 220px 220px 16px 16px; background: var(--papel);
  box-shadow: var(--sombra);
}
.arco img {
  width: 100%; aspect-ratio: 404 / 566; object-fit: cover;
  border-radius: 210px 210px 8px 8px; filter: grayscale(1);
}
.abertura__foto figcaption { font-family: var(--rotulo); font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--musgo); }

/* ---------- Seções ---------- */
.secao {
  padding: 88px var(--lateral);
  display: flex; flex-direction: column; align-items: center; gap: 40px;
}
.secao--faixa { background: var(--faixa); }
.secao__cabeca { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; max-width: 720px; }
.secao__texto { font-size: 21px; max-width: 60ch; }
.secao__nota { font-size: 19px; text-align: center; }

/* ---------- Cartão de embarque ---------- */
.bilhete {
  width: 100%; max-width: 980px;
  display: grid; grid-template-columns: 76px 1fr 230px;
  background: var(--cartao); border-radius: var(--raio); box-shadow: var(--sombra);
  overflow: hidden; position: relative;
}
.bilhete__faixa {
  background: var(--embarque); color: var(--papel);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  padding: 24px 0;
}
.bilhete__faixa span { font-family: var(--cursiva); font-size: 30px; writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; }
.aviao { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.bilhete__corpo {
  padding: 34px 40px; display: flex; flex-direction: column; gap: 18px;
  /* mapa-múndi sugerido por pontos bem claros, como no cartão impresso */
  background-image: radial-gradient(rgba(53, 76, 43, 0.07) 1.2px, transparent 1.3px);
  background-size: 14px 14px;
}
.bilhete__passageiro { font-family: var(--cursiva); font-size: 44px; line-height: 1.15; }
.bilhete__frase { font-style: italic; font-size: 20px; color: var(--musgo); max-width: 46ch; }
.bilhete__dados { margin: 0; display: grid; grid-template-columns: auto auto 1fr; gap: 14px 40px; }
.bilhete__dados dd { margin: 4px 0 0; font-family: var(--titulo); font-weight: 600; font-size: 22px; line-height: 1.25; }
.bilhete__rota { width: 100%; height: 56px; color: var(--floresta); }
.bilhete__canhoto {
  border-left: 2px dashed var(--pistache);
  padding: 34px 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center;
  position: relative;
}
/* recortes do canhoto */
.bilhete__canhoto::before, .bilhete__canhoto::after {
  content: ''; position: absolute; left: -15px; width: 28px; height: 28px; border-radius: 50%; background: var(--faixa);
}
.bilhete__canhoto::before { top: -14px; }
.bilhete__canhoto::after { bottom: -14px; }
.bilhete__canhoto img { width: 86px; }
.bilhete__canhoto-data { font-family: var(--titulo); font-weight: 600; font-size: 18px; letter-spacing: 0.12em; }
.bilhete__canhoto-frase { font-style: italic; font-size: 18px; line-height: 1.3; }

/* ---------- Nossa história ---------- */
.carimbos {
  list-style: none; margin: 0; padding: 0; width: 100%; max-width: 980px;
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px;
}
.carimbo {
  aspect-ratio: 1; border-radius: 50%;
  border: 2px dashed var(--oliva); outline: 1px solid var(--pistache); outline-offset: -10px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 18px; color: var(--oliva);
  font-family: var(--titulo); font-weight: 600; font-size: 17px; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.2;
  transform: rotate(var(--giro, 0deg)); transition: transform 0.3s;
  background: rgba(250, 252, 241, 0.6);
}
.carimbo:hover { transform: rotate(0deg) scale(1.04); }
.carimbo::before {
  content: ''; width: 18px; height: 18px; margin-bottom: 6px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17.8 19.2 16 11l3.5-3.5C21 6 21.5 4 21 3c-1-.5-3 0-4.5 1.5L13 8 4.8 6.2c-.5-.1-.9.1-1.1.5l-.3.5c-.2.5-.1 1 .3 1.3L9 12l-2 3H4l-1 1 3 2 2 3 1-1v-3l3-2 3.5 5.3c.3.4.8.5 1.3.3l.5-.2c.4-.3.6-.7.5-1.2z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17.8 19.2 16 11l3.5-3.5C21 6 21.5 4 21 3c-1-.5-3 0-4.5 1.5L13 8 4.8 6.2c-.5-.1-.9.1-1.1.5l-.3.5c-.2.5-.1 1 .3 1.3L9 12l-2 3H4l-1 1 3 2 2 3 1-1v-3l3-2 3.5 5.3c.3.4.8.5 1.3.3l.5-.2c.4-.3.6-.7.5-1.2z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.carimbo--final { border-color: var(--dourado); color: var(--floresta); gap: 2px; }
.carimbo--final::before { background: var(--dourado); }
.carimbo--final .rotulo { font-size: 9px; color: var(--dourado); }
.carimbo--final strong { font-family: var(--cursiva); font-weight: 400; font-size: 30px; text-transform: none; letter-spacing: 0; }
.carimbo--final span:last-child { font-size: 13px; }

/* ---------- Versículo ---------- */
.versiculo {
  background: var(--floresta); color: var(--papel);
  padding: 80px var(--lateral);
  display: flex; align-items: center; justify-content: center; gap: 40px;
}
.versiculo img { width: 110px; opacity: 0.9; }
.versiculo blockquote { margin: 0; max-width: 620px; }
.versiculo p { font-style: italic; font-size: clamp(24px, 3vw, 30px); line-height: 1.4; }
.versiculo footer { margin-top: 14px; font-family: var(--rotulo); font-size: 11px; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; color: var(--pistache); }

/* ---------- Padrinhos ---------- */
.padrinhos {
  list-style: none; margin: 0; padding: 0; width: 100%; max-width: 980px;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px;
}
.padrinhos li {
  background: var(--cartao); border: 1px solid var(--pistache); border-radius: 14px;
  padding: 18px 16px; text-align: center;
  font-family: var(--cursiva); font-size: 25px; line-height: 1.2;
}

/* ---------- Traje ---------- */
.trajes {
  width: 100%; max-width: 1040px;
  display: grid; grid-template-columns: 1fr 1fr 1.15fr; gap: 20px; align-items: start;
}
.traje {
  background: var(--cartao); border-radius: var(--raio); padding: 28px;
  display: flex; flex-direction: column; gap: 14px; box-shadow: 0 6px 18px rgba(32, 51, 27, 0.06);
}
.traje p { font-size: 18px; }
.traje__ilustracao { width: 100%; max-height: 320px; object-fit: contain; background: #fff; border-radius: 12px; }
.paleta { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.paleta li { aspect-ratio: 1; border-radius: 50%; background: var(--cor); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06); }
.pecas { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.pecas li { display: flex; align-items: center; gap: 10px; font-size: 17px; }
.pecas span { width: 30px; height: 30px; border-radius: 50%; background: var(--cor); border: 1px solid var(--pistache); flex: none; }

/* ---------- Presentes ---------- */
.presentes {
  list-style: none; margin: 0; padding: 0; width: 100%; max-width: 1040px;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px;
}
.presente {
  background: var(--cartao); border: 1px solid var(--pistache); border-radius: 16px;
  display: flex; flex-direction: column; overflow: hidden; height: 100%;
}
.presente__etiqueta {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  padding: 10px 16px; border-bottom: 2px dashed var(--pistache);
}
.presente__tema { font-family: var(--rotulo); font-size: 10px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--oliva); }
.presente__corpo { padding: 16px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.presente__nome { font-size: 20px; line-height: 1.3; flex: 1; }
.presente__valor { font-family: var(--titulo); font-weight: 600; font-size: 24px; }
.presente .botao { width: 100%; min-height: 46px; }
.presente--livre { background: var(--floresta); color: var(--papel); border-color: var(--floresta); }
.presente--livre .presente__tema { color: var(--pistache); }
.presente--livre .presente__etiqueta { border-color: var(--oliva); }
.presente--livre .botao { background: var(--papel); color: var(--floresta); border-color: var(--papel); }
.presentes__aviso { grid-column: 1 / -1; text-align: center; }

/* ---------- Check-in (confirmação) ---------- */
.secao--escura { background: var(--floresta); color: var(--papel); }
.secao--escura .rotulo { color: var(--pistache); }
.checkin {
  width: 100%; max-width: 980px;
  display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start;
}
.checkin__cabeca { display: flex; flex-direction: column; gap: 10px; }
.checkin__cabeca p:last-child { color: var(--faixa); font-size: 20px; }
.checkin__cabeca .reservado { color: var(--pistache); }
.checkin__form {
  background: rgba(247, 248, 239, 0.06); border: 1px solid var(--oliva); border-radius: var(--raio);
  padding: 30px; display: flex; flex-direction: column; gap: 18px;
}
.checkin__passos {
  list-style: none; margin: 0 0 4px; padding: 0; counter-reset: passo;
  display: flex; gap: 8px;
}
.checkin__passos li {
  flex: 1; counter-increment: passo;
  font-family: var(--rotulo); font-size: 10px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--pistache);
  border-top: 3px solid var(--oliva); padding-top: 8px;
}
.checkin__passos li::before { content: counter(passo, decimal-leading-zero) ' · '; }

.campo { display: flex; flex-direction: column; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.campo label, .campo legend {
  font-family: var(--rotulo); font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; padding: 0;
}
.campo legend { margin-bottom: 8px; }
input[type=text], input[type=number], input[type=password], textarea {
  width: 100%; min-height: 50px; padding: 10px 14px;
  border-radius: 12px; border: 1px solid var(--oliva-claro); background: var(--papel); color: var(--quase-preto);
  font-family: var(--serifa); font-size: 19px;
}
textarea { resize: vertical; min-height: 90px; }
input:focus, textarea:focus { outline: 2px solid var(--salvia); outline-offset: 1px; }
.opcoes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.campo .opcao { position: relative; cursor: pointer; font-family: var(--serifa); font-size: 18px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.opcao input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opcao span {
  display: flex; align-items: center; justify-content: center; text-align: center; min-height: 50px; padding: 8px 12px;
  border-radius: 12px; border: 1px solid var(--oliva-claro); font-size: 18px; transition: background 0.2s, color 0.2s;
}
.opcao input:checked + span { background: var(--papel); color: var(--floresta); border-color: var(--papel); font-weight: 600; }
.opcao input:focus-visible + span { outline: 2px solid var(--pistache); outline-offset: 2px; }
.armadilha { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__status { font-size: 18px; min-height: 1.5em; }
.form__status--erro { color: #F3C9B8; }
.form__status--ok { color: var(--pistache); }

/* ---------- Rodapé ---------- */
.rodape {
  background: var(--quase-preto); color: var(--papel);
  padding: 64px var(--lateral) calc(56px + env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center;
}
.rodape img { width: 110px; margin-bottom: 6px; }
.rodape__nomes { font-family: var(--cursiva); font-size: 44px; line-height: 1.1; }
.rodape .rotulo { color: var(--pistache); }
.rodape__verso { font-style: italic; font-size: 18px; color: var(--faixa); max-width: 40ch; margin-top: 6px; }

/* ---------- Janela do presente ---------- */
.janela {
  width: min(520px, calc(100% - 24px)); max-height: calc(100dvh - 24px);
  border: 0; border-radius: 22px; padding: 30px 28px 28px;
  background: var(--cartao); color: var(--floresta); box-shadow: 0 30px 80px rgba(13, 27, 10, 0.35);
}
.janela::backdrop { background: rgba(32, 51, 27, 0.6); }
.janela[open] { display: flex; flex-direction: column; gap: 14px; }
.janela__fechar-form { position: absolute; top: 12px; right: 12px; margin: 0; }
.janela__fechar {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--pistache); background: var(--papel); color: var(--floresta);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.janela__titulo { font-family: var(--serifa); font-weight: 600; font-size: 26px; line-height: 1.25; padding-right: 44px; }
.janela__valor { font-family: var(--titulo); font-weight: 600; font-size: 30px; }
.janela__valor:empty { display: none; }
.janela__dica { font-size: 16px; color: var(--musgo); }
.janela__aviso { font-size: 18px; background: var(--faixa); border-radius: 12px; padding: 14px 16px; }
.abas { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: var(--faixa); border-radius: 999px; padding: 4px; }
.abas button {
  min-height: 44px; border: 0; border-radius: 999px; background: transparent; color: var(--floresta); cursor: pointer;
  font-family: var(--rotulo); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
}
.abas button[aria-selected=true] { background: var(--floresta); color: var(--papel); }
.aba { display: flex; flex-direction: column; gap: 12px; }
.aba[hidden] { display: none; }
.pix__qr { align-self: center; width: 220px; height: 220px; background: #fff; padding: 10px; border-radius: 12px; border: 1px solid var(--pistache); }
.pix__qr svg { width: 100%; height: 100%; display: block; }
.pix__qr:empty { display: none; }
.pix__copia { display: flex; gap: 8px; }
.pix__copia input { min-height: 44px; font-family: var(--rotulo); font-size: 12px; }
.pix__titular { font-size: 16px; color: var(--musgo); }
.janela__recado { border-top: 2px dashed var(--pistache); padding-top: 18px; margin-top: 4px; display: flex; flex-direction: column; gap: 12px; }
.janela__recado-titulo { font-weight: 600; font-size: 19px; }
.janela__recado .form__status--erro { color: #9B3B22; }
.janela__recado .form__status--ok { color: var(--musgo); }

/* ---------- Menu recolhido (tablet e celular) ---------- */
@media (max-width: 1040px) {
  .topo__menu { display: inline-flex; }
  .topo__links {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--fundo); border-bottom: 1px solid var(--pistache); box-shadow: 0 16px 30px rgba(32, 51, 27, 0.12);
    padding: 6px var(--lateral) 18px;
    display: none;
  }
  .topo__links.aberto { display: flex; }
  .topo__links a { padding: 16px 4px; border-bottom: 1px solid var(--pistache); font-size: 12px; }
  .topo__links .topo__cta { margin-top: 14px; text-align: center; border-bottom: 1px solid var(--floresta); }
}

/* ---------- Tablet ---------- */
@media (max-width: 1000px) {
  .trajes { grid-template-columns: 1fr 1fr; }
  .traje--pais { grid-column: 1 / -1; display: grid; grid-template-columns: 220px 1fr; column-gap: 24px; }
  .traje--pais h3, .traje--pais p, .traje--pais .paleta { grid-column: 2; }
  .traje--pais .traje__ilustracao { grid-column: 1; grid-row: 1 / span 5; max-height: 360px; }
  .bilhete { grid-template-columns: 64px 1fr 190px; }
  .carimbos { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .bilhete__corpo { padding: 28px; }
}

/* ---------- Celular: estilo check-in ---------- */
@media (max-width: 820px) {
  body { font-size: 18px; }
  .topo__nome { display: none; }
  .topo__nome--curto { display: inline; font-size: 26px; }
  .topo__marca img { width: 34px; height: 39px; }

  .abertura { grid-template-columns: 1fr; gap: 40px; padding-top: 36px; padding-bottom: 56px; }
  .abertura__brasao { width: 150px; }
  .abertura__convite { font-size: 21px; }
  .abertura__data { font-size: 21px; gap: 12px; }
  .fio { width: 32px; }
  .contagem { grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; gap: 10px; }
  .contagem__item--seg { display: none; }
  .contagem__num { font-size: 30px; }
  .abertura .botoes { width: 100%; flex-direction: column; }
  .abertura .botoes .botao, .bilhete .botoes .botao { width: 100%; }
  .arco { max-width: 360px; }

  .secao { padding: 56px var(--lateral); gap: 28px; }
  .secao__texto { font-size: 19px; }

  /* cartão de embarque vertical, como no app da companhia aérea */
  .bilhete { grid-template-columns: 1fr; }
  .bilhete__faixa { flex-direction: row-reverse; justify-content: space-between; padding: 14px 20px; }
  .bilhete__faixa span { writing-mode: horizontal-tb; transform: none; font-size: 28px; }
  .bilhete__corpo { padding: 22px 20px; gap: 16px; }
  .bilhete__passageiro { font-size: 34px; }
  .bilhete__frase { font-size: 18px; }
  .bilhete__dados { grid-template-columns: 1fr 1fr; gap: 14px; }
  .bilhete__destino { grid-column: 1 / -1; }
  .bilhete__dados dd { font-size: 20px; }
  .bilhete__rota { height: 40px; }
  .bilhete .botoes { flex-direction: column; }
  .bilhete__canhoto { border-left: 0; border-top: 2px dashed var(--pistache); flex-direction: row; justify-content: flex-start; text-align: left; padding: 16px 20px; flex-wrap: wrap; column-gap: 14px; row-gap: 2px; }
  .bilhete__canhoto::before, .bilhete__canhoto::after { top: -15px; bottom: auto; left: auto; }
  .bilhete__canhoto::before { left: -14px; }
  .bilhete__canhoto::after { right: -14px; }
  .bilhete__canhoto img { width: 56px; }
  .bilhete__canhoto-data { order: 3; width: 100%; padding-left: 70px; font-size: 15px; margin-top: -18px; }
  .bilhete__canhoto-frase { flex: 1; min-width: 0; }

  .carimbos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .carimbo { font-size: 12px; padding: 10px; outline-offset: -7px; }
  .carimbo::before { width: 14px; height: 14px; margin-bottom: 3px; }
  .carimbo--final strong { font-size: 22px; }
  .carimbo--final .rotulo { font-size: 7px; letter-spacing: 0.14em; }

  .versiculo { flex-direction: column; text-align: center; gap: 22px; padding: 56px var(--lateral); }
  .versiculo img { width: 84px; }

  .padrinhos { grid-template-columns: 1fr 1fr; gap: 10px; }
  .padrinhos li { font-size: 22px; padding: 14px 8px; }

  .trajes { grid-template-columns: 1fr; }
  .traje { padding: 22px; }
  .traje--pais { display: flex; }

  .presentes { grid-template-columns: 1fr; gap: 12px; }
  .presente { flex-direction: row; }
  .presente__etiqueta { flex-direction: column; justify-content: center; align-items: center; border-bottom: 0; border-right: 2px dashed var(--pistache); padding: 12px; width: 108px; flex: none; text-align: center; }
  .presente--livre .presente__etiqueta { border-color: var(--oliva); }
  .presente__valor { font-size: 21px; }
  .presente__corpo { padding: 14px; gap: 10px; }
  .presente__nome { font-size: 18px; }
  .presente .botao { min-height: 44px; }

  .checkin { grid-template-columns: 1fr; gap: 24px; }
  .checkin__form { padding: 20px; }
  .opcoes { grid-template-columns: 1fr; }

  .janela { padding: 26px 20px 22px; }
  .pix__qr { width: 200px; height: 200px; }
}

@media (max-width: 380px) {
  .carimbo { font-size: 11px; letter-spacing: 0.04em; padding: 8px; }
  .padrinhos { grid-template-columns: 1fr; }
  .presente__etiqueta { width: 92px; }
}
