/* ==========================================================================
   WhatsDoc — Site cinematográfico
   Identidade visual fiel à apresentação (navy / azul / verde / dourado)
   ========================================================================== */

:root {
  --navy: #143061;
  --navy-deep: #0b1e44;
  --ink: #1e2c4f;
  --muted: #5b6b87;
  --blue: #1a73e8;
  --blue-dark: #1d50a2;
  --band: #1d4fa2;
  --green: #00a66c;
  --green-soft: #e7f6ef;
  --wa: #25d366;
  --gold: #c9a24b;
  --gold-soft: #f4e9d2;
  --bg: #f6f9fe;
  --card: #ffffff;
  --line: #e3eaf5;
  --shadow-lg: 0 30px 80px -20px rgba(11, 30, 68, 0.35);
  --shadow-md: 0 18px 50px -18px rgba(11, 30, 68, 0.25);
  --radius: 22px;
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

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

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

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

::selection { background: var(--green); color: #fff; }

/* ------------------------------------------------------------------ */
/* Preloader / cortina cinematográfica                                  */
/* ------------------------------------------------------------------ */
#curtain {
  position: fixed; inset: 0; z-index: 999;
  background: radial-gradient(120% 120% at 50% 40%, #1d4fa2 0%, var(--navy-deep) 60%);
  display: flex; align-items: center; justify-content: center; flex-direction: column;
  gap: 18px;
  transition: opacity 0.7s ease, visibility 0.7s;
}
#curtain img { width: 74px; filter: drop-shadow(0 8px 30px rgba(0,0,0,.4)); }
#curtain .curtain-word {
  color: #fff; font-size: 1.5rem; font-weight: 800; letter-spacing: .35em;
  text-transform: uppercase;
}
#curtain .curtain-word span { color: var(--wa); }
#curtain.hide { opacity: 0; visibility: hidden; }

/* barra de progresso de scroll */
#progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--wa), var(--blue));
  z-index: 120;
}

/* ------------------------------------------------------------------ */
/* Header                                                               */
/* ------------------------------------------------------------------ */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px clamp(20px, 5vw, 64px);
  display: flex; align-items: center; justify-content: space-between;
  transition: background .35s ease, box-shadow .35s ease, padding .35s ease;
}
header.solid {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px rgba(11, 30, 68, 0.10);
  padding-top: 10px; padding-bottom: 10px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; }
.brand img { width: 38px; }
.brand b { color: var(--navy); }
.brand span { color: var(--blue); }
header.on-dark:not(.solid) .brand b,
header.on-dark:not(.solid) nav a { color: #fff; }

header nav { display: flex; gap: clamp(14px, 2.4vw, 30px); align-items: center; }
header nav a {
  font-size: .92rem; font-weight: 600; color: var(--ink);
  position: relative; transition: color .25s;
}
header nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--green); transition: width .3s ease;
}
header nav a:not(.btn):hover::after { width: 100%; }
header nav a:not(.btn):hover { color: var(--blue); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 26px; border-radius: 999px;
  font-weight: 700; font-size: .95rem; cursor: pointer;
  border: none; transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  will-change: transform;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: #fff; box-shadow: 0 14px 34px -10px rgba(26, 115, 232, 0.55);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 44px -10px rgba(26, 115, 232, 0.65); }
.btn-green {
  background: linear-gradient(135deg, #12b981 0%, var(--green) 100%);
  color: #fff; box-shadow: 0 14px 34px -10px rgba(0, 166, 108, 0.55);
}
.btn-green:hover { transform: translateY(-3px); }
.btn-ghost {
  background: transparent; color: var(--ink);
  border: 2px solid var(--line);
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-3px); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { transform: translateY(-3px); }
.btn-gold {
  background: linear-gradient(135deg, #e3c17c, var(--gold));
  color: #2b2410; box-shadow: 0 14px 34px -10px rgba(201, 162, 75, .5);
}
.btn-gold:hover { transform: translateY(-3px); }
nav .btn { padding: 10px 22px; }

/* ------------------------------------------------------------------ */
/* Estrutura das cenas                                                  */
/* ------------------------------------------------------------------ */
.scene {
  position: relative;
  padding: clamp(90px, 12vh, 150px) clamp(20px, 5vw, 64px);
  overflow: hidden;
}
.scene-inner { max-width: 1220px; margin: 0 auto; position: relative; z-index: 2; }

.scene-num {
  position: absolute; top: clamp(20px, 4vh, 50px); right: clamp(16px, 4vw, 56px);
  font-size: clamp(5rem, 12vw, 10rem); font-weight: 800; line-height: 1;
  color: rgba(20, 48, 97, 0.05); z-index: 1; user-select: none; pointer-events: none;
}
.scene-dark .scene-num { color: rgba(255, 255, 255, 0.05); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 34px; height: 3px; border-radius: 3px; background: var(--green); }
.eyebrow.green { color: var(--green); }

h1, h2 { font-weight: 800; line-height: 1.12; color: var(--navy); letter-spacing: -0.02em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.7rem); text-transform: uppercase; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
.hl-green { color: var(--green); }
.hl-blue { color: var(--blue); }
.hl-cyan { color: #37a7e8; }
.hl-gold { color: var(--gold); }

.lead { font-size: clamp(1rem, 1.5vw, 1.2rem); color: var(--muted); max-width: 56ch; margin-top: 18px; }

.grid-2 {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: clamp(30px, 5vw, 70px); align-items: center;
}
.grid-2.flip { grid-template-columns: 1fr 1.05fr; }

/* Moldura das artes da apresentação */
.art-frame {
  position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 5 / 4;
  transform: perspective(1200px);
}
.art-frame.wide { aspect-ratio: 16 / 9; }
.art-frame img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: var(--pos, 82% 50%);
  transform: scale(var(--zoom, 1.06));
  will-change: transform;
}
.art-frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(20,48,97,0) 70%, rgba(20,48,97,0.16) 100%);
  pointer-events: none;
}
.art-glow {
  position: absolute; inset: -8%; z-index: 0; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(26, 115, 232, 0.18), transparent 70%);
  filter: blur(10px);
}

/* Cartões de recurso */
.features { display: grid; gap: 18px; margin-top: 34px; }
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature .ico {
  flex: 0 0 52px; height: 52px; border-radius: 16px;
  display: grid; place-items: center; font-size: 1.4rem;
  background: #eaf2fe; color: var(--blue);
  box-shadow: inset 0 0 0 1px var(--line);
}
.feature .ico.g { background: var(--green-soft); color: var(--green); }
.feature .ico.r { background: #fdecec; color: #d64545; }
.feature h3 { font-size: 1.06rem; color: var(--navy); margin-bottom: 3px; }
.feature h3 span { color: var(--green); }
.feature p { font-size: .95rem; color: var(--muted); }

/* Chips do herói */
.chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.chip {
  display: inline-flex; align-items: center; gap: 9px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 10px 18px; font-size: .88rem; font-weight: 700; color: var(--navy);
  box-shadow: 0 8px 24px -12px rgba(11, 30, 68, 0.25);
}
.chip i { font-style: normal; }

/* Faixa azul (banda de benefícios) */
.band {
  margin-top: clamp(40px, 7vh, 70px);
  background: linear-gradient(120deg, var(--band), #123a7c);
  border-radius: var(--radius);
  padding: clamp(22px, 3.5vw, 34px) clamp(20px, 4vw, 44px);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
  color: #fff; box-shadow: var(--shadow-md);
}
.band .cell { display: flex; align-items: center; gap: 13px; }
.band .cell + .cell { border-left: 1px solid rgba(255, 255, 255, 0.18); padding-left: 22px; }
.band .cell i { font-style: normal; font-size: 1.5rem; }
.band .cell b { display: block; font-size: .95rem; line-height: 1.35; }
.band .cell small { opacity: .8; font-size: .82rem; }
.band.green-note b span { color: #7ff0c2; }

/* Painel comparativo Dor / Solução */
.pain-panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(24px, 3.5vw, 40px); box-shadow: var(--shadow-md);
  position: relative;
}
.pain-panel .tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 800; font-size: 1.05rem; margin-bottom: 18px;
}
.pain-panel .tag.red { color: #d64545; }
.pain-panel .tag.green { color: var(--green); }
.pain-panel ul { list-style: none; display: grid; gap: 14px; }
.pain-panel li { display: flex; gap: 12px; font-size: .96rem; color: var(--ink); }
.pain-panel li i { font-style: normal; flex: 0 0 auto; }
.pain-panel.solution { background: linear-gradient(160deg, #f2fbf7, #ffffff); border-color: #cdeede; }
.arrow-bridge {
  width: 62px; height: 62px; border-radius: 50%;
  background: var(--blue); color: #fff; display: grid; place-items: center;
  font-size: 1.6rem; margin: 0 auto; box-shadow: 0 10px 30px -8px rgba(26, 115, 232, 0.6);
}

/* Passos da arquitetura */
.steps { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 14px; align-items: stretch; margin-top: 40px; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; text-align: center; box-shadow: var(--shadow-md);
}
.step .n {
  width: 44px; height: 44px; margin: 0 auto 14px; border-radius: 50%;
  background: var(--navy); color: #fff; font-weight: 800; display: grid; place-items: center;
}
.step h3 { color: var(--navy); font-size: 1.02rem; }
.step small { display: block; color: var(--blue); font-weight: 700; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px; }
.step p { font-size: .9rem; color: var(--muted); }
.step-link { align-self: center; color: var(--blue); font-size: 1.5rem; text-align: center; }
.step-link i { font-style: normal; display: inline-block; animation: pulse-x 1.8s ease-in-out infinite; }
@keyframes pulse-x { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(6px); } }

/* Grade de mini-cards */
.mini-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 34px; }
.mini-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px;
  box-shadow: 0 12px 34px -18px rgba(11, 30, 68, 0.3);
  transition: transform .3s ease, box-shadow .3s ease;
}
.mini-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.mini-card h4 { color: var(--blue); font-size: .98rem; margin-bottom: 5px; }
.mini-card h4.gr { color: var(--green); }
.mini-card p { font-size: .87rem; color: var(--muted); }

/* Planos */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; align-items: stretch; }
.plan {
  background: #fff; border: 1px solid var(--line); border-radius: 26px;
  padding: 34px 30px; display: flex; flex-direction: column;
  box-shadow: var(--shadow-md); position: relative;
  transition: transform .35s ease, box-shadow .35s ease;
}
.plan:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.plan .tier { font-weight: 800; font-size: 1.3rem; letter-spacing: .04em; text-transform: uppercase; }
.plan.bronze .tier { color: #a8722c; }
.plan.prata .tier { color: #8a94a6; }
.plan.ouro .tier { color: var(--gold); }
.plan .desc { color: var(--muted); font-size: .92rem; margin: 8px 0 20px; min-height: 44px; }
.plan .price { border-top: 1px solid var(--line); padding-top: 20px; margin-bottom: 20px; color: var(--navy); }
.plan .price .cur { font-weight: 700; font-size: 1rem; vertical-align: top; }
.plan .price .val { font-size: 3.1rem; font-weight: 800; letter-spacing: -0.03em; }
.plan .price .per { color: var(--muted); font-weight: 600; }
.plan ul { list-style: none; display: grid; gap: 11px; margin-bottom: 28px; }
.plan li { display: flex; gap: 10px; font-size: .92rem; }
.plan li::before { content: "✔"; flex: 0 0 auto; width: 20px; height: 20px; border-radius: 50%; background: var(--blue); color: #fff; font-size: .62rem; display: grid; place-items: center; margin-top: 2px; }
.plan .btn { margin-top: auto; }
.plan.ouro {
  border: 2px solid var(--blue);
  box-shadow: 0 30px 70px -20px rgba(26, 115, 232, 0.45);
}
.popular {
  position: absolute; top: -17px; left: 50%; transform: translateX(-50%);
  background: var(--blue-dark); color: #fff; font-size: .74rem; font-weight: 800;
  letter-spacing: .1em; padding: 8px 20px; border-radius: 999px; white-space: nowrap;
}
.popular::before { content: "★ "; color: #ffd76a; }
.plans-note { text-align: center; color: var(--muted); font-size: .9rem; margin-top: 26px; }

/* Cena escura (alta escala) */
.scene-dark {
  background:
    radial-gradient(90% 70% at 85% 10%, rgba(201, 162, 75, 0.14), transparent 55%),
    linear-gradient(160deg, #0c1f46 0%, var(--navy-deep) 60%, #091a3a 100%);
  color: #d8e2f4;
}
.scene-dark h2 { color: #fff; }
.scene-dark .lead { color: #a9b8d4; }
.scene-dark .feature h3 { color: #fff; }
.scene-dark .feature p { color: #a9b8d4; }
.scene-dark .feature .ico { background: rgba(255, 255, 255, 0.06); color: var(--gold); box-shadow: inset 0 0 0 1px rgba(201, 162, 75, 0.35); }

.plans-hi { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 48px; }
.plan-hi {
  background: #fdfdfb; color: var(--ink); border-radius: 26px; overflow: hidden;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.6);
  display: flex; flex-direction: column;
  transition: transform .35s ease;
}
.plan-hi:hover { transform: translateY(-8px); }
.plan-hi .head {
  background: linear-gradient(120deg, #16305f, #0b1e44);
  color: var(--gold); text-align: center; padding: 26px;
  font-size: 1.5rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  font-variant: small-caps;
}
.plan-hi .body { padding: 30px 32px 34px; display: flex; flex-direction: column; flex: 1; }
.plan-hi .desc { text-align: center; color: var(--muted); font-size: .95rem; }
.plan-hi .desc b { color: var(--ink); }
.plan-hi .price { text-align: center; margin: 20px 0; color: var(--navy); border-top: 1px solid var(--gold-soft); padding-top: 22px; }
.plan-hi .price .val { font-size: 3.4rem; font-weight: 800; }
.plan-hi .price.consult .val { font-size: 2.3rem; letter-spacing: .02em; }
.plan-hi .badge-feature {
  border: 1.5px solid var(--gold); border-radius: 14px; padding: 12px 16px;
  display: flex; gap: 10px; align-items: center; justify-content: center;
  font-weight: 700; font-size: .9rem; color: var(--navy); margin-bottom: 20px;
}
.plan-hi ul { list-style: none; display: grid; gap: 11px; margin-bottom: 26px; }
.plan-hi li { display: flex; gap: 10px; font-size: .92rem; }
.plan-hi li::before { content: "✔"; flex: 0 0 auto; width: 20px; height: 20px; border-radius: 50%; background: var(--green); color: #fff; font-size: .62rem; display: grid; place-items: center; margin-top: 2px; }
.plan-hi .btn { margin-top: auto; }

.band.gold {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(201, 162, 75, 0.35);
  color: #e8eefb;
}
.band.gold .cell i { color: var(--gold); }
.band.gold .cell + .cell { border-left-color: rgba(201, 162, 75, 0.25); }

/* Cena futurista (IA) */
.scene-future {
  position: relative; color: #d5e6ff;
}
.scene-future .bg {
  position: absolute; inset: 0; z-index: 0;
}
.scene-future .bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: 65% 40%;
  transform: scale(1.08);
}
.scene-future .bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(4, 12, 32, 0.94) 0%, rgba(4, 12, 32, 0.75) 45%, rgba(4, 12, 32, 0.35) 100%);
}
.scene-future h2 { color: #fff; text-transform: uppercase; }
.scene-future .lead { color: #b9cdee; }
.future-cards { display: grid; gap: 18px; margin-top: 36px; max-width: 560px; }
.future-card {
  background: rgba(10, 25, 55, 0.55); border: 1px solid rgba(64, 156, 255, 0.35);
  border-radius: 18px; padding: 20px 22px; backdrop-filter: blur(8px);
  transition: transform .3s ease, border-color .3s ease;
}
.future-card:hover { transform: translateX(6px); border-color: #37e8a3; }
.future-card h4 { color: #fff; font-size: 1.02rem; }
.future-card h4 span { color: #37e8a3; }
.future-card p { color: #a9c2e8; font-size: .88rem; margin-top: 4px; }
.status-pill {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 30px;
  border: 1px solid rgba(55, 232, 163, 0.5); background: rgba(55, 232, 163, 0.08);
  color: #7ff0c2; border-radius: 999px; padding: 12px 22px; font-weight: 700; font-size: .9rem;
}
.status-pill .dot { width: 10px; height: 10px; border-radius: 50%; background: #37e8a3; animation: blink 1.6s infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* Conclusão / CTA */
.timeline { display: grid; gap: 0; margin-top: 34px; position: relative; }
.timeline .t-item { display: flex; gap: 18px; padding: 14px 0; position: relative; }
.timeline .t-item::before {
  content: ""; position: absolute; left: 25px; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(var(--green), var(--blue));
  opacity: .25;
}
.timeline .t-item:first-child::before { top: 50%; }
.timeline .t-item:last-child::before { bottom: 50%; }
.timeline .ico {
  position: relative; z-index: 1;
  flex: 0 0 52px; height: 52px; border-radius: 50%; background: #fff;
  border: 1px solid var(--line); display: grid; place-items: center; font-size: 1.3rem;
  box-shadow: 0 10px 26px -12px rgba(11, 30, 68, 0.35);
}
.timeline h3 { font-size: 1.05rem; color: var(--navy); }
.timeline h3 span { color: var(--green); }
.timeline p { color: var(--muted); font-size: .92rem; }

.cta-panel {
  margin-top: 46px;
  background: linear-gradient(120deg, var(--band), #123a7c);
  color: #fff; border-radius: 24px; padding: 30px 36px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  box-shadow: var(--shadow-lg);
}
.cta-panel .txt b { font-size: 1.3rem; display: block; }
.cta-panel .txt span { color: #7ff0c2; font-weight: 700; }

/* Footer */
footer {
  background: var(--navy-deep); color: #9fb2d4;
  padding: 48px clamp(20px, 5vw, 64px) 34px;
}
.foot-inner { max-width: 1220px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 30px; align-items: center; justify-content: space-between; }
footer .brand b { color: #fff; }
footer small { font-size: .85rem; }
footer nav { display: flex; gap: 22px; font-size: .88rem; }
footer nav a:hover { color: #fff; }

/* ------------------------------------------------------------------ */
/* Autenticação (login.html) e Ferramenta                               */
/* ------------------------------------------------------------------ */
.auth-body {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 90px 20px 40px;
  background:
    radial-gradient(80% 60% at 80% 10%, rgba(26, 115, 232, 0.25), transparent 60%),
    radial-gradient(70% 60% at 10% 90%, rgba(0, 166, 108, 0.18), transparent 60%),
    linear-gradient(160deg, #0c2149, var(--navy-deep));
}
.auth-card {
  width: 100%; max-width: 430px; background: #fff; border-radius: 26px;
  padding: 38px 36px; box-shadow: 0 50px 120px -30px rgba(0, 0, 0, 0.6);
}
.auth-card .brand { justify-content: center; margin-bottom: 8px; }
.auth-card h1 { font-size: 1.4rem; text-align: center; text-transform: none; margin-bottom: 4px; }
.auth-card .sub { text-align: center; color: var(--muted); font-size: .92rem; margin-bottom: 24px; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--bg); border-radius: 12px; padding: 5px; margin-bottom: 22px; }
.auth-tabs button {
  border: none; background: transparent; padding: 10px; border-radius: 9px;
  font-family: var(--font); font-weight: 700; font-size: .9rem; color: var(--muted); cursor: pointer;
  transition: all .25s;
}
.auth-tabs button.active { background: #fff; color: var(--navy); box-shadow: 0 4px 14px rgba(11, 30, 68, 0.12); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .82rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.field input {
  width: 100%; padding: 13px 16px; border-radius: 12px; border: 1.5px solid var(--line);
  font-family: var(--font); font-size: .95rem; color: var(--ink);
  transition: border-color .25s, box-shadow .25s; background: #fbfdff;
}
.field input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(26, 115, 232, 0.12); }
.auth-card .btn { width: 100%; margin-top: 6px; }
.auth-msg { margin-top: 16px; font-size: .88rem; text-align: center; border-radius: 12px; padding: 11px 14px; display: none; }
.auth-msg.err { display: block; background: #fdecec; color: #b93838; }
.auth-msg.ok { display: block; background: var(--green-soft); color: #0c7a52; }
.auth-foot { text-align: center; margin-top: 18px; font-size: .84rem; color: var(--muted); }
.auth-foot a { color: var(--blue); font-weight: 700; cursor: pointer; }
.back-home { position: fixed; top: 22px; left: 26px; color: #cfe0ff; font-weight: 700; font-size: .9rem; z-index: 10; }
.back-home:hover { color: #fff; }

/* Ferramenta (área logada) */
.tool-body { background: var(--bg); min-height: 100vh; }
.tool-main { max-width: 1220px; margin: 0 auto; padding: 130px clamp(20px, 5vw, 64px) 80px; }
.tool-hero {
  background: linear-gradient(120deg, var(--band), #123a7c);
  color: #fff; border-radius: 26px; padding: 36px 40px;
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
  box-shadow: var(--shadow-lg);
}
.tool-hero h1 { font-size: 1.7rem; color: #fff; text-transform: none; }
.tool-hero p { opacity: .85; margin-top: 6px; }
.tool-hero .plan-badge {
  display: inline-flex; gap: 8px; align-items: center; margin-top: 14px;
  background: rgba(255, 255, 255, 0.14); padding: 8px 16px; border-radius: 999px;
  font-size: .85rem; font-weight: 700;
}
.tool-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 26px; margin-top: 26px; align-items: start; }
.tool-card {
  background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 32px;
  box-shadow: var(--shadow-md);
}
.tool-card h2 { font-size: 1.25rem; margin-bottom: 8px; }
.tool-card > p { color: var(--muted); font-size: .95rem; }
.tool-card .btn { margin-top: 22px; }
.doc-types { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 20px; }
.doc-type {
  border: 1.5px solid var(--line); border-radius: 14px; padding: 14px;
  font-size: .88rem; font-weight: 700; color: var(--navy);
  display: flex; align-items: center; gap: 10px; background: #fbfdff;
  transition: border-color .25s, transform .25s;
}
.doc-type:hover { border-color: var(--green); transform: translateY(-3px); }
.doc-type i { font-style: normal; }
.side-stack { display: grid; gap: 26px; }
.soon {
  display: inline-block; background: var(--gold-soft); color: #8a6a1d;
  font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px; margin-left: 8px; vertical-align: middle;
}
.tool-note { margin-top: 16px; font-size: .85rem; color: var(--muted); background: var(--bg); border-radius: 12px; padding: 12px 16px; }
.tool-note b { color: var(--navy); }

/* ------------------------------------------------------------------ */
/* Animações base (progressive enhancement via GSAP)                    */
/* ------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ------------------------------------------------------------------ */
/* Responsivo                                                           */
/* ------------------------------------------------------------------ */
@media (max-width: 1020px) {
  .grid-2, .grid-2.flip { grid-template-columns: 1fr; }
  .grid-2 .art-side { order: -1; }
  .steps { grid-template-columns: 1fr; }
  .step-link i { transform: rotate(90deg); animation: none; }
  .plans { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
  .plans-hi { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
  .band { grid-template-columns: 1fr 1fr; }
  .band .cell + .cell { border-left: none; padding-left: 0; }
  .tool-grid { grid-template-columns: 1fr; }
  .cta-panel { flex-direction: column; text-align: center; }
}
@media (max-width: 640px) {
  header { padding-left: 16px; padding-right: 16px; }
  header nav a:not(.btn) { display: none; }
  header nav .btn { padding: 9px 15px; font-size: .82rem; white-space: nowrap; }
  .brand { font-size: 1.05rem; }
  .brand img { width: 32px; }
  .band { grid-template-columns: 1fr; }
  .mini-cards, .doc-types { grid-template-columns: 1fr; }
  .art-frame { aspect-ratio: 4 / 3; }
}
