/* ===========================================
   FLUXO DE AUTENTICAÇÃO
   ======================================== */
.auth-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100%;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  text-align: center;
  animation: stepFadeIn 0.3s ease-out forwards;
}

/* Especificidade composta (0,2,0) para vencer o `.material-symbols-rounded { font-size:24px }`
   injetado pela folha do Google, independentemente da ordem de carregamento. */
.material-symbols-rounded.auth-section__icon-hero {
  font-size: clamp(7rem, 32vw, 11rem);
  display: block;
  margin-top: 2rem;
  margin-bottom: 2rem;
  color: var(--a-gold);
  font-variation-settings: 'FILL' 1, 'wght' 700, 'GRAD' 25, 'opsz' 48;
}

.auth-section__title {
  color: var(--p-green);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.1;
}

.auth-section__text {
  max-width: 420px;
  color: var(--t-sub);
  font-size: 1.05rem;
  line-height: 1.5;
}

/* Intencional: container vazio gerenciado dinamicamente pelo Firebase reCAPTCHA */
.auth-section__captcha {}

/* Suprime o badge visual do reCAPTCHA (uso declarado nos termos legais do form) */
.grecaptcha-badge {
  visibility: hidden;
}

.auth-section__legal {
  margin-top: 15px;
  padding: 0 10px;
  color: var(--t-sub);
  font-size: 0.75rem;
  line-height: 1.4;
}

.auth-section__legal a {
  color: var(--p-green);
  font-weight: 600;
  text-decoration: underline;
}

.auth-section__cooldown {
  margin-top: var(--space-md);
  color: var(--t-sub);
  font-size: 0.9rem;
}

/* OTP Grid */
.otp-grid {
  display: flex;
  justify-content: center;
  gap: var(--space-xs);
  margin: var(--space-md) 0;
}

.otp-grid__input {
  width: 45px;
  height: 55px;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--bg-soft);
  text-align: center;
  font-size: 24px;
  font-weight: 800;
  transition: var(--transition);
}

.otp-grid__input:focus {
  border-color: var(--a-gold);
  background: var(--bg-white);
  outline: none;
}


/* ===========================================
   INTRO — CARROSSEL DE APRESENTAÇÃO
   3 painéis com deslize horizontal (scroll-snap nativo)
   + dots sincronizados via JS (auth.js)
   ======================================== */
.intro-carousel {
  width: 100%;
}

.intro-carousel__track {
  display: flex;
  width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;            /* Firefox */
}

.intro-carousel__track::-webkit-scrollbar {
  display: none;                    /* Chrome/Safari */
}

.intro-carousel__slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  scroll-snap-stop: always;         /* impede pular 2 painéis num arrasto forte */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  padding: 0 var(--space-sm);
  box-sizing: border-box;
}

/* Mesmo truque de especificidade composta do icon-hero, em escala menor
   para caber junto do título + texto + dots + botão sem rolagem vertical. */
.material-symbols-rounded.intro-carousel__icon {
  font-size: clamp(5.5rem, 26vw, 8.5rem);
  display: block;
  margin-top: 1rem;
  color: var(--a-gold);
  font-variation-settings: 'FILL' 1, 'wght' 700, 'GRAD' 25, 'opsz' 48;
}

.intro-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: var(--space-md);
}

.intro-carousel__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 99px;
  background: var(--border-mid);
  cursor: pointer;
  transition: var(--transition);
}

.intro-carousel__dot--active {
  width: 22px;
  background: var(--p-green);
}
