  /* =========================================================
   Scale Press Landing Styles
   Usa Bootstrap utilitário + custom design
   ========================================================= */

  /* ---------- CSS Reset / Base (leve para coexistir c/ Bootstrap) ---------- */
  * {
    box-sizing: border-box;
  }

  html {
    scroll-behavior: smooth;
    font-size: 16px;
  }

  body {
    font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    margin: 0;
    background: var(--background);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
  }

  :root {
    --text: #0d0302;
    --background: linear-gradient(180deg, #f6f9ff 0%, #f8f4f1 100%);
    --primary: #1325c9;
    --primary-rgb: 19 37 201;
    --secondary: #75f4ff;
    --secondary-rgb: 255 231 71;
    --accent: #ffe747;
    --accent-rgb: 117 244 255;
    --muted: #5b5450;
    --surface: #fffdf8;
    --surface-alt: #f0ebe7;
    --border: #e1d9d4;
    --radius-xs: 4px;
    --radius: 14px;
    --radius-lg: 28px;
    --gradient-primary: linear-gradient(90deg, var(--primary), var(--secondary));
    --gradient-primary-dark: linear-gradient(90deg, var(--primary), #07c6d6);
    --shadow-sm: 0 1px 2px rgba(0 0 0 / .06), 0 1px 3px rgba(0 0 0 / .08);
    --shadow: 0 4px 16px -4px rgba(0 0 0 / .12), 0 12px 28px -6px rgba(0 0 0 / .18);
    --shadow-glow: 0 0 0 1px rgba(var(--primary-rgb) / .15), 0 4px 30px -2px rgba(var(--primary-rgb) / .35);
    --glass-bg: rgba(255 255 250 / .6);
    --glass-border: rgba(255 255 255 / .55);
    --glass-shadow: 0 4px 24px -6px rgba(0 0 0 / .18);
    --grad-bg: radial-gradient(at 20% 20%, rgba(var(--secondary-rgb)/.35), transparent 60%),
      radial-gradient(at 80% 70%, rgba(var(--accent-rgb)/.35), transparent 60%),
      linear-gradient(145deg, #faf7f4 0%, #efe8e3 60%, #e9e1db 100%);
  }

  [data-theme="dark"] {
    --text: #fee3d2;
    --background: #1b1918;
    --muted: #bcaeaa;
    --surface: #272422;
    --surface-alt: #312d2b;
    --border: #3c3734;
    --glass-bg: rgba(35 33 32 / .55);
    --glass-border: rgba(255 255 255 / .08);
    --glass-shadow: 0 4px 32px -8px rgba(0 0 0 / .7);
    --grad-bg: radial-gradient(at 15% 25%, rgba(var(--accent-rgb)/.15), transparent 60%),
      radial-gradient(at 85% 65%, rgba(var(--secondary-rgb)/.14), transparent 55%),
      linear-gradient(160deg, #1e1c1b 0%, #221f1e 55%, #191716 100%);
    --gradient-dark: linear-gradient(90deg, var(--accent), var(--secondary));
  }

  ::selection {
    background: var(--secondary);
    color: #111;
  }

  img {
    max-width: 100%;
    display: block;
  }

  a {
    color: var(--primary);
    text-decoration: none;
    transition: color .25s;
  }

  h1,
  h2,
  h3,
  h4,
  h5 {
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--text);
    margin: 0 0 .75em;
  }

  p {
    line-height: 1.55;
    margin: 0 0 1.25em;
  }

  /* ---------- Layout Helpers ---------- */
  .container {
    max-width: 1480px;
    margin-inline: auto;
    padding-inline: clamp(1rem, 4vw, 2.25rem);
    width: 100%;
  }

  .sections {
    position: relative;
    z-index: 1;
  }

  section.section {
    padding: clamp(9rem, 12vh, 6.5rem) 0;
  }

  .section-header {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 3rem;
  }

  .section-header p {
    font-weight: 500;
    color: var(--muted);
    margin-top: -.5rem;
  }

  /* ---------- Navbar ---------- */
  .navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(18px) saturate(160%);
    background: linear-gradient(145deg, rgba(var(--primary-rgb)/.08), rgba(var(--secondary-rgb)/.08)) border-box;
    border-bottom: 1px solid var(--glass-border);
    transition: background .45s ease, border-color .45s;
  }

  [data-theme="dark"] .navbar {
    background: linear-gradient(145deg, rgba(var(--primary-rgb)/.16), rgba(var(--secondary-rgb)/.08)) border-box;
  }

  .nav-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: clamp(1rem, 3vw, 2.5rem);
    min-height: 72px;
  }

  .brand {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    font-size: 1.1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    color: transparent !important;
    position: relative;
    transition: ease-in-out .2s;
  }

  .brand.brand-logo {
    background: none;
    -webkit-background-clip: initial;
    color: inherit !important;
    gap: 0;
    padding: .25rem 0;
  }




  .brand-logo .logo-img {
    width: 70px;
    height: 60px;
    object-fit: cover;
    border-radius: 12px;
    transition: ease-in-out .2s;
  }

  .brand:hover {
    filter: drop-shadow(0 0 4px rgba(var(--primary-rgb) / .55));
  }

  [data-theme="dark"] .brand:hover {
    filter: drop-shadow(0 0 3px #75f4ff7c);
  }

  .brand-mark {
    background: var(--gradient-primary);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: .95rem;
    letter-spacing: .05em;
    box-shadow: 0 4px 14px -4px rgba(var(--primary-rgb)/.55), 0 0 0 1px rgba(var(--primary-rgb)/.25);
  }

  .nav-menu {
    margin-left: 0;
    justify-self: center;
    justify-content: center;
  }

  /* Mantém espaçamento e evita esticar demais em telas largas */
  @media (min-width: 992px) {
    .nav-menu {
      width: 100%;
      max-width: 520px;
    }
  }

  .nav-menu a {
    position: relative;
    padding: .55rem .3rem;
    font-size: .95rem;
    color: var(--text);
    font-weight: 600;
  }

  .nav-menu a:after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 2px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left !important;
    transition: transform .35s;
    border-radius: 2px;
  }

  .nav-menu a:hover:after,
  .nav-menu a:focus-visible:after {
    transform: scaleX(1);
  }

  .nav-cta {
    display: flex;
    align-self: center;
    gap: .75rem;
  }

  @media (max-width: 960px) {
    .nav-inner {
      grid-template-columns: auto auto 1fr;
    }
  }

  .toggle-theme {
    --size: 40px;
    width: var(--size);
    height: var(--size);
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface-alt);
    display: grid;
    place-items: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background .35s, border-color .35s, box-shadow .35s;
  }

  .toggle-theme:hover {
    background: var(--surface);
    box-shadow: var(--shadow-sm);
  }

  /* ---------- Buttons ---------- */
  .btn {
    --btn-bg: var(--primary);
    --btn-fg: #fff;
    --btn-radius: 14px;
    font-weight: 600;
    font-size: .95rem;
    letter-spacing: .015em;
    padding: .85rem 1.4rem;
    border-radius: var(--btn-radius);
    border: 1px solid var(--primary);
    background: var(--btn-bg);
    color: var(--btn-fg);
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    position: relative;
    overflow: hidden;
    line-height: 1.1;
    text-decoration: none;
    cursor: pointer;
    transition: background .4s, color .4s, border-color .4s, box-shadow .4s;
  }

  .btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
  }

  .btn:hover {
    box-shadow: var(--shadow-glow);
  }

  .btn.btn-outline {
    background: transparent;
    color: var(--text);
    border-color: var(--border);
  }

  .btn.btn-outline:hover {
    background: #ffffff7a;
    color: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 4px 14px -4px rgb(19 37 201 / 84%), 0 0 15px 8px rgb(19 37 201 / 32%);
  }

  [data-theme="dark"] .btn.btn-outline:hover {
    background: #2724227a;
    color: var(--text);
  }

  .btn.btn-gradient {
    border: none;
    background: linear-gradient(95deg, var(--primary) 0%, var(--primary) 45%, var(--secondary) 95%);
    background-size: 180% 100%;
    color: #fff;
    transition: background-position .6s ease;
    box-shadow: none;
  }

  .btn.btn-gradient:hover {
    background-position: 100% 0;
  }

  .btn-google-auth {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    font-weight: 600;
    font-size: .8rem;
    padding: .55rem .85rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--surface-alt);
    color: var(--text);
    cursor: pointer;
    transition: background .35s, border-color .35s, transform .35s;
  }

  .btn-google-auth:hover {
    background: var(--surface);
    border-color: var(--primary);
    transform: translateY(-2px);
  }

  .btn-google-auth svg {
    width: 18px;
    height: 18px;
  }

  /* ---------- Glass Utility ---------- */
  .glass {
    background: var(--glass-bg);
    -webkit-backdrop-filter: blur(20px) saturate(170%);
    backdrop-filter: blur(20px) saturate(170%);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
  }

  /* ---------- Hero ---------- */
  .hero {
    position: relative;
    padding: clamp(5.5rem, 12vh, 8.5rem) 0 clamp(4rem, 8vh, 6rem);
    isolation: isolate;
    background: var(--grad-bg);
    overflow: hidden;
  }

  .hero:before,
  .hero:after {
    content: "";
    position: absolute;
    inset: 0;
    background:
      radial-gradient(at 70% 30%, rgba(var(--primary-rgb)/.30), transparent 60%),
      radial-gradient(at 30% 75%, rgba(var(--accent-rgb)/.30), transparent 60%);
    mix-blend-mode: color-dodge;
    opacity: .75;
    pointer-events: none;
  }

  .hero-grid {
    display: grid;
    gap: clamp(2.5rem, 4vw, 4rem);
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr));
    align-items: center;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 5.5vw, 3.8rem);
    line-height: 1.05;
    background: none !important;
    -webkit-background-clip: initial !important;
    color: var(--text) !important;
    margin-bottom: 1.1rem;
    text-wrap: balance;
  }

  .hero h1 .grad {
    background: var(--gradient-primary-dark);
    -webkit-background-clip: text;
    color: transparent;
    display: inline-block;
  }

  [data-theme="dark"] .hero h1 .grad {
    background: var(--gradient-dark);
    -webkit-background-clip: text;
    color: transparent;
    display: inline-block;
  }

  .hero-sub {
    font-size: clamp(1rem, 1.25vw, 1.18rem);
    font-weight: 500;
    color: var(--muted);
    max-width: 58ch;
    text-wrap: pretty;
  }

  .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .85rem;
    margin: 1.8rem 0 2.4rem;
  }

  .badge {
    display: inline-block;
    padding: .5rem .9rem;
    background: linear-gradient(90deg, rgba(var(--primary-rgb)/.12), rgba(var(--secondary-rgb)/.22));
    color: var(--text);
    font-weight: 600;
    border: 1px solid rgba(var(--primary-rgb)/.25);
    border-radius: 999px;
    font-size: .65rem;
    letter-spacing: .12em;
    text-transform: uppercase;
  }

  .hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
    margin: 1.5rem 0 2.2rem;
  }

  .metric {
    padding: .9rem 1.1rem;
    min-width: 120px;
    display: flex;
    flex-direction: column;
    gap: .25rem;
    font-size: .7rem;
    letter-spacing: .07em;
    text-transform: uppercase;
    transition: ease-in-out .3s;
  }

  .metric strong {
    font-size: 1.3rem;
    letter-spacing: -0.02em;
  }

  .metric.glass:hover {
    transform: translateY(-2px);
  }

  /* ---------- Marquee ---------- */
  .marquee {
    overflow: hidden;
    position: relative;
    mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    margin-top: .5rem;
  }

  .marquee-track {
    display: flex;
    width: max-content;
    gap: 3rem;
    animation: marquee 22s linear infinite;
    font-weight: 600;
    color: var(--primary);
    font-size: .8rem;
    letter-spacing: .05em;
    text-transform: uppercase;
  }

  [data-theme="dark"] .marquee-track {
    color: var(--accent);
  }

  @keyframes marquee {
    to {
      transform: translateX(-50%);
    }
  }

  .marquee-track span {
    position: relative;
    padding-left: 1.2rem;
  }

  .marquee-track span:before {
    content: "•";
    position: absolute;
    left: 0;
    opacity: .4;
  }

  /* ---------- Hero Visual ---------- */
  .hero-visual {
    position: relative;
    perspective: 500px;
    align-self: flex-start;
    margin-top: clamp(2rem, 4vw, 3.2rem);
    /* desloca para alinhar com h1/sub */
  }

  @media (max-width:880px) {
    .hero-visual {
      margin-top: 0;
    }

    /* mobile volta ao padrão */
  }

  .mock {
    width: 100%;
    max-width: 560px;
    margin-inline: auto;
    aspect-ratio: 16/10.4;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
  }

  .mock {
    --w: 560px;
    width: min(var(--w), 100%);
    aspect-ratio: 16/10.3;
    background: #262a2e;
    border: 1px solid var(--border);
    border-radius: 26px;
    padding: 1.2rem 1.25rem 1.4rem;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    animation: float 14s ease-in-out infinite;
  }

  .mock-top {
    display: flex;
    gap: .35rem;
    padding: .55rem .75rem;
    justify-content: flex-end;
  }

  .mock-top .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--secondary), var(--accent));
    box-shadow: 0 0 0 1px rgba(0 0 0 / .15);
    opacity: .9;
  }

  .mock-image {
    flex: 1;
    margin: 0;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    background: var(--layer-2);
    display: block;
  }

  .mock-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: translateZ(0);
  }

  .mock-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(0, 0, 0, .15), transparent 60%);
    mix-blend-mode: multiply;
    pointer-events: none;
  }

  @media (max-width: 640px) {
    .mock {
      aspect-ratio: auto;
    }

    .mock-image img {
      object-fit: contain;
    }
  }

  @keyframes float {

    0%,
    100% {
      transform: translate3d(0, 0, 0) rotateX(0deg) rotateY(0deg);
    }

    25% {
      transform: translate3d(0, -8px, 20px) rotateX(7deg) rotateY(-12deg);
    }

    50% {
      transform: translate3d(0, -3px, 0) rotateX(-3deg) rotateY(14deg);
    }

    75% {
      transform: translate3d(0, -10px, 8px) rotateX(5deg) rotateY(6deg);
    }
  }

  .mock::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
      linear-gradient(160deg, rgba(104, 17, 17, .18), transparent 60%),
      linear-gradient(-20deg, rgba(255, 255, 255, .55), transparent 70%);
    mix-blend-mode: overlay;
    pointer-events: none;
  }

  .mock-top {
    display: flex;
    gap: .5rem;
    padding-bottom: .8rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 1rem;
  }

  .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary);
    opacity: .85;
    position: relative;
  }

  .dot:nth-child(2) {
    background: var(--secondary);
  }

  .dot:nth-child(3) {
    background: var(--accent);
  }

  .mock-body {
    display: grid;
    grid-template-columns: 1fr .65fr;
    gap: 1.2rem;
    height: 100%;
  }

  .mock-col {
    display: flex;
    flex-direction: column;
    gap: .9rem;
  }

  @media (max-width: 1040px) {
    .mock {
      aspect-ratio: auto;
    }

    .mock-body {
      grid-template-columns: 1fr;
    }
  }


  /* ---------- Features Grid ---------- */
  .features-grid {
    display: grid;
    gap: 1.8rem;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    align-items: stretch;
    max-width: 1180px;
    margin-inline: auto;
    padding-inline: clamp(1rem, 4vw, 1.1rem);
    width: 100%;
  }

  .feature {
    padding: 1.65rem 1.4rem 1.6rem;
    display: flex;
    flex-direction: column;
    gap: .75rem;
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    transition: ease-in-out .3s;
  }

  .plan-card.reveal.visible:hover,
  .feature.reveal.visible:hover {
    transform: translateY(-4px) scale(1);
  }

  .feature:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(140deg, rgba(var(--primary-rgb) / .07), transparent 50%), linear-gradient(40deg, rgb(241 239 172 / 8%), transparent 65%);
    mix-blend-mode: color-dodge;
    pointer-events: none;
    opacity: .9;
  }

  .feature-icon {
    font-size: 1.6rem;
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, var(--primary), var(--secondary));
    color: #fff;
    box-shadow: 0 6px 16px -4px rgba(var(--primary-rgb)/.55);
  }

  .feature h3 {
    margin: .35rem 0 .2rem;
    font-size: 1.15rem;
  }

  .feature p {
    color: var(--muted);
    font-weight: 500;
    font-size: .9rem;
  }

  .feature ul {
    list-style: none;
    padding: 0;
    margin: .25rem 0 0;
    display: grid;
    gap: .35rem;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--text);
  }

  .feature ul li {
    position: relative;
    padding-left: 1.1rem;
  }

  .feature ul li:before {
    content: "";
    position: absolute;
    left: 0;
    top: .4rem;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    box-shadow: 0 0 0 1px rgba(var(--primary-rgb)/.4);
  }

  /* ---------- Plataforma Split ---------- */
  .split {
    display: grid;
    gap: clamp(2.2rem, 4vw, 3.5rem);
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr));
    align-items: start;
  }

  .list-check {
    list-style: none;
    padding: 0;
    margin: 1.4rem 0 0;
    display: grid;
    gap: .75rem;
  }

  .list-check li {
    position: relative;
    padding-left: 2.05rem;
    font-weight: 500;
    color: var(--muted);
  }

  .list-check li:before {
    content: "";
    position: absolute;
    left: 0;
    top: .1rem;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    box-shadow: 0 4px 8px -2px rgba(var(--primary-rgb)/.5);
    mask:
      linear-gradient(#fff 0 0) content-box,
      linear-gradient(#fff 0 0);
    -webkit-mask:
      linear-gradient(#fff 0 0) content-box,
      linear-gradient(#fff 0 0);
    padding: .2rem;
  }

  .list-check li:after {
    content: "";
    position: absolute;
    left: .46rem;
    top: .55rem;
    width: 6px;
    height: 6px;
    border-bottom: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
  }

  .visual-box {
    position: relative;
  }

  .grid-cards-mini {
    display: grid;
    gap: 1.1rem;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  .card-mini {
    position: relative;
    padding: .9rem .85rem .95rem;
    border-radius: 18px;
    background: linear-gradient(140deg, var(--surface-alt), var(--surface));
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    gap: .4rem;
    overflow: hidden;
  }

  .card-mini:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(130deg, rgba(var(--primary-rgb)/.15), transparent 55%);
    mix-blend-mode: color-dodge;
    pointer-events: none;
  }

  .card-mini h5 {
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .08em;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    color: transparent;
  }

  .card-mini .code-block {
    font-family: "JetBrains Mono", "SFMono-Regular", Menlo, Consolas, monospace;
    line-height: 1.25;
    font-weight: 500;
    color: var(--text);
    background: rgba(var(--primary-rgb)/.06);
    padding: .45rem .5rem;
    border-radius: 8px;
    border: 1px solid rgba(var(--primary-rgb)/.15);
  }

  .tag-micro {
    display: inline-block;
    font-size: .55rem;
    letter-spacing: .15em;
    font-weight: 700;
    text-transform: uppercase;
    padding: .35rem .55rem;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    color: #fff;
    border-radius: 999px;
  }

  /* ---------- Final CTA ---------- */
  .cta-final {
    text-align: center;
    position: relative;
    padding: clamp(3.5rem, 7vh, 4.75rem) 1rem;
  }

  .cta-final:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, var(--primary), var(--secondary));
    opacity: .15;
    filter: blur(60px);
    z-index: -1;
    pointer-events: none;
  }

  .cta-content h2 {
    font-size: clamp(2rem, 4.5vw, 2.8rem);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    color: transparent;
    margin-bottom: 1rem;
  }

  /* ---------- Footer ---------- */
  footer {
    background: linear-gradient(180deg, var(--surface-alt), var(--surface) 60%);
    margin-top: 4rem;
    border-top: 1px solid var(--border);
    position: relative;
  }

  [data-theme="dark"] footer {
    background: linear-gradient(180deg, #24211f, #1d1b1a 60%);
  }

  .footer-grid {
    display: grid;
    gap: 2.5rem clamp(2rem, 4vw, 4.5rem);
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    padding: 3rem 0 2.5rem;
  }

  @media (max-width: 640px) {
    .metric {
      flex: 1 1 calc(33% - .5rem);
      min-width: 90px;
    }
  }

  @media (max-width: 640px) {
    .metric {
      flex: 1 1 calc(33% - .5rem);
      min-width: 90px;
    }

    /* Footer somente no mobile: brand em linha, depois Produto | Legal lado a lado */
    .footer-grid {
      grid-template-columns: repeat(2, 1fr);
      grid-template-areas:
        "brand brand"
        "produto legal";
    }

    .footer-brand-col {
      grid-area: brand;
    }

    .footer-produto-col {
      grid-area: produto;
    }

    .footer-legal-col {
      grid-area: legal;
    }
  }

  footer h4 {
    font-size: .9rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-weight: 700;
    margin: 0 0 1rem;
  }

  footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: .5rem;
  }

  footer a {
    font-size: .8rem;
    font-weight: 600;
    color: var(--muted);
  }

  footer a:hover {
    color: var(--primary);
  }

  .social {
    display: flex;
    gap: .6rem;
  }

  .social a {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    display: grid;
    place-items: center;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .08em;
    transition: transform .4s, box-shadow .4s;
  }

  .social a:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
  }

  .copy {
    padding: 1.1rem 0 1.6rem;
    border-top: 1px solid var(--border);
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    justify-content: space-between;
    font-size: .7rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--muted);
  }

  /* ---------- User Dropdown ---------- */
  .nav-user .dropdown {
    position: relative;
  }

  .user-button {
    all: unset;
    display: flex;
    align-items: center;
    gap: .45rem;
    padding: .25rem .65rem;
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: 999px;
    cursor: pointer;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .05em;
    transition: background .35s, border-color .35s, box-shadow .35s;
  }

  .user-button:hover {
    background: var(--surface);
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
  }

  .user-button img,
  .avatar-fallback {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: none;
    place-items: center;
    font-size: .85rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: .05em;
    object-fit: cover;
  }

  .user-button img {
    display: block;
  }

  .user-dropdown {
    list-style: none;
    position: absolute;
    top: calc(100% + .6rem);
    right: 0;
    min-width: 160px;
    padding: .5rem;
    margin: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow);
    display: grid;
    gap: .25rem;
    z-index: 20;
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity .4s, transform .45s;
  }

  .user-dropdown[aria-hidden="false"] {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .user-dropdown li {
    margin: 0;
  }

  .user-dropdown a,
  .user-dropdown button.logout-link {
    all: unset;
    display: block;
    width: 100%;
    box-sizing: border-box;
    cursor: pointer;
    padding: .65rem .75rem;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .05em;
    border-radius: 10px;
    color: var(--text);
    transition: background .3s, color .3s;
  }

  .user-dropdown a:hover,
  .user-dropdown button.logout-link:hover {
    background: var(--surface-alt);
    color: var(--primary);
  }

  [data-theme="dark"] .user-dropdown a:hover {
    color: var(--secondary) !important;
  }

  [data-theme="dark"] button.logout-link:hover {
    color: var(--secondary) !important;
  }

  /* ---------- Reveal Animations ---------- */
  .reveal {
    opacity: 0;
    transform: translateY(34px) scale(.97);
    filter: blur(8px);
    transition:
      opacity .9s cubic-bezier(.22, .9, .3, 1),
      transform .9s cubic-bezier(.22, .9, .3, 1),
      filter 1.1s cubic-bezier(.22, .9, .3, 1);
  }

  .reveal.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }

  /* ---------- Scrollbar (webkit) ---------- */
  ::-webkit-scrollbar {
    width: 10px;
  }

  ::-webkit-scrollbar-track {
    background: var(--background);
  }

  ::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary), var(--accent));
    border-radius: 8px;
    border: 2px solid var(--background);
  }

  [data-theme="dark"] ::-webkit-scrollbar-thumb {
    border-color: var(--background);
  }

  /* ---------- Media Queries ---------- */
  @media (max-width: 960px) {
    .nav-menu {
      display: none;
    }

    .hero-meta {
      gap: .65rem;
    }

    .mock {
      aspect-ratio: 4/3;
    }

    .brand-logo .logo-img {
      width: 70px;
      height: 55px;
    }
  }

  @media (max-width: 640px) {
    .metric {
      flex: 1 1 calc(33% - .5rem);
      min-width: 90px;
    }

    .hero-actions .btn {
      flex: 1 1 auto;
      justify-content: center;
    }

    .footer-grid {
      grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }
  }

  /* ---------- Utility ---------- */
  .text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    color: transparent;
  }

  .shadow {
    box-shadow: var(--shadow) !important;
  }

  .rounded-xl {
    border-radius: var(--radius-lg) !important;
  }

  /* ---------- FAQ Simple (Liquid Glass) ---------- */
  .faq-simple {
    max-width: 900px;
    margin: 0 auto;
  }

  .faq-grid {
    display: grid;
    gap: 1rem;
  }

  .faq-item {
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(18px) saturate(160%);
    transition: border-color .35s, background .45s;
  }

  .faq-item:before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      linear-gradient(135deg, rgba(var(--primary-rgb)/.15), transparent 55%),
      linear-gradient(-35deg, rgba(var(--accent-rgb)/.18), transparent 60%);
    mix-blend-mode: color-dodge;
    opacity: .75;
    pointer-events: none;
  }

  .faq-q {
    all: unset;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    cursor: pointer;
    padding: 1.05rem 1.15rem;
    font-weight: 600;
    font-size: .95rem;
    letter-spacing: .01em;
    line-height: 1.3;
    color: var(--text);
  }

  .faq-q .chevron {
    font-size: .85rem;
    transition: transform .45s;
    opacity: .8;
  }

  .faq-item.open .faq-q .chevron {
    transform: rotate(180deg);
  }

  .faq-a {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0 1.15rem;
    line-height: 1.5;
    font-size: .86rem;
    font-weight: 500;
    color: var(--muted);
    transition: max-height .55s cubic-bezier(.22, .9, .3, 1), opacity .5s, padding .5s;
  }

  .faq-item.open .faq-a {
    padding: 0 .95rem 1.15rem 1.15rem;
    max-height: 200px;
    opacity: 1;
  }

  .faq-item.open {
    border-color: rgba(var(--primary-rgb)/.55);
  }

  .faq-item:hover:not(.open) {
    border-color: rgba(var(--primary-rgb)/.35);
  }

  /* Dark tweak */
  [data-theme="dark"] .faq-item.open {
    border-color: rgba(var(--accent-rgb)/.55);
  }

  /* ---------- Modal Contato (Liquid Glass) ---------- */
  .glass-modal {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    background:
      radial-gradient(at 30% 30%, rgba(var(--primary-rgb)/.30), transparent 70%),
      radial-gradient(at 70% 70%, rgba(var(--accent-rgb)/.25), transparent 65%),
      rgba(0 0 0 / .38);
    backdrop-filter: blur(12px) saturate(160%);
    padding: clamp(1.2rem, 4vw, 2.4rem);
    opacity: 0;
    pointer-events: none;
    transition: opacity .5s ease;
    z-index: 400;
    -webkit-overflow-scrolling: touch;
    overflow: hidden;
    overscroll-behavior: contain;

  }

  body.modal-open {
    overflow: hidden;
    /* opcional: evita “pulo” de layout ao sumir a barra do body (Chrome/Edge) */
    scrollbar-gutter: stable both-edges;
  }

  @media (max-width: 640px) {
    .glass-modal {
      padding: 1rem;
    }

    /* já existe padding, reduz um pouco no mobile */
    .glass-modal__dialog {
      max-height: calc(100dvh - 2rem);
    }
  }

  /* Se o navegador suportar svh (viewport seguro em mobile), use-o */
  @supports (height: 100svh) {
    .glass-modal__dialog {
      max-height: calc(100svh - 2rem);
    }
  }

  .glass-modal.visible {
    opacity: 1;
    pointer-events: auto;
  }

  .glass-modal__dialog {
    width: min(760px, 100%);
    background: linear-gradient(145deg, rgba(var(--primary-rgb)/.18), rgba(var(--accent-rgb)/.12)) border-box;
    position: relative;
    border: 1px solid rgba(var(--primary-rgb)/.35);
    border-radius: 28px;
    padding: clamp(1.6rem, 2.2vw, 2.3rem) clamp(1.4rem, 2vw, 2.1rem) clamp(1.9rem, 2.4vw, 2.4rem);
    box-shadow: 0 8px 40px -10px rgba(0 0 0 / .5), 0 0 0 1px rgba(255 255 255 / .06);
    overflow: hidden auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .glass-modal__dialog:before,
  .glass-modal__dialog:after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(var(--secondary-rgb)/.55), transparent 70%);
    top: -160px;
    right: -140px;
    mix-blend-mode: color-dodge;
    opacity: .55;
    pointer-events: none;
    filter: blur(20px);
  }

  .glass-modal__dialog:after {
    top: auto;
    bottom: 0px;
    left: -160px;
    background: radial-gradient(circle at 40% 40%, rgba(var(--accent-rgb)/.55), transparent 70%);
  }

  .glass-modal__head h3 {
    margin: 0 0 .35rem;
    font-size: clamp(1.5rem, 3.1vw, 2.1rem);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    color: #fff;
    letter-spacing: -.02em;
  }

  .glass-modal__sub {
    margin: 0 0 1.3rem;
    font-weight: 500;
    color: #fff;
    font-size: .9rem;
  }

  .glass-modal__close {
    position: absolute;
    top: .65rem;
    right: .65rem;
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(255 255 255 / .15);
    backdrop-filter: blur(10px) saturate(160%);
    color: var(--text);
    font-size: 1.6rem;
    line-height: 1;
    border-radius: 36px;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background .35s, transform .35s;
  }

  .glass-modal__close:hover {
    background: rgba(255 255 255 / .3);
    transform: scale(1.05);
  }

  .glass-form .form-grid {
    display: grid;
    gap: 1rem 1.15rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    margin-bottom: 1.4rem;
  }

  .glass-form .field-full {
    grid-column: 1/-1;
  }

  .glass-form label {
    display: block;
    font-size: .68rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-weight: 600;
    margin: 0 0 .45rem;
    color: #fff;
  }

  .glass-form input,
  .glass-form textarea {
    width: 100%;
    border: 1px solid rgba(var(--primary-rgb)/.25);
    background: linear-gradient(135deg, rgba(var(--primary-rgb)/.15), rgba(255 255 255 / .4));
    backdrop-filter: blur(8px) saturate(160%);
    padding: .85rem .95rem;
    border-radius: 14px;
    font: 600 .85rem/1.2 'Montserrat', system-ui;
    color: #fff;
    letter-spacing: .01em;
    outline: none;
    transition: border-color .35s, box-shadow .35s, background .45s;
    resize: vertical;
  }

  .glass-form input::placeholder,
  .glass-form textarea::placeholder {
    color: rgba(var(--primary-rgb)/.55);
    font-weight: 500;
  }

  .glass-form input:focus,
  .glass-form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb)/.25);
  }

  [data-theme="dark"] .glass-form input,
  [data-theme="dark"] .glass-form textarea {
    background: linear-gradient(135deg, rgba(var(--primary-rgb)/.35), rgba(255 255 255 / .06));
    border-color: rgba(var(--primary-rgb)/.45);
  }

  [data-theme="dark"] .glass-form input:focus,
  [data-theme="dark"] .glass-form textarea:focus {
    box-shadow: 0 0 0 3px rgba(var(--accent-rgb)/.28);
    border-color: var(--accent);
  }

  .glass-form .actions {
    display: flex;
    gap: .9rem;
    flex-wrap: wrap;
    justify-content: flex-end;
  }


  .form-status {
    margin-top: 1rem;
    font-size: .72rem;
    letter-spacing: .08em;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--primary);
  }

  [data-theme="dark"] .form-status {
    color: var(--accent);
  }

  @media (max-width:640px) {
    .glass-modal__dialog {
      border-radius: 22px;
      padding: 1.4rem 1.25rem 1.9rem;
    }

    .glass-modal__close {
      width: 30px;
      height: 30px;
      font-size: 1.4rem;
    }

    .glass-form .form-grid {
      grid-template-columns: 1fr;
    }
  }

  /* Abertura animada */
  .glass-modal__dialog {
    transform: translateY(28px) scale(.95);
    opacity: 0;
    transition: transform .6s cubic-bezier(.22, .9, .3, 1), opacity .6s;
  }

  .glass-modal.visible .glass-modal__dialog {
    transform: translateY(0) scale(1);
    opacity: 1;
  }

  .glass-form input::placeholder,
  .glass-form textarea::placeholder {
    color: #fff !important;
    opacity: .7;
  }

  /* Opcional (para compatibilidade extra) */
  .glass-form input::-webkit-input-placeholder,
  .glass-form textarea::-webkit-input-placeholder {
    color: #fff !important;
    opacity: .7;
  }

  .glass-form input::-moz-placeholder,
  .glass-form textarea::-moz-placeholder {
    color: #fff !important;
    opacity: .7;
  }

  .glass-form input:-ms-input-placeholder,
  .glass-form textarea:-ms-input-placeholder {
    color: #fff !important;
    opacity: .7;
  }

  .glass-form input::-ms-input-placeholder,
  .glass-form textarea::-ms-input-placeholder {
    color: #fff !important;
    opacity: .7;
  }

  button#cancelContact {
    color: white;
  }

  button#cancelContact:hover {
    color: var(--text) !important;
  }

  .mobile-menu-toggle {
    background: var(--glass-bg, rgba(255, 255, 255, .08));
    border: 1px solid rgb(63 63 63 / 20%);
    color: #000000;
    padding: .55rem .8rem;
    border-radius: .6rem;
    font-size: 1.05rem;
    line-height: 1;
  }

  [data-theme="dark"] .mobile-menu-toggle {
    border: 1px solid rgba(255, 255, 255, .2);
    color: var(--fg, #fff);
  }

  .mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 1rem 1.1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    z-index: 90;
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    border: 1px solid var(--glass-border);
    border-top: none;
    background:
      radial-gradient(at 18% 20%, rgba(var(--primary-rgb)/.10), transparent 70%),
      radial-gradient(at 82% 80%, rgba(var(--accent-rgb)/.10), transparent 65%),
      linear-gradient(145deg, var(--surface-alt) 0%, var(--surface) 100%);
    box-shadow: 0 10px 30px -8px rgba(0 0 0 / .20), 0 0 0 1px rgba(0 0 0 / .04);
    animation: menuSlide .28s cubic-bezier(.4, .2, .2, 1);
  }

  @keyframes menuSlide {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  [data-theme="dark"] .mobile-menu {
    background:
      radial-gradient(at 20% 18%, rgba(var(--primary-rgb)/.28), transparent 65%),
      radial-gradient(at 78% 82%, rgba(var(--accent-rgb)/.28), transparent 60%),
      linear-gradient(155deg, rgba(34 31 30 / .88), rgba(28 26 25 / .90));
    box-shadow: 0 10px 34px -10px rgba(0 0 0 / .65), 0 0 0 1px rgba(255 255 255 / .04);
  }

  .mobile-links {
    display: flex;
    flex-direction: column;
    gap: .65rem;
    margin: 0;
    padding: 0;
  }

  .mobile-links a {
    text-decoration: none;
    font-weight: 600;
    padding: .65rem .8rem;
    border-radius: .65rem;
    font-size: .9rem;
    line-height: 1.1;
    display: block;
    position: relative;
    background: rgba(var(--primary-rgb)/.08);
    color: var(--text) !important;
    border: 1px solid rgba(var(--primary-rgb)/.15);
    backdrop-filter: blur(6px) saturate(140%);
    transition: background .35s, border-color .35s, color .35s;
  }

  [data-theme="dark"] .mobile-links a {
    background: rgba(255 255 255 / .08);
    border-color: rgba(var(--primary-rgb)/.28);
    color: #fff !important;
  }

  .mobile-links a:hover,
  .mobile-links a:focus-visible {
    background: linear-gradient(135deg, rgba(var(--primary-rgb)/.28), rgba(var(--accent-rgb)/.22));
    border-color: rgba(var(--primary-rgb)/.45);
    color: #fff !important;
  }

  .mobile-controls {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .mobile-theme-auth {
    display: flex;
    gap: .75rem;
    align-items: center;
  }

  .mobile-theme-auth .toggle-theme {
    background: rgba(var(--primary-rgb)/.10);
    border: 1px solid rgba(var(--primary-rgb)/.25);
    color: var(--text);
    transition: background .35s, border-color .35s;
  }

  [data-theme="dark"] .mobile-theme-auth .toggle-theme {
    background: rgba(255 255 255 / .10);
    border-color: rgba(255 255 255 / .18);
    color: #fff;
  }

  .mobile-theme-auth .toggle-theme:hover {
    background: rgba(var(--primary-rgb)/.18);
    border-color: rgba(var(--primary-rgb)/.5);
  }

  [data-theme="dark"] .mobile-theme-auth .toggle-theme:hover {
    background: rgba(255 255 255 / .18);
    border-color: rgba(255 255 255 / .35);
  }

  @media (min-width:768px) {

    #mobileMenu,
    #mobileMenuToggle {
      display: none !important;
    }

    .nav-cta {
      display: flex !important;
    }
  }

  .pricing-grid {
    display: grid;
    gap: 1.6rem;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    align-items: stretch;
  }

  .plan-card {
    background: rgb(0 0 0 / 0%);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    padding: 1.6rem 1.4rem 1.5rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform .3s ease, box-shadow .35s ease, border-color .35s ease, background .35s;
  }

  .plan-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--glass-shadow);
    border-color: rgba(var(--primary-rgb)/.45);
  }

  /* Selo “Mais Popular” */
  .plan-badge {
    position: absolute;
    top: .9rem;
    right: .9rem;
    padding: .35rem .6rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #1325c97d, #75f4ff78, #ffe74773);
    color: var(--text);
    font: 700 .68rem/1 'Montserrat', system-ui;
    letter-spacing: .12em;
    text-transform: uppercase;
    box-shadow: 0 6px 16px -6px rgba(var(--primary-rgb)/.55);
  }

  /* Destaque suave do card “featured” */
  .plan-card.plan-featured {
    border-color: rgba(var(--primary-rgb)/.55) !important;
    box-shadow: 0 0 0 1px rgba(var(--primary-rgb)/.18), 0 18px 40px -10px rgba(var(--primary-rgb)/.45);
    background: linear-gradient(160deg, rgba(var(--primary-rgb)/.08), transparent 60%);
  }

  .plan-card.plan-featured::before {
    content: "";
    position: absolute;
    inset: -40% -10% auto -10%;
    height: 60%;
    background: radial-gradient(ellipse at top, rgba(var(--primary-rgb)/.28), transparent 60%);
    pointer-events: none;
    filter: blur(20px);
    opacity: .7;
    animation: glowPulse 4s ease-in-out infinite;
  }

  @keyframes glowPulse {

    0%,
    100% {
      opacity: .5;
    }

    50% {
      opacity: .9;
    }
  }

  /* Texto de destaque extra abaixo do preço */
  .plan-highlight {
    margin-top: .35rem;
    font-weight: 700;
    font-size: .75rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: linear-gradient(90deg, rgba(var(--primary-rgb)/.12), rgba(var(--accent-rgb)/.18));
    border: 1px solid rgba(var(--primary-rgb)/.25);
    padding: .35rem .6rem;
    border-radius: 999px;
  }

  [data-theme="dark"] .plan-highlight {
    color: var(--accent);
    border-color: rgba(var(--accent-rgb)/.35);
  }

  /* Hover consistente */
  .plan-card.reveal.visible:hover,
  .feature.reveal.visible:hover {
    transform: translateY(-4px) scale(1);
  }

  .plan-header {
    display: flex;
    flex-direction: column;
    gap: .6rem;
    margin-bottom: .75rem;
  }

  .plan-header h3 {
    margin: .2rem 0 0;
    font-size: 1.25rem;
  }

  .plan-sub {
    color: var(--muted);
    font-weight: 500;
    font-size: .9rem;
  }

  .plan-price {
    display: flex;
    align-items: baseline;
    gap: .4rem;
    margin-top: .2rem;
  }

  .plan-price strong {
    font-size: clamp(1.6rem, 3vw, 2rem);
    letter-spacing: -0.02em;
  }

  .plan-price span {
    font-size: .9rem;
    color: var(--muted);
    font-weight: 600;
  }

  .plan-features {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
    display: grid;
    gap: .6rem;
  }

  .plan-features li {
    position: relative;
    padding-left: 1.2rem;
    font-weight: 600;
    color: var(--text);
    font-size: .9rem;
  }

  .plan-features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .3rem;
    width: 0.7rem;
    height: 0.7em;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    box-shadow: 0 4px 8px -2px rgba(var(--primary-rgb) / .5);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    padding: .18rem;
  }

  .plan-actions {
    margin-top: auto;
    display: flex;
    gap: .6rem;
    flex-wrap: wrap;
    padding-top: 1.1rem;
  }

  .plan-actions .btn {
    flex: 1 1 auto;
    justify-content: center;
  }

  .plan-card.plan-featured {
    border-color: rgba(var(--primary-rgb)/.55) !important;
    box-shadow: 0 0 0 1px rgba(var(--primary-rgb)/.2), 0 12px 32px -10px rgba(var(--primary-rgb)/.45);
  }

  @media (max-width: 640px) {
    .plan-actions .btn {
      min-width: 100%;
    }
  }

  /* ---------- Blur background on Plans (same feel as CTA) ---------- */
  #precos {
    position: relative;
    isolation: isolate;
  }

  #precos::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, var(--primary), var(--secondary));
    opacity: .15;
    filter: blur(60px);
    z-index: -1;
    pointer-events: none;
  }

  .bs-container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    /* anula as margens negativas da .row */
    padding-left: calc(var(--bs-gutter-x, 1.5rem) * .5);
    padding-right: calc(var(--bs-gutter-x, 1.5rem) * .5);
  }

  #precos .row>.col.d-flex {
    justify-content: center;
    /* centraliza horizontalmente o card */
    align-items: stretch;
    /* mantém a altura consistente */
  }

  #precos .plan-card {
    width: 100%;
    /* preenche a coluna em telas estreitas */
    margin-inline: auto;
    /* garante centrado mesmo sem flex util */
  }

  @media (min-width: 1500px) {
    .row-cols-1500-5>* {
      flex: 0 0 auto;
      width: 20%;
      /* 5 colunas */
    }
  }

  @media (max-width: 420px) {
    .plan-badge {
      top: .5rem;
      right: .5rem;
    }
  }

  @media (min-width: 1500px) and (max-width: 1875px) {
    .plan-badge {
      top: .5rem;
      right: .5rem;
    }
  }

  @media (max-width: 420px) {
    .metric {
      padding: .9rem .7rem;
    }
  }

  html {
    scroll-behavior: smooth;
  }

  #recursos,
  #planos,
  #faq {
    scroll-margin-top: 72px;
  }

  /* Countdown Section */
  .countdown-section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    text-align: center;
  }

  /* LiquidGlass background */
  .plan-section::before,
  .plan-section::after {
    content: "";
    position: absolute;
    inset: -40%;
    background:
      radial-gradient(40% 30% at 20% 30%, rgba(0, 182, 232, 0.731) 0%, transparent 90%),
      radial-gradient(35% 25% at 80% 70%, rgba(50, 197, 255, 0.698) 0%, transparent 90%),
      radial-gradient(30% 25% at 60% 20%, rgba(62, 223, 215, 0.657) 0%, transparent 90%),
      radial-gradient(25% 25% at 30% 80%, rgba(33, 107, 255, 0.649) 0%, transparent 90%);
    filter: blur(40px) saturate(120%);
    transform: translateZ(0);
    z-index: 0;
    animation: liquid-move 18s ease-in-out infinite alternate;
    opacity: .5;
  }

  [data-theme="dark"] .plan-section::before,
  [data-theme="dark"] .plan-section::after {
    background:
      radial-gradient(40% 30% at 20% 30%, rgba(0, 180, 232, .35) 0%, transparent 60%),
      radial-gradient(35% 25% at 80% 70%, rgb(50 197 255 / 30%) 0%, transparent 60%),
      radial-gradient(30% 25% at 60% 20%, rgb(62 223 215 / 25%) 0%, transparent 60%),
      radial-gradient(25% 25% at 30% 80%, rgb(33 108 255 / 25%) 0%, transparent 60%);
  }

  .plan-section::after {
    animation-duration: 24s;
    animation-direction: alternate-reverse;
    opacity: .35;
  }

  @keyframes liquid-move {
    0% {
      transform: translate(-2%, -1%) scale(1.05);
    }

    50% {
      transform: translate(2%, 1%) scale(1.1);
    }

    100% {
      transform: translate(-1%, 2%) scale(1.06);
    }
  }

  .countdown-container {
    max-width: 980px;
    margin: 0 auto;
    padding: 3rem 2rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-glass);
    position: relative;
    z-index: 1;
  }

  /* Titles */
  .countdown-title {
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 .5rem;
  }

  .countdown-subtitle {
    font-size: 1.1rem;
    color: var(--muted);
    margin: 0 auto 2rem;
    max-width: 60ch;
  }

  /* Timer */
  .countdown-timer {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
  }

  .countdown-item {
    background: var(--bg-glass-card);
    border: 1px solid var(--border-glass);
    border-radius: 1rem;
    padding: 1.25rem .75rem;
    backdrop-filter: var(--blur-glass);
    box-shadow: var(--shadow-light);
    transition: transform .25s ease, box-shadow .25s ease;
  }

  .countdown-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
  }

  .countdown-number {
    font-family: 'Montserrat Alternates', system-ui, sans-serif;
    font-size: 3.6rem;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(45deg, #3264FF 0%, #00B4E8 50%, #5121FF 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: .02em;
    margin-bottom: .35rem;
    text-shadow: 0 0 30px rgba(50, 100, 255, .2);
  }

  .countdown-label {
    font-size: .95rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .06em;
    font-weight: 600;
  }

  .countdown-cta {
    margin-top: 2rem;
  }

  @media (max-width: 992px) {
    .countdown-title {
      font-size: 2.2rem;
    }
  }

  @media (max-width: 768px) {
    .countdown-timer {
      grid-template-columns: repeat(2, 1fr);
    }

    .countdown-number {
      font-size: 3rem;
    }
  }

  @media (max-width: 480px) {
    .countdown-timer {
      grid-template-columns: 1fr;
      gap: .85rem;
    }

    .countdown-number {
      font-size: 2.6rem;
    }
  }

  /* Respeita usuários com redução de movimento */
  @media (prefers-reduced-motion: reduce) {

    .countdown-section::before,
    .countdown-section::after {
      animation: none;
    }
  }

  #recursos {
    background: linear-gradient(180deg, #ffeabd, #e7faffcf);
  }

  [data-theme="dark"] #recursos {
    background: var(--background)
  }

  .live-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .55rem .9rem;
    border-radius: 999px;
    color: var(--text, #fff);
    background: rgba(255, 59, 59, .10);
    border: 1px solid rgba(255, 59, 59, .45);
    box-shadow:
      0 0 0 2px rgba(255, 59, 59, .12) inset,
      0 10px 30px rgba(255, 59, 59, .25);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transform: scale(.96);
    opacity: 0;
    transition: transform .45s cubic-bezier(.2, .7, .2, 1), opacity .45s ease;
  }

  .live-badge.show {
    transform: scale(1);
    opacity: 1;
  }

  .live-text {
    font-weight: 700;
    letter-spacing: .2px;
  }

  .live-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ff3b3b;
    box-shadow: 0 0 14px rgba(255, 59, 59, .8);
    position: relative;
  }

  .live-dot::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(255, 59, 59, .55);
    animation: live-ping 1.4s cubic-bezier(0, 0, 0.2, 1) infinite;
  }

  .live-glow {
    position: absolute;
    inset: -30%;
    background: radial-gradient(circle at 30% 50%,
        rgba(255, 59, 59, .25), transparent 55%);
    filter: blur(18px);
    z-index: -1;
    animation: glow 3s ease-in-out infinite;
    pointer-events: none;
  }

  @keyframes live-ping {
    0% {
      transform: scale(.7);
      opacity: .9;
    }

    70% {
      transform: scale(1.8);
      opacity: 0;
    }

    100% {
      opacity: 0;
    }
  }

  @keyframes glow {

    0%,
    100% {
      opacity: .6;
      transform: translateY(0);
    }

    50% {
      opacity: .9;
      transform: translateY(-2px);
    }
  }

  /* Respeita redução de movimento */
  @media (prefers-reduced-motion: reduce) {
    .live-badge {
      transition: none;
    }

    .live-dot::after,
    .live-glow {
      animation: none !important;
    }
  }

  .badge-pill {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    border-radius: 50px;
    background: rgba(var(--primary-rgb), 0.06);
    color: var(--primary);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
    border: 1px solid rgba(var(--primary-rgb), 0.15);
    backdrop-filter: blur(4px);
  }

  [data-theme="dark"] .badge-pill {
    background: rgba(255, 255, 255, 0.05);
    color: var(--secondary);
    border-color: rgba(255, 255, 255, 0.15);
  }

  /* Container que segura as ondas (não mexer) */
  .bg-wave-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    /* Permite clicar através das imagens */
    z-index: 1;
    overflow: hidden;
  }

  /* Estilo base da imagem da onda */
  .bg-wave {
    position: absolute;
    display: block;
    user-select: none;
    filter: brightness(0.3) saturate(1.5);
    /* Suaviza a transição se você mudar valores no inspecionar elemento */
    transition: all 0.3s ease;
  }

  /* Garante que o conteúdo fique ACIMA das ondas */
  .hero-grid,
  .features-grid,
  .bs-container,
  .faq-simple,
  .section-header {
    position: relative;
    z-index: 2;
  }

  /* --- CONTROLES DE POSIÇÃO E DIREÇÃO --- */
  /* Aqui você define onde cada onda fica */

  /* 1. Onda do Hero (Topo) */
  .wave-hero-1 {
    top: -15%;
    /* Distância do topo */
    right: -10%;
    /* Distância da direita */
    width: 900px;
    /* Tamanho da imagem */
    opacity: 0.4;
    /* Transparência (0.0 a 1.0) */
    transform: rotate(15deg);
    /* Rotação */
  }

  /* 2. Onda das Seções (Meio/Esquerda) */
  .wave-sec-1 {
    top: 43%;
    left: -4%;
    width: 800px;
    opacity: 0.3;
    transform: rotate(-10deg) scaleX(-1);
    /* scaleX(-1) inverte horizontalmente */
  }

  /* 3. Onda das Seções (Fundo/Direita) */
  .wave-sec-2 {
    bottom: 19%;
    right: -10%;
    width: 1000px;
    opacity: 0.25;
    transform: rotate(180deg);
  }

  /* Ajuste para modo escuro (opcional) */
  [data-theme="dark"] .bg-wave {
    opacity: 0.35;
    filter: hue-rotate(45deg);
  }

  @media (max-width: 768px) {
    .wave-sec-2{
      bottom: 13%;
    }
  }
@media (max-width: 768px) {
    .wave-sec-1{
       top: 48%;
    }
  }

  @media (min-width: 624px ) and (max-width: 1500px) {
    .wave-sec-1{
       top: 39%;
    }
  }

/*   @media (min-width: 770px ) and (max-width: 1500px) {
    .wave-sec-1{
       top: 39%;
    }
  } */
   .mini-btn {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(4px);
    display: grid;
    place-items: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.mini-btn:hover {
    background: rgba(var(--primary-rgb), 0.12);
    border-color: rgba(var(--primary-rgb), 0.25);
    color: var(--primary);
    box-shadow:
        0 4px 15px rgba(var(--primary-rgb), 0.2),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .mini-btn:hover {
    color: var(--accent);
}
