/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }

/* ── Tokens ── */
:root {
  --blue:         #2563EB;
  --blue-dark:    #1D4ED8;
  --blue-light:   #EFF6FF;
  --grafite:      #1F2937;
  --gray:         #6B7280;
  --gray-mid:     #9CA3AF;
  --gray-light:   #F3F4F6;
  --border:       #E5E7EB;
  --white:        #FFFFFF;
  --warn-bg:      #FEF3C7;
  --warn:         #D97706;
  --green-bg:     #D1FAE5;
  --green:        #059669;
  --red:          #DC2626;

  --radius-sm:    6px;
  --radius:       10px;
  --radius-lg:    16px;
  --radius-xl:    24px;

  --shadow-sm:    0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow:       0 4px 16px rgba(0,0,0,.08), 0 1px 4px rgba(0,0,0,.04);
  --shadow-lg:    0 12px 40px rgba(0,0,0,.1), 0 4px 12px rgba(0,0,0,.06);

  --nav-h:        88px;
}

/* ── Base ── */
body {
  font-family: 'Open Sans', sans-serif;
  background: var(--white);
  color: var(--grafite);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ── Layout ── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ── Typography helpers ── */
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}
.section-title {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -.6px;
  line-height: 1.2;
  color: var(--grafite);
  margin-bottom: 20px;
}
.section-lead {
  font-size: 18px;
  color: var(--gray);
  max-width: 580px;
  line-height: 1.7;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 24px;
  height: 48px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: background .15s, transform .12s, box-shadow .15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--blue);
  color: var(--white);
}
.btn--primary:hover { background: var(--blue-dark); box-shadow: 0 4px 12px rgba(37,99,235,.3); }

.btn--secondary {
  background: var(--white);
  color: var(--grafite);
  border: 1.5px solid var(--border);
}
.btn--secondary:hover { border-color: #D1D5DB; box-shadow: var(--shadow-sm); }

.btn--ghost-white {
  background: rgba(255,255,255,.12);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.25);
}
.btn--ghost-white:hover { background: rgba(255,255,255,.2); }

.btn--lg { height: 56px; padding: 0 32px; font-size: 16px; border-radius: 12px; }
.btn--sm { height: 40px; padding: 0 18px; font-size: 14px; }

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  transition: box-shadow .2s;
}
.nav.scrolled { box-shadow: var(--shadow); }

.nav .container { width: 100%; }

.nav__inner {
  display: flex;
  align-items: center;
  gap: 0;
}
.nav__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  text-decoration: none;
}
.nav__logo svg { height: 34px; width: auto; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 40px;
  flex: 1;
}
.nav__link {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: color .15s, background .15s;
}
.nav__link:hover { color: var(--grafite); background: var(--gray-light); }
.nav__link--active { color: var(--grafite); }

.nav__cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* ── HERO ── */
.hero {
  padding-top: calc(var(--nav-h) + 80px);
  padding-bottom: 100px;
  background: linear-gradient(160deg, #F8FAFF 0%, var(--white) 60%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(37,99,235,.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero__label {
  display: inline-flex;
  align-items: center;
  background: var(--blue-light);
  border: 1px solid #BFDBFE;
  border-radius: 99px;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .6px;
  color: var(--blue);
  margin-bottom: 20px;
}
.hero__title {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -1.2px;
  line-height: 1.1;
  color: var(--grafite);
  margin-bottom: 20px;
}
.hero__title em {
  font-style: normal;
  color: var(--blue);
}
.hero__sub {
  font-size: 18px;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}
.hero__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.hero__trust {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.hero__trust-item {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gray);
  background: var(--gray-light);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 4px 14px;
}

/* ── App mockup ── */
.hero__app {
  position: relative;
}
.hero__avatar-card {
  position: absolute;
  left: -28px;
  bottom: -28px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 12px 18px 12px 12px;
}
.hero__avatar-photo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  flex-shrink: 0;
}
.hero__avatar-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.hero__avatar-text strong {
  font-size: 14px;
  color: var(--grafite);
  font-weight: 700;
}
.hero__avatar-text span {
  font-size: 13px;
  color: var(--gray);
}
@media (max-width: 860px) {
  .hero__avatar-card { left: 12px; bottom: -20px; }
}

.produto-app-wrap { position: relative; }
.produto-avatar-card {
  position: absolute;
  right: -20px;
  bottom: -20px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 12px 18px 12px 12px;
}
.produto-avatar-photo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  flex-shrink: 0;
}
.produto-avatar-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.produto-avatar-text strong {
  font-size: 14px;
  color: var(--grafite);
  font-weight: 700;
}
.produto-avatar-text span {
  font-size: 13px;
  color: var(--gray);
}
@media (max-width: 860px) {
  .produto-avatar-card { right: 12px; bottom: -20px; }
}

.admin-visual-panel {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 32px;
  overflow: hidden;
  background-image: linear-gradient(rgba(31,41,55,.93), rgba(31,41,55,.97)), url('../assets/admin-predio.png');
  background-size: cover;
  background-position: center;
}
.admin-visual-panel > * { position: relative; z-index: 1; }
.app-window {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.app-window__bar {
  background: var(--gray-light);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
}
.app-window__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.app-window__dot:nth-child(1) { background: #FC5E57; }
.app-window__dot:nth-child(2) { background: #FDBC2C; }
.app-window__dot:nth-child(3) { background: #33C748; }
.app-window__url {
  flex: 1;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 4px 12px;
  font-size: 12px;
  color: var(--gray);
  text-align: center;
  border: 1px solid var(--border);
}
.app-window__body {
  display: grid;
  grid-template-columns: 160px 1fr;
  min-height: 320px;
}
.app-sidebar {
  background: var(--grafite);
  padding: 16px 12px;
}
.app-sidebar__logo {
  padding: 4px 8px 16px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 12px;
}
.app-sidebar__logo svg { height: 16px; width: auto; }
.app-nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  color: #9CA3AF;
  margin-bottom: 2px;
  cursor: default;
}
.app-nav-item--active { background: rgba(255,255,255,.1); color: var(--white); }
.app-nav-item__dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.app-main {
  padding: 16px;
  background: #F9FAFB;
}
.app-main__title {
  font-size: 13px;
  font-weight: 700;
  color: var(--grafite);
  margin-bottom: 12px;
}
.app-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}
.app-stat {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px;
  text-align: center;
}
.app-stat__val { font-size: 18px; font-weight: 800; color: var(--grafite); line-height: 1; }
.app-stat__val--blue { color: var(--blue); }
.app-stat__val--amber { color: #D97706; }
.app-stat__val--green { color: var(--green); }
.app-stat__label { font-size: 10px; color: var(--gray); margin-top: 3px; }
.app-task {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.app-task__badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 99px;
  white-space: nowrap;
  flex-shrink: 0;
}
.app-task__badge--blue { background: #DBEAFE; color: var(--blue); }
.app-task__badge--amber { background: var(--warn-bg); color: var(--warn); }
.app-task__badge--green { background: var(--green-bg); color: var(--green); }
.app-task__badge--red { background: #FEE2E2; color: var(--red); }
.app-task__text { font-size: 11px; color: var(--grafite); }

/* ── STATS BAND ── */
.stats-band {
  background: var(--grafite);
  padding: 56px 0;
}
.stats-band__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  divide-x: 1px solid rgba(255,255,255,.1);
}
.stat-block {
  padding: 0 40px;
  border-right: 1px solid rgba(255,255,255,.1);
  text-align: center;
}
.stat-block:first-child { border-left: 1px solid rgba(255,255,255,.1); }
.stat-block__num {
  font-size: 44px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-block__num span { color: var(--blue); }
.stat-block__label { font-size: 14px; color: #9CA3AF; }

/* ── SECTIONS shared ── */
section { padding: 96px 0; }
section.section--alt { background: var(--gray-light); }
section.section--dark { background: var(--grafite); }

.section__header { margin-bottom: 56px; }
.section__header--center { text-align: center; }
.section__header--center .section-lead { margin: 0 auto; }

/* ── PRODUTO ── */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.feature-item {}
.feature-item__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.feature-item__icon {
  width: 40px; height: 40px;
  background: var(--blue-light);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--blue);
}
.feature-item__icon svg { width: 20px; height: 20px; }
.feature-item__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--grafite);
}
.feature-item__text {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.65;
  padding-left: 52px;
}

.views-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 40px;
}
.view-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 12px;
  text-align: center;
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s, transform .12s;
}
.view-card:hover { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,.1); transform: translateY(-2px); }
.view-card__icon { margin-bottom: 8px; color: var(--blue); }
.view-card__icon svg { width: 22px; height: 22px; }
.view-card__label { font-size: 12px; font-weight: 600; color: var(--grafite); }

/* ── PARA ADMINISTRADORAS ── */
.admin-section { background: var(--grafite); }
.admin-section .eyebrow { color: #93C5FD; }
.admin-section .section-title { color: var(--white); }
.admin-section .section-lead { color: #D1D5DB; }

.partner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  counter-reset: step;
}
.step {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.step:last-child { border-bottom: none; }
.step__num {
  counter-increment: step;
  content: counter(step);
  width: 36px; height: 36px;
  background: var(--blue);
  color: white;
  font-size: 15px;
  font-weight: 700;
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.step__title { font-size: 15px; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.step__text { font-size: 14px; color: #9CA3AF; line-height: 1.6; }

/* ── Calculadora ── */
.calc-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-xl);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.calc-card__title { font-size: 15px; font-weight: 700; color: var(--white); margin-bottom: 24px; }

.calc-slider-group { margin-bottom: 24px; }
.calc-slider-group label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #9CA3AF;
  margin-bottom: 8px;
}
.calc-slider-group label strong { color: var(--white); font-weight: 700; }
input[type="range"] {
  width: 100%;
  height: 4px;
  border-radius: 99px;
  appearance: none;
  -webkit-appearance: none;
  background: rgba(255,255,255,.15);
  outline: none;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--blue);
  border: 2px solid white;
  box-shadow: 0 2px 4px rgba(0,0,0,.3);
}

.calc-result {
  background: rgba(37,99,235,.2);
  border: 1px solid rgba(37,99,235,.4);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  margin-top: 8px;
}
.calc-result__eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #93C5FD; margin-bottom: 8px; }
.calc-result__num { font-size: 44px; font-weight: 800; color: var(--white); letter-spacing: -1px; line-height: 1; }
.calc-result__period { font-size: 14px; color: #9CA3AF; margin-top: 4px; }
.calc-result__annual { font-size: 18px; font-weight: 700; color: #93C5FD; margin-top: 12px; }

/* ── PLANOS ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}
.plan {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  position: relative;
  transition: box-shadow .2s, transform .2s;
}
.plan:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.plan--highlight {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(37,99,235,.08);
}
.plan__badge {
  position: absolute;
  top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--blue);
  color: white;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .5px;
  padding: 4px 16px;
  border-radius: 99px;
  white-space: nowrap;
}
.plan__name { font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--gray); margin-bottom: 8px; }
.plan__price {
  font-size: 40px;
  font-weight: 800;
  color: var(--grafite);
  letter-spacing: -1px;
  line-height: 1;
}
.plan__price sup { font-size: 18px; font-weight: 600; vertical-align: top; margin-top: 8px; display: inline-block; }
.plan__price span { font-size: 15px; font-weight: 400; color: var(--gray); }
.plan__range { font-size: 14px; color: var(--gray); margin-top: 8px; margin-bottom: 20px; }
.plan__revshare {
  background: var(--green-bg);
  border-radius: var(--radius);
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 20px;
}
.plan__features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.plan__feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--gray);
}
.plan__feature-check {
  width: 18px; height: 18px;
  background: var(--green-bg);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.plan__feature-check svg { width: 10px; height: 10px; color: var(--green); }

/* ── CTA FINAL ── */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #1E3A8A 0%, var(--blue) 50%, #1D4ED8 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -100px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,.08) 0%, transparent 60%);
  pointer-events: none;
}
.cta-section .section-title { color: var(--white); }
.cta-section .section-lead { color: rgba(255,255,255,.75); margin: 0 auto 36px; }
.cta-section__actions { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.cta-section__note { margin-top: 16px; font-size: 13px; color: rgba(255,255,255,.5); }

/* ── FOOTER ── */
.footer {
  background: var(--grafite);
  padding: 56px 0 32px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer__brand {}
.footer__brand-logo { margin-bottom: 12px; }
.footer__brand-logo svg { height: 20px; width: auto; }
.footer__brand-text { font-size: 14px; color: #6B7280; line-height: 1.6; max-width: 240px; }
.footer__col-title { font-size: 13px; font-weight: 700; color: var(--white); margin-bottom: 14px; letter-spacing: .3px; }
.footer__links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer__links a { font-size: 14px; color: #6B7280; text-decoration: none; transition: color .15s; }
.footer__links a:hover { color: var(--gray-mid); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: #4B5563;
}
.footer__bottom a { color: #4B5563; text-decoration: none; }
.footer__bottom a:hover { color: #6B7280; }

/* ── MOBILE ── */
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .section-title { font-size: 28px; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__app { display: none; }
  .hero__title { font-size: 36px; }
  .stats-band__grid { grid-template-columns: repeat(2, 1fr); }
  .stat-block { padding: 24px 20px; }
  .feature-grid { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .views-grid { grid-template-columns: repeat(3, 1fr); }
  .nav__links { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
