/* ============================================================
   AdvCom — Landing page
   Segurança para o advogado
   ============================================================ */

:root {
  --c-blue: #1c7fd6;
  --c-blue-dark: #14599f;
  --c-blue-deep: #0e2e52;
  --c-cyan: #36b3e8;
  --c-text: #2b3a4f;
  --c-muted: #64748b;
  --c-bg: #ffffff;
  --c-bg-soft: #f1f8fd;
  --c-border: #e3edf6;

  --tag-audiencia: #e5374f;
  --tag-reuniao: #3fae5a;
  --tag-consulta: #7b2fbf;
  --tag-prazo: #e0a31f;

  --grad: linear-gradient(135deg, #1c7fd6 0%, #36b3e8 100%);
  --grad-deep: linear-gradient(135deg, #0e2e52 0%, #14599f 100%);

  --shadow-sm: 0 2px 8px rgba(14, 46, 82, .08);
  --shadow-md: 0 12px 30px rgba(14, 46, 82, .12);
  --shadow-lg: 0 30px 60px rgba(14, 46, 82, .18);

  --radius: 16px;
  --maxw: 1180px;
  --header-h: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Poppins', sans-serif; color: var(--c-blue-deep); line-height: 1.2; font-weight: 700; overflow-wrap: break-word; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 50px;
  font-weight: 600; font-size: .98rem; cursor: pointer;
  border: 2px solid transparent; transition: all .25s ease;
  font-family: 'Inter', sans-serif;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 20px rgba(28,127,214,.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(28,127,214,.45); }
.btn-ghost { background: transparent; color: var(--c-blue-dark); border-color: var(--c-border); }
.btn-ghost:hover { border-color: var(--c-blue); color: var(--c-blue); }
.btn-white { background: #fff; color: var(--c-blue-dark); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-bottom-color: var(--c-border); box-shadow: var(--shadow-sm); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; }

.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 38px; }
.brand .wordmark { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 1.35rem; letter-spacing: .5px; color: var(--c-blue-dark); }

.nav { display: flex; align-items: center; gap: 34px; }
.nav a { font-weight: 500; font-size: .96rem; color: var(--c-text); transition: color .2s; }
.nav a:hover { color: var(--c-blue); }

.header-cta { display: flex; align-items: center; gap: 16px; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; width: 28px; height: 22px; position: relative; }
.nav-toggle span { position: absolute; left: 0; width: 100%; height: 3px; border-radius: 2px; background: var(--c-blue-deep); transition: .3s; }
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 9px; }
.nav-toggle span:nth-child(3) { top: 18px; }
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg); top: 9px; }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg); top: 9px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; padding: calc(var(--header-h) + 70px) 0 90px;
  background:
    radial-gradient(900px 500px at 85% -5%, rgba(54,179,232,.16), transparent 60%),
    radial-gradient(700px 500px at 5% 20%, rgba(28,127,214,.08), transparent 55%),
    var(--c-bg);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; }

.hero .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: #eaf4fc; color: var(--c-blue-dark);
  padding: 7px 16px; border-radius: 50px; font-size: .82rem; font-weight: 600;
  margin-bottom: 22px;
}
.hero .eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--tag-reuniao); box-shadow: 0 0 0 4px rgba(63,174,90,.18); }

.hero h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); margin-bottom: 20px; }
.hero h1 .gradient-text { display: inline; }
.hero p.lead { font-size: 1.15rem; color: var(--c-muted); max-width: 540px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 38px; }

.hero-trust { display: flex; gap: 28px; flex-wrap: wrap; }
.hero-trust .item { display: flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 500; color: var(--c-blue-deep); }
.hero-trust .item svg { width: 22px; height: 22px; color: var(--c-blue); flex-shrink: 0; }

/* Hero visual */
.hero-visual { position: relative; }
.hero-photo {
  position: relative; border-radius: 24px; overflow: hidden;
  box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(160deg, transparent 50%, rgba(14,46,82,.25));
}
.hero-phone {
  position: absolute; bottom: -36px; left: -44px; width: 165px;
  filter: drop-shadow(0 22px 32px rgba(14,46,82,.30));
  animation: float 5s ease-in-out infinite;
}
.hero-badge {
  position: absolute; top: 26px; right: -22px;
  background: #fff; border-radius: 14px; padding: 14px 18px;
  box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 12px;
  animation: float 6s ease-in-out infinite reverse;
}
.hero-badge .ico { width: 40px; height: 40px; border-radius: 10px; background: var(--grad); display: grid; place-items: center; color: #fff; }
.hero-badge .ico svg { width: 22px; height: 22px; }
.hero-badge b { display: block; font-size: .92rem; color: var(--c-blue-deep); font-family: 'Poppins',sans-serif; }
.hero-badge span { font-size: .78rem; color: var(--c-muted); }

@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ---------- Section base ---------- */
.section { padding: 90px 0; }
.section-soft { background: var(--c-bg-soft); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-head .kicker { color: var(--c-blue); font-weight: 700; font-size: .85rem; letter-spacing: 1.5px; text-transform: uppercase; display: block; margin-bottom: 12px; }
.section-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 16px; }
.section-head p { color: var(--c-muted); font-size: 1.08rem; }

/* ---------- Problem / Solution ---------- */
.problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.problem-copy h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 20px; }
.problem-copy p { color: var(--c-muted); font-size: 1.08rem; margin-bottom: 18px; }
.problem-copy .highlight { color: var(--c-blue-deep); font-weight: 600; }

.trust-diagram { position: relative; display: grid; place-items: center; min-height: 340px; }
.trust-diagram .core {
  width: 130px; height: 130px; border-radius: 28px; background: #fff;
  display: grid; place-items: center; box-shadow: var(--shadow-md); z-index: 2;
}
.trust-diagram .core img { width: 74px; }
.node {
  position: absolute; display: flex; flex-direction: column; align-items: center; gap: 8px;
  background: #fff; padding: 14px 18px; border-radius: 14px; box-shadow: var(--shadow-sm);
  font-weight: 600; font-size: .9rem; color: var(--c-blue-deep);
}
.node .av { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-size: 1.4rem; }
.node.client { top: 6%; left: 50%; transform: translateX(-50%); }
.node.client .av { background: #e7f1fb; }
.node.lawyer { bottom: 6%; left: 12%; }
.node.lawyer .av { background: #e3f5ee; }
.node.fake { bottom: 6%; right: 12%; opacity: .96; }
.node.fake .av { background: #fdebed; }
.node.fake .tagx { color: var(--tag-audiencia); font-size: .78rem; font-weight: 700; }

/* ---------- How it works ---------- */
.how-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.how-card {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: 36px; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s;
}
.how-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.how-card .role { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--c-blue); margin-bottom: 14px; font-size: .85rem; text-transform: uppercase; letter-spacing: 1px; }
.how-card h3 { font-size: 1.4rem; margin-bottom: 12px; }
.how-card p { color: var(--c-muted); margin-bottom: 18px; }
.how-card .platforms { display: flex; gap: 10px; flex-wrap: wrap; }
.how-card .platforms .chip { display: inline-flex; align-items: center; gap: 7px; background: var(--c-bg-soft); border: 1px solid var(--c-border); padding: 8px 14px; border-radius: 50px; font-size: .85rem; font-weight: 500; }
.how-card .platforms .chip svg { width: 16px; height: 16px; color: var(--c-blue); }

/* ---------- Features grid ---------- */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.feature {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: 32px 28px; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.feature .ficon { width: 54px; height: 54px; border-radius: 14px; background: var(--grad); display: grid; place-items: center; margin-bottom: 20px; color: #fff; }
.feature .ficon svg { width: 28px; height: 28px; }
.feature h3 { font-size: 1.2rem; margin-bottom: 10px; }
.feature p { color: var(--c-muted); font-size: .96rem; }

/* ---------- Showcase (screenshots) ---------- */
.showcase { display: flex; flex-direction: column; gap: 100px; }
.show-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.show-row.reverse .show-visual { order: -1; }
.show-copy .kicker { color: var(--c-blue); font-weight: 700; font-size: .82rem; letter-spacing: 1.5px; text-transform: uppercase; display: block; margin-bottom: 12px; }
.show-copy h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: 16px; }
.show-copy p { color: var(--c-muted); font-size: 1.06rem; margin-bottom: 22px; }
.show-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.show-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 1rem; }
.show-list li svg { width: 22px; height: 22px; color: var(--tag-reuniao); flex-shrink: 0; margin-top: 2px; }

.show-visual { position: relative; display: grid; place-items: center; }
.show-visual .stage {
  position: relative; width: 100%; border-radius: 22px; padding: 38px;
  background: var(--grad-deep); box-shadow: var(--shadow-lg); overflow: hidden;
}
.show-visual .stage::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(400px 200px at 80% 0%, rgba(255,255,255,.18), transparent 60%);
}
.show-visual .stage img { position: relative; border-radius: 8px; }
.show-visual .stage .laptop { width: 100%; filter: drop-shadow(0 16px 28px rgba(0,0,0,.35)); }
.show-visual .stage .phone-overlay {
  position: absolute; bottom: -8px; right: 14px; width: 120px;
  filter: drop-shadow(0 16px 24px rgba(0,0,0,.4));
}

/* phones-only stage */
.phones-stage { display: flex; justify-content: center; align-items: flex-end; gap: -10px; padding: 30px; }
.phones-stage img { width: 150px; filter: drop-shadow(0 18px 26px rgba(14,46,82,.28)); }
.phones-stage img:nth-child(2) { width: 170px; margin: 0 -18px; z-index: 2; }

/* ---------- Security band ---------- */
.security {
  background: var(--grad-deep); color: #fff; border-radius: 28px;
  padding: 56px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center;
  position: relative; overflow: hidden;
}
.security::before { content: ''; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; background: rgba(255,255,255,.06); }
.security h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 16px; }
.security p { color: rgba(255,255,255,.85); font-size: 1.08rem; }
.security .steps { display: flex; flex-direction: column; gap: 16px; }
.security .step { display: flex; align-items: center; gap: 16px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); padding: 18px 20px; border-radius: 14px; }
.security .step .n { width: 38px; height: 38px; border-radius: 10px; background: #fff; color: var(--c-blue-dark); display: grid; place-items: center; font-weight: 800; font-family: 'Poppins',sans-serif; flex-shrink: 0; }
.security .step b { display: block; font-family: 'Poppins',sans-serif; }
.security .step span { font-size: .88rem; color: rgba(255,255,255,.75); }

/* ---------- Final CTA ---------- */
.cta-final { text-align: center; padding: 100px 0; }
.cta-final h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 18px; }
.cta-final p { color: var(--c-muted); font-size: 1.15rem; max-width: 560px; margin: 0 auto 32px; }
.cta-final .hero-actions { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: #0b223d; color: #cdd9e6; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.site-footer .brand .wordmark { color: #fff; }
.site-footer .f-about p { color: #91a4ba; margin-top: 16px; max-width: 280px; font-size: .94rem; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 18px; font-family: 'Poppins',sans-serif; }
.site-footer ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.site-footer ul a { color: #91a4ba; font-size: .92rem; transition: color .2s; }
.site-footer ul a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .85rem; color: #7d92aa; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; gap: 0; background: #fff;
    border-bottom: 1px solid var(--c-border); box-shadow: var(--shadow-md);
    max-height: 0; overflow: hidden; transition: max-height .35s ease;
  }
  .nav.open { max-height: 360px; }
  .nav a { width: 100%; padding: 16px 24px; border-bottom: 1px solid var(--c-border); }
  .nav-toggle { display: block; }
  .header-cta .btn-ghost { display: none; }

  .hero-grid, .problem-grid, .how-grid, .show-row, .security { grid-template-columns: 1fr; }
  .show-row.reverse .show-visual { order: 0; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-visual { margin-top: 30px; max-width: 460px; margin-inline: auto; }
  .security { padding: 40px 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .section { padding: 64px 0; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn, .cta-final .btn { width: 100%; justify-content: center; }
  .hero-phone { width: 120px; left: -10px; }
  .hero-badge { right: 6px; padding: 10px 12px; }
}

/* ============================================================
   Página de assinatura (assinar.html)
   ============================================================ */
.subscribe { padding: calc(var(--header-h) + 40px) 0 80px; min-height: 100vh; background:
  radial-gradient(900px 500px at 85% -5%, rgba(54,179,232,.12), transparent 60%), var(--c-bg-soft); }
.sub-wrap { max-width: 1120px; }
.sub-loading { text-align: center; color: var(--c-muted); padding: 40px 0; }
.sub-error { color: var(--tag-audiencia); font-weight: 500; margin-top: 12px; }

/* ----- planos ----- */
.plan-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.plan-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: 26px 22px; box-shadow: var(--shadow-sm); transition: transform .15s ease, box-shadow .15s ease;
}
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.plan-card.is-featured { border-color: var(--c-blue); border-width: 2px; }
.p-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--grad); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .5px;
  padding: 5px 14px; border-radius: 50px; }
.p-name { font-size: 1.25rem; margin-bottom: 8px; }
.p-pricing { margin-bottom: 12px; }
.p-price { font-size: 1.7rem; font-weight: 700; font-family: 'Poppins', sans-serif; color: var(--c-blue-deep); }
.p-per { color: var(--c-muted); font-size: .9rem; }
.p-desc { color: var(--c-muted); font-size: .9rem; min-height: 60px; margin-bottom: 14px; }
.p-features { list-style: none; margin: 0 0 20px; padding: 0; flex: 1; }
.p-features li { position: relative; padding-left: 24px; margin-bottom: 8px; font-size: .92rem; }
.p-features li::before { content: '✓'; position: absolute; left: 0; color: var(--tag-reuniao); font-weight: 700; }

/* ----- formulário ----- */
.form-card { max-width: 540px; margin: 0 auto; background: #fff; border: 1px solid var(--c-border);
  border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.form-title { text-align: center; margin-bottom: 18px; }
.plan-summary { display: flex; align-items: center; justify-content: space-between;
  background: var(--c-bg-soft); border: 1px solid var(--c-border); border-radius: 12px;
  padding: 12px 16px; margin-bottom: 20px; }
.plan-summary b { display: block; color: var(--c-blue-deep); }
.plan-summary span { font-size: .88rem; color: var(--c-muted); }
.link-btn { background: none; border: none; color: var(--c-blue); font-weight: 600; cursor: pointer; font-size: .92rem; }

.field { margin-bottom: 16px; }
.field label, .field-label { display: block; font-size: .88rem; font-weight: 600; color: var(--c-text); margin-bottom: 6px; }
.field input, .field select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--c-border); border-radius: 10px;
  font-family: 'Inter', sans-serif; font-size: .96rem; color: var(--c-text); transition: border-color .2s, box-shadow .2s;
}
.field input:focus { outline: none; border-color: var(--c-blue); box-shadow: 0 0 0 3px rgba(28,127,214,.12); }
.field small { display: block; color: var(--c-muted); font-size: .8rem; margin-top: 4px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ----- forma de pagamento ----- */
.pay-methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 8px; }
.pay-method { display: flex; flex-direction: column; align-items: center; gap: 4px; cursor: pointer;
  background: #fff; border: 2px solid var(--c-border); border-radius: 12px; padding: 12px 6px;
  font-family: 'Inter', sans-serif; font-size: .9rem; color: var(--c-text); transition: all .15s ease; }
.pay-method:hover { border-color: var(--c-cyan); }
.pay-method.is-active { border-color: var(--c-blue); background: rgba(28,127,214,.06); }
.pay-method .pm-ico { font-size: 1.3rem; }
.pay-method em { font-style: normal; font-size: .72rem; font-weight: 700; color: #fff; background: var(--tag-reuniao);
  padding: 1px 8px; border-radius: 50px; }
.pay-hint { display: block; color: var(--c-muted); font-size: .82rem; margin-bottom: 8px; }
.card-fields { margin-top: 14px; }
.secure-note { display: block; color: var(--c-muted); font-size: .8rem; margin-top: 6px; }

.btn-block { width: 100%; justify-content: center; margin-top: 8px; }

/* ----- confirmação ----- */
.done-card { text-align: center; }
.done-ico { font-size: 3rem; margin-bottom: 8px; }
.done-card p { color: var(--c-muted); margin: 12px 0; }
.done-card .done-sub { background: var(--c-bg-soft); border-radius: 10px; padding: 12px; font-size: .9rem; }
.done-card .btn { margin-top: 10px; }

@media (max-width: 920px) {
  .plan-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .plan-grid { grid-template-columns: 1fr; }
  .row2 { grid-template-columns: 1fr; }
  .form-card { padding: 22px 18px; }
}

/* ----- indicador de passos ----- */
.step-indicator {
  list-style: none; margin: 0 auto 30px; padding: 0;
  display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap;
}
.step-indicator li {
  display: flex; align-items: center; gap: 8px;
  color: var(--c-muted); font-weight: 600; font-size: .92rem;
}
.step-indicator li:not(:last-child)::after {
  content: ''; width: 34px; height: 2px; background: var(--c-border); margin-left: 12px;
}
.step-indicator .s-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: #fff; border: 2px solid var(--c-border); color: var(--c-muted);
  font-size: .85rem; transition: all .2s ease;
}
.step-indicator li.is-active { color: var(--c-blue-dark); }
.step-indicator li.is-active .s-num { background: var(--grad); border-color: transparent; color: #fff; }
.step-indicator li.is-done { color: var(--tag-reuniao); }
.step-indicator li.is-done .s-num { background: var(--tag-reuniao); border-color: transparent; color: #fff; }

/* ----- nota legal ----- */
.legal-note { margin-top: 14px; font-size: .8rem; color: var(--c-muted); text-align: center; line-height: 1.5; }
.legal-note a { color: var(--c-blue); font-weight: 600; }
.legal-note a:hover { text-decoration: underline; }

@media (max-width: 560px) {
  .step-indicator .s-label { display: none; }
  .step-indicator li:not(:last-child)::after { width: 20px; }
}

/* ----- cabeçalho do form + botão de preenchimento de teste (dev/local) ----- */
.form-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.form-head .form-title { margin: 0; }
.fill-btn {
  display: inline-flex; align-items: center; gap: 4px;
  background: #fff; border: 1px solid var(--c-border); border-radius: 50px;
  padding: 6px 14px; font-size: .82rem; font-weight: 600; color: var(--c-muted);
  cursor: pointer; font-family: 'Inter', sans-serif; transition: all .15s ease;
}
.fill-btn[hidden] { display: none; }
.fill-btn:hover { border-color: var(--c-blue); color: var(--c-blue); }

/* ----- overlay de carregamento ----- */
.loading-overlay {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  background: rgba(14, 46, 82, .55); backdrop-filter: blur(3px);
  animation: overlayIn .2s ease;
}
@keyframes overlayIn { from { opacity: 0; } to { opacity: 1; } }
.loading-box {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 32px 40px; text-align: center; min-width: 260px;
}
.loading-spinner {
  width: 54px; height: 54px; margin: 0 auto 18px;
  border: 5px solid var(--c-border); border-top-color: var(--c-blue);
  border-radius: 50%; animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-text { font-family: 'Poppins', sans-serif; font-weight: 700; color: var(--c-blue-deep); font-size: 1.05rem; }
.loading-text::after { content: ''; animation: dots 1.4s steps(4, end) infinite; }
@keyframes dots { 0% { content: ''; } 25% { content: '.'; } 50% { content: '..'; } 75% { content: '...'; } }
.loading-sub { color: var(--c-muted); font-size: .86rem; margin-top: 6px; }

/* corrige: o display:flex acima vencia o atributo [hidden] */
.loading-overlay[hidden] { display: none; }
