/* =====================================================================
   Flavu — Landing page (flavu.com.br)
   Estilos derivados do "flavu-green Design System" (Claude Design).
   Base: Bootstrap 5.3 + tokens do DS. Tema claro/escuro via data-bs-theme.
   ===================================================================== */

/* Fonte da marca: Bricolage Grotesque (carregada via Google Fonts no <head>). */

/* =====================================================================
   TOKENS (do design system)
   ===================================================================== */
:root {
  /* Lime / acid green — cor de ação */
  --green-50: #f4fbdd;
  --green-100: #ecf8cd;
  --green-200: #e2f5b4;
  --green-300: #d8f19b;
  --green-400: #bce74d;
  --green-500: #9edd05;
  --green-600: #8ac504;
  --green-700: #7eb104;
  --green-800: #5f8503;
  --green-900: #3f5802;

  /* Forest — verde escuro (texto, superfícies escuras) */
  --forest-900: #072720;
  --forest-800: #082720;
  --forest-700: #0c3a30;
  --forest-600: #17493c;
  --forest-500: #29594b;
  --forest-400: #4a7266;
  --forest-300: #7b988f;

  /* Cream + mint — superfícies suaves */
  --cream-500: #fffaeb;
  --cream-600: #fbf4dc;
  --cream-700: #f9efcf;
  --mint-500: #def1ee;
  --mint-600: #edf1ee;
  --mint-700: #eef1ee;

  /* Neutros */
  --white: #ffffff;
  --black: #000000;
  --gray-50: #f7f9f8;
  --gray-100: #eef1ef;
  --gray-200: #e2e7e4;
  --gray-300: #ced6d1;
  --gray-400: #a9b4ae;
  --gray-500: #7c8a83;
  --gray-600: #55635c;
  --gray-700: #3a4640;

  /* Marca Flavu (ilustração/gradiente) */
  --flavu-gradient: linear-gradient(135deg, #ffd900 0%, #ff9100 45%, #26ba6b 100%);

  /* Status */
  --success: #1d9553;
  --warning: #ff9c00;
  --danger: #e5484d;
  --info: #0c86a6;

  /* Tipografia */
  --font-sans: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --weight-light: 300;
  --weight-regular: 400;
  --weight-semibold: 600;
  --weight-bold: 700;
  --tracking-label: 1.6px;
  --tracking-tight: -0.01em;
  --leading-tight: 1.1;
  --leading-heading: 1.3;
  --leading-body: 1.6;

  /* Espaço / raio / sombra */
  --radius-xs: 5px;
  --radius-sm: 10px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --radius-pill: 100px;
  --shadow-xs: 0 1px 2px rgba(8, 39, 32, 0.06);
  --shadow-sm: 0 4px 14px rgba(8, 39, 32, 0.06);
  --shadow-md: 0 12px 30px rgba(8, 39, 32, 0.08);
  --shadow-lg: 0 24px 60px rgba(8, 39, 32, 0.12);
  --shadow-brand: 0 12px 28px rgba(158, 221, 5, 0.35);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --container-max: 1290px;

  /* ---- Papéis semânticos p/ TEMA CLARO (padrão) ---- */
  --bg-page: var(--white);
  --bg-soft: var(--mint-600);
  --bg-cream: var(--cream-500);
  --bg-card: var(--white);
  --bg-inverse: var(--forest-900); /* seções escuras */
  --text-strong: var(--forest-900);
  --text-body: var(--forest-800);
  --text-muted: var(--forest-400);
  --border-subtle: var(--gray-200);
  --border-strong: var(--gray-300);
  --nav-bg: rgba(255, 255, 255, 0.82);
  --nav-border: var(--gray-200);
  --focus-ring: rgba(158, 221, 5, 0.55);
}

/* ---- Overrides p/ TEMA ESCURO ---- */
[data-bs-theme="dark"] {
  --bg-page: var(--forest-900);
  --bg-soft: #0a3229;
  --bg-cream: #0a3229;
  --bg-card: var(--forest-700);
  --bg-inverse: #04211b;
  --text-strong: var(--white);
  --text-body: rgba(255, 255, 255, 0.86);
  --text-muted: rgba(255, 255, 255, 0.6);
  --border-subtle: rgba(255, 255, 255, 0.12);
  --border-strong: rgba(255, 255, 255, 0.2);
  --nav-bg: rgba(7, 39, 32, 0.85);
  --nav-border: rgba(255, 255, 255, 0.1);
}

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

body {
  font-family: var(--font-sans);
  font-weight: var(--weight-regular);
  font-size: 1rem;
  line-height: var(--leading-body);
  color: var(--text-body);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition:
    background 0.3s var(--ease),
    color 0.3s var(--ease);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: var(--weight-bold);
  color: var(--text-strong);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
}
a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
a:hover {
  color: var(--green-700);
}
[data-bs-theme="dark"] a:hover {
  color: var(--green-400);
}
button,
.btn,
.nav-link,
[role="button"],
summary,
label[for] {
  cursor: pointer;
}
img,
svg {
  max-width: 100%;
}

.container {
  max-width: var(--container-max);
}

/* foco visível global */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
input:focus-visible,
.form-check-input:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
  box-shadow: none;
}

/* seção padrão */
.section {
  padding: clamp(3.5rem, 7vw, 6.5rem) 0;
}
.section--soft {
  background: var(--bg-soft);
}
.section--cream {
  background: var(--bg-cream);
}
.section--dark {
  background: var(--bg-inverse);
}
.section--dark,
.section--dark :is(h1, h2, h3, h4, h5, h6) {
  color: var(--white);
}
.section--dark .text-body-2 {
  color: rgba(255, 255, 255, 0.72);
}

/* eyebrow / rótulo */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--green-700);
}
[data-bs-theme="dark"] .eyebrow {
  color: var(--green-400);
}
.eyebrow i {
  font-size: 0.95rem;
  line-height: 0;
  color: var(--green-600);
}
[data-bs-theme="dark"] .eyebrow i {
  color: var(--green-400);
}

.display-hero {
  font-size: clamp(2.6rem, 6.4vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
}
.section-title {
  font-size: clamp(2.3rem, 5vw, 4rem);
  letter-spacing: -0.02em;
}
.section-title--sm {
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
}
.price-red {
  color: var(--danger);
}
.price-green {
  color: var(--green-600);
}
[data-bs-theme="dark"] .price-green {
  color: var(--green-400);
}
.lead-2 {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--text-muted);
}
.text-body-2 {
  color: var(--text-muted);
}
.text-lime {
  color: var(--green-600);
}
[data-bs-theme="dark"] .text-lime {
  color: var(--green-400);
}

/* =====================================================================
   BOTÕES  (mapeados do Button.jsx do DS)
   ===================================================================== */
.btn {
  font-weight: var(--weight-semibold);
  border-radius: var(--radius-sm);
  line-height: 1.1;
  padding: 0.9rem 1.6rem;
  transition: var(--transition-base);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.btn:active {
  transform: translateY(1px);
}
.btn-lg {
  padding: 1.05rem 2rem;
  font-size: 1.05rem;
}
.btn-sm {
  padding: 0.6rem 1.1rem;
  font-size: 0.9rem;
}

.btn-flavu {
  background: var(--green-500);
  color: var(--forest-800);
  border: none;
}
.btn-flavu:hover,
.btn-flavu:focus {
  background: var(--green-600);
  color: var(--forest-900);
  box-shadow: var(--shadow-brand);
}

.btn-dark-flavu {
  background: var(--forest-700);
  color: #fff;
  border: none;
}
.btn-dark-flavu:hover,
.btn-dark-flavu:focus {
  background: var(--forest-600);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.btn-light-flavu {
  background: #fff;
  color: var(--forest-800);
  border: none;
  box-shadow: var(--shadow-sm);
}
.btn-light-flavu:hover,
.btn-light-flavu:focus {
  background: var(--green-500);
  color: var(--forest-900);
  box-shadow: var(--shadow-brand);
}

.btn-outline-flavu {
  background: transparent;
  color: var(--text-strong);
  box-shadow: inset 0 0 0 1.5px var(--border-strong);
  border: none;
}
.btn-outline-flavu:hover {
  box-shadow: inset 0 0 0 1.5px var(--green-500);
  color: var(--text-strong);
}

/* =====================================================================
   NAVBAR
   ===================================================================== */
#navbar {
  transition:
    background 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
  padding: 0.9rem 0;
}
#navbar .navbar-brand img {
  height: 48px;
}
#navbar .logo-neg {
  display: none;
}
[data-bs-theme="dark"] #navbar .logo-pos {
  display: none;
}
[data-bs-theme="dark"] #navbar .logo-neg {
  display: inline-block;
}
#navbar .nav-link {
  color: var(--text-strong);
  font-weight: 700;
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-sm);
  letter-spacing: -0.01em;
}
#navbar .nav-link:hover {
  color: var(--green-700);
  background: var(--bg-soft);
}
[data-bs-theme="dark"] #navbar .nav-link:hover {
  color: var(--green-400);
}
/* item de menu ativo (scrollspy) */
#navbar .nav-link.active {
  color: #5f8503;
  background: rgba(158, 221, 5, 0.18);
}
[data-bs-theme="dark"] #navbar .nav-link.active {
  color: var(--green-300);
  background: rgba(158, 221, 5, 0.18);
}

/* cores das marcas no hero */
.brand-canva {
  color: #8b3dff;
  font-weight: 700;
}
.brand-manychat {
  color: #0a84ff;
  font-weight: 700;
}
.brand-mlabs {
  color: #ff5c35;
  font-weight: 700;
}
[data-bs-theme="dark"] .brand-canva {
  color: #b18bff;
}

/* coroa animada antes do botão (hero) */
.crown-gif {
  height: 1.55em;
  width: auto;
  vertical-align: -0.4em;
  margin-right: 0.1rem;
}

/* badge verificado nos depoimentos */
.verified-badge {
  height: 1.05em;
  width: auto;
  vertical-align: -0.14em;
  margin-left: 0.3rem;
}
#navbar.sticky {
  background: var(--nav-bg);
  backdrop-filter: saturate(160%) blur(12px);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--nav-border);
}

.theme-toggle {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-strong);
  background: transparent;
  color: var(--text-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  transition: var(--transition-base);
}
.theme-toggle:hover {
  border-color: var(--green-500);
  color: var(--green-600);
}
.theme-toggle .ri-sun-line {
  display: none;
}
[data-bs-theme="dark"] .theme-toggle .ri-moon-line {
  display: none;
}
[data-bs-theme="dark"] .theme-toggle .ri-sun-line {
  display: inline-block;
}

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  position: relative;
  padding: clamp(6.5rem, 12vw, 9rem) 0 clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(60% 55% at 82% 8%, rgba(158, 221, 5, 0.18), transparent 60%), radial-gradient(50% 45% at 8% 30%, rgba(38, 186, 107, 0.12), transparent 60%);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-body);
  border: 1px solid var(--border-subtle);
}
.hero-badge .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green-500);
  position: relative;
  flex: 0 0 auto;
  animation: dotPulse 1.8s var(--ease) infinite;
}
.hero-badge .dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--green-500);
  animation: dotRipple 1.8s var(--ease) infinite;
}
@keyframes dotPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(158, 221, 5, 0.5);
  }
  50% {
    box-shadow: 0 0 0 5px rgba(158, 221, 5, 0.12);
  }
}
@keyframes dotRipple {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  100% {
    transform: scale(2.6);
    opacity: 0;
  }
}

.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--flavu-gradient);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
}

/* placeholder de imagem (o cliente troca depois) */
.img-ph {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.35rem;
  width: 100%;
  height: 100%;
  min-height: 120px;
  padding: 1.25rem;
  background: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0 12px, transparent 12px 24px), rgba(7, 39, 32, 0.34);
  color: #fff;
  border-radius: inherit;
}
.img-ph .ri {
  font-size: 1.9rem;
  opacity: 0.9;
}
.img-ph .dim {
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}
.img-ph .desc {
  font-size: 0.8rem;
  opacity: 0.85;
  max-width: 34ch;
}
.img-ph--light {
  background: repeating-linear-gradient(45deg, rgba(8, 39, 32, 0.05) 0 12px, transparent 12px 24px), var(--mint-600);
  color: var(--forest-600);
}

/* barra de logos / KPIs sob o hero */
.hero-kpis {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 2.5rem;
}
.kpi .num {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--text-strong);
  line-height: 1;
}
.kpi .lbl {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* =====================================================================
   COMPARATIVO 3 → 1  (assinatura visual)
   ===================================================================== */
.vs-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: 1.25rem;
}
@media (max-width: 820px) {
  .vs-grid {
    grid-template-columns: 1fr;
  }
}

.rival-stack {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.rival {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.15rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
}
.rival .ic {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  color: #fff;
}
.rival .ic.canva {
  background: linear-gradient(135deg, #7d2ae8, #00c4cc);
}
.rival .ic.many {
  background: #fff;
  color: #000;
  box-shadow: inset 0 0 0 1.5px var(--border-strong);
}
.rival .ic.mlabs {
  background: linear-gradient(135deg, #ff5c35, #ff9c00);
}
.rival .name {
  font-weight: 700;
  color: var(--text-strong);
}
.rival .role {
  font-size: 0.82rem;
  color: var(--text-muted);
}
.rival .cost {
  margin-left: auto;
  font-weight: 800;
  color: var(--text-strong);
  white-space: nowrap;
  font-size: 1.02rem;
}
.rival .cost small {
  display: block;
  font-weight: 500;
  font-size: 0.7rem;
  color: var(--text-muted);
  text-align: right;
}

.rival-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 0.35rem;
  padding: 1.05rem 1.15rem;
  background: var(--bg-card);
  border: 1.5px solid var(--danger);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
}
.rival-total .lbl {
  font-weight: 700;
  color: var(--text-strong);
}
.rival-total .sum {
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--danger);
  white-space: nowrap;
}

.vs-arrow {
  display: grid;
  place-items: center;
}
.vs-arrow span {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green-500);
  color: var(--forest-900);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  box-shadow: var(--shadow-brand);
}
@media (max-width: 820px) {
  .vs-arrow span {
    transform: rotate(90deg);
  }
}

.flavu-one {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.6rem;
  padding: 1.6rem;
  border-radius: var(--radius-md);
  background: var(--forest-900);
  color: #fff;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.flavu-one::after {
  content: "";
  position: absolute;
  right: -30px;
  top: -30px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(158, 221, 5, 0.35), transparent 70%);
}
.flavu-one .name {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
}
.flavu-one .role {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}
.flavu-one .cost {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--green-400);
}
.flavu-one .save {
  display: inline-block;
  align-self: flex-start;
  margin-top: 0.2rem;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-pill);
  background: rgba(158, 221, 5, 0.18);
  color: var(--green-300);
  font-size: 0.8rem;
  font-weight: 600;
}

/* =====================================================================
   CARDS DE RECURSOS
   ===================================================================== */
.feature-card {
  height: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-xs);
  transition: var(--transition-base);
  cursor: pointer;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.feature-ic {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  font-size: 1.55rem;
  background: var(--green-50);
  color: var(--forest-700);
  margin-bottom: 1.1rem;
}
[data-bs-theme="dark"] .feature-ic {
  background: rgba(158, 221, 5, 0.14);
  color: var(--green-400);
}
.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}
.feature-card p {
  color: var(--text-muted);
  font-size: 0.96rem;
  margin: 0;
}

/* card destacado (dark) dentro do grid */
.feature-card--dark {
  background: var(--forest-800);
  border-color: transparent;
}
.feature-card--dark h3 {
  color: #fff;
}
.feature-card--dark p {
  color: rgba(255, 255, 255, 0.72);
}
.feature-card--dark .feature-ic {
  background: rgba(158, 221, 5, 0.16);
  color: var(--green-400);
}

/* =====================================================================
   APPS+ (Swiper)
   ===================================================================== */
.apps-slide .swiper-slide {
  height: auto;
}
.app-card {
  height: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-xs);
  transition: var(--transition-base);
}
.app-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.app-ic {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  margin-bottom: 0.9rem;
  background: var(--mint-600);
  color: var(--forest-700);
}
/* Cor por app — funciona nos dois temas (matiz vívido + fundo translúcido do mesmo tom) */
.app-ic.c1 {
  background: rgba(158, 221, 5, 0.18);
  color: #5f8503;
}
.app-ic.c2 {
  background: rgba(47, 155, 232, 0.16);
  color: #2f9be8;
}
.app-ic.c3 {
  background: rgba(255, 138, 61, 0.18);
  color: #f2792b;
}
.app-ic.c4 {
  background: rgba(139, 108, 240, 0.16);
  color: #8b6cf0;
}
.app-ic.c5 {
  background: rgba(31, 184, 119, 0.16);
  color: #1fb877;
}
.app-ic.c6 {
  background: rgba(34, 184, 196, 0.16);
  color: #22b8c4;
}
.app-ic.c7 {
  background: rgba(240, 86, 143, 0.16);
  color: #f0568f;
}
.app-ic.c8 {
  background: rgba(240, 180, 41, 0.18);
  color: #e0a000;
}
.app-ic.c9 {
  background: rgba(109, 123, 240, 0.16);
  color: #6d7bf0;
}
[data-bs-theme="dark"] .app-ic.c1 {
  color: #bce74d;
}
[data-bs-theme="dark"] .app-ic.c8 {
  color: #f0b429;
}
.app-card h4 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}
.app-card p {
  font-size: 0.87rem;
  color: var(--text-muted);
  margin: 0;
}
.apps-nav {
  display: flex;
  gap: 0.6rem;
}
.apps-nav .nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--border-strong);
  background: transparent;
  color: var(--text-strong);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  cursor: pointer;
  transition: var(--transition-base);
}
.apps-nav .nav-btn:hover {
  background: var(--green-500);
  border-color: var(--green-500);
  color: var(--forest-900);
}

/* =====================================================================
   PLANO PRO / PRICING
   ===================================================================== */
.price-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 0.4rem;
  box-shadow: var(--shadow-xs);
}
.price-toggle button {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition-base);
}
.price-toggle button.active {
  background: var(--green-500);
  color: var(--forest-900);
  box-shadow: var(--shadow-brand);
}
.toggle-save {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--green-700);
  background: var(--green-50);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
}
[data-bs-theme="dark"] .toggle-save {
  color: var(--green-300);
  background: rgba(158, 221, 5, 0.16);
}

.plan-card {
  position: relative;
  background: var(--forest-900);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3rem);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.plan-card::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(158, 221, 5, 0.3), transparent 70%);
}
.plan-tag {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-pill);
  background: var(--green-500);
  color: var(--forest-900);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
}
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin: 1rem 0 0.25rem;
}
.plan-price .cur {
  font-size: 1.4rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
}
.plan-price .val {
  font-size: clamp(3rem, 7vw, 4.25rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.plan-price .per {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
}
.plan-note {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}
.plan-anchor {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: line-through;
  font-weight: 600;
}
.plan-list {
  list-style: none;
  margin: 1.75rem 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem 1.25rem;
}
@media (max-width: 575px) {
  .plan-list {
    grid-template-columns: 1fr;
  }
}
.plan-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.9);
}
.plan-list .ri {
  color: var(--green-400);
  font-size: 1.15rem;
  flex: 0 0 auto;
  margin-top: 1px;
}
.plan-aside {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  height: 100%;
}
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}
.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.trust-row .ri {
  color: var(--green-600);
}

/* =====================================================================
   PROVA SOCIAL + FAQ
   ===================================================================== */
.testi-card {
  height: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.9rem;
  box-shadow: var(--shadow-xs);
}
.testi-card .quote {
  font-size: 1.02rem;
  color: var(--text-body);
  margin-bottom: 1.25rem;
}
.testi-stars {
  color: var(--warning);
  font-size: 0.95rem;
  margin-bottom: 0.85rem;
}
.testi-user {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.testi-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--flavu-gradient);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  flex: 0 0 auto;
  overflow: hidden;
}
.testi-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}
.testi-user .n {
  display: block;
  font-weight: 700;
  color: var(--text-strong);
  font-size: 1rem;
  line-height: 1.25;
}
.testi-user .r {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.faq .accordion-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md) !important;
  margin-bottom: 0.85rem;
  overflow: hidden;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
/* Item aberto: destaque suave em lime (sem borda "estranha" do Bootstrap) */
.faq .accordion-item:has(.accordion-button:not(.collapsed)) {
  border-color: var(--green-500);
  box-shadow: 0 6px 22px rgba(158, 221, 5, 0.12);
}
.faq .accordion-button {
  background: var(--bg-card);
  color: var(--text-strong);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 1.25rem 1.4rem;
}
.faq .accordion-button:not(.collapsed) {
  background: var(--bg-card);
  color: var(--green-700);
  box-shadow: none;
}
[data-bs-theme="dark"] .faq .accordion-button:not(.collapsed) {
  color: var(--green-400);
}
/* Foco só via teclado — não deixa a borda grossa depois do clique do mouse */
.faq .accordion-button:focus {
  box-shadow: none;
  outline: none;
}
.faq .accordion-button:focus-visible {
  box-shadow: none;
  outline: 3px solid var(--focus-ring);
  outline-offset: -3px;
}
.faq .accordion-button::after {
  background-size: 1.1rem;
}
.faq .accordion-body {
  color: var(--text-muted);
  padding: 0 1.4rem 1.35rem;
}

/* =====================================================================
   CTA FINAL + FOOTER
   ===================================================================== */
.cta-final {
  border-radius: var(--radius-lg);
  background: var(--forest-900);
  color: #fff;
  padding: clamp(2.5rem, 6vw, 4.5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(50% 60% at 50% 0%, rgba(158, 221, 5, 0.22), transparent 60%);
}
.cta-final > * {
  position: relative;
}
.cta-final h2 {
  color: #fff;
}

.site-footer {
  background: var(--bg-inverse);
  color: rgba(255, 255, 255, 0.72);
  padding: 4rem 0 2rem;
}
.site-footer h5 {
  color: #fff;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
}
.site-footer a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  display: inline-block;
  padding: 0.2rem 0;
}
.site-footer a:hover {
  color: var(--green-400);
}
.site-footer .brand-logo {
  height: 52px;
  margin-bottom: 1.15rem;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

/* go-top */
.go-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  z-index: 60;
  background: var(--green-500);
  color: var(--forest-900);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: var(--transition-base);
  box-shadow: var(--shadow-brand);
}
.go-top.active {
  opacity: 1;
  visibility: visible;
  transform: none;
}

/* =====================================================================
   COMO FUNCIONA (passo a passo, com foto)
   ===================================================================== */
.how-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--flavu-gradient);
  aspect-ratio: 4/5;
  max-width: 380px;
  margin-inline: auto;
}

/* Ícone da seção (no lugar do eyebrow) */
.section-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: var(--green-50);
  color: var(--forest-700);
  font-size: 1.75rem;
  box-shadow: var(--shadow-xs);
}
[data-bs-theme="dark"] .section-icon {
  background: rgba(158, 221, 5, 0.14);
  color: var(--green-400);
}
.section--dark .section-icon,
.cta-final .section-icon {
  background: rgba(158, 221, 5, 0.16);
  color: var(--green-400);
}
.steps {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.step {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.3rem 1.4rem;
  box-shadow: var(--shadow-xs);
  transition: var(--transition-base);
}
.step:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}
.step-num {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.15rem;
  background: var(--green-500);
  color: #fff;
}
.step-num.n1 {
  background: #9edd05;
  color: var(--forest-900);
}
.step-num.n2 {
  background: #2f9be8;
}
.step-num.n3 {
  background: #8b6cf0;
}
.step-num.n4 {
  background: #f0568f;
}
.step h3 {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}
.step p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* =====================================================================
   REDES SUPORTADAS (Instagram, Facebook, Threads)
   ===================================================================== */
.net-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 767px) {
  .net-grid {
    grid-template-columns: 1fr;
  }
}
.net-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow-xs);
  transition: var(--transition-base);
}
.net-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.net-badge {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-pill);
  display: grid;
  place-items: center;
  font-size: 1.7rem;
  color: #fff;
}
.net-badge.ig {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}
.net-badge.fb {
  background: #1877f2;
}
.net-badge.th {
  background: #000;
}
[data-bs-theme="dark"] .net-badge.th {
  background: #fff;
  color: #000;
}
.net-card .net-name {
  font-weight: 700;
  color: var(--text-strong);
  font-size: 1.05rem;
}
.net-card .net-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.net-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}
.net-actions span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: var(--text-body);
  font-weight: 500;
}
.net-actions .ri {
  color: var(--green-600);
}
[data-bs-theme="dark"] .net-actions .ri {
  color: var(--green-400);
}

/* =====================================================================
   PARA QUEM É (personas)
   ===================================================================== */
.persona-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
@media (max-width: 991px) {
  .persona-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 575px) {
  .persona-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.persona {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  box-shadow: var(--shadow-xs);
  transition: var(--transition-base);
}
.persona:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.persona .ri {
  font-size: 1.6rem;
  color: var(--green-600);
}
[data-bs-theme="dark"] .persona .ri {
  color: var(--green-400);
}
/* cor por persona */
.persona.pc1 .ri {
  color: #5f8503;
}
[data-bs-theme="dark"] .persona.pc1 .ri {
  color: #bce74d;
}
.persona.pc2 .ri {
  color: #2f9be8;
}
.persona.pc3 .ri {
  color: #f2792b;
}
.persona.pc4 .ri {
  color: #8b6cf0;
}
.persona.pc5 .ri {
  color: #1fb877;
}
.persona.pc6 .ri {
  color: #22b8c4;
}
.persona.pc7 .ri {
  color: #f0568f;
}
.persona.pc8 .ri {
  color: #e0a000;
}
.persona .p-name {
  font-weight: 700;
  color: var(--text-strong);
  font-size: 1rem;
}
.persona .p-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* =====================================================================
   SPOTLIGHT (IA / Cursos — bloco com foto)
   ===================================================================== */
.spotlight-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--flavu-gradient);
  aspect-ratio: 4/3;
}
.spot-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}
.spot-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: var(--text-body);
}
.spot-list .ri {
  color: var(--green-600);
  font-size: 1.25rem;
  flex: 0 0 auto;
  margin-top: 1px;
}
[data-bs-theme="dark"] .spot-list .ri {
  color: var(--green-400);
}

/* =====================================================================
   BLOG (cards na home + página de artigo)
   ===================================================================== */
.blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: var(--transition-base);
}
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.blog-media {
  aspect-ratio: 16/10;
  background: #f1f1f1;
}
.blog-media .img-ph {
  border-radius: 0;
}
.blog-body {
  padding: 1.4rem 1.4rem 1.6rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-cat {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--green-700);
  background: var(--green-50);
  padding: 0.28rem 0.75rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.75rem;
}
.blog-cat .ri,
.blog-cat i {
  font-size: 0.95rem;
}
[data-bs-theme="dark"] .blog-cat {
  color: var(--green-300);
  background: rgba(158, 221, 5, 0.16);
}
.blog-body h3 {
  font-size: 1.2rem;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}
.blog-body p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 1rem;
}
.blog-meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.blog-more {
  font-weight: 700;
  color: var(--green-700);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
[data-bs-theme="dark"] .blog-more {
  color: var(--green-400);
}
.blog-card:hover .blog-more .ri {
  transform: translateX(3px);
}
.blog-more .ri {
  transition: var(--transition-base);
}

/* ---- Página de artigo ---- */
.article-hero {
  padding: clamp(6.5rem, 11vw, 8.5rem) 0 1.5rem;
}
.article-cat {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--green-700);
}
[data-bs-theme="dark"] .article-cat {
  color: var(--green-400);
}
/* mesma cor por categoria do blog-cat */
.article-cat.bc1 {
  color: #5f8503;
}
[data-bs-theme="dark"] .article-cat.bc1 {
  color: #bce74d;
}
.article-cat.bc2 {
  color: #2f7fe0;
}
.article-cat.bc3 {
  color: #8b5cf0;
}
.article-cat.bc4 {
  color: #e07d00;
}
.article-cat.bc5 {
  color: #0e9c8a;
}
.article-title {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0.75rem 0 1rem;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.article-meta .who {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.article-meta .avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--flavu-gradient);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
}
.article-cover {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--flavu-gradient);
  aspect-ratio: 16/7;
  margin: 1.5rem 0;
}
.article-body {
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--text-body);
}
.article-body h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  margin: 2.25rem 0 0.85rem;
}
.article-body h3 {
  font-size: 1.3rem;
  margin: 1.75rem 0 0.6rem;
}
.article-body p {
  margin: 0 0 1.2rem;
}
.article-body ul {
  margin: 0 0 1.2rem;
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}
.article-body ul li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
}
.article-body ul li::before {
  content: "\ea6c";
  font-family: "remixicon";
  color: var(--green-600);
  flex: 0 0 auto;
}
[data-bs-theme="dark"] .article-body ul li::before {
  color: var(--green-400);
}
.article-body blockquote {
  margin: 1.75rem 0;
  padding: 1.25rem 1.5rem;
  border-left: 4px solid var(--green-500);
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  font-size: 1.15rem;
  color: var(--text-strong);
}
.article-cta {
  margin-top: 2.5rem;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  border-radius: var(--radius-lg);
  background: var(--forest-900);
  color: #fff;
  text-align: center;
}
.article-cta h2 {
  color: #fff;
  margin: 0 0 0.75rem;
}
.article-share {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.article-share a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  background: var(--bg-soft);
  color: var(--text-strong);
  transition: var(--transition-base);
}
.article-share a:hover {
  background: var(--green-500);
  color: var(--forest-900);
}

/* =====================================================================
   MODAL DE ASSINATURA (beta / convidados)
   ===================================================================== */
.flavu-modal .modal-content {
  border: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: var(--shadow-lg);
}
.flavu-modal .modal-header {
  border: none;
  padding: 1.6rem 1.75rem 0.25rem;
  position: relative;
}
.flavu-modal .modal-body {
  padding: 0.75rem 1.75rem 1.9rem;
}
.flavu-modal .beta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-pill);
  background: var(--green-50);
  color: var(--green-800);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
[data-bs-theme="dark"] .flavu-modal .beta-pill {
  background: rgba(158, 221, 5, 0.16);
  color: var(--green-300);
}
.flavu-modal h2 {
  font-size: 1.6rem;
  margin: 0.75rem 0 0.35rem;
}
.flavu-modal .modal-sub {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.1rem;
}
.flavu-modal .form-label {
  font-weight: 600;
  color: var(--text-strong);
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
}
.flavu-modal .form-control {
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-subtle);
  padding: 0.75rem 0.9rem;
  background: var(--bg-page);
  color: var(--text-body);
}
.flavu-modal .form-control::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}
.flavu-modal .form-control:focus {
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px var(--focus-ring);
  background: var(--bg-page);
  color: var(--text-body);
}
.flavu-modal .btn-close {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
}
[data-bs-theme="dark"] .flavu-modal .btn-close {
  filter: invert(1) grayscale(1) brightness(1.6);
}

/* estado de sucesso */
.modal-success {
  text-align: center;
  padding: 1.5rem 0.5rem 1rem;
}
.success-check {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--green-500);
  display: grid;
  place-items: center;
  margin: 0 auto 1.1rem;
  box-shadow: var(--shadow-brand);
  animation: successPop 0.5s var(--ease) both;
}
.success-check i {
  font-size: 2.8rem;
  color: var(--forest-900);
  animation: successDraw 0.5s 0.15s var(--ease) both;
}
.success-check::after {
  content: "";
  position: absolute;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 3px solid var(--green-500);
  animation: successRing 0.8s var(--ease) both;
}
.modal-success h2 {
  margin-bottom: 0.4rem;
}
.modal-success p {
  color: var(--text-muted);
  margin: 0;
}
@keyframes successPop {
  0% {
    transform: scale(0);
  }
  60% {
    transform: scale(1.12);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes successDraw {
  0% {
    opacity: 0;
    transform: scale(0.5);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes successRing {
  0% {
    opacity: 0.7;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.6);
  }
}
.footer-heart {
  color: #ff5c7a;
  animation: heartBeat 1.6s var(--ease) infinite;
  display: inline-block;
}
@keyframes heartBeat {
  0%,
  100% {
    transform: scale(1);
  }
  20% {
    transform: scale(1.25);
  }
  40% {
    transform: scale(1);
  }
}

/* =====================================================================
   HERO — prova social (avatares + contador)
   ===================================================================== */
.hero-users {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.hero-users img {
  height: 46px;
  width: auto;
}
.hero-users .hu-text {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.35;
}
.hero-users .hu-text strong {
  color: var(--text-strong);
  font-weight: 800;
  font-size: 1.15rem;
  display: inline-flex;
  align-items: baseline;
  gap: 0.15rem;
}
.hero-users .hu-stars {
  color: var(--warning);
  font-size: 0.85rem;
}

/* imagem real dentro de qualquer moldura (hero, how-photo, cmp-photo, etc.) */
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =====================================================================
   COMPARATIVO — imagem lado a lado
   ===================================================================== */
.cmp-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--flavu-gradient);
  aspect-ratio: 3/4;
}
.cmp-photo .img-ph {
  border-radius: 0;
}
.cmp-stack {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.cmp-stack .vs-arrow {
  margin: 0.1rem 0;
}
.cmp-stack .vs-arrow span {
  transform: rotate(90deg);
}

/* =====================================================================
   APPS+ — imagem + slides com 5 ferramentas por página
   ===================================================================== */
.apps-photo,
.apps-panel {
  cursor: pointer;
}
.apps-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--flavu-gradient);
  aspect-ratio: 4/5;
}
.apps-photo .img-ph {
  border-radius: 0;
}
/* troca de imagem no hover (fade) */
.apps-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.apps-photo .apps-img-b {
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.apps-photo:hover .apps-img-b {
  opacity: 1;
}
.apps-row:has(.apps-panel:hover) .apps-img-b {
  opacity: 1;
}
.apps-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  height: 100%;
}
.apps-panel h3 {
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.apps-panel h3 .tag10 {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--forest-900);
  background: var(--green-500);
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-brand);
}
[data-bs-theme="dark"] .apps-panel h3 .tag10 {
  color: var(--forest-900);
  background: var(--green-500);
}
.apps-tool {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--border-subtle);
}
.apps-tool:last-child {
  border-bottom: none;
}
.apps-tool .app-ic {
  margin-bottom: 0;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  font-size: 1.25rem;
}
.apps-tool .at-name {
  font-weight: 700;
  color: var(--text-strong);
  font-size: 0.98rem;
  line-height: 1.2;
}
.apps-tool .at-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
}
.app-ic.c10 {
  background: rgba(240, 120, 41, 0.16);
  color: #e07d00;
}

/* =====================================================================
   DEPOIMENTOS — slider + logo da empresa do cliente
   ===================================================================== */
.testi-slide {
  padding-bottom: 0;
}
.testi-slide .swiper-slide {
  height: auto;
}
.testi-card {
  display: flex;
  flex-direction: column;
}
.testi-card .quote {
  flex: 1;
}
.testi-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.25rem;
}
.testi-logo {
  height: 30px;
  max-width: 110px;
  object-fit: contain;
  opacity: 0.85;
  border-radius: 90px;
}
.testi-logo-ph {
  height: 30px;
  min-width: 78px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed var(--border-strong);
  border-radius: 6px;
  font-size: 0.62rem;
  color: var(--text-muted);
  padding: 0 0.4rem;
  text-align: center;
  line-height: 1.05;
}
/* paginação ABAIXO dos cards (não sobreposta) */
.testi-pagination.swiper-pagination {
  position: static;
  margin-top: 1.75rem;
}
.testi-pagination .swiper-pagination-bullet {
  background: var(--forest-400);
  opacity: 0.4;
  width: 9px;
  height: 9px;
}
.testi-pagination .swiper-pagination-bullet-active {
  background: var(--green-500);
  opacity: 1;
  width: 24px;
  border-radius: 5px;
}

/* =====================================================================
   Bandeira do Brasil (rodapé) — Windows não renderiza emoji de bandeira
   ===================================================================== */
.flag-br {
  height: 0.95em;
  width: auto;
  vertical-align: -2px;
  border-radius: 2px;
  margin-left: 0.15rem;
}

/* =====================================================================
   AJUSTES EXTRAS
   ===================================================================== */
/* Apps+ — grade estática com os 10 itens (sem slider) */
.apps-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem 1.5rem;
}
@media (max-width: 575px) {
  .apps-list {
    grid-template-columns: 1fr;
  }
}

/* Hero — typewriter rotativo. min-height reserva o espaço p/ o layout não pular. */
#hero-title {
  min-height: calc(1.04em * 2);
}
@media (max-width: 575px) {
  #hero-title {
    min-height: calc(1.06em * 3);
  }
}
#hero-title .typed-text {
  white-space: pre-wrap;
}
.type-caret {
  display: inline-block;
  width: 4px;
  height: 0.82em;
  border-radius: 2px;
  background: var(--green-500);
  margin-left: 0.08em;
  vertical-align: -0.05em;
  animation: caretBlink 1s steps(1) infinite;
}
@keyframes caretBlink {
  50% {
    opacity: 0;
  }
}

/* Selo Flavu Academy */
.academy-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  background: var(--green-700);
  color: var(--green-100);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.01em;
}
.academy-badge .ri {
  color: var(--green-200);
  font-size: 1.05rem;
}

/* Blog — cor por categoria */
.blog-cat.bc1 {
  color: #5f8503;
  background: rgba(158, 221, 5, 0.16);
}
.blog-cat.bc2 {
  color: #2f7fe0;
  background: rgba(47, 155, 232, 0.14);
}
.blog-cat.bc3 {
  color: #8b5cf0;
  background: rgba(139, 108, 240, 0.14);
}
.blog-cat.bc4 {
  color: #e07d00;
  background: rgba(240, 138, 41, 0.16);
}
.blog-cat.bc5 {
  color: #0e9c8a;
  background: rgba(34, 184, 196, 0.16);
}
[data-bs-theme="dark"] .blog-cat.bc1 {
  color: #bce74d;
}
.blog-author {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.blog-author .ri {
  color: var(--green-600);
}
[data-bs-theme="dark"] .blog-author .ri {
  color: var(--green-400);
}
.blog-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--flavu-gradient);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.72rem;
  flex: 0 0 auto;
}

/* Paginação */
.pagination-flavu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.pagination-flavu a,
.pagination-flavu span {
  min-width: 46px;
  height: 46px;
  padding: 0 0.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-subtle);
  font-weight: 700;
  color: var(--text-strong);
  background: var(--bg-card);
  transition: var(--transition-base);
}
.pagination-flavu a:hover {
  border-color: var(--green-500);
  color: var(--green-700);
}
[data-bs-theme="dark"] .pagination-flavu a:hover {
  color: var(--green-400);
}
.pagination-flavu .active {
  background: var(--green-500);
  border-color: var(--green-500);
  color: var(--forest-900);
}
.pagination-flavu .disabled {
  opacity: 0.4;
  pointer-events: none;
}

/* Cabeçalho de página (listagem) */
.page-head {
  padding: clamp(6.5rem, 11vw, 8.5rem) 0 clamp(2rem, 4vw, 3rem);
  text-align: center;
}

/* Honeypot (antispam) — invisível para humanos */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: auto;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* Estado "Enviando…" — texto e spinner em verde */
.btn.is-sending {
  background: var(--green-50) !important;
  color: var(--green-700) !important;
  box-shadow: none !important;
  opacity: 1 !important;
}
.btn.is-sending .spinner-border {
  color: var(--green-700);
}
[data-bs-theme="dark"] .btn.is-sending {
  background: rgba(158, 221, 5, 0.14) !important;
  color: var(--green-300) !important;
}
[data-bs-theme="dark"] .btn.is-sending .spinner-border {
  color: var(--green-300);
}

/* Banner de erro dentro do modal (no lugar do alert do navegador) */
.form-error {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  background: var(--danger-bg);
  color: #a3282c;
  border: 1px solid var(--danger);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1rem;
}
.form-error .ri {
  font-size: 1.1rem;
  flex: 0 0 auto;
}
[data-bs-theme="dark"] .form-error {
  background: rgba(229, 72, 77, 0.14);
  color: #ff9ea1;
}

/* Aviso legal após os botões dos modais */
.legal-note {
  color: var(--text-muted);
  font-size: 0.8rem;
}
.legal-note a {
  color: var(--green-700);
  font-weight: 600;
  text-decoration: underline;
}
[data-bs-theme="dark"] .legal-note a {
  color: var(--green-400);
}

/* Modais de Termos / Política — conteúdo textual */
.legal-modal .modal-body {
  padding: 1.5rem 1.75rem 2rem;
}
.prose-flavu {
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.7;
}
.prose-flavu header {
  margin-bottom: 1.25rem;
}
.prose-flavu h1 {
  font-size: 1.7rem;
  margin: 0 0 0.25rem;
}
.prose-flavu h2 {
  font-size: 1.25rem;
  margin: 1.75rem 0 0.6rem;
}
.prose-flavu h3 {
  font-size: 1.05rem;
  margin: 1.25rem 0 0.4rem;
}
.prose-flavu p {
  margin: 0 0 1rem;
}
.prose-flavu ul,
.prose-flavu ol {
  margin: 0 0 1rem 1.15rem;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}
.prose-flavu li {
  line-height: 1.6;
}
.prose-flavu a {
  color: var(--green-700);
  text-decoration: underline;
}
[data-bs-theme="dark"] .prose-flavu a {
  color: var(--green-400);
}
.prose-flavu strong {
  color: var(--text-strong);
  font-weight: 700;
}
.prose-flavu .text-sm {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Botão de assinatura do Plano Pro — borda animada contínua + hover */
@property --flavu-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
#planCta {
  position: relative;
  z-index: 0;
  isolation: isolate;
  overflow: visible;
}
#planCta {
  background: var(--green-500);
  color: var(--forest-900);
}
#planCta::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: calc(var(--radius-sm) + 3px);
  z-index: -1;
  background: conic-gradient(from var(--flavu-angle), #9edd05, #26ba6b, #1d9553, #bce74d, #9edd05);
  padding: 3px;
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation: flavuBorder 3.5s linear infinite;
}
#planCta::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: calc(var(--radius-sm) + 3px);
  z-index: -2;
  background: conic-gradient(from var(--flavu-angle), #9edd05, #26ba6b, #1d9553, #bce74d, #9edd05);
  filter: blur(11px);
  opacity: 0.5;
  animation: flavuBorder 3.5s linear infinite;
}
#planCta:hover {
  background: var(--green-600);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(158, 221, 5, 0.45);
}
#planCta:active {
  transform: translateY(0);
}
@keyframes flavuBorder {
  to {
    --flavu-angle: 360deg;
  }
}

/* =====================================================================
   ANIMAÇÕES DE ROLAGEM (scrollCue)
   A lib marca [data-show="true"] e injeta animationName; aqui ficam os
   keyframes + o estado inicial. Só escondemos quando o JS está ativo
   (classe .scroll-anim no <html>), para nunca sumir conteúdo sem JS.
   ===================================================================== */
[data-cue] {
  animation-duration: 0.7s;
  animation-timing-function: ease;
  animation-fill-mode: both;
}
html.scroll-anim [data-cue]:not([data-show="true"]) {
  opacity: 0;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(42px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-42px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-46px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(46px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* respeitar reduced motion */
@media (prefers-reduced-motion: reduce) {
  html.scroll-anim [data-cue] {
    opacity: 1 !important;
    animation: none !important;
    transform: none !important;
  }
  .feature-card:hover,
  .app-card:hover,
  .step:hover,
  .persona:hover,
  .net-card:hover,
  .blog-card:hover {
    transform: none;
  }
  .success-check,
  .success-check i,
  .success-check::after,
  .footer-heart,
  #planCta::before,
  #planCta::after,
  .hero-badge .dot,
  .hero-badge .dot::after,
  .type-caret {
    animation: none !important;
  }
}
