:root {
  --bg-page: #faf9f7;
  --green-900: #223a24;
  --green-700: #8fd694;
  --text-dark: #101910;
  --card-border: rgba(34, 58, 36, 0.1);
  --muted: rgba(16, 25, 16, 0.6);
  --accent: #8fd694;
  --white: #ffffff;
  --max-width: 1200px;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.animate-fade-up {
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
}

.animate-slide-left {
  animation: slideInLeft 0.8s ease-out forwards;
  opacity: 0;
}

.animate-slide-right {
  animation: slideInRight 0.8s ease-out forwards;
  opacity: 0;
}

.animate-fade {
  animation: fadeIn 0.6s ease-out forwards;
  opacity: 0;
}

.delay-100 {
  animation-delay: 0.1s;
}
.delay-200 {
  animation-delay: 0.2s;
}
.delay-300 {
  animation-delay: 0.3s;
}
.delay-400 {
  animation-delay: 0.4s;
}
.delay-500 {
  animation-delay: 0.5s;
}
.delay-600 {
  animation-delay: 0.6s;
}

* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial;
  background: var(--bg-page);
  color: var(--text-dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}

a {
  color: inherit;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* HERO */
.hero {
  background: linear-gradient(135deg, var(--green-900) 0%, #101910 100%);
  color: var(--bg-page);
  padding: 80px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(143, 214, 148, 0.1),
    transparent
  );
  animation: shimmer 3s infinite;
}
.hero h1 {
  font-size: 48px;
  font-weight: 800;
  margin: 0 0 24px;
  line-height: 1.15;
  position: relative;
  z-index: 1;
}
.hero h1 .accent {
  color: var(--green-700);
}
.hero p {
  font-size: 20px;
  max-width: 700px;
  margin: 0 auto;
  opacity: 0.95;
  position: relative;
  z-index: 1;
  line-height: 1.6;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 60px 24px;
  width: 100%;
}

h2.section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--green-900);
  margin: 0 0 24px;
}

p.lead {
  font-size: 18px;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.card {
  background: var(--white);
  border: 2px solid var(--green-900);
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 24px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(34, 58, 36, 0.15);
}

.card.secondary {
  background: var(--green-900);
  color: var(--bg-page);
  border: none;
  box-shadow: 0 8px 24px rgba(34, 58, 36, 0.12);
}

.card.secondary .card-head > div:first-child {
  min-width: 0;
}

.card.secondary:hover {
  transform: scale(1.02);
  box-shadow: 0 16px 40px rgba(34, 58, 36, 0.25);
}

.card .card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;     /* mantém R$ e número juntos */
  gap: 10px;
  white-space: nowrap;
}

.card .card-head .price .valor-raspado {
  display: inline-block;
  line-height: 1;
  font-size: 36px; /* ajuste se necessário */
  font-weight: 800;
}

.badge {
  display: inline-block;
  background: var(--green-700);
  color: var(--text-dark);
  padding: 6px 16px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 12px;
  animation: pulse 2s ease-in-out infinite;
}

.price {
  font-size: 36px;
  font-weight: 800;
  color: var(--green-900);
  transition: transform 0.3s ease;
}
.price:hover {
  transform: scale(1.1);
}
.card.secondary .price {
  color: var(--bg-page);
}

.toggle-row {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  background: transparent !important;
  border: none !important;

  width: 100%;
  text-align: left;
  padding: 12px 0 !important;

  display: flex;
  align-items: center;
  justify-content: space-between;

  font-size: 16px;
  font-weight: 600;
  color: inherit;

  cursor: pointer;
  outline: none;
}

.toggle-row .chev svg {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.toggle-row:focus {
  outline: none;
  box-shadow: none;
}
.card.secondary .toggle-row {
  border-top: 1px solid rgba(250, 249, 247, 0.14);
}

.toggle-row .title {
  font-weight: 600;
  font-size: 16px;
}

.accordion {
  overflow: hidden;
  max-height: 0;
  transition: max-height 320ms ease, opacity 220ms ease;
  opacity: 0;
  padding-left: 0;
}
.accordion.is-open {
  opacity: 1;
  padding-top: 16px;
  padding-left: 16px;
}

.list-none {
  list-style: none;
  padding: 0;
  margin: 0;
}
.list-none li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(16, 25, 16, 0.05);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  opacity: 0;
  animation: fadeIn 0.4s ease-out forwards;
}

.list-none li:nth-child(1) {
  animation-delay: 0.05s;
}
.list-none li:nth-child(2) {
  animation-delay: 0.1s;
}
.list-none li:nth-child(3) {
  animation-delay: 0.15s;
}
.list-none li:nth-child(4) {
  animation-delay: 0.2s;
}
.list-none li:nth-child(5) {
  animation-delay: 0.25s;
}
.list-none li:nth-child(6) {
  animation-delay: 0.3s;
}
.list-none li:nth-child(7) {
  animation-delay: 0.35s;
}
.list-none li:nth-child(8) {
  animation-delay: 0.4s;
}

.icon-sm {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.note {
  margin-top: 24px;
  padding: 20px;
  background: rgba(250, 249, 247, 0.1);
  border-radius: 12px;
  border-left: 4px solid var(--accent);
}
.note p {
  font-size: 15px;
  margin: 0;
  line-height: 1.6;
}

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

.benefit {
  background: var(--white);
  padding: 28px;
  border-radius: 12px;
  border: 1px solid var(--card-border);
  transition: transform 0.18s ease;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.benefit:hover {
  transform: translateY(-12px);
  box-shadow: 0 16px 40px rgba(34, 58, 36, 0.15);
  border-color: var(--green-700);
}

.benefit > div[aria-hidden="true"] {
  animation: float 3s ease-in-out infinite;
}

.benefit:nth-child(2) > div[aria-hidden="true"] {
  animation-delay: 0.5s;
}

.benefit:nth-child(3) > div[aria-hidden="true"] {
  animation-delay: 1s;
}

.benefit:nth-child(4) > div[aria-hidden="true"] {
  animation-delay: 1.5s;
}

.benefit h3 {
  font-size: 20px;
  margin: 12px 0;
  font-weight: 700;
  color: var(--green-900);
}
.benefit p {
  font-size: 15px;
  color: var(--text-dark);
  opacity: 0.85;
  margin: 0;
}

/* CTA */
.cta {
  background: linear-gradient(135deg, var(--green-900) 0%, #101910 100%);
  color: var(--bg-page);
  border-radius: 16px;
  padding: 60px 40px;
  text-align: center;
  margin: 40px 0;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(143, 214, 148, 0.1),
    transparent
  );
  animation: shimmer 4s infinite;
}
.cta h2 {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 16px;
}
.cta p {
  font-size: 18px;
  opacity: 0.95;
  margin: 0 0 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.btn {
  background: var(--accent);
  color: var(--text-dark);
  border: none;
  padding: 16px 48px;
  font-size: 18px;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.btn:focus {
  outline: 3px solid rgba(143, 214, 148, 0.25);
  outline-offset: 3px;
}
.btn:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 12px 28px rgba(143, 214, 148, 0.4);
}

.footer {
  margin-top: 40px;
  padding: 32px 0;
  border-top: 1px solid rgba(16, 25, 16, 0.08);
  text-align: center;
  font-size: 14px;
  color: var(--text-dark);
  opacity: 0.75;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 28px;
  }
  .hero p {
    font-size: 16px;
  }
  .card {
    padding: 20px;
  }
  .cta {
    padding: 40px 20px;
  }
  .card .card-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .card .card-head .price {
    gap: 8px;
    white-space: nowrap;
    margin-top: 4px;
    margin-bottom: 4px;
  }

  .card .card-head .price .valor-raspado {
    font-size: 28px !important; /* menor no mobile */
  }

  /* Pequeno ajuste de padding do card, se necessário */
  .card {
    padding: 20px;
  }

  .card .price {
    font-size: 28px !important;
    line-height: 1.1 !important;
    align-self: flex-start !important;
    margin-top: 4px;
    margin-bottom: 8px;
  }

  .preco-raspadinha-setup,
  .preco-raspadinha-rec {
    display: inline-flex !important;
    align-items: center !important;
  }

  .raspadinha-wrapper {
    display: inline-flex !important;
    align-items: center !important;
  }

  .raspadinha-preco {
    font-size: 28px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}

@media (max-width: 768px) {
  /* HERO */
  .hero {
    padding: 48px 20px;
  }

  .hero h1 {
    font-size: 26px;
    line-height: 1.25;
    margin-bottom: 16px;
  }

  .hero p {
    font-size: 15px;
    max-width: 90%;
  }

  h2.section-title {
    font-size: 26px;
    text-align: center;
    margin-bottom: 20px;
  }

  p.lead {
    font-size: 16px;
  }

  .container {
    padding: 40px 20px;
  }

  .card {
    padding: 20px;
  }

  .card .card-head {
  
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-items: flex-start;
    gap: 12px;
  }

  .price {
    font-size: 28px;
    line-height: 1.1;
  }

  .price.preco-raspadinha-setup,
  .price.preco-raspadinha-rec {
    margin-top: 4px;
  }

  .grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .benefit {
    padding: 20px;
  }

  .cta {
    padding: 40px 20px;
  }

  .cta h2 {
    font-size: 24px;
  }

  .cta p {
    font-size: 15px;
    max-width: 90%;
  }

  .btn {
    padding: 14px 30px;
    font-size: 16px;
  }

  .footer {
    font-size: 12px;
  }

  .raspadinha-preco {
    font-size: 28px !important;
  }

  .raspadinha-canvas {
    border-radius: 4px;
  }
}
