/* =============================
   CHANGES MIGRADOS DE changelog.html
   (Estilos exclusivos da página de changelog)
============================= */
:root {
  --blue: #4285F4;
  --blue-dark: #1a73e8;
  --blue-light: #e8f0fe;
  --red: #EA4335;
  --yellow: #FBBC04;
  --green: #34A853;
  --text-primary: #202124;
  --text-secondary: #5f6368;
  --text-hint: #80868b;
  --surface: #fff;
  --border: #dadce0;
  --shadow-sm: 0 1px 3px rgba(60, 64, 67, .12);
  --shadow-md: 0 2px 8px rgba(60, 64, 67, .14);
  --radius: 12px;
  --transition: all .22s cubic-bezier(.4, 0, .2, 1);
}

html {
  scroll-behavior: smooth
}

body {
  font-family: 'Google Sans', sans-serif;
  background: linear-gradient(160deg, #f0f4ff 0%, #f8f9fa 40%, #fff 100%);
  color: var(--text-primary);
  min-height: 100vh
}

/* TOPBAR (ajustes para changelog) */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(18px) saturate(1.6);
  border-bottom: 1px solid var(--border);
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 1px 0 rgba(60, 64, 67, .08)
}

.topbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none
}

.topbar-logo {
  display: flex;
  gap: 2px
}

.topbar-logo span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block
}

.dot-b {
  background: var(--blue)
}

.dot-r {
  background: var(--red)
}

.dot-y {
  background: var(--yellow)
}

.dot-g {
  background: var(--green)
}

.topbar-label {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -.3px
}

.topbar-label span {
  color: var(--blue);
  font-weight: 700
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--blue-dark);
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 20px;
  transition: var(--transition)
}

.back-btn:hover {
  background: var(--blue-light);
  color: var(--blue-dark)
}

.back-btn {
  white-space: nowrap;
  flex-wrap: nowrap
}

/* LAYOUT */
.page-wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 28px 100px
}

/* PAGE HEADER */
.page-header {
  padding: 60px 0 40px
}

.page-header h1 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -.5px;
  color: var(--text-primary);
  margin-bottom: 8px
}

.page-header p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6
}

hr {
  border: none;
  border-top: 1px solid var(--border)
}

/* VERSION ENTRY */
.v-entry {
  border-bottom: 1px solid var(--border);
  transition: opacity .35s cubic-bezier(.4, 0, .2, 1);
  opacity: 1;
}

.v-entry[closing] {
  opacity: 0;
}

.v-entry:last-of-type {
  border-bottom: none
}

/* Animação para abertura/fechamento do changelog */
details.v-entry {
  transition: opacity .35s cubic-bezier(.4, 0, .2, 1);
  opacity: 1;
}

details.v-entry[closing] {
  opacity: 0;
}

.v-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  cursor: pointer;
  gap: 16px;
  list-style: none;
}

.v-trigger::-webkit-details-marker {
  display: none
}

.v-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap
}

.v-number {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
  min-width: 36px
}

.v-badge-latest {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 5px;
  background: var(--blue);
  color: #fff;
  letter-spacing: .3px;
  text-transform: uppercase
}

.v-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap
}

.vtag {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 5px;
  letter-spacing: .2px
}

.vtag-new {
  background: #e8f0fe;
  color: var(--blue-dark)
}

.vtag-content {
  background: #e6f4ea;
  color: #1a7f3c
}

.vtag-security {
  background: #ede7f6;
  color: #5e35b1
}

.vtag-media {
  background: #e0f7fa;
  color: #00838f
}

.vtag-launch {
  background: #fce8e6;
  color: #c5221f
}

.vtag-plan {
  background: #fff8e1;
  color: #c75000
}

.v-date {
  font-size: 13px;
  color: var(--text-hint)
}

.v-chevron {
  font-size: 18px;
  color: var(--text-hint);
  transition: transform .25s cubic-bezier(.4, 0, .2, 1);
  flex-shrink: 0;
  font-family: 'Material Symbols Rounded'
}

details[open]>summary .v-chevron {
  transform: rotate(180deg)
}

/* BODY */
.v-body {
  padding: 0 0 24px
}

.change-group {
  margin-bottom: 20px
}

.change-group:last-child {
  margin-bottom: 0
}

.cg-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--text-hint);
  margin-bottom: 10px
}

.cg-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px
}

.cg-list li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.cg-list li::before {
  content: '—';
  color: var(--text-hint);
  font-weight: 300;
  position: absolute;
  left: 0;
  top: 0;
}

/* NOTE */
.note-box {
  margin-top: 48px;
  padding: 22px 24px;
  background: #f8f9fa;
  border: 1px solid var(--border);
  border-radius: var(--radius)
}

.note-box p {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.75
}

/* FOOTER (ajustes para changelog) */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 28px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  text-align: center
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-hint)
}

.pe-badge-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), #00BCD4);
  display: flex;
  align-items: center;
  justify-content: center
}

.footer-links {
  display: flex;
  flex-direction: row;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 8px;
  width: 100%
}

.footer-links a {
  font-size: 13px;
  color: var(--text-hint);
  text-decoration: none;
  transition: var(--transition)
}

.footer-links a:hover {
  color: var(--blue-dark)
}

/* Google Cloud badge (rodapé) */
.google-badge {
  display: flex;
  flex-direction: row;
  align-items: center;
  text-align: left;
  font-family: 'Google Sans', sans-serif;
  font-size: 13px;
  color: #5f6368;
  gap: 8px;
  opacity: 0.95;
  transition: opacity 0.2s ease;
}

.google-badge:hover {
  opacity: 1;
}

.google-badge img {
  width: 20px;
  height: 20px;
  display: inline-block;
}

.google-badge .g-label {
  font-weight: 500;
  color: #5f6368;
}

.google-badge .g-name {
  font-weight: 700;
  color: #5f6368;
  font-size: 16px;
  text-decoration: none;
  display: inline-block
}

.g-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* removed .g-link (name is now the link) */

/* Mobile: manter tudo em uma linha e poupar espaço */
@media (max-width: 480px) {

  /* Mobile: empilha e mostra o texto acima do logo */
  .google-badge {
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    text-align: center;
  }

  .google-badge img {
    width: 22px;
    height: 22px;
  }

  /* Mostrar label em cima e, na linha seguinte, logo ao lado do nome */
  .g-row {
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }

  .google-badge .g-name {
    display: inline-block;
    font-size: 16px;
    color: #5f6368;
    font-weight: 700
  }

  .google-badge .g-label {
    color: #5f6368;
    font-weight: 600
  }
}


@media(max-width:620px) {
  .topbar {
    padding: 0 16px
  }

  .page-wrap {
    padding: 0 16px 60px
  }

  .page-header {
    padding: 44px 0 32px
  }

  .page-header h1 {
    font-size: 28px
  }

  .footer {
    padding: 24px 20px;
    flex-direction: column;
    align-items: flex-start
  }
}

/* =============================
   CSS RESPONSIVO (Mobile)
============================= */
@media (max-width: 700px) {
  .grid-3 {
    row-gap: 0 !important;
  }
}

@media (max-width: 700px) {
  #security-toggle {
    margin-top: 0 !important;
  }

  #security-extra-wrapper .grid-2 {
    padding-top: 0 !important;
  }
}

@media (max-width: 700px) {
  .card {
    margin-bottom: 18px !important;
  }
}

@media (max-width: 700px) {
  .grid-2 {
    display: block !important;
    flex-direction: unset !important;
    grid-template-columns: unset !important;
    gap: 0 !important;
  }

  .steps-card {
    width: 100% !important;
    margin-bottom: 18px !important;
    float: none !important;
    display: block !important;
    flex: unset !important;
    grid-column: unset !important;
  }

  .grid-2>.steps-card {
    margin-right: 0 !important;
  }
}

@media (max-width: 700px) {
  .grid-2 {
    display: block !important;
  }

  .steps-card {
    width: 100% !important;
    margin-bottom: 18px !important;
    float: none !important;
    display: block !important;
  }

  .grid-2>.steps-card {
    margin-right: 0 !important;
  }
}

/* =============================
   Styles movidos de 404.html (escopados a .page-404)
============================= */
.page-404 .navbar {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}

.page-404 .navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none
}

.page-404 .navbar-logo {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #1a73e8, #00BCD4);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center
}

.page-404 .navbar-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary)
}

.page-404 .navbar-back {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  color: var(--blue-dark);
  text-decoration: none;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 20px;
  transition: var(--transition)
}

.page-404 .navbar-back:hover {
  background: var(--blue-light)
}

.page-404 main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px
}

.page-404 .error-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 56px 48px;
  max-width: 560px;
  width: 100%;
  text-align: center;
  box-shadow: 0 4px 24px rgba(60, 64, 67, .1);
  animation: fadeUp .5s cubic-bezier(.2, 0, 0, 1) forwards
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

.page-404 .error-number {
  font-size: 96px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -4px
}

.page-404 .error-number span:nth-child(1) {
  color: #4285F4
}

.page-404 .error-number span:nth-child(2) {
  color: #EA4335
}

.page-404 .error-number span:nth-child(3) {
  color: #FBBC04
}

.page-404 .error-icon {
  width: 72px;
  height: 72px;
  background: #fce8e6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px
}

.page-404 .error-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px
}

.page-404 .error-desc {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px
}

.page-404 .error-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap
}

.page-404 .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(90deg, #3186FF, #346BF0, #4EA0FF, #3186FF);
  background-size: 200% 100%;
  background-position: left center;
  color: #fff;
  padding: 12px 24px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: 'Google Sans', sans-serif;
  transition: background-position .35s ease, transform .2s ease, box-shadow .2s ease;
}

.page-404 .btn-primary:hover {
  background-position: right center;
  box-shadow: 0 6px 20px rgba(66, 133, 244, .45);
  transform: translateY(-2px);
}

.page-404 .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--blue-dark);
  padding: 12px 24px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid var(--border);
  cursor: pointer;
  font-family: 'Google Sans', sans-serif;
  transition: var(--transition)
}

.page-404 .btn-secondary:hover {
  background: var(--blue-light);
  border-color: var(--blue-dark)
}

.page-404 .suggestions {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border)
}

.page-404 .suggestions-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-hint);
  text-transform: uppercase;
  letter-spacing: .6px;
  margin-bottom: 16px
}

.page-404 .suggestions-list {
  display: flex;
  flex-direction: column;
  gap: 8px
}

.page-404 .suggestion-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--text-primary);
  border: 1px solid var(--border);
  background: #fff;
  transition: var(--transition);
  text-align: left
}

.page-404 .suggestion-item:hover {
  border-color: var(--blue-dark);
  background: var(--blue-light);
  color: var(--blue-dark)
}

.page-404 .suggestion-item .material-symbols-rounded {
  font-size: 18px;
  color: var(--blue-dark);
  flex-shrink: 0
}

.page-404 .suggestion-item span:last-child {
  font-size: 13.5px;
  font-weight: 500
}

/* Two-column layout for desktop only */
.error-grid {
  display: block;
}

.error-left,
.error-right {
  width: 100%;
}

@media (min-width: 900px) {
  .page-404 .error-card {
    max-width: calc(100% - 160px);
    text-align: left;
  }

  .error-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 32px;
    align-items: start;
  }

  .error-left {
    padding-right: 8px;
  }

  .error-right {
    padding-left: 8px;
  }

  .error-card .error-title {
    font-size: 40px;
  }

  .error-card .error-desc {
    font-size: 16px;
  }

  /* Right column visual adjustment */
  .page-404 .suggestions {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
  }

  .page-404 .suggestions .suggestions-title {
    margin-bottom: 12px;
  }

  /* Align action buttons to the left on desktop */
  .error-left .error-actions {
    justify-content: flex-start;
  }
}

/* gradient bar used in 404 header: centered on mobile, left-aligned on desktop */
.gradient-bar {
  width: 185px;
  height: 4px;
  background: linear-gradient(89.58deg, #3186FF .28%, #346BF0 44.45%, #4EA0FF 99.55%);
  border-radius: 2px;
  margin: 12px auto 0;
  /* centered by default (mobile) */
}

@media (min-width: 900px) {
  .error-left .gradient-bar {
    margin: 12px 0 0 0;
    /* left-aligned on desktop */
  }
}

.page-404 footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 24px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px
}

.page-404 .footer-brand {
  font-size: 12px;
  color: var(--text-hint)
}

.page-404 .footer-brand a {
  color: var(--blue-dark);
  font-weight: 700;
  text-decoration: none
}

.page-404 .footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap
}

.page-404 .footer-links a {
  font-size: 13px;
  color: var(--text-hint);
  text-decoration: none;
  transition: var(--transition)
}

.page-404 .footer-links a:hover {
  color: var(--blue-dark)
}

@media (max-width: 600px) {
  .page-404 .error-card {
    padding: 40px 24px
  }

  .page-404 .error-number {
    font-size: 72px
  }

  .page-404 .error-title {
    font-size: 18px
  }

  .page-404 footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 24px
  }

  .page-404 .footer-links {
    justify-content: center
  }

  .page-404 .navbar {
    padding: 0 16px
  }
}

@media (max-width: 700px) {
  .grid-2 {
    display: block !important;
  }

  .steps-card {
    width: 100% !important;
    margin-bottom: 18px !important;
  }
}

@media (max-width: 600px) {
  #feedback-modal {
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) scale(1) !important;
    margin: 0 !important;
    width: 96vw !important;
    min-width: 0 !important;
    max-width: 96vw !important;
    border-radius: 24px !important;
    bottom: auto !important;
    right: auto !important;
  }

  /* Mobile: painel de feedback em TELA CHEIA e botão Enviar fixo */
  #feedback-panel {
    position: fixed !important;
    left: 0 !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100dvh !important;
    max-width: 100vw !important;
    max-height: 100dvh !important;
    border-radius: 0 !important;
    /* transform controlled by JS for smooth open/close */
    overflow: hidden !important;
    box-shadow: none !important;
    background-clip: border-box !important;
    padding-bottom: env(safe-area-inset-bottom, 12px) !important;
    z-index: 1200 !important;
  }

  /* Conteúdo rolável que fica entre header e botão */
  #feedback-panel>div[style*="overflow-y:auto"] {
    -webkit-overflow-scrolling: touch;
    overflow-y: auto !important;
    max-height: calc(100dvh - 92px) !important;
    /* header + espaçamento */
    padding: 24px !important;
    box-sizing: border-box !important;
  }

/* Empty state: centralizar mensagens do blog */
.blog-empty-centered{
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  color: var(--text-hint);
  text-align: center;
  width: 100%;
  min-height: 120px;
  grid-column: 1 / -1;
}

  /* Botão Enviar fixo na base da tela (sempre visível acima do teclado) */
  #fb-send-btn {
    position: fixed !important;
    left: 12px !important;
    right: 12px !important;
    bottom: calc(env(safe-area-inset-bottom, 12px) + 12px) !important;
    z-index: 1100 !important;
    width: calc(100% - 24px) !important;
    border-radius: 24px !important;
  }

  /* Espaçamento extra para a nota de privacidade, evitando sobreposição com o botão Enviar */
  #fb-privacy {
    margin-bottom: 60px !important;
  }

  /* Garantir que o backdrop do feedback cubra o botão do chat */
  #feedback-overlay {
    z-index: 1190 !important;
  }
}

/* =============================
   FEEDBACK: transições suaves para abertura/fechamento
   Tornar a abertura no celular mais suave (deslizar + fade)
============================= */
#feedback-overlay {
  display: none;
  /* controlado via JS */
  align-items: center;
  justify-content: center;
  background: rgba(32, 33, 36, .25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity .36s cubic-bezier(.2, 0, .2, 1);
}

/* Quando o modal de feedback está aberto evita scroll e salto de layout */
.fb-open {
  overflow: hidden;
}

/* estado fechado por padrão: transform/opacity são inicializados via JS para permitir transições suaves */
#feedback-panel {
  transform: translateX(100%);
  opacity: 0;
  transition: transform .46s cubic-bezier(.22, 1, .36, 1), opacity .28s ease;
  will-change: transform, opacity;
}

@media (max-width: 600px) {

  /* no celular, usamos slide vertical sutil + fade para parecer mais natural */
  #feedback-panel {
    transform: translateY(6%);
    opacity: 0;
    transition: transform .42s cubic-bezier(.22, 1, .36, 1), opacity .28s ease;
  }
}

@media (min-width: 601px) {
  #feedback-modal {
    right: 28px !important;
    left: auto !important;
    margin: 0 !important;
    bottom: 92px !important;
    transform: translateY(16px) scale(.97) !important;
  }
}

@media (max-width: 600px) {
  .footer-google-aviso {
    display: block;
    white-space: pre-line;
  }
}


/* =============================
   GRADIENTES, GLASSMORPHISM E ANIMAÇÕES
   Origem: <style> no <head> index.html
============================= */
.gradient-text {
  background: linear-gradient(89.58deg, #3186FF .28%, #346BF0 44.45%, #4EA0FF 99.55%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.hero-card-glass {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  border-radius: var(--radius);
}

.hero-card-gradients {
  width: 100%;
  height: 100%;
  filter: blur(40px);
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  border-radius: var(--radius);
}

.hero-g-circle {
  position: absolute;
  mix-blend-mode: screen;
  width: 70%;
  height: 70%;
  opacity: 0.85;
  border-radius: 50%;
}

.hero-g1 {
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.35) 0, rgba(255, 255, 255, 0) 60%);
  top: -15%;
  left: -10%;
  animation: moveAround 18s ease-in-out infinite;
}

.hero-g2 {
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.35) 0, rgba(255, 255, 255, 0) 60%);
  bottom: -20%;
  right: -10%;
  animation: moveAround 15s ease-in-out infinite reverse;
}

.hero-g3 {
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.35) 0, rgba(255, 255, 255, 0) 60%);
  top: 30%;
  left: 30%;
  animation: moveRandom 22s ease-in-out infinite;
}

.hero-g4 {
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.35) 0, rgba(255, 255, 255, 0) 60%);
  bottom: 10%;
  left: 10%;
  animation: moveAround 12s ease-in-out infinite;
}

.hero-g5 {
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.35) 0, rgba(255, 255, 255, 0) 60%);
  top: 60%;
  right: 10%;
  animation: moveRandom 19s ease-in-out infinite reverse;
}

@keyframes moveAround {
  0% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }

  50% {
    transform: translate(20%, 10%) rotate(180deg) scale(1.2);
  }

  100% {
    transform: translate(0, 0) rotate(360deg) scale(1);
  }
}

@keyframes moveRandom {
  0% {
    transform: translate(-10%, -10%) scale(1);
  }

  50% {
    transform: translate(15%, 20%) scale(1.1);
  }

  100% {
    transform: translate(-10%, -10%) scale(1);
  }
}

.topbar-logo .material-symbols-rounded {
  font-size: 28px !important;
  background: linear-gradient(89.58deg, #3186FF .28%, #346BF0 44.45%, #4EA0FF 99.55%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  margin-right: 10px;
  display: inline-flex;
  align-items: center;
  animation: hub-gradient-move 7.5s linear infinite;
}

/* Prevent image selection, dragging and touch callout (long-press) */
img,
.no-select {
  user-select: none;
  -webkit-user-drag: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

img {
  -webkit-touch-callout: none;
  /* iOS: disable image menu on long press */
}

@keyframes hub-gradient-move {
  0% {
    background-position: 0% 0%;
  }

  100% {
    background-position: 100% 0%;
  }
}

.hero-card-gradients--custom {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  filter: blur(40px);
}

.hero-g-circle--custom {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
}

.hero-g1--custom {
  background: radial-gradient(circle at center, rgba(252, 65, 61, 0.8) 0, rgba(252, 65, 61, 0) 60%);
  width: 80vw;
  height: 80vw;
  top: -15%;
  left: -10%;
  animation: path1-c 8s ease-in-out infinite;
}

.hero-g2--custom {
  background: radial-gradient(circle at center, rgba(49, 134, 255, 0.8) 0, rgba(49, 134, 255, 0) 60%);
  width: 60vw;
  height: 60vw;
  bottom: -20%;
  right: -10%;
  animation: path2-c 10s ease-in-out infinite;
}

.hero-g3--custom {
  background: radial-gradient(circle at center, rgba(0, 185, 92, 0.8) 0, rgba(0, 185, 92, 0) 60%);
  width: 100vw;
  height: 100vw;
  top: 20%;
  left: 20%;
  animation: path3-c 12s ease-in-out infinite;
}

.hero-g4--custom {
  background: radial-gradient(circle at center, rgba(255, 228, 50, 0.8) 0, rgba(255, 228, 50, 0) 60%);
  width: 50vw;
  height: 50vw;
  bottom: 10%;
  left: 10%;
  animation: path4-c 7s ease-in-out infinite;
}

.hero-g5--custom {
  background: radial-gradient(circle at center, rgba(116, 155, 255, 0.8) 0, rgba(116, 155, 255, 0) 60%);
  width: 75vw;
  height: 75vw;
  top: 60%;
  right: 10%;
  animation: path5-c 9s ease-in-out infinite;
}

.hero-g6--custom {
  background: radial-gradient(circle at center, rgba(251, 188, 4, 0.8) 0, rgba(251, 188, 4, 0) 60%);
  width: 65vw;
  height: 65vw;
  top: 10%;
  right: 20%;
  animation: path6-c 11s ease-in-out infinite;
}

.hero-g7--custom {
  background: radial-gradient(circle at center, rgba(255, 238, 72, 0.8) 0, rgba(255, 238, 72, 0) 60%);
  width: 45vw;
  height: 45vw;
  bottom: 30%;
  left: 40%;
  animation: path7-c 8.5s ease-in-out infinite;
}

@keyframes path1-c {
  0% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(30%, 20%) scale(1.2);
  }

  66% {
    transform: translate(10%, 40%) scale(0.8);
  }

  100% {
    transform: translate(0, 0) scale(1);
  }
}

@keyframes path2-c {
  0% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(-30%, -40%) scale(1.3);
  }

  66% {
    transform: translate(-50%, 10%) scale(0.9);
  }

  100% {
    transform: translate(0, 0) scale(1);
  }
}

@keyframes path3-c {
  0% {
    transform: translate(0, 0) scale(1);
  }

  25% {
    transform: translate(-40%, -30%) scale(1.1);
  }

  50% {
    transform: translate(-10%, 40%) scale(0.9);
  }

  75% {
    transform: translate(30%, 20%) scale(1.2);
  }

  100% {
    transform: translate(0, 0) scale(1);
  }
}

@keyframes path4-c {
  0% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(50%, -50%) scale(1.2);
  }

  66% {
    transform: translate(20%, -30%) scale(0.8);
  }

  100% {
    transform: translate(0, 0) scale(1);
  }
}

@keyframes path5-c {
  0% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(-50%, -40%) scale(0.8);
  }

  66% {
    transform: translate(-20%, -60%) scale(1.1);
  }

  100% {
    transform: translate(0, 0) scale(1);
  }
}

@keyframes path6-c {
  0% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(-20%, 30%) scale(1.1);
  }

  66% {
    transform: translate(40%, -10%) scale(0.9);
  }

  100% {
    transform: translate(0, 0) scale(1);
  }
}

@keyframes path7-c {
  0% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(30%, 40%) scale(1.2);
  }

  66% {
    transform: translate(-30%, 20%) scale(0.8);
  }

  100% {
    transform: translate(0, 0) scale(1);
  }
}


/* =============================
   VARIÁVEIS E RESET
============================= */
:root {
  --blue: #4285F4;
  --blue-dark: #1a73e8;
  --blue-light: #e8f0fe;
  --red: #EA4335;
  --yellow: #FBBC04;
  --green: #34A853;
  --cyan: #00BCD4;
  --lilac: #7C4DFF;
  --text-primary: #202124;
  --text-secondary: #5f6368;
  --text-hint: #80868b;
  --surface: #ffffff;
  --surface-2: #f8f9fa;
  --border: #dadce0;
  --shadow-sm: 0 1px 3px rgba(60, 64, 67, .15), 0 1px 2px rgba(60, 64, 67, .12);
  --shadow-md: 0 2px 8px rgba(60, 64, 67, .15), 0 1px 3px rgba(60, 64, 67, .12);
  --shadow-lg: 0 4px 16px rgba(60, 64, 67, .15), 0 2px 6px rgba(60, 64, 67, .12);
  --shadow-hover: 0 8px 28px rgba(66, 133, 244, .18), 0 3px 10px rgba(60, 64, 67, .14);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --transition: all .25s cubic-bezier(.4, 0, .2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Google Sans', sans-serif;
  background: linear-gradient(160deg, #f0f4ff 0%, #f8f9fa 40%, #ffffff 100%);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  -ms-overflow-style: auto;
  /* IE and Edge: show default scrollbar */
  scrollbar-width: auto;
  /* Firefox: show default scrollbar */
}

/* Keep native scrollbar visible but hide the up/down buttons (setinhas) */
body::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

body::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}

body::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.12);
  border-radius: 8px;
}

/* Popup de aviso (alert) */
/* Popup de aviso */
#fb-popup-overlay {
  display: none;
}

#fb-popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1400;
  align-items: center;
  justify-content: center
}

#fb-popup {
  display: none;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1401;
  background: #fff;
  border-radius: 12px;
  max-width: 92vw;
  width: 340px;
  padding: 18px;
  box-shadow: 0 16px 48px rgba(20, 30, 60, .28);
  font-family: 'Google Sans', sans-serif
}

#fb-popup[role="alertdialog"] {
  -webkit-tap-highlight-color: transparent;
}

#fb-popup {
  border: 1px solid rgba(234, 67, 53, 0.08);
}

#fb-popup .material-symbols-rounded {
  flex-shrink: 0
}

#fb-popup {
  animation: fbPopupIn .18s ease both;
}

#fb-popup[data-hidden="true"] {
  display: none !important;
}

@keyframes fbPopupIn {
  from {
    transform: translate(-50%, -46%) scale(.98);
    opacity: 0
  }

  to {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1
  }
}

/* cores de erro para o popup */
#fb-popup {
  --fb-error: #EA4335;
  --fb-error-light: rgba(234, 67, 53, 0.12);
}

/* layout interno do popup */
.fb-popup-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 8px
}

.fb-popup-icon {
  font-size: 20px;
  color: var(--fb-error);
  margin-top: 2px
}

.fb-popup-text {
  color: var(--text-primary);
  font-size: 15px;
  line-height: 1.4
}

.fb-popup-bar-wrap {
  margin-top: 12px
}

.fb-popup-bar {
  height: 6px;
  border-radius: 6px;
  overflow: hidden
}

.fb-popup-bar-inner {
  height: 100%;
  border-radius: 6px;
  transition: width 2s linear
}

@media (max-width: 420px) {
  #fb-popup {
    width: 88vw !important;
    padding: 14px !important;
  }
}

/* Barra de progresso em vermelho */
#fb-popup-bar {
  background: var(--fb-error-light);
}

#fb-popup-bar-inner {
  background: var(--fb-error);
}

/* =============================
   BANNERS, BADGES, TOPBAR, HERO, CARDS, GRID, ETC
============================= */
/* ─── DISCLAIMER BANNER ─── */
.disclaimer-banner {
  background: #fff8e1;
  border-bottom: 2px solid #f9a825;
  padding: 11px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
  color: #5f4100;
  font-weight: 500;
  text-align: center;
  flex-wrap: wrap;
  line-height: 1.5;
  position: relative;
  z-index: 101;
}

.disclaimer-banner .material-symbols-rounded {
  font-size: 18px;
  color: #f9a825;
  flex-shrink: 0;
}

.material-symbols-rounded {
  user-select: none;
}

.disclaimer-banner strong {
  font-weight: 800;
  color: #c75000;
}

.disclaimer-banner a {
  color: #1a73e8;
  font-weight: 700;
  text-decoration: none;
}

.disclaimer-banner a:hover {
  text-decoration: underline;
}

/* ─── PRODUCT EXPERT BADGE ─── */
.pe-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  background: linear-gradient(90deg,
      #3186FF 0%,
      #346BF0 35%,
      #4EA0FF 65%,
      #3186FF 100%);

  background-size: 300% 100%;
  background-position: 0% 0%;

  border-radius: 14px;
  padding: 10px 18px;
  margin-bottom: 18px;

  box-shadow: 0 4px 16px rgba(30, 40, 100, .2);

  text-decoration: none;
  cursor: default;

  transition:
    background-position .45s ease,
    transform .2s ease,
    box-shadow .2s ease;
}

.pe-badge:hover {
  background-position: 100% 0%;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30, 40, 100, .28);
}

.pe-badge-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pe-badge-icon .material-symbols-rounded {
  font-size: 18px;
  color: #fff;
}

.pe-badge-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.pe-badge-text strong {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  letter-spacing: .1px;
}

.pe-badge-text span {
  font-size: 11px;
  color: rgba(255, 255, 255, .6);
  font-weight: 400;
}

/* ─── TOPBAR ─── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(18px) saturate(1.6);
  border-bottom: 1px solid var(--border);
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  box-shadow: 0 1px 0 rgba(60, 64, 67, .08);
}

.topbar-brand {
  display: flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
}

.topbar-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.topbar-logo span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.dot-b {
  background: var(--blue);
}

.dot-r {
  background: var(--red);
}

.dot-y {
  background: var(--yellow);
}

.dot-g {
  background: var(--green);
}

.topbar-label {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -.3px;
}

.topbar-label span {
  color: var(--blue);
  font-weight: 700;
}

.topbar-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.topbar-nav a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--blue-dark);
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 20px;
  transition: var(--transition);
}

.topbar-nav a:hover {
  background: var(--blue-light);
  color: var(--blue-dark);
}


.topbar-cta {
  background: linear-gradient(90deg,
      #3186FF,
      #346BF0,
      #4EA0FF,
      #3186FF) !important;

  background-size: 200% 100% !important;
  background-position: 0% 0% !important;

  color: #fff !important;
  border-radius: 20px !important;
  padding: 8px 18px !important;

  font-weight: 600 !important;
  white-space: nowrap !important;
  min-width: 140px !important;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;

  box-shadow: 0 2px 8px rgba(66, 133, 244, .35);

  transition:
    background-position .45s ease,
    box-shadow .2s ease,
    transform .2s ease;
}

.topbar-cta:hover {
  background-position: 200% 0% !important;
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(66, 133, 244, .45) !important;
  transform: translateY(-1px);
}


/* =============================
   HERO, CONTAINER, SECTION, GRID
============================= */
.hero {
  padding: 56px 40px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Garantir que o conteúdo da hero fique acima das gradientes customizadas */
.hero>*:not(.hero-card-gradients--custom) {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--blue-light);
  color: var(--blue-dark);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 22px;
  letter-spacing: .2px;
}

.hero-title {
  font-family: 'Google Sans Display', sans-serif;
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 700;
  line-height: 1.12;
  color: var(--text-primary);
  letter-spacing: -1.2px;
  margin-bottom: 18px;
}

.hero-title em {
  font-style: normal;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 15px;
  line-height: 1.7;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;

  padding: 14px 28px;
  border-radius: 28px;

  background: linear-gradient(90deg,
      #3186FF,
      #346BF0,
      #4EA0FF,
      #3186FF);

  background-size: 200% 100%;
  background-position: left;

  box-shadow: 0 3px 12px rgba(66, 133, 244, .4);

  transition:
    background-position .45s ease,
    box-shadow .2s ease;
}

.btn-primary:hover {
  background-position: right;
  box-shadow: 0 6px 20px rgba(66, 133, 244, .5);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  color: var(--blue-dark);
  text-decoration: none;
  padding: 13px 26px;
  border-radius: 28px;
  font-size: 15px;
  font-weight: 600;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.btn-secondary:hover {
  background: var(--blue-light);
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px 0;
}

.section {
  margin-bottom: 64px;
  scroll-margin-top: 80px;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.section-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 22px;
}

.icon-blue {
  background: linear-gradient(135deg, #e8f0fe, #c7d9fd);
  color: var(--blue-dark);
}

.icon-green {
  background: linear-gradient(135deg, #e6f4ea, #ceead6);
  color: #1e8e3e;
}

.icon-red {
  background: linear-gradient(135deg, #fce8e6, #fad2cf);
  color: #c5221f;
}

.icon-yellow {
  background: linear-gradient(135deg, #fef7e0, #fde293);
  color: #b06000;
}

.icon-cyan {
  background: linear-gradient(135deg, #e0f7fa, #b2ebf2);
  color: #007c8a;
}

.icon-lilac {
  background: linear-gradient(135deg, #ede7f6, #d1c4e9);
  color: #5e35b1;
}

.section-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -.4px;
}

.section-desc {
  font-size: 14px;
  color: var(--text-hint);
  margin-top: 2px;
  font-weight: 400;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.grid-video {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* =============================
   CARD, HERO CARD, VIDEO CARD, STEPS CARD, ALERT CARD
   ============================= */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  opacity: 0;
  transition: opacity .3s;
  background: linear-gradient(135deg, rgba(66, 133, 244, .04) 0%, transparent 60%);
  pointer-events: none;
}

.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px) scale(1.005);
  border-color: rgba(66, 133, 244, .3);
}

.card:hover::after {
  opacity: 1;
}

.card-link {
  text-decoration: none;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  cursor: pointer;
}

.card-link .card-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  transition: var(--transition);
}

.card:hover .card-icon {
  transform: scale(1.08) rotate(-3deg);
}

.card-link h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
  line-height: 1.4;
}

.card-link p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  font-weight: 400;
}

.card-arrow {
  margin-left: auto;
  color: var(--text-hint);
  font-size: 20px;
  align-self: center;
  transition: var(--transition);
  flex-shrink: 0;
}

.card:hover .card-arrow {
  color: var(--blue);
  transform: translateX(3px);
}

.hero-card {
  position: relative;
  background: linear-gradient(89.58deg, #3186FF .28%, #346BF0 44.45%, #4EA0FF 99.55%);
  border: none;
  border-radius: var(--radius);
  padding: 36px 40px;
  box-shadow: 0 6px 30px rgba(66, 133, 244, .35);
  color: #fff;
  position: relative;
  overflow: hidden;
  margin-bottom: 28px;
  transition: var(--transition);
}

.hero-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 40px rgba(66, 133, 244, .45);
}

.hero-card::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 240px;
  height: 240px;
  background: rgba(255, 255, 255, .08);
  border-radius: 50%;
}

.hero-card::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: 20%;
  width: 180px;
  height: 180px;
  background: rgba(255, 255, 255, .05);
  border-radius: 50%;
}

.hero-card-content {
  position: relative;
  z-index: 1;
}

.hero-card-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: .8;
  margin-bottom: 10px;
}

.hero-card-title {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.25;
  letter-spacing: -.4px;
}

.hero-card-desc {
  font-size: 15px;
  opacity: .88;
  margin-bottom: 24px;
  max-width: 500px;
  line-height: 1.65;
}

.hero-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .18);
  border: 1.5px solid rgba(255, 255, 255, .4);
  color: #fff;
  text-decoration: none;
  padding: 11px 22px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
  backdrop-filter: blur(8px);
}

.hero-card-btn:hover {
  background: rgba(255, 255, 255, .3);
  border-color: rgba(255, 255, 255, .7);
  transform: scale(1.02);
}

/* GARANTE alinhamento vertical */
.hero-card-btn .btn-content {
  display: flex;
  align-items: center;
  gap: 6px;
}

@media (max-width: 600px) {

  .hero-card-btn {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* Esconde apenas "Acessar" */
  .hero-card-btn .btn-content .btn-text-bold {
    display: none !important;
  }

  .hero-card-btn .btn-text-light {
    font-size: 14px !important;
    white-space: nowrap !important;
  }

  .material-symbols-rounded {
    font-size: 18px;
  }
}

.video-card {
  background: var(--surface);
  border: none;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.video-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.video-wrapper {
  position: relative;
  padding-top: 56.25%;
  overflow: hidden;
  background: #000;
  transition: var(--transition);
}

.video-card:hover .video-wrapper {
  transform: scale(1.01);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-info {
  padding: 18px 20px;
}

.video-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--blue-light);
  color: var(--blue-dark);
  border-radius: 10px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 8px;
}

.video-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.45;
  margin-bottom: 6px;
}

.video-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.steps-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
}

.step {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid #f1f3f4;
  align-items: flex-start;
  transition: var(--transition);
}

.step:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.step:first-child {
  padding-top: 0;
}

.step:hover {
  background: transparent;
}

.step:hover .step-num {
  transform: scale(1.1);
}

.step-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(66, 133, 244, .35);
}

.step-body h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.step-body p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.step-body a {
  color: var(--blue-dark);
  font-weight: 500;
  text-decoration: none;
}

.step-body a:hover {
  text-decoration: underline;
}

.alert-card {
  background: linear-gradient(135deg, #f2f5fa, #eaf1fb);
  border: 1px solid #c2dbfa;
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(251, 188, 4, .12);
}

.alert-card .material-symbols-rounded {
  color: #b06000;
  font-size: 22px;
  margin-top: 1px;
  flex-shrink: 0;
}

.alert-card-text h4 {
  font-size: 14px;
  font-weight: 700;
  color: #7a4600;
  margin-bottom: 4px;
}

.alert-card-text p {
  font-size: 13px;
  color: #7a4600;
  line-height: 1.6;
  opacity: .85;
}

/* =============================
   TOOLTIP, CHIP TAGS, INFO PILL, DIVIDER, FOOTER, BADGE FLOATING, RESPONSIVE, SCROLL REVEAL, PULSE DOT, TABS, WORKSPACE CARD, SCROLLBAR DO CHAT
============================= */
[data-tip] {
  position: relative;
}

[data-tip]::before {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 18px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #202124;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  padding: 7px 13px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s, transform .18s;
  z-index: 1200;
  font-family: 'Google Sans', sans-serif;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .28);
}

[data-tip]:hover::before {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

[data-chat-tip] {
  position: relative;
}

[data-chat-tip]::before {
  content: attr(data-chat-tip);
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: #202124;
  color: #fff;
  font-size: 12px;
  font-family: 'Google Sans Text', sans-serif;
  font-weight: 500;
  padding: 7px 13px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s, transform .2s;
  z-index: 9999;
}

[data-chat-tip]:hover::before,
[data-chat-tip]:focus::before {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f1f3f4;
  color: var(--text-secondary);
  border-radius: 14px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 500;
  transition: var(--transition);
  cursor: default;
}

.chip:hover {
  background: var(--blue-light);
  color: var(--blue-dark);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.info-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: var(--transition);
}

.info-pill:hover {
  border-color: var(--blue);
  background: var(--blue-light);
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}

.info-pill .material-symbols-rounded {
  font-size: 20px;
  color: var(--blue);
}

.info-pill-text {
  flex: 1;
}

.info-pill-text h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1px;
}

.info-pill-text p {
  font-size: 12px;
  color: var(--text-hint);
}

.info-pill .arrow {
  font-size: 18px;
  color: var(--text-hint);
  transition: var(--transition);
}

.info-pill:hover .arrow {
  color: var(--blue);
  transform: translateX(2px);
}

.pills-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.grid-2>.pills-list {
  margin-bottom: 0;
}

@media (max-width: 700px) {

  /* Quando `.grid-2` vira bloco no mobile, garantir espaçamento entre as listas */
  .grid-2>.pills-list {
    margin-bottom: 14px;
  }

  .grid-2>.pills-list:last-child {
    margin-bottom: 0;
  }
}

.divider {
  border: none;
  border-top: 1px solid #ebebeb;
  margin: 24px 0 24px 0;
}

.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-hint);
  font-weight: 400;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-hint);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--blue-dark);
}

.security-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #e6f4ea, #ceead6);
  border: 1px solid #81c995;
  border-radius: 12px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #1e7e34;
  margin-bottom: 24px;
}

.security-badge .material-symbols-rounded {
  font-size: 18px;
}

@media (max-width: 900px) {

  .grid-3,
  .grid-4,
  .grid-video {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    padding: 52px 24px 40px;
  }

  .topbar {
    padding: 0 20px;
  }

  .topbar-nav a:not(.topbar-cta) {
    display: none;
  }
}

@media (max-width: 620px) {

  .grid-2,
  .grid-3,
  .grid-4,
  .grid-video {
    grid-template-columns: 1fr;
  }

  .hero-card {
    padding: 26px 22px;
  }

  .topbar-label {
    font-size: 15px;
  }

  .container {
    padding: 0 16px 0px;
  }

  .hero {
    padding: 40px 16px 32px;
  }

  .footer-security-divider {
    display: none !important;
  }

  .footer-security {
    flex-direction: column;
    gap: 8px !important;
    align-items: center !important;
    text-align: center !important;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s ease, transform .5s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  margin-right: 4px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(52, 168, 83, .5);
  }

  70% {
    box-shadow: 0 0 0 6px rgba(52, 168, 83, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(52, 168, 83, 0);
  }
}

.tabs {
  display: flex;
  gap: 4px;
  background: #f1f3f4;
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 24px;
  width: fit-content;
}

.tab {
  padding: 8px 18px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-secondary);
  border: none;
  background: transparent;
  font-family: 'Google Sans', sans-serif;
}

.tab.active {
  background: var(--surface);
  color: var(--blue-dark);
  box-shadow: var(--shadow-sm);
}

.tab:hover:not(.active) {
  color: var(--text-primary);
}

.workspace-banner {
  background: linear-gradient(135deg, #1a1f36 0%, #2d3561 100%);
  border-radius: var(--radius);
  padding: 32px 36px;
  display: flex;
  align-items: center;
  gap: 28px;
  box-shadow: 0 6px 24px rgba(30, 40, 80, .22);
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.workspace-banner:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(30, 40, 80, .3);
}

.workspace-banner::after {
  content: '';
  position: absolute;
  right: -30px;
  top: -30px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(66, 133, 244, .18) 0%, transparent 70%);
}

.workspace-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
  flex-shrink: 0;
  backdrop-filter: blur(4px);
}

.workspace-text h3 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.workspace-text p {
  font-size: 14px;
  color: rgba(255, 255, 255, .7);
  line-height: 1.6;
  max-width: 500px;
}

.workspace-text .ws-link {
  color: #8ab4f8;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 10px;
}

.workspace-text .ws-link:hover {
  color: #fff;
}

@media (max-width: 600px) {

  .footer-brand,
  .footer-links {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}

* {
  -webkit-tap-highlight-color: transparent;
  -webkit-focus-ring-color: transparent;
  outline: none;
}

/* ====== Classes para estilos ====== */
.pe-badge-center {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.pe-badge-img {
  vertical-align: middle;
  display: inline-block;
  user-select: none;
}

.lock-reset-icon {
  font-size: 18px !important;
}

.open-in-new-icon {
  font-size: 18px !important;
}

.aviso-critico-google {
  background: linear-gradient(135deg, #f8f9ff, #eef2ff);
  border-radius: var(--radius);
  padding: 26px 30px;
  margin-bottom: 28px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  box-shadow: 0 6px 24px rgba(30, 20, 80, .08);
}

.aviso-critico-icon {
  color: #ff7043;
  font-size: 28px;
  flex-shrink: 0;
  margin-top: 2px;
}

.aviso-critico-titulo {
  font-size: 16px;
  font-weight: 800;
  color: #202124;
  margin-bottom: 10px;
  letter-spacing: -.2px;
}

.aviso-critico-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.aviso-critico-cancel {
  color: #ef5350;
  font-size: 16px;
  margin-top: 1px;
  flex-shrink: 0;
}

.aviso-critico-check {
  color: #66bb6a;
  font-size: 16px;
  margin-top: 1px;
  flex-shrink: 0;
}

.aviso-critico-desc {
  font-size: 14px;
  color: #202124;
  line-height: 1.65;
}

.obs-aviso-container {
  width: 100%;
  margin-bottom: 0;
}

.obs-aviso-btn {
  width: 100%;
  background: none;
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  outline: none;
  font-family: 'Google Sans', sans-serif;
  font-size: 15px;
  color: var(--text-primary);
  font-weight: 700;
}

.obs-aviso-info {
  color: #1967d2;
  font-size: 20px;
  flex-shrink: 0;
}

.obs-aviso-label {
  color: var(--text-primary);
  font-size: 15px;
  font-family: 'Google Sans', sans-serif;
  font-weight: 700;
  flex-grow: 1;
  text-align: left;
}

.obs-seta {
  margin-left: auto;
  color: #1967d2;
  font-size: 20px;
  transition: transform .3s cubic-bezier(.4, 0, .2, 1);
}

.obs-content {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .4s cubic-bezier(.4, 0, .2, 1), opacity .3s ease;
}

.obs-inner {
  padding: 0;
  font-size: 14px;
  color: #5f6368;
  line-height: 1.7;
}

.alert-card.obs-inline {
  background: #f2f5fa;
  border-radius: var(--radius);
  padding: 18px 22px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(30, 20, 80, .08);
  border: none;
}

.alert-card.obs-inline .material-symbols-rounded {
  color: #1967d2;
  font-size: 20px;
  margin-top: 0;
  flex-shrink: 0;
}

.alert-card.obs-inline .obs-aviso-btn {
  width: 100%;
  background: none;
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  outline: none;
  font-family: 'Google Sans', sans-serif;
  font-size: 15px;
  color: var(--text-primary);
  font-weight: 700;
}

.alert-card.obs-inline .obs-aviso-info,
.alert-card.obs-inline .obs-seta {
  color: #1967d2;
}

/* Classes para steps responsivo */
.steps-desktop {
  display: block !important;
}

.steps-mobile {
  display: none !important;
}

@media (max-width: 700px) {
  .steps-desktop {
    display: none !important;
  }

  .steps-mobile {
    display: block !important;
  }
}

/* ── CHAT COMPONENTES BASE ── */
.icon-btn {
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5f6368;
  transition: all 0.2s ease;
}

.icon-btn:hover {
  background: #f8f9fa;
  color: #202124;
}

.icon-btn.danger:hover {
  background: #fce8e6;
  color: #ea4335;
}

/* ── BOTÃO DE ABERTURA FLUTUANTE ── */
#chat-trigger {
  position: fixed;
  bottom: 0;
  right: 2.5rem;
  z-index: 998;
  background: #ffffff;
  border: 1px solid #dadce0;
  border-bottom: none;
  border-radius: 24px 24px 0 0;
  padding: 14px 24px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: background 0.2s;
}

#chat-trigger:hover {
  background: #f8f9fa;
}

.trigger-avatar {
  width: 48px;
  height: 48px;
  background: #e8f0fe;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trigger-title {
  font-size: 15px;
  font-weight: 600;
  color: #202124;
  line-height: 1.2;
  font-family: 'Google Sans', sans-serif;
}

.trigger-subtitle {
  font-size: 12px;
  color: #5f6368;
  margin-top: 2px;
  font-family: 'Google Sans', sans-serif;
}

.status-dot {
  width: 9px;
  height: 9px;
  background: #1a73e8;
  border-radius: 50%;
  animation: chatPulse 2s infinite;
  flex-shrink: 0;
}


@media (max-width: 600px) {
  #chat-trigger {
    width: 64px !important;
    height: 64px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    right: 1.25rem !important;
    bottom: 1.25rem !important;
    position: fixed !important;
    z-index: 1002 !important;
    display: inline-flex;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    border: 1px solid #dadce0 !important;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.14) !important;
    background: #ffffff !important;
    transition: transform 0.18s ease, background 0.18s !important;
    overflow: visible !important;
  }

  /* pulso atrás do botão */
  #chat-trigger::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: transparent;
    box-shadow: 0 0 0 0 rgba(26, 115, 232, 0.18);
    z-index: -1;
    animation: chatTriggerPulse 1.8s infinite ease-out;
  }

  @keyframes chatTriggerPulse {
    0% {
      box-shadow: 0 0 0 0 rgba(26, 115, 232, 0.18);
    }

    60% {
      box-shadow: 0 0 0 14px rgba(26, 115, 232, 0.035);
    }

    100% {
      box-shadow: 0 0 0 28px rgba(26, 115, 232, 0);
    }
  }

  #chat-trigger:hover {
    transform: translateY(-2px) !important;
  }

  #chat-trigger .trigger-title,
  #chat-trigger .trigger-subtitle {
    display: none !important;
  }

  #chat-trigger .trigger-avatar {
    width: 40px !important;
    height: 40px !important;
    background: transparent !important;
  }

  #chat-trigger .material-symbols-rounded {
    font-size: 40px !important;
    color: #1a73e8 !important;
  }

  /* ocultar o botão quando o chat estiver aberto em mobile (opcional) */
  body.chat-open-mobile #chat-trigger {
    display: none !important;
  }

}

/* ── PAINEL PRINCIPAL ── */
#chat-panel {
  position: fixed;
  bottom: -24px;
  right: 2.5rem;
  z-index: 1001;
  width: 450px;
  max-width: 100vw;
  height: 664px;
  max-height: calc(88vh + 24px);
  background: #ffffff;
  border-radius: 24px;
  box-shadow: -4px -4px 32px rgba(60, 64, 67, 0.16);
  border: 1px solid #dadce0;
  --drag-x: 0px;
  --drag-y: 0px;
  transform: translate(var(--drag-x), calc(100% + 48px));
  opacity: 0;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.2, 0, 0, 1);
}

#chat-panel.is-open {
  transform: translate(var(--drag-x), var(--drag-y));
  opacity: 1;
  pointer-events: auto;
}

#chat-panel.is-maximized {
  width: 100vw;
  height: 100vh;
  max-height: 100vh;
  right: 0;
  bottom: 0;
  border-radius: 0;
  border: none;
  box-shadow: none;
  transform: translate(0px, 0px) !important;
}

#chat-panel.is-maximized .chat-header {
  padding-left: 32px;
  padding-right: 32px;
}

/* ── CABEÇALHO ── */
.chat-header {
  background: #ffffff;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 5;
  cursor: grab;
  user-select: none;
  touch-action: none;
  flex-shrink: 0;
}

.chat-header:active {
  cursor: grabbing;
}

.header-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a73e8, #12b5cb);
  flex-shrink: 0;
  color: white;
}

.header-info {
  flex: 1;
  min-width: 0;
}

.header-title-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.header-title {
  font-size: 15.5px;
  font-weight: 600;
  color: #202124;
  font-family: 'Google Sans', sans-serif;
  white-space: nowrap;
}

.badge-beta {
  background: #e8f0fe;
  color: #174ea6;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
  letter-spacing: 0.3px;
  flex-shrink: 0;
}

.header-powered {
  font-size: 12px;
  color: #5f6368;
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: 'Google Sans', Arial, sans-serif;
}

.header-powered a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  color: #202124;
  font-weight: 500;
}

.header-powered a:hover {
  opacity: .9;
}

/* Manter mesma cor antes e depois de visitado */
.header-powered a,
.header-powered a:link,
.header-powered a:visited {
  color: #202124;
}

.header-powered a:visited {
  color: #202124 !important;
}



.header-actions {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}

/* ── MENSAGENS ── */

#chat-messages {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  scroll-behavior: smooth;
  position: relative;
}

#chat-messages::-webkit-scrollbar {
  width: 4px;
}

#chat-messages::-webkit-scrollbar-track {
  background: transparent;
}

#chat-messages::-webkit-scrollbar-thumb {
  background: #dadce0;
  border-radius: 10px;
}

#chat-messages::-webkit-scrollbar-button {
  display: none;
}

.msg-row {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  width: 100%;
  animation: msgEntrance .35s cubic-bezier(.2, 0, 0, 1) forwards;
}

.msg-row.user {
  flex-direction: row-reverse;
}

.msg-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 20px;
}

.msg-avatar.bot {
  background: #f8fafd;
  color: #4c4d50;
}

.msg-avatar.user {
  background: #e9eef6;
  color: #1a73e8;
}

.msg-body {
  display: flex;
  flex-direction: column;
  max-width: calc(100% - 42px);
}

.msg-row.user .msg-body {
  align-items: flex-end;
}

.msg-content {
  padding: 12px 16px;
  font-size: 14.5px;
  line-height: 1.55;
  border-radius: 18px;
  max-width: 320px;
  word-wrap: break-word;
  font-family: 'Google Sans Text', sans-serif;
}

.msg-content.bot {
  background: #f8f9fa;
  color: #1f1f1f;
  border-bottom-left-radius: 4px;
}

.msg-content.user {
  background: #e9eef6;
  color: #1f1f1f;
  border-bottom-right-radius: 4px;
  word-break: break-word;
  min-width: 60px;
}

.msg-footer {
  font-size: 12px;
  color: #80868b;
  margin-top: 4px;
  font-family: 'Google Sans Text', sans-serif;
}

/* Blocos de texto */
.msg-content p {
  margin: 6px 0;
  font-size: 14px;
}

/* Títulos */
.msg-content h3 {
  margin: 8px 0 4px 0;
  font-size: 16px;
}

.msg-content h4 {
  margin: 6px 0 4px 0;
  font-size: 18px;
}

/* Listas */
.msg-content ol {
  margin: 6px 0;
  padding-left: 22px;
}

.msg-content ul {
  margin: 6px 0;
  padding-left: 22px;
}

.msg-content li {
  margin-bottom: 4px;
}

/* Links */
.msg-content a {
  color: #1a73e8;
  text-decoration: none;
  font-weight: 500;
}

.msg-content a:hover {
  text-decoration: underline;
}

.msg-content a:visited {
  color: #1a73e8;
}

/* Remove espaço extra no começo e fim */
.msg-content>*:first-child {
  margin-top: 0;
}

.msg-content>*:last-child {
  margin-bottom: 0;
}

/* ── SUGESTÕES ── */
.chat-suggestions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding-left: 40px;
  margin-top: 4px;
  width: 100%;
  animation: msgEntrance 0.35s cubic-bezier(0.2, 0, 0, 1) forwards;
}

.suggestion-btn {
  text-align: left;
  background: #ffffff;
  border: 1px solid #dadce0;
  border-radius: 20px;
  padding: 9px 18px;
  font-size: 13.5px;
  color: #1a73e8;
  cursor: pointer;
  font-family: 'Google Sans', sans-serif;
  transition: all 0.2s;
}

.suggestion-btn:hover {
  background: #e8f0fe;
  border-color: transparent;
}

/* ── INPUT ── */
.input-area {
  background: #ffffff;
  padding: 12px 18px;
  position: relative;
  z-index: 5;
  flex-shrink: 0;
}

/* ── EFEITO DE FADE (ESMAECIMENTO) ACIMA DO INPUT ── */
.input-area::before {
  content: "";
  position: absolute;
  top: -40px;
  /* Altura do esfumaçado para cima da área do input */
  left: 0;
  width: 100%;
  height: 40px;
  /* Mesma medida do top */

  /* Gradiente indo do transparente até o branco puro do seu fundo */
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #ffffff);

  /* Garante que o usuário ainda consiga clicar e selecionar o texto das últimas mensagens */
  pointer-events: none;
}

.input-wrapper {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #f1f3f4;
  border-radius: 28px;
  padding: 4px 8px;
  border: 2px solid transparent;
  transition: all 0.25s;
}

.input-wrapper:focus-within {
  background: #ffffff;
  border-color: #1a73e8;
}

#chat-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 10px 8px;
  font-size: 14.5px;
  color: #202124;
  outline: none;
  font-family: 'Google Sans Text', sans-serif;
  min-width: 0;
  display: block;
  resize: none;
  line-height: 1.35;
  max-height: 120px;
  overflow-y: auto;
  white-space: pre-wrap;
  word-break: break-word;
}

/* Customização do Scroll no Campo de Digitação */
#chat-input::-webkit-scrollbar {
  width: 5px;
}

#chat-input::-webkit-scrollbar-track {
  background: transparent;
}

#chat-input::-webkit-scrollbar-thumb {
  background: #dadce0;
  border-radius: 10px;
}

/* O segredo para sumir a setinha no input/textarea */
#chat-input::-webkit-scrollbar-button {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

/* Remove qualquer sobra de espaço no topo ou base */
#chat-input::-webkit-scrollbar-track-piece {
  background: transparent !important;
}

.btn-send {
  color: #202124;
  opacity: 0.4;
  transition: all 0.2s;
}

.btn-send.active {
  opacity: 1;
  background: #1a73e8 !important;
  color: white;
}

.btn-send.active:hover {
  background: #174ea6 !important;
}

.disclaimer {
  padding: 12px 16px 23px;
  font-size: 11px;
  color: #80868b;
  text-align: center;
  font-family: 'Google Sans', sans-serif;
}


/* ── PAINEL DE HISTÓRICO ── */
#history-panel {
  position: absolute;
  inset: 0;
  background: #ffffff;
  z-index: 20;
  display: none;
  flex-direction: column;
  overflow: hidden;
}

#history-panel.is-open {
  display: flex;
  animation: fadeUp 0.3s cubic-bezier(0.2, 0, 0, 1) forwards;
}

.history-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid #dadce0;
  flex-shrink: 0;
}

.history-title {
  font-size: 15px;
  font-weight: 600;
  flex: 1;
  font-family: 'Google Sans', sans-serif;
  color: #202124;
}

.history-notice {
  display: flex;
  gap: 8px;
  align-items: center;
  background: #f8f9fa;
  border-radius: 10px;
  border: 1px solid #dadce0;
  padding: 12px;
  margin: 12px 12px 4px;
  flex-shrink: 0;
  font-size: 11px;
  color: #5f6368;
  line-height: 1.4;
  font-family: 'Google Sans', sans-serif;
}

.history-notice .material-symbols-rounded {
  font-size: 16px;
  color: #1a73e8;
  flex-shrink: 0;
}

.history-list {
  flex: 1;
  overflow-y: auto;
  padding: 8px 12px 32px;
}

.history-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  cursor: pointer;
  margin-bottom: 4px;
  transition: background 0.2s;
}

.history-item:hover {
  background: #f8f9fa;
}

.history-item.active {
  background: #e8f0fe;
}

/* ── SCROLL BOTTOM ── */
#scroll-bottom-btn {
  position: sticky;
  bottom: 12px;
  align-self: center;
  margin-top: -52px;
  width: 40px;
  height: 40px;
  background: #1a73e8;
  color: white;
  border: none;
  outline: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.2, 0, 0, 1);
  z-index: 10;
  flex-shrink: 0;
}

#scroll-bottom-btn.visible {
  opacity: 1;
  pointer-events: auto;
}

/* ── TYPING ── */
.msg-row.typing-row {
  align-items: center;
}

.msg-row.typing-row .msg-avatar {
  margin-bottom: 0;
}

.typing-dots {
  display: flex;
  gap: 6px;
  padding: 12px 18px;
  align-items: center;
  min-height: 22px;
}

.typing-dot {
  width: 8px;
  height: 8px;
  background: #80868b;
  border-radius: 50%;
  animation: typingDot 1.4s infinite;
}

.typing-dot:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
  animation-delay: 0.4s;
}

/* ── ANIMAÇÕES ── */
@keyframes msgEntrance {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes chatPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(26, 115, 232, .4)
  }

  70% {
    box-shadow: 0 0 0 6px rgba(26, 115, 232, 0)
  }

  100% {
    box-shadow: 0 0 0 0 rgba(26, 115, 232, 0)
  }
}

@keyframes typingDot {

  0%,
  60%,
  100% {
    transform: translateY(0);
    opacity: .4
  }

  30% {
    transform: translateY(-4px);
    opacity: 1
  }
}

.mic-pulsing {
  animation: micPulse 1.5s infinite !important;
  background: #e8f0fe;
  color: #1a73e8;
}

@keyframes micPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(26, 115, 232, .4)
  }

  70% {
    box-shadow: 0 0 0 8px rgba(26, 115, 232, 0)
  }

  100% {
    box-shadow: 0 0 0 0 rgba(26, 115, 232, 0)
  }
}

/* ── RESPONSIVO ── */
/* ── DESKTOP vs MOBILE ── */
.mobile-only {
  display: none;
}

.desktop-only {
  display: flex;
}

@media (max-width: 700px) {
  .mobile-only {
    display: block;
  }

  .desktop-only {
    display: none !important;
  }

  #chat-trigger {
    right: 0;
    border-radius: 20px 20px 0 0;
    padding: 12px 20px;
  }

  #chat-panel {
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
    border: none;
    transform: translate(0, 100%);
  }

  #chat-panel.is-open {
    transform: translate(0, 0);
  }

  body.chat-open-mobile {
    overflow: hidden;
    position: fixed;
    width: 100%;
  }

  .disclaimer {
    padding-bottom: env(safe-area-inset-bottom, 12px);
  }

  .msg-content {
    max-width: 85%;
  }
}

/* ── MAXIMIZADO ── */
#chat-panel.is-maximized #chat-messages {
  align-items: center;
}

#chat-panel.is-maximized .msg-row {
  max-width: 760px;
  width: 100%;
  margin: 0 auto;
}

#chat-panel.is-maximized .msg-content {
  max-width: 560px;
}

#chat-panel.is-maximized .chat-suggestions {
  max-width: 760px;
  width: 100%;
  margin: 0 auto;
}

#chat-panel.is-maximized .input-area {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#chat-panel.is-maximized .input-area>.input-wrapper {
  max-width: 760px;
  width: 100%;
}

#chat-panel.is-maximized .disclaimer {
  max-width: 760px;
  width: 100%;
  padding-bottom: 12px;
}

/* ═══════════════════════════════════════════════
   MULTI-PAGE PORTAL — NOVOS ESTILOS
═══════════════════════════════════════════════ */

/* ─── TOPBAR NAV — Active Link ─── */
.topbar-nav a.nav-active {
  color: var(--blue-dark);
  font-weight: 700;
  position: relative;
}

.topbar-nav a.nav-active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--blue-dark);
  border-radius: 2px;
}

/* ─── TOPBAR HAMBURGER ─── */
.topbar-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: var(--transition);
  color: var(--text-primary);
}

.topbar-hamburger:hover {
  background: var(--blue-light);
}

@media (max-width: 900px) {
  .topbar-nav {
    display: none;
  }

  .topbar-hamburger {
    display: flex;
  }
}

/* ─── MOBILE NAV OVERLAY ─── */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(32, 33, 36, .4);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}

.mobile-nav-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-panel {
  position: absolute;
  right: 0;
  top: 0;
  width: 280px;
  max-width: 85vw;
  height: 100%;
  background: #fff;
  box-shadow: -4px 0 24px rgba(0, 0, 0, .12);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.2, 0, 0, 1);
}

.mobile-nav-overlay.open .mobile-nav-panel {
  transform: translateX(0);
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  padding: 12px 8px;
}

.mobile-nav-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 500;
  transition: var(--transition);
}

.mobile-nav-links a:hover,
.mobile-nav-links a.nav-active {
  background: var(--blue-light);
  color: var(--blue-dark);
}

.mobile-nav-links a .material-symbols-rounded {
  font-size: 20px;
  color: var(--text-hint);
}

.mobile-nav-links a.nav-active .material-symbols-rounded {
  color: var(--blue-dark);
}

body.nav-open {
  overflow: hidden;
}

/* ─── HUB CARDS GRID ─── */
.hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}

@media (max-width: 700px) {
  .hub-grid {
    grid-template-columns: 1fr;
  }
}

/* Em telas largas, fixe 3 colunas e posicione o 4º e 5º card nas colunas 2 e 3
   para que, quando houver 5 itens, os dois de baixo fiquem alinhados ao centro-direita */
@media (min-width: 1000px) {
  .hub-grid {
    grid-template-columns: repeat(3, minmax(320px, 360px));
    justify-content: center;
  }
  /* posicionar o card 4 entre as colunas 1 e 2, e o card 5 entre 2 e 3 */
  .hub-grid .hub-card:nth-child(4) {
    grid-column: 1 / 3; /* ocupa a área das colunas 1-2 */
    justify-self: center; /* centraliza o card dentro da área */
    max-width: 360px;
  }
  .hub-grid .hub-card:nth-child(5) {
    grid-column: 2 / 4; /* ocupa a área das colunas 2-3 */
    justify-self: center;
    max-width: 360px;
  }

  /* garantir que ambos fiquem na mesma linha e alinhados ao topo */
  .hub-grid .hub-card:nth-child(4),
  .hub-grid .hub-card:nth-child(5) {
    grid-row: 2;
    align-self: start;
    margin-top: 0;
  }
}

.hub-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  padding-right: 56px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.hub-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
  border-color: transparent;
}

.hub-card--blue:hover {
  border-left: 3px solid var(--blue);
}

.hub-card--yellow:hover {
  border-left: 3px solid var(--yellow);
}

.hub-card--green:hover {
  border-left: 3px solid var(--green);
}

.hub-card--red:hover {
  border-left: 3px solid var(--red);
}

.hub-card--lilac:hover {
  border-left: 3px solid var(--lilac);
}

.hub-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hub-card--blue .hub-card-icon {
  background: var(--blue-light);
  color: var(--blue-dark);
}

.hub-card--yellow .hub-card-icon {
  background: #fff8e1;
  color: #c75000;
}

.hub-card--green .hub-card-icon {
  background: #e6f4ea;
  color: #1e8e3e;
}

.hub-card--red .hub-card-icon {
  background: #fce8e6;
  color: #c5221f;
}

.hub-card--lilac .hub-card-icon {
  background: #ede7f6;
  color: #5e35b1;
}

.hub-card-icon .material-symbols-rounded {
  font-size: 24px;
}

.hub-card-content h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.hub-card-content p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.hub-card-content {
  flex: 1;
  padding-right: 12px;
}

.hub-card-arrow {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: var(--text-hint);
  transition: var(--transition);
}

.hub-card:hover .hub-card-arrow {
  color: var(--blue-dark);
  transform: translateY(-50%) translateX(4px);
}

/* ─── FAQ ACCORDION ─── */
/* ─── FAQ ANCHOR NAV ─── */
.faq-anchors {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.faq-anchor-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 24px;
  font-family: 'Google Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all .22s cubic-bezier(.4, 0, .2, 1);
  box-shadow: var(--shadow-sm);
}

.faq-anchor-btn .material-symbols-rounded {
  font-size: 17px;
  color: var(--blue);
}

.faq-anchor-btn:hover {
  background: var(--blue-light);
  border-color: rgba(66, 133, 244, .35);
  color: var(--blue-dark);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

@media (max-width: 620px) {
  .faq-anchors {
    gap: 8px;
  }

  .faq-anchor-btn {
    padding: 8px 14px;
    font-size: 12px;
  }

  .faq-anchor-btn .material-symbols-rounded {
    font-size: 15px;
  }
}

/* ─── FAQ LIST ─── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 4px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  transition: var(--transition);
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question:hover {
  color: var(--blue-dark);
}

.faq-q-icon {
  font-size: 20px;
  color: var(--blue);
  flex-shrink: 0;
}

.faq-chevron {
  font-size: 20px;
  color: var(--text-hint);
  margin-left: auto;
  flex-shrink: 0;
  transition: transform .3s cubic-bezier(.4, 0, .2, 1);
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 4px 0 36px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.75;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height .4s cubic-bezier(.4, 0, .2, 1),
    opacity .3s ease,
    padding .3s ease;
}

.faq-item[open] .faq-answer {
  max-height: 500px;
  opacity: 1;
  padding: 0 4px 20px 36px;
}

/* ─── DIAGNÓSTICO ─── */
.troubleshooter-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ts-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}

.ts-card:hover {
  box-shadow: var(--shadow-md);
}

.ts-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
}

.ts-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ts-card-icon .material-symbols-rounded {
  font-size: 22px;
}

.ts-card-title {
  flex: 1;
}

.ts-card-title h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 2px;
}

.ts-card-title p {
  font-size: 12px;
  color: var(--text-hint);
}

.ts-chevron {
  font-size: 22px;
  color: var(--text-hint);
  transition: transform .3s cubic-bezier(.4, 0, .2, 1);
  flex-shrink: 0;
}

.ts-card.open .ts-chevron {
  transform: rotate(180deg);
}

.ts-card-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .5s cubic-bezier(.4, 0, .2, 1), padding .3s ease;
  padding: 0 20px;
}

.ts-card.open .ts-card-body {
  max-height: 800px;
  padding: 0 20px 20px;
}

.ts-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ts-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--blue-dark);
  font-weight: 600;
  text-decoration: none;
  margin-top: 12px;
  transition: var(--transition);
}

.ts-link .material-symbols-rounded {
  font-size: 15px;
}

.ts-link:hover {
  text-decoration: none;
}

.ts-link .ts-link-text {
  text-decoration: none;
  transition: var(--transition);
}

.ts-link:hover .ts-link-text {
  text-decoration: underline;
}

/* ─── DIAGNÓSTICO WIZARD (INTERATIVO) ─── */

/* Breadcrumb */
.ts-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-hint);
}

.ts-bc-item {
  padding: 4px 10px;
  border-radius: 8px;
  transition: var(--transition);
  white-space: nowrap;
}

.ts-bc-link {
  cursor: pointer;
  color: var(--blue-dark);
}

.ts-bc-link:hover {
  background: var(--blue-light);
  color: var(--blue-dark);
}

.ts-bc-active {
  color: var(--text-primary);
  font-weight: 700;
  background: #f1f3f4;
}

.ts-bc-sep {
  color: var(--border);
  font-size: 15px;
  user-select: none;
}

/* Wizard container */
.ts-wizard {
  transition: opacity .35s ease, transform .35s ease;
}

/* Question title */
.ts-q-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 18px;
  letter-spacing: -.3px;
}

/* Options list */
.ts-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Individual option button */
.ts-option {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 16px 20px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  font-family: 'Google Sans', sans-serif;
  font-size: 14px;
  color: var(--text-primary);
  text-align: left;
  transition: all .22s cubic-bezier(.4, 0, .2, 1);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.ts-option::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  opacity: 0;
  transition: opacity .25s;
  background: linear-gradient(135deg, rgba(66, 133, 244, .04) 0%, transparent 60%);
  pointer-events: none;
}

.ts-option:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
  border-color: rgba(66, 133, 244, .35);
}

.ts-option:hover::after {
  opacity: 1;
}

.ts-option:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

/* Option icon */
.ts-option-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.ts-option-icon .material-symbols-rounded {
  font-size: 20px;
}

.ts-option:hover .ts-option-icon {
  transform: scale(1.08);
}

/* Option label */
.ts-option-label {
  flex: 1;
  font-weight: 500;
  line-height: 1.5;
}

/* Option arrow */
.ts-option-arrow {
  font-size: 20px;
  color: var(--text-hint);
  flex-shrink: 0;
  transition: var(--transition);
}

.ts-option:hover .ts-option-arrow {
  color: var(--blue);
  transform: translateX(3px);
}

/* ─── Answer Card ─── */
.ts-answer-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.ts-answer-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 24px 18px;
  background: linear-gradient(135deg, rgba(66, 133, 244, .04) 0%, transparent 80%);
  border-bottom: 1px solid #f1f3f4;
}

.ts-answer-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ts-answer-icon .material-symbols-rounded {
  font-size: 24px;
}

.ts-answer-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -.3px;
}

.ts-answer-body {
  padding: 20px 24px 24px;
}

.ts-answer-section {
  margin-bottom: 20px;
}

.ts-answer-section:last-child {
  margin-bottom: 0;
}

.ts-answer-section h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

/* Bullet list inside answer */
.ts-bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 0;
}

.ts-bullet-list li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.ts-bullet-list li::before {
  content: '•';
  color: var(--blue);
  font-weight: 700;
  position: absolute;
  left: 4px;
  top: 0;
}

/* ─── Compact steps inside wizard answers AND quick guides (no circles) ─── */
.ts-answer-body .step,
.ts-card-body .step {
  padding: 8px 0;
  gap: 8px;
  border-bottom: none;
  align-items: baseline;
}

.ts-answer-body .step:last-child,
.ts-card-body .step:last-child {
  padding-bottom: 0;
}

.ts-answer-body .step:first-child,
.ts-card-body .step:first-child {
  padding-top: 0;
}

.ts-answer-body .step-num,
.ts-card-body .step-num {
  width: auto;
  height: auto;
  min-width: 18px;
  border-radius: 0;
  background: none;
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 700;
  box-shadow: none;
  flex-shrink: 0;
}

.ts-answer-body .step-num::after,
.ts-card-body .step-num::after {
  content: '.';
}

.ts-answer-body .step-body h4,
.ts-card-body .step-body h4 {
  font-size: 14px;
  margin-bottom: 0;
}

.ts-answer-body .step-body p,
.ts-card-body .step-body p {
  font-size: 13.5px;
  line-height: 1.55;
}

.ts-answer-body .ts-steps,
.ts-card-body .ts-steps {
  gap: 0;
}

.ts-answer-section {
  margin-bottom: 16px;
}

.ts-answer-section h4 {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.ts-answer-body {
  padding: 16px 22px 20px;
}

.ts-answer-header {
  padding: 16px 22px 14px;
}

/* ─── Alert cards inside diagnóstico: blue scheme ─── */
.ts-answer-body .alert-card,
.ts-card-body .alert-card {
  background: linear-gradient(135deg, #e8f0fe, #dce8fc);
  border: 1px solid #aecbfa;
  box-shadow: 0 2px 8px rgba(66, 133, 244, .08);
}

.ts-answer-body .alert-card .material-symbols-rounded,
.ts-card-body .alert-card .material-symbols-rounded {
  color: var(--blue-dark);
}

.ts-answer-body .alert-card-text h4,
.ts-card-body .alert-card-text h4 {
  color: #1a3a6b;
}

.ts-answer-body .alert-card-text p,
.ts-card-body .alert-card-text p {
  color: #1a3a6b;
  opacity: .85;
}

.ts-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 12px 22px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 24px;
  font-family: 'Google Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-dark);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.ts-back-btn:hover {
  background: var(--blue-light);
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.ts-back-btn .material-symbols-rounded {
  font-size: 18px;
}

/* Restart button */
.ts-restart-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  margin-left: 10px;
  padding: 12px 22px;
  background: transparent;
  border: none;
  border-radius: 24px;
  font-family: 'Google Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-hint);
  cursor: pointer;
  transition: var(--transition);
}

.ts-restart-btn:hover {
  background: #f1f3f4;
  color: var(--text-primary);
}

.ts-restart-btn .material-symbols-rounded {
  font-size: 18px;
}

/* ─── Diagnóstico Wizard Responsive ─── */
@media (max-width: 620px) {
  .ts-option {
    padding: 14px 16px;
    gap: 10px;
  }

  .ts-option-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .ts-option-icon .material-symbols-rounded {
    font-size: 18px;
  }

  .ts-option-label {
    font-size: 13px;
  }

  .ts-q-title {
    font-size: 16px;
  }

  .ts-answer-header {
    padding: 18px 18px 14px;
  }

  .ts-answer-body {
    padding: 16px 18px 20px;
  }

  .ts-answer-title {
    font-size: 16px;
  }

  .ts-breadcrumb {
    font-size: 12px;
    gap: 4px;
  }

  .ts-bc-item {
    padding: 3px 8px;
  }

  .ts-back-btn,
  .ts-restart-btn {
    margin-left: 0;
    display: flex;
    width: 100%;
    justify-content: center;
  }

  .ts-restart-btn {
    margin-top: 8px;
  }
}

/* ─── BLOG SYSTEM ─── */

/* Filtros */
.blog-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.blog-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 24px;
  font-family: 'Google Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all .22s cubic-bezier(.4, 0, .2, 1);
  box-shadow: var(--shadow-sm);
}

.blog-filter-btn .material-symbols-rounded {
  font-size: 17px;
  color: var(--blue);
}

.blog-filter-btn:hover {
  background: var(--blue-light);
  border-color: rgba(66, 133, 244, .35);
  color: var(--blue-dark);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.blog-filter-btn.active {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  color: #fff;
  box-shadow: 0 4px 14px rgba(26, 115, 232, .35);
}

.blog-filter-btn.active .material-symbols-rounded {
  color: #fff;
}

@media (max-width: 620px) {
  .blog-filters {
    gap: 6px;
  }

  .blog-filter-btn {
    padding: 7px 12px;
    font-size: 12px;
  }

  .blog-filter-btn .material-symbols-rounded {
    font-size: 15px;
  }
}

/* Grid de cards */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

@media (max-width: 700px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* Blog card */
.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all .3s cubic-bezier(.4, 0, .2, 1);
  text-decoration: none;
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  animation: blogCardIn .4s cubic-bezier(.2, 0, 0, 1) both;
  cursor: pointer;
}

@keyframes blogCardIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.blog-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
  border-color: rgba(66, 133, 244, .25);
}

.blog-card-header {
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.blog-card-hero-icon {
  font-size: 48px !important;
  opacity: .35;
  transition: var(--transition);
}

.blog-card:hover .blog-card-hero-icon {
  opacity: .55;
  transform: scale(1.15) rotate(-5deg);
}

.blog-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--blue-light);
  color: var(--blue-dark);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  margin: 14px 18px 0;
  width: fit-content;
}

.blog-card-content {
  padding: 10px 18px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-content h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.4;
  color: var(--text-primary);
}

.blog-card-content p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.65;
  flex: 1;
}

.blog-date {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-hint);
  margin-bottom: 8px;
}

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--blue-dark);
  font-weight: 600;
  margin-top: 14px;
  transition: var(--transition);
}

.blog-card:hover .blog-read-more {
  gap: 10px;
}

/* ── Botão Voltar ── */
.blog-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 24px;
  font-family: 'Google Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-dark);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.blog-back-btn:hover {
  background: var(--blue-light);
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.blog-back-btn .material-symbols-rounded {
  font-size: 18px;
}

/* ── Artigo Individual ── */
.blog-article-wrapper {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  animation: blogCardIn .4s cubic-bezier(.2, 0, 0, 1) both;
}

.blog-article-hero {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.blog-article-body {
  padding: 28px 32px 36px;
}

.blog-article-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.blog-article-meta .blog-card-badge {
  margin: 0;
}

.blog-article-meta .blog-date {
  margin: 0;
  height: fit-content;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}

.blog-share-btn {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  font-family: 'Google Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
}

.blog-share-btn:hover {
  background: var(--surface-hover);
  color: var(--blue);
  border-color: var(--blue-light);
}

.blog-share-btn .material-symbols-rounded {
  font-size: 16px;
}

@media (max-width: 768px) {
  .blog-share-text {
    display: none;
  }

  .blog-share-btn {
    padding: 6px 10px;
  }
}

.blog-share-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  width: 170px;
  display: flex;
  flex-direction: column;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 100;
}

.blog-share-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.share-option {
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
  padding: 10px 16px;
  font-family: 'Google Sans', sans-serif;
  font-size: 14px;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: var(--transition);
}

.share-option:hover {
  background: var(--surface-hover);
}

.share-option svg {
  color: var(--text-secondary);
}

.blog-article-title {
  font-family: 'Google Sans Display', sans-serif;
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
  letter-spacing: -.5px;
  margin-bottom: 24px;
}

.blog-article-text {
  font-family: 'Google Sans Text', sans-serif;
  font-size: 15px;
  color: var(--text-primary);
  line-height: 1.8;
}

.blog-article-text h3 {
  font-family: 'Google Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 28px 0 12px;
  letter-spacing: -.2px;
}

.blog-article-text p {
  margin-bottom: 14px;
}

.blog-article-text ul,
.blog-article-text ol {
  margin: 12px 0 16px;
  padding-left: 22px;
  line-height: 1.9;
}

.blog-article-text li {
  margin-bottom: 6px;
}

.blog-article-text a {
  color: var(--blue-dark);
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
}

.blog-article-text a:hover {
  text-decoration: underline;
}

.blog-article-text img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 20px 0;
  display: block;
}

/* CTA e Alertas dentro do artigo */
.blog-article-cta,
.blog-article-alert {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  border-radius: 14px;
  padding: 20px 24px;
  margin: 24px 0;
}

.blog-article-cta {
  background: linear-gradient(135deg, #e8f0fe, #dce8fc);
  border: 1px solid #aecbfa;
}

.blog-article-cta>.material-symbols-rounded {
  font-size: 28px;
  color: var(--blue-dark);
  flex-shrink: 0;
  margin-top: 2px;
}

.blog-article-cta strong {
  display: block;
  font-size: 15px;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.blog-article-cta p {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 8px !important;
}

.blog-article-cta a {
  font-size: 13px;
  font-weight: 700;
  color: var(--blue-dark) !important;
}

.blog-article-alert {
  background: linear-gradient(135deg, #fff8e1, #fff3cd);
  border: 1px solid #ffd54f;
}

.blog-article-alert>.material-symbols-rounded {
  font-size: 28px;
  color: #c75000;
  flex-shrink: 0;
  margin-top: 2px;
}

.blog-article-alert>div>strong {
  display: block;
  font-size: 15px;
  color: #5f4100;
  margin-bottom: 4px;
}

.blog-article-alert p {
  font-size: 13px;
  color: #5f4100;
  margin-bottom: 0 !important;
  line-height: 1.7;
}

.blog-article-alert a {
  color: #c75000 !important;
  font-weight: 600;
}

/* Navegação entre artigos */
.blog-article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 20px;
}

.blog-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.blog-nav-link:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
  border-color: rgba(66, 133, 244, .3);
}

.blog-nav-link .material-symbols-rounded {
  font-size: 20px;
  color: var(--blue);
  flex-shrink: 0;
}

.blog-nav-link small {
  font-size: 11px;
  color: var(--text-hint);
  display: block;
  margin-bottom: 2px;
  font-weight: 500;
}

.blog-nav-link strong {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  display: block;
}

.blog-nav-next {
  justify-content: flex-end;
  text-align: right;
}

@media (max-width: 620px) {
  .blog-article-nav {
    grid-template-columns: 1fr;
  }

  .blog-nav-next {
    justify-content: flex-start;
    text-align: left;
  }

  .blog-article-body {
    padding: 20px 18px 28px;
  }

  .blog-article-hero {
    height: 120px;
  }

  .blog-article-text {
    font-size: 14px;
  }

  .blog-article-title {
    margin-bottom: 18px;
  }

  .blog-article-cta,
  .blog-article-alert {
    padding: 16px 18px;
  }
}

/* Link legado (mantido para compatibilidade) */
.blog-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--blue-dark);
  font-weight: 600;
  text-decoration: none;
  margin-top: 12px;
  transition: var(--transition);
}

.blog-link:hover {
  text-decoration: underline;
}

/* ─── TOOLS ─── */
.tool-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.tool-output {
  background: #f8f9fa;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  min-height: 56px;
}

.tool-copy-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  color: var(--text-hint);
  transition: var(--transition);
  flex-shrink: 0;
}

.tool-copy-btn:hover {
  background: var(--blue-light);
  color: var(--blue-dark);
}

.tool-controls {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tool-control-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-secondary);
}

.tool-control-row label {
  font-weight: 500;
}

.tool-control-row input[type=range] {
  flex: 1;
  accent-color: var(--blue);
}

.tool-check {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  cursor: pointer;
  user-select: none;
}

.tool-check input {
  accent-color: var(--blue);
}

.tool-input {
  flex: 1;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  font-family: 'Google Sans', sans-serif;
  outline: none;
  transition: border-color .2s;
}

.tool-input:focus {
  border-color: var(--blue);
}

/* Checklist */
.checklist-progress {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
}

.checklist-bar {
  flex: 1;
  height: 8px;
  background: #f0f0f0;
  border-radius: 8px;
  overflow: hidden;
}

.checklist-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--green));
  border-radius: 8px;
  transition: width .4s ease;
}

.checklist-items {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 8px;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
  transition: var(--transition);
}

.checklist-item:last-child {
  border-bottom: none;
}

.checklist-item:hover {
  background: #f8f9fa;
  border-radius: 10px;
}

.checklist-item input {
  display: none;
}

.cl-icon {
  font-size: 22px;
  color: #dadce0;
  flex-shrink: 0;
  margin-top: 1px;
  transition: var(--transition);
}

.checklist-item.checked .cl-icon {
  color: var(--green);
}

.checklist-item div strong {
  display: block;
  font-size: 14px;
  margin-bottom: 2px;
}

.checklist-item div span {
  font-size: 12px;
  color: var(--text-hint);
}

.checklist-item.checked div strong {
  text-decoration: line-through;
  color: var(--text-hint);
}

/* Backup codes grid */
.backup-codes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 4px;
}

@media (max-width: 500px) {
  .backup-codes-grid {
    grid-template-columns: 1fr;
  }
}

.backup-code {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #f8f9fa;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: 'Google Sans Mono', monospace;
}

/* ─── CENTRAL DE AJUDA — estilos adicionais ─── */

/* Hero compacto */
.ch-hero {
  padding: 40px 24px 28px;
  text-align: center;
}

.ch-hero h1 {
  font-family: 'Google Sans Display', sans-serif;
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 700;
  color: var(--text-primary, #202124);
  margin: 0 0 10px;
  line-height: 1.15;
}

.ch-hero p {
  font-family: 'Google Sans Text', sans-serif;
  font-size: 15px;
  color: var(--text-secondary, #5f6368);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ─── CONTAINER PRINCIPAL ─── */
.ch-wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 20px 48px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ─── BLOCO IA (destaque principal) ─── */
.ai-card {
  background: #fff;
  border-radius: 20px;
  border: 1.5px solid #e8eaed;
  padding: 28px 28px 24px;
  box-shadow: 0 2px 16px rgba(66, 133, 244, .08), 0 1px 4px rgba(0, 0, 0, .04);
  position: relative;
  overflow: hidden;
  animation: fadeUp .5s ease both;
}

.ai-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #3186FF, #346BF0, #4EA0FF, #3186FF);
  border-radius: 20px 20px 0 0;
}

.ai-card-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}

.ai-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #e8f0fe 0%, #d2e3fc 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ai-icon-wrap .material-symbols-rounded {
  font-size: 26px;
  color: #4285f4;
  font-variation-settings: 'FILL' 1;
}

.ai-title-block {
  flex: 1;
}

/* Permite que o bloco de título encolha corretamente dentro do flex */
.ai-title-block {
  min-width: 0;
}
.ai-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ai-title {
  font-family: 'Google Sans', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: #202124;
  margin: 0;
}

.badge-beta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #e8f0fe;
  color: #174ea6;
  border-radius: 20px;
  font-family: 'Google Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 9px;
  letter-spacing: .3px;
}

/*.badge-beta::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fbbc04;
  display: inline-block;
}*/

.ai-desc {
  font-family: 'Google Sans Text', sans-serif;
  font-size: 14px;
  color: #5f6368;
  margin: 4px 0 0;
  line-height: 1.55;
}

.ai-notice {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 18px;
  display: flex;

/* Header 'Criado com' (Gemini) */
.header-powered {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
}

.header-powered a.gemini-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(26,115,232,0.04), rgba(255,255,255,0));
  border: 1px solid var(--border);
  color: var(--text-primary);
  text-decoration: none;
}

.header-powered a.gemini-link:hover {
  box-shadow: 0 6px 18px rgba(26,115,232,0.08);
}

.header-powered a.gemini-link svg {
  width: 52px;
  height: 12px;
  flex-shrink: 0;
  color: inherit;
}

.header-powered .tech-desc {
  font-size: 12px;
  color: #5f6368;
  margin-left: 6px;
}
  gap: 10px;
  align-items: flex-start;
}

.ai-notice .material-symbols-rounded {
  font-size: 16px;
  color: #5f6368;
  flex-shrink: 0;
  margin-top: 1px;
  font-variation-settings: 'FILL' 1;
}

/* Ajustes responsivos para evitar espaçamento em branco no mobile */
@media (max-width: 480px) {
  .ai-card {
    padding: 18px 16px 14px;
  }

  .ai-card-header {
    align-items: center; /* centraliza ícone e texto quando o título quebra */
    gap: 10px;
  }

  .ai-icon-wrap {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .ai-icon-wrap .material-symbols-rounded {
    font-size: 20px;
  }

  .ai-title-row {
    gap: 6px;
  }

  .ai-desc, .ai-notice p {
    font-size: 13px;
  }

  /* Truncar descrição principal para 2 linhas no mobile */
  .ai-desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

.ai-notice p {
  font-family: 'Google Sans Text', sans-serif;
  font-size: 12.5px;
  color: #5f6368;
  margin: 0;
  line-height: 1.5;
}

.ai-notice p+p {
  margin-top: 4px;
}

.btn-ai-start {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #4285f4;
  color: #fff;
  border: none;
  border-radius: 24px;
  font-family: 'Google Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 11px 22px;
  cursor: pointer;
  text-decoration: none;
  transition: background .18s, box-shadow .18s, transform .15s;
  box-shadow: 0 2px 8px rgba(66, 133, 244, .25);
}

.btn-ai-start:hover {
  background: #3367d6;
  box-shadow: 0 4px 16px rgba(66, 133, 244, .35);
  transform: translateY(-1px);
}

.btn-ai-start .material-symbols-rounded {
  font-size: 18px;
  font-variation-settings: 'FILL' 1;
}

/* ─── ACESSO RÁPIDO ─── */
.quick-access {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e8eaed;
  overflow: hidden;
  animation: fadeUp .5s .1s ease both;
}

.quick-access-header {
  padding: 16px 20px 12px;
  border-bottom: 1px solid #f1f3f4;
}

.quick-access-header h2 {
  font-family: 'Google Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #80868b;
  text-transform: uppercase;
  letter-spacing: .8px;
  margin: 0;
}

.quick-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  text-decoration: none;
  border-bottom: 1px solid #f1f3f4;
  transition: background .15s;
}

.quick-link:last-child {
  border-bottom: none;
}

.quick-link:hover {
  background: #f8f9fa;
}

.quick-link:hover .ql-arrow {
  transform: translateX(3px);
}

.ql-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ql-icon .material-symbols-rounded {
  font-size: 18px;
  font-variation-settings: 'FILL' 1;
}

.ql-blue {
  background: #e8f0fe;
}

.ql-blue .material-symbols-rounded {
  color: #4285f4;
}

.ql-green {
  background: #e6f4ea;
}

.ql-green .material-symbols-rounded {
  color: #34a853;
}

.ql-yellow {
  background: #fef7e0;
}

.ql-yellow .material-symbols-rounded {
  color: #f9ab00;
}

.ql-text {
  flex: 1;
}

.ql-label {
  font-family: 'Google Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #202124;
  display: block;
}

.ql-sub {
  font-family: 'Google Sans Text', sans-serif;
  font-size: 12.5px;
  color: #5f6368;
  display: block;
  margin-top: 1px;
}

.ql-arrow {
  font-size: 18px;
  color: #80868b;
  transition: transform .15s;
  flex-shrink: 0;
}

/* CTA dos cards de acesso rápido */
.quick-link {
  position: relative;
}

.quick-link .ql-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(90deg, var(--blue), var(--blue-dark));
  color: #fff;
  padding: 8px 12px;
  border-radius: 10px;
  border: none;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}

.quick-link .ql-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 115, 232, 0.18);
}

.quick-link .ql-cta:focus {
  outline: none;
  box-shadow: 0 0 0 6px rgba(26, 115, 232, 0.06);
}

/* ─── SUGESTÃO INTELIGENTE ─── */
.suggestion-card {
  background: linear-gradient(135deg, #e8f0fe 0%, #f0f4ff 100%);
  border-radius: 16px;
  border: 1px solid #d2e3fc;
  padding: 20px 20px 18px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  animation: fadeUp .5s .2s ease both;
}

.sug-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .08);
}

.sug-icon .material-symbols-rounded {
  font-size: 22px;
  color: #4285f4;
  font-variation-settings: 'FILL' 1;
}

.sug-body h3 {
  font-family: 'Google Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #202124;
  margin: 0 0 4px;
}

.sug-body p {
  font-family: 'Google Sans Text', sans-serif;
  font-size: 13px;
  color: #3c4043;
  margin: 0;
  line-height: 1.55;
}

/* ─── DICA FINAL ─── */
.tip-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e8eaed;
  padding: 13px 16px;
  animation: fadeUp .5s .3s ease both;
}

.tip-bar .material-symbols-rounded {
  font-size: 17px;
  color: #fbbc04;
  flex-shrink: 0;
  font-variation-settings: 'FILL' 1;
}

.tip-bar span.tip-text {
  font-family: 'Google Sans Text', sans-serif;
  font-size: 12.5px;
  color: #5f6368;
  line-height: 1.45;
}

.tip-bar strong {
  color: #3c4043;
}

/* ─── ANIMAÇÃO ─── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.video-wrapper {
    width: 100%;
    max-width: 850px;
    margin: 30px auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    background: #000;
  }
  .video-player-mn {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 9;
  }

