:root {
  --navy: #6f1420;
  --navy2: #8a1a28;
  --ink: #17202e;
  --bg: #f6f5f1;
  --bg2: #efece4;
  --paper: #ffffff;
  --gold: #c9a24b;
  --gold2: #e6c675;
  --gold-deep: #9c7b2c;
  --gold-soft: #f6edd8;
  --line: #e9e4d8;
  --line2: #eceae4;
  --muted: #626d7d;
  --ok: #157f3d;
  --warn: #a3610a;
  --danger: #b3261e;
  --shadow-sm: 0 2px 8px rgba(74, 12, 21, 0.05);
  --shadow: 0 12px 34px rgba(74, 12, 21, 0.09);
  --shadow-lg: 0 30px 70px rgba(74, 12, 21, 0.14);
  --r: 18px;
  --r-lg: 26px;
  --maxw: 1160px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, .serif { font-family: "Playfair Display", Georgia, "Times New Roman", serif; letter-spacing: -0.01em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
::selection { background: var(--gold2); color: var(--navy); }

/* ---------- topbar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 60;
  background: rgba(74, 12, 21, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  color: #fff;
  border-bottom: 1px solid rgba(226, 198, 117, 0.16);
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 14px; }
.brand { font-family: "Playfair Display", Georgia, serif; font-weight: 700; font-size: 1.24rem; letter-spacing: 0.2px; display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.brand .logoimg { width: 44px; height: 44px; object-fit: contain; flex-shrink: 0; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.35)); }
.hero-logo { position: absolute; right: 3%; top: 50%; transform: translateY(-50%); width: min(32vw, 420px); z-index: 1; filter: drop-shadow(0 20px 44px rgba(0,0,0,0.4)); pointer-events: none; }
@media (max-width: 940px) { .hero-logo { display: none; } }
.brand .seal {
  width: 40px; height: 40px; border-radius: 13px;
  background: linear-gradient(140deg, var(--gold-deep), var(--gold2));
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem; font-family: "Playfair Display", Georgia, serif; font-weight: 700;
  box-shadow: 0 6px 18px rgba(156, 123, 44, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.5);
  flex-shrink: 0;
}
.brand .who { font-family: "Inter", sans-serif; font-size: 0.8rem; color: #d8b7bb; font-weight: 400; }
.nav { display: flex; gap: 8px; align-items: center; font-size: 0.9rem; }
.nav > a { color: #e6cdd0; padding: 9px 13px; border-radius: 10px; transition: color 0.18s, background 0.18s; }
.nav > a:hover { color: #fff; background: rgba(255, 255, 255, 0.07); }
.navtoggle { display: none; background: rgba(255,255,255,0.08); border: 1px solid rgba(226,198,117,0.28); color: #f0e6cf; width: 44px; height: 44px; border-radius: 12px; font-size: 1.3rem; cursor: pointer; align-items: center; justify-content: center; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  background: linear-gradient(135deg, #b48b2c 0%, #e6c76a 55%, #d9b855 100%);
  color: #1a1305;
  font-weight: 650; letter-spacing: 0.2px;
  border: none; border-radius: 999px;
  padding: 15px 30px; font-size: 0.97rem; cursor: pointer;
  box-shadow: 0 10px 26px rgba(156, 123, 44, 0.32), inset 0 1px 1px rgba(255,255,255,0.45);
  transition: transform 0.16s cubic-bezier(.2,.8,.2,1), box-shadow 0.16s, filter 0.16s;
  position: relative; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(156, 123, 44, 0.42); filter: brightness(1.03); }
.btn:active { transform: translateY(0); }
.btn.secondary { background: transparent; color: var(--navy); border: 1.5px solid rgba(111,20,32,0.28); box-shadow: none; }
.btn.secondary:hover { background: rgba(111, 20, 32, 0.05); border-color: var(--navy); }
.btn.ghost { background: rgba(255, 255, 255, 0.07); color: #f4edde; border: 1px solid rgba(226, 198, 117, 0.42); box-shadow: none; backdrop-filter: blur(6px); }
.btn.ghost:hover { background: rgba(226, 198, 117, 0.14); }
.btn.small { padding: 10px 18px; font-size: 0.86rem; }
.btn.danger { background: #fdecea; color: var(--danger); box-shadow: none; }
.btn.danger:hover { background: #fadbd8; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  color: #fff;
  padding: clamp(60px, 9vw, 118px) 0 clamp(80px, 11vw, 150px);
  background:
    radial-gradient(1200px 620px at 82% -8%, rgba(201, 162, 75, 0.28), transparent 55%),
    radial-gradient(760px 460px at -8% 112%, rgba(201, 162, 75, 0.14), transparent 60%),
    linear-gradient(158deg, #4a0c15 0%, #7a1626 55%, #55101c 100%);
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cg fill='none' stroke='%23c9a24b' stroke-opacity='0.05' stroke-width='1'%3E%3Cpath d='M0 70h140M70 0v140'/%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5; pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.kicker {
  display: inline-flex; align-items: center; gap: 9px;
  letter-spacing: 2.6px; text-transform: uppercase;
  color: var(--gold2); font-size: 0.74rem; font-weight: 700; margin-bottom: 22px;
  font-family: "Inter", sans-serif;
  background: rgba(226, 198, 117, 0.08); border: 1px solid rgba(226, 198, 117, 0.24);
  padding: 8px 15px; border-radius: 999px;
}
.kicker::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold2); box-shadow: 0 0 10px var(--gold2); }
.hero h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); line-height: 1.08; max-width: 15ch; font-weight: 700; }
.hero h1 em { color: var(--gold2); font-style: italic; }
.hero .rule { width: 84px; height: 2px; background: linear-gradient(90deg, var(--gold), transparent); margin: 28px 0; }
.hero p.sub { margin: 0 0 34px; color: #ecd4d7; max-width: 54ch; font-size: clamp(1rem, 2.1vw, 1.16rem); font-weight: 300; }
.lang-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 38px; }
.chip {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(226, 198, 117, 0.34);
  border-radius: 999px; padding: 9px 18px; font-size: 0.9rem; letter-spacing: 0.2px;
  backdrop-filter: blur(6px);
  transition: transform 0.18s, background 0.18s;
}
.chip:hover { transform: translateY(-2px); background: rgba(226, 198, 117, 0.12); }
.hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* ---------- trust bar ---------- */
.trustbar {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(-70px, -8vw, -60px); position: relative; z-index: 5;
  overflow: hidden;
}
.trustbar .t { padding: 26px 22px; text-align: center; border-left: 1px solid var(--line2); transition: background 0.18s; }
.trustbar .t:first-child { border-left: none; }
.trustbar .t:hover { background: var(--gold-soft); }
.trustbar .t .ti { font-size: 1.4rem; color: var(--gold-deep); }
.card .ico i { color: var(--gold-deep); }
.btn i { font-size: 0.92em; }
.flag { display: inline-block; width: 20px; height: 14px; border-radius: 2px; vertical-align: -2px; box-shadow: 0 0 0 1px rgba(0,0,0,0.08); }
.trustbar .t .tt { font-family: "Playfair Display", Georgia, serif; font-weight: 700; font-size: 1.05rem; color: var(--navy); margin-top: 8px; }
.trustbar .t .td { font-size: 0.82rem; color: var(--muted); margin-top: 3px; }

/* ---------- sections ---------- */
section.block { padding: clamp(56px, 8vw, 92px) 0; }
section.block.alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kick { display: inline-block; letter-spacing: 2.4px; text-transform: uppercase; color: var(--gold-deep); font-size: 0.72rem; font-weight: 700; margin-bottom: 12px; }
h2.sec { font-size: clamp(1.6rem, 3.6vw, 2.3rem); margin-bottom: 12px; color: var(--navy); font-weight: 700; line-height: 1.14; }
p.sec-sub { color: var(--muted); margin-bottom: 42px; max-width: 62ch; font-size: 1.02rem; }
.grid { display: grid; gap: 22px; }
.grid.c4 { grid-template-columns: repeat(4, 1fr); }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r); padding: 28px;
  transition: transform 0.22s cubic-bezier(.2,.8,.2,1), box-shadow 0.22s, border-color 0.22s;
  position: relative;
}
.alt .card { background: var(--bg); }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--gold); }
.card .num {
  width: 46px; height: 46px; border-radius: 14px;
  background: linear-gradient(140deg, var(--navy), var(--navy2)); color: var(--gold2);
  font-family: "Playfair Display", Georgia, serif; font-weight: 700; font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
  box-shadow: 0 6px 16px rgba(111,20,32,0.25);
}
.card .ico {
  width: 52px; height: 52px; border-radius: 15px;
  background: var(--gold-soft); border: 1px solid rgba(201,162,75,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 16px;
}
.card h3 { font-size: 1.16rem; margin-bottom: 8px; color: var(--navy); }
.card p { font-size: 0.92rem; color: var(--muted); }

/* ---------- price table ---------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--r); }
table.prices { width: 100%; border-collapse: collapse; background: var(--paper); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); min-width: 420px; }
table.prices th { background: linear-gradient(135deg, var(--navy), var(--navy2)); color: #ecdfc0; text-align: left; padding: 16px 22px; font-size: 0.74rem; letter-spacing: 1.4px; text-transform: uppercase; font-weight: 600; }
table.prices td { padding: 17px 22px; border-top: 1px solid var(--line); font-size: 0.97rem; }
table.prices tr:hover td { background: var(--gold-soft); }
table.prices td.val { font-family: "Playfair Display", Georgia, serif; font-weight: 700; font-size: 1.1rem; color: var(--navy); white-space: nowrap; }

.doc-chips { display: flex; flex-wrap: wrap; gap: 12px; }
.doc-chips a { display: inline-block; }
.doc-chips span {
  display: inline-block;
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
  padding: 11px 20px; font-size: 0.9rem; color: var(--ink);
  transition: border-color 0.16s, transform 0.16s, background 0.16s, color 0.16s;
}
.doc-chips a:hover span { border-color: var(--gold); transform: translateY(-2px); background: var(--navy); color: #fff; }

/* ---------- forms ---------- */
form .field { margin-bottom: 18px; }
label { display: block; font-weight: 600; font-size: 0.85rem; margin-bottom: 8px; letter-spacing: 0.15px; color: var(--ink); }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="password"], input[type="date"], select, textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 13px;
  font-size: 1rem; background: #fff; color: var(--ink); font-family: inherit;
  transition: border-color 0.16s, box-shadow 0.16s; -webkit-appearance: none; appearance: none;
}
select { 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 fill='%23626d7d' d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; padding-right: 38px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201, 162, 75, 0.16); }
textarea { resize: vertical; min-height: 96px; }
.hint { font-size: 0.8rem; color: var(--muted); margin-top: 6px; }
.check-row { display: flex; align-items: center; gap: 11px; font-size: 0.94rem; }
.check-row input { width: 20px; height: 20px; accent-color: var(--gold-deep); flex-shrink: 0; }

/* ---------- footer ---------- */
footer { background: linear-gradient(180deg, var(--navy2), var(--navy)); color: #cfaeb2; padding: 52px 0 40px; font-size: 0.9rem; border-top: 2px solid var(--gold); }
footer .container { display: flex; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
footer .fbrand { font-family: "Playfair Display", Georgia, serif; color: #f0e6cf; font-size: 1.12rem; margin-bottom: 8px; }
footer a { color: #e4c9cc; transition: color 0.15s; }
footer a:hover { color: var(--gold2); }

/* ---------- badges & status ---------- */
.badge { display: inline-block; border-radius: 999px; padding: 5px 14px; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.4px; }
.st-AGUARDANDO_PAGAMENTO { background: #fbf0d8; color: var(--warn); }
.st-PAGAMENTO_INFORMADO { background: #e5edfc; color: #1d4fb8; }
.st-PAGO { background: #ddf3e5; color: var(--ok); }
.st-EM_TRADUCAO { background: #ece7fd; color: #6d28d9; }
.st-CONCLUIDO { background: #ddf3e5; color: var(--ok); }
.st-ENTREGUE { background: #eae8e1; color: #4b5563; }
.st-CANCELADO { background: #fbe4e2; color: var(--danger); }

/* ---------- misc ---------- */
.toast {
  position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--navy); color: #f0e6cf; padding: 14px 26px; border-radius: 999px;
  font-size: 0.9rem; box-shadow: var(--shadow-lg); z-index: 300; opacity: 0; pointer-events: none;
  border: 1px solid rgba(226, 198, 117, 0.4); transition: opacity 0.2s, transform 0.2s; max-width: 90vw; text-align: center;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.muted { color: var(--muted); }
.mt8 { margin-top: 8px; } .mt16 { margin-top: 16px; } .mt24 { margin-top: 24px; }

.wpp-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 120;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: none; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
  transition: transform 0.16s; animation: wpppulse 2.6s ease-in-out infinite;
}
.wpp-float:hover { transform: scale(1.08); }
.wpp-float i { font-size: 30px; color: #fff; }
@keyframes wpppulse { 0%,100% { box-shadow: 0 12px 30px rgba(37,211,102,0.5); } 50% { box-shadow: 0 12px 30px rgba(37,211,102,0.5), 0 0 0 12px rgba(37,211,102,0.12); } }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s cubic-bezier(.2,.8,.2,1), transform 0.6s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } .wpp-float { animation: none; } }

/* ---------- responsive ---------- */
@media (max-width: 940px) {
  .grid.c4 { grid-template-columns: repeat(2, 1fr); }
  .trustbar { grid-template-columns: repeat(2, 1fr); }
  .trustbar .t:nth-child(3) { border-left: none; }
  .trustbar .t:nth-child(n+3) { border-top: 1px solid var(--line2); }
}
@media (max-width: 760px) {
  .nav { position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px;
    background: rgba(74, 12, 21, 0.97); backdrop-filter: blur(14px); padding: 14px 20px 22px;
    border-bottom: 1px solid rgba(226,198,117,0.2); transform: translateY(-140%); transition: transform 0.28s cubic-bezier(.2,.8,.2,1); max-height: calc(100vh - 72px); overflow-y: auto; }
  .nav.open { transform: translateY(0); }
  .nav > a { padding: 13px 14px; font-size: 1rem; }
  .nav .btn { margin-top: 6px; }
  .nav select { margin-top: 6px; }
  .navtoggle { display: inline-flex; }
  .grid.c3 { grid-template-columns: 1fr; }
  footer .container { flex-direction: column; gap: 22px; }
  footer .fright { text-align: left !important; }
}
@media (max-width: 520px) {
  .container { padding: 0 18px; }
  .grid.c4, .grid.c2 { grid-template-columns: 1fr; }
  .trustbar { grid-template-columns: 1fr; }
  .trustbar .t { border-left: none; border-top: 1px solid var(--line2); }
  .trustbar .t:first-child { border-top: none; }
  .hero .cta-row { flex-direction: column; align-items: stretch; }
  .hero .cta-row .btn { width: 100%; }
  .card { padding: 22px; }
}
