html {
  scroll-behavior: smooth;
}

:root {
  color-scheme: light;
  --bg: #f0fdf4;
  --surface: #dcfce7;
  --ink: #064e3b;
  --muted: #065f46;
  --accent: #10b981;
  --accent-dark: #059669;
  --accent-light: #34d399;
  --teal: #047857;
  --green-gradient: linear-gradient(
    135deg,
    #6ee7b7 0%,
    #10b981 50%,
    #059669 100%
  );
  --shadow: 0 20px 60px rgba(5, 150, 105, 0.15);
  --shadow-strong: 0 25px 70px rgba(5, 150, 105, 0.25);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  color: var(--ink);
  background: radial-gradient(
    circle at top,
    #d1fae5 0%,
    #ecfdf5 45%,
    #f0fdf4 100%
  );
  line-height: 1.6;
}

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

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

.bg-orbit {
  position: fixed;
  inset: -20% 0 auto;
  height: 520px;
  background:
    radial-gradient(
      circle at center,
      rgba(16, 185, 129, 0.25),
      transparent 70%
    ),
    radial-gradient(
      circle at 70% 40%,
      rgba(52, 211, 153, 0.18),
      transparent 60%
    ),
    radial-gradient(circle at 20% 80%, rgba(5, 150, 105, 0.15), transparent 55%);
  z-index: -1;
  filter: blur(40px);
}

.container {
  width: min(1180px, 90vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  background: rgba(240, 253, 244, 0.9);
  border-bottom: 1px solid rgba(16, 185, 129, 0.15);
  box-shadow: 0 4px 20px rgba(5, 150, 105, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Fraunces", serif;
  font-weight: 800;
  letter-spacing: 0.5px;
  font-size: 1.4rem;
  transition: transform 0.3s ease;
}

.brand:hover {
  transform: scale(1.02);
}

.brand-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 8px rgba(16, 185, 129, 0.3));
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 0.95rem;
  color: var(--ink);
  font-weight: 700;
}

.brand-text span {
  font-size: 1.3rem;
  background: var(--green-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
}

.site-nav {
  display: flex;
  gap: 18px;
  font-weight: 500;
  font-size: 0.95rem;
}

.site-nav a {
  transition: color 0.2s ease;
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green-gradient);
  transition: width 0.3s ease;
}

.site-nav a:hover {
  color: var(--accent);
}

.site-nav a:hover::after {
  width: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.btn-primary {
  background: var(--green-gradient);
  color: #fff;
  box-shadow: var(--shadow-strong);
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 30px 80px rgba(5, 150, 105, 0.35);
}

.btn-ghost {
  border: 2px solid var(--accent);
  color: var(--accent-dark);
  font-weight: 600;
}

.btn-ghost:hover {
  background: rgba(16, 185, 129, 0.1);
  transform: translateY(-2px);
}

.btn-dark {
  background: linear-gradient(135deg, #047857 0%, #065f46 100%);
  color: #fff;
  box-shadow: var(--shadow);
}

.btn-dark:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-strong);
}

.hero {
  padding: 80px 0 40px;
  scroll-margin-top: 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
}

h1,
h2,
h3 {
  font-family: "Fraunces", serif;
  margin: 0 0 16px;
  color: var(--ink);
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.2rem, 3vw, 3.4rem);
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  font-size: 0.9rem;
  color: var(--muted);
}

.hero-meta strong {
  display: block;
  background: var(--green-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.2rem;
  font-weight: 700;
}

.hero-card {
  background: linear-gradient(145deg, #ffffff 0%, #ecfdf5 100%);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-strong);
  border: 2px solid rgba(16, 185, 129, 0.2);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--green-gradient);
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 20px 0 26px;
}

.checklist li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
  font-weight: 500;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  background: var(--green-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.section {
  padding: 70px 0;
  scroll-margin-top: 80px;
}

.section.alt {
  background: linear-gradient(180deg, #ecfdf5 0%, #d1fae5 100%);
  position: relative;
}

.section.alt::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(52, 211, 153, 0.15),
    transparent 70%
  );
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-head h2 {
  font-size: clamp(1.8rem, 2.5vw, 2.6rem);
}

.section-head p {
  font-size: 1.05rem;
  color: var(--muted);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}

.card {
  background: #fff;
  padding: 28px;
  border-radius: 20px;
  border: 2px solid rgba(16, 185, 129, 0.15);
  box-shadow: 0 12px 30px rgba(5, 150, 105, 0.1);
  transition: all 0.3s ease;
  position: relative;
}

.card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  background: var(--green-gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: -1;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(5, 150, 105, 0.2);
  border-color: var(--accent);
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: center;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tag-list span {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-dark);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  border: 1px solid rgba(16, 185, 129, 0.3);
  transition: all 0.2s ease;
}

.tag-list span:hover {
  background: var(--accent);
  color: #fff;
  transform: scale(1.05);
}

.stat-stack {
  display: grid;
  gap: 14px;
}

.stat {
  background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
  padding: 22px 26px;
  border-radius: 18px;
  box-shadow: var(--shadow);
  border: 2px solid rgba(16, 185, 129, 0.2);
  transition: all 0.3s ease;
}

.stat:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-strong);
  border-color: var(--accent);
}

.stat strong {
  display: block;
  font-size: 1.1rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}

.step {
  padding: 30px;
  border-radius: 20px;
  background: linear-gradient(135deg, #ecfdf5, #fff);
  border: 2px solid rgba(16, 185, 129, 0.2);
  transition: all 0.3s ease;
  position: relative;
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--accent);
}

.step span {
  font-weight: 800;
  background: var(--green-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.8rem;
  display: block;
  margin-bottom: 12px;
}

.cta-inline {
  margin-top: 28px;
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.help-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.help-card {
  background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
  padding: 20px 24px;
  border-radius: 16px;
  border: 2px solid rgba(16, 185, 129, 0.2);
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(5, 150, 105, 0.08);
}

.help-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(5, 150, 105, 0.18);
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.cta-box {
  background: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%);
  color: #fff;
  padding: 48px;
  border-radius: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  box-shadow: var(--shadow-strong);
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.15),
    transparent 70%
  );
  border-radius: 50%;
}

.site-footer {
  padding: 50px 0 70px;
  background: linear-gradient(180deg, #064e3b 0%, #022c22 100%);
  color: #d1fae5;
}

.site-footer p {
  max-width: 100%;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 18px;
  font-size: 0.9rem;
}

.footer-links a {
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--accent-light);
}

.footer-copyright {
  margin-top: 12px;
}

.footer-copyright small {
  opacity: 0.8;
}

/* Menu Mobile */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 100;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--accent);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Botão Flutuante Calculadora */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4);
  z-index: 1000;
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 32px rgba(16, 185, 129, 0.6);
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4);
  }
  50% {
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4), 0 0 0 12px rgba(16, 185, 129, 0.1);
  }
}

/* Calculadora */
.calculator {
  background: linear-gradient(145deg, #ffffff 0%, #ecfdf5 100%);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-strong);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  border: 2px solid rgba(16, 185, 129, 0.2);
}

.calc-field {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.calc-field label {
  font-weight: 600;
  color: var(--ink);
}

.calc-field input[type="range"] {
  width: 100%;
  height: 8px;
  border-radius: 5px;
  background: linear-gradient(to right, var(--accent) 0%, var(--accent) 50%, #d1fae5 50%, #d1fae5 100%);
  outline: none;
  -webkit-appearance: none;
}

.calc-field input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green-gradient);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
}

.calc-field input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green-gradient);
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
}

.calc-field output {
  font-size: 1.3rem;
  font-weight: 700;
  background: var(--green-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.calc-result {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
}

.result-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  background: rgba(16, 185, 129, 0.08);
  border-radius: 12px;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.result-item strong {
  font-size: 1.4rem;
  color: var(--accent-dark);
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #fff;
  border: 2px solid rgba(16, 185, 129, 0.2);
  border-radius: 16px;
  padding: 20px 24px;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(5, 150, 105, 0.15);
}

.faq-item summary {
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--ink);
}

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

.faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin-top: 16px;
  color: var(--muted);
  line-height: 1.7;
}

/* Badges de Confiança */
.badges-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.badge {
  background: linear-gradient(145deg, #ffffff 0%, #f0fdf4 100%);
  padding: 32px 24px;
  border-radius: 20px;
  text-align: center;
  border: 2px solid rgba(16, 185, 129, 0.2);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.badge:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--accent);
}

.badge svg {
  color: var(--accent);
}

.badge strong {
  font-size: 1.1rem;
  color: var(--ink);
}

.badge span {
  font-size: 0.9rem;
  color: var(--muted);
}

/* Páginas Legais */
.legal-page {
  padding: 40px 0 80px;
}

.legal-page h1 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  margin-bottom: 8px;
}

.legal-content {
  max-width: 800px;
  margin: 40px auto 0;
  background: #fff;
  padding: 48px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 2px solid rgba(16, 185, 129, 0.15);
}

.legal-content h2 {
  font-size: 1.5rem;
  margin-top: 32px;
  margin-bottom: 16px;
  color: var(--accent-dark);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  margin-bottom: 16px;
  line-height: 1.8;
}

.legal-content ul {
  margin: 16px 0;
  padding-left: 24px;
}

.legal-content li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .menu-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: linear-gradient(180deg, #ecfdf5 0%, #d1fae5 100%);
    flex-direction: column;
    padding: 80px 32px 32px;
    box-shadow: -4px 0 24px rgba(5, 150, 105, 0.15);
    transition: right 0.3s ease;
    z-index: 99;
  }

  .site-nav.active {
    right: 0;
  }

  .site-nav a {
    padding: 12px 0;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(16, 185, 129, 0.2);
  }

  .cta-box {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 60px 0 30px;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand-text strong {
    font-size: 0.8rem;
  }

  .brand-text span {
    font-size: 1.1rem;
  }

  .brand-icon {
    width: 36px;
    height: 36px;
  }
}
