/* ==========================================================
   1. VARIÁVEIS E RESET
   ========================================================== */

:root {
  --color-navy-950: #050b14;
  --color-navy-900: #07111f;
  --color-navy-850: #0a1728;
  --color-navy-800: #0d1d30;
  --color-navy-700: #17304c;

  --color-green-600: #16a34a;
  --color-green-500: #22c55e;
  --color-green-400: #4ade80;
  --color-green-100: #dcfce7;
  --color-green-50: #f0fdf4;

  --color-blue-600: #2563eb;
  --color-blue-100: #dbeafe;
  --color-blue-50: #eff6ff;

  --color-red-600: #dc2626;
  --color-red-100: #fee2e2;
  --color-red-50: #fef2f2;

  --color-amber-600: #d97706;
  --color-amber-100: #fef3c7;
  --color-amber-50: #fffbeb;

  --color-slate-950: #0f172a;
  --color-slate-900: #172033;
  --color-slate-800: #1e293b;
  --color-slate-700: #334155;
  --color-slate-600: #475569;
  --color-slate-500: #64748b;
  --color-slate-400: #94a3b8;
  --color-slate-300: #cbd5e1;
  --color-slate-200: #e2e8f0;
  --color-slate-100: #f1f5f9;
  --color-slate-50: #f8fafc;

  --color-white: #ffffff;
  --color-black: #000000;

  --background-page: #f7f9fc;
  --background-card: #ffffff;
  --text-primary: #152033;
  --text-secondary: #536176;
  --border-color: #dfe6ef;

  --font-family:
    Inter, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container-width: 1180px;
  --container-narrow: 820px;

  --header-height: 76px;

  --radius-small: 10px;
  --radius-medium: 16px;
  --radius-large: 24px;
  --radius-pill: 999px;

  --shadow-small:
    0 8px 30px rgba(15, 23, 42, 0.06);

  --shadow-medium:
    0 20px 60px rgba(15, 23, 42, 0.1);

  --shadow-large:
    0 30px 90px rgba(0, 0, 0, 0.24);

  --transition-fast: 160ms ease;
  --transition-default: 240ms ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--background-page);
  color: var(--text-primary);
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
select {
  cursor: pointer;
}

button,
a,
input,
select,
summary {
  -webkit-tap-highlight-color: transparent;
}

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

p,
h1,
h2,
h3,
h4,
ul,
ol,
fieldset {
  margin-top: 0;
}

ul,
ol {
  padding-left: 0;
}

fieldset {
  min-width: 0;
  margin-left: 0;
  margin-right: 0;
  padding: 0;
  border: 0;
}

[hidden] {
  display: none !important;
}

::selection {
  background: var(--color-green-500);
  color: var(--color-navy-950);
}

/* ==========================================================
   2. ACESSIBILIDADE E ESTRUTURA
   ========================================================== */

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  padding: 10px 15px;
  border-radius: var(--radius-small);
  background: var(--color-white);
  color: var(--color-navy-900);
  font-weight: 800;
  transform: translateY(-150%);
  transition: transform var(--transition-fast);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--color-green-400);
  outline-offset: 4px;
}

.container {
  width: min(
    calc(100% - 40px),
    var(--container-width)
  );
  margin-inline: auto;
}

.container.narrow {
  width: min(
    calc(100% - 40px),
    var(--container-narrow)
  );
}

.section {
  padding: 104px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 48px;
}

.section-heading h2 {
  max-width: 720px;
  margin-bottom: 18px;
  color: var(--color-slate-950);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.section-heading > p:last-child {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--text-secondary);
  font-size: 1.08rem;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--color-green-600);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow-light {
  color: var(--color-green-400);
}

.section-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 30px;
  margin-bottom: 20px;
  border: 1px solid rgba(34, 197, 94, 0.4);
  border-radius: var(--radius-pill);
  background: rgba(34, 197, 94, 0.08);
  color: var(--color-green-600);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

/* ==========================================================
   3. BOTÕES
   ========================================================== */

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-small);
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  transition:
    transform var(--transition-fast),
    background-color var(--transition-fast),
    border-color var(--transition-fast),
    color var(--transition-fast),
    box-shadow var(--transition-fast);
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0);
}

.button-primary {
  background: var(--color-green-500);
  color: var(--color-navy-950);
  box-shadow:
    0 12px 30px rgba(34, 197, 94, 0.2);
}

.button-primary:hover {
  background: var(--color-green-400);
  box-shadow:
    0 15px 36px rgba(34, 197, 94, 0.28);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-white);
}

.button-secondary:hover {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.11);
}

.button-dark {
  background: var(--color-navy-900);
  color: var(--color-white);
}

.button-dark:hover {
  background: var(--color-navy-700);
}

.button-ghost {
  border-color: var(--color-slate-300);
  background: transparent;
  color: var(--color-slate-700);
}

.button-ghost:hover {
  border-color: var(--color-slate-500);
  background: var(--color-slate-50);
}

.button-small {
  min-height: 42px;
  padding: 9px 17px;
  font-size: 0.9rem;
}

.button-full {
  width: 100%;
}

/* ==========================================================
   4. CABEÇALHO E NAVEGAÇÃO
   ========================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(7, 17, 31, 0.92);
  color: var(--color-white);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.header-content {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: inline-flex;
  min-width: max-content;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  flex: 0 0 auto;
  border-radius: 12px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 0.98rem;
  letter-spacing: -0.01em;
}

.brand-text small {
  margin-top: 5px;
  color: var(--color-slate-400);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.main-navigation {
  display: flex;
  align-items: center;
  gap: 26px;
}

.main-navigation > a:not(.button) {
  position: relative;
  color: var(--color-slate-300);
  font-size: 0.88rem;
  font-weight: 700;
  transition: color var(--transition-fast);
}

.main-navigation > a:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  border-radius: var(--radius-pill);
  background: var(--color-green-500);
  content: "";
  transform: scaleX(0);
  transition: transform var(--transition-fast);
}

.main-navigation > a:not(.button):hover,
.main-navigation > a:not(.button).is-active {
  color: var(--color-white);
}

.main-navigation > a:not(.button):hover::after,
.main-navigation > a:not(.button).is-active::after {
  transform: scaleX(1);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-small);
  background: transparent;
}

.menu-button span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  border-radius: var(--radius-pill);
  background: var(--color-white);
  transition:
    transform var(--transition-fast),
    opacity var(--transition-fast);
}

/* ==========================================================
   5. HERO
   ========================================================== */

.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 96px;
  background:
    radial-gradient(
      circle at 76% 24%,
      rgba(34, 197, 94, 0.16),
      transparent 26%
    ),
    radial-gradient(
      circle at 12% 82%,
      rgba(37, 99, 235, 0.12),
      transparent 28%
    ),
    linear-gradient(
      135deg,
      var(--color-navy-950),
      var(--color-navy-900) 54%,
      var(--color-navy-800)
    );
  color: var(--color-white);
}

.hero::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(
      rgba(255, 255, 255, 0.025) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.025) 1px,
      transparent 1px
    );
  background-size: 52px 52px;
  content: "";
  mask-image:
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.75),
      transparent
    );
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns:
    minmax(0, 1.12fr)
    minmax(350px, 0.78fr);
  align-items: center;
  gap: clamp(50px, 8vw, 105px);
}

.hero-content h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(2.35rem, 4.6vw, 3.9rem);
  line-height: 1.06;
  letter-spacing: -0.038em;
}

.hero-description {
  max-width: 670px;
  margin-bottom: 24px;
  color: var(--color-slate-300);
  font-size: clamp(1.08rem, 2vw, 1.25rem);
  line-height: 1.65;
}

.availability-notice {
  max-width: 670px;
  margin-bottom: 31px;
  padding: 15px 18px;
  border: 1px solid rgba(74, 222, 128, 0.22);
  border-radius: var(--radius-small);
  background: rgba(34, 197, 94, 0.07);
  color: var(--color-slate-300);
  font-size: 0.95rem;
}

.availability-notice strong {
  color: var(--color-green-400);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-bottom: 34px;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 11px 24px;
  margin-bottom: 0;
  list-style: none;
  color: var(--color-slate-400);
  font-size: 0.86rem;
  font-weight: 650;
}

.trust-list li {
  position: relative;
  padding-left: 18px;
}

.trust-list li::before {
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-green-500);
  content: "";
  transform: translateY(-50%);
}

.hero-card {
  position: relative;
  padding: 31px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-large);
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.105),
      rgba(255, 255, 255, 0.045)
    );
  box-shadow: var(--shadow-large);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.hero-card::before {
  position: absolute;
  top: 0;
  right: 28px;
  left: 28px;
  height: 1px;
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(74, 222, 128, 0.7),
      transparent
    );
  content: "";
}

.hero-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 25px;
  color: var(--color-green-400);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-indicator {
  position: relative;
  display: inline-block;
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--color-green-500);
  box-shadow:
    0 0 0 5px rgba(34, 197, 94, 0.13);
}

.hero-card h2 {
  margin-bottom: 25px;
  font-size: 1.65rem;
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.feature-list {
  margin-bottom: 24px;
  list-style: none;
}

.feature-list li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-icon {
  display: flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(34, 197, 94, 0.12);
  color: var(--color-green-400);
  font-size: 0.68rem;
  font-weight: 850;
}

.feature-list strong {
  display: block;
  margin-bottom: 4px;
  color: var(--color-white);
}

.feature-list p {
  margin-bottom: 0;
  color: var(--color-slate-400);
  font-size: 0.88rem;
  line-height: 1.55;
}

.hero-card-note {
  margin-bottom: 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-slate-400);
  font-size: 0.8rem;
}

/* ==========================================================
   6. AVISO DE ESCOPO
   ========================================================== */

.scope-alert {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--color-navy-850);
  color: var(--color-white);
}

.scope-alert-content {
  display: grid;
  grid-template-columns: 46px 1fr;
  align-items: center;
  gap: 18px;
  padding-top: 25px;
  padding-bottom: 25px;
}

.scope-alert-icon {
  display: flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(74, 222, 128, 0.45);
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.12);
  color: var(--color-green-400);
  font-family: Georgia, serif;
  font-size: 1.15rem;
  font-weight: 800;
}

.scope-alert h2 {
  margin-bottom: 3px;
  font-size: 1.05rem;
  line-height: 1.3;
}

.scope-alert p {
  max-width: 950px;
  margin-bottom: 0;
  color: var(--color-slate-300);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* ==========================================================
   7. TRIAGEM
   ========================================================== */

.triage-section {
  background: var(--color-white);
}

.triage-layout {
  display: grid;
  grid-template-columns: 0.68fr 1.32fr;
  align-items: start;
  gap: clamp(42px, 7vw, 92px);
}

.triage-introduction {
  position: sticky;
  top: calc(var(--header-height) + 30px);
}

.triage-introduction h3 {
  margin-bottom: 16px;
  font-size: 1.6rem;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.triage-introduction > p {
  color: var(--text-secondary);
}

.security-list {
  margin-top: 27px;
  margin-bottom: 0;
  list-style: none;
}

.security-list li {
  position: relative;
  padding: 12px 0 12px 29px;
  border-bottom: 1px solid var(--border-color);
  color: var(--color-slate-700);
  font-size: 0.92rem;
  font-weight: 700;
}

.security-list li::before {
  position: absolute;
  top: 14px;
  left: 0;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(22, 163, 74, 0.3);
  border-radius: 50%;
  background: var(--color-green-50);
  color: var(--color-green-600);
  content: "✓";
  font-size: 0.69rem;
  font-weight: 900;
  line-height: 16px;
  text-align: center;
}

.triage-form {
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-large);
  background: var(--color-slate-50);
  box-shadow: var(--shadow-small);
}

.triage-progress {
  margin-bottom: 34px;
}

.progress-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 11px;
  color: var(--color-slate-600);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.progress-track {
  height: 7px;
  overflow: hidden;
  border-radius: var(--radius-pill);
  background: var(--color-slate-200);
}

.progress-bar {
  display: block;
  width: 33.333%;
  height: 100%;
  border-radius: inherit;
  background:
    linear-gradient(
      90deg,
      var(--color-green-600),
      var(--color-green-400)
    );
  transition: width 350ms ease;
}

.triage-step legend {
  width: 100%;
  margin-bottom: 8px;
  color: var(--color-slate-950);
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.field-description {
  margin-bottom: 24px;
  color: var(--text-secondary);
}

.choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}

.choice-card {
  position: relative;
  display: block;
  cursor: pointer;
}

.choice-card input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.choice-card > span {
  position: relative;
  display: flex;
  min-height: 112px;
  flex-direction: column;
  justify-content: center;
  padding: 18px 46px 18px 20px;
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-medium);
  background: var(--color-white);
  transition:
    border-color var(--transition-fast),
    background-color var(--transition-fast),
    box-shadow var(--transition-fast),
    transform var(--transition-fast);
}

.choice-card > span::before {
  position: absolute;
  top: 18px;
  right: 18px;
  display: flex;
  width: 21px;
  height: 21px;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
  border: 2px solid var(--color-slate-300);
  border-radius: 6px;
  color: var(--color-white);
  content: "✓";
  font-size: 0.68rem;
  font-weight: 900;
}

.choice-card strong {
  margin-bottom: 5px;
  color: var(--color-slate-900);
  line-height: 1.35;
}

.choice-card small {
  color: var(--color-slate-500);
  font-size: 0.79rem;
  line-height: 1.5;
}

.choice-card:hover > span {
  border-color: var(--color-slate-400);
  transform: translateY(-2px);
}

.choice-card input:focus-visible + span {
  outline: 3px solid rgba(34, 197, 94, 0.35);
  outline-offset: 3px;
}

.choice-card input:checked + span {
  border-color: var(--color-green-500);
  background: var(--color-green-50);
  box-shadow:
    0 0 0 3px rgba(34, 197, 94, 0.09);
}

.choice-card input:checked + span::before {
  border-color: var(--color-green-600);
  background: var(--color-green-600);
}

.triage-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 28px;
}

.triage-actions .button-ghost {
  margin-right: auto;
}

.form-message {
  margin: 14px 0 0;
  color: var(--color-red-600);
  font-size: 0.86rem;
  font-weight: 700;
}

.triage-result {
  margin-top: 46px;
  padding: clamp(27px, 5vw, 50px);
  border: 1px solid rgba(22, 163, 74, 0.25);
  border-radius: var(--radius-large);
  background:
    linear-gradient(
      135deg,
      var(--color-green-50),
      var(--color-white)
    );
  box-shadow: var(--shadow-medium);
}

.result-header {
  margin-bottom: 30px;
}

.result-header h3 {
  margin-bottom: 0;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  letter-spacing: -0.04em;
}

.triage-result > p {
  max-width: 760px;
  color: var(--text-secondary);
}

.result-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(22, 163, 74, 0.2);
}

.result-grid h4 {
  margin-bottom: 17px;
  font-size: 1rem;
}

.result-grid ul {
  margin-bottom: 0;
  list-style: none;
}

.result-grid li {
  position: relative;
  padding: 8px 0 8px 25px;
  color: var(--color-slate-700);
}

.result-grid li::before {
  position: absolute;
  left: 0;
  color: var(--color-green-600);
  content: "✓";
  font-weight: 900;
}

.result-grid p {
  color: var(--text-secondary);
}

/* ==========================================================
   8. PROCESSO
   ========================================================== */

.process-section {
  background: var(--color-slate-50);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-large);
  background: var(--border-color);
  list-style: none;
}

.process-item {
  position: relative;
  min-height: 260px;
  padding: 31px;
  background: var(--color-white);
  transition:
    background-color var(--transition-default),
    transform var(--transition-default);
}

.process-item:hover {
  z-index: 1;
  background: var(--color-green-50);
}

.process-number {
  display: block;
  margin-bottom: 50px;
  color: var(--color-green-600);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.process-item h3 {
  margin-bottom: 12px;
  font-size: 1.22rem;
  letter-spacing: -0.025em;
}

.process-item p {
  margin-bottom: 0;
  color: var(--text-secondary);
  font-size: 0.91rem;
}

/* ==========================================================
   9. ESCOPO
   ========================================================== */

.scope-section {
  background: var(--color-white);
}

.scope-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.scope-card {
  padding: clamp(26px, 4vw, 39px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-large);
}

.scope-card-included {
  background:
    linear-gradient(
      145deg,
      var(--color-green-50),
      var(--color-white) 75%
    );
}

.scope-card-excluded {
  background:
    linear-gradient(
      145deg,
      var(--color-red-50),
      var(--color-white) 75%
    );
}

.scope-card-header {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 23px;
}

.scope-card-header > span {
  display: flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.15rem;
  font-weight: 900;
}

.scope-card-included .scope-card-header > span {
  background: var(--color-green-100);
  color: var(--color-green-600);
}

.scope-card-excluded .scope-card-header > span {
  background: var(--color-red-100);
  color: var(--color-red-600);
}

.scope-card h3 {
  margin-bottom: 0;
  font-size: 1.35rem;
}

.scope-card ul {
  margin-bottom: 0;
  list-style: none;
}

.scope-card li {
  position: relative;
  padding: 13px 0 13px 27px;
  border-top: 1px solid rgba(100, 116, 139, 0.16);
  color: var(--color-slate-700);
}

.scope-card li::before {
  position: absolute;
  left: 0;
  font-weight: 900;
}

.scope-card-included li::before {
  color: var(--color-green-600);
  content: "✓";
}

.scope-card-excluded li::before {
  color: var(--color-red-600);
  content: "×";
}

.scope-note {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  margin-top: 24px;
  padding: 25px 29px;
  border-left: 4px solid var(--color-amber-600);
  border-radius: 0 var(--radius-medium) var(--radius-medium) 0;
  background: var(--color-amber-50);
}

.scope-note strong {
  color: var(--color-slate-900);
}

.scope-note p {
  margin-bottom: 0;
  color: var(--color-slate-700);
  font-size: 0.92rem;
}

/* ==========================================================
   10. DOCUMENTOS
   ========================================================== */

.documents-section {
  background: var(--color-navy-900);
  color: var(--color-white);
}

.documents-section .section-heading h2 {
  color: var(--color-white);
}

.documents-section .section-heading > p:last-child {
  color: var(--color-slate-400);
}

.document-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 17px;
}

.document-card {
  padding: 27px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-medium);
  background: rgba(255, 255, 255, 0.045);
  transition:
    background-color var(--transition-default),
    border-color var(--transition-default),
    transform var(--transition-default);
}

.document-card:hover {
  border-color: rgba(74, 222, 128, 0.3);
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-4px);
}

.document-icon {
  display: inline-flex;
  min-width: 40px;
  height: 28px;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
  border: 1px solid rgba(74, 222, 128, 0.28);
  border-radius: var(--radius-pill);
  background: rgba(34, 197, 94, 0.08);
  color: var(--color-green-400);
  font-size: 0.69rem;
  font-weight: 850;
}

.document-card h3 {
  margin-bottom: 17px;
  font-size: 1.13rem;
}

.document-card ul {
  margin-bottom: 0;
  list-style: none;
}

.document-card li {
  padding: 9px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.075);
  color: var(--color-slate-400);
  font-size: 0.83rem;
}

.security-callout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  margin-top: 24px;
  padding: 29px 32px;
  border: 1px solid rgba(74, 222, 128, 0.25);
  border-radius: var(--radius-medium);
  background: rgba(34, 197, 94, 0.07);
}

.security-callout h3 {
  margin-bottom: 0;
  font-size: 1.38rem;
  letter-spacing: -0.025em;
}

.security-callout > p {
  align-self: center;
  margin-bottom: 0;
  color: var(--color-slate-300);
  font-size: 0.92rem;
}

/* ==========================================================
   11. VALORES
   ========================================================== */

.pricing-section {
  background: var(--color-slate-50);
}

.pricing-panel {
  display: grid;
  grid-template-columns: 1fr 0.9fr auto;
  align-items: center;
  gap: clamp(35px, 6vw, 70px);
  padding: clamp(30px, 5vw, 52px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-large);
  background: var(--color-white);
  box-shadow: var(--shadow-small);
}

.pricing-panel-content h3 {
  margin-bottom: 14px;
  font-size: 1.55rem;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.pricing-panel-content p {
  margin-bottom: 0;
  color: var(--text-secondary);
}

.pricing-factors {
  margin-bottom: 0;
  list-style: none;
}

.pricing-factors li {
  position: relative;
  padding: 8px 0 8px 24px;
  color: var(--color-slate-700);
  font-size: 0.88rem;
}

.pricing-factors li::before {
  position: absolute;
  left: 0;
  color: var(--color-green-600);
  content: "✓";
  font-weight: 900;
}

/* ==========================================================
   12. SOBRE
   ========================================================== */

.about-section {
  overflow: hidden;
  background: var(--color-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: center;
  gap: clamp(50px, 9vw, 110px);
}

.about-image-wrapper {
  position: relative;
}

.about-image-wrapper::before {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 42%;
  height: 42%;
  border-radius: var(--radius-large);
  background: var(--color-green-500);
  content: "";
}

.about-image {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 4.75;
  border-radius: var(--radius-large);
  object-fit: cover;
  box-shadow: var(--shadow-medium);
}

.about-image-fallback {
  position: relative;
  z-index: 1;
  display: flex;
  aspect-ratio: 4 / 4.75;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 35px;
  border-radius: var(--radius-large);
  background:
    linear-gradient(
      145deg,
      var(--color-navy-800),
      var(--color-navy-950)
    );
  color: var(--color-white);
  text-align: center;
  box-shadow: var(--shadow-medium);
}

.about-image-fallback img {
  margin-bottom: 24px;
}

.about-image-fallback strong {
  margin-bottom: 8px;
  font-size: 1.35rem;
}

.about-image-fallback span {
  max-width: 260px;
  color: var(--color-slate-400);
  font-size: 0.88rem;
}

.about-content h2 {
  max-width: 650px;
  margin-bottom: 24px;
  font-size: clamp(2rem, 4.2vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.about-content > p {
  color: var(--text-secondary);
  font-size: 1.02rem;
}

.about-disclaimer {
  margin: 27px 0 30px;
  padding: 18px 20px;
  border-left: 4px solid var(--color-green-500);
  border-radius: 0 var(--radius-small) var(--radius-small) 0;
  background: var(--color-green-50);
  color: var(--color-slate-700) !important;
  font-size: 0.9rem !important;
}

/* ==========================================================
   13. PRIVACIDADE
   ========================================================== */

.privacy-section {
  background: var(--color-slate-50);
}

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.privacy-card {
  min-height: 205px;
  padding: 27px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-medium);
  background: var(--color-white);
}

.privacy-card::before {
  display: block;
  width: 32px;
  height: 4px;
  margin-bottom: 36px;
  border-radius: var(--radius-pill);
  background: var(--color-green-500);
  content: "";
}

.privacy-card h3 {
  margin-bottom: 11px;
  font-size: 1.08rem;
}

.privacy-card p {
  margin-bottom: 0;
  color: var(--text-secondary);
  font-size: 0.87rem;
}

.privacy-link {
  margin: 25px 0 0;
  color: var(--color-slate-600);
}

.privacy-link a {
  color: var(--color-green-600);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ==========================================================
   14. FAQ
   ========================================================== */

.faq-section {
  background: var(--color-white);
}

.faq-list {
  border-top: 1px solid var(--border-color);
}

.faq-list details {
  border-bottom: 1px solid var(--border-color);
}

.faq-list summary {
  position: relative;
  padding: 23px 52px 23px 0;
  color: var(--color-slate-900);
  font-size: 1.02rem;
  font-weight: 800;
  list-style: none;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 3px;
  display: flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-slate-300);
  border-radius: 50%;
  color: var(--color-slate-700);
  content: "+";
  font-size: 1.2rem;
  font-weight: 500;
  transform: translateY(-50%);
  transition:
    transform var(--transition-fast),
    background-color var(--transition-fast);
}

.faq-list details[open] summary::after {
  background: var(--color-green-100);
  content: "−";
}

.faq-list details p {
  max-width: 720px;
  margin-bottom: 0;
  padding: 0 52px 24px 0;
  color: var(--text-secondary);
}

/* ==========================================================
   15. CONTATO
   ========================================================== */

.contact-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 10% 80%,
      rgba(34, 197, 94, 0.14),
      transparent 30%
    ),
    linear-gradient(
      135deg,
      var(--color-navy-950),
      var(--color-navy-800)
    );
  color: var(--color-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: start;
  gap: clamp(50px, 8vw, 100px);
}

.contact-content {
  position: sticky;
  top: calc(var(--header-height) + 38px);
}

.contact-content h2 {
  margin-bottom: 24px;
  font-size: clamp(2.1rem, 4.7vw, 3.7rem);
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.contact-content > p {
  color: var(--color-slate-300);
}

.contact-status {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 32px;
  padding-top: 27px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-status strong,
.contact-status small {
  display: block;
}

.contact-status strong {
  margin-bottom: 4px;
  font-size: 0.92rem;
}

.contact-status small {
  color: var(--color-slate-400);
  line-height: 1.55;
}

.contact-form {
  display: grid;
  padding: clamp(25px, 4vw, 40px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-large);
  background: var(--color-white);
  color: var(--color-slate-900);
  box-shadow: var(--shadow-large);
}

.contact-form > label:not(.consent-field) {
  margin-bottom: 7px;
  font-size: 0.82rem;
  font-weight: 800;
}

.contact-form input[type="text"],
.contact-form select {
  width: 100%;
  min-height: 50px;
  margin-bottom: 20px;
  padding: 11px 14px;
  border: 1px solid var(--color-slate-300);
  border-radius: var(--radius-small);
  background: var(--color-white);
  color: var(--color-slate-900);
  transition:
    border-color var(--transition-fast),
    box-shadow var(--transition-fast);
}

.contact-form input[type="text"]:focus,
.contact-form select:focus {
  border-color: var(--color-green-600);
  outline: none;
  box-shadow:
    0 0 0 4px rgba(34, 197, 94, 0.12);
}

.contact-form input::placeholder {
  color: var(--color-slate-400);
}

.contact-profile {
  margin: 4px 0 23px;
}

.contact-profile legend {
  margin-bottom: 11px;
  font-size: 0.82rem;
  font-weight: 800;
}

.contact-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.contact-chips label {
  position: relative;
  cursor: pointer;
}

.contact-chips input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.contact-chips span {
  display: inline-flex;
  padding: 8px 11px;
  border: 1px solid var(--color-slate-300);
  border-radius: var(--radius-pill);
  background: var(--color-slate-50);
  color: var(--color-slate-600);
  font-size: 0.75rem;
  font-weight: 700;
  transition:
    border-color var(--transition-fast),
    background-color var(--transition-fast),
    color var(--transition-fast);
}

.contact-chips input:checked + span {
  border-color: var(--color-green-600);
  background: var(--color-green-100);
  color: var(--color-green-600);
}

.contact-chips input:focus-visible + span {
  outline: 3px solid rgba(34, 197, 94, 0.3);
  outline-offset: 3px;
}

.consent-field {
  display: grid;
  grid-template-columns: 19px 1fr;
  gap: 11px;
  margin-bottom: 22px;
  color: var(--color-slate-600);
  font-size: 0.79rem;
  line-height: 1.5;
  cursor: pointer;
}

.consent-field input {
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
  accent-color: var(--color-green-600);
}

.form-security-note {
  margin: 14px 0 0;
  color: var(--color-slate-500);
  font-size: 0.73rem;
  text-align: center;
}

/* ==========================================================
   16. WHATSAPP FLUTUANTE
   ========================================================== */

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 900;
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 8px 20px 8px 9px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-pill);
  background: #25d366;
  color: #07111f;
  font-size: 0.86rem;
  font-weight: 850;
  line-height: 1;
  box-shadow: 0 6px 18px rgba(5, 11, 20, 0.16), 0 16px 42px rgba(37, 211, 102, 0.2);
  transition: transform var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
}
.whatsapp-float:hover { background: #20bd5a; transform: translateY(-3px); }
.whatsapp-float:active { transform: translateY(-1px) scale(0.98); }
.whatsapp-float-icon { display:inline-flex; width:39px; height:39px; flex:0 0 39px; align-items:center; justify-content:center; border-radius:50%; background:#07111f; color:#fff; }
.whatsapp-float-icon svg { display:block; width:23px; height:23px; }
.whatsapp-float-label { white-space:nowrap; }
.whatsapp-float:focus-visible { outline:3px solid #fff; outline-offset:4px; }

/* ==========================================================
   17. RODAPÉ
   ========================================================== */

.site-footer {
  padding: 68px 0 24px;
  background: var(--color-navy-950);
  color: var(--color-white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr 0.6fr;
  gap: 70px;
  padding-bottom: 49px;
}

.footer-brand > p {
  max-width: 440px;
  margin: 24px 0 0;
  color: var(--color-slate-400);
  font-size: 0.87rem;
}

.footer-navigation,
.footer-legal {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}

.footer-navigation strong,
.footer-legal strong {
  margin-bottom: 7px;
  color: var(--color-white);
  font-size: 0.83rem;
  text-transform: uppercase;
}

.footer-navigation a,
.footer-legal a {
  color: var(--color-slate-400);
  font-size: 0.84rem;
  transition: color var(--transition-fast);
}

.footer-navigation a:hover,
.footer-legal a:hover {
  color: var(--color-green-400);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding-top: 23px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.footer-bottom p {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--color-slate-500);
  font-size: 0.72rem;
}

.footer-bottom p:last-child {
  text-align: right;
}

/* ==========================================================
   18. ANIMAÇÕES PREPARADAS PARA O JAVASCRIPT
   ========================================================== */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 650ms ease,
    transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================
   19. RESPONSIVIDADE
   ========================================================== */

@media (max-width: 1050px) {
  .main-navigation {
    gap: 18px;
  }

  .main-navigation > a:not(.button) {
    font-size: 0.82rem;
  }

  .hero-grid {
    grid-template-columns: 1fr 0.8fr;
    gap: 45px;
  }

  .document-grid,
  .privacy-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-panel {
    grid-template-columns: 1fr 1fr;
  }

  .pricing-panel > .button {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 70px;
  }

  .section {
    padding: 82px 0;
  }

  .menu-button {
    display: block;
  }

  .menu-button[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-button[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .main-navigation {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    max-height: calc(100vh - var(--header-height));
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    overflow-y: auto;
    padding: 16px 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--color-navy-900);
    box-shadow: var(--shadow-medium);
  }

  .main-navigation.is-open {
    display: flex;
  }

  .main-navigation > a:not(.button) {
    padding: 15px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.92rem;
  }

  .main-navigation > a:not(.button)::after {
    display: none;
  }

  .main-navigation .button {
    margin-top: 17px;
  }

  .hero {
    padding: 72px 0 78px;
  }

  .hero-grid,
  .triage-layout,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 55px;
  }

  .hero-content h1 {
    max-width: 750px;
  }

  .hero-card {
    max-width: 620px;
  }

  .triage-introduction,
  .contact-content {
    position: static;
  }

  .process-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .scope-note {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .security-callout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .about-image-wrapper {
    width: min(100%, 520px);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .container,
  .container.narrow {
    width: min(
      calc(100% - 28px),
      var(--container-width)
    );
  }

  .section {
    padding: 68px 0;
  }

  .section-heading {
    margin-bottom: 36px;
  }

  .site-header .brand-text small {
    display: none;
  }

  .hero {
    padding: 60px 0 65px;
  }

  .hero-content h1 {
    font-size: clamp(2.45rem, 13vw, 3.6rem);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .trust-list {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .hero-card {
    padding: 24px;
  }

  .scope-alert-content {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .scope-alert-icon {
    width: 34px;
    height: 34px;
  }

  .choice-grid,
  .scope-grid,
  .document-grid,
  .privacy-grid,
  .result-grid,
  .pricing-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .choice-card > span {
    min-height: 0;
  }

  .process-list {
    grid-template-columns: 1fr;
  }

  .process-item {
    min-height: auto;
  }

  .process-number {
    margin-bottom: 32px;
  }

  .pricing-panel > .button {
    width: 100%;
  }

  .about-image-wrapper::before {
    top: -12px;
    right: -12px;
  }

  .contact-form {
    border-radius: var(--radius-medium);
  }

  .contact-chips {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-chips span {
    display: block;
    border-radius: var(--radius-small);
  }

  .footer-brand,
  .footer-navigation,
  .footer-legal {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
  }

  .footer-bottom p:last-child {
    text-align: left;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
  }
}

@media (max-width: 420px) {
  .brand-text strong {
    font-size: 0.88rem;
  }

  .hero-card {
    padding: 21px;
  }

  .triage-form {
    padding: 20px;
  }

  .triage-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .triage-actions .button {
    width: 100%;
    margin-right: 0;
  }

  .scope-card,
  .document-card,
  .privacy-card {
    padding: 23px;
  }

  .whatsapp-float {
    width: 56px;
    height: 56px;
    min-height: 56px;
    padding: 0;
    border-radius: 50%;
  }

  .whatsapp-float-icon {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .whatsapp-float-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

/* ==========================================================
   20. MOVIMENTO REDUZIDO E IMPRESSÃO
   ========================================================== */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .hero-actions,
  .menu-button,
  .triage-layout,
  .result-actions,
  .contact-section,
  .whatsapp-float,
  .site-footer {
    display: none !important;
  }

  body {
    background: var(--color-white);
    color: var(--color-black);
  }

  .section {
    padding: 28px 0;
  }

  .hero {
    padding: 30px 0;
    background: var(--color-white);
    color: var(--color-black);
  }

  .hero-description,
  .hero-card-note,
  .feature-list p {
    color: var(--color-slate-700);
  }

  .hero-card {
    border-color: var(--color-slate-300);
    background: var(--color-white);
    box-shadow: none;
  }

  .hero-card h2,
  .feature-list strong {
    color: var(--color-black);
  }
}
.form-message.is-success {
  color: var(--color-green-600);
}

.contact-form .form-message.is-error {
  color: var(--color-red-600);
}

.contact-form .form-message.is-success {
  color: var(--color-green-600);
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.7;
  transform: none !important;
}
/* ==========================================================
   21. PÁGINAS LEGAIS
   ========================================================== */

.legal-page {
  background: var(--color-white);
}

.legal-hero {
  padding: 74px 0 68px;
  background:
    radial-gradient(
      circle at 80% 20%,
      rgba(34, 197, 94, 0.14),
      transparent 28%
    ),
    linear-gradient(
      135deg,
      var(--color-navy-950),
      var(--color-navy-800)
    );
  color: var(--color-white);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 34px;
  color: var(--color-slate-400);
  font-size: 0.82rem;
}

.breadcrumb a {
  transition: color var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--color-green-400);
}

.breadcrumb span[aria-current="page"] {
  color: var(--color-slate-200);
}

.legal-hero h1 {
  max-width: 750px;
  margin-bottom: 20px;
  font-size: clamp(2.6rem, 7vw, 5rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.legal-hero-description {
  max-width: 720px;
  margin-bottom: 34px;
  color: var(--color-slate-300);
  font-size: 1.08rem;
}

.legal-metadata {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--color-slate-400);
  font-size: 0.8rem;
}

.legal-metadata strong {
  color: var(--color-slate-200);
}

.legal-content-section {
  padding: 82px 0 110px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 760px);
  justify-content: center;
  align-items: start;
  gap: clamp(50px, 8vw, 105px);
}

.legal-navigation {
  position: sticky;
  top: calc(var(--header-height) + 28px);
  display: flex;
  max-height: calc(100vh - var(--header-height) - 50px);
  flex-direction: column;
  gap: 2px;
  overflow-y: auto;
  padding-right: 16px;
  scrollbar-width: thin;
}

.legal-navigation strong {
  margin-bottom: 12px;
  color: var(--color-slate-900);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-navigation a {
  padding: 7px 10px;
  border-left: 2px solid var(--color-slate-200);
  color: var(--color-slate-500);
  font-size: 0.76rem;
  line-height: 1.4;
  transition:
    border-color var(--transition-fast),
    color var(--transition-fast),
    background-color var(--transition-fast);
}

.legal-navigation a:hover {
  border-left-color: var(--color-green-500);
  background: var(--color-green-50);
  color: var(--color-slate-900);
}

.legal-document {
  min-width: 0;
}

.legal-introduction,
.legal-final-notice {
  padding: 24px 27px;
  border: 1px solid rgba(22, 163, 74, 0.24);
  border-radius: var(--radius-medium);
  background: var(--color-green-50);
}

.legal-introduction {
  margin-bottom: 52px;
}

.legal-introduction strong,
.legal-final-notice strong {
  display: block;
  margin-bottom: 8px;
  color: var(--color-slate-900);
}

.legal-introduction p,
.legal-final-notice p {
  margin-bottom: 0;
  color: var(--color-slate-700);
  font-size: 0.92rem;
}

.legal-section {
  padding: 0 0 50px;
  margin-bottom: 50px;
  border-bottom: 1px solid var(--border-color);
  scroll-margin-top: calc(var(--header-height) + 28px);
}

.legal-section-number {
  display: inline-flex;
  min-width: 40px;
  height: 26px;
  align-items: center;
  justify-content: center;
  margin-bottom: 17px;
  border: 1px solid rgba(22, 163, 74, 0.28);
  border-radius: var(--radius-pill);
  background: var(--color-green-50);
  color: var(--color-green-600);
  font-size: 0.67rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.legal-section h2 {
  margin-bottom: 22px;
  color: var(--color-slate-950);
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  line-height: 1.16;
  letter-spacing: -0.04em;
}

.legal-section h3 {
  margin-top: 30px;
  font-size: 1.12rem;
}

.legal-section p,
.legal-section li {
  color: var(--color-slate-700);
}

.legal-section p {
  margin-bottom: 18px;
}

.legal-section ul,
.legal-section ol {
  margin: 0 0 23px 20px;
  padding-left: 18px;
}

.legal-section li {
  margin-bottom: 9px;
  padding-left: 4px;
}

.legal-section a {
  color: var(--color-green-600);
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.legal-check-list,
.legal-x-list {
  margin-left: 0 !important;
  padding-left: 0 !important;
  list-style: none;
}

.legal-check-list li,
.legal-x-list li {
  position: relative;
  padding: 10px 0 10px 31px;
  border-bottom: 1px solid var(--color-slate-100);
}

.legal-check-list li::before,
.legal-x-list li::before {
  position: absolute;
  top: 10px;
  left: 0;
  font-weight: 900;
}

.legal-check-list li::before {
  color: var(--color-green-600);
  content: "✓";
}

.legal-x-list li::before {
  color: var(--color-red-600);
  content: "×";
}

.legal-warning,
.legal-danger {
  margin: 27px 0;
  padding: 22px 24px;
  border-radius: var(--radius-medium);
}

.legal-warning {
  border-left: 4px solid var(--color-amber-600);
  background: var(--color-amber-50);
}

.legal-danger {
  border-left: 4px solid var(--color-red-600);
  background: var(--color-red-50);
}

.legal-warning strong,
.legal-danger strong {
  display: block;
  margin-bottom: 7px;
  color: var(--color-slate-900);
}

.legal-warning p,
.legal-danger p {
  margin-bottom: 0;
  color: var(--color-slate-700);
  font-size: 0.9rem;
}

.legal-final-notice {
  margin-top: 20px;
}

.legal-footer {
  padding-top: 25px;
}

.legal-footer .footer-bottom {
  padding-top: 0;
  border-top: 0;
}

@media (max-width: 860px) {
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-navigation {
    position: static;
    display: grid;
    max-height: none;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 20px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-medium);
    background: var(--color-slate-50);
  }

  .legal-navigation strong {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .legal-hero {
    padding: 55px 0;
  }

  .legal-content-section {
    padding: 58px 0 78px;
  }

  .legal-navigation {
    grid-template-columns: 1fr;
  }

  .legal-navigation strong {
    grid-column: auto;
  }

  .legal-section {
    padding-bottom: 39px;
    margin-bottom: 39px;
  }

  .legal-introduction,
  .legal-final-notice {
    padding: 21px;
  }

  .legal-page .site-header .button {
    min-height: 40px;
    padding: 8px 13px;
    font-size: 0.76rem;
  }
}
/* ==========================================================
   22. COMPONENTES DA POLÍTICA DE PRIVACIDADE
   ========================================================== */

.privacy-summary-section {
  padding: 52px 0 0;
  background: var(--color-white);
}

.privacy-summary {
  overflow: hidden;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-large);
  background: var(--color-slate-50);
  box-shadow: var(--shadow-small);
}

.privacy-summary > header {
  padding: 30px 32px 25px;
  border-bottom: 1px solid var(--border-color);
  background: var(--color-white);
}

.privacy-summary > header h2 {
  margin-bottom: 0;
  color: var(--color-slate-950);
  font-size: clamp(1.55rem, 4vw, 2.25rem);
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.privacy-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.privacy-summary-grid article {
  min-height: 190px;
  padding: 27px 30px;
  border-right: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.privacy-summary-grid article:nth-child(2n) {
  border-right: 0;
}

.privacy-summary-grid article:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.privacy-summary-grid article > span {
  display: inline-flex;
  min-width: 38px;
  height: 26px;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  border: 1px solid rgba(22, 163, 74, 0.28);
  border-radius: var(--radius-pill);
  color: var(--color-green-600);
  font-size: 0.67rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.privacy-summary-grid h3 {
  margin-bottom: 9px;
  color: var(--color-slate-900);
  font-size: 1.04rem;
}

.privacy-summary-grid p {
  margin-bottom: 0;
  color: var(--color-slate-600);
  font-size: 0.86rem;
}

.legal-data-card {
  margin: 26px 0;
  overflow: hidden;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-medium);
  background: var(--color-slate-50);
}

.legal-data-card dl {
  margin: 0;
}

.legal-data-card dl > div {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
}

.legal-data-card dl > div:last-child {
  border-bottom: 0;
}

.legal-data-card dt {
  color: var(--color-slate-500);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.legal-data-card dd {
  margin: 0;
  color: var(--color-slate-800);
  font-size: 0.9rem;
}

.legal-table-wrapper {
  max-width: 100%;
  margin: 27px 0;
  overflow-x: auto;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-medium);
}

.legal-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  background: var(--color-white);
  font-size: 0.82rem;
}

.legal-table th,
.legal-table td {
  padding: 15px 17px;
  border-bottom: 1px solid var(--border-color);
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  background: var(--color-slate-100);
  color: var(--color-slate-800);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.legal-table td {
  color: var(--color-slate-700);
}

.legal-table tbody tr:last-child td {
  border-bottom: 0;
}

.legal-table tbody tr:hover {
  background: var(--color-green-50);
}

.legal-external-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0 23px;
  padding: 11px 15px;
  border: 1px solid var(--color-slate-300);
  border-radius: var(--radius-small);
  background: var(--color-white);
  color: var(--color-slate-800) !important;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none !important;
  transition:
    border-color var(--transition-fast),
    background-color var(--transition-fast),
    transform var(--transition-fast);
}

.legal-external-link::after {
  content: "↗";
  color: var(--color-green-600);
  font-size: 1rem;
}

.legal-external-link:hover {
  border-color: var(--color-green-500);
  background: var(--color-green-50);
  transform: translateY(-2px);
}

.legal-section code {
  padding: 2px 6px;
  border: 1px solid var(--color-slate-200);
  border-radius: 5px;
  background: var(--color-slate-100);
  color: var(--color-slate-800);
  font-family:
    "SFMono-Regular",
    Consolas,
    "Liberation Mono",
    monospace;
  font-size: 0.82em;
}

@media (max-width: 640px) {
  .privacy-summary-section {
    padding-top: 30px;
  }

  .privacy-summary-grid {
    grid-template-columns: 1fr;
  }

  .privacy-summary-grid article {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--border-color);
  }

  .privacy-summary-grid article:nth-last-child(-n + 2) {
    border-bottom: 1px solid var(--border-color);
  }

  .privacy-summary-grid article:last-child {
    border-bottom: 0;
  }

  .legal-data-card dl > div {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}

/* 23. APRIMORAMENTOS DE PRODUÇÃO */
.triage-step.is-active { animation: triage-step-in 200ms ease both; }
@keyframes triage-step-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.result-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
@media (max-width: 640px) { .result-actions .button { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .triage-step.is-active { animation: none; } }
