/*
 * Super Agentes Pense-AI — CSS
 * Caio Fontana | 2026-04
 *
 * Herda tokens do site principal (style-ef564a00.css):
 *   --light-gray: #E4E2D8
 *   --mid-gray: #9B9B9B
 *   --dark-gray: #151515
 *   --blue-gray: #A7B4BA
 *   --border-edge: rgba(224,232,236,.3)
 *
 * Fontes: Manrope (Google Fonts) — todos os pesos
 */

/* =============================================
   BASE / RESET SUPERAGENTES
   ============================================= */

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  overflow-x: clip;
}

.sa-section-label {
  display: block;
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mid-gray);
  margin-bottom: 1.5rem;
}


/* =============================================
   BUTTONS (extensão do sistema do site)
   ============================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 300;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 100px;
  padding: 1rem 1.75rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  line-height: 1;
  white-space: nowrap;
}

.btn--primary {
  background: var(--light-gray);
  color: var(--dark-gray);
  border-color: var(--light-gray);
}
.btn--primary:hover {
  background: #fff;
  border-color: #fff;
}

.btn--outline {
  background: transparent;
  color: var(--light-gray);
  border-color: rgba(228, 226, 216, 0.4);
}
.btn--outline:hover {
  border-color: var(--light-gray);
}

.btn--ghost {
  background: transparent;
  color: var(--mid-gray);
  border-color: transparent;
  padding-left: 0;
  padding-right: 0;
}
.btn--ghost:hover {
  color: var(--light-gray);
}


/* =============================================
   HEADER
   ============================================= */

.sa-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  transition: background 0.3s ease, padding 0.3s ease;
}

.sa-header.is-scrolled {
  background: rgba(21, 21, 21, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--border-edge);
}

.sa-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.sa-header__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.sa-header__logo img {
  height: 2.4rem;
  width: auto;
}
.sa-header__logo-text {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 1.25rem;
  color: var(--light-gray);
  letter-spacing: -0.02em;
}

.sa-header__nav {
  display: none;
  gap: 2rem;
}
@media (min-width: 768px) {
  .sa-header__nav {
    display: flex;
    align-items: center;
  }
}

.sa-header__nav a {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.sa-header__nav a:hover {
  opacity: 0.7;
}

.sa-header__cta {
  display: none;
}
@media (min-width: 768px) {
  .sa-header__cta {
    display: inline-flex;
  }
}

.sa-header__menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: transparent;
  border: 1px solid var(--border-edge);
  border-radius: 50%;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
}
.sa-header__menu-toggle span {
  display: block;
  width: 1rem;
  height: 1px;
  background: var(--light-gray);
  transition: transform 0.3s ease;
}
@media (min-width: 768px) {
  .sa-header__menu-toggle {
    display: none;
  }
}


/* Mobile Menu */
.sa-mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--dark-gray);
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}
.sa-mobile-menu.is-open {
  transform: translateY(0);
}
.sa-mobile-menu li {
  margin-bottom: 0.5rem;
}
.sa-mobile-menu a {
  display: block;
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 3rem;
  color: var(--mid-gray);
  text-decoration: none;
  line-height: 0.9;
  transition: color 0.2s ease;
}
.sa-mobile-menu a:hover {
  color: var(--light-gray);
}
.sa-mobile-menu__cta {
  margin-top: 2rem;
}


/* =============================================
   HERO
   ============================================= */

.sa-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
  background: var(--dark-gray);
}

.sa-hero__media {
  position: absolute;
  inset: 0;
}

.sa-hero__media--fallback {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 40%, #0f3460 80%, #151515 100%);
}

.sa-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  will-change: transform;
}

.sa-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(21,21,21,0.07) 0%, rgba(21,21,21,0.11) 45%, rgba(21,21,21,0.53) 78%, rgba(21,21,21,0.68) 100%),
    linear-gradient(to left, rgba(21,21,21,0.42) 0%, rgba(21,21,21,0.11) 50%, transparent 100%);
}

.sa-hero__content {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  padding-top: 9rem;
  padding-bottom: 4rem;
  padding-right: clamp(2rem, 5vw, 6rem);
  padding-left: 2rem;
  max-width: 500px;
  text-align: right;
}

.sa-hero__title {
  font-family: 'Manrope', system-ui, sans-serif;
  font-weight: 300;
  font-size: clamp(3.9rem, 9.1vw, 7.8rem);
  line-height: 0.92;
  letter-spacing: -0.02em;
  color: var(--light-gray);
  margin-bottom: 1rem;
  overflow: hidden;
}

.sa-hero__subtitle {
  font-family: 'Manrope', system-ui, sans-serif;
  font-weight: 300;
  font-size: clamp(1.95rem, 4.55vw, 3.575rem);
  color: var(--light-gray);
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
  opacity: 0.85;
}

.sa-hero__footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 0 clamp(2rem, 5vw, 6rem) 3.5rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}

.sa-hero__footer-left {
  max-width: 520px;
}

.sa-hero__body {
  font-family: 'Manrope', system-ui, sans-serif;
  font-weight: 300;
  font-size: clamp(1.375rem, 2.1vw, 1.625rem);
  line-height: 1.55;
  color: var(--blue-gray);
  margin-bottom: 1rem;
}

.sa-hero__ctas {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-end;
  flex-shrink: 0;
  margin-bottom: 0;
}

.sa-hero__cta-primary {
  font-size: 0.9375rem;
}

.sa-hero__cta-secondary {
  font-size: 0.875rem;
  color: var(--mid-gray);
}
.sa-hero__cta-secondary:hover {
  color: var(--light-gray);
}

.sa-hero__proof {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 0.975rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mid-gray);
  margin: 0;
}

.sa-hero__scroll-indicator {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  z-index: 2;
  opacity: 0.5;
}


/* =============================================
   RETRATOS FLUTUANTES
   ============================================= */

.sa-portraits {
  position: relative;
  padding: 8rem 0 7.5rem;
  overflow: hidden;
}

.sa-portraits__title {
  text-align: center;
  margin-bottom: 5rem;
}

.sa-portraits__title h2 {
  font-family: 'Manrope', system-ui, sans-serif;
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--light-gray);
}

.sa-portraits__stage {
  position: relative;
  min-height: 600px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem;
  padding: 2rem;
}

.sa-portraits__connections {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.sa-portrait {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 200px;
  /* opacity e transform controlados por GSAP — visível por padrão (no-JS fallback) */
}


.sa-portrait__circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 1.25rem;
  border: 1px solid var(--border-edge);
  flex-shrink: 0;
}

.sa-portrait__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.sa-portrait__features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  justify-content: center;
  margin-bottom: 1rem;
  min-height: 80px;
  align-content: flex-start;
}

.sa-feature-tag {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 0.6875rem;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--mid-gray);
  border: 1px solid var(--border-edge);
  border-radius: 100px;
  padding: 0.25rem 0.625rem;
  white-space: nowrap;
}

.sa-portrait__label {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--light-gray);
  margin-bottom: 0.5rem;
}

.sa-portrait__micro {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--mid-gray);
  line-height: 1.4;
  margin: 0;
}

@media (min-width: 768px) {
  .sa-portraits__stage {
    gap: 4rem;
    padding: 2rem 4rem;
    align-items: flex-start;
  }
  .sa-portrait__circle {
    width: 130px;
    height: 130px;
  }
  .sa-portrait__avatar {
    font-size: 3rem;
  }
}

/* Discovery affordance hint */
.sa-portraits__hint {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: rgba(228, 226, 216, 0.35);
  text-align: center;
  margin-top: 1.5rem;
  margin-bottom: 0;
  transition: opacity 0.5s ease;
}

.sa-portraits__hint.is-hidden {
  opacity: 0;
  pointer-events: none;
}

/* Portrait: interactive cursor on desktop */
@media (min-width: 768px) {
  .sa-portrait {
    cursor: default;
  }
}

/* Mobile chevron */
.sa-portrait__chevron {
  font-size: 10px;
  color: rgba(228, 226, 216, 0.3);
  margin-bottom: 0.5rem;
  margin-top: -0.75rem;
  display: none;
  transition: transform 0.2s ease;
}

@media (max-width: 767px) {
  .sa-portrait__chevron {
    display: block;
  }
  .sa-portrait.is-expanded .sa-portrait__chevron {
    transform: rotate(180deg);
  }
}

/* =============================================
   APP CHAT MOCKUP — UI FIEL À PLATAFORMA REAL
   ============================================= */

/* Portrait: overflow visible para card flutuar */
@media (min-width: 768px) {
  .sa-portrait {
    overflow: visible;
    max-width: 240px;
  }
  .sa-portrait.is-expanded {
    z-index: 20;
  }
  /* Ponte invisível que preenche o gap entre portrait e card — evita mouseleave no intervalo */
  .sa-portrait::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 310px;
    height: 52px; /* cobre o gap de 44px + margem de segurança */
    z-index: 48;
    pointer-events: auto;
  }
  .sa-portraits__stage {
    overflow: visible;
    min-height: 860px;
    padding-bottom: 375px;
  }
}

@media (max-width: 767px) {
  .sa-portrait {
    max-width: 300px;
    cursor: pointer;
    width: 100%;
  }
}

/* ── Wrapper do card ── */
.sa-portrait__mockup {
  /* Mobile: expande em flow */
  width: 100%;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease, margin-top 0.3s ease;
  margin-top: 0;
  pointer-events: none;
}

.sa-portrait.is-expanded .sa-portrait__mockup {
  max-height: 520px;
  opacity: 1;
  margin-top: 1rem;
  pointer-events: auto;
}

@media (min-width: 768px) {
  .sa-portrait__mockup {
    /* Desktop: absoluto, logo após os textos do retrato — GSAP controla opacidade */
    position: absolute;
    top: calc(100% + 44px);
    left: 50%;
    width: 300px;
    transform: translateX(-50%);
    max-height: none;
    overflow: visible;
    opacity: 0;
    transition: none;
    margin-top: 0;
    pointer-events: none;
    z-index: 50;
  }
  .sa-portrait.is-expanded .sa-portrait__mockup {
    max-height: none;
    margin-top: 0;
    pointer-events: auto;
  }
}

/* ── Legenda externa do card ── */
.sa-app__ext-label {
  display: block;
  text-align: center;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

/* ── Shell do app ── */
.sa-app {
  width: 100%;
  height: 460px;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 32px 80px rgba(0,0,0,0.45), 0 4px 20px rgba(0,0,0,0.3);
  font-family: 'Plus Jakarta Sans', -apple-system, 'Segoe UI', sans-serif;
  position: relative;
}

/* ── Header ── */
.sa-app__header {
  flex-shrink: 0;
  padding: 16px 20px 40px;
  position: relative;
  z-index: 1;
}

.sa-app--calculus   .sa-app__header { background: linear-gradient(135deg, #1E3F6B, #0A1628); }
.sa-app--supervisor .sa-app__header { background: linear-gradient(135deg, #047857, #022C22); }
.sa-app--prof       .sa-app__header { background: linear-gradient(135deg, #B45309, #3B1A00); }
.sa-app--verbetta   .sa-app__header { background: linear-gradient(135deg, #5C2D90, #1E0B38); }

.sa-app__header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.15), transparent, rgba(0,0,0,0.10));
  pointer-events: none;
}

.sa-app__header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.sa-app__header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.sa-app__menu-icon {
  display: flex;
  flex-direction: column;
  gap: 3.5px;
  flex-shrink: 0;
}
.sa-app__menu-icon span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: rgba(255,255,255,0.75);
  border-radius: 2px;
}

.sa-app__agent-avatar {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.sa-app__agent-icon {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: #FBBF24;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 900;
  color: #1A1D26;
  flex-shrink: 0;
  letter-spacing: -0.02em;
  font-family: 'Plus Jakarta Sans', -apple-system, 'Segoe UI', sans-serif;
}

.sa-app__header-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.sa-app__agent-name {
  font-size: 12.5px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sa-app__agent-subject {
  font-size: 10.5px;
  font-weight: 400;
  color: rgba(255,255,255,0.62);
  line-height: 1.25;
  white-space: nowrap;
}

.sa-app__mode-badge {
  font-size: 10px;
  font-weight: 600;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 9999px;
  padding: 5px 10px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: 8px;
}

/* ── Body ── */
.sa-app__body {
  flex: 1;
  background: #F5F7FB;
  border-radius: 28px 28px 0 0;
  margin-top: -24px;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 0;
}

.sa-app__messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overscroll-behavior: contain;
}


/* ── Grupos de mensagem ── */
.sa-app__msg-group {
  display: flex;
  flex-direction: column;
}

.sa-app__msg-group--user {
  align-items: flex-end;
}

.sa-app__msg-group--agent {
  align-items: flex-start;
  gap: 4px;
}

.sa-app__msg-row {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

.sa-app__msg-avatar {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  align-self: flex-end;
}

.sa-app__msg-icon {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: #FBBF24;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8.5px;
  font-weight: 900;
  color: #1A1D26;
  flex-shrink: 0;
  align-self: flex-end;
  letter-spacing: -0.02em;
  font-family: 'Plus Jakarta Sans', -apple-system, 'Segoe UI', sans-serif;
}

/* ── Bubbles ── */
.sa-app__bubble {
  font-size: 11.5px;
  font-weight: 400;
  line-height: 1.52;
  padding: 10px 13px;
  max-width: 88%;
  word-break: break-word;
  font-family: 'Plus Jakarta Sans', -apple-system, 'Segoe UI', sans-serif;
}

.sa-app__bubble--user {
  color: #FFFFFF;
  border-radius: 22px 6px 22px 22px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.sa-app--calculus   .sa-app__bubble--user { background: linear-gradient(135deg, #1E3F6B, #0A1628); }
.sa-app--supervisor .sa-app__bubble--user { background: #2563EB; }
.sa-app--prof       .sa-app__bubble--user { background: linear-gradient(135deg, #B45309, #3B1A00); }
.sa-app--verbetta   .sa-app__bubble--user { background: linear-gradient(135deg, #5C2D90, #1E0B38); }

.sa-app__bubble--agent {
  color: #1A1D26;
  box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

.sa-app--calculus   .sa-app__bubble--agent { background: linear-gradient(135deg, rgba(59,107,168,0.07), rgba(59,107,168,0.12)); }
.sa-app--supervisor .sa-app__bubble--agent { background: linear-gradient(135deg, rgba(4,120,87,0.07),  rgba(4,120,87,0.12)); }
.sa-app--prof       .sa-app__bubble--agent { background: linear-gradient(135deg, rgba(180,83,9,0.07),  rgba(180,83,9,0.12)); }
.sa-app--verbetta   .sa-app__bubble--agent { background: linear-gradient(135deg, rgba(139,92,246,0.07),rgba(139,92,246,0.12)); }

.sa-app__bubble--first  { border-radius: 22px 22px 22px 6px; }
.sa-app__bubble--follow {
  border-radius: 16px 22px 22px 16px;
  margin-left: 40px;
}

/* Bubble com imagem (Verbetta) */
.sa-app__bubble--with-image {
  padding: 8px;
  max-width: 88%;
  border-radius: 22px 6px 22px 22px !important;
}

.sa-app__bubble-img-wrap {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: #C53030;
  margin-bottom: 8px;
}

.sa-app__bubble-img-wrap img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.sa-app__bubble-caption {
  font-size: 11.5px;
  font-weight: 400;
  line-height: 1.45;
  color: #FFFFFF;
  padding: 0 4px;
  font-family: 'Plus Jakarta Sans', -apple-system, 'Segoe UI', sans-serif;
}

/* ── Welcome screen (Prof. Pense-AI) ── */
.sa-app__welcome {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 16px 12px;
  text-align: center;
  gap: 9px;
  min-height: 270px;
  flex-shrink: 0;
}

.sa-app__welcome-icon {
  width: 88px;
  height: 88px;
  border-radius: 26px;
  background: transparent;
  display: block;
  object-fit: contain;
  margin-bottom: 2px;
}

.sa-app__welcome-title {
  font-size: 16px;
  font-weight: 700;
  color: #1A1D26;
  margin: 0;
  font-family: 'Plus Jakarta Sans', -apple-system, 'Segoe UI', sans-serif;
}

.sa-app__welcome-subtitle {
  font-size: 12px;
  font-weight: 400;
  color: #4B5563;
  margin: 0;
  line-height: 1.5;
  font-family: 'Plus Jakarta Sans', -apple-system, 'Segoe UI', sans-serif;
}

.sa-app__welcome-cta {
  font-size: 11.5px;
  font-style: italic;
  color: #9CA3AF;
  margin: 0;
  font-family: 'Plus Jakarta Sans', -apple-system, 'Segoe UI', sans-serif;
}

/* ── Barra de input ── */
.sa-app__input-bar {
  flex-shrink: 0;
  height: 52px;
  background: #F5F7FB;
  border-top: 1px solid rgba(0,0,0,0.07);
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 10px;
  position: relative;
  z-index: 4;
}

.sa-app__input-plus {
  font-size: 22px;
  font-weight: 300;
  color: #9CA3AF;
  line-height: 1;
  flex-shrink: 0;
}

.sa-app__input-placeholder {
  flex: 1;
  font-size: 12px;
  color: #9CA3AF;
  font-family: 'Plus Jakarta Sans', -apple-system, 'Segoe UI', sans-serif;
}

.sa-app__send-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #E5E7EB;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #9CA3AF;
  cursor: default;
}



/* =============================================
   DECK DOS 9 HERÓIS
   ============================================= */

.sa-heroes {
  padding: 6rem 0 10rem;
}

.sa-heroes__header {
  text-align: center;
  margin-bottom: 4rem;
}

.sa-heroes__title {
  font-family: 'Manrope', system-ui, sans-serif;
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--light-gray);
  margin-bottom: 1rem;
}

.sa-heroes__subtitle {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 1.0625rem;
  font-weight: 300;
  color: var(--mid-gray);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Cards grid */
.sa-hero-cards {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1rem;
  padding: 0 1rem;
  max-width: 1366px;
  margin: 0 auto;
}

@media (min-width: 600px) {
  .sa-hero-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .sa-hero-cards {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    padding: 0 2rem;
  }
}

/* Card individual */
.sa-card {
  position: relative;
  aspect-ratio: 3/4;
  cursor: pointer;
  outline: none;
  /* Perspectiva para o flip */
  perspective: 1000px;
}

.sa-card--special {
  grid-column: span 2;
}

[data-hero="prof-pense-ai"] .sa-card__logo-img {
  width: 65%;
}
@media (min-width: 1024px) {
  .sa-card--special {
    grid-column: span 1;
  }
}

.sa-card__border-glow {
  position: absolute;
  inset: -1px;
  border-radius: 12px;
  background: linear-gradient(135deg, #EAB308, #F59E0B, #EAB308);
  opacity: 0.4;
  z-index: 0;
  animation: borderPulse 2s ease-in-out infinite;
}

@keyframes borderPulse {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 0.7; }
}

.sa-card__inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
  -webkit-transition: -webkit-transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
  border-radius: 12px;
  z-index: 1;
}

.sa-card.is-flipped .sa-card__inner {
  transform: rotateY(180deg);
  -webkit-transform: rotateY(180deg);
}

.sa-card__face {
  position: absolute;
  inset: 0;
  border-radius: 12px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
  border: 1px solid var(--border-edge);
}

.sa-card__face--front {
  background: #0d0d0d;  /* fallback enquanto imagem carrega */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 1.25rem;
  text-align: center;
  /* Safari iOS: força camada GPU separada — sem isso backface-visibility é ignorado */
  transform: rotateY(0deg);
  -webkit-transform: rotateY(0deg);
}

.sa-card__face--back {
  background: rgba(21, 21, 21, 0.96);
  transform: rotateY(180deg);
  -webkit-transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.25rem 1.125rem;
  gap: 0.625rem;
}

/* Imagem full-bleed do card (frente) */
.sa-card__card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* Logo flutuante — centralizado na largura total do card */
.sa-card__logo-overlay {
  position: absolute;
  bottom: 2.5rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  z-index: 2;
}

.sa-card__logo-img {
  width: 65%;
  height: auto;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.7));
}

/* Avatar placeholder — mantido como fallback para Prof. Pense-AI */
.sa-card__avatar {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 3.5rem;
  font-weight: 300;
  color: rgba(228, 226, 216, 0.5);
}
.sa-card__avatar--prof { background: linear-gradient(160deg, #713f12, #a16207); }

/* Buble circular no verso — header do card */
.sa-card__back-header {
  display: flex;
  justify-content: center;
  width: 100%;
  flex-shrink: 0;
}

.sa-card__buble-img {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(228, 226, 216, 0.18);
  display: block;
}

.sa-card__name {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 300;
  color: var(--light-gray);
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.sa-card__subject {
  display: block;
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 0.6875rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid-gray);
  margin-bottom: 0.5rem;
}

.sa-card__tagline {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 300;
  color: var(--blue-gray);
  line-height: 1.3;
  margin: 0 0 0.5rem;
}

.sa-card__badge {
  display: inline-block;
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 0.625rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #EAB308;
  border: 1px solid rgba(234, 179, 8, 0.4);
  border-radius: 100px;
  padding: 0.2rem 0.5rem;
  margin-top: 0.5rem;
}

.sa-card__flip-hint {
  display: block;
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(155, 155, 155, 0.5);
  margin-top: 0.75rem;
}

/* Back face */
.sa-card__face--back .sa-card__name {
  font-size: 0.9375rem;
  letter-spacing: 0.06em;
  margin-bottom: 0;
  text-align: center;
}

.sa-card__bio {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 0.9125rem;
  font-weight: 300;
  color: var(--mid-gray);
  line-height: 1.5;
  margin: 0;
  flex: 1;
  text-align: center;
}

.sa-card__meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  margin-top: auto;
  width: 100%;
}

.sa-card__meta-tag {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: var(--mid-gray);
  border: 1px solid var(--border-edge);
  border-radius: 100px;
  padding: 0.3rem 0.75rem;
  display: inline-block;
}

/* Logo em texto (fallback para Prof. Pense-AI sem arte) */
.sa-card__logo-text {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #EAB308;
  white-space: nowrap;
}

/* Placeholder circular no verso do Prof. Pense-AI */
.sa-card__buble-placeholder {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: linear-gradient(160deg, #713f12, #a16207);
  border: 2px solid rgba(234, 179, 8, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: rgba(234, 179, 8, 0.8);
}

/* Focus visible para acessibilidade */
.sa-card:focus-visible .sa-card__inner {
  box-shadow: 0 0 0 2px var(--light-gray);
}


/* =============================================
   COMPARATIVO
   ============================================= */

.sa-comparison {
  padding: 8rem 0 10rem;
  border-top: 1px solid var(--border-edge);
}

.sa-comparison__title {
  font-family: 'Manrope', system-ui, sans-serif;
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--light-gray);
  margin-bottom: 3rem;
}

.sa-comparison__table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.sa-comparison__table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 300;
}

.sa-comparison__table th {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid-gray);
  padding: 1rem 1.25rem;
  text-align: center;
  border-bottom: 1px solid var(--border-edge);
}
.sa-comparison__table th:first-child {
  text-align: left;
}

.sa-comparison__table td {
  padding: 0.875rem 1.25rem;
  color: var(--mid-gray);
  border-bottom: 1px solid rgba(224, 232, 236, 0.1);
  text-align: center;
  line-height: 1.4;
}
.sa-comparison__table td:first-child {
  text-align: left;
  color: var(--light-gray);
}
.sa-comparison__table tr:hover td {
  background: rgba(255,255,255,0.02);
}

.sa-comparison__col--ours {
  background: rgba(228, 226, 216, 0.04);
  border-left: 1px solid rgba(228, 226, 216, 0.15);
  border-right: 1px solid rgba(228, 226, 216, 0.15);
}
.sa-comparison__table thead .sa-comparison__col--ours {
  color: var(--light-gray) !important;
}

.sa-comparison__row--price td {
  font-size: 1rem;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}
.sa-comparison__price--ours {
  color: var(--light-gray) !important;
  font-size: 1.125rem !important;
}

.check-icon { font-size: 1rem; }
.check-icon--no { opacity: 0.4; }

.sa-comparison__footnote {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 0.75rem;
  color: var(--mid-gray);
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}

.sa-comparison__closing {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 300;
  color: var(--light-gray);
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin: 0;
}


/* =============================================
   PLANOS
   ============================================= */

.sa-plans {
  padding: 8rem 0 0;
  border-top: 1px solid var(--border-edge);
}

.sa-plans__title {
  font-family: 'Manrope', system-ui, sans-serif;
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--light-gray);
  margin-bottom: 0.75rem;
}

.sa-plans__subtitle {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 300;
  color: var(--mid-gray);
  margin-bottom: 1.75rem;
}

/* Billing Period Toggle */
.sa-billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-edge);
  border-radius: 100px;
  padding: 4px;
  width: fit-content;
  margin: 0 auto 2.5rem;
  position: relative;
}

.sa-billing-toggle__btn {
  position: relative;
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--mid-gray);
  background: transparent;
  border: none;
  border-radius: 100px;
  padding: 0.5rem 1.375rem;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
  line-height: 1;
}

.sa-billing-toggle__btn--active,
.sa-billing-toggle__btn[aria-pressed="true"] {
  background: #ffffff;
  color: #0d0d0d;
}

.sa-billing-toggle__btn:focus-visible {
  outline: 2px solid var(--light-gray);
  outline-offset: 2px;
}

.sa-billing-toggle__btn--has-badge {
  padding-top: 0.5rem;
}

.sa-billing-toggle__badge {
  position: absolute;
  top: -1.25rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #0d0d0d;
  background: var(--light-gray);
  border-radius: 100px;
  padding: 2px 8px;
  white-space: nowrap;
  pointer-events: none;
}

@media (max-width: 400px) {
  .sa-billing-toggle__btn {
    font-size: 0.78rem;
    padding: 0.5rem 0.875rem;
  }
}

.sa-plans__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .sa-plans__cards {
    grid-template-columns: 1fr 1fr;
    max-width: 860px;
  }
  .sa-plan-card--institutional {
    grid-column: 1 / -1;
    max-width: 540px;
    margin: 0 auto;
    width: 100%;
  }
}

@media (min-width: 1100px) {
  .sa-plans__cards {
    grid-template-columns: 1fr 1fr 1fr;
    max-width: 1200px;
  }
  .sa-plan-card--institutional {
    grid-column: auto;
    max-width: none;
    margin: 0;
  }
}

.sa-plan-card {
  position: relative;
  border: 1px solid var(--border-edge);
  border-radius: 16px;
  overflow: visible;
}

.sa-plan-card--featured {
  border-color: rgba(228, 226, 216, 0.4);
  animation: planFloat 3s ease-in-out infinite;
  animation-delay: 1s;
}

@keyframes planFloat {
  0%, 100% { translate: 0 0; }
  50%       { translate: 0 -6px; }
}

.sa-plan-card__badge {
  position: absolute;
  top: -0.875rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 0.6875rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dark-gray);
  background: var(--light-gray);
  border-radius: 100px;
  padding: 0.3rem 0.875rem;
  white-space: nowrap;
  z-index: 1;
}

.sa-plan-card__inner {
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sa-plan-card__name {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--light-gray);
  letter-spacing: -0.01em;
  margin-bottom: 0.375rem;
}

.sa-plan-card__tagline {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--mid-gray);
  margin: 0;
}

.sa-plan-card__price {
  display: flex;
  align-items: baseline;
  gap: 0.125rem;
}

.sa-plan-card__currency {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--light-gray);
  align-self: flex-start;
  margin-top: 0.5rem;
}

.sa-plan-card__amount {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 4rem;
  font-weight: 300;
  color: var(--light-gray);
  line-height: 1;
  letter-spacing: -0.03em;
}

.sa-plan-card__cents {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--light-gray);
}

.sa-plan-card__period {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--mid-gray);
  margin-left: 0.25rem;
}

.sa-plan-card__price-sub {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--mid-gray);
  margin: 0.25rem 0 0;
  min-height: 1.1em;
}

.sa-plan-card__price-note {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 300;
  color: rgba(228, 226, 216, 0.4);
  margin: 0.2rem 0 0;
  min-height: 1.1em;
}

.sa-plan-card__features {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.sa-plan-card__features li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--mid-gray);
  line-height: 1.3;
}

.sa-plan-check {
  color: var(--light-gray);
  flex-shrink: 0;
}
.sa-plan-check--gold {
  color: #EAB308;
}

.sa-plan-card__cta {
  width: 100%;
  justify-content: center;
}

/* Garantia */
.sa-guarantee {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2rem;
  border: 1px solid var(--border-edge);
  border-radius: 12px;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .sa-guarantee {
    max-width: 860px;
  }
}

@media (min-width: 1100px) {
  .sa-guarantee {
    max-width: 1200px;
  }
}

.sa-guarantee__icon {
  flex-shrink: 0;
  opacity: 0.7;
}

.sa-guarantee__title {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--light-gray);
  margin-bottom: 0.5rem;
}

.sa-guarantee__text {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--mid-gray);
  line-height: 1.5;
  margin: 0;
}


/* =============================================
   PLATAFORMA COLÉGIOS — card institucional
   ============================================= */

.sa-plan-card--institutional {
  background: linear-gradient(160deg, rgba(255,255,255,0.025) 0%, rgba(180,210,255,0.04) 100%);
  border-color: rgba(255, 255, 255, 0.12);
  align-self: start;
}

.sa-plan-card--institutional .sa-plan-card__inner {
  gap: 0;
}

.sa-plan-card__badge--institutional {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(228, 226, 216, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.15);
  letter-spacing: 0.12em;
}

.sa-college__intro {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--mid-gray);
  line-height: 1.6;
  margin: 0 0 1.5rem;
}

/* Módulos */
.sa-college-module {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.125rem 0;
}

.sa-college-module:last-of-type {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 1.5rem;
}

.sa-college-module__title {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--light-gray);
  margin-bottom: 0.375rem;
}

.sa-college-module__desc {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 300;
  color: var(--mid-gray);
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.sa-college-module__list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.sa-college-module__list li {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 300;
  color: var(--mid-gray);
  line-height: 1.45;
  padding-left: 1rem;
  position: relative;
}

.sa-college-module__list li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: rgba(228, 226, 216, 0.4);
}

/* Badge EXCLUSIVO */
.sa-badge--exclusive {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 100px;
  padding: 2px 7px;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(228, 226, 216, 0.9);
  vertical-align: middle;
  margin-left: 4px;
  white-space: nowrap;
}

/* CTA outline institucional */
.sa-plan-card__cta--institutional {
  width: 100%;
  justify-content: center;
  background: transparent;
  color: var(--light-gray);
  border: 1px solid rgba(228, 226, 216, 0.5);
  border-radius: 8px;
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 0.875rem 1.5rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  text-align: center;
}

.sa-plan-card__cta--institutional:hover {
  background: #ffffff;
  color: #0d0d0d;
  border-color: #ffffff;
}

.sa-college__microcopy {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 300;
  color: var(--mid-gray);
  opacity: 0.6;
  text-align: center;
  margin-top: 0.625rem;
  margin-bottom: 0;
}

/* =============================================
   MODAL COLÉGIOS
   ============================================= */

.sa-college-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.sa-college-modal.is-open {
  display: flex;
}

.sa-college-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.sa-college-modal__box {
  position: relative;
  z-index: 1;
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.5rem 2rem;
  transform: scale(0.95);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.sa-college-modal.is-open .sa-college-modal__box {
  transform: scale(1);
  opacity: 1;
}

.sa-college-modal__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0.5;
  padding: 4px;
  transition: opacity 0.2s ease;
}

.sa-college-modal__close:hover {
  opacity: 1;
}

.sa-college-modal__title {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 1.375rem;
  font-weight: 300;
  color: var(--light-gray);
  letter-spacing: 0.02em;
  margin-bottom: 0.375rem;
}

.sa-college-modal__subtitle {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--mid-gray);
  margin-bottom: 1.75rem;
}

.sa-college-modal__form {
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
}

.sa-college-modal__form .sa-form-group select,
.sa-college-modal__form .sa-form-group textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-edge);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--light-gray);
  outline: none;
  transition: border-color 0.2s ease;
  width: 100%;
}

.sa-college-modal__form .sa-form-group select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23888' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.sa-college-modal__form .sa-form-group select:focus,
.sa-college-modal__form .sa-form-group textarea:focus {
  border-color: rgba(228, 226, 216, 0.6);
}

.sa-college-modal__form .sa-form-group select option {
  background: #1a1a1a;
  color: var(--light-gray);
}

.sa-college-modal__form .sa-form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.sa-college-modal__form .sa-form-group textarea::placeholder,
.sa-college-modal__form .sa-form-group select::placeholder {
  color: var(--mid-gray);
  opacity: 0.5;
}

.sa-form-optional {
  font-size: 0.7rem;
  opacity: 0.5;
  font-weight: 300;
}

.sa-college-modal__submit {
  width: 100%;
  justify-content: center;
  margin-top: 0.5rem;
}

.sa-college-modal__success {
  text-align: center;
  padding: 2rem 0;
}

.sa-college-modal__success-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.sa-college-modal__success-title {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 1.125rem;
  font-weight: 300;
  color: var(--light-gray);
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
}

.sa-college-modal__success-text {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--mid-gray);
  line-height: 1.5;
}

/* =============================================
   FOOTER
   ============================================= */

.sa-footer {
  padding: 4rem 0 3rem;
  border-top: 1px solid var(--border-edge);
}

.sa-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .sa-footer__inner {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }
}

.sa-footer__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  margin-bottom: 0.5rem;
}
.sa-footer__logo img {
  height: 1.75rem;
  width: auto;
}
.sa-footer__logo-text {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 1rem;
  color: var(--light-gray);
}

.sa-footer__tagline {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 300;
  color: var(--mid-gray);
  margin: 0;
}

.sa-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.sa-footer__nav a {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 300;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mid-gray);
  text-decoration: none;
  transition: color 0.2s ease;
}
.sa-footer__nav a:hover {
  color: var(--light-gray);
}

.sa-footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
@media (min-width: 640px) {
  .sa-footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.sa-footer__bottom p {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--mid-gray);
  margin: 0;
}

.sa-footer__legal {
  opacity: 0.6;
}


/* =============================================
   OVERLAY TRANSACIONAL
   ============================================= */

.sa-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--dark-gray);
  display: none;
  overflow-y: auto;
  overscroll-behavior: contain;
  clip-path: circle(0% at 50% 50%);
}

.sa-overlay.is-open {
  display: flex;
}

.sa-overlay__inner {
  width: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

/* Header do overlay */
.sa-overlay__header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(21, 21, 21, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-edge);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.sa-overlay__step-label {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mid-gray);
  flex: 1;
}

.sa-overlay__steps-indicator {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.sa-overlay__step-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mid-gray);
  opacity: 0.3;
  transition: all 0.3s ease;
}
.sa-overlay__step-dot--active {
  opacity: 1;
  background: var(--light-gray);
  width: 20px;
  border-radius: 3px;
}

.sa-overlay__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  background: transparent;
  border: 1px solid var(--border-edge);
  border-radius: 50%;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.2s ease;
}
.sa-overlay__close:hover {
  border-color: var(--light-gray);
}

/* Steps */
.sa-overlay__step {
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 3rem 1rem;
}

.sa-overlay__step-content {
  width: 100%;
  max-width: 520px;
}

.sa-overlay__step-title {
  font-family: 'Manrope', system-ui, sans-serif;
  font-weight: 300;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--light-gray);
  margin-bottom: 0.5rem;
}

.sa-overlay__step-subtitle {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--mid-gray);
  margin-bottom: 2.5rem;
}

/* Resumo do pedido — linha discreta abaixo do título */
.sa-order-summary {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.75rem;
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.sa-order-summary__row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
}
.sa-order-summary__plan {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--light-gray);
}
.sa-order-summary__period-badge {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(129,236,236,0.85);
  border: 1px solid rgba(129,236,236,0.25);
  border-radius: 20px;
  padding: 0.1rem 0.5rem;
}
.sa-order-summary__value {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}
.sa-order-summary__desc {
  display: none; /* simplificado — info já está no badge de período */
}

/* Formulário de pagamento */
.sa-payment-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Wrapper de campos (ocultado após QR gerado) — herda o layout flex */
#paymentFormFields {
  display: contents; /* transparent wrapper — não quebra o flex-gap do form pai */
}

.sa-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sa-form-group label {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mid-gray);
}

.sa-form-group input {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-edge);
  border-radius: 8px;
  padding: 0.875rem 1rem;
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--light-gray);
  outline: none;
  transition: border-color 0.2s ease;
}
.sa-form-group input:focus {
  border-color: rgba(228, 226, 216, 0.6);
}
.sa-form-group input::placeholder {
  color: var(--mid-gray);
  opacity: 0.5;
}

.sa-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Métodos de pagamento */
.sa-payment-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.sa-payment-method {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  padding: 1rem;
  background: transparent;
  border: 1px solid var(--border-edge);
  border-radius: 8px;
  cursor: pointer;
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 300;
  color: var(--mid-gray);
  transition: all 0.2s ease;
}
.sa-payment-method--active {
  border-color: rgba(228, 226, 216, 0.8);
  border-width: 2px;
  color: var(--light-gray);
  background: rgba(228, 226, 216, 0.08);
  font-weight: 600;
  box-shadow: 0 0 0 1px rgba(228, 226, 216, 0.12);
}

.sa-payment-method__icon {
  font-size: 1.25rem;
}

.sa-payment-method__badge {
  font-size: 0.625rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #4ade80;
}

/* PIX mock */
.sa-pix-mock {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  padding: 2rem;
  border: 1px solid var(--border-edge);
  border-radius: 12px;
}

.sa-pix-qr__placeholder {
  width: 180px;
  height: 180px;
  background: rgba(255,255,255,0.04);
  border: 1px dashed var(--border-edge);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-align: center;
  padding: 1rem;
}

.sa-pix-qr__placeholder span {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 0.75rem;
  color: var(--mid-gray);
  letter-spacing: 0.06em;
}
.sa-pix-qr__placeholder small {
  font-size: 0.625rem;
  color: var(--mid-gray);
  opacity: 0.5;
}

.sa-pix-copy {
  display: flex;
  gap: 0.75rem;
  width: 100%;
}
.sa-pix-copy input {
  flex: 1;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-edge);
  border-radius: 6px;
  padding: 0.625rem 0.875rem;
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 0.6875rem;
  color: var(--mid-gray);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sa-pix-copy-btn {
  background: transparent;
  border: 1px solid var(--border-edge);
  border-radius: 6px;
  padding: 0.625rem 1rem;
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--light-gray);
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.2s ease;
}
.sa-pix-copy-btn:hover {
  border-color: var(--light-gray);
}

.sa-pix-timer {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 300;
  color: var(--mid-gray);
  margin: 0;
}

/* Submit */
.sa-payment-submit {
  width: 100%;
  justify-content: center;
  position: relative;
}
.sa-payment-submit__loading {
  display: none;
}
.sa-payment-submit.is-loading .sa-payment-submit__text {
  display: none;
}
.sa-payment-submit.is-loading .sa-payment-submit__loading {
  display: block;
}

.sa-payment-security {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  color: rgba(228, 226, 216, 0.45);
  margin: 0;
  padding-top: 0.25rem;
}
.sa-payment-security__logo {
  height: 22px;
  width: auto;
  opacity: 0.7;
}

/* Vídeo — formato vertical (9:16) */
.sa-video-wrap {
  margin: 0 auto 1.25rem;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 9/16;
  width: min(294px, 80vw);
  flex-shrink: 0;
  position: relative;
}

/* O iframe do YouTube é 16:9 — ampliamos para 316% e centralizamos
   para que o conteúdo vertical preencha o container sem barras pretas */
#leonVideo {
  position: absolute;
  top: 0;
  left: -108%;
  width: 316%;
  height: 100%;
}

#leonVideo iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Botões pós-vídeo — animação de entrada suave (classe adicionada via JS) */
.sa-video-ctas--visible {
  animation: videoCtaReveal 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes videoCtaReveal {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.sa-video-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a1a2e, #0f3460);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.sa-video-placeholder__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.sa-video-play-btn {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(228, 226, 216, 0.15);
  border: 1px solid rgba(228, 226, 216, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.sa-video-play-btn:hover {
  background: rgba(228, 226, 216, 0.25);
  transform: scale(1.05);
}

.sa-video-placeholder__text p {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--light-gray);
  margin: 0;
  line-height: 1.4;
}
.sa-video-placeholder__text p:last-child {
  color: var(--mid-gray);
  font-size: 0.8125rem;
}

.sa-video-ctas {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.sa-video-ctas .btn {
  justify-content: center;
}

.sa-skip-btn {
  font-size: 0.8125rem;
}

/* Questionário */
.sa-overlay__step-content--questionnaire {
  max-width: 600px;
}

.sa-questionnaire__progress {
  position: relative;
  height: 2px;
  background: rgba(228, 226, 216, 0.1);
  border-radius: 2px;
  margin-bottom: 3rem;
}

.sa-questionnaire__progress-bar {
  height: 100%;
  background: var(--light-gray);
  border-radius: 2px;
  transition: width 0.4s ease;
  width: 0%;
}

.sa-questionnaire__progress-label {
  position: absolute;
  right: 0;
  top: -1.5rem;
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  color: var(--mid-gray);
}


/* =============================================
   FAQ — ACCORDION
   ============================================= */

.sa-faq {
  padding: 20px 0 6rem;
}

.sa-faq__header {
  max-width: 720px;
  margin: 0 auto 3.5rem;
  text-align: left;
}

.sa-faq__title {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--light-gray);
  line-height: 1.25;
  margin: 0 0 0.75rem;
}

.sa-faq__subtitle {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 300;
  color: var(--mid-gray);
  line-height: 1.6;
  margin: 0;
}

.sa-faq__list {
  max-width: 720px;
  margin: 0 auto;
}

/* Item */
.sa-faq__item {
  border-bottom: 1px solid var(--border-edge);
}
.sa-faq__item:first-child {
  border-top: 1px solid var(--border-edge);
}

/* Remove marcador padrão do details */
.sa-faq__item summary::-webkit-details-marker {
  display: none;
}
.sa-faq__item summary::marker {
  content: none;
}

/* Pergunta — linha clicável */
.sa-faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  cursor: pointer;
  list-style: none;
  min-height: 48px; /* acessibilidade tátil mobile */
  color: var(--light-gray);
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
  transition: color 0.15s ease;
}

@media (min-width: 768px) {
  .sa-faq__question {
    font-size: 1.0625rem;
    padding: 1.375rem 0;
  }
}

.sa-faq__item[open] > .sa-faq__question {
  color: var(--blue-gray);
}

/* Chevron */
.sa-faq__chevron {
  flex-shrink: 0;
  color: var(--mid-gray);
  transition: transform 0.15s ease-in-out, color 0.15s ease;
}

.sa-faq__item[open] > .sa-faq__question .sa-faq__chevron {
  transform: rotate(180deg);
  color: var(--blue-gray);
}

/* Resposta */
.sa-faq__answer {
  overflow: hidden;
  animation: faqOpen 0.15s ease-in-out;
}

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

.sa-faq__answer p {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--mid-gray);
  line-height: 1.7;
  margin: 0 0 1.375rem;
  padding-right: 2.5rem; /* evita colidir com área do chevron */
}

/* Deep dive links — leitura recomendada */
.sa-faq__deepdive {
  max-width: 720px;
  margin: 2.5rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid var(--border-edge);
}

.sa-faq__deepdive-label {
  display: block;
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 0.6875rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mid-gray);
  margin-bottom: 1rem;
}

.sa-faq__deepdive-links {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

@media (min-width: 640px) {
  .sa-faq__deepdive-links {
    flex-direction: row;
    gap: 1rem;
  }
}

.sa-faq__deepdive-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--blue-gray);
  text-decoration: none;
  transition: color 0.2s ease, gap 0.2s ease;
}

.sa-faq__deepdive-link:hover {
  color: var(--light-gray);
  gap: 0.75rem;
}

.sa-questionnaire__body {
  min-height: 300px;
}

/* Questão individual */
.sa-question {
  display: none;
}
.sa-question.is-active {
  display: block;
}

.sa-question__text {
  font-family: 'Manrope', system-ui, sans-serif;
  font-weight: 300;
  font-size: clamp(1.375rem, 3vw, 2rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--light-gray);
  margin-bottom: 0.5rem;
}

.sa-question__subtitle {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--mid-gray);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.sa-question__optional {
  display: inline-block;
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mid-gray);
  border: 1px solid var(--border-edge);
  border-radius: 100px;
  padding: 0.2rem 0.625rem;
  margin-bottom: 1.5rem;
}

.sa-question__options {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.sa-option {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.875rem 1.125rem;
  background: transparent;
  border: 1px solid var(--border-edge);
  border-radius: 8px;
  cursor: pointer;
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--mid-gray);
  text-align: left;
  transition: all 0.2s ease;
  width: 100%;
}
.sa-option:hover {
  border-color: rgba(228, 226, 216, 0.4);
  color: var(--light-gray);
}
.sa-option.is-selected {
  border-color: rgba(228, 226, 216, 0.7);
  color: var(--light-gray);
  background: rgba(228, 226, 216, 0.05);
}

.sa-option__letter {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  border: 1px solid var(--border-edge);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.sa-option.is-selected .sa-option__letter {
  background: var(--light-gray);
  color: var(--dark-gray);
  border-color: var(--light-gray);
}

.sa-question__textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-edge);
  border-radius: 8px;
  padding: 1rem;
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--light-gray);
  outline: none;
  resize: vertical;
  min-height: 120px;
  transition: border-color 0.2s ease;
}
.sa-question__textarea:focus {
  border-color: rgba(228, 226, 216, 0.6);
}
.sa-question__textarea::placeholder {
  color: var(--mid-gray);
  opacity: 0.5;
}

.sa-questionnaire__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2.5rem;
}

/* Boas-vindas */
.sa-overlay__step-content--welcome {
  text-align: center;
}

/* Vídeo step 2 — título centralizado + espaço generoso antes do vídeo */
#overlayStep2 .sa-overlay__step-title {
  text-align: center;
  margin-bottom: 1.5rem;
}

.sa-welcome {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.sa-welcome__icon {
  opacity: 0.8;
}

.sa-welcome__title {
  font-family: 'Manrope', system-ui, sans-serif;
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--light-gray);
  margin: 0;
}

.sa-welcome__subtitle {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 1.125rem;
  font-weight: 300;
  color: var(--mid-gray);
  margin: 0;
}

.sa-welcome__text {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--mid-gray);
  max-width: 400px;
  line-height: 1.5;
  margin: 0;
}

.sa-welcome__cta {
  font-size: 1rem;
}

.sa-welcome__email-note {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 300;
  color: var(--mid-gray);
  opacity: 0.6;
  margin: 0;
}


/* =============================================
   ANIMAÇÕES DE ENTRADA (reveal)
   ============================================= */

.sa-reveal {
  opacity: 0;
  transform: translateY(30px);
}

.sa-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}


/* =============================================
   UTILITÁRIOS
   ============================================= */

/* Smooth scroll para âncoras */
html {
  scroll-behavior: smooth;
}

/* Evitar CLS: garante dimensões explícitas em imagens */
.sa-hero__image {
  aspect-ratio: 16/9;
}

/* Container superagentes herda do site */
.sa-hero__content,
.sa-portraits__title,
.sa-heroes .container,
.sa-comparison .container,
.sa-plans .container,
.sa-footer .container {
  padding-left: max(1rem, 5vw);
  padding-right: max(1rem, 5vw);
}

@media (min-width: 1366px) {
  .sa-hero__content,
  .sa-portraits__title,
  .sa-heroes .container,
  .sa-comparison .container,
  .sa-plans .container,
  .sa-footer .container {
    max-width: 1366px;
    margin-left: auto;
    margin-right: auto;
  }
}


/* =============================================
   MODAIS LEGAIS — PRIVACIDADE E TERMOS
   ============================================= */

.sa-legal-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1200;
  justify-content: center;
  align-items: center;
}

.sa-legal-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.sa-legal-modal__panel {
  position: relative;
  z-index: 1;
  background: #1C1C1E;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  max-width: 680px;
  width: calc(100% - 3rem);
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Botão fechar */
.sa-legal-modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.5);
  padding: 4px 8px;
  z-index: 10;
  transition: color 0.15s ease;
  font-family: 'Manrope', system-ui, sans-serif;
}
.sa-legal-modal__close:hover {
  color: #fff;
}

/* Área de scroll */
.sa-legal-modal__scroll {
  overflow-y: auto;
  flex: 1;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.15) transparent;
}
.sa-legal-modal__scroll::-webkit-scrollbar {
  width: 4px;
}
.sa-legal-modal__scroll::-webkit-scrollbar-track {
  background: transparent;
}
.sa-legal-modal__scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
}

/* Fades indicadores de scroll */
.sa-legal-modal__fade-top {
  position: sticky;
  top: 0;
  height: 32px;
  background: linear-gradient(to bottom, #1C1C1E 40%, transparent);
  pointer-events: none;
  z-index: 2;
  margin-bottom: -32px;
  flex-shrink: 0;
}
.sa-legal-modal__fade-bottom {
  position: sticky;
  bottom: 0;
  height: 32px;
  background: linear-gradient(to top, #1C1C1E 40%, transparent);
  pointer-events: none;
  z-index: 2;
  margin-top: -32px;
  flex-shrink: 0;
}

/* Conteúdo do documento */
.sa-legal-modal__content {
  padding: 48px;
  padding-top: 40px;
}

.sa-legal-modal__content h1 {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 22px;
  font-weight: 400;
  color: #ffffff;
  margin: 0 0 6px;
  line-height: 1.3;
}
.sa-legal-date {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 36px;
  display: block;
}
.sa-legal-modal__content h2 {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 10px;
}
.sa-legal-modal__content p {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 12px;
}
.sa-legal-modal__content ul,
.sa-legal-modal__content ol {
  padding-left: 20px;
  margin: 0 0 16px;
}
.sa-legal-modal__content li {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 5px;
}
.sa-legal-sep {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin: 24px 0;
}

/* Placeholders [PREENCHER] */
.sa-fill {
  background: none;
  color: rgba(251, 191, 36, 0.85);
  font-style: normal;
  font-weight: 600;
}

/* =============================================
   MOBILE OVERRIDES — HERO, MENU, CARDS
   ============================================= */

/* Botão topo (mobile) — escondido por padrão no desktop */
.sa-hero__cta-top-mobile {
  display: none;
}

/* ── Hero: fontes, layout e CTAs ── */
@media (max-width: 767px) {
  /* Área do título: ocupa toda a largura, textos maiores */
  .sa-hero__content {
    left: 0;
    right: 0;
    max-width: 100%;
    padding-top: 5rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    text-align: right;
  }
  .sa-hero__title {
    font-size: 3.5rem;
    overflow: visible;
    line-height: 0.93;
    margin-bottom: 0.35rem;
  }
  .sa-hero__subtitle {
    font-size: 1.75rem;
    margin-bottom: 1rem;
  }
  /* Mostrar botão no topo (mobile), ocultar no footer */
  .sa-hero__cta-top-mobile {
    display: inline-flex;
    font-size: 0.8rem;
    padding: 0.75rem 1.25rem;
    margin-top: 0.25rem;
  }
  .sa-hero__cta-bottom-desktop {
    display: none;
  }
  /* Footer: só texto corpo + CTA secundário */
  .sa-hero__footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 0 1.25rem 2rem;
    gap: 0.5rem;
  }
  .sa-hero__footer-left {
    max-width: 100%;
  }
  .sa-hero__body {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 0.4rem;
  }
  .sa-hero__proof {
    font-size: 0.6875rem;
    letter-spacing: 0.03em;
    hyphens: none;
    line-height: 1.5;
  }
  .sa-hero__ctas {
    align-items: flex-start;
  }
  .sa-hero__cta-secondary {
    font-size: 0.8125rem;
  }
}

/* ── Mobile menu: CTA full-width ── */
@media (max-width: 767px) {
  .sa-mobile-menu__cta {
    display: block;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }
}

/* ── Hint retratos: texto e tamanho mobile ── */
@media (max-width: 767px) {
  .sa-portraits__hint {
    font-size: 13px;
  }
}

/* ── Deck heroes: cards 307×406 centralizados no mobile ── */
@media (max-width: 599px) {
  /* Grid vira coluna única centrada */
  .sa-hero-cards {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    padding: 0 1rem;
  }

  /* Cada card: tamanho fixo 307×406px */
  .sa-card {
    width: 307px;
    height: 406px;
    aspect-ratio: unset;
    flex-shrink: 0;
  }

  /* Prof.Pense-AI: mesma dimensão (remove span 2 que não se aplica mais) */
  .sa-card--special {
    grid-column: unset;
    width: 307px;
    height: 406px;
  }

  /* Verso do card proporcional ao tamanho fixo */
  .sa-card__face--back {
    padding: 1.25rem 1rem;
    gap: 0.375rem;
  }
  .sa-card__buble-img {
    width: 64px;
    height: 64px;
  }
  .sa-card__name {
    font-size: 0.9375rem;
    margin-bottom: 0.1rem;
  }
  .sa-card__subject {
    font-size: 0.6875rem;
    margin-bottom: 0.15rem;
  }
  .sa-card__tagline {
    font-size: 0.75rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
  }
  .sa-card__badge {
    font-size: 0.625rem;
    padding: 0.2rem 0.4rem;
    margin-top: 0.15rem;
  }
}


/* Mobile: sheet de baixo */
@media (max-width: 767px) {
  .sa-legal-modal {
    align-items: flex-end;
  }
  .sa-legal-modal__panel {
    width: 100%;
    max-width: 100%;
    border-radius: 20px 20px 0 0;
    max-height: 90vh;
  }
  .sa-legal-modal__content {
    padding: 28px;
    padding-top: 22px;
  }
}

/* =============================================
   CREDENCIAIS DE ACESSO (overlay step 1)
   ============================================= */

.sa-credentials-section {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.25rem;
  border: 1px solid var(--border-edge);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
}

.sa-credentials-label {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid-gray);
  margin: 0;
}

.sa-credentials-hint {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--mid-gray);
  opacity: 0.7;
  margin: 0;
}

.sa-form-group__hint {
  font-weight: 300;
  opacity: 0.6;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.6875rem;
}

/* ── Interstitial multi-filho ─────────────────────────── */
.sa-child-interstitial {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding: 2.5rem 1.5rem;
  text-align: center;
  min-height: 340px;
}

.sa-child-interstitial__icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: rgba(80, 200, 120, 0.15);
  border: 1.5px solid rgba(80, 200, 120, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #50c878;
}

.sa-child-interstitial__title {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--light-gray);
  margin: 0;
}

.sa-child-interstitial__text {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--mid-gray);
  line-height: 1.6;
  max-width: 340px;
  margin: 0;
}

.sa-child-interstitial__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  max-width: 320px;
  margin-top: 0.5rem;
}

/* ─── MINI-FORM (Step 3-mini) ─────────────────────────────────────────────── */

.sa-mini-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 0.25rem 0;
}

.sa-mini-form__header {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.sa-mini-form__label {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mid-gray);
}

.sa-mini-form__title {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: clamp(1.25rem, 3vw, 1.6rem);
  font-weight: 700;
  color: var(--light-gray);
  line-height: 1.2;
  margin: 0;
}

.sa-mini-form__fields {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sa-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.sa-field__label {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--mid-gray);
}

.sa-field__input {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 0.9375rem;
  color: var(--light-gray);
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.sa-field__input:focus {
  border-color: rgba(255, 255, 255, 0.4);
}

.sa-field__input::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.sa-field__select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,0.4)' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.sa-field__select option {
  background: #1a1a1a;
  color: var(--light-gray);
}

.sa-mini-form__error {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 0.8125rem;
  color: #f87171;
  margin: 0;
}

.sa-mini-form__save-wrap {
  width: 100%;
}

.sa-mini-form__post-save {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
}

.sa-mini-form__saved-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.sa-mini-form__saved-item {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: #86efac;
  padding: 0.5rem 0.75rem;
  background: rgba(134, 239, 172, 0.08);
  border-radius: 8px;
}

.sa-mini-form__post-actions {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}

/* Botão "+ Próximo filho" — box com borda filigrana branca */
#miniFormNextChild {
  width: 100%;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  padding: 0.85rem 1.5rem;
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  text-align: center;
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}

#miniFormNextChild:hover {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.sa-mini-form__q-cta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
  margin-top: 30px;
}

@keyframes sa-pulse-hint {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.55; }
}

.sa-mini-form__q-hint {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 0.9rem;
  color: var(--mid-gray);
  text-align: center;
  animation: sa-pulse-hint 2.4s ease-in-out infinite;
}

/* Header dinâmico do questionário por filho */
.sa-questionnaire__child-header {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--mid-gray);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.sa-questionnaire__child-header strong {
  color: var(--light-gray);
  font-weight: 600;
}

/* Botão pular questionário */
.sa-questionnaire__skip-wrap {
  display: flex;
  justify-content: center;
  margin-top: 1.25rem;
}

.sa-questionnaire__skip-link {
  background: none;
  border: none;
  padding: 0.25rem 0;
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 0.8125rem;
  color: var(--mid-gray);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.sa-questionnaire__skip-link:hover {
  color: var(--light-gray);
}

/* ── Promo Code Field ──────────────────────────────────────────────────────── */
.sa-promo-field {
  margin-bottom: 1.25rem;
}
.sa-promo-field__row {
  display: flex;
  gap: 0.5rem;
}
.sa-promo-field__row input {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 0.625rem 0.875rem;
  color: #fff;
  font-family: Manrope, sans-serif;
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.2s;
  letter-spacing: 0.04em;
}
.sa-promo-field__row input:focus {
  border-color: rgba(255,255,255,0.35);
}
.sa-promo-field__row input::placeholder {
  color: rgba(255,255,255,0.35);
  text-transform: none;
}
.sa-promo-field__row button {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px;
  padding: 0 1rem;
  color: #fff;
  font-family: Manrope, sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}
.sa-promo-field__row button:hover {
  background: rgba(255,255,255,0.18);
}
.sa-promo-field__row button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.sa-promo-field__feedback {
  margin: 0.375rem 0 0;
  font-size: 0.8125rem;
  font-family: Manrope, sans-serif;
  min-height: 1.2em;
}
.sa-promo-field__feedback--ok  { color: #34d399; }
.sa-promo-field__feedback--err { color: #f87171; }

.sa-order-summary__original-value {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  text-decoration: line-through;
  margin-right: 0.5rem;
}
