:root {
  /* @voceintheusa brand: logo navy + red on warm cream, brass for retro detail */
  --paper: #F7F3EA;          /* warm cream (logo's light ground) */
  --card: #FFFFFF;
  --parchment: #EFE7D8;      /* deeper cream panel */
  --ink: #141F38;            /* navy-black text */
  --ink-2: #4A5468;
  --navy: #1C2F57;           /* primary: logo navy */
  --navy-hover: #142343;
  --red: #B4232F;            /* logo red: accents and emphasis, text-safe on cream/white */
  --gold: #8C6A2E;           /* brass accent, text-safe on cream/white */
  --gold-deco: #B89355;      /* brass for hairlines and ornaments only */
  --field: #7C8595;
  --rule: #E2DBCD;
  --error: #B42318;
  --success: #1C2F57;
  --ring: rgba(28, 47, 87, 0.28);
  --shadow: 0 1px 2px rgba(20, 31, 56, 0.05), 0 22px 44px -22px rgba(20, 31, 56, 0.30);
  --radius: 14px;
  --serif: "Bodoni Moda", Didot, "Bodoni 72", "Times New Roman", serif;
  /* reading text: Caslon, the face the Declaration of Independence was first printed in */
  --text: "Libre Caslon Text", "Big Caslon", Georgia, serif;
  --sans: Manrope, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100dvh;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.72 var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--navy-hover); }
:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 680px; }

h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em; color: var(--ink); margin: 0; }
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--red); }
h1 { font-size: clamp(2.4rem, 8.4vw, 4rem); line-height: 1.06; }
h2 { font-size: clamp(1.85rem, 5.6vw, 2.55rem); line-height: 1.12; }
h3 { font: 700 1.1rem/1.35 var(--text); margin: 0 0 6px; color: var(--ink); }
p { margin: 0 0 14px; }
.muted { color: var(--ink-2); }
.small { font: 400 0.875rem/1.55 var(--sans); }
.eyebrow {
  font: 600 0.75rem/1 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 18px;
}

/* header */
/* sticky white bar: thin flag stripes on top, hairline below, shadow once you scroll */
.top {
  position: sticky; top: 0; z-index: 20;
  padding: 17px 0 13px;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--rule);
  transition: box-shadow 220ms ease;
}
.top::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px;
  background: linear-gradient(180deg, var(--red) 0 2px, #fff 2px 3px, var(--navy) 3px 5px);
}
.top.scrolled { box-shadow: 0 10px 28px -18px rgba(20, 31, 56, 0.45); }
#baixar, #conteudo { scroll-margin-top: 84px; }
.wordmark { display: inline-block; line-height: 0; }
.wordmark img, .wordmark .logo { height: 30px; width: auto; overflow: visible; }

/* logo entrance: the flag pushes in and waves, then the star on the i pops */
@media (prefers-reduced-motion: no-preference) {
  .logo #bandeira {
    transform-box: fill-box; transform-origin: 0% 100%;
    animation: flag-in 820ms cubic-bezier(0.2, 0.9, 0.3, 1.25) 200ms both, flag-wave 1.5s ease-in-out 1.05s 2;
  }
  .logo #estrela { transform-box: fill-box; transform-origin: 50% 55%; animation: star-pop 720ms cubic-bezier(0.2, 0.9, 0.3, 1.4) 700ms both; }
}
@keyframes flag-in {
  0% { transform: translateX(-30%) scale(0.2) rotate(-14deg); opacity: 0; }
  55% { transform: translateX(4%) scale(1.16) rotate(4deg); opacity: 1; }
  100% { transform: none; opacity: 1; }
}
@keyframes flag-wave {
  0%, 100% { transform: none; }
  25% { transform: skewY(-5deg) scaleX(0.96); }
  50% { transform: skewY(2.5deg) scaleX(1.02); }
  75% { transform: skewY(-2deg) scaleX(0.99); }
}
@keyframes star-pop {
  0% { transform: scale(0) rotate(-120deg); }
  65% { transform: scale(1.45) rotate(12deg); }
  100% { transform: none; }
}

/* hero */
.hero { padding: 28px 0 56px; background: radial-gradient(900px 520px at 78% 45%, #FFFFFF 0%, rgba(255, 255, 255, 0) 65%), var(--paper); }
.hero .grid { display: grid; gap: 40px; align-items: center; }
.hero .lede { font-size: 1.16rem; line-height: 1.68; color: var(--ink-2); max-width: 34rem; margin: 22px 0 30px; }
.hero .meta { font: italic 400 0.92rem/1.5 var(--text); color: var(--ink-2); margin: 18px 0 0; }
.cover {
  margin: 0 auto;
  width: min(78%, 340px);
  aspect-ratio: 720 / 931;
  border-radius: 4px;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: rotate(1deg);
  outline: 10px solid rgba(239, 231, 216, 0.95);
}
.cover img { width: 100%; height: 100%; object-fit: cover; }

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 30px;
  border-radius: 8px;
  font: 700 0.84rem/1.2 var(--sans);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 200ms ease, box-shadow 200ms ease, background-color 200ms ease, border-color 200ms ease;
}
.btn .arr { width: 16px; height: 16px; flex: none; transition: transform 260ms cubic-bezier(0.3, 1.5, 0.5, 1); }
.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, #2B4682 0%, var(--navy) 52%, #15254A 100%);
  border-color: #142445;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.20), 0 1px 2px rgba(20, 31, 56, 0.30), 0 12px 24px -12px rgba(20, 31, 56, 0.65);
}
.btn-primary::before {      /* inner brass hairline: the "ticket" frame */
  content: ""; position: absolute; inset: 4px; border-radius: 5px; z-index: -1;
  border: 1px solid rgba(226, 196, 138, 0.55); pointer-events: none;
}
.btn-primary::after {       /* soft shine that sweeps across on hover */
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  transform: skewX(-18deg); transition: left 650ms ease; pointer-events: none;
}
.btn-primary:hover {
  color: #fff; transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 2px 4px rgba(20, 31, 56, 0.25), 0 20px 34px -14px rgba(20, 31, 56, 0.70);
}
.btn-primary:hover::after { left: 120%; }
.btn:hover .arr { transform: translateY(3px); }
.btn-primary:active { transform: translateY(0); box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.25), 0 4px 10px -6px rgba(20, 31, 56, 0.6); }
.form-section .btn-primary { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.20), 0 1px 2px rgba(20, 31, 56, 0.30), 0 12px 24px -12px rgba(20, 31, 56, 0.55); }
.btn-ghost { background: var(--card); color: var(--navy); border: 1.5px solid var(--navy); }
.btn-ghost:hover { background: #F2F0EA; color: var(--navy); transform: translateY(-1px); }
.btn-ghost .arr { transform: rotate(-90deg); }
.btn-ghost:hover .arr { transform: rotate(-90deg) translateY(3px); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.8; cursor: progress; transform: none; }
.spinner {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35); border-top-color: #fff;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* sections */
section { padding: 56px 0; }
.section-rule { border-top: 1px solid var(--rule); }

/* "what's inside": deeper cream with raised white cards */
.contents { background: var(--parchment); border-top: 1px solid var(--rule); }
.contents .steps { gap: 14px; }
.contents .steps li, .contents .steps li:last-child {
  background: var(--card); border: 1px solid var(--rule); border-radius: 12px; padding: 20px 18px 20px 14px;
  box-shadow: 0 1px 2px rgba(20, 31, 56, 0.04), 0 16px 32px -22px rgba(20, 31, 56, 0.40);
}
.contents .steps .n { font-size: 2.1rem; }
.steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 0; }
.steps li { display: grid; grid-template-columns: 52px 1fr; gap: 6px; padding: 22px 0; border-top: 1px solid var(--rule); }
.steps li:last-child { border-bottom: 1px solid var(--rule); }
.steps .n { font: italic 500 1.9rem/1 var(--serif); color: var(--gold); }
.steps p { margin: 0; color: var(--ink-2); font-size: 0.97rem; line-height: 1.66; }
.plus { margin: 22px 0 0; color: var(--ink-2); font-size: 0.97rem; font-style: italic; }

/* form */
/* navy band with a thin flag-stripe edge, like the logo's flag */
.form-section { background: var(--navy); position: relative; }
.form-section::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 9px;
  background: repeating-linear-gradient(180deg, var(--red) 0 2px, var(--paper) 2px 3.5px);
}
.card {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, 0.55);
  padding: 28px 20px;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}
.card::before {
  content: "";
  position: absolute; top: -1px; left: 28px; right: 28px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-deco), transparent);
}
.card h2 { margin-bottom: 8px; }
.card h2 em { color: var(--red); }
form { margin-top: 22px; }
.field { margin: 0 0 18px; }
label, .label { display: block; font: 600 0.92rem/1.3 var(--sans); margin: 0 0 7px; }
.hint { display: block; font: 400 0.84rem/1.45 var(--sans); color: var(--ink-2); margin-top: 6px; }
input[type="text"], input[type="email"], input[type="tel"], select {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  font: 400 16px/1.3 var(--sans);
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--field);
  border-radius: 10px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
input::placeholder { color: #8A93A3; }
input:focus, select:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px var(--ring); }
.phone { display: grid; grid-template-columns: 112px 1fr; gap: 8px; }
.cc { position: relative; }
.cc-face {
  display: flex; align-items: center; gap: 8px;
  height: 100%; min-height: 48px; padding: 0 12px;
  background: #fff; border: 1px solid var(--field); border-radius: 10px;
  font: 600 16px/1 var(--sans); color: var(--ink);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.cc-face .flag { display: inline-flex; border-radius: 3px; overflow: hidden; box-shadow: 0 0 0 1px rgba(20, 31, 56, 0.12); }
.cc-face .flag[hidden] { display: none; }
.cc-chev { margin-left: auto; color: var(--ink-2); }
.cc select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 16px; }
.cc:focus-within .cc-face { border-color: var(--navy); box-shadow: 0 0 0 3px var(--ring); }
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23475569' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}
[aria-invalid="true"] { border-color: var(--error) !important; }
.error {
  display: none;
  align-items: flex-start;
  gap: 6px;
  color: var(--error);
  font: 500 0.86rem/1.4 var(--sans);
  margin-top: 7px;
}
.error.show { display: flex; }
.error svg { flex: none; margin-top: 2px; }
.suggest { display: none; font-size: 0.86rem; margin-top: 7px; color: var(--ink-2); }
.suggest.show { display: block; }
.suggest button { font: inherit; color: var(--navy); background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; margin: 4px 0 22px; font-size: 0.92rem; color: var(--ink-2); }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--navy); }
.check label { font: inherit; margin: 0; }
.fine { font: 400 0.84rem/1.55 var(--sans); color: var(--ink-2); margin: 16px 0 0; text-align: center; }
.form-error {
  display: none;
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #FEF2F2;
  color: var(--error);
  font: 500 0.9rem/1.45 var(--sans);
}
.form-error.show { display: block; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* success */
.done { text-align: left; }
.done:focus { outline: none; }
.done .eyebrow { color: var(--success); }
.done .actions { display: grid; gap: 10px; margin: 22px 0 14px; }

/* about */
.about .grid { display: grid; gap: 24px; align-items: center; }
.about { background: var(--card); border-top: 1px solid var(--rule); }
.portrait {
  width: 132px; height: 132px; border-radius: 50%; overflow: hidden;
  border: 4px solid var(--card);
  box-shadow: 0 0 0 1px var(--rule), 0 0 0 7px var(--paper), 0 0 0 8px var(--gold-deco), 0 22px 36px -18px rgba(20, 31, 56, 0.45);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.about h2 { margin-bottom: 14px; }
.about p { color: var(--ink-2); }

/* faq */
.faq details, .faq details:last-of-type {
  background: var(--card); border: 1px solid var(--rule); border-radius: 12px;
  padding: 2px 18px; margin-bottom: 10px;
  box-shadow: 0 1px 2px rgba(20, 31, 56, 0.04), 0 10px 22px -18px rgba(20, 31, 56, 0.30);
}
.faq details[open] { border-color: #D4CAB6; }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 17px 32px 17px 0;
  font: 700 1.02rem/1.45 var(--text);
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute; right: 4px; top: 50%;
  width: 9px; height: 9px;
  border-right: 1.6px solid var(--ink-2); border-bottom: 1.6px solid var(--ink-2);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 180ms ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { color: var(--ink-2); margin: 0 0 18px; }

.closing { text-align: center; background: linear-gradient(180deg, var(--paper), var(--parchment)); }
.closing h2 { margin-bottom: 24px; }
.ornament { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 0 0 22px; }
.ornament span { width: 56px; height: 1px; background: var(--gold-deco); }
.ornament svg { width: 18px; height: 18px; fill: var(--red); }

footer { padding: 40px 0 52px; background: var(--ink); font: 400 0.84rem/1.6 var(--sans); color: rgba(247, 243, 234, 0.74); }
footer p { margin: 0 0 6px; }
footer a { color: #F7F3EA; }

/* legal page */
.legal { padding: 24px 0 64px; }
.legal h1 { font-size: clamp(2rem, 6vw, 2.8rem); margin-bottom: 8px; }
.legal h2 { font-size: 1.75rem; margin: 34px 0 10px; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { padding-left: 20px; }

/* motion: one gentle reveal, content stays visible without it */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise 520ms cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .rise.d2 { animation-delay: 90ms; }
  @keyframes rise { from { transform: translateY(10px); } to { transform: none; } } /* movement only: content is never hidden */
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

@media (min-width: 760px) {
  body { font-size: 18px; }
  .wrap { padding: 0 32px; }
  .top { padding: 21px 0 16px; }
  .wordmark img, .wordmark .logo { height: 36px; }
  #baixar, #conteudo { scroll-margin-top: 96px; }
  .hero { padding: 48px 0 84px; }
  .hero .grid { grid-template-columns: 1.15fr 0.85fr; gap: 64px; }
  .cover { width: 100%; max-width: 360px; }
  section { padding: 84px 0; }
  .steps li { grid-template-columns: 72px 1fr; padding: 26px 0; }
  .card { padding: 40px 44px; }
  .done .actions { grid-template-columns: 1fr auto; }
  .about .grid { grid-template-columns: 160px 1fr; gap: 40px; }
  .portrait { width: 160px; height: 160px; }
}
