/* ============================================
   FONTES SELF-HOSTED (latin, variáveis)
============================================ */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(../assets/fonts/fraunces-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(../assets/fonts/inter-latin.woff2) format('woff2');
}

/* ============================================
   CSS CUSTOM PROPERTIES — PALETA VIDOTTO
============================================ */
:root {
  --bg-primary:           #0B0B0B;
  --bg-surface:           #161512;
  --bg-surface-elevated:  #211F1A;
  --accent-primary:       #C6A06A;
  --accent-primary-hover: #D6B47E;
  --text-primary:         #F0EAE0;
  --text-secondary:       #ADA79D;
  --text-muted:           #8B8377;
  --border-subtle:        rgba(240, 234, 224, 0.08);
  --whatsapp-green:       #25D366;

  --radius-sm:  12px;
  --radius-md:  16px;
  --radius-lg:  20px;
}

/* ============================================
   RESET + BASE
============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100dvh;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ============================================
   CONTAINER WRAPPER
============================================ */
.wrapper {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 560px) {
  .wrapper {
    max-width: 560px;
  }
}

@media (min-width: 1024px) {
  .wrapper {
    max-width: 680px;
  }
}

main {
  padding-top: 16px;
  padding-bottom: 0;
}

@media (min-width: 560px) {
  main {
    padding-top: 48px;
  }
}

/* ============================================
   FADE-IN SCROLL ANIMATION
============================================ */
/* Só esconde quando o JS está ativo (classe .js no <html>, posta pelo main.js).
   Sem JS, ou se ele falhar, tudo aparece. Hero e Tier 2 não usam fade (LCP). */
.js .fade-in-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms ease-out, transform 600ms ease-out;
}

.js .fade-in-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Cards com fade: o seletor acima tem mais peso que o hover do card, então o hover é repetido aqui */
.js .utility-card.fade-in-section {
  transition: opacity 600ms ease-out, transform 300ms ease, border-color 300ms ease;
}
.js .utility-card.fade-in-section.is-visible:hover {
  transform: perspective(800px) rotateX(0.5deg) translateY(-3px);
}

@media (prefers-reduced-motion: reduce) {
  .js .fade-in-section {
    opacity: 1;
    transform: none;
    transition: none;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================
   TIER 1 — IDENTITY HEADER
============================================ */
.tier-1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 48px;
  padding-bottom: 20px;
}

@media (min-width: 560px) {
  .tier-1 {
    padding-top: 48px;
    padding-bottom: 32px;
  }
}

.tier-1__logo {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-surface);
  box-shadow: 0 0 20px rgba(198, 160, 106, 0.1);
  opacity: 0.9;
  flex-shrink: 0;
}

.tier-1__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (min-width: 560px) {
  .tier-1__logo {
    width: 168px;
    height: 168px;
    margin-bottom: 32px;
    opacity: 0.9;
    box-shadow: 0 0 28px rgba(198, 160, 106, 0.16);
  }
}

.tier-1__name {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 28px;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin-bottom: 8px;
}

@media (min-width: 560px) {
  .tier-1__name {
    font-size: 44px;
  }
}

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

.tier-1__subtitle {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 300px;
  line-height: 1.55;
  margin-bottom: 6px;
  text-wrap: balance;
}

@media (min-width: 560px) {
  .tier-1__subtitle {
    max-width: 380px;
  }
}

.tier-1__credential {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 20px;
}

.tier-1__socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.tier-1__ig-handle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  transition: color 200ms ease;
  min-height: 44px;
  padding: 4px 2px;
}

.tier-1__ig-handle:hover {
  color: var(--accent-primary);
}

.tier-1__ig-handle:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 4px;
  border-radius: 4px;
}

.tier-1__sep {
  color: var(--accent-primary);
  opacity: 0.5;
  margin: 0 2px;
  font-size: 14px;
}

.tier-1__ig-dot {
  color: var(--text-muted);
  font-size: 20px;
  line-height: 1;
  user-select: none;
}

/* Em tela estreita os dois perfis quebram em linhas: o separador ficaria solto */
@media (max-width: 419px) {
  .tier-1__ig-dot { display: none; }
}

@media (min-width: 560px) {
  .tier-1__ig-handle {
    font-size: 16px;
    gap: 10px;
  }
}

/* ============================================
   TIER 2 — PRIMARY CTA (WHATSAPP)
============================================ */
.tier-2 {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 20px;
  transition: transform 300ms ease, box-shadow 300ms ease;
}

@media (min-width: 560px) {
  .tier-2 {
    margin-top: 20px;
  }
}

/* EN: Paper texture via SVG noise data URI — subliminar, not consciously perceived */
.tier-2::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  opacity: 0.018;
  pointer-events: none;
  z-index: 0;
}

.tier-2:hover {
  transform: perspective(800px) rotateX(0.5deg) translateY(-3px);
  box-shadow: 0 8px 24px rgba(198, 160, 106, 0.08);
}

/* EN: Copper vertical line — editorial marker / academic paper signature */
.tier-2__signature {
  position: absolute;
  left: 16px;
  top: 15%;
  width: 1.5px;
  height: 70%;
  background: rgba(198, 160, 106, 0.6);
  border-radius: 1px;
  pointer-events: none;
  z-index: 2;
}

.tier-2__signature::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -1.25px;
  width: 4px;
  height: 4px;
  background: rgba(198, 160, 106, 0.85);
  border-radius: 50%;
}

.tier-2__inner {
  display: grid;
  grid-template-columns: 65fr 35fr;
  grid-template-areas:
    "text photo"
    "cta  cta";
  position: relative;
  z-index: 1;
}

@media (min-width: 560px) {
  .tier-2__inner {
    grid-template-columns: 60fr 40fr;
    grid-template-rows: 1fr auto;
    grid-template-areas:
      "text  photo"
      "cta   photo";
    min-height: 300px;
  }
}

.tier-2__text {
  grid-area: text;
  padding: 24px 8px 16px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 560px) {
  .tier-2__text {
    padding: 36px 20px 0 36px;
    align-self: center;
  }
}

.tier-2__title {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 20px;
  color: var(--text-primary);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

@media (min-width: 560px) {
  .tier-2__title {
    font-size: 30px;
    letter-spacing: -0.015em;
    line-height: 1.15;
    margin-bottom: 10px;
  }
}

.tier-2__sub {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}

@media (min-width: 560px) {
  .tier-2__sub {
    font-size: 15px;
    margin-bottom: 28px;
  }
}

.tier-2__cta {
  grid-area: cta;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--accent-primary);
  color: var(--bg-primary);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 16px 24px;
  border-radius: 0;
  min-height: 52px;
  cursor: pointer;
  transition: background-color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.tier-2__cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.18) 50%,
    transparent 100%
  );
  animation: cta-shimmer 5s ease-out 3s 2;
  pointer-events: none;
}

@keyframes cta-shimmer {
  0%    { left: -100%; opacity: 0; }
  5%    { opacity: 1; }
  30%   { left: 100%; opacity: 1; }
  35%   { left: 100%; opacity: 0; }
  100%  { left: 100%; opacity: 0; }
}

@media (min-width: 560px) {
  .tier-2__cta {
    border-radius: var(--radius-sm);
    margin: 0 36px 36px 36px;
    gap: 12px;
    width: auto;
    justify-self: start;
    padding: 16px 28px;
  }
}

.tier-2__cta:hover {
  background: var(--accent-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(198, 160, 106, 0.28);
}

.tier-2__cta:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 4px;
}

.tier-2__cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: var(--whatsapp-green);
  border-radius: 50%;
  flex-shrink: 0;
}

@media (min-width: 560px) {
  .tier-2__cta-icon {
    width: 28px;
    height: 28px;
  }
}

@keyframes whatsapp-pulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.1); }
}

.tier-2__cta-icon.is-pulsing {
  animation: whatsapp-pulse 2s ease-in-out 3;
}

@media (prefers-reduced-motion: reduce) {
  .tier-2__cta-icon.is-pulsing { animation: none; }
}

/* EN: Photo container — flush right edge, rounded corners match card, mask fades left only */
.tier-2__photo-wrap {
  grid-area: photo;
  position: relative;
  overflow: hidden;
  border-radius: 0 var(--radius-lg) 0 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,1) 30%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,1) 30%);
}

@media (min-width: 560px) {
  .tier-2__photo-wrap {
    grid-row: 1 / span 2;
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    padding-right: 8px;
  }
  .tier-2__photo,
  .tier-2__photo-overlay {
    right: 8px;
  }
}

.tier-2__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  filter: brightness(1.08) contrast(1.02) saturate(0.95);
  display: block;
}

/* EN: Azul-petróleo overlay — cinematic tone treatment */
.tier-2__photo-overlay {
  position: absolute;
  inset: 0;
  background: var(--bg-surface);
  mix-blend-mode: multiply;
  opacity: 0.08;
  pointer-events: none;
}

/* ============================================
   DIVIDER — AUDIENCE TRANSITION
============================================ */
.divider {
  margin: 32px 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.divider__row {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.divider__line {
  flex: 1;
  height: 0;
  border-top: 1px dotted rgba(198, 160, 106, 0.4);
}

.divider__text {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.divider__arrow {
  color: var(--accent-primary);
  font-size: 13px;
  line-height: 1;
  opacity: 1;
  display: inline-block;
  animation: arrow-bounce 2.5s ease-in-out 2;
}

@keyframes arrow-bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(4px); }
}

/* EN: Secondary divider — universal info cards, more discrete than main divider */
@media (min-width: 560px) {
  .divider--secondary {
    margin: 40px 0 32px;
  }
}

/* ============================================
   BOTÃO PRIMÁRIO (usado também na 404)
============================================ */
.tier-3__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1.5px solid var(--accent-primary);
  background: transparent;
  color: var(--accent-primary);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 16px 28px;
  border-radius: var(--radius-sm);
  min-height: 54px;
  width: 100%;
  cursor: pointer;
  transition: background-color 200ms ease, color 200ms ease, transform 200ms ease;
  text-decoration: none;
}

@media (min-width: 560px) {
  .tier-3__cta {
    width: auto;
    min-width: 360px;
    padding: 18px 32px;
  }
}

.tier-3__cta:hover {
  background: var(--accent-primary);
  color: var(--bg-primary);
  transform: translateY(-1px);
}

.tier-3__cta:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 4px;
}

/* EN: Abstract waves — avoids literal anatomy iconography per MASTER.md */
/* EN: Tier 2 decorative concentric circles — subliminal background texture */
.tier-2__deco {
  position: absolute;
  bottom: 16px;
  right: 16px;
  color: var(--accent-primary);
  opacity: 0.28;
  pointer-events: none;
  z-index: 0;
}

/* EN: Utility card decorative mark — bottom-right subliminal texture */
.utility-card__deco {
  position: absolute;
  top: 16px;
  right: 16px;
  color: var(--accent-primary);
  opacity: 0.28;
  pointer-events: none;
  z-index: 0;
}

/* ============================================
   UTILITY CARDS — REVIEW + MAP (FULL WIDTH STACK)
============================================ */
.utility-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px 24px 24px 32px;
  border-color: rgba(198, 160, 106, 0.28);
  transition: transform 300ms ease, border-color 300ms ease;
}

@media (min-width: 560px) {
  .utility-card {
    padding-left: 36px;
  }
}

/* EN: Utility card signature — same copper line as Tier 2/3 but at 0.6 opacity (secondary hierarchy) */
.utility-card__signature {
  position: absolute;
  left: 16px;
  top: 15%;
  width: 1.5px;
  height: 70%;
  background: rgba(198, 160, 106, 0.9);
  border-radius: 1px;
  opacity: 0.9;
  pointer-events: none;
  z-index: 1;
}

.utility-card__signature::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -1.25px;
  width: 4px;
  height: 4px;
  background: rgba(198, 160, 106, 0.85);
  border-radius: 50%;
}

.utility-card:hover {
  transform: perspective(800px) rotateX(0.5deg) translateY(-3px);
  border-color: rgba(198, 160, 106, 0.3);
}

.utility-card__icon {
  color: var(--accent-primary);
  margin-bottom: 16px;
  display: flex;
}

.utility-card__icon svg {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.utility-card__title {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 20px;
  color: var(--text-primary);
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.utility-card__sub {
  font-size: 15px;
  color: var(--text-primary);
  opacity: 0.85;
  line-height: 1.55;
  margin-bottom: 18px;
}

@media (min-width: 560px) {
  .utility-card__sub {
    font-size: 16px;
  }
}

.utility-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--accent-primary);
  background: transparent;
  color: var(--accent-primary);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  min-height: 46px;
  cursor: pointer;
  transition: background-color 200ms ease, color 200ms ease, transform 200ms ease;
  text-decoration: none;
}

.utility-card__cta:hover {
  background: var(--accent-primary);
  color: var(--bg-primary);
  transform: translateY(-1px);
}

.utility-card__cta:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 4px;
}

.utility-card__map {
  display: block;
  width: 100%;
  height: 280px;
  border: 0;
  border-radius: 12px;
  margin-top: 16px;
  margin-bottom: 20px;
}

.utility-card__map--facade {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px;
  text-align: center;
  background: var(--bg-primary);
  border: 1px dashed rgba(198, 160, 106, 0.35);
}
.map-facade__text { font-size: 14px; line-height: 1.55; color: var(--text-secondary); max-width: 36ch; }
.map-facade__text a { color: inherit; text-decoration: underline; }
.map-facade__btn {
  min-height: 46px; padding: 12px 24px; cursor: pointer;
  background: transparent; color: var(--accent-primary);
  border: 1.5px solid var(--accent-primary); border-radius: var(--radius-sm);
  font: inherit; font-weight: 600; font-size: 15px;
}
.map-facade__btn:hover { background: var(--accent-primary); color: var(--bg-primary); }
.map-facade__btn:focus-visible { outline: 2px solid var(--accent-primary); outline-offset: 4px; }

.utility-card--stack {
  margin-top: 16px;
}

/* ============================================
   SEO CONTENT — Semantic text block for local search
============================================ */
.seo-content {
  max-width: 680px;
  margin: 0 auto;
  padding: 40px 24px 24px;
  border-top: 1px solid rgba(198, 160, 106, 0.08);
}

.seo-content__title {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 16px;
  text-align: center;
}

.seo-content__text {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-secondary);
  text-align: center;
}

.seo-content__text + .seo-content__text { margin-top: 12px; }

/* ============================================
   FOOTER — NAP + VINTA CREDIT
============================================ */
.footer {
  padding-top: 32px;
  padding-bottom: 48px;
}

/* EN: Copper rule — visual boundary before footer */
.footer__rule {
  width: 60%;
  height: 1px;
  background: var(--accent-primary);
  opacity: 0.15;
  margin: 0 auto 32px;
  border: none;
}

.footer__nap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 3px;
  font-style: normal;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 32px;
}

.footer__name {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 18px;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.footer__phone {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 8px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 200ms ease;
}

.footer__phone:hover {
  color: var(--accent-primary);
}

.footer__phone:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 3px;
  border-radius: 2px;
}

.footer__credit {
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.footer__credit a {
  color: var(--accent-primary);
  opacity: 0.9;
  text-decoration: none;
  transition: opacity 200ms ease;
}

.footer__credit a:hover {
  opacity: 1;
  text-decoration: underline;
}


/* ============================================
   ACESSIBILIDADE — SKIP LINK
============================================ */
.skip-link {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 1100;
  background: var(--accent-primary);
  color: var(--bg-primary);
  font-weight: 600;
  font-size: 14px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  transition: top 150ms ease;
}

.skip-link:focus {
  top: 16px;
  outline: 2px solid var(--text-primary);
  outline-offset: 2px;
}

main:focus { outline: none; }

/* ============================================
   FOOTER — REGISTRO, LEGAL E COOKIES
============================================ */
.footer__legal {
  text-align: center;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.footer__legal p + p { margin-top: 2px; }

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 8px;
  margin-bottom: 20px;
}

.footer__nav a,
.footer__nav button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 8px;
  font: inherit;
  font-size: 14px;
  color: var(--text-secondary);
  background: none;
  border: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  transition: color 200ms ease;
}

.footer__nav a:hover,
.footer__nav button:hover { color: var(--accent-primary); }

.footer__nav a:focus-visible,
.footer__nav button:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ============================================
   BANNER DE COOKIES (consent.js) — paleta Vidotto
   Aceitar e Rejeitar com o mesmo destaque (Guia ANPD)
============================================ */
.vc-banner {
  --vc-bg: var(--bg-surface-elevated);
  --vc-fg: var(--text-primary);
  --vc-border: rgba(198, 160, 106, 0.35);
  --vc-radius: var(--radius-md);
  --vc-radius-btn: var(--radius-sm);
  --vc-accent: var(--accent-primary);
  --vc-accent-fg: var(--bg-primary);
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1000;
  max-width: 560px; margin-inline: auto; padding: 20px;
  max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain;
  background: var(--vc-bg); color: var(--vc-fg);
  border: 1px solid var(--vc-border); border-radius: var(--vc-radius);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  font: inherit; font-size: 15px; line-height: 1.5;
}
.vc-text { margin: 0 0 14px; }
.vc-text a { color: inherit; text-decoration: underline; }
.vc-panel { display: grid; gap: 10px; margin: 0 0 14px; }
.vc-panel[hidden] { display: none; }
.vc-option { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.vc-option input { width: 20px; height: 20px; margin-top: 2px; flex-shrink: 0; accent-color: var(--vc-accent); }
.vc-option-text { display: grid; gap: 2px; }
.vc-option-text span { font-size: 14px; color: var(--text-secondary); }
.vc-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.vc-btn {
  flex: 1 1 0; min-height: 44px; padding: 10px 16px; cursor: pointer;
  border-radius: var(--vc-radius-btn); font: inherit; font-weight: 600;
  border: 1px solid var(--vc-accent);
}
/* Aceitar e Rejeitar idênticos em tamanho, cor e peso (equivalência do Guia da ANPD) */
.vc-btn-primary,
.vc-btn-secondary { background: transparent; color: var(--vc-accent); }
.vc-btn:hover { background: var(--vc-accent); color: var(--vc-accent-fg); }
.vc-link {
  flex-basis: 100%; background: none; border: 0; padding: 8px; min-height: 44px;
  font: inherit; font-size: 14px; color: var(--text-secondary);
  text-align: center; text-decoration: underline; cursor: pointer;
}
.vc-link:hover { color: var(--vc-fg); }
.vc-btn:focus-visible, .vc-link:focus-visible, .vc-option input:focus-visible {
  outline: 2px solid var(--vc-accent); outline-offset: 2px;
}
@media (prefers-reduced-motion: no-preference) {
  .vc-banner { animation: vc-in 0.3s ease-out; }
  @keyframes vc-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
}

/* ============================================
   PÁGINAS INTERNAS — POLÍTICA DE PRIVACIDADE E 404
============================================ */
.legal-header { border-bottom: 1px solid var(--border-subtle); }

.legal-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 720px;
  margin: 0 auto;
  padding: 16px 24px;
}

.legal-brand { display: flex; flex-direction: column; line-height: 1.3; }

.legal-brand__name {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 18px;
  color: var(--text-primary);
}

.legal-brand__sub { font-size: 14px; color: var(--text-muted); }

.legal-back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 4px;
  font-size: 14px;
  font-weight: 500;
  color: var(--accent-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-back:focus-visible,
.legal-brand:focus-visible,
.legal-main a:focus-visible,
.legal-inline-btn:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 3px;
  border-radius: 4px;
}

.legal-main {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 24px 64px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.legal-main h1,
.legal-main h2,
.legal-main h3 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.legal-main h1 { font-size: 32px; margin-bottom: 8px; }
.legal-main h2 { font-size: 22px; margin: 40px 0 12px; }
.legal-main h3 { font-size: 17px; margin: 24px 0 8px; }
.legal-main p,
.legal-main ul { margin-bottom: 14px; }
.legal-main ul { padding-left: 22px; }
.legal-main li + li { margin-top: 6px; }
.legal-main strong { color: var(--text-primary); font-weight: 600; }

.legal-main a {
  color: var(--accent-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-main code {
  font-size: 14px;
  background: var(--bg-surface-elevated);
  padding: 1px 6px;
  border-radius: 4px;
}

.legal-updated { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; }

.legal-table-wrap { overflow-x: auto; margin-bottom: 16px; }
.legal-table-wrap:focus-visible { outline: 2px solid var(--accent-primary); outline-offset: 2px; }
.legal-main caption {
  caption-side: top;
  text-align: left;
  font-size: 14px;
  color: var(--text-muted);
  padding-bottom: 8px;
}

.legal-main table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.legal-main .legal-table--wide { min-width: 520px; }

.legal-main th,
.legal-main td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.legal-main th { color: var(--text-primary); font-weight: 600; }

.legal-inline-btn {
  font: inherit;
  color: var(--accent-primary);
  background: none;
  border: 0;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.legal-footer {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px 48px;
}

.error-main { text-align: center; padding-top: 96px; }
.error-main__code {
  font-family: 'Fraunces', serif;
  font-size: 64px;
  line-height: 1;
  color: var(--accent-primary);
  margin-bottom: 16px;
}
.error-main .tier-3__cta { margin-top: 16px; width: auto; }
.error-footer { text-align: center; }


/* EN: WCAG 2.2.2 - decorative loops run a few times only and stop with reduced motion */
@media (prefers-reduced-motion: reduce) {
  .tier-2__cta::before, .divider__arrow { animation: none; }
}
