/* ========================================================================
   MedCentral — Landing Page
   Design system: blue → teal gradient inspired by the brand logo
   ======================================================================== */

:root {
  /* Brand */
  --brand: #2E86E6;
  --brand-600: #1E6FD8;
  --brand-700: #175CBC;
  --teal: #33CFC4;
  --teal-600: #22B3A9;
  --grad: linear-gradient(120deg, #2E9BE8 0%, #38D3C6 100%);
  --grad-strong: linear-gradient(120deg, #1E6FD8 0%, #2AB7C4 100%);

  /* Ink & surfaces */
  --ink: #0F1B2E;
  --ink-700: #33425A;
  --ink-500: #5B6B82;
  --line: #E5EBF2;
  --bg: #FFFFFF;
  --bg-soft: #F5F8FC;
  --bg-tint: #EEF5FD;

  /* Shape */
  --radius: 16px;
  --radius-lg: 24px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 8px rgba(16, 33, 60, .06);
  --shadow: 0 12px 34px rgba(16, 43, 84, .10);
  --shadow-lg: 0 30px 70px rgba(16, 43, 84, .18);

  --container: 1160px;
  --font: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-display: "Inter Tight", var(--font);
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
svg { display: block; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.nav-backdrop { display: none; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.container--narrow { max-width: 820px; }
.section { padding: 96px 0; }
.section--alt { background: var(--bg-soft); }

.eyebrow {
  display: inline-block; font-family: var(--font-display); font-weight: 700;
  font-size: .8rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--brand-600); margin-bottom: 16px;
}
.eyebrow--center { display: block; text-align: center; }

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

.section__head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section__head h2 { margin-bottom: 16px; }
.section__head p { color: var(--ink-500); font-size: 1.12rem; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.12; letter-spacing: -.02em; color: var(--ink); }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.25rem; }

.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  padding: 13px 24px; border-radius: 999px; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn--sm { padding: 9px 18px; font-size: .92rem; }
.btn--lg { padding: 16px 30px; font-size: 1.05rem; }
.btn--primary { background: var(--grad-strong); color: #fff; box-shadow: 0 10px 24px rgba(30, 111, 216, .28); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(30, 111, 216, .36); }
.btn--ghost { background: #fff; color: var(--brand-700); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1.5px var(--brand); color: var(--brand-700); }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--grad-strong); color: #fff; font-size: .92rem;
  position: relative; z-index: 60;
}
.topbar__inner { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 9px 24px; flex-wrap: wrap; text-align: center; }
.topbar p { margin: 0; }
.topbar__pill {
  font-family: var(--font-display); font-weight: 700; font-size: .72rem; letter-spacing: .05em;
  text-transform: uppercase; background: rgba(255, 255, 255, .22); padding: 3px 10px; border-radius: 999px;
}
.topbar__link { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.topbar__link:hover { opacity: .85; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s ease, box-shadow .2s ease;
}
.header.is-stuck { border-color: var(--line); box-shadow: var(--shadow-sm); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand__logo { height: 40px; width: auto; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav > a:not(.btn) { font-weight: 500; color: var(--ink-700); font-size: .98rem; transition: color .15s ease; }
.nav > a:not(.btn):hover { color: var(--brand-600); }

.nav-toggle { display: none; width: 44px; height: 44px; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 92px; overflow: hidden; }
.hero__glow {
  position: absolute; inset: -20% -10% auto -10%; height: 620px; z-index: 0;
  background:
    radial-gradient(60% 60% at 78% 12%, rgba(56, 211, 198, .28), transparent 60%),
    radial-gradient(55% 60% at 20% 0%, rgba(46, 134, 230, .22), transparent 60%);
  filter: blur(6px);
}
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero__grid > * { min-width: 0; }
.hero__copy { max-width: 620px; }
.hero__copy h1 { overflow-wrap: break-word; }
.eyebrow { }
.hero__lead { font-size: 1.2rem; color: var(--ink-700); margin: 22px 0 32px; max-width: 560px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__badges { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 30px; }
.hero__badges li { display: flex; align-items: center; gap: 8px; font-size: .95rem; color: var(--ink-700); font-weight: 500; }
.hero__badges .i { width: 18px; height: 18px; color: var(--teal-600); stroke-width: 2.6; }

/* Hero mockup */
.hero__preview { position: relative; }
.mock {
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  border: 1px solid var(--line); overflow: hidden; transform: perspective(1400px) rotateY(-7deg) rotateX(3deg);
  transition: transform .5s ease;
}
.hero__preview:hover .mock { transform: perspective(1400px) rotateY(-3deg) rotateX(1deg); }
.mock__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.mock__dot { width: 11px; height: 11px; border-radius: 50%; background: #D6DEE9; }
.mock__dot:nth-child(1) { background: #FF8A8A; } .mock__dot:nth-child(2) { background: #FFD07A; } .mock__dot:nth-child(3) { background: #8FE0A6; }
.mock__url { margin-left: 12px; font-size: .78rem; color: var(--ink-500); background: #fff; border: 1px solid var(--line); padding: 3px 12px; border-radius: 999px; }
.mock__body { display: grid; grid-template-columns: 66px 1fr; min-height: 340px; }
.mock__side { background: var(--ink); padding: 18px 14px; display: flex; flex-direction: column; gap: 14px; align-items: center; }
.mock__logo { width: 30px; height: 30px; border-radius: 9px; background: var(--grad); }
.mock__nav { width: 34px; height: 8px; border-radius: 5px; background: rgba(255, 255, 255, .16); }
.mock__nav.is-active { background: var(--teal); width: 34px; }
.mock__main { padding: 20px; background: var(--bg-tint); }
.mock__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.kpi { background: #fff; border-radius: 12px; padding: 12px; box-shadow: var(--shadow-sm); }
.kpi b { display: block; font-family: var(--font-display); font-size: 1.5rem; color: var(--brand-600); line-height: 1; }
.kpi small { font-size: .72rem; color: var(--ink-500); }
.mock__cal { background: #fff; border-radius: 12px; padding: 14px; box-shadow: var(--shadow-sm); }
.cal__head { display: grid; grid-template-columns: 34px repeat(5, 1fr); gap: 6px; margin-bottom: 8px; }
.cal__head span { font-size: .66rem; color: var(--ink-500); font-weight: 600; text-align: center; }
.cal__grid { display: grid; grid-template-columns: 34px repeat(5, 1fr); gap: 6px; align-items: center; }
.cal__t { font-size: .64rem; color: var(--ink-500); }
.cal__grid i { height: 20px; border-radius: 5px; background: var(--bg-soft); }
.cal__grid i.ap { background: rgba(46,134,230,.18); }
.cal__grid i.ap--a { background: rgba(46,134,230,.85); }
.cal__grid i.ap--b { background: rgba(51,207,196,.85); }
.cal__grid i.ap--c { background: rgba(46,134,230,.4); }

.mock__float {
  position: absolute; background: #fff; border-radius: 14px; box-shadow: var(--shadow);
  border: 1px solid var(--line); padding: 12px 15px; display: flex; align-items: center; gap: 11px;
}
.mock__float b { font-family: var(--font-display); font-size: .86rem; display: block; }
.mock__float small { font-size: .74rem; color: var(--ink-500); }
.mock__float .i { flex: none; }
.mock__float--1 { left: -28px; top: 30%; }
.mock__float--1 .i { width: 30px; height: 30px; padding: 6px; border-radius: 9px; color: #fff; background: var(--teal-600); stroke-width: 3; }
.mock__float--2 { right: -22px; bottom: 8%; }
.mock__float--2 .i { width: 30px; height: 30px; padding: 6px; border-radius: 9px; color: #fff; background: var(--brand); }
.mock__float--1 { animation: floaty 5s ease-in-out infinite; }
.mock__float--2 { animation: floaty 6s ease-in-out infinite .8s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---------- Stats ---------- */
.stats { border-block: 1px solid var(--line); background: #fff; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { text-align: center; padding: 34px 16px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: none; }
.stat b { display: block; font-family: var(--font-display); font-size: 2.4rem; line-height: 1; background: var(--grad-strong); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { display: block; margin-top: 8px; color: var(--ink-500); font-size: .95rem; }

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.feature__ic { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px; }
.feature__ic svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ic--blue { background: linear-gradient(135deg, #2E86E6, #1E6FD8); }
.ic--teal { background: linear-gradient(135deg, #38D3C6, #22B3A9); }
.feature h3 { margin-bottom: 10px; }
.feature p { color: var(--ink-500); font-size: .98rem; }

/* ---------- Spotlight ---------- */
.spotlight { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.spotlight__copy p { color: var(--ink-500); font-size: 1.1rem; margin-bottom: 24px; }
.checklist { display: grid; gap: 14px; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; font-weight: 500; color: var(--ink-700); }
.checklist .i { flex: none; margin-top: 3px; color: #fff; background: var(--teal-600); border-radius: 50%; width: 22px; height: 22px; padding: 4px; stroke-width: 3; }

.agenda { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow); }
.agenda__col { display: grid; gap: 10px; }
.agenda__name { font-family: var(--font-display); font-weight: 700; font-size: .82rem; text-align: center; color: var(--ink-700); padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.slot { font-size: .82rem; font-weight: 600; text-align: center; padding: 12px 4px; border-radius: 10px; font-style: normal; }
.slot--busy { background: var(--bg-soft); color: var(--ink-500); text-decoration: line-through; }
.slot--free { background: rgba(51, 207, 196, .14); color: var(--teal-600); box-shadow: inset 0 0 0 1.5px rgba(51, 207, 196, .4); }

/* ---------- Modules ---------- */
.modules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.module { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; display: flex; flex-direction: column; }
.module--featured { background: var(--ink); color: #fff; border-color: transparent; box-shadow: var(--shadow-lg); }
.module--featured h3, .module--featured .module__tag { color: #fff; }
.module__tag { display: inline-block; font-family: var(--font-display); font-weight: 700; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-600); margin-bottom: 14px; }
.module--featured .module__tag { color: var(--teal); }
.module h3 { margin-bottom: 12px; }
.module > p { color: var(--ink-500); margin-bottom: 20px; font-size: .98rem; }
.module--featured > p { color: rgba(255, 255, 255, .72); }
.module ul { display: grid; gap: 10px; margin-top: auto; }
.module li { position: relative; padding-left: 24px; font-size: .95rem; color: var(--ink-700); }
.module--featured li { color: rgba(255, 255, 255, .9); }
.module li::before { content: ""; position: absolute; left: 0; top: 8px; width: 12px; height: 8px; border-left: 2px solid var(--teal-600); border-bottom: 2px solid var(--teal-600); transform: rotate(-45deg); }
.module--featured li::before { border-color: var(--teal); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; position: relative; }
.step__num { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--grad-strong); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; margin-bottom: 16px; }
.step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { color: var(--ink-500); font-size: .94rem; }

/* ---------- Security ---------- */
.security__grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 56px; align-items: center; }
.security__copy > p { color: var(--ink-500); font-size: 1.1rem; margin-bottom: 28px; max-width: 620px; }
.security__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.scard { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px; box-shadow: var(--shadow-sm); }
.scard .i { color: var(--brand-600); width: 26px; height: 26px; margin-bottom: 12px; }
.scard b { display: block; font-family: var(--font-display); margin-bottom: 4px; }
.scard span { font-size: .9rem; color: var(--ink-500); }
.security__mark { display: grid; place-items: center; }
.shield { width: 210px; height: 210px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; box-shadow: var(--shadow-lg); position: relative; }
.shield::after { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 2px dashed rgba(46, 134, 230, .3); animation: spin 22s linear infinite; }
.shield svg { width: 96px; height: 96px; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- CTA ---------- */
.cta__box { background: var(--ink); border-radius: var(--radius-lg); padding: 64px 48px; text-align: center; position: relative; overflow: hidden; }
.cta__box::before { content: ""; position: absolute; inset: 0; z-index: 0; background: radial-gradient(60% 90% at 85% 10%, rgba(56, 211, 198, .3), transparent 55%), radial-gradient(60% 90% at 10% 100%, rgba(46, 134, 230, .35), transparent 55%); }
.cta__box > * { position: relative; z-index: 1; }
.cta__badge { display: inline-block; font-family: var(--font-display); font-weight: 700; font-size: .82rem; color: #fff; background: rgba(255, 255, 255, .14); padding: 7px 16px; border-radius: 999px; margin-bottom: 20px; }
.cta__box h2 { color: #fff; margin-bottom: 14px; }
.cta__box > p { color: rgba(255, 255, 255, .78); max-width: 620px; margin: 0 auto 30px; font-size: 1.08rem; }
.cta__form { display: flex; gap: 12px; max-width: 620px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.cta__form .field { flex: 1 1 200px; }
.cta__form input { width: 100%; padding: 15px 18px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .08); color: #fff; font-size: 1rem; font-family: inherit; }
.cta__form input::placeholder { color: rgba(255, 255, 255, .55); }
.cta__form input:focus { outline: none; border-color: var(--teal); background: rgba(255, 255, 255, .14); }
.cta__form .btn { flex: 0 0 auto; }
.cta__note { color: rgba(255, 255, 255, .6); font-size: .88rem; margin-top: 18px; }
.cta__note.is-success { color: #8FE0A6; font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 14px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 4px 24px; transition: box-shadow .2s ease, border-color .2s ease; }
.faq__item[open] { box-shadow: var(--shadow-sm); border-color: rgba(46, 134, 230, .35); }
.faq__item summary { list-style: none; cursor: pointer; font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; padding: 20px 34px 20px 0; position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.6rem; color: var(--brand-600); font-weight: 400; transition: transform .2s ease; }
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__item p { color: var(--ink-500); padding-bottom: 22px; margin-top: -4px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255, 255, 255, .72); padding: 64px 0 32px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer__logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 1.3rem; color: #fff; margin-bottom: 16px; }
.footer__logo b { font-weight: 800; }
.footer__brand p { max-width: 320px; font-size: .95rem; margin-bottom: 16px; }
.footer__beta { font-size: .85rem; color: var(--teal); font-weight: 600; }
.footer__col h4 { color: #fff; font-size: .9rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 16px; }
.footer__col a { display: block; margin-bottom: 11px; font-size: .95rem; transition: color .15s ease; }
.footer__col a:hover { color: #fff; }
.footer__muted { display: block; font-size: .88rem; color: rgba(255, 255, 255, .45); margin-top: 8px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-size: .86rem; color: rgba(255, 255, 255, .5); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero__preview { max-width: 520px; margin: 0 auto; }
  .mock { transform: none; }
  .security__grid { grid-template-columns: 1fr; gap: 40px; }
  .security__mark { order: -1; }
  .shield { width: 160px; height: 160px; }
  .shield svg { width: 74px; height: 74px; }
  .spotlight { grid-template-columns: 1fr; gap: 40px; }
  .modules, .features { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .section { padding: 68px 0; }
  /* Barra de beta (azul) removida no mobile — ocupa altura demais */
  .topbar { display: none; }

  /* Header sólido no mobile: o backdrop-filter prenderia o menu fixo
     dentro da caixa do header, então é desativado aqui. */
  .header, .header.is-stuck { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .brand { position: relative; z-index: 2; }
  .nav-toggle { display: flex; position: relative; z-index: 2; }

  /* Menu mobile: cartão dropdown ancorado abaixo do header
     (a página continua visível, apenas escurecida atrás) */
  .nav {
    position: fixed; top: calc(env(safe-area-inset-top, 0px) + 76px); left: 12px; right: 12px;
    z-index: 2; flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border: 1px solid var(--line); border-radius: 18px;
    box-shadow: var(--shadow-lg); padding: 6px 18px 18px;
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .22s ease, transform .22s ease, visibility .22s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav > a:not(.btn) {
    padding: 15px 4px; border-bottom: 1px solid var(--line); font-size: 1.05rem;
    font-family: var(--font-display); font-weight: 600; color: var(--ink);
  }
  .nav > a:not(.btn):last-of-type { border-bottom: none; }
  .nav > a:not(.btn):active { color: var(--brand-600); }
  .nav__cta { margin-top: 16px; align-self: stretch; }

  /* Backdrop que escurece a página atrás do dropdown */
  .nav-backdrop {
    display: block; position: fixed; inset: 0; z-index: 30; background: rgba(15, 27, 46, .45);
    opacity: 0; visibility: hidden; transition: opacity .22s ease, visibility .22s;
  }
  .nav-backdrop.is-open { opacity: 1; visibility: visible; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .stat:nth-child(odd) { border-left: none; }
  .features, .modules, .steps { grid-template-columns: 1fr; }
  .security__cards { grid-template-columns: 1fr; }
  .agenda { padding: 16px; gap: 8px; }
  .cta__box { padding: 44px 24px; }
  .cta__form .btn { width: 100%; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer__brand { grid-column: 1 / -1; }
  .mock__float--1 { left: -8px; }
  .mock__float--2 { right: -6px; }
}

@media (max-width: 420px) {
  .footer__grid { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
  .mock__float { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
