:root {
  --green: #7cb68a;
  --green-dark: #4f8a5d;
  --green-soft: #e7f4ea;
  --orange: #f4a54a;
  --orange-dark: #d8862b;
  --ink: #2f3d35;
  --muted: #5d6b63;
  --line: #d7e6db;
  --white: #ffffff;
  --bg: #e7f2ea;
  --on-dark: color-mix(in srgb, var(--white) 82%, var(--green));
  --on-dark-muted: color-mix(in srgb, var(--white) 62%, var(--green));
  --header: 108px;
  --max: 1120px;
  --shadow: 0 16px 40px rgba(79, 138, 93, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Nunito, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
}

h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
}

h3 {
  font-size: 1.35rem;
}

p {
  margin: 0;
}

.container {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.site-header,
.stats,
.partners,
.close,
.section,
#planos,
#empresas,
#duvidas,
#parceiros {
  scroll-margin-top: calc(var(--header) + 12px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary:hover,
#empresas .btn-primary:hover {
  box-shadow: 0 10px 24px color-mix(in srgb, var(--green) 28%, transparent);
}

.btn-lg {
  min-height: 54px;
  padding: 0 24px;
}

.btn-primary {
  background: var(--green);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--green-dark);
}

.btn-dark {
  background: var(--ink);
  color: var(--white);
}

.btn-light {
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 0 0 1px var(--line);
}

.btn-orange {
  background: var(--orange);
  color: var(--white);
}

.text-link {
  padding: 0;
  border: 0;
  background: none;
  color: var(--green-dark);
  font-weight: 800;
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--header);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
}

.site-header.is-scrolled {
  border-color: var(--line);
}

.header-inner,
.hero-cta,
.chips,
.plan-grid,
.benefit-grid,
.stories,
.stats-grid,
.faq-layout,
.split,
.partner-grid,
.footer-grid,
.checks,
.faq {
  display: flex;
  flex-wrap: wrap;
}

.header-inner {
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 20px;
}

.brand,
.footer-grid a.brand {
  display: inline-flex;
  align-items: center;
  width: auto;
}

.brand img,
.footer-grid a.brand img {
  width: auto;
  height: 88px;
  flex: none;
  object-fit: contain;
}

.brand-footer {
  margin-bottom: 14px;
}

.nav-desktop {
  display: flex;
  gap: 24px;
}

.nav-desktop a {
  color: var(--muted);
  font-weight: 700;
}

.nav-desktop a:hover {
  color: var(--green-dark);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.menu-toggle:hover {
  border-color: var(--green);
  background: var(--green-soft);
  transform: scale(1.05);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  transition: transform 0.28s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  position: sticky;
  top: var(--header);
  z-index: 19;
  display: grid;
  gap: 10px;
  margin: 0 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.mobile-nav[hidden] {
  display: none;
}

.hero {
  padding: 72px 0 88px;
  background:
    radial-gradient(circle at 85% 15%, color-mix(in srgb, var(--orange) 16%, transparent), transparent 24%),
    linear-gradient(180deg, var(--bg) 0%, var(--white) 100%);
  text-align: center;
}

.hero-inner {
  max-width: 820px;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-bottom: 16px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--orange);
  color: var(--white);
  font-size: 15px;
  font-weight: 800;
  box-shadow: var(--shadow);
}

.kicker {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--white);
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 800;
}

.kicker {
  padding: 0;
  background: none;
}

.kicker.light {
  color: var(--on-dark);
}

.lede,
.section-head p,
.plan-card p:not(.plan-tag),
.benefit-grid p,
.stories p,
.split p {
  color: var(--muted);
}

.hero-cta,
.chips {
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
  padding: 0;
  list-style: none;
}

.chips li {
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 800;
}

.section {
  padding: 88px 0;
}

.section-mint {
  background: var(--bg);
}

.section-why {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, color-mix(in srgb, var(--green) 16%, transparent), transparent 30%),
    radial-gradient(circle at 90% 86%, color-mix(in srgb, var(--green) 10%, transparent), transparent 28%),
    var(--bg);
}

.section-why .kicker {
  padding: 8px 14px;
  background: var(--green);
  color: var(--white);
}

.section-why .accent {
  color: var(--orange);
}

.section-why .benefit-grid article {
  position: relative;
  overflow: hidden;
  border-color: var(--line);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.section-why .benefit-grid article::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--green);
}

.section-why .benefit-grid article:nth-child(even) {
  background: var(--green-soft);
}

.section-why .benefit-grid article:hover {
  transform: translateY(-4px);
  border-color: var(--green);
  box-shadow: var(--shadow);
}

.why-mark {
  display: inline-grid;
  place-items: center;
  min-width: 36px;
  height: 36px;
  margin-bottom: 14px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--green);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
}

.section-head h2,
.section-head p {
  margin-bottom: 12px;
}

.plan-grid,
.benefit-grid,
.stories,
.stats-grid,
.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.benefit-grid,
.stories,
.partner-grid {
  grid-template-columns: repeat(4, 1fr);
}

.plan-card,
.benefit-grid article,
.stories figure,
.soft-card,
.partner-grid div,
.modal-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
}

.plan-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.plan-photo {
  margin: 0;
  height: 180px;
  overflow: hidden;
  background: var(--green-soft);
}

.plan-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

@property --rise {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}

@keyframes card-rise {
  from {
    opacity: 0;
    --rise: 22px;
  }

  to {
    opacity: 1;
    --rise: 0px;
  }
}

.plan-card,
.stories figure,
.stats-grid > div,
#empresas .soft-card {
  --rise: 0px;
  animation: card-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  transform: translateY(var(--rise));
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.plan-card:nth-child(1),
.stories figure:nth-child(1),
.stats-grid > div:nth-child(1) {
  animation-delay: 0.04s;
}

.plan-card:nth-child(2),
.stories figure:nth-child(2),
.stats-grid > div:nth-child(2) {
  animation-delay: 0.12s;
}

.plan-card:nth-child(3),
.stories figure:nth-child(3),
.stats-grid > div:nth-child(3) {
  animation-delay: 0.2s;
}

.stories figure:nth-child(4),
.stats-grid > div:nth-child(4) {
  animation-delay: 0.28s;
}

@supports (animation-timeline: view()) {
  .plan-card,
  .stories figure,
  .stats-grid > div,
  #empresas .soft-card {
    animation-timeline: view();
    animation-range: entry 0% entry 40%;
    animation-delay: 0s;
  }
}

.plan-card:hover,
.stories figure:hover,
.stats-grid > div:hover,
#empresas .soft-card:hover {
  transform: translateY(calc(var(--rise) - 6px));
  border-color: color-mix(in srgb, var(--green) 40%, var(--line));
  box-shadow: var(--shadow);
}

.plan-card:hover .plan-photo img {
  transform: scale(1.06);
}

.stories figure:hover .avatar {
  transform: scale(1.06);
}

.plan-body {
  padding: 22px 24px 24px;
}

.plan-card .plan-tag {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--orange) 16%, transparent);
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
}

.price {
  margin: 16px 0;
}

.price strong {
  color: var(--ink);
  font-size: 1.4rem;
}

.fineprint {
  margin-top: 22px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.fineprint.invert {
  color: var(--on-dark);
}

.stories figure {
  margin: 0;
}

.avatar {
  display: block;
  width: 56px;
  height: 56px;
  margin-bottom: 12px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--green-soft);
  transition: transform 0.35s ease;
}

.stories span,
.stories small {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.stories p {
  margin: 12px 0;
}

.stats {
  padding: 88px 0;
  background:
    radial-gradient(circle at 15% 20%, color-mix(in srgb, var(--green) 18%, transparent), transparent 26%),
    radial-gradient(circle at 88% 80%, color-mix(in srgb, var(--green) 12%, transparent), transparent 24%),
    var(--bg);
  color: var(--ink);
}

.stats .kicker {
  padding: 8px 14px;
  background: var(--green);
  color: var(--white);
}

.stats-grid div {
  padding: 24px;
  border: 1px solid color-mix(in srgb, var(--green) 22%, transparent);
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.stats-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--green-dark);
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.stats-grid span {
  color: var(--muted);
}

.faq-cta {
  margin-top: 28px;
}

.faq-layout,
.split,
.footer-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}

.faq {
  display: grid;
}

.faq details {
  width: 100%;
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  padding: 16px 0;
  font-weight: 800;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq p {
  padding-bottom: 16px;
  color: var(--muted);
}

.checks {
  display: grid;
  gap: 10px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.checks li::before {
  content: "✓";
  margin-right: 8px;
  color: var(--green-dark);
  font-weight: 800;
}

.partners {
  padding: 88px 0;
  background: var(--green-dark);
  color: var(--white);
}

.partners p,
.site-footer p {
  color: var(--on-dark);
}

.partner-grid {
  width: 100%;
  margin: 32px 0 28px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.partner-grid div,
.soft-card.dark {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.partner-grid span {
  display: block;
  margin-top: 6px;
  color: var(--on-dark);
}

.soft-card.dark p {
  color: var(--on-dark);
}

.site-footer {
  padding: 56px 0 96px;
  background: var(--ink);
  color: var(--white);
}

.footer-grid {
  grid-template-columns: 1.4fr 0.7fr 0.7fr 1fr;
}

.footer-grid h4 {
  margin-bottom: 12px;
}

.footer-grid a,
.footer-grid .text-link {
  display: block;
  margin-bottom: 8px;
  color: var(--on-dark);
  text-align: left;
}

.footer-bottom {
  display: flex;
  justify-content: flex-start;
  gap: 16px;
  margin-top: 32px;
  padding-top: 16px;
  padding-right: 300px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--on-dark-muted);
  font-size: 13px;
}

.help-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 15;
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: var(--orange);
  color: var(--white);
  font-weight: 800;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 20px;
  background: color-mix(in srgb, var(--ink) 55%, transparent);
}

.modal[hidden] {
  display: none;
}

.modal-card {
  width: min(500px, 100%);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: 0;
  background: none;
  font-size: 28px;
  cursor: pointer;
}

.modal-card form,
.modal-card label {
  display: grid;
  gap: 8px;
}

.modal-card label {
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 800;
}

.modal-card input,
.modal-card select,
.modal-card textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.form-ok {
  margin-top: 12px;
  color: var(--green-dark);
}

@media (max-width: 980px) {
  :root {
    --header: 80px;
  }

  .brand img,
  .footer-grid a.brand img {
    height: 64px;
  }

  .nav-desktop,
  .header-actions .btn-primary {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .plan-grid,
  .benefit-grid,
  .stories,
  .stats-grid,
  .faq-layout,
  .split,
  .partner-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom,
  .hero-cta {
    flex-direction: column;
  }

  .footer-bottom {
    padding-right: 0;
  }

  .help-fab {
    left: 16px;
    right: 16px;
  }

  .hero {
    padding-bottom: 120px;
  }
}

@media (min-width: 720px) and (max-width: 980px) {
  .plan-grid,
  .stories,
  .partner-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .plan-card,
  .stories figure,
  .stats-grid > div,
  #empresas .soft-card,
  .plan-photo img,
  .avatar,
  .btn,
  .menu-toggle,
  .menu-toggle span {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}
