:root {
  --navy-950: #020814;
  --navy-900: #061D3A;
  --navy-800: #092B57;
  --navy-700: #0B3B73;
  --blue-soft: #E9F1FA;
  --silver: #D8DEE7;
  --silver-dark: #6F7781;
  --gold: #C7A45B;
  --white: #FFFFFF;
  --off: #F6F8FB;
  --ink: #152033;
  --muted: #5D6A7C;
  --line: rgba(6, 29, 58, .12);
  --shadow: 0 24px 70px rgba(4, 20, 43, .16);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background: var(--white);
  color: var(--ink);
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
.container { width: min(1120px, calc(100% - 36px)); margin: 0 auto; }
.section { padding: 92px 0; }
.section-glow {
  background:
    radial-gradient(circle at 85% 10%, rgba(199,164,91,.25), transparent 30%),
    radial-gradient(circle at 10% 25%, rgba(11,59,115,.12), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #F6F8FB 100%);
}
.soft { background: linear-gradient(180deg, #F8FAFD 0%, #FFFFFF 100%); }
.navy {
  background:
    radial-gradient(circle at 82% 0%, rgba(35,94,154,.55), transparent 34%),
    linear-gradient(145deg, var(--navy-950), var(--navy-900) 58%, #031022);
  color: var(--white);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.93);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 250px; }
.brand-symbol {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: var(--white);
  font-weight: 900;
  letter-spacing: -1.5px;
  box-shadow: 0 12px 26px rgba(6,29,58,.22);
}
.brand-copy { display: grid; line-height: 1.1; }
.brand-copy strong { color: var(--navy-900); font-size: 15px; }
.brand-copy small { color: var(--muted); font-size: 12px; margin-top: 4px; }
.menu { display: flex; align-items: center; gap: 20px; font-size: 14px; color: #3f4b5d; }
.menu a:not(.nav-cta):hover { color: var(--navy-700); }
.nav-cta {
  background: var(--navy-900);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(6,29,58,.18);
}
.nav-toggle {
  display: none;
  border: 0;
  background: var(--navy-900);
  color: var(--white);
  width: 44px;
  height: 40px;
  border-radius: 12px;
  font-size: 20px;
}

.hero { padding: 94px 0 92px; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, .96fr);
  gap: 58px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255,255,255,.13);
  color: #DCE9F8;
  text-transform: uppercase;
  letter-spacing: .09em;
  font-size: 12px;
  font-weight: 900;
}
.eyebrow.light-bg { background: rgba(11,59,115,.08); color: var(--navy-700); }
h1, h2, h3 { margin: 0; line-height: 1.06; color: var(--navy-900); letter-spacing: -1px; }
h1 { font-size: clamp(44px, 6.4vw, 80px); letter-spacing: -3.4px; margin: 18px 0; }
h2 { font-size: clamp(30px, 4vw, 50px); letter-spacing: -2px; margin: 14px 0; }
h3 { font-size: 22px; }
.navy h1, .navy h2, .navy h3 { color: var(--white); }
p { margin: 0; }
.lead { font-size: clamp(18px, 2vw, 23px); line-height: 1.62; color: #465468; max-width: 690px; }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 14px 22px;
  border: 1px solid var(--navy-900);
  font-weight: 850;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--navy-900); color: var(--white); box-shadow: 0 18px 38px rgba(6,29,58,.20); }
.button.primary:hover { background: var(--navy-700); }
.button.ghost { background: transparent; color: var(--navy-900); }
.button.full { width: 100%; margin-top: auto; }
.proof-strip { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.proof-strip span { background: var(--white); border: 1px solid var(--line); color: #334055; padding: 10px 13px; border-radius: 999px; font-size: 13px; font-weight: 700; }

.hero-visual {
  position: relative;
  min-height: 520px;
  border-radius: 38px;
  padding: 30px;
  background: linear-gradient(145deg, #fff, #ECF2F9);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: auto -18% -24% -10%;
  height: 240px;
  background: var(--navy-900);
  border-radius: 55% 45% 0 0;
}
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 24px 24px auto auto;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(199,164,91,.55), rgba(199,164,91,0) 68%);
}
.visual-card {
  position: relative;
  z-index: 2;
  min-height: 330px;
  border-radius: 28px;
  padding: 34px 28px;
  background: rgba(255,255,255,.90);
  border: 1px solid rgba(6,29,58,.10);
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
}
.visual-card img { width: min(310px, 90%); }
.visual-line { width: 110px; height: 1px; background: var(--navy-900); margin: 28px auto 18px; position: relative; }
.visual-line::after { content: ""; position: absolute; left: 50%; top: -4px; width: 9px; height: 9px; background: var(--navy-900); transform: translateX(-50%) rotate(45deg); }
.visual-card h2 { font-size: 28px; letter-spacing: -.5px; }
.visual-card p { color: var(--muted); margin-top: 8px; }
.floating-stack {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 2px;
}
.floating-card {
  position: relative;
  z-index: 3;
  width: 100%;
  min-height: 108px;
  border-radius: 20px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(6,29,58,.94);
  color: var(--white);
  box-shadow: 0 18px 38px rgba(2,8,20,.22);
}
.floating-card strong { display: block; color: var(--gold); }
.floating-card span { display: block; margin-top: 7px; color: rgba(255,255,255,.82); font-size: 13px; line-height: 1.45; }
.floating-card.one,
.floating-card.two { left: auto; right: auto; bottom: auto; }

.problem-grid, .dashboard-grid, .portfolio-grid, .about-grid, .contact-card {
  display: grid;
  grid-template-columns: .96fr 1.04fr;
  gap: 52px;
  align-items: center;
}
.problem-copy { display: grid; gap: 18px; color: #4B586B; font-size: 18px; line-height: 1.72; }
.section-head { max-width: 840px; margin-bottom: 36px; }
.section-head.centered { text-align: center; margin-left: auto; margin-right: auto; }
.section-head p { color: var(--muted); font-size: 18px; line-height: 1.6; margin-top: 8px; }
.section-head.inverse p { color: rgba(255,255,255,.75); }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card {
  min-height: 250px;
  border-radius: 24px;
  padding: 28px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
}
.service-card span { color: var(--gold); font-weight: 900; letter-spacing: .12em; }
.service-card h3 { margin-top: 16px; }
.service-card p { margin-top: 14px; color: rgba(255,255,255,.76); line-height: 1.6; }

.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 26px; box-shadow: 0 14px 34px rgba(6,29,58,.07); }
.step span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--navy-900); color: #fff; font-weight: 900; margin-bottom: 20px; }
.step p { color: var(--muted); line-height: 1.58; margin-top: 10px; }

.dashboard-section { background: #fff; }
.dashboard-grid p { color: var(--muted); font-size: 18px; line-height: 1.7; }
.mock-dashboard {
  border-radius: 30px;
  padding: 24px;
  background: linear-gradient(145deg, #fff, #EFF4F9);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.mock-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.mock-row div { background: #fff; border: 1px solid rgba(6,29,58,.1); border-radius: 16px; padding: 16px; }
.mock-row small { color: var(--muted); display: block; }
.mock-row strong { color: var(--navy-900); font-size: 34px; }
.funnel { display: grid; gap: 10px; margin-top: 22px; align-items: center; }
.funnel span { display: block; background: var(--navy-900); color: #fff; border-radius: 999px; padding: 10px 14px; font-size: 13px; font-weight: 800; }
.funnel span:nth-child(even) { background: var(--navy-700); }

.pricing-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 28px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 30px;
  box-shadow: 0 14px 34px rgba(6,29,58,.07);
}
.price-card.featured { border: 2px solid var(--gold); transform: translateY(-8px); }
.badge { position: absolute; top: 18px; right: 18px; background: var(--gold); color: var(--navy-900); border-radius: 999px; padding: 7px 11px; font-size: 11px; font-weight: 900; text-transform: uppercase; white-space: nowrap; z-index: 2; }
.price { color: var(--navy-900); font-size: clamp(32px, 4vw, 46px); line-height: 1.05; font-weight: 950; letter-spacing: -2px; margin-top: 16px; word-break: keep-all; }
.price-note { color: var(--muted); margin-top: 3px; }
ul { margin: 24px 0 28px; padding-left: 20px; color: #526174; }
li { margin: 8px 0; }
.express-card { background: linear-gradient(145deg, #ffffff, #F8FAFD); }
.entry-badge { background: var(--gold); color: var(--navy-900); }

.price-card h3 { padding-right: 0; }
.price-card.featured h3 { padding-right: 136px; }
.price-card.featured .price { margin-top: 24px; }
.essential-card ul li:nth-child(3),
.essential-card ul li:nth-child(6) { color: #394a63; font-weight: 600; }
.extras { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 20px; }
.extras div { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 17px; color: #435166; line-height: 1.55; }
.extras strong { color: var(--navy-900); }

.portfolio-copy p, .about-copy p, .contact-card p { color: var(--muted); font-size: 18px; line-height: 1.72; margin: 0 0 18px; }
.portfolio-list, .mini-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.portfolio-list span { background: var(--blue-soft); color: var(--navy-900); padding: 10px 13px; border-radius: 999px; font-size: 13px; font-weight: 800; }
.badge-area, .about-card {
  background: linear-gradient(135deg, #fff, #EFF4F9);
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: 24px;
  box-shadow: var(--shadow);
}
.badge-area img, .about-card img { border-radius: 22px; max-height: 560px; margin: 0 auto; }
.about-copy p { color: rgba(255,255,255,.78); }
.mini-tags span { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); color: #fff; padding: 10px 13px; border-radius: 999px; font-size: 13px; font-weight: 800; }

.contact-card {
  grid-template-columns: 1.05fr .95fr;
  padding: 38px;
  border-radius: 34px;
  background: linear-gradient(135deg, #fff, #F0F5FA);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.contact-actions { display: grid; gap: 12px; }
.contact-item { display: grid; gap: 5px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
.contact-item:hover { border-color: var(--navy-700); }
.contact-item span { color: var(--muted); font-size: 13px; }
.contact-item strong { color: var(--navy-900); }

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  font-size: 28px;
  font-weight: 900;
  box-shadow: 0 18px 36px rgba(4,20,43,.25);
}
.footer { background: #020814; color: rgba(255,255,255,.68); padding: 30px 0; }
.footer-grid { display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.footer strong { color: #fff; }
.footer p { margin-top: 4px; }


.custom-card {
  background: linear-gradient(145deg, #ffffff, #F3F6FA);
}
.badge.alt {
  background: var(--navy-900);
  color: var(--white);
}
.custom-price {
  font-size: 40px;
  letter-spacing: -1.6px;
  line-height: 1.05;
}
.quote {
  background:
    radial-gradient(circle at 12% 10%, rgba(199,164,91,.18), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #F5F8FC 100%);
}
.quote-card {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 42px;
  align-items: center;
  padding: 42px;
  border-radius: 34px;
  background: linear-gradient(135deg, #fff, #EDF3F9);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.quote-card p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
  margin-top: 10px;
}
.quote-list {
  display: grid;
  gap: 12px;
}
.quote-list div {
  display: grid;
  gap: 5px;
  padding: 18px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
}
.quote-list strong {
  color: var(--navy-900);
}
.quote-list span {
  color: var(--muted);
  line-height: 1.55;
}


@media (max-width: 1120px) {
  .pricing-grid, .extras { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
  .nav-toggle { display: inline-grid; place-items: center; }
  .menu {
    display: none;
    position: absolute;
    top: 78px;
    left: 18px;
    right: 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
  }
  .menu.open { display: flex; }
  .nav-cta { text-align: center; }
  .hero-grid, .problem-grid, .dashboard-grid, .portfolio-grid, .about-grid, .contact-card, .quote-card { grid-template-columns: 1fr; }
  .hero-grid { gap: 34px; }
  .hero-visual { min-height: 470px; }
  .service-grid, .pricing-grid, .timeline, .extras { grid-template-columns: 1fr; }
  .mock-row { grid-template-columns: repeat(2, 1fr); }
  .price-card.featured { transform: none; }
  .section { padding: 68px 0; }
  .hero { padding: 64px 0 70px; }
  .footer-grid { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .container { width: min(100% - 26px, 1120px); }
  .brand { min-width: auto; }
  .brand-symbol { width: 42px; height: 42px; border-radius: 13px; font-size: 14px; }
  .brand-copy strong { font-size: 14px; }
  .brand-copy small { display: none; }
  h1 { font-size: 44px; letter-spacing: -2px; }
  h2 { font-size: 32px; letter-spacing: -1px; }
  .hero-buttons { flex-direction: column; }
  .button { width: 100%; }
  .hero-visual, .contact-card, .quote-card, .mock-dashboard { padding: 20px; border-radius: 24px; }
  .floating-stack { grid-template-columns: 1fr; gap: 12px; }
  .floating-card { width: 100%; min-height: auto; }
  .hero-visual { min-height: auto; }
  .hero-visual::before { height: 180px; }
  .visual-card h2 { font-size: 24px; }
}

@media (max-width: 1180px) {
  .price-card.featured h3 { padding-right: 0; }
  .badge { top: 16px; right: 16px; }
}

.price-card ul { line-height: 1.45; }



/* Ajustes da versão v8: legibilidade dos planos e redução de fontes nos cards */
.pricing-grid.four-plans {
  align-items: stretch;
}

.pricing-grid.four-plans .price-card {
  min-height: 610px;
  padding: 26px;
}

.pricing-grid.four-plans .price-card h3 {
  font-size: 21px;
  line-height: 1.08;
  letter-spacing: -0.5px;
  padding-right: 0;
}

.pricing-grid.four-plans .price-card.featured h3 {
  padding-right: 112px;
}

.pricing-grid.four-plans .price {
  font-size: clamp(34px, 3.1vw, 42px);
  line-height: 1.03;
  letter-spacing: -1.8px;
  margin-top: 18px;
}

.pricing-grid.four-plans .price-note {
  font-size: 15px;
  line-height: 1.35;
}

.pricing-grid.four-plans .price-card ul {
  line-height: 1.38;
  margin: 22px 0 24px;
  padding-left: 18px;
}

.pricing-grid.four-plans .price-card li {
  margin: 7px 0;
  font-size: 14.5px;
}

.pricing-grid.four-plans .badge {
  top: 18px;
  right: 18px;
  padding: 6px 9px;
  font-size: 10px;
  letter-spacing: .01em;
  white-space: nowrap;
}

.pricing-grid.four-plans .button.full {
  min-height: 54px;
  padding: 12px 18px;
  font-size: 15px;
  line-height: 1.2;
}

.entry-badge {
  background: linear-gradient(135deg, #F0B84B, #C99A35);
  color: var(--navy-900);
}

@media (max-width: 1180px) {
  .pricing-grid.four-plans .price-card {
    min-height: auto;
  }

  .pricing-grid.four-plans .price-card.featured h3 {
    padding-right: 0;
    max-width: 58%;
  }

  .pricing-grid.four-plans .price {
    font-size: 40px;
  }

  .pricing-grid.four-plans .badge {
    font-size: 9.5px;
    padding: 6px 8px;
  }
}

@media (max-width: 760px) {
  .pricing-grid.four-plans .price-card {
    padding: 24px;
  }

  .pricing-grid.four-plans .price-card h3 {
    font-size: 20px;
  }

  .pricing-grid.four-plans .price-card.featured h3 {
    max-width: 56%;
  }

  .pricing-grid.four-plans .price {
    font-size: 38px;
  }

  .pricing-grid.four-plans .price-note,
  .pricing-grid.four-plans .price-card li {
    font-size: 14px;
  }

  .pricing-grid.four-plans .button.full {
    font-size: 14.5px;
    min-height: 52px;
  }
}

@media (max-width: 420px) {
  .pricing-grid.four-plans .price-card h3 {
    font-size: 19px;
  }

  .pricing-grid.four-plans .price {
    font-size: 36px;
  }

  .pricing-grid.four-plans .badge {
    top: 16px;
    right: 16px;
    font-size: 9px;
    padding: 5px 7px;
  }

  .pricing-grid.four-plans .button.full {
    font-size: 14px;
    padding: 11px 16px;
  }
}




/* Ajuste definitivo: badge "Sob consulta" não sobrepõe o título do card personalizado */
.pricing-grid.four-plans .custom-card .badge.alt {
  position: static;
  align-self: flex-end;
  width: fit-content;
  max-width: none;
  margin: -4px 0 16px auto;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.pricing-grid.four-plans .custom-card h3 {
  padding-right: 0 !important;
  max-width: 100% !important;
  margin-top: 0;
}

@media (max-width: 760px) {
  .pricing-grid.four-plans .custom-card .badge.alt {
    margin: -2px 0 14px auto;
  }
}
