/* ============================================================
   AlphaSign — modern.css
   Design system da landing page (index.html)
   ============================================================ */

:root {
   --ink: #1a1240;
   --ink-soft: #4c4470;
   --brand: #6d3ac9;
   --brand-deep: #4a21a8;
   --brand-dark: #2a1461;
   --lilac: #f6f3fc;
   --lilac-2: #ede7fb;
   --line: #e6e0f4;
   --paper: #ffffff;
   --valid: #0e9f6e;
   --valid-soft: #e3f7ef;
   --whats: #25d366;

   --font-display: 'Bricolage Grotesque', 'Inter', sans-serif;
   --font-body: 'Inter', system-ui, sans-serif;
   --font-hand: 'Caveat', cursive;

   --radius: 18px;
   --radius-lg: 28px;
   --shadow-sm: 0 1px 2px rgba(26, 18, 64, 0.06), 0 4px 12px rgba(26, 18, 64, 0.06);
   --shadow-md: 0 2px 4px rgba(26, 18, 64, 0.05), 0 12px 32px rgba(26, 18, 64, 0.1);
   --shadow-lg: 0 4px 8px rgba(26, 18, 64, 0.06), 0 24px 64px rgba(42, 20, 97, 0.18);

   --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
   box-sizing: border-box;
}

html {
   scroll-behavior: smooth;
}

body {
   margin: 0;
   font-family: var(--font-body);
   font-size: 1rem;
   line-height: 1.6;
   color: var(--ink);
   background: var(--paper);
   -webkit-font-smoothing: antialiased;
}

img {
   max-width: 100%;
   height: auto;
}

a {
   color: var(--brand);
   text-decoration: none;
}

a:hover {
   color: var(--brand-deep);
}

h1,
h2,
h3,
h4 {
   font-family: var(--font-display);
   line-height: 1.15;
   margin: 0 0 0.5em;
   letter-spacing: -0.015em;
}

:focus-visible {
   outline: 3px solid var(--brand);
   outline-offset: 3px;
   border-radius: 4px;
}

.container {
   width: min(1160px, 100% - 2.5rem);
   margin-inline: auto;
}

section {
   padding: clamp(4rem, 8vw, 6.5rem) 0;
}

/* ---------- Section headers ---------- */
.section-head {
   max-width: 640px;
   margin: 0 auto clamp(2.5rem, 5vw, 4rem);
   text-align: center;
}

.section-head h2 {
   font-size: clamp(1.9rem, 4vw, 2.75rem);
   font-weight: 700;
}

.section-head p {
   color: var(--ink-soft);
   font-size: 1.075rem;
   margin: 0;
}

.eyebrow {
   display: inline-flex;
   align-items: center;
   gap: 0.5rem;
   font-size: 0.78rem;
   font-weight: 600;
   letter-spacing: 0.08em;
   text-transform: uppercase;
   color: var(--brand);
   background: var(--lilac-2);
   border-radius: 999px;
   padding: 0.35rem 0.9rem;
   margin-bottom: 1rem;
}

/* ---------- Reveal on scroll (nativo, via IntersectionObserver) ---------- */
[data-reveal] {
   opacity: 0;
   transform: translateY(26px);
   transition:
      opacity 0.7s ease,
      transform 0.8s var(--ease-out);
   transition-delay: var(--rd, 0s);
}

[data-reveal='left'] {
   transform: translateX(-34px);
}

[data-reveal='right'] {
   transform: translateX(34px);
}

[data-reveal].in {
   opacity: 1;
   transform: none;
}

/* ============================================================
   Header
   ============================================================ */
#header {
   position: fixed;
   inset: 0 0 auto 0;
   z-index: 990;
   height: 76px;
   display: flex;
   align-items: center;
   transition:
      background 0.35s ease,
      box-shadow 0.35s ease,
      height 0.35s ease;
}

#header .container {
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: 1.5rem;
}

#header.header-scrolled {
   height: 64px;
   background: rgba(255, 255, 255, 0.82);
   -webkit-backdrop-filter: saturate(160%) blur(14px);
   backdrop-filter: saturate(160%) blur(14px);
   box-shadow:
      0 1px 0 var(--line),
      0 8px 24px rgba(26, 18, 64, 0.06);
}

#header .logo img {
   max-height: 34px;
   display: block;
}

.navbar {
   display: flex;
   align-items: center;
   gap: 1.25rem;
}

.navbar ul {
   display: flex;
   align-items: center;
   gap: 0.25rem;
   list-style: none;
   margin: 0;
   padding: 0;
}

.navbar .nav-link {
   display: block;
   padding: 0.45rem 0.85rem;
   font-size: 0.925rem;
   font-weight: 500;
   color: var(--ink);
   border-radius: 999px;
   transition:
      background 0.2s ease,
      color 0.2s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
   color: var(--brand-deep);
   background: var(--lilac-2);
}

.header-cta {
   display: flex;
   align-items: center;
   gap: 0.6rem;
}

.btn {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   gap: 0.5rem;
   font-family: var(--font-body);
   font-weight: 600;
   font-size: 0.95rem;
   line-height: 1;
   border: 0;
   border-radius: 999px;
   padding: 0.85rem 1.5rem;
   cursor: pointer;
   transition:
      transform 0.2s var(--ease-out),
      box-shadow 0.2s ease,
      background 0.2s ease,
      color 0.2s ease;
}

.btn-primary {
   color: #fff;
   background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
   box-shadow: 0 8px 20px rgba(109, 58, 201, 0.35);
}

.btn-primary:hover {
   transform: translateY(-2px);
   box-shadow: 0 12px 28px rgba(109, 58, 201, 0.45);
   color: #fff;
}

.btn-ghost {
   color: var(--brand-deep);
   background: transparent;
   box-shadow: inset 0 0 0 1.5px var(--line);
}

.btn-ghost:hover {
   background: var(--lilac);
   box-shadow: inset 0 0 0 1.5px var(--brand);
}

.mobile-nav-toggle {
   display: none;
   font-size: 1.75rem;
   color: var(--ink);
   cursor: pointer;
   line-height: 0;
}

/* Mobile nav (main.js alterna .navbar-mobile) */
@media (max-width: 991px) {
   .navbar ul {
      display: none;
   }

   .mobile-nav-toggle {
      display: block;
   }

   .header-cta .btn-ghost {
      display: none;
   }

   .navbar-mobile {
      position: fixed;
      inset: 0;
      z-index: 999;
      background: rgba(26, 18, 64, 0.55);
      -webkit-backdrop-filter: blur(6px);
      backdrop-filter: blur(6px);
   }

   .navbar-mobile ul {
      display: flex;
      flex-direction: column;
      gap: 0.35rem;
      position: absolute;
      inset: 5rem 1.25rem auto;
      background: #fff;
      border-radius: var(--radius-lg);
      padding: 1.25rem;
      box-shadow: var(--shadow-lg);
      animation: sheetIn 0.35s var(--ease-out) both;
   }

   .navbar-mobile .nav-link {
      font-size: 1.05rem;
      padding: 0.8rem 1rem;
   }

   .navbar-mobile .mobile-nav-toggle {
      position: absolute;
      top: 1.4rem;
      right: 1.6rem;
      color: #fff;
   }
}

@keyframes sheetIn {
   from {
      opacity: 0;
      transform: translateY(-14px);
   }
   to {
      opacity: 1;
      transform: none;
   }
}

/* ============================================================
   Hero
   ============================================================ */
#hero {
   position: relative;
   overflow: hidden;
   padding: calc(76px + clamp(3.5rem, 8vw, 6rem)) 0 clamp(4rem, 8vw, 6rem);
   background:
      radial-gradient(52rem 30rem at 12% -8%, rgba(109, 58, 201, 0.13), transparent 60%), radial-gradient(44rem 28rem at 95% 8%, rgba(14, 159, 110, 0.08), transparent 55%),
      linear-gradient(180deg, #fbfaff 0%, #ffffff 100%);
}

#hero::before {
   content: '';
   position: absolute;
   inset: 0;
   background-image: radial-gradient(rgba(26, 18, 64, 0.09) 1px, transparent 1px);
   background-size: 26px 26px;
   -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 72%);
   mask-image: linear-gradient(180deg, #000 0%, transparent 72%);
   pointer-events: none;
}

.hero-grid {
   position: relative;
   display: grid;
   grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
   align-items: center;
   gap: clamp(2rem, 5vw, 4rem);
}

.hero-copy .hero-badge {
   display: inline-flex;
   align-items: center;
   gap: 0.5rem;
   font-size: 0.8rem;
   font-weight: 600;
   color: var(--brand-deep);
   background: #fff;
   border: 1px solid var(--line);
   border-radius: 999px;
   padding: 0.4rem 0.95rem;
   box-shadow: var(--shadow-sm);
}

.hero-badge .bi {
   color: var(--valid);
}

.hero-copy h1 {
   font-size: clamp(2.4rem, 5.4vw, 3.8rem);
   font-weight: 800;
   margin: 1.1rem 0 1.15rem;
}

.hero-copy h1 .u-sign {
   position: relative;
   white-space: nowrap;
   color: var(--brand);
}

.u-sign svg {
   position: absolute;
   left: -2%;
   bottom: -0.28em;
   width: 104%;
   height: 0.42em;
   overflow: visible;
}

.u-sign svg path {
   fill: none;
   stroke: var(--brand);
   stroke-width: 7;
   stroke-linecap: round;
   opacity: 0.85;
   stroke-dasharray: 620;
   stroke-dashoffset: 620;
   animation: drawStroke 1.1s var(--ease-out) 0.9s forwards;
}

@keyframes drawStroke {
   to {
      stroke-dashoffset: 0;
   }
}

.hero-copy .lead {
   font-size: clamp(1.05rem, 1.6vw, 1.2rem);
   color: var(--ink-soft);
   max-width: 34rem;
   margin: 0 0 1.75rem;
}

.hero-actions {
   display: flex;
   flex-wrap: wrap;
   align-items: center;
   gap: 0.85rem;
}

.hero-actions .btn {
   padding: 1.05rem 1.9rem;
   font-size: 1.02rem;
}

.hero-note {
   display: flex;
   align-items: center;
   gap: 0.45rem;
   margin: 1rem 0 0;
   font-size: 0.875rem;
   color: var(--ink-soft);
}

.hero-note .bi {
   color: var(--valid);
}

/* Entrada orquestrada do hero (nativa, CSS puro) */
.h-anim {
   opacity: 0;
   transform: translateY(22px);
   animation: fadeUp 0.85s var(--ease-out) var(--d, 0s) forwards;
}

@keyframes fadeUp {
   to {
      opacity: 1;
      transform: none;
   }
}

/* Screenshot do produto */
.hero-shot {
   position: relative;
}

.shot-frame {
   position: relative;
   border-radius: var(--radius);
   background: #fff;
   padding: 0.6rem;
   border: 1px solid var(--line);
   box-shadow: var(--shadow-lg);
   transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
   transition: transform 0.6s var(--ease-out);
}

.hero-shot:hover .shot-frame {
   transform: perspective(1400px) rotateY(-2deg) rotateX(0deg);
}

.shot-frame img {
   display: block;
   border-radius: calc(var(--radius) - 8px);
}

.shot-glow {
   position: absolute;
   inset: 12% -6% -8% -6%;
   background: linear-gradient(135deg, rgba(109, 58, 201, 0.28), rgba(14, 159, 110, 0.14));
   filter: blur(42px);
   border-radius: 50%;
   z-index: -1;
}

.chip {
   position: absolute;
   display: flex;
   align-items: center;
   gap: 0.6rem;
   background: rgba(255, 255, 255, 0.92);
   -webkit-backdrop-filter: blur(8px);
   backdrop-filter: blur(8px);
   border: 1px solid var(--line);
   border-radius: 14px;
   padding: 0.6rem 0.9rem;
   box-shadow: var(--shadow-md);
   font-size: 0.85rem;
   font-weight: 600;
   animation: floatY 5.5s ease-in-out infinite;
}

.chip .ico {
   display: grid;
   place-items: center;
   width: 34px;
   height: 34px;
   border-radius: 10px;
   font-size: 1.05rem;
}

.chip small {
   display: block;
   font-weight: 500;
   color: var(--ink-soft);
   font-size: 0.72rem;
}

.chip-signed {
   right: -1.25rem;
   top: 14%;
   animation-delay: 0.6s;
}

.chip-signed .ico {
   color: var(--valid);
   background: var(--valid-soft);
}

.chip-signed .hand {
   font-family: var(--font-hand);
   font-size: 1.35rem;
   font-weight: 600;
   line-height: 1;
   color: var(--brand-deep);
}

.chip-link {
   left: -1.5rem;
   bottom: 12%;
}

.chip-link .ico {
   color: #fff;
   background: var(--whats);
}

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

@media (max-width: 991px) {
   .hero-grid {
      grid-template-columns: 1fr;
   }

   .hero-copy {
      text-align: center;
   }

   .hero-copy .lead {
      margin-inline: auto;
   }

   .hero-actions,
   .hero-note {
      justify-content: center;
   }

   .hero-shot {
      max-width: 540px;
      margin: 1.5rem auto 0;
   }

   .shot-frame {
      transform: none;
   }

   .chip-signed {
      right: -0.25rem;
   }

   .chip-link {
      left: -0.25rem;
   }
}

/* ============================================================
   Faixa de números (counts)
   ============================================================ */
#counts {
   padding: 0;
}

#counts .counts-band {
   position: relative;
   overflow: hidden;
   border-radius: var(--radius-lg);
   background: linear-gradient(120deg, var(--brand-dark) 0%, var(--brand-deep) 55%, var(--brand) 100%);
   color: #fff;
   padding: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 4vw, 3.5rem);
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 1.5rem;
   box-shadow: var(--shadow-lg);
}

#counts .counts-band::after {
   content: '';
   position: absolute;
   inset: 0;
   background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px);
   background-size: 22px 22px;
   -webkit-mask-image: linear-gradient(115deg, transparent 45%, #000);
   mask-image: linear-gradient(115deg, transparent 45%, #000);
   pointer-events: none;
}

.count-box {
   text-align: center;
}

.count-box .bi {
   font-size: 1.5rem;
   opacity: 0.85;
}

.count-box span {
   display: block;
   font-family: var(--font-display);
   font-size: clamp(1.9rem, 4vw, 2.8rem);
   font-weight: 700;
   line-height: 1.1;
   font-variant-numeric: tabular-nums;
}

.count-box span:empty::before {
   content: '—';
   opacity: 0.5;
}

.count-box p {
   margin: 0.15rem 0 0;
   font-size: 0.9rem;
   opacity: 0.85;
}

@media (max-width: 767px) {
   #counts .counts-band {
      grid-template-columns: 1fr;
   }
}

/* ============================================================
   Sobre (vídeo + pilares)
   ============================================================ */
.about-grid {
   display: grid;
   grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
   gap: clamp(2rem, 5vw, 4.5rem);
   align-items: center;
}

.video-card {
   position: relative;
   aspect-ratio: 4 / 4.6;
   border-radius: var(--radius-lg);
   overflow: hidden;
   background: radial-gradient(28rem 20rem at 85% 0%, rgba(255, 255, 255, 0.14), transparent 60%), linear-gradient(160deg, var(--brand-dark), var(--brand-deep) 60%, var(--brand));
   display: grid;
   place-items: center;
   box-shadow: var(--shadow-lg);
}

.video-card .doc-lines {
   position: absolute;
   inset: 14% 16%;
   border-radius: 14px;
   border: 1px dashed rgba(255, 255, 255, 0.28);
   -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent);
   mask-image: linear-gradient(180deg, #000 55%, transparent);
}

.video-card .hand {
   position: absolute;
   left: 20%;
   bottom: 20%;
   font-family: var(--font-hand);
   font-size: clamp(1.8rem, 3.5vw, 2.6rem);
   color: rgba(255, 255, 255, 0.85);
   transform: rotate(-6deg);
}

.play-btn {
   position: relative;
   z-index: 2;
   display: grid;
   place-items: center;
   width: 86px;
   height: 86px;
   border-radius: 50%;
   background: rgba(255, 255, 255, 0.95);
   color: var(--brand-deep);
   font-size: 1.9rem;
   box-shadow: 0 10px 34px rgba(0, 0, 0, 0.3);
   transition: transform 0.25s var(--ease-out);
}

.play-btn:hover {
   transform: scale(1.08);
   color: var(--brand);
}

.play-btn::before,
.play-btn::after {
   content: '';
   position: absolute;
   inset: 0;
   border-radius: 50%;
   border: 2px solid rgba(255, 255, 255, 0.55);
   animation: pulseRing 2.6s ease-out infinite;
}

.play-btn::after {
   animation-delay: 1.3s;
}

@keyframes pulseRing {
   from {
      transform: scale(1);
      opacity: 1;
   }
   to {
      transform: scale(1.9);
      opacity: 0;
   }
}

.about-copy > h2 {
   font-size: clamp(1.9rem, 4vw, 2.6rem);
}

.about-copy > p {
   color: var(--ink-soft);
   font-size: 1.075rem;
   margin-bottom: 2rem;
}

.pillar {
   display: flex;
   gap: 1.1rem;
   padding: 1.15rem 1.25rem;
   border: 1px solid transparent;
   border-radius: var(--radius);
   transition:
      border-color 0.25s ease,
      background 0.25s ease,
      transform 0.25s var(--ease-out);
}

.pillar:hover {
   background: var(--lilac);
   border-color: var(--line);
   transform: translateX(6px);
}

.pillar .ico {
   flex: 0 0 auto;
   display: grid;
   place-items: center;
   width: 48px;
   height: 48px;
   border-radius: 14px;
   background: var(--lilac-2);
   color: var(--brand-deep);
   font-size: 1.25rem;
}

.pillar h3 {
   font-size: 1.12rem;
   font-weight: 700;
   margin-bottom: 0.25rem;
}

.pillar p {
   margin: 0;
   font-size: 0.94rem;
   color: var(--ink-soft);
}

@media (max-width: 991px) {
   .about-grid {
      grid-template-columns: 1fr;
   }

   .video-card {
      aspect-ratio: 16 / 10;
   }
}

/* ============================================================
   Como funciona (passos) + Funcionalidades (bento)
   ============================================================ */
#features {
   background: linear-gradient(180deg, var(--lilac) 0%, #fff 100%);
}

.steps {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 1.25rem;
   margin-bottom: clamp(3rem, 6vw, 5rem);
   counter-reset: step;
}

.step {
   position: relative;
   background: #fff;
   border: 1px solid var(--line);
   border-radius: var(--radius);
   padding: 1.75rem 1.5rem 1.5rem;
   box-shadow: var(--shadow-sm);
}

.step::before {
   counter-increment: step;
   content: counter(step);
   display: grid;
   place-items: center;
   width: 42px;
   height: 42px;
   border-radius: 12px;
   font-family: var(--font-display);
   font-weight: 700;
   font-size: 1.15rem;
   color: #fff;
   background: linear-gradient(135deg, var(--brand), var(--brand-deep));
   margin-bottom: 1rem;
   box-shadow: 0 6px 16px rgba(109, 58, 201, 0.35);
}

.step h3 {
   font-size: 1.15rem;
   margin-bottom: 0.35rem;
}

.step p {
   margin: 0;
   font-size: 0.94rem;
   color: var(--ink-soft);
}

.step:not(:last-child)::after {
   content: '';
   position: absolute;
   top: 2.9rem;
   right: -1.05rem;
   width: 0.85rem;
   height: 2px;
   background: var(--brand);
   opacity: 0.4;
}

.bento {
   display: grid;
   grid-template-columns: repeat(6, 1fr);
   gap: 1.25rem;
}

.bento-card {
   grid-column: span 2;
   background: #fff;
   border: 1px solid var(--line);
   border-radius: var(--radius);
   padding: 1.6rem 1.5rem;
   box-shadow: var(--shadow-sm);
   transition:
      transform 0.3s var(--ease-out),
      box-shadow 0.3s ease,
      border-color 0.3s ease;
}

.bento-card:hover {
   transform: translateY(-5px);
   box-shadow: var(--shadow-md);
   border-color: #d8cdf2;
}

.bento-card.wide {
   grid-column: span 3;
}

.bento-card .ico {
   display: grid;
   place-items: center;
   width: 46px;
   height: 46px;
   border-radius: 13px;
   font-size: 1.25rem;
   margin-bottom: 1rem;
   background: var(--lilac-2);
   color: var(--brand-deep);
}

.bento-card h3 {
   font-size: 1.1rem;
   margin-bottom: 0.35rem;
}

.bento-card p {
   margin: 0;
   font-size: 0.92rem;
   color: var(--ink-soft);
}

.bento-card.legal {
   background: linear-gradient(150deg, #f2fbf7, #fff 70%);
   border-color: #cdeede;
}

.bento-card.legal .ico {
   background: var(--valid-soft);
   color: var(--valid);
}

.bento-card.legal .law {
   display: inline-block;
   margin-top: 0.75rem;
   font-size: 0.78rem;
   font-weight: 600;
   color: var(--valid);
   background: var(--valid-soft);
   border-radius: 999px;
   padding: 0.25rem 0.7rem;
}

@media (max-width: 991px) {
   .steps {
      grid-template-columns: 1fr;
   }

   .step:not(:last-child)::after {
      display: none;
   }

   .bento-card,
   .bento-card.wide {
      grid-column: span 6;
   }
}

@media (min-width: 640px) and (max-width: 991px) {
   .bento-card,
   .bento-card.wide {
      grid-column: span 3;
   }
}

/* ============================================================
   Planos
   ============================================================ */
.checkPlain {
   text-align: center;
   margin-bottom: 2.25rem;
}

.checkPlain .btn-group {
   display: inline-flex;
   background: var(--lilac-2);
   border-radius: 999px;
   padding: 5px;
   gap: 4px;
}

.checkPlain .btn-group .btn {
   background: transparent;
   color: var(--ink-soft);
   box-shadow: none;
   padding: 0.65rem 1.6rem;
   font-size: 0.95rem;
}

.checkPlain .btn-group .btn.active {
   background: #fff;
   color: var(--brand-deep);
   box-shadow: var(--shadow-sm);
}

.checkPlain p {
   margin: 0.85rem 0 0;
   font-size: 0.875rem;
   font-weight: 600;
   color: var(--valid);
}

.planos {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
   gap: 1.5rem;
   align-items: stretch;
   /* esconde o template Handlebars cru até os planos chegarem da API */
   font-size: 0;
   color: transparent;
}

.planos > :not(.box) {
   display: none;
}

.planos .box {
   font-size: 1rem;
   color: var(--ink);
}

.planos .box {
   position: relative;
   display: flex;
   flex-direction: column;
   background: #fff;
   border: 1px solid var(--line);
   border-radius: var(--radius-lg);
   padding: 2rem 1.75rem 1.75rem;
   box-shadow: var(--shadow-sm);
   transition:
      transform 0.3s var(--ease-out),
      box-shadow 0.3s ease;
   animation: fadeUp 0.6s var(--ease-out) both;
}

.planos .box:nth-child(2) {
   animation-delay: 0.08s;
}

.planos .box:nth-child(3) {
   animation-delay: 0.16s;
}

.planos .box:nth-child(4) {
   animation-delay: 0.24s;
}

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

.planos .box h3 {
   font-size: 1.3rem;
   margin-bottom: 1rem;
}

.planos .box ul {
   list-style: none;
   margin: 0 0 1.25rem;
   padding: 0;
   flex: 1;
}

.planos .box ul li {
   position: relative;
   padding: 0.4rem 0 0.4rem 1.7rem;
   font-size: 0.92rem;
   color: var(--ink-soft);
   border-bottom: 1px dashed var(--line);
}

.planos .box ul li:last-child {
   border-bottom: 0;
}

.planos .box ul li::before {
   content: '\f26e'; /* bi-check-lg */
   font-family: 'bootstrap-icons';
   position: absolute;
   left: 0;
   top: 0.45rem;
   color: var(--valid);
   font-size: 0.95rem;
}

.planos .box ul li:empty {
   display: none;
}

.planos .box h5 {
   font-family: var(--font-display);
   font-size: 1.5rem;
   font-weight: 700;
   color: var(--brand-deep);
   margin: 0 0 1.25rem;
}

.planos .box .btn-wrap {
   text-align: center;
}

.planos .btn-buy {
   width: 100%;
   display: inline-flex;
   align-items: center;
   justify-content: center;
   font-weight: 600;
   font-size: 0.98rem;
   border: 0;
   border-radius: 999px;
   padding: 0.9rem 1.5rem;
   cursor: pointer;
   color: var(--brand-deep);
   background: var(--lilac-2);
   transition: all 0.25s ease;
}

.planos .btn-buy:hover {
   background: var(--brand);
   color: #fff;
}

.planos .box.featured {
   border: 2px solid var(--brand);
   box-shadow: 0 24px 54px rgba(109, 58, 201, 0.2);
}

.planos .box.featured .btn-buy {
   color: #fff;
   background: linear-gradient(135deg, var(--brand), var(--brand-deep));
   box-shadow: 0 8px 20px rgba(109, 58, 201, 0.35);
}

.planos .box.featured .btn-buy:hover {
   filter: brightness(1.08);
}

.planos .advanced {
   position: absolute;
   top: 1.1rem;
   right: -0.5rem;
   font-size: 0.72rem;
   font-weight: 700;
   letter-spacing: 0.08em;
   text-transform: uppercase;
   color: #fff;
   background: var(--valid);
   padding: 0.3rem 0.85rem;
   border-radius: 6px 0 0 6px;
   box-shadow: var(--shadow-sm);
}

/* ============================================================
   FAQ (details nativo)
   ============================================================ */
#faq {
   background: var(--lilac);
}

.faq-list {
   max-width: 780px;
   margin: 0 auto;
   display: grid;
   gap: 0.75rem;
}

.faq-list details {
   background: #fff;
   border: 1px solid var(--line);
   border-radius: var(--radius);
   overflow: hidden;
   transition: box-shadow 0.25s ease;
}

.faq-list details[open] {
   box-shadow: var(--shadow-md);
}

.faq-list summary {
   list-style: none;
   display: flex;
   align-items: center;
   gap: 0.85rem;
   padding: 1.15rem 1.4rem;
   font-weight: 600;
   font-size: 1rem;
   cursor: pointer;
   user-select: none;
}

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

.faq-list summary .bi-question-circle {
   color: var(--brand);
   font-size: 1.15rem;
   flex: 0 0 auto;
}

.faq-list summary .bi-chevron-down {
   margin-left: auto;
   color: var(--ink-soft);
   transition: transform 0.35s var(--ease-out);
   flex: 0 0 auto;
}

.faq-list details[open] summary .bi-chevron-down {
   transform: rotate(180deg);
}

.faq-list details p {
   margin: 0;
   padding: 0 1.4rem 1.3rem 3.4rem;
   color: var(--ink-soft);
   font-size: 0.95rem;
   animation: faqIn 0.4s var(--ease-out);
}

@keyframes faqIn {
   from {
      opacity: 0;
      transform: translateY(-6px);
   }
   to {
      opacity: 1;
      transform: none;
   }
}

/* ============================================================
   Demonstração / Contato
   ============================================================ */
.demo-grid {
   display: grid;
   grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
   gap: clamp(2rem, 4vw, 3.5rem);
   align-items: start;
}

.form-card {
   background: #fff;
   border: 1px solid var(--line);
   border-radius: var(--radius-lg);
   box-shadow: var(--shadow-md);
   padding: 2rem 1.5rem 0.5rem;
}

.form-card iframe {
   display: block;
   width: 100%;
   height: 560px;
   border: 0;
}

.contact-item {
   display: flex;
   align-items: center;
   gap: 1rem;
   padding: 1.1rem 1.25rem;
   background: #fff;
   border: 1px solid var(--line);
   border-radius: var(--radius);
   margin-bottom: 0.85rem;
}

.contact-item .ico {
   flex: 0 0 auto;
   display: grid;
   place-items: center;
   width: 46px;
   height: 46px;
   border-radius: 13px;
   background: var(--lilac-2);
   color: var(--brand-deep);
   font-size: 1.2rem;
}

.contact-item h4 {
   font-size: 0.8rem;
   font-weight: 600;
   text-transform: uppercase;
   letter-spacing: 0.06em;
   color: var(--ink-soft);
   margin: 0;
}

.contact-item p {
   margin: 0;
   font-weight: 600;
}

.btn-whatsapp {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   gap: 0.6rem;
   width: 100%;
   margin-top: 0.5rem;
   font-weight: 700;
   font-size: 1.02rem;
   color: #fff;
   background: var(--whats);
   border-radius: 999px;
   padding: 1rem 1.5rem;
   box-shadow: 0 10px 24px rgba(37, 211, 102, 0.35);
   transition:
      transform 0.2s var(--ease-out),
      box-shadow 0.2s ease;
}

.btn-whatsapp:hover {
   transform: translateY(-2px);
   color: #fff;
   box-shadow: 0 14px 30px rgba(37, 211, 102, 0.45);
}

.btn-whatsapp .bi {
   font-size: 1.3rem;
}

@media (max-width: 991px) {
   .demo-grid {
      grid-template-columns: 1fr;
   }
}

/* ============================================================
   CTA final
   ============================================================ */
#cta-final {
   padding-top: 0;
}

.cta-panel {
   position: relative;
   overflow: hidden;
   text-align: center;
   color: #fff;
   border-radius: var(--radius-lg);
   background: linear-gradient(130deg, var(--brand-dark), var(--brand-deep) 55%, var(--brand));
   padding: clamp(3rem, 6vw, 4.5rem) clamp(1.5rem, 5vw, 4rem);
   box-shadow: var(--shadow-lg);
}

.cta-panel .hand {
   font-family: var(--font-hand);
   font-size: clamp(1.6rem, 3vw, 2.2rem);
   color: rgba(255, 255, 255, 0.75);
   transform: rotate(-3deg);
   display: inline-block;
   margin-bottom: 0.25rem;
}

.cta-panel h2 {
   font-size: clamp(1.8rem, 4vw, 2.6rem);
   margin-bottom: 0.75rem;
}

.cta-panel p {
   opacity: 0.85;
   max-width: 34rem;
   margin: 0 auto 1.75rem;
}

.cta-panel .btn-light {
   background: #fff;
   color: var(--brand-deep);
   padding: 1.05rem 2rem;
   font-size: 1.02rem;
   box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

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

/* ============================================================
   Footer
   ============================================================ */
#footer {
   background: var(--ink);
   color: rgba(255, 255, 255, 0.75);
   padding: clamp(3rem, 6vw, 4.5rem) 0 2rem;
   font-size: 0.925rem;
}

#footer .footer-grid {
   display: grid;
   grid-template-columns: 1.2fr 0.8fr 1.2fr;
   gap: 2.5rem;
   padding-bottom: 2.5rem;
   border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

#footer .logo a {
   display: inline-block;
   background: #fff;
   border-radius: 12px;
   padding: 8px 14px;
   line-height: 0;
}

#footer .logo img {
   max-height: 30px;
}

#footer h4 {
   color: #fff;
   font-size: 1rem;
   margin-bottom: 1rem;
}

#footer .footer-links ul {
   list-style: none;
   margin: 0;
   padding: 0;
}

#footer .footer-links li {
   margin-bottom: 0.5rem;
}

#footer a {
   color: rgba(255, 255, 255, 0.75);
   transition: color 0.2s ease;
}

#footer a:hover {
   color: #fff;
}

.social-links {
   display: flex;
   gap: 0.6rem;
   margin-top: 1.25rem;
}

.social-links a {
   display: grid;
   place-items: center;
   width: 40px;
   height: 40px;
   border-radius: 12px;
   background: rgba(255, 255, 255, 0.08);
   font-size: 1.1rem;
   transition:
      background 0.2s ease,
      transform 0.2s var(--ease-out);
}

.social-links a:hover {
   background: var(--brand);
   transform: translateY(-3px);
   color: #fff;
}

.newsletter-form {
   display: flex;
   background: rgba(255, 255, 255, 0.08);
   border: 1px solid rgba(255, 255, 255, 0.15);
   border-radius: 999px;
   padding: 4px;
   margin-top: 1rem;
}

.newsletter-form input[type='email'] {
   flex: 1;
   min-width: 0;
   background: transparent;
   border: 0;
   outline: none;
   color: #fff;
   font-family: var(--font-body);
   font-size: 0.95rem;
   padding: 0.6rem 1rem;
}

.newsletter-form input[type='email']::placeholder {
   color: rgba(255, 255, 255, 0.45);
}

.newsletter-form input[type='submit'] {
   border: 0;
   border-radius: 999px;
   background: var(--brand);
   color: #fff;
   font-weight: 600;
   font-family: var(--font-body);
   padding: 0.6rem 1.4rem;
   cursor: pointer;
   transition: background 0.2s ease;
}

.newsletter-form input[type='submit']:hover {
   background: var(--brand-deep);
}

#footer .copyright {
   text-align: center;
   padding-top: 1.75rem;
   font-size: 0.82rem;
   color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 991px) {
   #footer .footer-grid {
      grid-template-columns: 1fr;
      gap: 2rem;
   }
}

/* ============================================================
   Voltar ao topo + preloader
   ============================================================ */
.back-to-top {
   position: fixed;
   right: 1.25rem;
   bottom: 1.25rem;
   z-index: 900;
   display: grid;
   place-items: center;
   width: 46px;
   height: 46px;
   border-radius: 14px;
   background: var(--brand);
   color: #fff;
   font-size: 1.5rem;
   box-shadow: var(--shadow-md);
   opacity: 0;
   visibility: hidden;
   transform: translateY(10px);
   transition: all 0.3s var(--ease-out);
}

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

.back-to-top:hover {
   background: var(--brand-deep);
   color: #fff;
}

#preloader {
   position: fixed;
   inset: 0;
   z-index: 9999;
   background: #fff;
   display: grid;
   place-items: center;
}

#preloader::after {
   content: '';
   width: 44px;
   height: 44px;
   border-radius: 50%;
   border: 4px solid var(--lilac-2);
   border-top-color: var(--brand);
   animation: spin 0.9s linear infinite;
}

@keyframes spin {
   to {
      transform: rotate(360deg);
   }
}

/* ============================================================
   Subpáginas (policy, terms, thanks)
   ============================================================ */
.page-hero {
   position: relative;
   overflow: hidden;
   padding: calc(76px + clamp(2.5rem, 5vw, 4rem)) 0 clamp(2.5rem, 5vw, 4rem);
   background: radial-gradient(46rem 26rem at 10% -10%, rgba(109, 58, 201, 0.12), transparent 60%), linear-gradient(180deg, #fbfaff 0%, #ffffff 100%);
}

.page-hero::before {
   content: '';
   position: absolute;
   inset: 0;
   background-image: radial-gradient(rgba(26, 18, 64, 0.08) 1px, transparent 1px);
   background-size: 26px 26px;
   -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 80%);
   mask-image: linear-gradient(180deg, #000 0%, transparent 80%);
   pointer-events: none;
}

.page-hero .breadcrumb {
   display: flex;
   flex-wrap: wrap;
   align-items: center;
   gap: 0.5rem;
   list-style: none;
   margin: 0 0 0.85rem;
   padding: 0;
   font-size: 0.85rem;
   font-weight: 500;
   color: var(--ink-soft);
}

.page-hero .breadcrumb li + li::before {
   content: '\f285'; /* bi-chevron-right */
   font-family: 'bootstrap-icons';
   font-size: 0.7rem;
   margin-right: 0.5rem;
   color: var(--brand);
}

.page-hero h1 {
   font-size: clamp(1.9rem, 4.5vw, 3rem);
   font-weight: 800;
   margin: 0;
   max-width: 20ch;
}

.page-hero .hand {
   font-family: var(--font-hand);
   font-size: clamp(1.4rem, 2.5vw, 1.8rem);
   color: var(--brand);
   transform: rotate(-2deg);
   display: inline-block;
}

/* Texto legal (política / termos) */
.legal {
   max-width: 780px;
   margin: 0 auto;
   font-size: 0.98rem;
   line-height: 1.75;
   color: var(--ink-soft);
}

.legal h1 {
   font-size: 1.75rem;
   color: var(--ink);
   margin: 0 0 1.25rem;
}

.legal h2 {
   font-size: 1.4rem;
   color: var(--ink);
   margin: 2.5rem 0 0.75rem;
   padding-top: 2rem;
   border-top: 1px solid var(--line);
}

.legal h3 {
   font-size: 1.12rem;
   color: var(--ink);
   margin: 2rem 0 0.5rem;
}

.legal p {
   margin: 0 0 1rem;
}

.legal ul {
   margin: 0 0 1.25rem;
   padding-left: 1.4rem;
}

.legal li {
   margin-bottom: 0.6rem;
}

.legal li::marker {
   color: var(--brand);
}

.legal a {
   word-break: break-word;
   text-decoration: underline;
   text-decoration-color: rgba(109, 58, 201, 0.35);
   text-underline-offset: 3px;
}

.legal span.bold {
   display: block;
   font-family: var(--font-display);
   font-weight: 700;
   font-size: 1.15rem;
   letter-spacing: -0.01em;
   color: var(--ink);
   margin: 2.25rem 0 0.35rem;
}

.legal p:first-child span.bold {
   margin-top: 0;
}

/* Página de obrigado */
.thanks-wrap {
   display: grid;
   place-items: center;
   padding: clamp(2rem, 5vw, 4rem) 0;
}

.thanks-card {
   max-width: 560px;
   width: 100%;
   text-align: center;
   background: #fff;
   border: 1px solid var(--line);
   border-radius: var(--radius-lg);
   box-shadow: var(--shadow-lg);
   padding: clamp(2.5rem, 6vw, 4rem) clamp(1.5rem, 5vw, 3.5rem);
}

.thanks-check {
   width: 96px;
   height: 96px;
   margin: 0 auto 1.5rem;
}

.thanks-check circle {
   fill: none;
   stroke: var(--valid);
   stroke-width: 4;
   stroke-dasharray: 290;
   stroke-dashoffset: 290;
   animation: drawStroke 0.9s var(--ease-out) 0.2s forwards;
}

.thanks-check path {
   fill: none;
   stroke: var(--valid);
   stroke-width: 7;
   stroke-linecap: round;
   stroke-linejoin: round;
   stroke-dasharray: 80;
   stroke-dashoffset: 80;
   animation: drawStroke 0.5s var(--ease-out) 0.9s forwards;
}

.thanks-card h1 {
   font-size: clamp(1.6rem, 4vw, 2.1rem);
   margin-bottom: 0.5rem;
}

.thanks-card > p {
   color: var(--ink-soft);
   margin: 0 0 1.75rem;
}

.thanks-card .actions {
   display: flex;
   flex-wrap: wrap;
   justify-content: center;
   gap: 0.75rem;
}

/* ============================================================
   Acessibilidade: movimento reduzido
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
   html {
      scroll-behavior: auto;
   }

   *,
   *::before,
   *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
   }

   [data-reveal],
   .h-anim {
      opacity: 1 !important;
      transform: none !important;
   }

   .u-sign svg path {
      stroke-dashoffset: 0;
   }
}
