/* =========================================================
   DESIGN TOKENS  (Sua Rifa Digital — Design System v1.0)
   ========================================================= */
:root {
  /* Brand */
  --brand-green-500: #22C55E;
  /* cor de ação principal */
  --brand-green-400: #4ADE80;
  /* hover / fundos suaves */
  --brand-green-100: #DCFCE7;
  /* fundos sutis de seção/cards */
  --brand-green-700: #15803D;
  /* texto destaque, sombra sólida */
  --brand-navy-900: #0F1419;
  --brand-navy-700: #1F2937;

  /* Accents */
  --accent-coral: #FF6B6B;
  --accent-mint: #7DD3A8;
  --accent-lavender: #C4B5FD;
  --accent-sky: #7DD3FC;
  --accent-peach: #FDBA74;

  /* Accent soft backgrounds (low-saturation) */
  --coral-100: #FFE4E1;
  --mint-100: #E7F8EF;
  --lavender-100: #EDE9FE;
  --sky-100: #E0F2FE;
  --peach-100: #FFEDD5;

  /* Neutrals */
  --neutral-white: #FFFFFF;
  --neutral-50: #FAFAF7;
  --neutral-100: #F4F4EF;
  --neutral-300: #D4D4D0;
  --neutral-500: #71717A;
  --neutral-700: #3F3F46;
  --neutral-900: #0F1419;

  /* Semantic */
  --success: #10B981;
  --warning: #F59E0B;
  --danger: #EF4444;
  --info: #3B82F6;

  /* Radius */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;

  /* Spacing (4px / 8pt grid) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --space-24: 96px;
  --space-32: 128px;

  /* Fonts */
  --font-display: 'Bricolage Grotesque', 'Cabinet Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(15, 20, 25, .04);
  --shadow-sm: 0 1px 3px rgba(15, 20, 25, .06), 0 1px 2px rgba(15, 20, 25, .04);
  --shadow-md: 0 4px 8px rgba(15, 20, 25, .06), 0 2px 4px rgba(15, 20, 25, .04);
  --shadow-lg: 0 12px 24px rgba(15, 20, 25, .08), 0 4px 8px rgba(15, 20, 25, .04);
  --shadow-xl: 0 24px 48px rgba(15, 20, 25, .12), 0 8px 16px rgba(15, 20, 25, .06);
  --shadow-stacked: 0 4px 0 0 #15803D;
}

/* =========================================================
   RESET / BASE
   ========================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--neutral-700);
  background: var(--neutral-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none
}

ul {
  list-style: none
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--neutral-900);
  line-height: 1.1
}

/* Focus visibility (keyboard navigation) */
:focus-visible {
  outline: 3px solid var(--brand-navy-900);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--brand-navy-900);
  outline-offset: 2px;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -100px;
  z-index: 1000;
  background: var(--brand-navy-900);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: top .2s ease;
}

.skip-link:focus {
  top: var(--space-4)
}

/* =========================================================
   LAYOUT HELPERS
   ========================================================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--space-6);
}

section {
  padding-block: var(--space-16);
  scroll-margin-top: 88px
}

.section-head {
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: var(--space-12)
}

.section-head .eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--neutral-500);
  margin-bottom: var(--space-3);
}

h2 {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 700;
  letter-spacing: -.5px
}

.section-head p {
  font-size: clamp(16px, 2.2vw, 19px);
  color: var(--neutral-700);
  margin-top: var(--space-4);
  line-height: 1.6;
}

/* Highlight: deep-green text on a soft green pad — AA contrast (#15803D on #DCFCE7 ≈ 4.7:1) */
.hl {
  color: var(--brand-green-700);
  background: var(--brand-green-100);
  padding: .02em .24em;
  border-radius: var(--radius-sm);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.hl-solid {
  color: var(--neutral-white);
  background: var(--brand-green-700);
  padding: 0 .18em;
  border-radius: var(--radius-sm)
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  padding: 15px 28px;
  min-height: 48px;
  border-radius: var(--radius-full);
  transition: all .2s ease;
  text-align: center;
  white-space: nowrap;
}

.btn .arrow {
  transition: transform .2s ease
}

.btn:hover .arrow {
  transform: translateX(3px)
}

.btn-primary {
  background: var(--brand-green-500);
  color: var(--neutral-900)
}

.btn-primary:hover {
  background: var(--brand-green-400);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg)
}

.btn-primary:active {
  transform: translateY(0);
  filter: brightness(.95)
}

.btn-secondary {
  background: transparent;
  border: 1.5px solid var(--neutral-900);
  color: var(--neutral-900)
}

.btn-secondary:hover {
  background: var(--neutral-900);
  color: var(--neutral-white)
}

/* Large hero / banner CTA with stacked solid shadow */
.btn-cta {
  background: var(--brand-green-500);
  color: var(--neutral-900);
  font-size: 18px;
  padding: 18px 36px;
  min-height: 56px;
  box-shadow: var(--shadow-stacked);
}

.btn-cta:hover {
  transform: translateY(2px);
  box-shadow: 0 2px 0 0 #15803D;
  background: var(--brand-green-400)
}

.btn-cta:active {
  transform: translateY(4px);
  box-shadow: 0 0 0 0 #15803D
}

/* =========================================================
   HEADER / NAV
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  transition: height .25s ease, background .25s ease, box-shadow .25s ease;
}

.site-header.scrolled {
  height: 64px;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

/* Com o menu mobile aberto, removemos o backdrop-filter: ele cria um containing block
   e prenderia o overlay (position:fixed) dentro do header em vez da viewport. */
.site-header.menu-open {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: transparent;
  box-shadow: none;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  width: 100%
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--neutral-900);
  letter-spacing: -.4px;
  flex-shrink: 0;
  position: relative;
  z-index: 110;
  /* acima do overlay do menu mobile */
}

.logo-img {
  height: 40px;
  width: auto;
  display: block;
  transition: height .25s ease
}

.site-header.scrolled .logo-img {
  height: 32px
}

/* dark footer: light pad keeps the colored logo legible on navy */
.footer-logo-img {
  height: 48px;
  width: auto;
  display: block;
  background: var(--neutral-white);
  padding: 8px 14px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs)
}

/* center pill menu */
.nav-menu {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--neutral-white);
  border: 1px solid var(--neutral-100);
  border-radius: var(--radius-full);
  padding: 8px 12px;
  box-shadow: 0 4px 20px rgba(15, 20, 25, .06);
}

/* indicador deslizante: segue o item sob o mouse (posição via JS) */
.nav-menu::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: var(--pill-w, 0);
  height: var(--pill-h, 0);
  transform: translate(var(--pill-x, 0), var(--pill-y, 0));
  background: var(--neutral-100);
  border-radius: var(--radius-full);
  opacity: var(--pill-o, 0);
  transition: transform .3s cubic-bezier(.4, 0, .2, 1), width .3s cubic-bezier(.4, 0, .2, 1), height .3s ease, opacity .2s ease;
  pointer-events: none;
  z-index: 0;
}

@media (max-width: 920px) {
  .nav-menu::before {
    display: none;
  }
}

.nav-menu a {
  position: relative;
  z-index: 1;
  font-size: 15px;
  font-weight: 500;
  color: var(--neutral-700);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  transition: color .2s ease;
}

.nav-menu a.active {
  color: var(--brand-green-700);
}

.nav-menu a:hover {
  color: var(--neutral-900)
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0
}

/* mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--neutral-300);
  background: var(--neutral-white);
  position: relative;
  z-index: 110;
  /* fica acima do overlay do menu para virar X e poder fechar */
}

.nav-toggle .bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--neutral-900);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease
}

.nav-toggle .bar+.bar {
  margin-top: 5px
}

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

.nav-toggle[aria-expanded="true"] .bar:nth-child(2) {
  opacity: 0
}

.nav-toggle[aria-expanded="true"] .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg)
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: var(--space-8);
  padding-bottom: var(--space-16);
  background:
    radial-gradient(120% 80% at 80% 0%, var(--brand-green-100) 0%, rgba(255, 248, 225, 0) 60%),
    var(--neutral-white);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: center
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--brand-green-100);
  color: var(--neutral-900);
  border: 1px solid rgba(34, 197, 94, .4);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .01em;
  margin-bottom: var(--space-6);
}

.hero h1 {
  font-size: clamp(36px, 7vw, 68px);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.05;
  color: var(--neutral-900);
  max-width: 14ch;
}

.hero .subtitle {
  font-size: clamp(17px, 2.4vw, 20px);
  color: var(--neutral-700);
  line-height: 1.6;
  margin-top: var(--space-6);
  max-width: 54ch;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-8)
}

.social-proof {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-6);
  margin-top: var(--space-8);
}

.social-proof li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 15px;
  font-weight: 500;
  color: var(--neutral-700);
}

.social-proof .check {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: var(--radius-full);
  background: var(--mint-100);
  color: var(--success);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
}

/* Hero visual — largura limitada à imagem para as tags flutuantes ancorarem nas bordas */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 340px;
  margin-inline: auto;
}

.hero-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin-inline: auto;
  filter: drop-shadow(0 22px 45px rgba(15, 20, 25, .20));
}

@media (min-width:1024px) {
  .hero-visual {
    max-width: 440px
  }
}

.mockup {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: var(--neutral-white);
  border: 1px solid var(--neutral-100);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
  padding: var(--space-6);
}

.mockup-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-4)
}

.mockup-head .title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--neutral-900)
}

.tag-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--mint-100);
  color: var(--success);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: var(--radius-full);
}

.tag-live::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success)
}

.mockup-prize {
  height: 120px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--brand-green-400), var(--accent-peach));
  display: grid;
  place-items: center;
  font-size: 46px;
  margin-bottom: var(--space-4);
}

.mockup-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: var(--space-2)
}

.mockup-row .lbl {
  font-size: 13px;
  color: var(--neutral-500)
}

.mockup-row .val {
  font-size: 14px;
  font-weight: 600;
  color: var(--neutral-900)
}

.progress {
  height: 10px;
  border-radius: var(--radius-full);
  background: var(--neutral-100);
  overflow: hidden;
  margin-bottom: var(--space-4)
}

.progress>i {
  display: block;
  height: 100%;
  width: 72%;
  border-radius: var(--radius-full);
  background: var(--brand-green-500)
}

.cota-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 6px;
  margin-bottom: var(--space-4)
}

.cota {
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  background: var(--neutral-100);
  font-size: 10px;
  color: var(--neutral-500);
  display: grid;
  place-items: center
}

.cota.sold {
  background: var(--brand-green-500);
  color: var(--neutral-900);
  font-weight: 700
}

.cota.res {
  background: var(--peach-100);
  color: var(--warning);
  font-weight: 600
}

.mockup .btn {
  width: 100%
}

/* floating tags & sparkles */
.float-tag {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--neutral-white);
  border: 1px solid var(--neutral-100);
  box-shadow: var(--shadow-lg);
  padding: 10px 16px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  color: var(--neutral-900);
}

.float-tag.t1 {
  top: 8%;
  left: -6%;
}

.float-tag.t2 {
  bottom: 14%;
  right: -4%;
  background: var(--brand-navy-900);
  color: #fff;
  border-color: var(--brand-navy-900)
}

.float-tag .dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px
}

.t1 .dot {
  background: var(--mint-100);
  color: var(--success)
}

.t2 .dot {
  background: var(--brand-green-500);
  color: var(--neutral-900)
}

.sparkle {
  position: absolute;
  color: var(--brand-green-500);
  pointer-events: none;
  font-size: 22px;
  z-index: 1;
  opacity: .9
}

.hero .s1 {
  top: 6%;
  right: 18%;
  font-size: 28px
}

.hero .s2 {
  bottom: 18%;
  left: 6%;
  color: var(--neutral-300);
  font-size: 18px
}

.hero .s3 {
  top: 42%;
  right: 4%;
  font-size: 16px
}

/* =========================================================
   COMO FUNCIONA
   ========================================================= */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

.step {
  position: relative;
  background: var(--neutral-white);
  border: 1px solid var(--neutral-100);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}

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

/* seta apontando para o próximo passo (nó no vão entre os cards) */
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  border: 3px solid var(--neutral-white);
  box-shadow: var(--shadow-sm);
  background: var(--brand-navy-900) url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23FFFFFF'%20stroke-width='2.6'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M6%209l6%206%206-6'/%3E%3C/svg%3E") center / 18px 18px no-repeat;
  /* mobile (cards empilhados): seta para baixo, centralizada no vão inferior */
  left: 50%;
  bottom: -31px;
  transform: translateX(-50%);
}

@media (min-width: 768px) {
  /* layout em linha: seta para a direita, no vão lateral, alinhada aos badges */
  .step:not(:last-child)::after {
    left: auto;
    bottom: auto;
    right: -31px;
    top: 50%;
    transform: translateY(-50%);
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23FFFFFF'%20stroke-width='2.6'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M9%206l6%206-6%206'/%3E%3C/svg%3E");
  }
}

.step .num {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--brand-green-500);
  color: var(--neutral-900);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  margin-bottom: var(--space-4);
}

.step h3 {
  font-size: clamp(20px, 2.4vw, 24px);
  font-weight: 600;
  margin-bottom: var(--space-3)
}

.step p {
  font-size: 16px;
  color: var(--neutral-700)
}

/* =========================================================
   RECURSOS / FEATURES
   ========================================================= */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6)
}

.feature {
  background: var(--neutral-white);
  border: 1px solid var(--neutral-100);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md)
}

.feature .ficon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  font-size: 26px;
  margin-bottom: var(--space-4);
}

.feature h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: var(--space-2)
}

.feature p {
  font-size: 15px;
  color: var(--neutral-700)
}

.bg-yellow {
  background: var(--brand-green-100)
}

.bg-coral {
  background: var(--coral-100)
}

.bg-mint {
  background: var(--mint-100)
}

.bg-lavender {
  background: var(--lavender-100)
}

.bg-sky {
  background: var(--sky-100)
}

.bg-peach {
  background: var(--peach-100)
}

/* =========================================================
   RECURSOS EXTRAS (engajamento)
   ========================================================= */
.extras-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  max-width: 880px;
  margin-inline: auto;
}

.extra-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  background: var(--neutral-white);
  border: 1px solid var(--neutral-100);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}

.extra-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.extra-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
}

.extra-icon svg {
  width: 26px;
  height: 26px;
}

.extra-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
}

.extra-card p {
  font-size: 14px;
  color: var(--neutral-700);
  line-height: 1.55;
}

.extra-card--coral .extra-icon {
  background: var(--coral-100);
  color: #E0484A;
}

.extra-card--sky .extra-icon {
  background: var(--sky-100);
  color: #0C82C4;
}

@media (min-width: 768px) {
  .extras-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
  }
}

/* =========================================================
   PARA QUEM É
   ========================================================= */
.usecases {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6)
}

.usecase {
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  border: 1px solid var(--neutral-100);
  transition: transform .25s ease, box-shadow .25s ease;
}

.usecase:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md)
}

.usecase .uc-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: var(--neutral-white);
  display: grid;
  place-items: center;
  font-size: 28px;
  margin-bottom: var(--space-4);
  box-shadow: var(--shadow-xs);
}

.usecase h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: var(--space-2)
}

.usecase p {
  font-size: 15px;
  color: var(--neutral-700)
}

.uc-yellow {
  background: var(--brand-green-100)
}

.uc-lavender {
  background: var(--lavender-100)
}

.uc-mint {
  background: var(--mint-100)
}

.uc-peach {
  background: var(--peach-100)
}

.uc-sky {
  background: var(--sky-100)
}

/* =========================================================
   PAGUE DEPOIS
   ========================================================= */
.paylater-card {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--neutral-white);
  border: 1px solid var(--neutral-100);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.paylater-main {
  padding: var(--space-8);
}

.paylater-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.paylater-step {
  position: relative;
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}

.pl-num {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--brand-green-100);
  color: var(--brand-green-700);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
}

/* linha que conecta os passos */
.paylater-step:not(:last-child) .pl-num::after {
  content: "";
  position: absolute;
  top: 44px;
  left: 21px;
  width: 2px;
  height: calc(100% - 44px + var(--space-8));
  background: var(--neutral-300);
  z-index: 0;
}

.paylater-step h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
}

.paylater-step p {
  font-size: 15px;
  color: var(--neutral-700);
}

.paylater-aside {
  background: var(--brand-navy-900);
  color: var(--neutral-white);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.pl-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  background: rgba(34, 197, 94, .16);
  color: var(--brand-green-400);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
  padding: 7px 14px;
  border-radius: var(--radius-full);
}

.pl-badge svg {
  width: 15px;
  height: 15px;
}

.pl-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 6vw, 48px);
  line-height: 1;
  color: var(--neutral-white);
}

.pl-price small {
  display: block;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, .6);
  margin-top: 10px;
}

.pl-note {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, .82);
}

.pl-note strong {
  color: var(--brand-green-400);
}

.pl-cta {
  width: 100%;
  margin-top: var(--space-2);
}

.pl-trust {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: var(--space-2);
}

.pl-trust li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, .85);
}

.pl-check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--brand-green-400);
}

@media (min-width: 860px) {
  .paylater-card {
    grid-template-columns: 1.25fr .85fr;
  }

  .paylater-main {
    padding: var(--space-12);
  }

  .paylater-aside {
    padding: var(--space-12);
  }
}

.pricing-note {
  text-align: center;
  margin-top: var(--space-12);
  font-size: 15px;
  color: var(--neutral-700);
  background: var(--brand-green-100);
  border: 1px dashed rgba(34, 197, 94, .6);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-6);
  max-width: 640px;
  margin-inline: auto;
}

.pricing-note strong {
  color: var(--neutral-900)
}

/* =========================================================
   DEPOIMENTOS
   ========================================================= */
.testimonials {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6)
}

.testimonial {
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  border: 1px solid rgba(15, 20, 25, .04);
}

.t-yellow {
  background: var(--brand-green-100)
}

.t-lavender {
  background: var(--lavender-100)
}

.t-mint {
  background: var(--mint-100)
}

.stars {
  color: #F5B400;
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: var(--space-3)
}

.testimonial .quote-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--neutral-900);
  margin-bottom: var(--space-3);
  line-height: 1.25
}

.testimonial blockquote {
  font-size: 15px;
  color: var(--neutral-700);
  line-height: 1.6;
  margin-bottom: var(--space-6)
}

.author {
  display: flex;
  align-items: center;
  gap: var(--space-3)
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--neutral-900);
  font-family: var(--font-display);
  font-size: 16px;
  background: var(--brand-green-500);
}

.author .who {
  font-weight: 600;
  font-size: 14px;
  color: var(--neutral-900);
  font-style: normal
}

.author .where {
  font-size: 13px;
  color: var(--neutral-500)
}

/* =========================================================
   BANNER CTA
   ========================================================= */
.banner {
  background: var(--brand-navy-900);
  text-align: center;
  position: relative;
  overflow: hidden
}

.banner .container {
  position: relative;
  z-index: 1
}

.banner h2 {
  color: var(--neutral-white);
  font-size: clamp(28px, 5vw, 48px);
  max-width: 18ch;
  margin-inline: auto
}

.banner p {
  color: rgba(255, 255, 255, .78);
  font-size: clamp(16px, 2.2vw, 19px);
  margin: var(--space-4) auto var(--space-8);
  max-width: 46ch
}

.banner .b-spark {
  position: absolute;
  color: rgba(34, 197, 94, .55);
  font-size: 30px
}

.banner .bs1 {
  top: 18%;
  left: 10%
}

.banner .bs2 {
  bottom: 18%;
  right: 12%;
  font-size: 22px
}

.banner .bs3 {
  top: 30%;
  right: 24%;
  font-size: 16px;
  color: rgba(255, 255, 255, .25)
}

/* =========================================================
   FAQ
   ========================================================= */
.faq-list {
  max-width: 780px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-3)
}

.faq-item {
  background: var(--neutral-white);
  border: 1px solid var(--neutral-100);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
}

.faq-item.is-open {
  border-color: var(--neutral-300);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-6);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(16px, 2vw, 18px);
  color: var(--neutral-900);
  min-height: 44px;
  transition: background .2s ease;
}

.faq-item summary:hover {
  background: var(--neutral-50);
}

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

.faq-item .q-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: var(--radius-full);
  background: var(--brand-green-100);
  color: var(--neutral-900);
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  transition: transform .35s cubic-bezier(.4, 0, .2, 1), background .25s ease;
}

.faq-item.is-open .q-icon {
  transform: rotate(180deg);
  background: var(--brand-green-500)
}

/* resposta com abertura suave: altura (controlada por JS) + fade */
.faq-item .answer {
  padding: 0 var(--space-6) var(--space-6);
  color: var(--neutral-700);
  font-size: 15px;
  line-height: 1.6;
  overflow: hidden;
  opacity: 0;
  transition: height .35s cubic-bezier(.4, 0, .2, 1), opacity .3s ease;
}

.faq-item.is-open .answer {
  opacity: 1;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--brand-navy-900);
  color: rgba(255, 255, 255, .72);
  padding-block: var(--space-16) var(--space-8)
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8)
}

.footer-brand .logo {
  color: #fff;
  margin-bottom: var(--space-4)
}

.footer-brand p {
  font-size: 14px;
  max-width: 34ch;
  color: rgba(255, 255, 255, .6)
}

.footer-col h4 {
  font-family: var(--font-body);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: var(--space-4)
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3)
}

.footer-col a {
  font-size: 14px;
  color: rgba(255, 255, 255, .72);
  transition: color .2s ease
}

.footer-col a:hover {
  color: var(--brand-green-500)
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  margin-top: var(--space-12);
  padding-top: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: center;
  text-align: center;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  justify-content: center
}

.socials a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: rgba(255, 255, 255, .72);
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, .14);
  transition: all .2s ease;
}

.socials a svg {
  width: 20px;
  height: 20px;
}

.socials a:hover {
  color: var(--neutral-900);
  background: var(--brand-green-500);
  border-color: var(--brand-green-500);
  transform: translateY(-2px);
}

.copyright {
  font-size: 13px;
  color: rgba(255, 255, 255, .5)
}

/* =========================================================
   BACK TO TOP BUTTON
   ========================================================= */
.back-to-top {
  position: fixed;
  right: var(--space-6);
  bottom: var(--space-6);
  z-index: 90;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  display: grid;
  place-items: center;
  background: var(--brand-green-500);
  color: var(--neutral-900);
  box-shadow: var(--shadow-lg);
  /* escondido por padrão (no topo) — sem foco/clique enquanto oculto */
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s ease, background .2s ease;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: none
}

.back-to-top:hover {
  background: var(--brand-green-400);
  transform: translateY(-3px)
}

.back-to-top:active {
  transform: translateY(0);
  filter: brightness(.95)
}

@media (min-width:768px) {
  .back-to-top {
    right: var(--space-12);
    bottom: var(--space-12);
    width: 56px;
    height: 56px
  }
}

/* =========================================================
   SCROLL REVEAL ANIMATION
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease
}

.reveal.in {
  opacity: 1;
  transform: none
}

/* =========================================================
   RESPONSIVE — TABLET (>=768px)
   ========================================================= */
@media (min-width:768px) {
  .container {
    padding-inline: var(--space-12)
  }

  section {
    padding-block: var(--space-24);
    scroll-margin-top: 96px
  }

  .hero {
    padding-top: var(--space-12);
    padding-bottom: var(--space-24)
  }

  .steps {
    grid-template-columns: repeat(3, 1fr)
  }

  .testimonials {
    grid-template-columns: repeat(3, 1fr)
  }

  .footer-grid {
    grid-template-columns: 1.6fr 1fr;
    gap: var(--space-12)
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left
  }
}

/* =========================================================
   RESPONSIVE — DESKTOP (>=1024px)
   ========================================================= */
@media (min-width:1024px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr)
  }

  .hero-grid {
    grid-template-columns: 1.05fr .95fr;
    gap: var(--space-16)
  }

  .hero h1 {
    font-size: clamp(48px, 5vw, 68px)
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr
  }

  /* 5 use-case cards: first row 3, second row 2 centered feel */
  .usecases {
    grid-template-columns: repeat(6, 1fr)
  }

  .usecase {
    grid-column: span 2
  }

  .usecase:nth-child(4) {
    grid-column: 2/4
  }

  .usecase:nth-child(5) {
    grid-column: 4/6
  }
}

/* =========================================================
   RESPONSIVE — REFINAMENTOS (mobile-first, passada sênior)
   ========================================================= */

/* Aproveita o espaço de phablets/tablets pequenos antes de virar grid de desktop */
@media (min-width:600px) and (max-width:1023px) {
  .features-grid { grid-template-columns: repeat(2, 1fr) }
  .usecases { grid-template-columns: repeat(2, 1fr) }
}

/* Casos de uso em 2 colunas: centraliza o 5º card para não ficar "órfão" */
@media (min-width:600px) and (max-width:1023px) {
  .usecase:nth-child(5) {
    grid-column: 1 / -1;
    max-width: 360px;
    width: 100%;
    margin-inline: auto;
  }
}

/* Celular (≤560px): ritmo vertical compacto, CTAs full-width e cards com padding proporcional */
@media (max-width:560px) {
  section { padding-block: var(--space-12) }
  .section-head { margin-bottom: var(--space-8) }

  .hero { padding-bottom: var(--space-12) }
  .hero-grid { gap: var(--space-8) }

  .hero-cta { flex-direction: column; align-items: stretch; gap: var(--space-3) }
  .hero-cta .btn { width: 100%; white-space: normal; line-height: 1.25 }

  .step, .feature, .usecase, .testimonial { padding: var(--space-6) }
  .paylater-main, .paylater-aside { padding: var(--space-6) }

  .float-tag { font-size: 12px; padding: 8px 12px }
  .float-tag.t1 { left: 0 }
  .float-tag.t2 { right: 0 }

  .back-to-top { width: 48px; height: 48px; right: var(--space-4); bottom: var(--space-4) }
}

/* Telas muito estreitas (≤360px): headline, preço e respiro lateral sem estourar */
@media (max-width:360px) {
  .container { padding-inline: var(--space-4) }
  .hero h1 { font-size: 32px }
  .pl-price { font-size: 38px }
}

/* =========================================================
   MOBILE NAV ( < 920px collapses pill menu )
   ========================================================= */
@media (max-width:920px) {
  .nav-toggle {
    display: inline-flex
  }

  .nav-menu {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: var(--space-4);
    background: var(--neutral-white);
    border-radius: 0;
    border: none;
    box-shadow: none;
    padding: var(--space-16) var(--space-6);
    z-index: 99;
    /* fechado: invisível e fora da navegação por teclado — sem deslocar a página para o lado */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
  }

  .nav-menu.open {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }

  .nav-menu a {
    font-size: 22px;
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--neutral-900);
    padding: 12px 24px;
  }

  .nav-desktop-cta {
    display: none
  }
}

@media (min-width:921px) {
  .nav-mobile-cta {
    display: none
  }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important
  }

  .reveal {
    opacity: 1;
    transform: none
  }
}

/* =========================================================
   ÍCONES SVG (premium, inline) — substituem os emojis
   ========================================================= */
.badge svg { width: 16px; height: 16px; display: block; color: var(--brand-green-700) }

.feature .ficon svg { width: 28px; height: 28px; display: block; color: var(--brand-green-700) }
.feature .ficon.bg-coral svg { color: #E0484A }
.feature .ficon.bg-mint svg { color: #0E9F6E }
.feature .ficon.bg-lavender svg { color: #7C3AED }
.feature .ficon.bg-sky svg { color: #0C82C4 }
.feature .ficon.bg-peach svg { color: #E07B1B }

.usecase .uc-icon svg { width: 30px; height: 30px; display: block; color: var(--brand-green-700) }
.usecase.uc-lavender .uc-icon svg { color: #7C3AED }
.usecase.uc-mint .uc-icon svg { color: #0E9F6E }
.usecase.uc-peach .uc-icon svg { color: #E07B1B }
.usecase.uc-sky .uc-icon svg { color: #0C82C4 }

.faq-item .q-icon svg { width: 16px; height: 16px; display: block }
