/* =========================================================
   Site público — tokens e layout (RefUnion → PHP)
   ========================================================= */
:root {
  --radius: 0.5rem;
  --background: #f6f8fb;
  --foreground: #18233a;
  --card: #ffffff;
  --muted: #eef2f7;
  --muted-foreground: #6b7289;
  --border: #dde3ee;
  --primary: #2bbf8e;
  --primary-foreground: #f7fafc;
  --primary-soft: #e6faf3;
  --navy: #18233a;
  --navy-soft: #24324d;
  --destructive: #dc3d3d;
  --amber: #e8a317;
  --amber-soft: #fff4db;
  --surface: #f6f8fb;
  --shadow-soft: 0 14px 40px -24px rgba(24, 35, 58, 0.3);
  --shadow-lift: 0 28px 64px -30px rgba(18, 24, 40, 0.48);
  --font-sans: "Manrope", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Sora", ui-sans-serif, system-ui, sans-serif;
  --container: 80rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; line-height: 1.15; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}
@media (min-width: 1024px) {
  .container { width: min(100% - 4rem, var(--container)); }
}

.text-balance { text-wrap: balance; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-size: 0.875rem;
  font-weight: 800;
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.btn--sm { min-height: 2.5rem; padding: 0.55rem 1rem; font-size: 0.8rem; }
.btn--primary { background: var(--primary); color: var(--primary-foreground); border-color: var(--primary); }
.btn--primary:hover { background: #24a97d; }
.btn--outline { background: var(--card); color: var(--foreground); border-color: var(--border); }
.btn--outline:hover { border-color: var(--primary); }
.btn--outline-dark {
  background: transparent;
  color: var(--primary-foreground);
  border-color: rgba(255,255,255,.3);
}
.btn--outline-dark:hover { background: rgba(255,255,255,.08); }
.btn--light {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}
.btn--light:hover { background: #f0f4f8; }
.btn--block { width: 100%; }

/* Brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}
.brand__mark {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--primary-foreground);
}
.brand--inverse .brand__mark { background: var(--primary); color: var(--primary-foreground); }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text strong { font-family: var(--font-display); font-size: 0.95rem; color: var(--navy); }
.brand__text span {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}
.brand--inverse .brand__text strong,
.brand--inverse .brand__text span { color: var(--primary-foreground); }
.brand--inverse .brand__text span { opacity: .65; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(221, 227, 238, 0.8);
  background: rgba(246, 248, 251, 0.95);
  backdrop-filter: blur(10px);
}
.anchor-target {
  position: relative;
  top: -5rem;
  height: 0;
  width: 0;
  overflow: hidden;
  pointer-events: none;
}
#solucoes,
#demonstracao,
#planos,
#depoimentos,
#demo,
#inicio {
  scroll-margin-top: 5rem;
}
.site-header__inner {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
  min-height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.site-nav {
  display: none;
  align-items: center;
  gap: 1.75rem;
}
.site-nav a {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted-foreground);
}
.site-nav a:hover { color: var(--foreground); }
.site-header__actions { display: none; align-items: center; gap: 0.75rem; }
.nav-toggle {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--foreground);
}
.site-mobile-nav {
  border-top: 1px solid var(--border);
  background: var(--card);
  padding: 1.25rem;
}
.site-mobile-nav nav { display: flex; flex-direction: column; }
.site-mobile-nav nav a {
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  font-size: 0.875rem;
  font-weight: 700;
}
.site-mobile-nav__actions {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
@media (min-width: 1024px) {
  .site-nav, .site-header__actions { display: flex; }
  .nav-toggle, .site-mobile-nav { display: none !important; }
}

/* Section helpers */
.section { padding: 5rem 0; }
@media (min-width: 1024px) { .section { padding: 7rem 0; } }
.section--surface { background: var(--surface); }
.section--navy { background: var(--navy); color: var(--primary-foreground); }
.eyebrow {
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
}
.section-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--navy);
  max-width: 40rem;
}
.section--navy .section-title { color: var(--primary-foreground); }
.section-text {
  margin-top: 1rem;
  max-width: 40rem;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--muted-foreground);
}
.section--navy .section-text { color: rgba(247, 250, 252, 0.65); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .section-title,
.section-head--center .section-text { margin-inline: auto; }

/* Hero */
.hero {
  overflow: hidden;
  background-color: var(--navy);
  color: var(--primary-foreground);
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 40px 40px;
}
.hero__grid {
  display: grid;
  gap: 3.5rem;
  align-items: center;
  padding: 4.5rem 0;
}
@media (min-width: 1024px) {
  .hero__grid {
    grid-template-columns: 0.92fr 1.08fr;
    padding: 6rem 0;
  }
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(43, 191, 142, 0.3);
  background: rgba(43, 191, 142, 0.1);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
}
.hero h1 {
  max-width: 48rem;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 700;
  line-height: 1.08;
}
.hero__lead {
  margin-top: 1.5rem;
  max-width: 36rem;
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(247, 250, 252, 0.7);
}
.hero__cta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2rem;
}
@media (min-width: 640px) { .hero__cta { flex-direction: row; } }
.hero__social {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.1);
}
.avatar-stack { display: flex; }
.avatar-stack span {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  margin-left: -0.5rem;
  border: 2px solid var(--navy);
  border-radius: 999px;
  background: var(--navy-soft);
  font-size: 0.55rem;
  font-weight: 700;
}
.avatar-stack span:first-child { margin-left: 0; }
.hero__social p {
  max-width: 20rem;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.4;
  color: rgba(247,250,252,.65);
}
.hero__social b { color: #fff; }

/* Dashboard preview */
.dash-preview { position: relative; width: 100%; max-width: 42rem; margin-inline: auto; }
.dash-preview__glow {
  position: absolute;
  inset: -1.25rem;
  border-radius: 0.75rem;
  background: rgba(43, 191, 142, 0.15);
  filter: blur(48px);
}
.dash-card {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  border: 1px solid rgba(255,255,255,.15);
  background: #fff;
  box-shadow: var(--shadow-lift);
  color: var(--foreground);
}
.dash-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.dash-dots { display: flex; gap: 0.35rem; }
.dash-dots i {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 999px;
  display: block;
}
.dash-dots .r { background: var(--destructive); }
.dash-dots .y { background: var(--amber); }
.dash-dots .g { background: var(--primary); }
.dash-card__top span {
  font-size: 0.625rem;
  font-weight: 700;
  color: var(--muted-foreground);
}
.dash-card__body {
  display: grid;
  grid-template-columns: 4rem 1fr;
  min-height: 22rem;
}
@media (min-width: 640px) { .dash-card__body { grid-template-columns: 8.125rem 1fr; } }
.dash-aside {
  padding: 0.75rem;
  border-right: 1px solid rgba(255,255,255,.08);
  background: var(--navy);
  color: var(--primary-foreground);
}
.dash-aside__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
  font-size: 0.75rem;
  font-weight: 700;
}
.dash-aside__brand span { display: none; }
@media (min-width: 640px) { .dash-aside__brand span { display: inline; } }
.dash-aside__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  padding: 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.625rem;
  color: rgba(247,250,252,.55);
}
.dash-aside__item.is-active { background: rgba(43,191,142,.2); color: var(--primary); }
.dash-aside__item span { display: none; }
@media (min-width: 640px) { .dash-aside__item span { display: inline; } }
.dash-main { padding: 1rem; }
@media (min-width: 640px) { .dash-main { padding: 1.25rem; } }
.dash-main__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.dash-main__head p {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--muted-foreground);
}
.dash-main__head h3 { font-size: 1rem; color: var(--navy); }
.pill {
  display: inline-flex;
  border-radius: 0.25rem;
  padding: 0.25rem 0.5rem;
  font-size: 0.55rem;
  font-weight: 800;
}
.pill--ok { background: var(--primary-soft); color: var(--primary); }
.pill--warn { background: var(--amber-soft); color: var(--amber); }
.pill--danger { background: rgba(220,61,61,.1); color: var(--destructive); }
.stat-grid {
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 640px) { .stat-grid { grid-template-columns: repeat(3, 1fr); } }
.stat-box {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  padding: 0.75rem;
}
.stat-box strong { display: block; font-size: 1.125rem; color: var(--navy); }
.stat-box span { font-size: 0.55rem; font-weight: 600; color: var(--muted-foreground); }
.dash-panels {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.75rem;
}
@media (min-width: 768px) { .dash-panels { grid-template-columns: 1.1fr 0.9fr; } }
.panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  padding: 1rem;
}
.panel--alert {
  border-color: rgba(220,61,61,.2);
  background: rgba(220,61,61,.05);
}
.panel__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.avatar {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}

/* Pillars */
.pillars-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 3rem;
}
@media (min-width: 1024px) { .pillars-grid { grid-template-columns: repeat(3, 1fr); } }
.pillar-card {
  border-top: 4px solid var(--navy);
  background: var(--card);
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
  transition: transform .2s;
}
.pillar-card:hover { transform: translateY(-4px); }
.pillar-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.icon-box {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius);
  background: var(--primary-soft);
  color: var(--primary);
}
.pillar-num {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--border);
}
.pillar-card h3 { margin-top: 1.5rem; font-size: 1.25rem; line-height: 1.4; }
.pillar-card p {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}
.pillar-card a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--primary);
}

/* Module demo tabs */
.tabs {
  display: flex;
  flex-direction: column;
  max-width: 42rem;
  margin: 2.5rem auto 0;
  padding: 0.25rem;
  border-radius: var(--radius);
  background: var(--muted);
}
@media (min-width: 640px) { .tabs { flex-direction: row; } }
.tabs__btn {
  flex: 1;
  min-height: 2.75rem;
  border: 0;
  border-radius: 0.25rem;
  background: transparent;
  color: var(--muted-foreground);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0 1rem;
}
.tabs__btn.is-active {
  background: var(--card);
  color: var(--navy);
  box-shadow: 0 1px 2px rgba(0,0,0,.06);
}
.module-panel {
  display: none;
  overflow: hidden;
  margin-top: 1.75rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: var(--card);
  box-shadow: var(--shadow-lift);
}
.module-panel.is-active { display: block; }
.module-panel__grid {
  display: grid;
  min-height: 26rem;
}
@media (min-width: 1024px) {
  .module-panel__grid { grid-template-columns: 0.34fr 0.66fr; }
}
.module-panel__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
  background: var(--navy);
  color: var(--primary-foreground);
}
.module-panel__copy h3 { margin-top: 1.25rem; font-size: 1.5rem; }
.module-panel__copy p {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(247,250,252,.65);
}
.module-panel__visual {
  display: grid;
  place-items: center;
  padding: 1.25rem;
}
@media (min-width: 640px) { .module-panel__visual { padding: 2.25rem; } }

.data-table-wrap {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.data-table-wrap__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.data-table-wrap__head b { font-size: 0.875rem; }
.table-scroll { overflow-x: auto; }
table.data {
  width: 100%;
  min-width: 500px;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.75rem;
}
table.data thead { background: var(--muted); color: var(--muted-foreground); }
table.data th, table.data td { padding: 0.75rem; font-weight: 700; }
table.data tbody tr { border-top: 1px solid var(--border); }

/* Digital ID */
.digital-id {
  width: 250px;
  border: 8px solid var(--navy);
  border-radius: 2rem;
  background: var(--card);
  padding: 0.75rem;
  box-shadow: var(--shadow-lift);
}
.digital-id__inner {
  border-radius: 1rem;
  background: var(--navy);
  color: var(--primary-foreground);
  text-align: center;
  padding: 1.25rem;
}
.digital-id__inner p {
  margin-top: 0.5rem;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247,250,252,.6);
}
.digital-id__qr {
  margin-top: 1rem;
  border-radius: 0.5rem;
  background: #fff;
  color: var(--navy);
  padding: 0.75rem;
}
.digital-id__status {
  margin-top: 0.75rem;
  border-radius: 0.25rem;
  background: rgba(43,191,142,.15);
  color: var(--primary);
  padding: 0.5rem;
  font-size: 0.55rem;
  font-weight: 700;
}

/* ROI */
.roi-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) { .roi-grid { grid-template-columns: 0.8fr 1.2fr; } }
.roi-card {
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 0.5rem;
  background: #fff;
  color: var(--navy);
  padding: 1.5rem;
  box-shadow: var(--shadow-lift);
}
@media (min-width: 640px) { .roi-card { padding: 2.25rem; } }
.roi-card input[type="range"] {
  width: 100%;
  margin-top: 1.75rem;
  accent-color: var(--primary);
}
.roi-scale {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
  font-size: 0.625rem;
  font-weight: 700;
  color: var(--muted-foreground);
}
.roi-result {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.roi-result strong {
  display: block;
  margin-top: 0.5rem;
  font-family: var(--font-display);
  font-size: 2.25rem;
  color: var(--primary);
}

/* Pricing */
.billing-toggle {
  display: flex;
  width: fit-content;
  margin: 2rem auto 0;
  padding: 0.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--muted);
}
.billing-toggle button {
  border: 0;
  border-radius: 0.25rem;
  background: transparent;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--muted-foreground);
}
.billing-toggle button.is-active {
  background: var(--card);
  color: var(--navy);
  box-shadow: 0 1px 2px rgba(0,0,0,.06);
}
.billing-toggle .off { color: var(--primary); }
.plans-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.75rem;
  align-items: stretch;
  justify-content: center;
}
.plans-grid--centered {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18.5rem), 22rem));
  justify-content: center;
  justify-items: stretch;
}
@media (min-width: 1024px) {
  .plans-grid:not(.plans-grid--centered) {
    grid-template-columns: repeat(3, 1fr);
  }
}
.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: var(--card);
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
  text-align: center;
  max-width: 22rem;
  width: 100%;
  margin-inline: auto;
}
.plan-card.is-popular {
  border: 2px solid var(--primary);
}
@media (min-width: 1024px) {
  .plan-card.is-popular { transform: translateY(-0.75rem); }
}
.plan-card__ribbon {
  position: absolute;
  inset-inline: 0;
  top: 0;
  background: var(--primary);
  color: var(--primary-foreground);
  text-align: center;
  padding: 0.5rem;
  font-size: 0.625rem;
  font-weight: 800;
  text-transform: uppercase;
  border-radius: 0.4rem 0.4rem 0 0;
}
.plan-card.is-popular .plan-card__body { padding-top: 1.5rem; }
.plan-badge {
  display: inline-flex;
  border-radius: 0.25rem;
  padding: 0.25rem 0.625rem;
  font-size: 0.625rem;
  font-weight: 800;
  text-transform: uppercase;
  background: var(--muted);
  color: var(--muted-foreground);
}
.plan-badge--hot { background: var(--primary-soft); color: var(--primary); }
.plan-card h3 {
  margin-top: 1.25rem;
  font-size: 1.25rem;
  text-transform: uppercase;
}
.plan-card .desc {
  margin-top: 0.5rem;
  min-height: 2.5rem;
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--muted-foreground);
}
.plan-price { margin-top: 1.25rem; }
.plan-price strong {
  font-family: var(--font-display);
  font-size: 2.25rem;
}
.plan-price .save {
  margin-top: 0.5rem;
  font-size: 0.625rem;
  font-weight: 700;
  color: var(--primary);
}
.plan-card ul {
  flex: 1;
  margin: 1.75rem 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  text-align: left;
}
.plan-card li {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--foreground);
}
.plan-card li svg { flex-shrink: 0; margin-top: 0.1rem; color: var(--primary); }

/* Testimonials */
.quotes-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.75rem;
}
@media (min-width: 1024px) { .quotes-grid { grid-template-columns: repeat(3, 1fr); } }
.quote-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
}
.quote-card .stars { color: var(--amber); margin-bottom: 1.25rem; letter-spacing: 0.1em; }
.quote-card blockquote {
  flex: 1;
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.75;
}
.quote-card figcaption {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}
.quote-card small { font-size: 0.625rem; color: var(--muted-foreground); }

/* FAQ */
.faq-grid {
  display: grid;
  gap: 3rem;
}
@media (min-width: 1024px) { .faq-grid { grid-template-columns: 0.38fr 0.62fr; } }
.faq-list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border: 0;
  background: transparent;
  text-align: left;
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--foreground);
}
.faq-item button svg { flex-shrink: 0; transition: transform .2s; }
.faq-item.is-open button svg { transform: rotate(180deg); color: var(--primary); }
.faq-item__a {
  display: none;
  max-width: 40rem;
  padding: 0 2.5rem 1.5rem 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}
.faq-item.is-open .faq-item__a { display: block; }
.faq-hint {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
}

/* CTA + Footer */
.cta-band {
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 3.5rem 0;
}
.cta-band__inner {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  align-items: flex-start;
  justify-content: space-between;
}
@media (min-width: 1024px) {
  .cta-band__inner {
    flex-direction: row;
    align-items: center;
  }
}
.cta-band h2 { font-size: clamp(1.5rem, 3vw, 1.875rem); max-width: 40rem; }
.cta-band p { margin-top: 0.5rem; font-size: 0.875rem; opacity: .85; }

.site-footer {
  background: var(--navy);
  color: var(--primary-foreground);
  padding: 3.5rem 0;
}
.site-footer__top {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
  justify-content: space-between;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
@media (min-width: 1024px) {
  .site-footer__top { flex-direction: row; }
}
.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(247,250,252,.6);
}
.site-footer__links a:hover { color: #fff; }
.site-footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1.75rem;
  font-size: 0.625rem;
  color: rgba(247,250,252,.45);
}
@media (min-width: 640px) {
  .site-footer__bottom { flex-direction: row; justify-content: space-between; }
}

/* Auth pages */
.auth-page {
  min-height: calc(100vh - 4.5rem);
  display: grid;
  place-items: center;
  padding: 2.5rem 1.25rem 4rem;
}
.auth-shell {
  width: min(100%, 520px);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--card);
  box-shadow: var(--shadow-lift);
  padding: 2rem 1.5rem;
}
@media (min-width: 640px) {
  .auth-shell { padding: 2.5rem; }
}
.auth-shell h1 {
  font-size: 1.75rem;
  text-align: center;
}
.auth-shell .subtitle {
  margin: 0.5rem 0 1.5rem;
  text-align: center;
  color: var(--muted-foreground);
  font-size: 0.9rem;
}
.auth-field {
  width: 100%;
  height: 3rem;
  margin-bottom: 0.75rem;
  padding: 0 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  font-size: 0.95rem;
  color: var(--foreground);
}
.auth-field:focus {
  outline: 2px solid rgba(43,191,142,.35);
  border-color: var(--primary);
}
.auth-help {
  margin: -0.35rem 0 0.85rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}
.auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0.5rem 0 1.25rem;
  font-size: 0.875rem;
}
.auth-row a { color: var(--navy); font-weight: 600; }
.auth-alert {
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  font-size: 0.875rem;
}
.auth-alert--danger {
  background: #ffe3e3;
  border: 1px solid #ffc9c9;
  color: #a61e1e;
}
.auth-alert--success {
  background: #e6fcf5;
  border: 1px solid #c3fae8;
  color: #087f5b;
}
.auth-section-label {
  margin: 0.75rem 0 0.65rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}
.auth-msg { font-size: 0.8rem; min-height: 1.1rem; margin-bottom: 0.5rem; }
.auth-msg.ok { color: #087f5b; }
.auth-msg.error { color: #c92a2a; }
.auth-footer-link {
  margin-top: 1.25rem;
  text-align: center;
  font-size: 0.875rem;
}
.auth-footer-link a { font-weight: 700; color: var(--primary); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
