/* ============================================================
   MODELO DE CONTRATO — Design System "Navy & Gold Editorial"
   CSS puro, sem build step. Substitui Tailwind/shadcn por
   classes semânticas equivalentes, 1:1 fiéis ao design original.
   ============================================================ */

/* ---------- Reset básico ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { min-height: 100vh; }
img, picture, video, svg { display: block; max-width: 100%; }
svg { width: 1.2em; height: 1.2em; flex-shrink: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
table { border-collapse: collapse; width: 100%; }

/* ---------- Design tokens ---------- */
:root {
  --background: 40 30% 98%;
  --foreground: 218 44% 12%;

  --card: 0 0% 100%;
  --card-foreground: 218 44% 12%;

  --popover: 0 0% 100%;
  --popover-foreground: 218 44% 12%;

  --primary: 216 62% 20%;
  --primary-foreground: 40 40% 97%;
  --primary-hover: 216 62% 15%;
  --primary-glow: 214 68% 34%;

  --gold: 41 52% 52%;
  --gold-foreground: 216 62% 14%;
  --gold-soft: 41 60% 88%;

  --link: 214 78% 36%;

  --secondary: 40 24% 95%;
  --secondary-foreground: 216 62% 20%;

  --muted: 40 22% 95%;
  --muted-foreground: 216 14% 40%;

  --accent: 214 45% 95%;
  --accent-foreground: 216 62% 20%;

  --destructive: 0 72% 45%;
  --destructive-foreground: 40 40% 97%;

  --border: 38 20% 88%;
  --input: 38 20% 88%;
  --ring: 41 52% 52%;

  --radius: 0.875rem;

  --gradient-navy: linear-gradient(135deg, hsl(216 62% 14%), hsl(214 55% 26%));
  --gradient-gold: linear-gradient(100deg, hsl(41 58% 46%), hsl(44 72% 66%), hsl(41 58% 46%));
  --gradient-paper: linear-gradient(180deg, hsl(40 30% 99%), hsl(40 24% 95%));
  --gradient-sheen: linear-gradient(180deg, hsl(0 0% 100% / 0.9), hsl(0 0% 100% / 0.4));

  --shadow-xs: 0 1px 2px hsl(216 40% 12% / 0.05);
  --shadow-soft: 0 2px 10px -4px hsl(216 40% 12% / 0.10), 0 1px 2px hsl(216 40% 12% / 0.04);
  --shadow-elevated: 0 18px 40px -22px hsl(216 50% 14% / 0.35), 0 2px 8px -2px hsl(216 40% 12% / 0.06);
  --shadow-gold: 0 10px 30px -14px hsl(41 52% 42% / 0.55);

  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---------- Base ---------- */
body {
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "kern" 1, "liga" 1;
  line-height: 1.55;
}

h1, h2, h3 { font-family: var(--font-display); letter-spacing: -0.01em; }
h4, h5, h6 { font-family: var(--font-body); letter-spacing: -0.01em; }

::selection { background: hsl(var(--gold) / 0.28); color: hsl(var(--foreground)); }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: hsl(var(--muted)); }
::-webkit-scrollbar-thumb { background: hsl(var(--primary) / 0.35); border-radius: 9999px; border: 2px solid hsl(var(--muted)); }
::-webkit-scrollbar-thumb:hover { background: hsl(var(--primary) / 0.55); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 1.25rem; }
.container-6xl { width: 100%; max-width: 72rem; margin: 0 auto; padding: 0 1.25rem; }
.container-4xl { width: 100%; max-width: 56rem; margin: 0 auto; padding: 0 1.25rem; }
.container-2xl { width: 100%; max-width: 42rem; margin: 0 auto; padding: 0 1.25rem; }
.container-3xl { width: 100%; max-width: 48rem; margin: 0 auto; padding: 0 1.25rem; }

main { display: block; }
.min-h-screen { min-height: 100vh; }

.section { padding: 6rem 1.25rem; }
.section-sm { padding: 3.5rem 1.25rem; }
.section-shell { position: relative; overflow: hidden; background-image: var(--gradient-paper); }

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ---------- Tipografia utilitária ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  border-radius: 9999px; border: 1px solid hsl(var(--gold) / 0.4);
  background: hsl(var(--gold) / 0.10); color: hsl(var(--gold-foreground));
  padding: .25rem .75rem; font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .18em;
}
.gold-rule { height: 2px; width: 64px; border-radius: 9999px; background: var(--gradient-gold); }
.gold-rule.center { margin: 0 auto; }
.text-gradient-gold {
  background: var(--gradient-gold); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section-eyebrow-block { max-width: 46rem; margin: 0 auto 3.5rem; text-align: center; }
.section-eyebrow-block h2 { margin-top: 1.25rem; font-size: 2rem; line-height: 1.2; color: hsl(var(--foreground)); }
.section-eyebrow-block .gold-rule { margin-top: 1rem; }
.section-eyebrow-block p { margin-top: 1.25rem; font-size: 1.125rem; line-height: 1.7; color: hsl(var(--muted-foreground)); }
@media (min-width: 768px) { .section-eyebrow-block h2 { font-size: 2.6rem; } }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  white-space: nowrap; border-radius: 0.75rem; border: none; cursor: pointer;
  font-size: .875rem; font-weight: 500; font-family: var(--font-body);
  transition: all .2s ease; height: 2.5rem; padding: 0 1.25rem;
  text-decoration: none;
}
.btn svg { width: 1rem; height: 1rem; flex-shrink: 0; }
.btn:disabled { pointer-events: none; opacity: .5; }
.btn:focus-visible { outline: 2px solid hsl(var(--ring)); outline-offset: 2px; }

.btn-default { background: var(--gradient-navy); color: hsl(var(--primary-foreground)); box-shadow: var(--shadow-soft); }
.btn-default:hover { box-shadow: var(--shadow-elevated); transform: translateY(-1px); }

.btn-premium {
  position: relative; background: var(--gradient-navy); color: hsl(var(--primary-foreground));
  box-shadow: var(--shadow-elevated); box-shadow: var(--shadow-elevated), inset 0 0 0 1px hsl(var(--gold) / 0.35);
}
.btn-premium:hover { box-shadow: var(--shadow-gold), inset 0 0 0 1px hsl(var(--gold) / 0.7); transform: translateY(-1px); }

.btn-gold { background: var(--gradient-gold); color: hsl(var(--gold-foreground)); box-shadow: var(--shadow-gold); font-weight: 600; }
.btn-gold:hover { filter: brightness(1.06); transform: translateY(-1px); }

.btn-outline {
  border: 1px solid hsl(var(--border)); background: hsl(var(--card) / 0.7); color: hsl(var(--foreground));
  box-shadow: var(--shadow-xs); backdrop-filter: blur(4px);
}
.btn-outline:hover { border-color: hsl(var(--gold) / 0.6); background: hsl(var(--card)); box-shadow: var(--shadow-soft); }

.btn-secondary { background: hsl(var(--secondary)); color: hsl(var(--secondary-foreground)); box-shadow: var(--shadow-xs); }
.btn-secondary:hover { background: hsl(var(--secondary) / 0.7); }

.btn-ghost { background: transparent; color: hsl(var(--foreground)); }
.btn-ghost:hover { background: hsl(var(--accent)); color: hsl(var(--accent-foreground)); }

.btn-destructive { background: hsl(var(--destructive)); color: hsl(var(--destructive-foreground)); box-shadow: var(--shadow-soft); }
.btn-destructive:hover { background: hsl(var(--destructive) / 0.9); }

.btn-link { background: transparent; color: hsl(var(--link)); text-decoration: underline; text-underline-offset: 4px; height: auto; padding: 0; }

.btn-onlight {
  border: 1px solid hsl(var(--primary-foreground) / 0.25); background: hsl(var(--primary-foreground) / 0.10);
  color: hsl(var(--primary-foreground)); backdrop-filter: blur(4px);
}
.btn-onlight:hover { border-color: hsl(var(--gold) / 0.5); background: hsl(var(--primary-foreground) / 0.15); }

.btn-sm { height: 2.25rem; border-radius: .6rem; padding: 0 .875rem; font-size: .8125rem; }
.btn-lg { height: 2.75rem; border-radius: .75rem; padding: 0 2rem; }
.btn-xl { height: 3.25rem; border-radius: .75rem; padding: 0 2.25rem; font-size: 1rem; }
.btn-icon { height: 2.5rem; width: 2.5rem; padding: 0; border-radius: .75rem; }
.btn-block { width: 100%; }

/* ---------- Cards ---------- */
.card {
  position: relative; overflow: hidden; border-radius: 1rem;
  border: 1px solid hsl(var(--border) / 0.7); background: hsl(var(--card)); color: hsl(var(--card-foreground));
  box-shadow: var(--shadow-soft);
}
.card-header { display: flex; flex-direction: column; gap: .375rem; padding: 1.5rem; }
.card-title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; }
.card-description { font-size: .875rem; line-height: 1.6; color: hsl(var(--muted-foreground)); }
.card-content { padding: 1.5rem; padding-top: 0; }
.card-footer { display: flex; align-items: center; padding: 1.5rem; padding-top: 0; }

.surface-card { position: relative; border-radius: 1rem; border: 1px solid hsl(var(--border) / 0.7); background: hsl(var(--card)); box-shadow: var(--shadow-soft); }
.surface-card-hover { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.surface-card-hover:hover { transform: translateY(-3px); box-shadow: var(--shadow-elevated); border-color: hsl(var(--gold) / 0.45); }
.gold-topline { position: relative; }
.gold-topline::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; border-radius: 9999px;
  background: var(--gradient-gold); opacity: 0; transition: opacity .25s ease;
}
.gold-topline:hover::before { opacity: 1; }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex; align-items: center; gap: .375rem; border-radius: 9999px; border: 1px solid transparent;
  padding: .125rem .75rem; font-size: .75rem; font-weight: 600; letter-spacing: .02em;
}
.badge-default { background: var(--gradient-navy); color: hsl(var(--primary-foreground)); }
.badge-gold { border-color: hsl(var(--gold) / 0.4); background: hsl(var(--gold) / 0.12); color: hsl(var(--gold-foreground)); }
.badge-secondary { border-color: hsl(var(--border)); background: hsl(var(--secondary)); color: hsl(var(--secondary-foreground)); }
.badge-outline { border-color: hsl(var(--border)); color: hsl(var(--foreground)); background: hsl(var(--card) / 0.9); }

/* ---------- Formulários ---------- */
.form-group { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1.25rem; }
.form-label { font-size: .875rem; font-weight: 500; color: hsl(var(--foreground)); }
.form-label .required { color: hsl(var(--destructive)); margin-left: .15rem; }
.form-input, .form-select, .form-textarea {
  display: flex; width: 100%; border-radius: .5rem; border: 1px solid hsl(var(--input));
  background: hsl(var(--background)); padding: .55rem .75rem; font-size: .9375rem;
  font-family: var(--font-body); color: hsl(var(--foreground));
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form-textarea { min-height: 96px; resize: vertical; line-height: 1.5; }
.form-input::placeholder, .form-textarea::placeholder { color: hsl(var(--muted-foreground)); }
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: hsl(var(--gold)); box-shadow: 0 0 0 3px hsl(var(--ring) / 0.25);
}
.form-input:disabled, .form-select:disabled, .form-textarea:disabled { opacity: .5; cursor: not-allowed; }
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23667' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .65rem center; padding-right: 2.25rem;
}
.form-error { font-size: .8125rem; color: hsl(var(--destructive)); min-height: 1.1em; }
.form-hint { font-size: .8125rem; color: hsl(var(--muted-foreground)); }
.form-input.invalid, .form-select.invalid, .form-textarea.invalid { border-color: hsl(var(--destructive)); }
fieldset { border: none; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; width: 100%; }
.header-goldline { height: 3px; width: 100%; background: var(--gradient-gold); }
.header-bar {
  border-bottom: 1px solid hsl(var(--border) / 0.7);
  background: hsl(var(--background) / 0.85); backdrop-filter: blur(20px);
  box-shadow: var(--shadow-xs);
}
.header-inner { display: flex; height: 68px; align-items: center; justify-content: space-between; gap: 1rem; }
.header-logo { display: flex; align-items: center; gap: .5rem; flex-shrink: 0; }
.header-logo img { height: 48px; width: auto; }
.header-nav { display: none; align-items: center; gap: .25rem; flex: 1; justify-content: center; }
.header-nav a {
  position: relative; border-radius: .5rem; padding: .5rem .75rem; font-size: .875rem; font-weight: 500;
  color: hsl(var(--muted-foreground)); transition: color .2s ease;
}
.header-nav a:hover, .header-nav a[aria-current="page"] { color: hsl(var(--foreground)); }
.header-nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: .75rem; right: .75rem; bottom: -1px; height: 2px;
  border-radius: 9999px; background: var(--gradient-gold);
}
.header-actions { display: flex; align-items: center; gap: .75rem; }
.header-search { position: relative; display: none; }
.header-search input {
  width: 12rem; border-radius: .75rem; border: 1px solid hsl(var(--border) / 0.8);
  background: hsl(var(--card) / 0.7); padding: .5rem 2.25rem .5rem .75rem; font-size: .875rem;
}
.header-search button {
  position: absolute; right: 0; top: 0; height: 100%; width: 2.5rem; display: flex; align-items: center;
  justify-content: center; background: transparent; border: none; color: hsl(var(--muted-foreground)); cursor: pointer;
}
.header-search button svg { width: 16px; height: 16px; }
.header-cta { display: none; }
.header-burger {
  display: inline-flex; align-items: center; justify-content: center; height: 2.5rem; width: 2.5rem;
  border-radius: .75rem; border: 1px solid hsl(var(--border)); background: hsl(var(--card) / 0.7); cursor: pointer;
}
.header-burger svg { width: 20px; height: 20px; }

.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 60; background: hsl(var(--foreground) / 0.4);
}
.mobile-menu.open { display: block; }
.mobile-menu-panel {
  position: absolute; right: 0; top: 0; height: 100%; width: min(320px, 88vw);
  background: hsl(var(--background)); border-left: 2px solid hsl(var(--gold) / 0.3);
  padding: 1.5rem; overflow-y: auto; box-shadow: var(--shadow-elevated);
}
.mobile-menu-close { display: flex; justify-content: flex-end; }
.mobile-menu nav { display: flex; flex-direction: column; margin-top: 1.5rem; }
.mobile-menu nav a {
  display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid hsl(var(--border) / 0.6);
  padding: .875rem 0; font-size: 1rem; font-weight: 500; color: hsl(var(--muted-foreground));
}
.mobile-menu nav a:hover, .mobile-menu nav a[aria-current="page"] { color: hsl(var(--foreground)); }
.mobile-menu .btn { margin-top: 1.25rem; width: 100%; }
.mobile-menu-search { position: relative; margin-top: 1.25rem; }
.mobile-menu-search input { width: 100%; border-radius: .75rem; border: 1px solid hsl(var(--border)); padding: .6rem 2.5rem .6rem .875rem; }
.mobile-menu-search button { position: absolute; right: 0; top: 0; height: 100%; width: 2.75rem; background: none; border: none; }
.mobile-menu-search button svg { width: 16px; height: 16px; }
.mobile-menu-close svg { width: 20px; height: 20px; }

@media (min-width: 1024px) {
  .header-nav { display: flex; }
  .header-burger, .mobile-menu { display: none !important; }
}
@media (min-width: 768px) { .header-search { display: flex; } }
@media (min-width: 640px) { .header-cta { display: inline-flex; } }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
  margin-bottom: 2rem; display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .35rem;
  border-radius: .75rem; border: 1px solid hsl(var(--border) / 0.7); background: hsl(var(--card) / 0.7);
  padding: .5rem .9rem; font-size: .875rem; color: hsl(var(--muted-foreground));
  backdrop-filter: blur(4px);
}
.breadcrumbs a { display: inline-flex; align-items: center; transition: color .2s ease; }
.breadcrumbs a:hover { color: hsl(var(--primary)); }
.breadcrumbs .crumb { display: inline-flex; align-items: center; }
.breadcrumbs .sep { margin: 0 .35rem; color: hsl(var(--gold) / 0.7); width: 14px; height: 14px; }
.breadcrumbs .current { font-weight: 500; color: hsl(var(--foreground)); }
.breadcrumbs .home-icon { margin-right: .35rem; width: 14px; height: 14px; color: hsl(var(--gold)); }

/* ---------- Hero / faixas cinematográficas ---------- */
.cinematic {
  position: relative; overflow: hidden; background-color: hsl(216 62% 12%);
  background-size: cover; background-position: center;
}
.cinematic::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, hsl(216 62% 8% / 0.94) 0%, hsl(216 62% 10% / 0.82) 45%, hsl(216 62% 10% / 0.55) 100%);
}
.cinematic > * { position: relative; z-index: 1; }
.cinematic { padding: 6rem 1.25rem; }

.glass-panel { background: hsl(0 0% 100% / 0.07); border: 1px solid hsl(0 0% 100% / 0.14); backdrop-filter: blur(10px); border-radius: 1rem; }

.hairline-grid { position: relative; }
.hairline-grid::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(hsl(var(--border) / 0.55) 1px, transparent 1px), linear-gradient(90deg, hsl(var(--border) / 0.55) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 72%);
  opacity: .5;
}

.divider-ornament { display: flex; align-items: center; justify-content: center; gap: .75rem; }
.divider-ornament::before, .divider-ornament::after { content: ""; height: 1px; flex: 1; background: linear-gradient(90deg, transparent, hsl(var(--border)), transparent); }

/* ---------- Hero (home) ---------- */
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem; border-radius: 9999px; border: 1px solid hsl(var(--gold) / 0.4);
  background: hsl(var(--gold) / 0.10); padding: .35rem .9rem; font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .2em; color: hsl(var(--gold));
}
.hero-badge svg { width: 14px; height: 14px; }
.hero-grid { display: grid; gap: 3.5rem; align-items: center; }
.hero-title { margin-top: 1.5rem; font-family: var(--font-display); font-size: 2.25rem; line-height: 1.12; color: hsl(var(--primary-foreground)); }
.hero-title .accent { }
.hero-rule { height: 2px; width: 5rem; border-radius: 9999px; background: var(--gradient-gold); margin: 1.5rem auto 0; }
.hero-lede { margin: 1.5rem auto 0; max-width: 42rem; font-size: 1.125rem; line-height: 1.7; color: hsl(var(--primary-foreground) / 0.75); }
.hero-actions { margin-top: 2.25rem; display: flex; flex-direction: column; justify-content: center; gap: 1rem; }
.hero-trust { margin-top: 2.5rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.25rem 2rem; font-size: .875rem; color: hsl(var(--primary-foreground) / 0.7); }
.hero-trust span { display: inline-flex; align-items: center; gap: .5rem; }
.hero-trust svg { color: hsl(var(--gold)); width: 16px; height: 16px; }
.hero-panel-wrap { display: flex; justify-content: center; }
.hero-panel { width: 100%; max-width: 26rem; padding: 1.5rem; box-shadow: var(--shadow-elevated); }
.hero-panel-inner { border-radius: .75rem; border: 1px solid hsl(var(--border) / 0.6); background: hsl(var(--card)); padding: 1.5rem; box-shadow: var(--shadow-soft); }
.hero-panel-head { margin-bottom: 1.25rem; display: flex; align-items: center; gap: .75rem; }
.hero-panel-icon { display: flex; height: 2.5rem; width: 2.5rem; align-items: center; justify-content: center; border-radius: .5rem; background: var(--gradient-navy); box-shadow: inset 0 0 0 1px hsl(var(--gold) / 0.4); }
.hero-panel-icon svg { color: hsl(var(--gold)); width: 20px; height: 20px; }
.hero-panel-head p:first-child { font-family: var(--font-display); font-size: 1rem; color: hsl(var(--foreground)); }
.hero-panel-head p:last-child { font-size: .75rem; color: hsl(var(--muted-foreground)); }
.hero-field { border-radius: .5rem; border: 1px solid hsl(var(--border) / 0.7); background: hsl(var(--muted) / 0.6); padding: .75rem; margin-bottom: .75rem; }
.hero-field .k { margin-bottom: .25rem; font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: hsl(var(--muted-foreground)); }
.hero-field .v { font-size: .875rem; font-weight: 500; color: hsl(var(--foreground)); }
.hero-field.gold { border-color: hsl(var(--gold) / 0.4); background: hsl(var(--gold) / 0.10); }
.hero-field.gold .v { font-weight: 600; color: hsl(var(--primary)); }
.hero-panel-foot { margin-top: 1.25rem; display: flex; align-items: center; justify-content: space-between; font-size: .75rem; color: hsl(var(--primary-foreground) / 0.7); }
.hero-panel-foot .dot { display: inline-flex; align-items: center; gap: .5rem; }
.hero-panel-foot .dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: hsl(var(--gold)); }

@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; }
  .hero-title, .hero-lede, .hero-rule, .hero-actions, .hero-trust { margin-left: 0; }
  .hero-title, .hero-lede { text-align: left; }
  .cinematic .container > div:first-child { text-align: left; }
  .hero-actions { justify-content: flex-start; }
  .hero-trust { justify-content: flex-start; }
  .hero-panel-wrap { justify-content: flex-end; }
}
@media (min-width: 640px) { .hero-actions { flex-direction: row; } }
@media (min-width: 768px) { .hero-title { font-size: 3rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 3.6rem; } }

/* ---------- Grid utilitário ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Features / stats ---------- */
.feature-card { padding: 1.75rem; text-align: center; }
.feature-icon {
  margin: 0 auto 1.25rem; display: flex; height: 3.5rem; width: 3.5rem; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--gradient-navy); box-shadow: inset 0 0 0 1px hsl(var(--gold) / 0.3);
}
.feature-icon svg { color: hsl(var(--gold)); width: 24px; height: 24px; }
.feature-card h3 { margin-bottom: .75rem; font-family: var(--font-display); font-size: 1.125rem; color: hsl(var(--foreground)); }
.feature-card p { font-size: .875rem; line-height: 1.6; color: hsl(var(--muted-foreground)); }

.stat-bar { max-width: 56rem; margin: 4rem auto 0; overflow: hidden; border-radius: 1rem; background: var(--gradient-navy); box-shadow: var(--shadow-elevated); }
.stat-bar-inner { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; padding: 2rem 1.5rem; }
.stat-item { padding: .75rem .5rem; text-align: center; border-top: 1px solid hsl(var(--primary-foreground) / 0.1); }
.stat-item:nth-child(-n+2) { border-top: none; }
.stat-item .val { font-family: var(--font-display); font-size: 1.75rem; color: hsl(var(--gold)); }
.stat-item .lbl { margin-top: .25rem; font-size: 11px; text-transform: uppercase; letter-spacing: .16em; color: hsl(var(--primary-foreground) / 0.6); }
@media (min-width: 640px) { .stat-bar-inner { grid-template-columns: repeat(4, 1fr); } .stat-item { border-top: none; border-left: 1px solid hsl(var(--primary-foreground) / 0.1); } .stat-item:first-child { border-left: none; } }

/* ---------- Steps (Como funciona) ---------- */
.step-card { position: relative; padding: 2rem; transition: border-color .3s ease; }
.step-card .num { position: absolute; right: 1.5rem; top: 1.25rem; font-family: var(--font-display); font-size: 2.25rem; color: hsl(var(--primary-foreground) / 0.1); }
.step-card .ico { margin-bottom: 1.5rem; display: flex; height: 3.5rem; width: 3.5rem; align-items: center; justify-content: center; border-radius: .75rem; border: 1px solid hsl(var(--gold) / 0.3); background: hsl(var(--primary-foreground) / 0.05); }
.step-card .ico svg { color: hsl(var(--gold)); width: 24px; height: 24px; }
.step-card h3 { margin-bottom: .75rem; font-family: var(--font-display); font-size: 1.25rem; color: hsl(var(--primary-foreground)); }
.step-card p { font-size: .875rem; line-height: 1.6; color: hsl(var(--primary-foreground) / 0.7); }
.step-card .rule { margin-top: 1.5rem; height: 1px; width: 100%; background: linear-gradient(90deg, hsl(var(--gold) / 0.5), hsl(var(--gold) / 0.1), transparent); }
.timer-pill { display: inline-flex; align-items: center; gap: .5rem; border-radius: 9999px; border: 1px solid hsl(var(--primary-foreground) / 0.2); background: hsl(var(--primary-foreground) / 0.05); padding: .75rem 1.5rem; font-size: .875rem; color: hsl(var(--primary-foreground) / 0.8); backdrop-filter: blur(4px); }
.timer-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: hsl(var(--gold)); }

/* ---------- Contract type cards (home) ---------- */
.contract-card { position: relative; display: flex; flex-direction: column; padding: 1.5rem; }
.contract-card .popular-badge {
  position: absolute; right: 1rem; top: 1rem; border-radius: 9999px; background: var(--gradient-gold);
  padding: .15rem .65rem; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: hsl(var(--gold-foreground));
}
.contract-card .ico { margin-bottom: 1.25rem; display: flex; height: 3rem; width: 3rem; align-items: center; justify-content: center; border-radius: .75rem; background: var(--gradient-navy); box-shadow: inset 0 0 0 1px hsl(var(--gold) / 0.3); transition: transform .3s ease; }
.contract-card:hover .ico { transform: scale(1.05); }
.contract-card .ico svg { color: hsl(var(--gold)); width: 20px; height: 20px; }
.contract-card h3 { margin-bottom: .5rem; font-family: var(--font-display); font-size: 1.125rem; color: hsl(var(--foreground)); }
.contract-card p { margin-bottom: 1.5rem; flex: 1; font-size: .875rem; line-height: 1.6; color: hsl(var(--muted-foreground)); }
.contract-card .cta { display: inline-flex; align-items: center; gap: .5rem; font-size: .875rem; font-weight: 500; color: hsl(var(--primary)); }
.contract-card .cta svg { transition: transform .2s ease; width: 16px; height: 16px; }
.contract-card:hover .cta svg { transform: translateX(3px); }

/* ---------- Blog cards ---------- */
.blog-card { display: flex; flex-direction: column; height: 100%; overflow: hidden; transition: box-shadow .3s ease, transform .3s ease; }
.blog-card:hover { box-shadow: var(--shadow-elevated); transform: translateY(-6px); }
.blog-card .thumb { position: relative; height: 12rem; overflow: hidden; }
.blog-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.blog-card:hover .thumb img { transform: scale(1.08); }
.blog-card .thumb .badge { position: absolute; top: 1rem; left: 1rem; background: hsl(var(--background) / 0.9); backdrop-filter: blur(4px); }
.blog-card .body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.blog-card h3 { margin-bottom: .75rem; font-size: 1.15rem; font-weight: 700; line-height: 1.35; color: hsl(var(--foreground)); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.blog-card:hover h3 { color: hsl(var(--primary)); }
.blog-card p { margin-bottom: 1rem; font-size: .875rem; color: hsl(var(--muted-foreground)); flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-card .meta { display: flex; align-items: center; gap: 1rem; font-size: .75rem; color: hsl(var(--muted-foreground)); }
.blog-card .meta span { display: inline-flex; align-items: center; gap: .3rem; }
.blog-card .meta svg { width: 12px; height: 12px; }

/* ---------- Article cards (related) ---------- */
.article-card { height: 100%; }
.article-card .thumb { aspect-ratio: 16/9; overflow: hidden; }
.article-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.article-card:hover .thumb img { transform: scale(1.06); }
.article-card .body { padding: 1.25rem; }
.article-card .tag { margin-bottom: .75rem; display: inline-flex; border-radius: 9999px; border: 1px solid hsl(var(--gold) / 0.4); background: hsl(var(--gold) / 0.10); padding: .1rem .65rem; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: hsl(var(--gold-foreground)); }
.article-card h4 { margin-bottom: .5rem; font-family: var(--font-display); font-size: 1.125rem; line-height: 1.35; color: hsl(var(--foreground)); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-card:hover h4 { color: hsl(var(--primary)); }
.article-card p { margin-bottom: 1rem; font-size: .875rem; line-height: 1.6; color: hsl(var(--muted-foreground)); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-card .cta { display: inline-flex; align-items: center; font-size: .875rem; font-weight: 500; color: hsl(var(--primary)); }
.article-card .cta svg { margin-left: .35rem; width: 16px; height: 16px; transition: transform .2s ease; }
.article-card:hover .cta svg { transform: translateX(3px); }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; background: var(--gradient-navy); color: hsl(var(--primary-foreground)); }
.footer-goldline { height: 3px; width: 100%; background: var(--gradient-gold); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding: 4rem 0; }
.footer-brand-badge { margin-bottom: 1.25rem; display: inline-flex; border-radius: .75rem; background: hsl(var(--primary-foreground) / 0.95); padding: .5rem .75rem; }
.footer-brand-badge img { height: 40px; width: auto; }
.footer-grid p.desc { margin-bottom: 1.5rem; font-size: .875rem; line-height: 1.6; color: hsl(var(--primary-foreground) / 0.7); }
.footer-grid h3 { margin-bottom: 1rem; font-family: var(--font-display); font-size: 1.125rem; color: hsl(var(--primary-foreground)); }
.footer-rule { margin-bottom: 1rem; height: 2px; width: 2.5rem; border-radius: 9999px; background: var(--gradient-gold); }
.footer-links { display: flex; flex-direction: column; gap: .6rem; }
.footer-links a { display: inline-flex; align-items: center; gap: .5rem; font-size: .875rem; color: hsl(var(--primary-foreground) / 0.65); transition: color .2s ease; }
.footer-links a:hover { color: hsl(var(--gold)); }
.footer-links a::before { content: ""; height: 1px; width: 0; background: var(--gradient-gold); transition: width .3s ease; }
.footer-links a:hover::before { width: 1rem; }
.footer-contact { display: flex; flex-direction: column; gap: .875rem; font-size: .875rem; color: hsl(var(--primary-foreground) / 0.7); }
.footer-contact .row { display: flex; align-items: center; gap: .75rem; }
.footer-contact .ico { display: flex; height: 2rem; width: 2rem; align-items: center; justify-content: center; border-radius: .5rem; background: hsl(var(--primary-foreground) / 0.1); box-shadow: inset 0 0 0 1px hsl(var(--gold) / 0.25); }
.footer-contact .ico svg { color: hsl(var(--gold)); width: 16px; height: 16px; }
.footer-contact .cta-link { display: inline-flex; align-items: center; gap: .5rem; padding-top: .25rem; font-size: .875rem; font-weight: 500; color: hsl(var(--gold)); }
.footer-contact .cta-link svg { width: 16px; height: 16px; flex-shrink: 0; }
.footer-contact .cta-link:hover { text-decoration: underline; }
.footer-divider { margin: 2.5rem 0; height: 1px; width: 100%; background: hsl(var(--primary-foreground) / 0.15); }
.footer-bottom { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 2.5rem; }
.footer-bottom p { text-align: center; font-size: .75rem; color: hsl(var(--primary-foreground) / 0.6); }
.footer-bottom p a { color: hsl(var(--gold)); }
.footer-bottom .tagline { text-transform: uppercase; letter-spacing: .22em; color: hsl(var(--primary-foreground) / 0.4); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } .footer-bottom { flex-direction: row; } .footer-bottom p { text-align: left; } }

/* ---------- Artigo / conteúdo editorial (blog & glossário) ---------- */
article.prose { font-size: 1.0625rem; line-height: 1.85; color: hsl(var(--foreground) / 0.9); max-width: 100%; }
article.prose h1 { font-family: var(--font-display); font-size: 2rem; line-height: 1.15; letter-spacing: -0.01em; color: hsl(var(--foreground)); margin-bottom: 1rem; }
article.prose h2 { font-family: var(--font-display); font-size: 1.65rem; line-height: 1.25; color: hsl(var(--foreground)); margin-top: 2.5rem; margin-bottom: 1rem; }
article.prose h3 { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.35; color: hsl(var(--foreground)); margin-top: 2rem; margin-bottom: .85rem; }
article.prose h4 { font-family: var(--font-body); font-size: 1.05rem; font-weight: 600; color: hsl(var(--foreground)); margin-top: 1.5rem; margin-bottom: .6rem; }
article.prose h2::before, article.prose > .lead-rule {
  content: ""; display: block; width: 52px; height: 2px; border-radius: 9999px; background: var(--gradient-gold); margin-bottom: .85rem;
}
article.prose p { margin-bottom: 1.1rem; line-height: 1.85; }
article.prose p strong, article.prose li strong {
  color: hsl(var(--primary)); font-weight: 600;
  background-image: linear-gradient(hsl(var(--gold) / 0.30), hsl(var(--gold) / 0.30));
  background-repeat: no-repeat; background-size: 100% .38em; background-position: 0 88%; padding: 0 .06em;
}
article.prose mark { background: hsl(var(--gold) / 0.28); color: inherit; padding: .08em .28em; border-radius: .3rem; }
article.prose a { color: hsl(var(--link)); text-decoration: none; background-image: linear-gradient(hsl(var(--link) / 0.35), hsl(var(--link) / 0.35)); background-repeat: no-repeat; background-size: 100% 1px; background-position: 0 100%; transition: background-size .2s ease, color .2s ease; }
article.prose a:hover { color: hsl(var(--primary)); background-size: 100% 2px; }
article.prose ul { list-style: none; padding-left: 0; margin-bottom: 1.2rem; }
article.prose ul > li { position: relative; padding-left: 1.6rem; margin-bottom: .6rem; }
article.prose ul > li::before { content: ""; position: absolute; left: .15rem; top: .72em; width: 7px; height: 7px; border-radius: 2px; transform: rotate(45deg); background: var(--gradient-gold); }
article.prose ol { counter-reset: premium-ol; list-style: none; padding-left: 0; margin-bottom: 1.2rem; }
article.prose ol > li { counter-increment: premium-ol; position: relative; padding-left: 2.25rem; margin-bottom: .7rem; }
article.prose ol > li::before {
  content: counter(premium-ol); position: absolute; left: 0; top: .1em; width: 1.6rem; height: 1.6rem; display: flex;
  align-items: center; justify-content: center; font-size: .75rem; font-weight: 700; color: hsl(var(--primary-foreground));
  background: var(--gradient-navy); border-radius: .5rem;
}
article.prose blockquote {
  position: relative; margin: 2rem 0; padding: 1.25rem 1.5rem 1.25rem 2.25rem; border-radius: 0 1rem 1rem 0;
  background: hsl(var(--secondary) / 0.7); border-left: 3px solid hsl(var(--gold)); font-family: var(--font-display);
  font-size: 1.1rem; line-height: 1.6; color: hsl(var(--foreground));
}
article.prose table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 2rem 0; font-size: .9rem; border: 1px solid hsl(var(--border)); border-radius: 1rem; overflow: hidden; box-shadow: var(--shadow-soft); background: hsl(var(--card)); }
article.prose thead th { background: var(--gradient-navy); color: hsl(var(--primary-foreground)); font-weight: 600; text-align: left; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; padding: .8rem 1rem; }
article.prose tbody td { padding: .8rem 1rem; border-top: 1px solid hsl(var(--border)); vertical-align: top; }
article.prose tbody tr:nth-child(even) { background: hsl(var(--muted) / 0.55); }
article.prose img { border-radius: 1rem; margin: 1.5rem 0; }
article.prose hr { border: 0; height: 1px; margin: 2.5rem 0; background: linear-gradient(90deg, transparent, hsl(var(--border)), transparent); }
article.prose figcaption { font-size: .75rem; color: hsl(var(--muted-foreground)); margin-top: .5rem; }
@media (min-width: 768px) { article.prose h1 { font-size: 2.75rem; } article.prose h2 { font-size: 2.1rem; } }

/* ---------- Article header/hero ---------- */
.article-hero { padding: 2.5rem 0 1rem; }
.article-hero .cat { margin-bottom: 1rem; }
.article-hero h1 { font-family: var(--font-display); font-size: 2rem; line-height: 1.15; color: hsl(var(--foreground)); }
.article-hero .lede { margin-top: 1rem; font-size: 1.125rem; line-height: 1.65; color: hsl(var(--muted-foreground)); }
.article-meta { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 1.25rem; font-size: .8125rem; color: hsl(var(--muted-foreground)); border-top: 1px solid hsl(var(--border)); border-bottom: 1px solid hsl(var(--border)); padding: .9rem 0; }
.article-meta span { display: inline-flex; align-items: center; gap: .4rem; }
.article-meta svg { width: 14px; height: 14px; color: hsl(var(--gold)); }
.article-cover { margin: 2rem 0; border-radius: 1rem; overflow: hidden; box-shadow: var(--shadow-elevated); }
.article-cover img { width: 100%; height: auto; display: block; }
@media (min-width: 768px) { .article-hero h1 { font-size: 2.75rem; } }

.toc-box { border-radius: 1rem; border: 1px solid hsl(var(--border) / 0.7); background: hsl(var(--card)); padding: 1.5rem; margin: 2rem 0; box-shadow: var(--shadow-soft); }
.toc-box h2 { margin: 0 0 .85rem !important; font-family: var(--font-display); font-size: 1.1rem !important; }
.toc-box h2::before { display: none !important; }
.toc-box ol { counter-reset: toc; margin: 0; }
.toc-box ol > li { counter-increment: toc; padding-left: 1.75rem; margin-bottom: .5rem; font-size: .9rem; }
.toc-box ol > li::before { content: counter(toc) "."; position: absolute; left: 0; top: 0; width: auto; height: auto; background: none; color: hsl(var(--gold-foreground)); font-weight: 700; }
.toc-box a { color: hsl(var(--foreground)); background: none; }
.toc-box a:hover { color: hsl(var(--primary)); text-decoration: underline; }

/* ---------- FAQ (details/summary nativo — zero JS) ---------- */
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid hsl(var(--border)); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; cursor: pointer;
  list-style: none; padding: 1.1rem 0; font-weight: 500; font-size: 1rem; color: hsl(var(--foreground));
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg { flex-shrink: 0; width: 18px; height: 18px; }
.faq-item summary .chev { color: hsl(var(--gold)); transition: transform .2s ease; }
.faq-item[open] summary .chev { transform: rotate(180deg); }
.faq-item .faq-answer { padding: 0 0 1.1rem; font-size: .9375rem; line-height: 1.7; color: hsl(var(--muted-foreground)); }
.faq-card { border-radius: 1rem; border: 1px solid hsl(var(--border) / 0.7); background: hsl(var(--card)); padding: .25rem 1.25rem; box-shadow: var(--shadow-soft); }

/* ---------- Author box ---------- */
.author-box { position: relative; overflow: hidden; border-radius: 1rem; border: 1px solid hsl(var(--border) / 0.7); background: var(--gradient-navy); color: hsl(var(--primary-foreground)); box-shadow: var(--shadow-elevated); }
.author-box .goldline { height: 3px; width: 100%; background: var(--gradient-gold); }
.author-box-inner { position: relative; padding: 1.75rem; }
.author-box .eyebrow { margin-bottom: 1.25rem; }
.author-flex { display: flex; flex-direction: column; gap: 1.25rem; }
.author-avatar-wrap { flex-shrink: 0; }
.author-avatar { width: 5rem; height: 5rem; border-radius: 50%; padding: 2px; background: var(--gradient-gold); }
.author-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 2px solid hsl(var(--primary) / 0.4); }
.author-info h3 { font-family: var(--font-display); font-size: 1.5rem; color: hsl(var(--primary-foreground)); }
.author-info .role { margin-top: .25rem; font-size: .8125rem; text-transform: uppercase; letter-spacing: .16em; color: hsl(var(--gold) / 0.9); }
.author-info .bio { position: relative; margin-top: 1rem; padding-left: 1.5rem; font-size: .875rem; line-height: 1.65; color: hsl(var(--primary-foreground) / 0.75); }
.author-skills { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.author-skills span { border-radius: 9999px; border: 1px solid hsl(var(--primary-foreground) / 0.15); background: hsl(var(--primary-foreground) / 0.05); padding: .25rem .75rem; font-size: 11px; font-weight: 500; color: hsl(var(--primary-foreground) / 0.8); }
.author-social { margin-top: 1.25rem; display: flex; align-items: center; gap: .5rem; }
.author-social a { display: flex; height: 2.25rem; width: 2.25rem; align-items: center; justify-content: center; border-radius: .5rem; border: 1px solid hsl(var(--primary-foreground) / 0.15); background: hsl(var(--primary-foreground) / 0.05); color: hsl(var(--primary-foreground) / 0.8); }
.author-social a:hover { border-color: hsl(var(--gold) / 0.5); color: hsl(var(--gold)); }
.author-social svg { width: 16px; height: 16px; }
@media (min-width: 640px) { .author-flex { flex-direction: row; align-items: flex-start; } }

/* ---------- Sobre / páginas institucionais ---------- */
.page-hero { padding: 3.5rem 0 1rem; text-align: center; }
.page-hero h1 { font-family: var(--font-display); font-size: 2.25rem; color: hsl(var(--foreground)); }
.page-hero p { margin-top: 1rem; font-size: 1.125rem; color: hsl(var(--muted-foreground)); max-width: 42rem; margin-left: auto; margin-right: auto; }
@media (min-width: 768px) { .page-hero h1 { font-size: 3rem; } }

/* ---------- Tabela de comparação / listas simples ---------- */
.simple-list { display: flex; flex-direction: column; gap: .5rem; }
.simple-list li { padding: .75rem 0; border-bottom: 1px solid hsl(var(--border)); }
.simple-list li:last-child { border-bottom: none; }

.check-list { display: flex; flex-direction: column; gap: .65rem; }
.check-list li { display: flex; align-items: flex-start; gap: .65rem; font-size: .9375rem; line-height: 1.55; }
.check-list svg { flex-shrink: 0; width: 18px; height: 18px; margin-top: .15rem; color: hsl(var(--gold)); }

/* ---------- Alert / callout ---------- */
.callout { border-radius: 1rem; border: 1px solid hsl(var(--border)); background: hsl(var(--secondary) / 0.6); padding: 1.25rem 1.5rem; margin: 1.5rem 0; }
.callout.gold { border-color: hsl(var(--gold) / 0.4); background: hsl(var(--gold) / 0.08); }
.callout.info { border-color: hsl(214 60% 60% / 0.4); background: hsl(214 60% 60% / 0.08); }
.callout strong { display: flex; align-items: center; gap: .5rem; margin-bottom: .35rem; color: hsl(var(--foreground)); }
.callout strong svg { width: 20px; height: 20px; flex-shrink: 0; }
.callout p { font-size: .9rem; color: hsl(var(--muted-foreground)); margin: 0; }

/* ---------- Sitemap page ---------- */
.sitemap-col h2 { font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 1rem; padding-bottom: .6rem; border-bottom: 2px solid hsl(var(--gold) / 0.35); }
.sitemap-col ul { display: flex; flex-direction: column; gap: .55rem; }
.sitemap-col a { font-size: .9rem; color: hsl(var(--muted-foreground)); }
.sitemap-col a:hover { color: hsl(var(--primary)); text-decoration: underline; }

/* ---------- Result / generated contract box ---------- */
.result-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-bottom: 1.5rem; }
.result-toolbar .spacer { flex: 1; }
.share-row { display: flex; align-items: center; gap: .4rem; }
.share-row span { font-size: .8125rem; color: hsl(var(--muted-foreground)); margin-right: .25rem; }
.share-btn { display: flex; height: 2.25rem; width: 2.25rem; align-items: center; justify-content: center; border-radius: .6rem; background: transparent; border: none; color: hsl(var(--muted-foreground)); cursor: pointer; transition: background .2s ease, color .2s ease; }
.share-btn:hover { background: hsl(var(--accent)); }
.share-btn svg { width: 16px; height: 16px; }
.contract-output {
  white-space: pre-wrap; font-family: "Courier New", Courier, monospace; font-size: .875rem; line-height: 1.7;
  background: hsl(var(--muted)); padding: 1.5rem; border-radius: .75rem; max-height: 70vh; overflow-y: auto;
}
.output-footnote { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid hsl(var(--border)); text-align: center; font-size: .75rem; color: hsl(var(--muted-foreground)); }
.output-footnote a { color: hsl(var(--primary)); text-decoration: underline; }

/* ---------- Loading spinner ---------- */
.spinner { width: 1rem; height: 1rem; border-radius: 50%; border: 2px solid hsl(var(--primary-foreground) / 0.4); border-top-color: hsl(var(--primary-foreground)); animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
.animate-pulse { animation: pulse 2s cubic-bezier(0.4,0,0.6,1) infinite; }

/* ---------- Floating CTA ---------- */
.floating-btn { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 40; }
.floating-btn .btn { border-radius: 9999px; box-shadow: var(--shadow-elevated); }

/* ---------- AdBanner ---------- */
.ad-banner { width: 100%; margin: 2rem 0; text-align: center; }
.ad-banner .frame { position: relative; display: inline-block; overflow: hidden; border-radius: .5rem; max-width: 100%; }
.ad-banner video { display: block; height: 90px; width: 970px; max-width: 100%; object-fit: cover; cursor: pointer; margin: 0 auto; }

/* ---------- Toast (feedback de geração) ---------- */
.toast-region { position: fixed; bottom: 1.25rem; right: 1.25rem; z-index: 100; display: flex; flex-direction: column; gap: .6rem; max-width: 22rem; }
.toast { border-radius: .75rem; border: 1px solid hsl(var(--border)); background: hsl(var(--card)); box-shadow: var(--shadow-elevated); padding: .9rem 1.1rem; font-size: .875rem; animation: fade-up .25s ease-out both; }
.toast strong { display: block; margin-bottom: .15rem; color: hsl(var(--foreground)); }
.toast p { color: hsl(var(--muted-foreground)); margin: 0; font-size: .8125rem; }
.toast.destructive { border-color: hsl(var(--destructive) / 0.4); background: hsl(var(--destructive) / 0.06); }
.toast.destructive strong { color: hsl(var(--destructive)); }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- Skip link (acessibilidade) ---------- */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 200; background: hsl(var(--gold)); color: hsl(var(--gold-foreground)); padding: .75rem 1.25rem; border-radius: 0 0 .5rem 0; font-weight: 600; }
.skip-link:focus { left: 0; }

/* ---------- Utilitários genéricos ---------- */
.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; }
.mt-2 { margin-top: .5rem; } .mt-4 { margin-top: 1rem; } .mt-6 { margin-top: 1.5rem; } .mt-8 { margin-top: 2rem; } .mt-12 { margin-top: 3rem; }
.mb-2 { margin-bottom: .5rem; } .mb-4 { margin-bottom: 1rem; } .mb-6 { margin-bottom: 1.5rem; } .mb-8 { margin-bottom: 2rem; }
.flex { display: flex; } .items-center { align-items: center; } .justify-center { justify-content: center; } .justify-between { justify-content: space-between; }
.gap-2 { gap: .5rem; } .gap-3 { gap: .75rem; } .gap-4 { gap: 1rem; }
.flex-wrap { flex-wrap: wrap; }
.w-full { width: 100%; }
.rounded-full { border-radius: 9999px; }
.muted { color: hsl(var(--muted-foreground)); }
.text-gold { color: hsl(var(--gold)); }
.text-primary { color: hsl(var(--primary)); }
span.text-primary svg { width: 20px; height: 20px; flex-shrink: 0; }
.hidden { display: none !important; }
.js-only { display: none; }
.no-js .js-required-hide { display: none; }

/* ---------- Print (fallback de "baixar PDF" sem JS/lib externa) ---------- */
@media print {
  .site-header, .site-footer, .breadcrumbs, .floating-btn, .result-toolbar,
  .ad-banner, .toc-box, .toast-region, .no-print { display: none !important; }
  body { background: #fff; }
  .contract-output { max-height: none; overflow: visible; background: none; padding: 0; }
  a { color: inherit; text-decoration: none; }
}

/* ---------- Responsivo: tipografia base ---------- */
@media (min-width: 768px) {
  .page-hero { padding-top: 4.5rem; }
}
