/* ===========================================================
   JusCausa Parceiros — Landing Page
   Identidade visual conforme Manual da Marca v1.0
   =========================================================== */

:root {
  /* Paleta oficial */
  --azul-confianca: #0B1F3A;
  --azul-plataforma: #123B73;
  --verde-solucao: #18A46B;
  --verde-estrategico: #0C7A50;
  --branco: #FFFFFF;
  --cinza-interface: #F3F6FA;
  --cinza-profissional: #4B5563;
  --grafite: #111827;
  --dourado: #C9A646;

  --radius: 16px;
  --radius-sm: 12px;
  --radius-lg: 24px;
  --shadow-soft: 0 8px 30px rgba(11, 31, 58, 0.08);
  --shadow-card: 0 10px 40px rgba(11, 31, 58, 0.10);
  --shadow-float: 0 12px 36px rgba(11, 31, 58, 0.18);
  --maxw: 1180px;

  --font-head: 'Montserrat', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

/* Garante que o atributo [hidden] sempre prevaleça sobre display: flex/grid */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: var(--font-body);
  color: var(--grafite);
  background: var(--branco);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.18; color: var(--grafite); }

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

.ico-svg { width: 100%; height: 100%; display: block; }

/* ===================== BOTÕES ===================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  padding: 13px 26px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  white-space: nowrap; text-align: center;
}
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-block { width: 100%; }

.btn-primary { background: var(--verde-solucao); color: #fff; box-shadow: 0 8px 22px rgba(24,164,107,.32); }
.btn-primary:hover { background: var(--verde-estrategico); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(12,122,80,.38); }

.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); transform: translateY(-2px); }

.btn-ghost-dark { background: transparent; color: var(--azul-plataforma); border-color: #d4dded; }
.btn-ghost-dark:hover { border-color: var(--azul-plataforma); background: #eef3fb; }

/* ===================== HEADER ===================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 31, 58, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 72px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { height: 46px; width: auto; display: block; }
.logo--white { filter: brightness(0) invert(1); }
.brand-tag {
  font-family: var(--font-head); font-weight: 600; font-size: .82rem;
  color: var(--azul-confianca); background: var(--dourado);
  padding: 2px 10px; border-radius: 999px; letter-spacing: .02em;
}

.main-nav { display: flex; gap: 28px; margin-left: auto; }
.main-nav a { color: rgba(255,255,255,.82); font-size: .95rem; font-weight: 500; transition: color .15s; position: relative; }
.main-nav a:hover { color: #fff; }
.main-nav a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--verde-solucao); transition: width .2s; }
.main-nav a:hover::after { width: 100%; }

.btn-header { padding: 10px 22px; font-size: .95rem; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 2px; background: #fff; border-radius: 2px; transition: .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===================== HERO ===================== */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #0B1F3A 0%, #0E2A52 55%, #123B73 100%);
  color: #fff; padding: 86px 0 96px;
}
.hero-bg-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(540px circle at 78% 28%, rgba(24,164,107,.20), transparent 60%),
    radial-gradient(620px circle at 12% 88%, rgba(18,59,115,.55), transparent 60%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }

.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 500; color: #cfe8dd; background: rgba(24,164,107,.14); border: 1px solid rgba(24,164,107,.35); padding: 7px 14px; border-radius: 999px; margin-bottom: 22px; }
.hero-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--verde-solucao); box-shadow: 0 0 0 4px rgba(24,164,107,.25); }

.hero-title { font-size: clamp(2.1rem, 4.4vw, 3.4rem); font-weight: 800; color: #fff; letter-spacing: -.5px; }
.hero-title .hl { color: var(--verde-solucao); }
.hero-sub { margin: 22px 0 30px; font-size: 1.12rem; color: rgba(255,255,255,.86); max-width: 560px; }
.hero-sub strong { color: #fff; font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-note { margin-top: 20px; font-size: .9rem; color: rgba(255,255,255,.65); }

/* Hero media + cards flutuantes */
.hero-media { position: relative; min-height: 440px; }
.hero-photo {
  position: relative; width: 100%; height: 100%; min-height: 420px;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-float);
  background: linear-gradient(150deg, #123B73, #0C7A50);
  border: 1px solid rgba(255,255,255,.12);
}
.hero-photo img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; display: block; }
.hero-photo.photo-fallback::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.12), transparent 50%),
    linear-gradient(150deg, #123B73, #0C7A50);
}

.float-card {
  position: absolute; z-index: 3;
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255,255,255,.96); color: var(--azul-confianca);
  font-family: var(--font-head); font-weight: 600; font-size: .9rem;
  padding: 11px 16px; border-radius: 14px; box-shadow: var(--shadow-float);
  backdrop-filter: blur(4px); animation: floaty 5s ease-in-out infinite;
}
.float-card .fc-ico { width: 20px; height: 20px; color: var(--verde-estrategico); flex: none; }
.fc-1 { top: 8%;  left: -34px; animation-delay: 0s; }
.fc-2 { top: 30%; right: -30px; animation-delay: .6s; color: var(--azul-plataforma); }
.fc-3 { bottom: 26%; left: -40px; animation-delay: 1.2s; }
.fc-4 { bottom: 6%;  right: -22px; animation-delay: 1.8s; }
.fc-5 { top: 53%; left: 46%; transform: translateX(-50%); animation-delay: 2.4s; }

@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.fc-5 { animation-name: floatyx; }
@keyframes floatyx { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-9px); } }

/* ===================== FAIXA DE CONFIANÇA ===================== */
.trust-strip { background: var(--azul-plataforma); }
.trust-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 28px; padding: 22px 24px; }
.trust-item { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 500; font-size: .96rem; }
.trust-ico { width: 24px; height: 24px; color: var(--verde-solucao); flex: none; }

/* ===================== SEÇÕES GENÉRICAS ===================== */
.section { padding: 88px 0; }
.section-alt { background: var(--cinza-interface); }

.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.kicker { display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--verde-estrategico); margin-bottom: 14px; }
.section-title { font-size: clamp(1.7rem, 3vw, 2.4rem); color: var(--grafite); }
.section-lead { margin-top: 16px; font-size: 1.08rem; color: var(--cinza-profissional); }

/* ===================== CARDS DE BENEFÍCIOS ===================== */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: #fff; border: 1px solid #eaeef5; border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-soft);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); border-color: #d8e2f0; }
.card-ico {
  display: inline-flex; width: 54px; height: 54px; padding: 13px; margin-bottom: 18px;
  color: var(--azul-plataforma); background: #eaf1fb; border-radius: 14px;
}
.card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.card p { color: var(--cinza-profissional); font-size: .98rem; }

/* ===================== TIMELINE (COMO FUNCIONA) ===================== */
.timeline { max-width: 820px; margin: 0 auto; list-style: none; position: relative; }
.timeline::before { content: ""; position: absolute; left: 27px; top: 12px; bottom: 12px; width: 2px; background: linear-gradient(var(--verde-solucao), var(--azul-plataforma)); }
.tl-step { position: relative; display: flex; gap: 24px; padding: 0 0 34px 0; }
.tl-step:last-child { padding-bottom: 0; }
.tl-num {
  position: relative; z-index: 2; flex: none;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; color: #fff;
  background: var(--verde-solucao); box-shadow: 0 6px 18px rgba(24,164,107,.35);
  border: 4px solid var(--cinza-interface);
}
.tl-body { background: #fff; border: 1px solid #e7ecf4; border-radius: var(--radius); padding: 22px 26px; box-shadow: var(--shadow-soft); flex: 1; margin-top: 2px; }
.tl-body h3 { font-size: 1.12rem; margin-bottom: 6px; }
.tl-body p { color: var(--cinza-profissional); font-size: .98rem; }

/* ===================== ÁREAS ===================== */
.areas-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.area-card {
  display: flex; align-items: center; gap: 16px;
  background: #fff; border: 1px solid #eaeef5; border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-soft);
  transition: transform .2s ease, box-shadow .2s ease;
}
.area-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.area-ico { width: 48px; height: 48px; padding: 11px; flex: none; color: var(--verde-estrategico); background: #e6f6ee; border-radius: 12px; }
.area-card h3 { font-size: 1.06rem; }
.area-soon { background: linear-gradient(135deg, #0B1F3A, #123B73); border: 0; }
.area-soon h3 { color: #fff; }
.area-soon .area-ico { color: #fff; background: rgba(255,255,255,.14); }

/* ===================== REDE SELETIVA ===================== */
.selective .selective-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.seal-gold {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: .88rem;
  color: #6b5613; background: #faf3dd; border: 1px solid var(--dourado);
  padding: 8px 16px; border-radius: 999px; margin-bottom: 20px;
}
.seal-gold .ico-svg { width: 18px; height: 18px; color: var(--dourado); }
.selective-text { font-size: 1.1rem; color: var(--cinza-profissional); margin: 16px auto 30px; max-width: 640px; }

/* ===================== SEGURANÇA ===================== */
.safety-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.safety-item {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid #eaeef5; border-radius: var(--radius-sm);
  padding: 18px 20px; box-shadow: var(--shadow-soft); font-weight: 500; color: var(--grafite);
}
.safety-ico { width: 30px; height: 30px; flex: none; color: var(--verde-estrategico); }

/* ===================== FORMULÁRIO ===================== */
.form-wrap { max-width: 880px; }
.form-card { background: #fff; border: 1px solid #e7ecf4; border-radius: var(--radius-lg); padding: 38px; box-shadow: var(--shadow-card); }

.steps-indicator { display: flex; align-items: center; gap: 12px; margin-bottom: 30px; }
.step-pill { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--cinza-profissional); }
.step-pill span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #e7ecf4; color: var(--cinza-profissional); font-size: .85rem; }
.step-pill.active { color: var(--azul-plataforma); }
.step-pill.active span { background: var(--verde-solucao); color: #fff; }
.step-pill.done span { background: var(--verde-estrategico); color: #fff; }
.step-line { flex: 1; height: 2px; background: #e7ecf4; border-radius: 2px; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; margin-bottom: 18px; }
.field label, .checkgroup legend { font-weight: 600; font-size: .9rem; color: var(--grafite); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--grafite);
  padding: 12px 14px; border: 1.6px solid #dde4ee; border-radius: 12px; background: #fff;
  transition: border-color .15s, box-shadow .15s; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--verde-solucao); box-shadow: 0 0 0 3px rgba(24,164,107,.15); }
.field input.invalid, .field select.invalid { border-color: #dc3545; box-shadow: 0 0 0 3px rgba(220,53,69,.12); }
.field .err, .checkgroup .err { color: #dc3545; font-size: .82rem; margin-top: 5px; min-height: 1em; }
.file-input { padding: 9px 14px; background: #f7f9fc; }

.checkgroup { border: 0; margin-bottom: 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1.6px solid #dde4ee; border-radius: 999px; padding: 9px 16px;
  font-size: .92rem; cursor: pointer; transition: .15s; user-select: none;
}
.chip:hover { border-color: var(--verde-solucao); }
.chip input { accent-color: var(--verde-solucao); width: 16px; height: 16px; }
.chip:has(input:checked) { background: #e6f6ee; border-color: var(--verde-solucao); color: var(--verde-estrategico); font-weight: 500; }

.terms.checkgroup { background: #f7f9fc; border-radius: 14px; padding: 20px; }
.check-line { display: flex; align-items: flex-start; gap: 10px; font-size: .94rem; margin-bottom: 12px; color: var(--cinza-profissional); cursor: pointer; }
.check-line:last-of-type { margin-bottom: 0; }
.check-line input { accent-color: var(--verde-solucao); width: 17px; height: 17px; margin-top: 3px; flex: none; }
.check-line a { color: var(--azul-plataforma); font-weight: 600; text-decoration: underline; }

.form-actions { margin-top: 26px; }
.form-actions-split { display: flex; justify-content: space-between; gap: 14px; }
.form-actions-split .btn:last-child { flex: 1; }

.step-bridge {
  display: flex; align-items: center; gap: 16px;
  background: #e6f6ee; border: 1px solid #b9e6cf; border-radius: var(--radius);
  padding: 20px 24px; margin: 6px 0 26px; color: var(--verde-estrategico);
  animation: fadeUp .4s ease;
}
.step-bridge .bridge-ico { width: 40px; height: 40px; flex: none; color: #fff; background: var(--verde-solucao); border-radius: 50%; padding: 9px; }
.step-bridge p { color: #0a5c3c; font-size: .98rem; }
.step-bridge strong { font-weight: 700; }

/* ===================== CTA FINAL ===================== */
.final-cta { position: relative; overflow: hidden; background: linear-gradient(150deg, #0B1F3A, #123B73); color: #fff; padding: 86px 0; text-align: center; }
.final-inner { position: relative; max-width: 720px; margin: 0 auto; }
.final-cta h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.5rem); }
.final-cta p { margin: 20px auto 30px; color: rgba(255,255,255,.85); font-size: 1.1rem; max-width: 600px; }

/* ===================== RODAPÉ ===================== */
.site-footer { background: var(--azul-confianca); color: rgba(255,255,255,.75); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; padding: 48px 24px 36px; }
.footer-brand .brand { margin-bottom: 12px; }
.footer-slogan { font-size: .98rem; color: rgba(255,255,255,.7); }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-links a { font-size: .95rem; color: rgba(255,255,255,.8); transition: color .15s; }
.footer-links a:hover { color: var(--verde-solucao); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom .container { padding: 18px 24px; }
.footer-bottom span { font-size: .86rem; color: rgba(255,255,255,.55); }

/* ===================== CTA FIXO MOBILE ===================== */
.sticky-cta {
  display: none; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60;
  background: var(--verde-solucao); color: #fff; text-align: center;
  font-family: var(--font-head); font-weight: 600; padding: 15px; border-radius: 999px;
  box-shadow: 0 10px 30px rgba(12,122,80,.45);
}

/* ===================== MODAL ===================== */
.modal-overlay { position: fixed; inset: 0; z-index: 100; background: rgba(11,31,58,.6); backdrop-filter: blur(4px); display: grid; place-items: center; padding: 24px; animation: fadeUp .25s ease; }
.modal { position: relative; background: #fff; border-radius: var(--radius-lg); padding: 44px 38px; max-width: 460px; text-align: center; box-shadow: var(--shadow-float); }
.modal-ico { display: inline-flex; width: 72px; height: 72px; color: var(--verde-solucao); margin-bottom: 16px; }
.modal h3 { font-size: 1.5rem; margin-bottom: 12px; }
.modal p { color: var(--cinza-profissional); margin-bottom: 10px; }
.modal-note { font-size: .88rem; color: var(--verde-estrategico); font-weight: 600; margin: 14px 0 22px; }
.modal-close { position: absolute; top: 14px; right: 18px; background: none; border: 0; font-size: 1.8rem; line-height: 1; color: #9aa6b6; cursor: pointer; }
.modal-close:hover { color: var(--grafite); }

/* ===================== ANIMAÇÕES REVEAL ===================== */
/* Só esconde para animar quando o JS está ativo (.js-anim no <html>).
   Sem JS, o conteúdo permanece visível — à prova de falhas. */
.js-anim .reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.js-anim .reveal.in { opacity: 1; transform: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ===================== RESPONSIVO ===================== */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-media { min-height: 380px; max-width: 460px; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .safety-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .main-nav {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 0;
    background: var(--azul-confianca); padding: 8px 24px 20px; margin: 0;
    transform: translateY(-120%); transition: transform .3s ease; border-bottom: 1px solid rgba(255,255,255,.1);
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); width: 100%; }
  .main-nav a::after { display: none; }
  .btn-header { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }

  .section { padding: 60px 0; }
  .trust-grid { flex-direction: column; align-items: flex-start; }

  .hero { padding: 60px 0 70px; }
  .float-card { font-size: .8rem; padding: 9px 12px; }
  .fc-1 { left: -8px; } .fc-2 { right: -6px; } .fc-3 { left: -10px; } .fc-4 { right: -6px; }

  .form-card { padding: 24px 20px; }
  .grid-2 { grid-template-columns: 1fr; }
  .form-actions-split { flex-direction: column-reverse; }
  .steps-indicator { font-size: .82rem; }
  .step-pill span { width: 24px; height: 24px; }

  .sticky-cta { display: block; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .cards-grid, .areas-grid, .safety-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 2rem; }
  .tl-step { gap: 16px; }
  .tl-num { width: 48px; height: 48px; font-size: 1.1rem; }
  .timeline::before { left: 23px; }
}

/* Acessibilidade: respeita preferência por menos movimento */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .js-anim .reveal, .reveal { opacity: 1 !important; transform: none !important; }
}

/* ===================== FAQ (accordion nativo) ===================== */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: #fff; border: 1px solid #e7ecf4; border-radius: 14px; box-shadow: var(--shadow-soft); overflow: hidden; }
.faq-q {
  cursor: pointer; list-style: none; padding: 20px 24px;
  font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: var(--grafite);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q .faq-ico { width: 22px; height: 22px; flex: none; color: var(--verde-estrategico); transition: transform .25s ease; }
.faq-item[open] .faq-q .faq-ico { transform: rotate(180deg); }
.faq-a { padding: 0 24px 22px; color: var(--cinza-profissional); }
.faq-a p { font-size: .98rem; }

/* Aviso legal (disclaimer) */
.legal-note {
  max-width: 760px; margin: 28px auto 0; padding: 18px 22px;
  background: #fff; border: 1px solid #e7ecf4; border-left: 4px solid var(--dourado);
  border-radius: 12px; color: var(--cinza-profissional); font-size: .95rem;
}

/* Form de triagem: nota sob o textarea e select de área em grid */
.full-row { grid-column: 1 / -1; }

/* ===================== PÁGINAS LEGAIS ===================== */
.legal-hero { background: var(--azul-confianca); color: #fff; padding: 50px 0 38px; }
.legal-back { display: inline-flex; align-items: center; gap: 6px; color: rgba(255,255,255,.8); margin-bottom: 14px; font-size: .92rem; }
.legal-back:hover { color: #fff; }
.legal-hero h1 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.3rem); }
.legal-hero .legal-updated { color: rgba(255,255,255,.65); margin-top: 8px; font-size: .92rem; }
.legal-wrap { max-width: 820px; margin: 0 auto; padding: 50px 24px 72px; }
.legal-wrap h2 { font-size: 1.28rem; margin: 36px 0 12px; color: var(--grafite); }
.legal-wrap h3 { font-size: 1.05rem; margin: 22px 0 8px; color: var(--grafite); }
.legal-wrap p, .legal-wrap li { color: var(--cinza-profissional); margin-bottom: 10px; font-size: 1rem; }
.legal-wrap ul { padding-left: 22px; margin-bottom: 14px; }
.legal-wrap a { color: var(--azul-plataforma); text-decoration: underline; }
.legal-wrap strong { color: var(--grafite); }
.legal-disclaimer { background: #faf3dd; border: 1px solid var(--dourado); border-radius: 12px; padding: 16px 20px; margin: 24px 0; font-size: .95rem; color: #6b5613; }
.legal-toc { background: var(--cinza-interface); border-radius: 12px; padding: 18px 22px; margin-bottom: 8px; }
.legal-toc strong { display: block; margin-bottom: 8px; }
.legal-toc ol { padding-left: 20px; margin: 0; }
.legal-toc a { color: var(--azul-plataforma); }
