:root {
  --ink: #102a2c;
  --ink-soft: #43605f;
  --sea: #0d6e6e;
  --sea-deep: #085555;
  --sea-bright: #1aa6a0;
  --mint: #d9f2ef;
  --foam: #f4fbfa;
  --sand: #fff7ef;
  --coral: #e4572e;
  --line: rgba(16, 42, 44, 0.1);
  --line-strong: rgba(16, 42, 44, 0.18);
  --shadow-sm: 0 2px 8px rgba(8, 60, 60, 0.06);
  --shadow: 0 18px 40px rgba(8, 60, 60, 0.12);
  --shadow-lg: 0 40px 80px -20px rgba(8, 60, 60, 0.35);
  --font: "Lexend", system-ui, sans-serif;
  --display: "Fraunces", Georgia, serif;
  --gutter: clamp(1.15rem, 4vw, 2rem);
  --wide: 1140px;
  --narrow: 720px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-top: env(safe-area-inset-top, 0px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--foam);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

:focus-visible {
  outline: 3px solid var(--sea-bright);
  outline-offset: 3px;
  border-radius: 6px;
}

.lp-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 100;
  border-radius: 0 0 10px 0;
}

.skip-link:focus {
  left: 0.75rem;
  top: 0.75rem;
}

/* ---------- Marca ---------- */

/* Cores da marca via custom properties: herdam para dentro de <use> */
.lp-logo-mark,
.lp-pv-mark {
  --m-back: var(--mint);
  --m-dot: rgba(13, 110, 110, 0.5);
  --m-front: var(--sea);
  --m-plus: #fff;
}

.lp-logo-mark.is-light {
  --m-back: rgba(255, 255, 255, 0.3);
  --m-dot: rgba(255, 255, 255, 0.55);
  --m-front: #fff;
  --m-plus: var(--sea-deep);
}

/* ---------- Topbar ---------- */

.lp-top {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: calc(0.7rem + var(--safe-top)) var(--gutter) 0.7rem;
  background: rgba(244, 251, 250, 0.78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.lp-top.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -18px rgba(8, 60, 60, 0.35);
}

.lp-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.22rem;
  color: var(--sea-deep);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.lp-logo-mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.lp-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.4rem;
}

.lp-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.94rem;
  transition: color 0.15s ease;
}

.lp-nav a:hover {
  color: var(--sea-deep);
}

.lp-nav-cta {
  background: var(--sea);
  color: #fff !important;
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
  font-weight: 600 !important;
  box-shadow: var(--shadow-sm);
  transition: background 0.18s ease, transform 0.18s ease;
}

.lp-nav-cta:hover {
  background: var(--sea-deep);
  transform: translateY(-1px);
}

/* ---------- Hero ---------- */

.lp-hero {
  position: relative;
  display: grid;
  gap: clamp(2.5rem, 6vw, 4rem);
  align-items: center;
  max-width: var(--wide);
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 4.5rem) var(--gutter) clamp(3rem, 8vw, 5.5rem);
}

.lp-hero-glow {
  position: absolute;
  inset: -12% -25% auto;
  height: 78%;
  z-index: -1;
  background:
    radial-gradient(46% 60% at 18% 22%, rgba(26, 166, 160, 0.26) 0%, transparent 70%),
    radial-gradient(40% 55% at 88% 8%, rgba(228, 87, 46, 0.14) 0%, transparent 70%);
  filter: blur(6px);
  pointer-events: none;
}

@media (min-width: 900px) {
  .lp-hero {
    grid-template-columns: 1.02fr 0.98fr;
  }
}

.lp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  padding: 0.4rem 0.85rem;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--sea-deep);
  animation: lp-rise 0.7s ease both;
}

.lp-eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sea-bright);
  box-shadow: 0 0 0 4px rgba(26, 166, 160, 0.18);
}

.lp-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.1rem, 5.6vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0 0 1rem;
  color: var(--sea-deep);
  animation: lp-rise 0.7s ease 0.06s both;
}

.lp-title em {
  font-style: normal;
  color: var(--sea-bright);
}

.lp-lead {
  color: var(--ink-soft);
  font-size: clamp(1.02rem, 2.2vw, 1.14rem);
  max-width: 30rem;
  margin: 0 0 1.75rem;
  animation: lp-rise 0.7s ease 0.14s both;
}

.lp-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: lp-rise 0.7s ease 0.22s both;
}

.lp-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  list-style: none;
  margin: 2rem 0 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.92rem;
  animation: lp-rise 0.7s ease 0.3s both;
}

.lp-proof strong {
  display: block;
  font-family: var(--display);
  font-size: 1.5rem;
  line-height: 1.1;
  color: var(--sea-deep);
}

/* ---------- Botões ---------- */

.btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 0.9rem 1.5rem;
  font: inherit;
  font-weight: 600;
  font-size: 1.02rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.btn:active {
  transform: translateY(1px) scale(0.99);
}

.btn-primary {
  background: linear-gradient(135deg, var(--sea-bright), var(--sea));
  color: #fff;
  box-shadow: 0 14px 28px -10px rgba(13, 110, 110, 0.6);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--sea), var(--sea-deep));
  transform: translateY(-2px);
  box-shadow: 0 20px 34px -12px rgba(13, 110, 110, 0.65);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.75);
  color: var(--sea-deep);
  border: 1.5px solid var(--line-strong);
}

.btn-ghost:hover {
  background: #fff;
  border-color: rgba(13, 110, 110, 0.45);
  transform: translateY(-2px);
}

/* ---------- Prévia do app ---------- */

.lp-hero-visual {
  position: relative;
  display: grid;
  justify-items: center;
  animation: lp-rise 0.9s ease 0.2s both;
}

.lp-phone {
  width: min(290px, 74vw);
  padding: 0.7rem 0.6rem;
  background: linear-gradient(160deg, #123c3d, #061f20);
  border-radius: 38px;
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  transform: rotate(-2deg);
}

.lp-phone::before {
  content: "";
  display: block;
  width: 56px;
  height: 5px;
  margin: 0 auto 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}

.lp-phone-screen {
  background: linear-gradient(180deg, #fff 0%, var(--foam) 100%);
  border-radius: 30px;
  padding: 1rem 0.95rem 1.15rem;
  display: grid;
  gap: 0.7rem;
}

.lp-pv-head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.lp-pv-mark {
  width: 30px;
  height: 30px;
}

.lp-pv-head strong {
  display: block;
  font-family: var(--display);
  font-size: 0.98rem;
  color: var(--sea-deep);
  line-height: 1.1;
}

.lp-pv-head span {
  font-size: 0.74rem;
  color: var(--ink-soft);
}

.lp-pv-step {
  margin: 0.15rem 0 0;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
}

.lp-pv-body {
  position: relative;
  display: grid;
  place-items: center;
  padding: 0.5rem 0;
  background: var(--mint);
  border-radius: 18px;
}

.lp-pv-body svg {
  width: 62px;
  fill: rgba(13, 110, 110, 0.4);
}

.lp-pv-pin {
  position: absolute;
  top: 52%;
  left: 56%;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 6px rgba(228, 87, 46, 0.25);
  animation: lp-pulse 2.4s ease-in-out infinite;
}

.lp-pv-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.lp-pv-chips span {
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink-soft);
  background: #fff;
}

.lp-pv-chips .is-on {
  background: var(--sea);
  border-color: var(--sea);
  color: #fff;
}

.lp-pv-scale {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.lp-pv-bar {
  flex: 1;
  height: 9px;
  border-radius: 999px;
  background: var(--mint);
  overflow: hidden;
}

.lp-pv-bar i {
  display: block;
  width: 80%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--sea-bright), var(--coral));
}

.lp-pv-scale span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--sea-deep);
  white-space: nowrap;
}

.lp-resumo {
  margin: -1.75rem 0 0;
  max-width: 19rem;
  padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
}

.lp-resumo figcaption {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sea-bright);
  margin-bottom: 0.35rem;
}

.lp-resumo blockquote {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--ink);
}

@media (min-width: 900px) {
  .lp-hero-visual {
    justify-items: end;
  }

  .lp-phone {
    width: min(320px, 34vw);
    transform: rotate(-3deg);
  }

  .lp-resumo {
    position: absolute;
    bottom: -1.5rem;
    left: -1rem;
    margin: 0;
  }
}

/* ---------- Seções ---------- */

.lp-section {
  max-width: var(--narrow);
  margin: 0 auto;
  padding: clamp(2.75rem, 7vw, 4.5rem) var(--gutter);
}

.lp-section-alt {
  max-width: none;
  background: linear-gradient(180deg, rgba(217, 242, 239, 0.5), rgba(255, 247, 239, 0.5));
  border-block: 1px solid var(--line);
}

.lp-section-inner {
  max-width: var(--narrow);
  margin: 0 auto;
}

.lp-kicker {
  margin: 0 0 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sea-bright);
}

.lp-section h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.6rem, 4.2vw, 2.2rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.65rem;
  line-height: 1.18;
  color: var(--sea-deep);
}

.lp-section-lead {
  color: var(--ink-soft);
  font-size: 1.04rem;
  margin: 0 0 1.85rem;
  max-width: 34rem;
}

.lp-note {
  display: flex;
  gap: 0.6rem;
  margin: 0 0 1.75rem;
  padding: 0.95rem 1.1rem;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
  border-left: 4px solid var(--coral);
  border-radius: 0 14px 14px 0;
  color: var(--ink);
  font-size: 0.98rem;
}

/* ---------- Passos ---------- */

.lp-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

@media (min-width: 620px) {
  .lp-steps {
    grid-template-columns: 1fr 1fr;
  }
}

.lp-steps li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.95rem 1rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.lp-steps li:hover {
  transform: translateY(-2px);
  border-color: rgba(13, 110, 110, 0.24);
  box-shadow: var(--shadow-sm);
}

.lp-steps span {
  flex: 0 0 2.1rem;
  height: 2.1rem;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--mint);
  color: var(--sea-deep);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1rem;
}

.lp-steps li strong {
  display: block;
  font-weight: 600;
  color: var(--ink);
}

.lp-steps li div {
  color: var(--ink-soft);
  font-size: 0.93rem;
  line-height: 1.4;
}

/* ---------- Features ---------- */

.lp-features {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 1.85rem;
}

@media (min-width: 620px) {
  .lp-features {
    grid-template-columns: 1fr 1fr;
  }
}

.lp-feature {
  padding: 1.25rem 1.15rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 18px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lp-feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.lp-feature svg {
  width: 26px;
  height: 26px;
  margin-bottom: 0.7rem;
  fill: none;
  stroke: var(--sea);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lp-feature h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.08rem;
  margin: 0 0 0.3rem;
  color: var(--sea-deep);
}

.lp-feature p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

/* ---------- Municípios ---------- */

.lp-muni-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
  gap: 0.85rem;
}

.lp-muni {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  padding: 1.35rem 0.9rem;
  text-decoration: none;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  animation: lp-rise 0.5s ease both;
}

.lp-muni:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(13, 110, 110, 0.3);
}

.lp-muni-logo,
.lp-muni-mark {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  object-fit: contain;
}

.lp-muni-mark {
  display: grid;
  place-items: center;
  background: var(--mint);
  color: var(--sea-deep);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.4rem;
}

.lp-muni-name {
  text-align: center;
  font-weight: 600;
  font-size: 0.94rem;
  line-height: 1.3;
}

.lp-muni-loading {
  color: var(--ink-soft);
  margin: 0;
  grid-column: 1 / -1;
}

.lp-muni-loading a {
  color: var(--sea-deep);
  font-weight: 600;
}

.lp-pref-logo {
  display: block;
  width: 66px;
  height: 66px;
  object-fit: contain;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  margin-bottom: 0.9rem;
  animation: lp-rise 0.6s ease both;
}

/* ---------- Footer ---------- */

.lp-footer {
  margin-top: clamp(1rem, 4vw, 2rem);
  background: linear-gradient(160deg, #0c4a4a, #062e2e);
  color: rgba(255, 255, 255, 0.78);
}

.lp-footer-inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3rem) var(--gutter) calc(2.25rem + var(--safe-bottom));
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
  justify-content: space-between;
  align-items: flex-start;
}

.lp-footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 22rem;
}

.lp-footer-brand strong {
  display: block;
  font-family: var(--display);
  font-size: 1.15rem;
  color: #fff;
}

.lp-footer-brand span {
  font-size: 0.9rem;
}

.lp-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.5rem;
}

.lp-footer-links a {
  color: #fff;
  font-weight: 500;
  font-size: 0.94rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 2px;
}

.lp-footer-links a:hover {
  border-bottom-color: #fff;
}

/* ---------- Animações ---------- */

@keyframes lp-rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes lp-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 6px rgba(228, 87, 46, 0.25);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(228, 87, 46, 0.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 700px) {
  .lp-nav a:not(.lp-nav-cta) {
    display: none;
  }

  .lp-phone {
    transform: none;
  }

  .lp-resumo {
    transform: none;
    margin-top: -1.25rem;
  }
}
