/* ==========================================================
   REFINAMENTO VISUAL: papel, tinta e detalhes de escritório
   Carrega depois do style.css e sobrescreve o que for preciso.
   ========================================================== */
:root {
  --gold: #c9a35c;
  --gold-2: #e3c98f;
  --gold-3: #9a7633;
  --paper: #f6f1e6;
  --paper-2: #efe8d8;
  --rule: #d8cdb4;
  --navy-950: #040817;
}
body { background: var(--paper); counter-reset: roman; }

/* ---------- Textura de papel por cima de tudo ---------- */
.grain {
  position: fixed; inset: 0; z-index: 400; pointer-events: none; opacity: .5; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n' x='0' y='0'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/><feComponentTransfer><feFuncA type='table' tableValues='0 .55'/></feComponentTransfer></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.cursor-glow, #particles, .mini-particles, .hero-orb { display: none !important; }

/* ---------- Dourado "folha", sem degradê animado ---------- */
.gold {
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'><path d='M2 8 C38 2 76 11 116 5 S182 8 198 3' stroke='%23c9a35c' stroke-width='3.2' fill='none' stroke-linecap='round'/></svg>") no-repeat 0 100% / 100% .3em;
  -webkit-background-clip: border-box; background-clip: border-box;
  color: var(--gold-3); -webkit-text-fill-color: currentColor; animation: none; padding-bottom: .14em; font-style: italic;
}
.section-dark .gold, .cta-final .gold { color: var(--gold-2); }
.scroll-progress { background: var(--gold); height: 2px; }

/* ---------- Botões: cantos retos e sombra de gráfica ---------- */
.btn {
  border-radius: 3px; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; padding: 16px 26px;
}
.btn-gold { background: var(--gold); color: #0b1128; box-shadow: 4px 4px 0 rgba(4,8,23,.55); transition: box-shadow .25s, background .25s; }
.btn-gold::after { display: none; }
.btn-gold:hover { background: var(--gold-2); box-shadow: 7px 7px 0 rgba(4,8,23,.55); }
.hero .btn-gold { box-shadow: 4px 4px 0 rgba(227,201,143,.28); }
.hero .btn-gold:hover { box-shadow: 7px 7px 0 rgba(227,201,143,.28); }
.btn-ghost { backdrop-filter: none; background: transparent; border: 1px solid rgba(246,241,230,.4); border-radius: 3px; }
.btn-outline { border-radius: 3px; border-color: var(--rule); background: transparent; }
.btn-sm { padding: 11px 18px; }
.nav.scrolled { background: rgba(4,8,23,.94); backdrop-filter: none; }

/* ---------- Topo ---------- */
.hero {
  background:
    radial-gradient(ellipse at 78% 38%, rgba(30,52,120,.55), transparent 55%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.028) 0 1px, transparent 1px 7px),
    linear-gradient(180deg, #08102c, #050a1f 70%, #040817);
}
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 160px rgba(0,0,0,.55); }
.hero-mark {
  position: absolute; left: -2vw; top: 6vh; font-family: "Playfair Display", serif; font-weight: 800; line-height: 1;
  font-size: min(62vw, 760px); color: transparent; -webkit-text-stroke: 1px rgba(201,163,92,.16); pointer-events: none; user-select: none;
}
.eyebrow { color: var(--gold); letter-spacing: .26em; font-size: .72rem; }
.eyebrow .dot { background: var(--gold); border-radius: 0; transform: rotate(45deg); width: 7px; height: 7px; animation: none; box-shadow: none; }
.hero h1 { font-weight: 700; letter-spacing: -.012em; line-height: 1.08; }

/* Palavra que muda: fica numa linha só dela, sem pular o layout */
.rot-line { display: block; white-space: nowrap; min-height: 1.18em; }
.rotator { display: inline-block; position: relative; font-style: italic; color: var(--gold-2); padding-right: .1em; }
#rotator { background: none; color: inherit; -webkit-text-fill-color: currentColor; animation: none; }
.qm { color: #f6f1e6; margin-left: .04em; }
.caret {
  display: inline-block; width: 3px; height: .85em; margin-left: 4px; vertical-align: -.06em; border-radius: 0;
  background: var(--gold); box-shadow: none; animation: blink 1.05s steps(1) infinite;
}
.caret.typing { animation: none; opacity: 1; }
@keyframes blink { 0%, 50% { opacity: 1; } 50.01%, 100% { opacity: 0; } }
@media (max-width: 600px) { .rot-line { white-space: normal; } .hero h1 { font-size: 2.15rem; } }

.hero-sub { color: rgba(246,241,230,.76); }
.hero-stats { border-top: 3px double rgba(201,163,92,.45); gap: 46px; }
.hero-stats strong { font-feature-settings: "lnum" 1; font-weight: 700; }
.hero-stats small { letter-spacing: .08em; text-transform: uppercase; font-size: .68rem; color: rgba(246,241,230,.6); }

/* Foto: moldura deslocada em vez de anel girando */
.hero-ring {
  inset: 0; padding: 0; border-radius: 2px; background: none; -webkit-mask: none; mask: none; animation: none;
  border: 1px solid var(--gold); transform: translate(18px, 18px);
}
.hero-photo { border-radius: 2px; box-shadow: 0 30px 60px -28px rgba(0,0,0,.85); }
.hero-photo img { animation: none; filter: contrast(1.04) saturate(.92); }
.hero-photo::after { background: linear-gradient(to top, rgba(5,10,31,.5), transparent 40%); }
.float-badge {
  border-radius: 2px; backdrop-filter: none; background: #050a1f; border: 1px solid rgba(201,163,92,.6);
  box-shadow: 5px 5px 0 rgba(0,0,0,.4); font-size: .8rem; letter-spacing: .02em;
}
.float-badge::after { display: none; }
.fw-1 { left: -16%; top: 8%; }
.fw-2 { right: -10%; bottom: 20%; }

/* Selo giratório */
.seal { position: absolute; left: -46px; bottom: -34px; width: 124px; height: 124px; z-index: 4; filter: drop-shadow(4px 5px 0 rgba(0,0,0,.35)); }
.seal-bg { fill: #c9a35c; }
.seal-ring { fill: none; stroke: #0b1128; stroke-width: .8; stroke-dasharray: 2 2.2; }
.seal-text { transform-origin: 60px 60px; animation: spinSeal 28s linear infinite; }
.seal-text text { font: 700 8.6px Inter, sans-serif; letter-spacing: .24em; fill: #0b1128; }
.seal-mono { font: 800 19px "Playfair Display", serif; fill: #0b1128; }
@keyframes spinSeal { to { transform: rotate(360deg); } }
@media (max-width: 860px) { .seal { width: 96px; height: 96px; left: -22px; bottom: -26px; } .fw-1 { left: -8%; } .fw-2 { right: -8%; } }

/* ---------- Faixa de áreas ---------- */
.marquee { background: #070d26; color: var(--gold-2); border-block: 1px solid rgba(201,163,92,.5); box-shadow: inset 0 -4px 0 -3px rgba(201,163,92,.35); padding: 14px 0; }
.marquee-track { font-family: "Playfair Display", serif; font-style: italic; font-weight: 600; text-transform: none; letter-spacing: .02em; font-size: 1.15rem; }
.marquee-track i { color: var(--gold); opacity: 1; font-family: "Playfair Display", serif; }

/* ---------- Seções ---------- */
.section { background: var(--paper); }
.section-alt {
  background:
    repeating-linear-gradient(0deg, transparent 0 35px, rgba(13,21,48,.045) 35px 36px),
    var(--paper-2);
}
.section-dark {
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 1px, transparent 1px 7px),
    linear-gradient(180deg, #060c24, #0a1433);
}
.section-head { margin-bottom: 56px; }
.section-head .eyebrow { counter-increment: roman; flex-direction: column; gap: 6px; letter-spacing: .28em; color: var(--gold-3); }
.section-head .eyebrow::before {
  content: counter(roman, upper-roman); font-family: "Playfair Display", serif; font-style: italic; font-weight: 600;
  font-size: 2.1rem; letter-spacing: 0; line-height: 1; color: var(--gold); text-transform: none;
}
.section-head .eyebrow::after { content: ""; width: 42px; height: 1px; background: var(--gold); margin-top: 4px; }
.section-dark .section-head .eyebrow { color: var(--gold-2); }
.section-head h2 { font-weight: 700; }
.section-head p { color: #4a526e; }
.section-dark .section-head p { color: rgba(246,241,230,.7); }
.note { color: #6d6a5e; font-style: italic; font-family: "Playfair Display", serif; font-size: .98rem; }

/* ---------- Avaliações flutuantes (arrastáveis) ---------- */
#depoimentos { background: var(--paper); padding-bottom: 90px; }
.reviews-wrap {
  overflow: hidden; padding: 34px 0 90px; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none;
  -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.reviews-wrap.grabbing { cursor: grabbing; }
.reviews-track { animation: none !important; display: flex; align-items: flex-start; gap: 34px; width: max-content; will-change: transform; padding-left: 34px; --tilt: 0; }
.review {
  width: 340px; flex: none; margin-top: var(--dy); padding: 0; background: none; border: 0; box-shadow: none; border-radius: 0;
  transform: rotate(calc(var(--r) * 1deg + var(--tilt) * 1deg)); transition: transform .25s ease-out;
}
.review::before { display: none; }
.review:hover { transform: rotate(0deg) translateY(-6px); box-shadow: none; z-index: 5; }
.review-in {
  position: relative; padding: 34px 28px 26px; background: #fffdf8; border: 1px solid var(--rule); border-radius: 2px;
  box-shadow: 0 1px 0 #fff inset, 0 18px 30px -18px rgba(40,30,10,.45), 0 2px 0 var(--rule), 0 6px 0 -2px #fffdf8, 0 7px 0 -2px var(--rule);
  animation: bobPaper 7s ease-in-out infinite; animation-delay: var(--d);
}
.review-in::after { content: "\201C"; position: absolute; right: 18px; top: 4px; font: 700 5.4rem/1 "Playfair Display", serif; color: rgba(201,163,92,.28); }
.pin-dot {
  position: absolute; top: -9px; left: 50%; width: 15px; height: 15px; margin-left: -7px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #f1d79b, #a8823f 70%); box-shadow: 0 4px 5px rgba(0,0,0,.35);
}
@keyframes bobPaper { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.review .stars { color: var(--gold); font-size: 1rem; letter-spacing: 4px; }
.review p { font-family: "Playfair Display", serif; font-size: 1.05rem; line-height: 1.55; color: #1f2744; margin: 14px 0 20px; }
.review-author { border-top: 1px dashed var(--rule); padding-top: 16px; }
.avatar { border-radius: 50%; background: #0b1128; border: 2px solid var(--gold); font-family: "Playfair Display", serif; }
.drag-hint { text-align: center; margin-top: -54px; color: var(--gold-3); font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; }
.drag-hint span { display: inline-block; animation: nudge 1.6s ease-in-out infinite; }
.drag-hint span:first-child { animation-direction: reverse; }
@media (max-width: 600px) { .review { width: 290px; } }

/* ---------- Cartões: papel com filete duplo ---------- */
.value-card, .address-card {
  background: #fffdf8; border: 1px solid var(--rule); border-radius: 2px; box-shadow: 0 16px 28px -22px rgba(40,30,10,.5);
  outline: 1px solid var(--rule); outline-offset: -8px;
}
.value-card.in { animation: none; }
.value-card:hover, .address-card:hover { border-color: var(--gold); outline-color: var(--gold); }
.value-icon, .pin { border-radius: 2px; background: #0b1128; border: 1px solid var(--gold-3); }
.value-card h3, .address-card .city { letter-spacing: -.005em; }
.address-card::after { display: none; }
.address-card:hover { transform: translateY(-6px); }
.address-card .open-map { text-transform: uppercase; letter-spacing: .14em; font-size: .74rem; }
.about-text h2 em { color: var(--gold-3); }

/* ---------- Áreas (carrossel) ---------- */
.area-card { border-radius: 3px; border: 1px solid rgba(201,163,92,.35); }
.area-card::before { background: linear-gradient(to top, rgba(4,8,23,.97) 25%, rgba(4,8,23,.5) 62%, rgba(4,8,23,.08)); }
.area-num { font-style: italic; font-size: 1.05rem; }
.chip { border-radius: 2px; letter-spacing: .08em; text-transform: uppercase; font-size: .72rem; background: transparent; }
.chip.active { background: var(--gold); box-shadow: 3px 3px 0 rgba(0,0,0,.4); }
.area-open { border-radius: 2px; text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; }
.car-btn { border-radius: 2px; backdrop-filter: none; background: #050a1f; }
.car-dots button { border-radius: 0; }

/* ---------- Equipe: foto com registro deslocado ---------- */
.member-photo { border-radius: 2px; box-shadow: 10px 10px 0 -1px rgba(201,163,92,.4); background: #0b1128; }
.member-photo::before { border-radius: 2px; }
.member.in .member-photo { animation: none; }
.member-photo img { filter: contrast(1.04) saturate(.9); }
.member h3 { font-size: 1.15rem; margin-top: 22px; }
.member .role { color: var(--gold-3); }
.member-more { border-radius: 2px; text-transform: uppercase; letter-spacing: .1em; font-size: .7rem; }

/* ---------- Fechamento ---------- */
.cta-final {
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 1px, transparent 1px 7px),
    radial-gradient(ellipse at center, #10205a, #040817 72%);
}
.cta-final::before {
  content: "§"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -52%); font: 800 min(80vw, 560px)/1 "Playfair Display", serif;
  color: transparent; -webkit-text-stroke: 1px rgba(201,163,92,.14); pointer-events: none;
}
.footer { border-top: 3px double rgba(201,163,92,.4); }

/* ---------- Modal ---------- */
.modal-box { border-radius: 3px; background: #fffdf8; }
.modal-close { border-radius: 2px; }


/* ==========================================================
   EQUIPE EM FAIXAS (a faixa sob o mouse abre)
   ========================================================== */
.team-strips { display: flex; gap: 10px; height: 570px; width: min(1240px, 94%); margin: 0 auto; }
.strip {
  position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; cursor: pointer; background: #0b1128; border-radius: 2px;
  opacity: 0; transform: translateY(34px); outline-offset: 4px;
  transition: flex-grow .75s var(--ease), opacity .8s var(--ease) calc(var(--i, 0) * 1ms), transform .8s var(--ease);
}
.team-strips.in .strip { opacity: 1; transform: none; }
.strip.is-open { flex-grow: 3.8; }
.strip-photo { position: absolute; inset: 0; }
.strip-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08) brightness(.8); transition: filter .7s, transform 1.4s var(--ease); }
.strip.is-open .strip-photo img { filter: contrast(1.04) saturate(.95); transform: scale(1.04); }
.strip::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(4,8,23,.92), rgba(4,8,23,.1) 55%, rgba(4,8,23,.35)); }
.strip.is-open::before { content: ""; position: absolute; inset: 0; z-index: 3; border: 1px solid var(--gold); pointer-events: none; }
.strip-num { position: absolute; z-index: 2; top: 14px; left: 0; right: 0; text-align: center; font: italic 600 1rem "Playfair Display", serif; color: var(--gold-2); }
.strip.is-open .strip-num { text-align: left; left: 22px; font-size: 1.4rem; }
.strip-v {
  position: absolute; z-index: 2; left: 50%; bottom: 20px; transform: translateX(-50%) rotate(180deg); writing-mode: vertical-rl;
  font: 600 1.05rem "Playfair Display", serif; letter-spacing: .04em; color: #f6f1e6; white-space: nowrap; transition: opacity .25s;
}
.strip.is-open .strip-v { opacity: 0; }
.strip-info {
  position: absolute; z-index: 2; left: 0; bottom: 0; width: min(470px, 100%); padding: 28px 28px 30px; color: #f6f1e6;
  opacity: 0; transform: translateY(18px); transition: opacity .45s var(--ease), transform .6s var(--ease); pointer-events: none;
}
.strip.is-open .strip-info { opacity: 1; transform: none; transition-delay: .2s; }
.strip-info small { display: block; color: var(--gold-2); font-weight: 700; font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; }
.strip-info b { display: block; font: 700 1.8rem/1.1 "Playfair Display", serif; margin: 8px 0 10px; }
.strip-info em { display: block; font: italic 400 1rem/1.45 "Playfair Display", serif; color: rgba(246,241,230,.82); max-width: 34ch; }
.strip-cta { display: inline-flex; gap: 8px; margin-top: 16px; color: var(--gold-2); font-weight: 700; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; border-bottom: 1px solid var(--gold); padding-bottom: 3px; }
.strip-cta i { font-style: normal; animation: nudge 1.4s ease-in-out infinite; }
@media (max-width: 960px) {
  .team-strips { display: grid; grid-template-columns: repeat(2, 1fr); height: auto; gap: 14px; }
  .strip { flex: none; aspect-ratio: 4 / 5; }
  .strip-photo img { filter: none; }
  .strip-v, .strip-info em, .strip-cta { display: none; }
  .strip-num { left: 10px; text-align: left; }
  .strip-info { opacity: 1; transform: none; padding: 14px; width: 100%; }
  .strip-info b { font-size: 1rem; margin: 4px 0 0; }
  .strip-info small { font-size: .56rem; letter-spacing: .12em; }
  .strip.is-open::before { display: none; }
}

/* ==========================================================
   FICHA (abre ao clicar em "Ver perfil")
   ========================================================== */
.modal-box:has(.dossier) { width: min(1020px, 100%); background: var(--paper); }
.dossier { display: grid; grid-template-columns: .85fr 1.25fr; min-height: 600px; }
.dz-photo { position: relative; background: #0b1128; overflow: hidden; }
.dz-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dz-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(4,8,23,.7), transparent 40%); }
.dz-tape { position: absolute; z-index: 3; top: 16px; left: 50%; width: 120px; height: 30px; margin-left: -60px; transform: rotate(-4deg); background: rgba(227,201,143,.78); box-shadow: 0 2px 6px rgba(0,0,0,.3);
  clip-path: polygon(0 8%, 4% 0, 8% 10%, 12% 0, 100% 0, 96% 50%, 100% 100%, 8% 100%, 0 92%, 3% 50%); }
.dz-stamp { position: absolute; z-index: 3; left: 20px; bottom: 22px; transform: rotate(-6deg); border: 2px solid var(--gold-2); color: var(--gold-2); padding: 7px 12px; font: 700 .62rem/1.5 Inter, sans-serif; letter-spacing: .2em; text-transform: uppercase; background: rgba(4,8,23,.5); }
.dz-body {
  padding: 50px 44px 40px; display: flex; flex-direction: column; gap: 14px;
  background: repeating-linear-gradient(0deg, transparent 0 33px, rgba(13,21,48,.05) 33px 34px), var(--paper);
}
.dz-body > * { animation: dzIn .7s var(--ease) both; }
.dz-body > *:nth-child(2) { animation-delay: .06s; } .dz-body > *:nth-child(3) { animation-delay: .12s; } .dz-body > *:nth-child(4) { animation-delay: .18s; }
.dz-body > *:nth-child(5) { animation-delay: .24s; } .dz-body > *:nth-child(6) { animation-delay: .3s; } .dz-body > *:nth-child(7) { animation-delay: .36s; }
@keyframes dzIn { from { opacity: 0; transform: translateY(14px); } }
.dz-kicker { display: flex; align-items: center; gap: 12px; color: var(--gold-3); font-weight: 700; font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; }
.dz-kicker i { width: 30px; height: 1px; background: var(--gold); }
.dossier h3 { font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1.05; color: #0b1128; }
.dz-tag { font: italic 600 1.2rem/1.35 "Playfair Display", serif; color: var(--gold-3); }
.dz-bio { color: #3d4560; font-size: 1.02rem; }
.dz-quote { position: relative; margin: 6px 0; padding: 4px 0 4px 38px; border-left: 3px solid var(--gold); font: italic 600 1.25rem/1.4 "Playfair Display", serif; color: #0b1128; }
.dz-quote::before { content: "\201C"; position: absolute; left: 8px; top: -12px; font-size: 2.6rem; color: rgba(201,163,92,.5); }
.dz-facts { display: grid; gap: 12px; margin-top: 4px; }
.dz-facts div { display: grid; grid-template-columns: 112px 1fr; gap: 14px; align-items: baseline; padding-top: 10px; border-top: 1px dashed var(--rule); }
.dz-facts dt { font-size: .66rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-3); }
.dz-facts dd { color: #1f2744; font-size: .95rem; }
.dz-chip { display: inline-block; margin: 0 6px 6px 0; padding: 3px 10px; border: 1px solid var(--gold); border-radius: 2px; font-size: .78rem; color: #0b1128; background: rgba(201,163,92,.12); }
.dz-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: auto; padding-top: 18px; }
.dz-sign { font: 700 2.5rem/1 Caveat, cursive; color: #17224d; transform: rotate(-3deg); }
.member-modal, .mm-photo { display: none; }
@media (max-width: 860px) {
  .dossier { grid-template-columns: 1fr; }
  .dz-photo { aspect-ratio: 4 / 3.4; }
  .dz-body { padding: 30px 24px 28px; }
  .dz-facts div { grid-template-columns: 1fr; gap: 2px; }
}

/* ==========================================================
   DETALHES FEITOS "À MÃO"
   ========================================================== */
.hero-cta { position: relative; }
.hero-stats { margin-top: 76px; }
.scribble { position: absolute; left: 70px; top: calc(100% + 6px); display: flex; gap: 8px; color: var(--gold-2); transform: rotate(-4deg); pointer-events: none; }
.scribble svg { width: 54px; height: 42px; flex: none; }
.scribble span { margin-top: 24px; font: 700 1.5rem/1 Caveat, cursive; }
@media (max-width: 960px) { .scribble { display: none; } .hero-stats { margin-top: 50px; } }

.about-text { position: relative; }
.stamp {
  position: absolute; right: 0; top: -46px; transform: rotate(8deg); padding: 9px 18px; text-align: center; border: 3px double #9c2b23; color: #9c2b23;
  border-radius: 4px; font: 800 .74rem/1.4 Inter, sans-serif; letter-spacing: .26em; text-transform: uppercase; opacity: .82; mix-blend-mode: multiply;
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='m'><feTurbulence type='fractalNoise' baseFrequency='.6' numOctaves='2' seed='4'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 -3 2.35'/></filter><rect width='100%' height='100%' filter='url(%23m)'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='m'><feTurbulence type='fractalNoise' baseFrequency='.6' numOctaves='2' seed='4'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 -3 2.35'/></filter><rect width='100%' height='100%' filter='url(%23m)'/></svg>");
}
.stamp b { display: block; letter-spacing: .5em; font-size: .8rem; margin: 2px 0; }
@media (max-width: 860px) { .stamp { position: static; display: inline-block; margin-bottom: 18px; } }

/* Bordas de papel rasgado entre as seções */
.section-dark::before, .section-dark::after {
  content: ""; position: absolute; left: 0; right: 0; height: 28px; z-index: 3; pointer-events: none; background-repeat: repeat-x; background-size: 600px 28px;
}
.section-dark::before { top: -1px; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 28'><path fill='%23efe8d8' d='M0 0H600V10L580 18 560 9 540 20 515 11 490 22 470 12 440 19 420 8 395 21 370 13 345 24 320 12 300 20 275 9 250 22 225 12 205 19 180 8 155 21 130 11 105 23 80 12 55 20 30 9 10 18 0 12Z'/></svg>"); }
.section-dark::after { bottom: -1px; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 28'><path fill='%23f6f1e6' d='M0 28H600V18L575 10 550 21 525 8 500 19 470 9 445 22 420 11 395 20 365 8 340 21 315 12 290 23 260 10 235 20 210 9 185 22 160 12 130 21 105 9 80 20 55 11 30 22 10 10 0 16Z'/></svg>"); }

/* Marca gigante no rodapé */
.footer { position: relative; overflow: hidden; padding-bottom: 0; }
.wordmark { margin-top: 26px; text-align: center; white-space: nowrap; user-select: none; font: 800 clamp(2.6rem, 12.5vw, 10.5rem)/.82 "Playfair Display", serif; letter-spacing: -.02em; color: transparent; -webkit-text-stroke: 1px rgba(201,163,92,.34); margin-bottom: -.04em; padding-bottom: .1em; }
.dz-areas { display: flex; flex-wrap: wrap; gap: 4px; }
.dz-body { gap: 16px; }

/* Selos do topo clicáveis */
a.float-badge { cursor: pointer; text-decoration: none; color: inherit; transition: border-color .25s, box-shadow .25s, background .25s; }
a.float-badge:hover, a.float-badge:focus-visible { border-color: var(--gold-2); background: #0b1433; box-shadow: 8px 8px 0 rgba(0,0,0,.45); outline: none; }
a.float-badge:active { box-shadow: 3px 3px 0 rgba(0,0,0,.45); }
.float-badge .go { font-style: normal; color: var(--gold); margin-left: 4px; display: inline-block; transition: transform .25s; }
a.float-badge:hover .go { transform: translate(2px, -2px); }
.badge-2:hover .go { transform: translateY(3px); }
.note a { color: var(--gold-3); text-decoration: underline; text-underline-offset: 3px; }

/* Logo original no lugar do selo */
.seal-logo { position: absolute; left: -54px; bottom: -44px; width: 168px; height: auto; z-index: 4; filter: drop-shadow(0 6px 14px rgba(0,0,0,.55)); pointer-events: none; }
@media (max-width: 860px) { .seal-logo { width: 118px; left: -18px; bottom: -30px; } }
