/* ============================================================
   Conecta + Saúde — site institucional
   Paleta oficial (branding):
     Azul Conecta  #0A2A5A  (navy · confiança)
     Azul Rede     #0A66A5  (info · tecnologia)
     Verde Saúde   #089A90  (primary · cuidado)
     Verde Vital   #00C4A7 / #12D6B4 (accent · energia)
   Fonte: Montserrat (self-hosted — subset latin, sem CDN externo)
   ============================================================ */

/* Montserrat self-hosted (privacidade/LGPD: sem requisição ao Google Fonts) */
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 400; font-display: swap; src: url('../assets/fonts/montserrat-400.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 500; font-display: swap; src: url('../assets/fonts/montserrat-500.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: italic; font-weight: 500; font-display: swap; src: url('../assets/fonts/montserrat-500-italic.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 600; font-display: swap; src: url('../assets/fonts/montserrat-600.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 700; font-display: swap; src: url('../assets/fonts/montserrat-700.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 800; font-display: swap; src: url('../assets/fonts/montserrat-800.woff2') format('woff2'); }

:root {
  --navy: #0A2A5A;
  --navy-2: #0d3670;
  --blue: #0A66A5;
  --green: #089A90;
  --vital: #00C4A7;
  --vital-2: #12D6B4;

  --grad: linear-gradient(120deg, #0A2A5A 0%, #0A66A5 34%, #00C4A7 80%, #12D6B4 100%);
  --grad-text: linear-gradient(120deg, #0A66A5 0%, #00C4A7 60%, #12D6B4 100%);

  --ink: #0e1b2e;
  --body: #40506a;
  --muted: #6b7a92;
  --line: #e5ebf3;
  --bg: #ffffff;
  --bg-alt: #f4f8fc;
  --bg-soft: #eef4fb;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 10px rgba(10, 42, 90, .06);
  --shadow: 0 18px 50px rgba(10, 42, 90, .10);
  --shadow-lg: 0 30px 80px rgba(10, 42, 90, .18);

  --maxw: 1160px;
  --font: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

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

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

body {
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.12; font-weight: 800; letter-spacing: -.02em; }

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

.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Contraste AA: gradiente mais fechado em fundos claros, mais claro em fundos escuros */
.section .grad-text {
  background: linear-gradient(120deg, #0A66A5 0%, #089A90 90%);
  -webkit-background-clip: text;
  background-clip: text;
}
.hero .grad-text,
.cta-final .grad-text,
.manifesto .grad-text {
  background: linear-gradient(120deg, #5FB4E5 0%, #12D6B4 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 999;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font); font-weight: 700; font-size: 15px;
  padding: 12px 22px; border-radius: 999px; cursor: pointer; border: 0;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn-lg { padding: 15px 28px; font-size: 16px; }
.btn-block { display: flex; width: 100%; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 26px rgba(0, 196, 167, .32); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(0, 196, 167, .42); }
.btn-ghost { background: rgba(255, 255, 255, .10); color: #fff; border: 1px solid rgba(255, 255, 255, .28); }
.btn-ghost:hover { background: rgba(255, 255, 255, .18); }
.btn-ghost-light { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .5); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .12); }
.btn-link { color: #cfe8ff; font-weight: 600; padding: 12px 6px; }
.btn-link:hover { color: #fff; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 42, 90, .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-logo { height: 34px; width: auto; }
.main-nav { display: flex; gap: 26px; margin-left: 12px; flex: 1; }
.main-nav a { color: rgba(255, 255, 255, .82); font-weight: 600; font-size: 15px; position: relative; }
.main-nav a:hover { color: #fff; }
.main-nav a::after {
  content: ''; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--grad-text); transition: width .2s ease;
}
.main-nav a:hover::after { width: 100%; }
.header-cta { display: flex; gap: 12px; align-items: center; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; 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); }

.mobile-nav { display: none; flex-direction: column; gap: 4px; padding: 16px 24px 24px; background: var(--navy); border-top: 1px solid rgba(255,255,255,.08); }
.mobile-nav a { color: rgba(255, 255, 255, .9); font-weight: 600; padding: 12px 4px; border-bottom: 1px solid rgba(255,255,255,.07); }
.mobile-nav .btn { margin-top: 12px; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--navy); }
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(1100px 520px at 78% -10%, rgba(0, 196, 167, .38), transparent 60%),
    radial-gradient(760px 520px at 12% 8%, rgba(10, 102, 165, .55), transparent 62%),
    linear-gradient(160deg, #08214a 0%, #0A2A5A 45%, #061a3c 100%);
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background-image: url("../assets/brand/pattern_white.png");
  background-size: 520px; opacity: .05;
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 54px; align-items: center;
  padding: 92px 24px 104px;
}
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--vital-2); background: rgba(0, 196, 167, .12); border: 1px solid rgba(0, 196, 167, .3);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 { color: #fff; font-size: clamp(2.4rem, 5vw, 3.9rem); font-weight: 800; margin-bottom: 20px; }
.hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: rgba(255, 255, 255, .82); max-width: 560px; }
.hero-sub strong { color: #fff; font-weight: 700; }

.hero-pills { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 32px; }
.hero-pills li {
  display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; color: #eaf3ff;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
  padding: 9px 16px; border-radius: 999px;
}
.hero-pills .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--grad-text); box-shadow: 0 0 10px var(--vital); }
.hero-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }

.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat-card {
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius); padding: 22px 20px; backdrop-filter: blur(4px);
}
.stat-num { display: block; font-size: 1.5rem; font-weight: 800; color: #fff; margin-bottom: 6px; letter-spacing: -.01em; }
.stat-label { display: block; font-size: 13.5px; color: rgba(255, 255, 255, .72); line-height: 1.4; }

/* ---------- Hero de página interna ---------- */
.hero--page .hero-inner {
  grid-template-columns: 1fr; text-align: center; padding: 76px 24px 88px;
}
.hero--page .hero-copy { max-width: 780px; margin: 0 auto; }
.hero--page .hero-sub { margin: 0 auto; }
.hero--page .hero-pills { justify-content: center; }
.hero--page .hero-actions { justify-content: center; }
.hero--page h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); }

.breadcrumbs { font-size: 13.5px; color: rgba(255,255,255,.6); padding: 18px 0 0; }
.breadcrumbs a { color: rgba(255,255,255,.75); }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs span { margin: 0 8px; opacity: .5; }

/* Faixa de destaque com fundo em gradiente */
.band {
  background: var(--grad); color: #fff; border-radius: var(--radius);
  padding: 44px 40px; display: grid; grid-template-columns: 1.4fr auto; gap: 28px;
  align-items: center; box-shadow: var(--shadow);
}
.band h3 { color: #fff; font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 8px; }
.band p { color: rgba(255,255,255,.9); font-size: 1.02rem; }
.band .btn { background: #fff; color: var(--navy); }
.band .btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0,0,0,.2); }
@media (max-width: 720px) { .band { grid-template-columns: 1fr; text-align: center; } .band .btn { justify-self: center; } }

/* ============================================================
   MANIFESTO
   ============================================================ */
.manifesto { background: var(--navy); color: #fff; padding: 20px 0 64px; }
.manifesto .container { max-width: 900px; text-align: center; }
.manifesto-lead { font-size: 1.05rem; color: rgba(255, 255, 255, .7); margin-bottom: 14px; }
.manifesto-strong { font-size: clamp(1.3rem, 2.6vw, 1.9rem); font-weight: 700; color: #fff; line-height: 1.3; }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 92px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.tag {
  display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: #067C74; margin-bottom: 14px;
}
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 16px; }
.section-sub { font-size: 1.08rem; color: var(--muted); }

/* ---------- 3-col cards ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.pain-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s;
}
.pain-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pain-icon { font-size: 30px; margin-bottom: 16px; }
.pain-card h3 { font-size: 1.22rem; margin-bottom: 10px; }
.pain-card p { color: var(--body); font-size: .98rem; }

/* ---------- Steps ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step {
  position: relative; background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px 28px; box-shadow: var(--shadow-sm);
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 14px; background: var(--grad); color: #fff;
  font-weight: 800; font-size: 1.2rem; margin-bottom: 18px; box-shadow: 0 10px 22px rgba(0,196,167,.3);
}
.step h3 { font-size: 1.2rem; margin-bottom: 10px; }
.step p { font-size: .98rem; }

/* ---------- Agente / IA ---------- */
.agent-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.agent-copy .section-sub { margin-bottom: 28px; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.compare-col { border-radius: var(--radius); padding: 22px 20px; }
.compare-col h3 { font-size: 1rem; margin-bottom: 14px; }
.compare-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.compare-col li { font-size: .92rem; padding-left: 26px; position: relative; }
.compare-bad { background: #fbf1f0; border: 1px solid #f4d7d4; }
.compare-bad h3 { color: #b23b32; }
.compare-bad li::before { content: '✕'; position: absolute; left: 0; color: #d0554b; font-weight: 700; }
.compare-good { background: #eafaf5; border: 1px solid #bfeede; }
.compare-good h3 { color: var(--green); }
.compare-good li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; }

/* Chat mock */
.chat-mock {
  background: #e9f2ee; border-radius: 26px; padding: 14px; box-shadow: var(--shadow-lg);
  max-width: 400px; margin: 0 auto; border: 1px solid #d5e5dd;
}
.chat-head {
  display: flex; align-items: center; gap: 12px; background: var(--navy);
  border-radius: 18px 18px 8px 8px; padding: 14px 16px; color: #fff;
}
.chat-avatar { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.1); padding: 7px; }
.chat-head strong { display: block; font-size: 15px; }
.chat-head span { font-size: 12px; color: rgba(255,255,255,.65); }
.chat-body {
  padding: 18px 12px 12px; display: flex; flex-direction: column; gap: 12px;
  background-image: url("../assets/brand/pattern_teal.png"); background-size: 320px;
  background-color: #e9f2ee; background-blend-mode: overlay;
}
.bubble {
  max-width: 84%; padding: 11px 14px 20px; border-radius: 14px; font-size: 14px; color: #12313a;
  position: relative; box-shadow: 0 1px 2px rgba(0,0,0,.08); line-height: 1.42;
}
.bubble .time { position: absolute; right: 12px; bottom: 5px; font-size: 10.5px; color: #7d938c; }
.bubble.in { background: #fff; align-self: flex-start; border-top-left-radius: 4px; }
.bubble.out { background: #d6f5c8; align-self: flex-end; border-top-right-radius: 4px; }

/* ---------- Audience ---------- */
.aud-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 28px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s;
}
.aud-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.aud-icon {
  width: 60px; height: 60px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
  font-size: 28px; background: var(--bg-soft); margin-bottom: 18px;
}
.aud-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.aud-card > p { margin-bottom: 18px; }
.checklist { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.checklist li { position: relative; padding-left: 26px; font-size: .93rem; font-weight: 600; color: var(--ink); }
.checklist li::before {
  content: '✓'; position: absolute; left: 0; top: -1px; color: #fff; font-size: 11px; font-weight: 800;
  width: 18px; height: 18px; border-radius: 50%; background: var(--grad); display: flex; align-items: center; justify-content: center;
}

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; transition: transform .2s, box-shadow .2s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feat-ico {
  width: 52px; height: 52px; border-radius: 14px; background: var(--bg-soft);
  display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 16px;
}
.feature h3 { font-size: 1.12rem; margin-bottom: 8px; }
.feature p { font-size: .95rem; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 820px; }
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 4px 22px; box-shadow: var(--shadow-sm);
}
.faq summary {
  list-style: none; cursor: pointer; font-weight: 700; color: var(--ink); font-size: 1.04rem;
  padding: 18px 30px 18px 0; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 400; color: var(--green); transition: transform .2s;
}
.faq details[open] summary::after { content: '−'; }
.faq details p { padding: 0 0 20px; color: var(--body); }

/* ============================================================
   CTA FINAL
   ============================================================ */
.cta-final { background: var(--navy); position: relative; overflow: hidden; color: #fff; padding: 84px 0; }
.cta-final::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(760px 420px at 85% 20%, rgba(0,196,167,.35), transparent 60%);
}
.cta-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.3fr .7fr; gap: 48px; align-items: center; }
.cta-copy h2 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-bottom: 14px; }
.cta-copy p { color: rgba(255,255,255,.8); font-size: 1.1rem; margin-bottom: 28px; }
.cta-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.cta-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius); padding: 34px; text-align: center;
}
.cta-symbol { width: 72px; margin: 0 auto 18px; }
.cta-tagline { font-size: 1.15rem; font-weight: 600; color: #eaf3ff; font-style: italic; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: #061a3c; color: rgba(255,255,255,.72); padding: 62px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 40px; }
.footer-logo { height: 34px; margin-bottom: 16px; }
.footer-brand p { font-size: .95rem; max-width: 320px; }
.footer-col h4 { color: #fff; font-size: .95rem; margin-bottom: 16px; }
.footer-col a { display: block; color: rgba(255,255,255,.7); font-size: .93rem; padding: 6px 0; }
.footer-col a:hover { color: var(--vital-2); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 26px; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; color: rgba(255,255,255,.55);
}
.footer-tag { font-style: italic; }

/* ============================================================
   WhatsApp float
   ============================================================ */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  display: inline-flex; align-items: center; gap: 10px;
  background: #25d366; color: #fff; font-weight: 700; font-size: 14px;
  padding: 12px 18px; border-radius: 999px; box-shadow: 0 12px 30px rgba(37,211,102,.45);
  transition: transform .2s;
}
.wa-float:hover { transform: translateY(-3px) scale(1.02); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
/* Tablet: colapsa navegação e layouts de 2 colunas; grids de 3 itens
   (cards-3, steps) permanecem em 3 colunas para não deixar card órfão (2+1). */
@media (max-width: 960px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav.open { display: flex; }
  .header-inner { justify-content: space-between; }

  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding: 64px 24px 72px; }
  .agent-grid, .cta-inner { grid-template-columns: 1fr; gap: 40px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Faixa intermediária estreita: reduz o gap dos grids de 3 colunas */
@media (max-width: 860px) {
  .cards-3, .steps { gap: 16px; }
}

/* Celular: tudo em coluna única */
@media (max-width: 680px) {
  .container { padding: 0 18px; }
  .section { padding: 64px 0; }
  .cards-3, .steps, .features, .hero-stats, .compare, .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.2rem; }
  .cta-actions .btn, .hero-actions .btn { width: 100%; }
  .wa-float span { display: none; }
  .wa-float { padding: 14px; }
  .footer-bottom { flex-direction: column; }
}

/* ============================================================
   Utilitários (substituem estilos inline — permitem CSP sem 'unsafe-inline')
   ============================================================ */
.aud-link { color: var(--green); padding-left: 0; }
.band--mt { margin-top: 34px; }
.checklist--mt { margin-top: 22px; }

/* ============================================================
   Página 404
   ============================================================ */
.err {
  min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 40px 24px; gap: 8px;
  background:
    radial-gradient(900px 480px at 70% -10%, rgba(0, 196, 167, .32), transparent 60%),
    linear-gradient(160deg, #08214a 0%, #0A2A5A 45%, #061a3c 100%);
  color: #fff;
}
.err img { width: 76px; margin-bottom: 12px; }
.err h1 { color: #fff; font-size: clamp(3.5rem, 12vw, 6rem); line-height: 1; }
.err h2 { color: #fff; font-size: clamp(1.3rem, 3vw, 1.8rem); margin-bottom: 6px; }
.err p { color: rgba(255, 255, 255, .8); max-width: 460px; margin-bottom: 22px; }

/* ============================================================
   Páginas legais (privacidade / termos)
   ============================================================ */
.legal-hero { background: var(--navy); color: #fff; padding: 72px 0 48px; position: relative; overflow: hidden; }
.legal-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(700px 360px at 80% -20%, rgba(0, 196, 167, .28), transparent 60%);
}
.legal-hero .container { position: relative; z-index: 1; }
.legal-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 10px; }
.legal-hero p { color: rgba(255, 255, 255, .75); }
.legal { max-width: 820px; margin: 0 auto; padding: 64px 24px 80px; }
.legal h2 { font-size: 1.3rem; margin: 40px 0 12px; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--body); font-size: 1rem; margin-bottom: 12px; }
.legal ul { padding-left: 22px; margin-bottom: 12px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--green); font-weight: 600; }
.legal a:hover { text-decoration: underline; }
.legal .note { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 20px; font-size: .95rem; }
