/* ============================================================
   ANGOLA NEXT STAR — Mobile-First Design System
   Paleta: Palco Púrpura + Dourado | Fundo #0F0B17 | Branco #FFF
   ============================================================ */

/* ── 1. Variáveis ── */
:root {
  --primary: #8B5CF6;
  --primary-dark: #5B21B6;
  --primary-light: #A78BFA;
  --gold: #F5B301;
  --gold-dark: #B45309;
  --black: #0F0B17;
  --black-soft: #161020;
  --black-card: #1E1730;
  --surface-1: #2A1B4D;
  --black-input: rgba(255, 255, 255, 0.05);
  --white: #FFFFFF;
  --text-muted: rgba(255, 255, 255, 0.58);
  --border: rgba(255, 255, 255, 0.14);
  --border-soft: rgba(255, 255, 255, 0.07);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.40);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.50);
  --shadow-lg: 0 10px 32px rgba(0, 0, 0, 0.45);
  --shadow-gold: 0 0 24px rgba(245, 179, 1, 0.22);
  --shadow-btn: 0 4px 16px rgba(139, 92, 246, 0.32);

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;

  --container: 1200px;
  --container-slim: 680px;

  /* Tipografia fluída */
  --fs-xs: 0.78rem;
  --fs-sm: 0.88rem;
  --fs-base: 1rem;
  --fs-md: 1.1rem;
  --fs-lg: clamp(1.3rem, 3vw, 1.6rem);
  --fs-xl: clamp(1.6rem, 4vw, 2.4rem);
  --fs-hero: clamp(2rem, 6vw, 4rem);
}

/* ── 2. Reset & Base ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  background: var(--black);
  color: var(--white);
  line-height: 1.65;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  max-width: 100vw;
}



h1,
h2,
h3,
h4,
h5,
h6,
.brand,
.btn,
.nav-link,
.stat-value,
.eyebrow {
  font-family: 'Montserrat', sans-serif;
  letter-spacing: -0.01em;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
video {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

ul,
ol {
  list-style: none;
  padding: 0;
}

/* ── 3. Layout Utilitários ── */
.container {
  width: min(var(--container), calc(100% - 32px));
  margin-inline: auto;
}

.container--slim {
  width: min(var(--container-slim), calc(100% - 32px));
  margin-inline: auto;
}

.section-pad {
  padding-block: 40px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  clip: rect(0, 0, 0, 0);
  overflow: hidden;
}

/* ── 4. Header / Navegação Principal (Landing Page) ── */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(15, 11, 23, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(139, 92, 246, 0.22);
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.site-header.is-morphed {
  background: rgba(15, 11, 23, 0.96);
  border-bottom: 1px solid rgba(245, 179, 1, 0.22);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.55), 0 0 16px rgba(139, 92, 246, 0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
  transition: min-height 0.3s ease;
}

.site-header.is-morphed .header-inner {
  min-height: 56px;
}

/* ── Audio Equalizer Visualizer Micro-Interaction ── */

.audio-equalizer {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 13px;
  width: 13px;
  margin-right: 2px;
  flex-shrink: 0;
}

.eq-bar {
  width: 2px;
  background: currentColor;
  border-radius: 1px;
  transform-origin: bottom;
}

.eq-bar:nth-child(1) { height: 50%; animation: eqBounce 0.8s ease-in-out infinite alternate; }
.eq-bar:nth-child(2) { height: 100%; animation: eqBounce 0.6s ease-in-out 0.15s infinite alternate; }
.eq-bar:nth-child(3) { height: 75%; animation: eqBounce 0.9s ease-in-out 0.3s infinite alternate; }
.eq-bar:nth-child(4) { height: 40%; animation: eqBounce 0.7s ease-in-out 0.45s infinite alternate; }

@keyframes eqBounce {
  0%   { transform: scaleY(0.25); opacity: 0.75; }
  100% { transform: scaleY(1); opacity: 1; }
}

.btn:hover .eq-bar {
  animation-duration: 0.35s;
}

@media (prefers-reduced-motion: reduce) {
  .live-pulse-dot { animation: none; }
  .eq-bar { animation: none; }
}


/* Brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  flex-shrink: 0;
  text-decoration: none;
}

.brand-mark {
  width: 64px;
  height: 52px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  padding: 2px 4px;
  transition: width 0.3s ease, height 0.3s ease, transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.brand-mark:hover {
  border-color: rgba(245, 179, 1, 0.45);
  box-shadow: 0 0 14px rgba(245, 179, 1, 0.3);
}

.site-header.is-morphed .brand-mark {
  width: 54px;
  height: 43px;
}



.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--gold);
}

.brand-text small {
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  opacity: 0.85;
  text-transform: uppercase;
}


/* Hamburger — visível por padrão (mobile first) */
.nav-toggle {
  width: 44px;
  height: 44px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 99px;
  margin: 0 auto;
  transition: transform 0.25s, opacity 0.25s;
  transform-origin: center;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Menu móvel: oculto por padrão */
.main-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: absolute;
  top: calc(100% + 6px);
  left: 12px;
  right: 12px;
  background: rgba(22, 16, 32, 0.98);
  border: 1px solid rgba(139, 92, 246, 0.30);
  border-radius: var(--r-lg);
  padding: 16px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px) scaleY(0.96);
  transform-origin: top center;
  transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.22s;
}

.main-nav.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scaleY(1);
}

.main-nav a {
  padding: 10px 12px;
  border-radius: var(--r-sm);
  font-size: var(--fs-base);
  color: rgba(255, 255, 255, 0.80);
  font-weight: 500;
  transition: color 0.2s, background 0.2s, transform 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--white);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.28), rgba(245, 179, 1, 0.14));
  transform: translateX(2px);
}

/* O botao de inscricao do cabecalho.
   Estava a ser anulado por `.btn { display: inline-flex }`, que vem depois no
   ficheiro com a mesma especificidade: o botao continuava a ser desenhado e
   ficava 76px fora do ecra, escondido apenas pelo `overflow-x: hidden` do body.
   O seletor duplo garante que ganha, e a partir de tablet volta a aparecer. */
.header-cta.header-cta {
  display: none;
}

@media (min-width: 640px) {

  /* Mesmo ponto de ruptura que o resto do cabecalho usa para trocar o menu
     de hamburguer pela navegacao horizontal. */
  .header-cta.header-cta {
    display: inline-flex;
  }
}

/* ── 5. Hero ── */
.hero {
  position: relative;
  background: linear-gradient(135deg, #0F0B17 0%, #2A1B4D 55%, #0F0B17 100%);
  overflow: hidden;
  min-height: 480px;
}

.hero-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.hero-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: 100vw;
  height: 56.25vw;
  /* 16:9 ratio */
  min-height: 100vh;
  min-width: 177.77vh;
  /* 16:9 ratio */
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
  opacity: 0.80;
  filter: brightness(0.90) contrast(1.05);
  border: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(15, 11, 23, 0.88) 0%, rgba(42, 27, 77, 0.45) 100%),
    url('https://images.unsplash.com/photo-1516280440614-37939bbacd81?auto=format&fit=crop&w=1200&q=80') center/cover no-repeat;
  transform: scale(1.06);
  z-index: 1;
  pointer-events: none;
}

/* Quando há vídeo de fundo activo, desactiva a imagem estática e usa gradiente translúcido suave */
.hero.has-video .hero-overlay {
  background: linear-gradient(160deg, rgba(15, 11, 23, 0.65) 0%, rgba(42, 27, 77, 0.38) 100%) !important;
  transform: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 380px;
  padding-block: 48px 40px;
  gap: 0;
}

.hero-copy {
  color: var(--white);
}

#hero-title {
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin-bottom: 14px;
  max-width: 560px;
  /* Animação subtil e elegante */
  opacity: 0;
  transform: translateY(12px);
  animation: heroTitleReveal 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.08s forwards;
  will-change: transform, opacity;
}

.hero-copy h1 .gold {
  color: var(--gold);
}

@keyframes heroTitleReveal {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  #hero-title {
    animation: heroTitleFadeOnly 0.3s ease forwards;
  }
  @keyframes heroTitleFadeOnly {
    from { opacity: 0; }
    to   { opacity: 1; }
  }
}

.hero-copy p {
  font-size: var(--fs-md);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.78);
  max-width: 520px;
  line-height: 1.6;
  /* Animação suave e sincronizada */
  opacity: 0;
  transform: translateY(10px);
  animation: heroParagraphReveal 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.18s forwards;
  will-change: transform, opacity;
}

@keyframes heroParagraphReveal {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy p {
    animation: heroParagraphFadeOnly 0.3s ease 0.1s forwards;
  }
  @keyframes heroParagraphFadeOnly {
    from { opacity: 0; }
    to   { opacity: 1; }
  }
}

.prize-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--gold);
  font-weight: 700;
  font-size: var(--fs-sm);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
  letter-spacing: 0.04em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

/* Animação refinada do botão principal "Fazer Inscrição" */
.hero-actions a.btn-primary,
.hero-actions .btn-primary {
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(10px);
  animation: heroCtaButtonReveal 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.26s forwards;
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.35), 0 0 12px rgba(245, 179, 1, 0.18);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.3s ease;
  will-change: transform, opacity;
}

/* Efeito de varrimento de luz (shimmer) no hover do botão de inscrição */
.hero-actions a.btn-primary::after,
.hero-actions .btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 100%
  );
  transform: translateX(-130%) skewX(-20deg);
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.hero-actions a.btn-primary:hover,
.hero-actions .btn-primary:hover {
  transform: translateY(-3px) scale(1.035);
  box-shadow: 0 12px 32px rgba(139, 92, 246, 0.55), 0 0 25px rgba(245, 179, 1, 0.42);
  filter: brightness(1.1);
}

.hero-actions a.btn-primary:hover::after,
.hero-actions .btn-primary:hover::after {
  transform: translateX(130%) skewX(-20deg);
}

.hero-actions a.btn-primary:hover .eq-bar,
.hero-actions .btn-primary:hover .eq-bar {
  animation-duration: 0.32s;
  background-color: var(--gold);
}

@keyframes heroCtaButtonReveal {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-actions a.btn-primary,
  .hero-actions .btn-primary {
    animation: heroCtaFadeOnly 0.3s ease 0.15s forwards;
    transition: none !important;
  }
  @keyframes heroCtaFadeOnly {
    from { opacity: 0; }
    to   { opacity: 1; }
  }
}

/* Animação refinada do botão secundário "Área do Candidato" */
.hero-actions a.btn-secondary,
.hero-actions .btn-secondary {
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(10px);
  animation: heroSecondaryButtonReveal 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.32s forwards;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.3s ease,
              border-color 0.3s ease,
              color 0.3s ease;
  will-change: transform, opacity;
}

/* Efeito de brilho subtil no hover do botão secundário */
.hero-actions a.btn-secondary::after,
.hero-actions .btn-secondary::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(245, 179, 1, 0.25) 50%,
    transparent 100%
  );
  transform: translateX(-130%) skewX(-20deg);
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.hero-actions a.btn-secondary:hover,
.hero-actions .btn-secondary:hover {
  transform: translateY(-3px) scale(1.035);
  background: rgba(245, 179, 1, 0.16);
  border-color: rgba(245, 179, 1, 0.9);
  color: var(--white);
  box-shadow: 0 10px 28px rgba(245, 179, 1, 0.3), 0 0 18px rgba(139, 92, 246, 0.22);
}

.hero-actions a.btn-secondary:hover::after,
.hero-actions .btn-secondary:hover::after {
  transform: translateX(130%) skewX(-20deg);
}

@keyframes heroSecondaryButtonReveal {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-actions a.btn-secondary,
  .hero-actions .btn-secondary {
    animation: heroSecondaryFadeOnly 0.3s ease 0.2s forwards;
    transition: none !important;
  }
  @keyframes heroSecondaryFadeOnly {
    from { opacity: 0; }
    to   { opacity: 1; }
  }
}




.hero-visual {
  display: none;
}

/* aparece em desktop */

/* ── 6. Botões ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: var(--fs-sm);
  border: 1.5px solid transparent;
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
  white-space: nowrap;
  cursor: pointer;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.btn:active {
  transform: translateY(0);
}

/* Estado de submissão: botão desabilitado + spinner */
.btn.is-loading {
  position: relative;
  cursor: wait;
  transform: none;
  filter: brightness(0.94);
  pointer-events: none;
  opacity: 0.92;
}

.btn.is-loading .btn-label {
  opacity: 0.6;
}

.btn.is-loading::before {
  content: '';
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: btn-spin 0.7s linear infinite;
}

.btn--secondary.is-loading::before {
  border: 2px solid rgba(245, 179, 1, 0.35);
  border-top-color: var(--gold);
}

.btn--danger.is-loading::before {
  border: 2px solid rgba(245, 179, 1, 0.35);
  border-top-color: var(--gold);
}

@keyframes btn-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn.is-loading::before {
    animation-duration: 1.4s;
  }
}

.btn--primary {
  background: linear-gradient(135deg, #A78BFA 0%, #5B21B6 55%, #8B5CF6 100%);
  color: var(--white);
  box-shadow: var(--shadow-gold);
}

.btn--primary:hover {
  box-shadow: var(--shadow-btn);
}

.btn--secondary {
  background: rgba(139, 92, 246, 0.10);
  border-color: rgba(245, 179, 1, 0.55);
  color: var(--gold);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

.btn--danger {
  background: rgba(245, 179, 1, 0.08);
  border-color: rgba(245, 179, 1, 0.45);
  color: var(--gold);
}

.btn--sm {
  min-height: 38px;
  padding: 0 16px;
  font-size: var(--fs-xs);
}

.btn--full {
  width: 100%;
  justify-content: center;
}

/* Retrocompatibilidade com classes antigas */
.btn-primary {
  background: linear-gradient(135deg, #A78BFA 0%, #5B21B6 55%, #8B5CF6 100%);
  color: var(--white);
  font-weight: 800;
  box-shadow: var(--shadow-gold);
  border-radius: 999px;
}

.btn-secondary {
  background: rgba(139, 92, 246, 0.10);
  border: 1.5px solid rgba(245, 179, 1, 0.55);
  color: var(--gold);
  border-radius: 999px;
}

/* ── 7. Mini Cards (Fases do concurso) ── */
.lesson-types {
  background: var(--black);
  padding: 0 0 32px;
}

.lesson-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: -28px;
  position: relative;
  z-index: 2;
}

.mini-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  border-radius: var(--r-md);
  background: var(--black-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.2s;
}

.mini-card:hover {
  border-color: rgba(255, 255, 255, 0.38);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.mini-card-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.18), rgba(245, 179, 1, 0.10));
  border-radius: 12px;
}

.mini-card-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--gold);
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mini-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.mini-card p {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin: 0;
}

/* ── 8. Seções de conteúdo ── */
.why-section,
.programs,
.instructors,
.testimonials,
.final-cta {
  padding-block: 48px 32px;
  content-visibility: auto;
  contain-intrinsic-size: auto 500px;
}

.why-section {
  background: var(--black-soft);
}

.programs {
  background: var(--black);
}

.instructors {
  background: var(--black-soft);
}

.testimonials {
  background: var(--black);
}

.section-title {
  font-size: var(--fs-xl);
  font-weight: 800;
  text-align: center;
  color: var(--white);
  margin-bottom: 28px;
  line-height: 1.2;
}

.section-title .gold {
  color: var(--gold);
}

/* Feature Grid */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--black-card);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--r-lg);
  padding: 18px 16px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.25s, transform 0.2s;
}

.feature-item:hover {
  border-color: rgba(255, 255, 255, 0.32);
  transform: translateY(-2px);
}

.feature-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.20), rgba(139, 92, 246, 0.05));
  color: var(--gold);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-item h3 {
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 4px;
}

.feature-item p {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin: 0;
}

/* Program, Instructor, Testimonial Grids */
.program-grid,
.instructor-grid,
.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.program-card,
.instructor-card,
.testimonial-card {
  border-radius: var(--r-lg);
  background: var(--black-card);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.program-card {
  border: 1px solid var(--border);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.program-card:hover,
.instructor-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.program-card:hover {
  border-color: rgba(255, 255, 255, 0.35);
}

.program-card img {
  height: 200px;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.program-content {
  padding: 16px 18px;
  background: linear-gradient(135deg, rgba(15, 11, 23, 0.96), rgba(42, 27, 77, 0.85));
  border-top: 1px solid rgba(139, 92, 246, 0.22);
}

.program-content h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.program-content p {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
}

.instructor-card {
  position: relative;
  min-height: 280px;
}

.instructor-card img {
  height: 280px;
  width: 100%;
}

.instructor-meta {
  position: absolute;
  inset: auto 0 0;
  padding: 16px;
  background: linear-gradient(180deg, transparent, rgba(13, 10, 20, 0.96));
}

.instructor-meta h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 3px;
}

.instructor-meta p {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

.testimonial-card {
  padding: 22px 18px 18px;
  border: 1px solid rgba(255, 255, 255, 0.10);
}

.quote-mark {
  display: block;
  font-size: 2.8rem;
  line-height: 1;
  margin-bottom: 8px;
  color: var(--gold);
  font-family: Georgia, serif;
}

.testimonial-card p {
  font-size: var(--fs-base);
  color: rgba(255, 255, 255, 0.83);
  margin-bottom: 12px;
}

.testimonial-card footer {
  color: var(--gold);
  font-weight: 600;
  font-size: var(--fs-sm);
}

/* ── 9. CTA Final ── */
.final-cta {
  position: relative;
  background: linear-gradient(135deg, #0F0B17 0%, #2A1B4D 50%, #0F0B17 100%);
  padding-block: 52px 44px;
  border-block: 1px solid rgba(139, 92, 246, 0.25);
  text-align: center;
  overflow: hidden;
}

.cta-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: #0F0B17;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.cta-bg-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(15, 11, 23, 0.92) 0%, rgba(42, 27, 77, 0.78) 100%);
}

.final-cta.has-bg .cta-inner {
  position: relative;
  z-index: 1;
}

.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-visual {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 4/3;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-md);
  margin-bottom: 28px;
}

.cta-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  width: 100%;
  margin-bottom: 28px;
}

.cta-gallery .cta-visual {
  margin-bottom: 0;
}

.cta-gallery .cta-visual:only-child {
  max-width: 320px;
}

.cta-copy {
  width: 100%;
}

.cta-inner h2 {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 800;
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: 10px;
}

.cta-inner p {
  color: rgba(255, 255, 255, 0.87);
  font-size: var(--fs-md);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
}

@media (min-width: 760px) {
  .final-cta.has-image .cta-inner {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 48px;
    text-align: left;
  }

  .final-cta.has-image .cta-visual {
    flex-shrink: 0;
    width: 280px;
    margin-bottom: 0;
  }

  .final-cta.has-image .cta-gallery {
    flex-shrink: 0;
    width: auto;
    max-width: 600px;
    justify-content: flex-start;
    margin-bottom: 0;
  }

  .final-cta.has-image .cta-gallery .cta-visual {
    width: 200px;
  }

  .final-cta.has-image .cta-copy {
    text-align: left;
  }

  .final-cta.has-image .cta-inner h2,
  .final-cta.has-image .cta-actions {
    margin-inline: 0;
  }

  .final-cta.has-image .cta-actions {
    justify-content: flex-start;
  }
}

/* ── 10. Footer ── */
.site-footer {
  background: #0B0812;
  padding-top: 32px;
  border-top: 1px solid rgba(139, 92, 246, 0.18);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding-bottom: 20px;
}

.footer-logo {
  color: var(--white);
  gap: 14px;
}

.footer-logo .brand-mark {
  width: 81px;
  height: 64px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  padding: 3px 5px;
}



.footer-logo .brand-text strong {
  font-size: 1.4rem;
}


.footer-links,
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links h3,
.footer-contact h3 {
  font-size: var(--fs-base);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 700;
}

.footer-links-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--fs-sm);
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--fs-sm);
}

.socials {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.socials a {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-weight: 700;
  transition: background 0.2s, border-color 0.2s;
}

.socials a:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.30);
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 14px 0 20px;
}

.footer-bottom-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  color: rgba(255, 255, 255, 0.55);
  font-size: var(--fs-xs);
  text-align: center;
}

/* ── 11. Topbar Páginas Internas ── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 11, 23, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(139, 92, 246, 0.22);
  padding: 0;
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
}

.topbar .brand {
  font-size: 1rem;
  font-weight: 800;
  color: var(--gold);
  flex-shrink: 0;
}

.auth-shell {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100dvh - 56px);
  padding-block: 24px 40px;
}

.login-box {
  width: min(100%, 540px);
  padding: 30px 22px;
  background: linear-gradient(180deg, rgba(30, 23, 48, 0.96), rgba(15, 11, 23, 0.98));
  border: 1px solid rgba(139, 92, 246, 0.28);
}

/* Shell de agendamento: tarefa de selecção em dois eixos (dia × hora),
   precisa de largura para mostrar todas as opções sem scroll horizontal. */
.scheduler-box {
  width: min(100%, 680px);
  padding: 28px 24px;
  background: linear-gradient(180deg, rgba(30, 23, 48, 0.96), rgba(15, 11, 23, 0.98));
  border: 1px solid rgba(139, 92, 246, 0.28);
}

.register-box {
  width: min(100%, 820px);
  padding: 30px 22px;
}

.auth-panel-header {
  margin-bottom: 20px;
}

.eyebrow {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.auth-subtitle {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.96rem;
  line-height: 1.6;
  margin: 0;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.login-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.78);
}

.check-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.check-row input {
  width: 15px;
  height: 15px;
  accent-color: var(--gold);
}

.login-meta a,
.switch-link a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.switch-link {
  margin-top: 10px;
  text-align: center;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.btn-full {
  width: 100%;
  margin-top: 4px;
}

/* Nav topbar responsiva */
.topbar nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.topbar nav a {
  color: rgba(255, 255, 255, 0.70);
  font-size: var(--fs-xs);
  font-weight: 500;
  padding: 6px 10px;
  border-radius: var(--r-sm);
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.topbar nav a:hover {
  color: var(--gold);
  background: rgba(139, 92, 246, 0.14);
}

/* ── 12. Layout de Formulário / Painel ── */
.page-body {
  min-height: calc(100dvh - 56px);
  padding-block: 28px 60px;
}

.signup-box {
  background: var(--black-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-xl);
  padding: 24px 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.55);
}

.auth-page {
  background: radial-gradient(circle at top, rgba(139, 92, 246, 0.22), transparent 45%), var(--black);
}

.signup-box h2 {
  font-size: var(--fs-lg);
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--white);
}

.signup-box>p {
  color: var(--text-muted);
  font-size: var(--fs-sm);
  margin-bottom: 24px;
  margin-top: -10px;
}

.register-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.register-form .grid {
  gap: 16px;
}

.register-form .full-width {
  grid-column: 1 / -1;
}

.register-actions {
  margin-top: 4px;
}

/* ── 13. Formulários ── */
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 20px;
}

label {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

label span,
label>small:first-child {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="date"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: var(--black-input);
  color: var(--white);
  font-size: var(--fs-base);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.30);
}

input::placeholder,
textarea::placeholder {
  color: rgba(255, 255, 255, 0.30);
}

select option {
  background: #161020;
  color: var(--white);
}

textarea {
  resize: vertical;
  min-height: 90px;
}

.field-error {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  color: #FCA5A5;
  font-size: var(--fs-xs);
  font-weight: 600;
  line-height: 1.4;
}

.field-error::before {
  content: '!';
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  font-weight: 800;
  color: #FCA5A5;
  background: rgba(239, 68, 68, 0.22);
  border: 1px solid rgba(239, 68, 68, 0.55);
  border-radius: 50%;
  line-height: 1;
}

/* Estado inválido nos inputs (borda + brilho de erro) */
input.is-invalid,
select.is-invalid,
textarea.is-invalid {
  border-color: rgba(239, 68, 68, 0.65) !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.18);
}

input.is-invalid:focus,
select.is-invalid:focus,
textarea.is-invalid:focus {
  border-color: rgba(239, 68, 68, 0.85);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.28);
}

@keyframes field-shake {

  0%,
  100% {
    transform: translateX(0);
  }

  20% {
    transform: translateX(-6px);
  }

  40% {
    transform: translateX(6px);
  }

  60% {
    transform: translateX(-4px);
  }

  80% {
    transform: translateX(4px);
  }
}

input.is-invalid,
select.is-invalid {
  animation: field-shake 0.3s ease;
}

@media (prefers-reduced-motion: reduce) {

  input.is-invalid,
  select.is-invalid {
    animation: none;
  }
}

/* ── 14. Alertas ── */
.alert {
  position: relative;
  padding: 14px 16px 14px 44px;
  border-radius: var(--r-md);
  font-size: var(--fs-sm);
  font-weight: 500;
  margin-bottom: 16px;
  border: 1px solid transparent;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.55;
}

.alert::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border-radius: 50%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
}

.alert.success::before {
  background-color: rgba(245, 179, 1, 0.30);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FDE68A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

.alert.error::before {
  background-color: rgba(239, 68, 68, 0.30);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FCA5A5' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E");
}

.alert.warning::before {
  background-color: rgba(245, 179, 1, 0.30);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F5B301' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z'/%3E%3Cline x1='12' y1='9' x2='12' y2='13'/%3E%3Cline x1='12' y1='17' x2='12.01' y2='17'/%3E%3C/svg%3E");
}

.alert.info::before {
  background-color: rgba(139, 92, 246, 0.32);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C4B5FD' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='16' x2='12' y2='12'/%3E%3Cline x1='12' y1='8' x2='12.01' y2='8'/%3E%3C/svg%3E");
}

.alert.success {
  background: rgba(245, 179, 1, 0.12);
  border-color: rgba(245, 179, 1, 0.45);
  color: #FDE68A;
}

.alert.error {
  background: rgba(239, 68, 68, 0.10);
  border-color: rgba(239, 68, 68, 0.40);
  color: #FCA5A5;
}

.alert.warning {
  background: rgba(245, 179, 1, 0.12);
  border-color: rgba(245, 179, 1, 0.45);
  color: var(--gold);
}

.alert.info {
  background: rgba(139, 92, 246, 0.14);
  border-color: rgba(139, 92, 246, 0.40);
  color: #C4B5FD;
}

/* Alert de validação (resumo de erros do formulário) */
.alert--validation {
  display: none;
}

.alert--validation.is-visible {
  display: flex;
  animation: alert-in 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.alert--validation strong {
  display: block;
  font-weight: 800;
  margin-bottom: 2px;
}

.alert--validation ul {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.alert--validation li {
  position: relative;
  padding-left: 16px;
}

.alert--validation li::before {
  content: '•';
  position: absolute;
  left: 2px;
  color: currentColor;
}

@keyframes alert-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .alert--validation.is-visible {
    animation: none;
  }
}

/* ── 15. Cards de Info & Summary ── */
.card,
.info-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--r-md);
  padding: 18px;
  margin-top: 16px;
}

.card p,
.info-box p {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 8px;
}

.card p:last-child,
.info-box p:last-child {
  margin-bottom: 0;
}

.card strong,
.info-box strong {
  color: var(--gold);
  font-weight: 700;
}

.summary-box {
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.30);
  border-radius: var(--r-md);
  padding: 18px;
  margin-top: 16px;
}

.summary-box h3 {
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 12px;
}

.summary-box p {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 6px;
}

.summary-box p:last-child {
  margin-bottom: 0;
}

.summary-box strong {
  color: var(--white);
}

/* ── 16. Linha de Ações ── */
.actions-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

/* ── 17. Tabelas Admin (mobile scroll) ── */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--r-md);
  border: 1px solid rgba(255, 255, 255, 0.10);
}

table {
  width: 100%;
  min-width: 540px;
  border-collapse: collapse;
  font-size: var(--fs-sm);
}

thead tr {
  background: rgba(139, 92, 246, 0.22);
}

thead th {
  padding: 11px 14px;
  text-align: left;
  font-weight: 700;
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  white-space: nowrap;
}

tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: background 0.18s;
}

tbody tr:hover {
  background: rgba(255, 255, 255, 0.035);
}

tbody td {
  padding: 10px 14px;
  color: rgba(255, 255, 255, 0.78);
  vertical-align: middle;
}

/* ── 18. Badges ── */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.badge--gold {
  background: rgba(245, 179, 1, 0.16);
  color: var(--gold);
  border: 1px solid rgba(245, 179, 1, 0.45);
}

.badge--purple {
  background: rgba(139, 92, 246, 0.20);
  color: #C4B5FD;
  border: 1px solid rgba(139, 92, 246, 0.50);
}

.badge--success {
  background: rgba(245, 179, 1, 0.16);
  color: #FDE68A;
  border: 1px solid rgba(245, 179, 1, 0.45);
}

.badge--error {
  background: rgba(239, 68, 68, 0.12);
  color: #FCA5A5;
  border: 1px solid rgba(239, 68, 68, 0.40);
}

.badge--muted {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.10);
}

/* ── 19. Dashboard Administrativo Profissional ── */
.admin-page {
  background: #0D0A14;
}

.admin-layout {
  display: flex;
  min-height: 100vh;
}

.admin-sidebar {
  width: 250px;
  min-width: 250px;
  background: linear-gradient(180deg, #1A1329 0%, #120D1D 100%);
  border-right: 1px solid rgba(139, 92, 246, 0.20);
  padding: 24px 14px 20px 18px;
  position: sticky;
  top: 0;
  height: 100vh;
  max-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: width 0.25s ease, min-width 0.25s ease, transform 0.25s ease;
  z-index: 100;
}

.admin-sidebar.is-collapsed {
  width: 80px;
  min-width: 80px;
  padding: 24px 10px 20px;
}

.admin-brand-shell {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 4px 18px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
  overflow: hidden;
}

.admin-sidebar.is-collapsed .admin-brand-shell {
  justify-content: center;
  padding: 0 0 16px 0;
  margin-bottom: 14px;
}

.admin-brand-mark {
  width: 54px;
  height: 44px;
  border-radius: 10px;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.24);
  color: var(--gold);
  font-weight: 800;
  flex-shrink: 0;
  padding: 2px;
}



.admin-brand-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition: opacity 0.2s ease, max-width 0.2s ease;
}

.admin-brand-shell strong,
.admin-brand-shell small {
  display: block;
}

.admin-brand-shell strong {
  font-size: 0.96rem;
  color: var(--white);
}

.admin-brand-shell small {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.52);
}

.admin-sidebar.is-collapsed .admin-brand-copy {
  opacity: 0;
  max-width: 0;
  overflow: hidden;
}

.admin-side-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  padding-right: 4px;
  padding-bottom: 24px;
  scrollbar-width: thin;
  scrollbar-color: rgba(245, 179, 1, 0.25) transparent;
}

.admin-side-nav::-webkit-scrollbar {
  width: 4px;
}

.admin-side-nav::-webkit-scrollbar-track {
  background: transparent;
}

.admin-side-nav::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

.admin-side-nav:hover::-webkit-scrollbar-thumb {
  background: rgba(245, 179, 1, 0.45);
}

.nav-section-title {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.38);
  padding: 14px 14px 4px 14px;
  margin-top: 4px;
}

.nav-section-title:first-child {
  margin-top: 0;
  padding-top: 2px;
}

.admin-side-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.admin-side-nav a:hover:not(.active) {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  transform: translateX(4px);
}

.admin-side-nav a.active {
  background: linear-gradient(90deg, rgba(245, 179, 1, 0.16) 0%, rgba(139, 92, 246, 0.22) 100%);
  border: 1px solid rgba(245, 179, 1, 0.45);
  border-left: 3.5px solid var(--gold);
  color: var(--white);
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.25), inset 0 0 12px rgba(245, 179, 1, 0.06);
}

.admin-side-nav a .nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s, transform 0.2s, filter 0.2s;
  flex-shrink: 0;
}

.admin-side-nav a:hover:not(.active) .nav-icon {
  color: var(--gold);
  transform: scale(1.1);
}

.admin-side-nav a.active .nav-icon {
  color: var(--gold);
  filter: drop-shadow(0 0 8px rgba(245, 179, 1, 0.65));
}

.nav-label {
  white-space: nowrap;
  transition: opacity 0.2s ease, max-width 0.2s ease;
  flex: 1;
}

.nav-active-pill {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
  margin-left: auto;
  flex-shrink: 0;
}

.admin-sidebar.is-collapsed .nav-label,
.admin-sidebar.is-collapsed .nav-active-pill,
.admin-sidebar.is-collapsed .nav-section-title {
  opacity: 0;
  max-width: 0;
  overflow: hidden;
  display: none;
}

.admin-sidebar.is-collapsed .admin-side-nav a {
  justify-content: center;
  padding: 12px 0;
  gap: 0;
  border-radius: 10px;
}

.admin-sidebar.is-collapsed .admin-side-nav a.active {
  border-left-width: 1px;
}

.admin-main {
  flex: 1;
  min-width: 0;
  padding: 28px;
  background: linear-gradient(180deg, rgba(15, 11, 23, 0.92), rgba(13, 10, 20, 1));
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.admin-topbar-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-sidebar-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.02);
  color: var(--white);
  border-radius: 12px;
  cursor: pointer;
}

.admin-topbar h1 {
  margin: 0;
  font-size: clamp(1.6rem, 2vw, 2.4rem);
  color: var(--white);
}

.admin-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}

.stat-box {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 18px;
  padding: 18px 20px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18);
}

.stat-label {
  display: block;
  color: rgba(255, 255, 255, 0.58);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.7rem;
}

.stat-value {
  margin: 12px 0 6px;
  font-size: clamp(1.8rem, 2.6vw, 2.6rem);
  color: var(--gold);
  font-weight: 800;
  line-height: 1;
}

.stat-box small {
  color: rgba(255, 255, 255, 0.6);
}

.admin-panel {
  background: rgba(30, 23, 48, 0.90);
  border: 1px solid rgba(139, 92, 246, 0.22);
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  padding: 18px 0 20px;
}

.panel-header {
  padding: 0 22px 14px;
}

.panel-header h2 {
  margin: 0;
  color: var(--white);
  font-size: 1.1rem;
}

.admin-filters {
  margin: 0 22px 18px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 18px;
}

.filter-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
}

.filters-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(15, 11, 23, 0.75);
  border: 1px solid rgba(139, 92, 246, 0.16);
  border-radius: 12px;
  padding: 12px 12px 10px;
}

.filters-form label span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.64);
  font-weight: 700;
}

.admin-filter-actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.admin-filter-actions .btn {
  min-width: 144px;
}

.admin-content-shell {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.content-editor {
  background: rgba(30, 23, 48, 0.90);
  border: 1px solid rgba(139, 92, 246, 0.22);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.content-editor h2 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.25rem;
  color: var(--white);
}

.content-editor-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 14px;
}

.content-editor-grid label {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 12px;
}

.content-editor-grid textarea {
  min-height: 110px;
}

.content-editor-grid .full-row {
  grid-column: 1 / -1;
}

@media (min-width: 768px) {
  .content-editor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.table-wrap {
  margin: 0 22px 6px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.10);
}

.table-wrap table {
  width: 100%;
  min-width: 760px;
}

thead tr {
  background: rgba(139, 92, 246, 0.22);
}

tbody tr {
  background: rgba(255, 255, 255, 0.01);
}

tbody tr:hover {
  background: rgba(255, 255, 255, 0.04);
}

.status-form {
  margin: 0;
}

.status-change-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-change-wrapper select {
  min-width: 145px;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
  align-items: center;
  margin: 20px 22px 0;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.78);
  font-weight: 600;
}

.pagination a:hover {
  background: rgba(139, 92, 246, 0.18);
  color: var(--gold);
  border-color: rgba(139, 92, 246, 0.40);
}

@media (max-width: 960px) {
  .admin-layout {
    flex-direction: column;
  }

  .admin-sidebar {
    width: 100%;
    min-width: 0;
    height: auto;
    position: static;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    transition: transform 0.25s ease;
  }

  .admin-side-nav {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .admin-sidebar-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .admin-topbar {
    align-items: flex-start;
  }

  .admin-main {
    padding: 18px 16px 22px;
  }

  .admin-filters {
    margin-left: 16px;
    margin-right: 16px;
  }

  .filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .filter-grid {
    grid-template-columns: 1fr;
  }

  .admin-filter-actions {
    justify-content: stretch;
  }

  .admin-filter-actions .btn {
    flex: 1 1 100%;
    min-width: 0;
  }
}

@media (min-width: 961px) {
  .admin-sidebar-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

@media (min-width: 768px) {
  .admin-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .filter-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ── TABLET (≥ 640px) ── */
@media (max-width: 639px) {
  .topbar .container {
    min-height: 52px;
    padding-inline: 8px;
  }

  .topbar .brand {
    font-size: 0.82rem;
    max-width: 140px;
    line-height: 1.2;
  }

  .topbar nav {
    gap: 2px;
  }

  .topbar nav a {
    font-size: 0.72rem;
    padding: 6px 7px;
  }

  .login-box {
    padding: 24px 18px;
  }

  .auth-panel-header {
    margin-bottom: 16px;
  }

  .auth-subtitle {
    font-size: 0.9rem;
  }

  .login-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .login-meta a,
  .switch-link {
    width: 100%;
  }
}

@media (min-width: 640px) {

  /* Header */
  .header-inner {
    min-height: 76px;
  }

  .site-header.is-morphed .header-inner {
    min-height: 58px;
  }

  .brand-mark {
    width: 71px;
    height: 56px;
    border-radius: 14px;
  }

  .site-header.is-morphed .brand-mark {
    width: 58px;
    height: 46px;
  }


  .brand-text strong {
    font-size: 1.45rem;
  }

  .nav-toggle {
    display: none;
  }


  .header-cta {
    display: inline-flex;
  }

  .main-nav {
    position: static;
    display: flex !important;
    flex-direction: row;
    align-items: center;
    gap: 4px;
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
    border-radius: 0;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition: none;
  }

  .main-nav a {
    padding: 6px 12px;
    font-size: var(--fs-sm);
    position: relative;
  }

  .main-nav a.active::after {
    content: '';
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: -4px;
    height: 2px;
    border-radius: 99px;
    background: var(--white);
  }

  /* Hero */
  .hero-inner {
    min-height: 440px;
    padding-block: 60px;
  }

  /* Grids 2 colunas */
  .lesson-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .program-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .instructor-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Footer 3 colunas */
  .footer-inner {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .footer-bottom-row {
    justify-content: space-between;
    text-align: left;
  }

  /* Forms */
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid--full {
    grid-column: 1 / -1;
  }

  .signup-box {
    padding: 32px 36px;
  }

  /* Topbar nav full */
  .topbar nav a {
    font-size: var(--fs-sm);
    padding: 8px 12px;
  }

  /* Filtros em linha */
  .filters {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

/* ── DESKTOP (≥ 1024px) ── */
@media (min-width: 1024px) {

  /* Header */
  .brand-text strong {
    font-size: 1.9rem;
  }

  /* Hero */
  .hero-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    min-height: 580px;
    padding-block: 70px;
    gap: 32px;
  }

  .hero-copy {
    flex: 1.2;
    max-width: 600px;
  }

  .hero-visual {
    display: block;
    position: relative;
    z-index: 1;
    flex: 0.9;
    min-height: 500px;
    background-color: var(--surface-1);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: var(--r-xl) var(--r-xl) 0 0;
    border: 1.5px solid rgba(245, 179, 1, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 20px rgba(139, 92, 246, 0.15);
    transform: translateY(24px);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.4s ease,
                filter 0.4s ease;
  }

  /* Brilho e aura no hover */
  .hero-visual::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(245, 179, 1, 0.45), rgba(139, 92, 246, 0.45));
    opacity: 0;
    z-index: -1;
    transition: opacity 0.45s ease;
    filter: blur(14px);
    pointer-events: none;
  }

  /* Efeito de varrimento de luz (shimmer) ao passar o mouse */
  .hero-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
      115deg,
      transparent 20%,
      rgba(245, 179, 1, 0.15) 42%,
      rgba(255, 255, 255, 0.4) 50%,
      rgba(139, 92, 246, 0.2) 58%,
      transparent 80%
    );
    transform: translateX(-130%) rotate(12deg);
    transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
    opacity: 0;
    pointer-events: none;
    z-index: 3;
  }

  @media (hover: hover) and (pointer: fine) {
    .hero-visual:hover {
      transform: translateY(12px) scale(1.025);
      border-color: rgba(245, 179, 1, 0.65);
      box-shadow: 0 30px 70px rgba(0, 0, 0, 0.65),
                  0 0 35px rgba(245, 179, 1, 0.35),
                  0 0 20px rgba(139, 92, 246, 0.3);
      filter: brightness(1.05) contrast(1.02);
    }

    .hero-visual:hover::before {
      opacity: 0.85;
    }

    .hero-visual:hover::after {
      transform: translateX(130%) rotate(12deg);
      opacity: 1;
    }
  }


  /* Grids 3-4 colunas */
  .lesson-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .program-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .instructor-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* section-pad maior em desktop */
  .why-section,
  .programs,
  .instructors,
  .testimonials {
    padding-block: 64px 40px;
  }

  /* Form grid 3 colunas onde faz sentido */
  .grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ── LARGE (≥ 1280px) ── */
@media (min-width: 1280px) {
  .container {
    width: min(var(--container), calc(100% - 64px));
  }
}

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   WIZARD STEPPER (REGISTO EM 3 ETAPAS)
   ============================================================ */
.wizard-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  position: relative;
}

.stepper-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 2;
  cursor: default;
}

.stepper-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--black-card);
  border: 2px solid var(--border-soft);
  color: var(--text-muted);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.stepper-label {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  font-weight: 600;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
}

.stepper-step.active .stepper-circle {
  background: linear-gradient(135deg, #A78BFA, #8B5CF6);
  border-color: var(--gold);
  color: var(--white);
  box-shadow: 0 0 16px rgba(245, 179, 1, 0.45);
}

.stepper-step.active .stepper-label {
  color: var(--gold);
}

.stepper-step.completed .stepper-circle {
  background: linear-gradient(135deg, #F5B301, #B45309);
  border-color: #F5B301;
  color: var(--white);
}

.stepper-step.completed .stepper-label {
  color: var(--gold);
}

.stepper-line {
  flex: 1;
  height: 2px;
  background: var(--border-soft);
  margin: 0 10px;
  margin-bottom: 22px;
  transition: background 0.3s ease;
}

.wizard-pane {
  display: none;
  animation: fadeInPane 0.3s ease forwards;
}

.wizard-pane.active {
  display: block;
}

@keyframes fadeInPane {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wizard-pane-title {
  font-size: var(--fs-md);
  color: var(--gold);
  margin-bottom: 16px;
  font-family: 'Montserrat', sans-serif;
}

.wizard-pane-desc {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-bottom: 20px;
}

.wizard-nav-actions {
  display: flex;
  flex-direction: column-reverse;
  gap: 12px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--border-soft);
  width: 100%;
}

.wizard-nav-actions .btn {
  white-space: normal;
  text-align: center;
  line-height: 1.35;
  padding: 12px 20px;
  min-height: 48px;
  width: 100%;
}

.btn-submit-final {
  font-size: var(--fs-sm);
  font-weight: 800;
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.35);
}

@media (min-width: 580px) {
  .wizard-nav-actions {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
  }

  .wizard-nav-actions .btn {
    width: auto;
  }

  .btn-step-prev {
    min-width: 130px;
    flex-shrink: 0;
  }

  .btn-submit-final,
  .btn-step-next {
    flex: 1;
    max-width: 380px;
    margin-left: auto;
  }
}

.req {
  color: var(--gold);
}

.field-hint {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-top: 4px;
  display: block;
}

.field-hint.valid {
  color: #FDE68A;
}

.field-hint.invalid {
  color: #FCA5A5;
}

/* ── Photo Live Preview Frame ── */
.photo-upload-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed var(--border);
  border-radius: var(--r-md);
  margin-bottom: 20px;
  text-align: center;
}

@media (min-width: 600px) {
  .photo-upload-container {
    flex-direction: row;
    text-align: left;
    align-items: center;
  }
}

.photo-preview-card {
  width: 140px;
  height: 180px;
  border-radius: var(--r-md);
  border: 2px solid var(--gold);
  background: var(--black);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  flex-shrink: 0;
}

.photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px;
  color: var(--text-muted);
  font-size: var(--fs-xs);
  text-align: center;
  gap: 4px;
}

.photo-icon {
  font-size: 2rem;
  margin-bottom: 4px;
}

.photo-preview-element {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-upload-controls {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn-file-upload {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: 12px 20px;
  border-radius: var(--r-md);
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: var(--fs-sm);
  transition: all 0.2s ease;
  text-align: center;
}

.btn-file-upload:hover {
  background: var(--primary-light);
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.4);
}

.btn-file-upload input[type="file"] {
  display: none;
}

.photo-specs-note {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  line-height: 1.4;
}

.summary-check-box {
  background: rgba(255, 255, 255, 0.03);
  padding: 14px 18px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border-soft);
  margin-bottom: 20px;
}

.terms-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
}

.terms-checkbox-label input {
  margin-top: 4px;
  accent-color: var(--gold);
  width: 18px;
  height: 18px;
}

/* Suporte Contextual & Switch Link */
.register-support-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  margin-top: 24px;
  margin-bottom: 8px;
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.22);
  border-radius: var(--r-md);
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
  width: 100%;
  clear: both;
}

.register-support-box svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--gold);
  margin-top: 2px;
}

.register-support-box a {
  color: var(--gold);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.register-support-box a:hover {
  color: var(--gold-light, #FDE68A);
}

.register-box .switch-link {
  margin-top: 16px;
  padding-top: 12px;
  text-align: center;
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--fs-sm);
  width: 100%;
  clear: both;
}

.register-box .switch-link a {
  color: var(--gold);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  display: inline-block;
  margin-left: 4px;
}

.register-box .switch-link a:hover {
  color: var(--gold-light, #FDE68A);
}

/* ============================================================
   VIP PASS / TICKET CARD (ÁREA DO CANDIDATO)
   ============================================================ */
.vip-ticket-card {
  background: linear-gradient(135deg, #1A1330 0%, #2A1E4D 50%, #1E1730 100%);
  border: 2px solid var(--gold);
  border-radius: var(--r-xl);
  padding: 32px 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(245, 179, 1, 0.20);
  margin-bottom: 32px;
}

.vip-ticket-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.vip-ticket-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 20px;
  margin-bottom: 24px;
}

.vip-badge {
  background: var(--gold);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 9999px;
  box-shadow: 0 2px 10px rgba(255, 255, 255, 0.3);
}

.vip-reg-code {
  font-family: 'Montserrat', monospace;
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.05em;
}

.vip-ticket-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}

@media (min-width: 680px) {
  .vip-ticket-body {
    grid-template-columns: 120px 1fr auto;
  }
}

.vip-photo-shell {
  width: 120px;
  height: 150px;
  border-radius: var(--r-md);
  border: 2px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  margin: 0 auto;
}

.vip-photo-shell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vip-info h2 {
  font-size: var(--fs-lg);
  color: var(--white);
  margin-bottom: 12px;
  font-family: 'Montserrat', sans-serif;
}

.vip-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}

.vip-detail-item strong {
  display: block;
  font-size: var(--fs-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.vip-detail-item span {
  font-size: var(--fs-sm);
  color: var(--gold);
  font-weight: 600;
}

.vip-qr-box {
  background: var(--white);
  padding: 10px;
  border-radius: var(--r-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  width: fit-content;
  margin: 0 auto;
}

.vip-qr-label {
  font-size: 0.65rem;
  color: #121212;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── Linha do Tempo / Tracker de Fases ── */
.status-tracker-card {
  background: var(--black-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  padding: 24px;
  margin-bottom: 32px;
}

.status-tracker-card h3 {
  font-size: var(--fs-md);
  color: var(--gold);
  margin-bottom: 20px;
  font-family: 'Montserrat', sans-serif;
}

.status-progress-track {
  display: flex;
  justify-content: space-between;
  position: relative;
  gap: 10px;
}

.status-progress-track::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 30px;
  right: 30px;
  height: 3px;
  background: var(--border-soft);
  z-index: 1;
}

.track-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 2;
  flex: 1;
  text-align: center;
}

.track-step-bullet {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--black);
  border: 2px solid var(--border-soft);
  color: var(--text-muted);
  font-size: var(--fs-xs);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
}

.track-step.done .track-step-bullet {
  background: linear-gradient(135deg, #F5B301, #B45309);
  border-color: #F5B301;
  color: var(--white);
}

.track-step.current .track-step-bullet {
  background: linear-gradient(135deg, #A78BFA, #8B5CF6);
  border-color: var(--gold);
  color: var(--white);
  box-shadow: 0 0 15px rgba(245, 179, 1, 0.45);
}

.track-step-label {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  font-weight: 600;
}

.track-step.done .track-step-label,
.track-step.current .track-step-label {
  color: var(--white);
}

/* ============================================================
   COUNTDOWN TIMER (HERO SECTION)
   ============================================================ */
#officialCountdown,
.countdown-container {
  margin-top: 24px;
  padding: 14px 18px;
  background: rgba(15, 11, 23, 0.70);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--r-md);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  width: fit-content;
  max-width: 100%;
  /* Entrada suave */
  opacity: 0;
  transform: translateY(10px);
  animation: countdownReveal 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.38s forwards;
  will-change: transform, opacity;
}

@keyframes countdownReveal {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  #officialCountdown,
  .countdown-container {
    animation: countdownFadeOnly 0.3s ease 0.25s forwards;
  }
  @keyframes countdownFadeOnly {
    from { opacity: 0; }
    to   { opacity: 1; }
  }
}


.countdown-title {
  font-size: var(--fs-xs);
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.countdown-grid {
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
}

.countdown-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-sm);
  padding: 8px 12px;
  min-width: 56px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.countdown-block:hover {
  border-color: rgba(245, 179, 1, 0.40);
  transform: translateY(-2px);
}

.countdown-number {
  font-family: 'Montserrat', sans-serif;
  font-size: var(--fs-lg);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
}

.countdown-tag {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-top: 2px;
}

@media (max-width: 540px) {
  .countdown-container {
    width: 100%;
    padding: 12px 14px;
    margin-top: 18px;
  }

  .countdown-grid {
    gap: 6px;
  }

  .countdown-block {
    min-width: 0;
    flex: 1;
    padding: 6px 4px;
  }

  .countdown-number {
    font-size: 1.15rem;
  }

  .countdown-tag {
    font-size: 0.62rem;
  }
}

/* ============================================================
   ADMIN GALLERY VIEW (CARDS GRID)
   ============================================================ */
.admin-view-toggle {
  display: flex;
  background: var(--black-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-sm);
  overflow: hidden;
}

.admin-view-btn {
  padding: 8px 16px;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  transition: all 0.2s ease;
}

.admin-view-btn.active {
  background: var(--primary);
  color: var(--white);
}

.candidates-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.candidate-card-item {
  background: var(--black-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.candidate-card-item:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
}

.candidate-card-top {
  display: flex;
  gap: 14px;
  align-items: center;
}

.candidate-card-photo {
  width: 60px;
  height: 75px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  object-fit: cover;
  background: var(--black);
  flex-shrink: 0;
}

.candidate-card-meta h3 {
  font-size: var(--fs-base);
  color: var(--white);
  margin-bottom: 4px;
}

.candidate-card-code {
  font-size: var(--fs-xs);
  color: var(--gold);
  font-family: monospace;
}

/* ════════════════════════════════════════════════
   TOAST DE SUCESSO (mensagens flash após submissão)
   ════════════════════════════════════════════════ */
.toast-stack {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: min(560px, calc(100vw - 32px));
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  background: var(--black-card);
  box-shadow: var(--shadow-lg);
  font-size: var(--fs-sm);
  font-weight: 500;
  line-height: 1.5;
  color: var(--white);
  animation: toast-in 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast::before {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 50%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 11px;
}

.toast.toast--success {
  border-color: rgba(245, 179, 1, 0.55);
  background: linear-gradient(135deg, rgba(245, 179, 1, 0.16), rgba(245, 179, 1, 0.05)), var(--black-card);
}

.toast.toast--success::before {
  background-color: rgba(245, 179, 1, 0.30);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FDE68A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

.toast.toast--error {
  border-color: rgba(239, 68, 68, 0.55);
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.16), rgba(239, 68, 68, 0.05)), var(--black-card);
}

.toast.toast--error::before {
  background-color: rgba(239, 68, 68, 0.30);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FCA5A5' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E");
}

.toast.toast--warning {
  border-color: rgba(245, 179, 1, 0.55);
  background: linear-gradient(135deg, rgba(245, 179, 1, 0.14), rgba(245, 179, 1, 0.05)), var(--black-card);
}

.toast.toast--warning::before {
  background-color: rgba(245, 179, 1, 0.30);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F5B301' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z'/%3E%3Cline x1='12' y1='9' x2='12' y2='13'/%3E%3Cline x1='12' y1='17' x2='12.01' y2='17'/%3E%3C/svg%3E");
}

.toast.toast--info {
  border-color: rgba(139, 92, 246, 0.55);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.16), rgba(139, 92, 246, 0.05)), var(--black-card);
}

.toast.toast--info::before {
  background-color: rgba(139, 92, 246, 0.32);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C4B5FD' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='16' x2='12' y2='12'/%3E%3Cline x1='12' y1='8' x2='12.01' y2='8'/%3E%3C/svg%3E");
}

.toast-title {
  display: block;
  font-weight: 800;
  margin-bottom: 2px;
}

.toast-close {
  margin-left: auto;
  flex-shrink: 0;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 4px;
}

.toast-close:hover {
  color: var(--white);
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(-12px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.toast.is-leaving {
  animation: toast-out 0.3s ease forwards;
}

@keyframes toast-out {
  to {
    opacity: 0;
    transform: translateY(-12px) scale(0.98);
  }
}

@media (prefers-reduced-motion: reduce) {
  .toast {
    animation: none;
  }

  .toast.is-leaving {
    animation: none;
    opacity: 0;
  }
}

.is-hidden {
  display: none !important;
}

/* ============================================================
   HERO & BRAND SEMANTIC ENHANCEMENTS
   ============================================================ */
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: inherit;
  display: block;
}



.hero-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-height: 100vh;
  min-width: 177.77vh;
  transform: translate(-50%, -50%);
  border: none;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(245, 179, 1, 0.25);
  padding: 5px 12px;
  border-radius: 9999px;
  font-size: var(--fs-xs);
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 14px;
  letter-spacing: 0.03em;
  /* Animação subtil e contida */
  opacity: 0;
  transform: translateY(-6px);
  animation: heroBadgeReveal 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.04s forwards;
  will-change: transform, opacity;
}

@keyframes heroBadgeReveal {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-badge {
    animation: heroBadgeFadeOnly 0.3s ease forwards;
  }
  @keyframes heroBadgeFadeOnly {
    from { opacity: 0; }
    to   { opacity: 1; }
  }
}


.section-lead {
  text-align: center;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 30px;
  font-size: var(--fs-base);
  line-height: 1.6;
}

.cta-visual img {
  border-radius: inherit;
}

/* ============================================================
   CANDIDATE AREA & VIP PASS SEMANTIC CLASSES
   ============================================================ */
.candidate-shell {
  padding-top: 32px;
  padding-bottom: 60px;
}

.alert-email-unconfirmed {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
}

.alert-confirm-link {
  white-space: nowrap;
  font-weight: 700;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.vip-edition-note {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-top: 4px;
}

.vip-photo-empty {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black-card);
  font-size: var(--fs-sm);
  color: var(--text-muted);
  font-weight: 700;
}

.vip-status-val {
  font-weight: 700;
  color: var(--gold);
}

.vip-status-val.status-approved {
  color: var(--gold-light, #FDE68A);
}

.vip-status-val.status-pending {
  color: var(--gold);
}

.vip-qr-img {
  display: block;
  border-radius: var(--r-sm);
}

.vip-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.reschedule-form {
  margin: 0;
}

.btn-reschedule {
  border-color: rgba(245, 179, 1, 0.55);
  color: var(--gold);
}

/* ============================================================
   ENHANCED PHOTO PREVIEW & REGISTRATION SUPPORT
   ============================================================ */
.photo-guide-silhouette {
  width: 52px;
  height: 64px;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-guide-silhouette svg {
  width: 100%;
  height: 100%;
}

.photo-success-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(15, 11, 23, 0.90) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 8px;
  pointer-events: none;
  animation: fadeInPane 0.25s ease forwards;
}

.photo-badge-success {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--gold);
  background: rgba(15, 11, 23, 0.90);
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: 3px 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.photo-file-cta-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-remove-photo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: #FCA5A5;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-remove-photo:hover {
  background: rgba(239, 68, 68, 0.24);
  border-color: rgba(239, 68, 68, 0.60);
}

.photo-status-info {
  font-size: var(--fs-xs);
  color: var(--gold-light, #FDE68A);
  font-weight: 600;
  margin-top: 4px;
}

.photo-field-error {
  margin-top: 8px;
}

.register-support-box {
  margin-top: 24px;
  padding: 12px 18px;
  background: rgba(139, 92, 246, 0.10);
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.5;
}

.register-support-box svg {
  width: 22px;
  height: 22px;
  color: var(--gold);
  flex-shrink: 0;
}

.register-support-box a {
  color: var(--gold);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============================================================
   ADMIN DASHBOARD SEMANTIC REFINEMENTS
   ============================================================ */
.admin-presets-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.preset-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  font-size: var(--fs-xs);
  font-weight: 600;
  border-radius: 999px;
  background: var(--black-soft);
  border: 1px solid var(--border-soft);
  color: var(--text-muted);
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}

.preset-pill:hover,
.preset-pill.is-active {
  background: var(--primary);
  border-color: var(--primary-light);
  color: var(--white);
  box-shadow: 0 2px 10px rgba(139, 92, 246, 0.35);
}

.admin-search-wrapper {
  margin-bottom: 12px;
}

.admin-search-label span {
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 6px;
  display: inline-block;
}

.admin-advanced-filters {
  margin-top: 4px;
  margin-bottom: 16px;
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
  transition: all 0.25s ease;
}

.btn-toggle-filters {
  padding: 12px 16px;
  cursor: pointer;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.88);
  display: flex;
  align-items: center;
  gap: 8px;
  user-select: none;
  background: rgba(255, 255, 255, 0.03);
  outline: none;
}

.btn-toggle-filters:hover {
  color: var(--gold);
  background: rgba(255, 255, 255, 0.06);
}

.filter-toggle-icon {
  width: 16px;
  height: 16px;
  color: var(--gold);
  flex-shrink: 0;
}

.active-filter-badge {
  margin-left: auto;
  background: var(--gold);
  color: var(--black);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.admin-advanced-filters .filter-grid {
  padding: 16px;
  margin-bottom: 0;
  border-top: 1px solid var(--border-soft);
}

.admin-date-range {
  display: flex;
  gap: 8px;
}

.admin-filter-actions {
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
}

.admin-filter-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.candidate-table-photo {
  width: 38px;
  height: 48px;
  border-radius: var(--r-sm);
  object-fit: cover;
  border: 1px solid var(--border);
}

.candidate-table-photo-empty {
  width: 38px;
  height: 48px;
  border-radius: var(--r-sm);
  background: var(--black-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  color: var(--text-muted);
  font-weight: 700;
  border: 1px dashed var(--border-soft);
  text-align: center;
}

.candidate-code-link {
  color: var(--gold);
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
}

.candidate-ticket-link {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.candidate-name-link {
  color: var(--white);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.2);
  text-underline-offset: 2px;
}

.candidate-meta-muted {
  color: var(--text-muted);
}

.candidate-location-main {
  color: var(--white);
  font-weight: 600;
}

.candidate-location-sub {
  color: var(--text-muted);
}

.audition-date-tag.is-scheduled {
  color: var(--gold-light, #FDE68A);
  font-weight: 700;
  font-size: var(--fs-xs);
}

.audition-date-tag.is-pending {
  color: var(--text-muted);
  font-size: var(--fs-xs);
}

/* View Switcher Toggle (Tabela vs Cartões) */
.admin-view-toggle {
  display: inline-flex;
  background: var(--black-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  padding: 3px;
  gap: 3px;
}

.admin-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: var(--fs-xs);
  font-weight: 700;
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--text-muted);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.admin-view-btn:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
}

.admin-view-btn.is-active,
.admin-view-btn.active {
  background: linear-gradient(135deg, var(--gold), #D97706);
  color: #000;
  box-shadow: 0 2px 8px rgba(245, 179, 1, 0.3);
  font-weight: 800;
}

/* VISTA 2: Grelha de Cartões VIP (Casting Cards Grid) */
.candidates-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.candidate-card-item {
  background: var(--black-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-xl);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.candidate-card-item:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 16px rgba(245, 179, 1, 0.15);
}

.candidate-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.candidate-card-photo {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  background: var(--black-soft);
  flex-shrink: 0;
}

.candidate-card-photo--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-xs);
  color: var(--gold);
  font-weight: 800;
}

.candidate-card-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.candidate-card-title {
  font-size: var(--fs-sm);
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.candidate-card-title:hover {
  color: var(--gold);
}

.candidate-card-code {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--gold);
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.04em;
}

.candidate-card-details {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
}

.candidate-card-status-box {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.candidate-card-actions {
  display: flex;
  gap: 8px;
}

.candidate-card-actions .btn {
  flex: 1;
  text-align: center;
  justify-content: center;
}

.admin-pagination {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pagination-indicator {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  font-weight: 600;
}

/* ============================================================
   VIP AUDITION SCHEDULER (AUDITION.PHP)
   ============================================================ */
.sched-candidate-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  margin-bottom: 24px;
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.22);
  border-radius: var(--r-md);
}

.sched-candidate-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--gold);
  background: var(--black-soft);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--gold);
  font-size: var(--fs-sm);
}

.sched-candidate-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sched-candidate-info {
  flex: 1;
  min-width: 0;
}

.sched-candidate-name {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sched-candidate-code {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  font-family: 'Montserrat', sans-serif;
  margin-top: 2px;
}

.sched-candidate-code strong {
  color: var(--gold);
}

/* Step container */
.sched-step {
  margin-bottom: 32px;
}

.sched-step-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.sched-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(245, 179, 1, 0.2));
  border: 1px solid var(--gold);
  color: var(--gold);
  font-weight: 800;
  font-size: var(--fs-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sched-step-title {
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
}

.sched-hint {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.5;
}

/* Eixo 1: Day Cards Grid */
.day-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 10px;
}

.day-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 96px;
  padding: 14px 8px;
  border-radius: var(--r-md);
  border: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.03);
  color: var(--white);
  text-decoration: none;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.day-chip:hover {
  border-color: rgba(139, 92, 246, 0.6);
  background: rgba(139, 92, 246, 0.12);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.day-chip:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.day-chip[aria-current="true"] {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.22) 0%, rgba(245, 179, 1, 0.12) 100%);
  box-shadow: 0 0 20px rgba(245, 179, 1, 0.25), inset 0 0 0 1px rgba(245, 179, 1, 0.5);
  transform: translateY(-2px);
}

.day-chip[aria-current="true"]::after {
  content: '★';
  position: absolute;
  top: 4px;
  right: 6px;
  font-size: 0.65rem;
  color: var(--gold);
}

.day-chip-weekday {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.day-chip-date {
  display: flex;
  align-items: baseline;
  gap: 3px;
  font-variant-numeric: tabular-nums;
}

.day-chip-num {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
}

.day-chip-month {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.day-chip-avail {
  font-size: 0.68rem;
  font-weight: 700;
  margin-top: 4px;
  line-height: 1.2;
  text-align: center;
  padding: 2px 6px;
  border-radius: 999px;
  font-variant-numeric: tabular-nums;
}

.day-chip-avail.has {
  color: var(--gold-light, #FDE68A);
  background: rgba(245, 179, 1, 0.12);
}

.day-chip-avail.none {
  color: #FCA5A5;
  background: rgba(239, 68, 68, 0.12);
}

.day-chip[aria-current="true"] .day-chip-weekday,
.day-chip[aria-current="true"] .day-chip-month {
  color: var(--gold-light, #FDE68A);
}

.day-chip.is-disabled {
  cursor: not-allowed;
  opacity: 0.42;
  background: rgba(255, 255, 255, 0.015);
  border-color: rgba(239, 68, 68, 0.25);
  border-style: dashed;
  pointer-events: none;
  filter: grayscale(0.85);
  user-select: none;
}

.day-chip.is-disabled:hover {
  transform: none;
  box-shadow: none;
}

/* Eixo 2: Grouped Slot Sections */
.slot-section-group {
  margin-bottom: 20px;
}

.slot-section-title {
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.slot-section-title svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
}

.slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 12px;
}

.slot-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 72px;
  padding: 12px 8px;
  border-radius: var(--r-md);
  border: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
}

.slot-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.25), rgba(245, 179, 1, 0.15));
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 18px rgba(139, 92, 246, 0.35);
}

.slot-btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.slot-time {
  font-size: var(--fs-md);
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  font-family: 'Montserrat', sans-serif;
  color: var(--white);
}

.slot-meta {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--gold-light, #FDE68A);
  font-variant-numeric: tabular-nums;
  background: rgba(245, 179, 1, 0.12);
  padding: 2px 8px;
  border-radius: 999px;
}

.slot-btn:disabled {
  cursor: not-allowed;
  background: rgba(255, 255, 255, 0.015);
  border-color: rgba(255, 255, 255, 0.06);
  border-style: dashed;
  opacity: 0.65;
}

.slot-btn:disabled .slot-time {
  color: rgba(255, 255, 255, 0.45);
}

.slot-btn:disabled .slot-meta {
  color: #FCA5A5;
  background: rgba(239, 68, 68, 0.10);
}

.sched-empty {
  padding: 24px;
  border: 1px dashed var(--border);
  border-radius: var(--r-md);
  color: var(--text-muted);
  font-size: var(--fs-sm);
  text-align: center;
  background: rgba(255, 255, 255, 0.02);
}

.sched-footer {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--border-soft);
  display: flex;
  justify-content: center;
}

/* Modal de Confirmação de Agendamento */
.sched-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 11, 23, 0.85);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.sched-modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.sched-modal-card {
  width: min(100%, 460px);
  background: linear-gradient(180deg, #1E1730 0%, #161020 100%);
  border: 2px solid var(--gold);
  border-radius: var(--r-xl);
  padding: 28px 24px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.8), 0 0 32px rgba(245, 179, 1, 0.22);
  text-align: center;
  transform: scale(0.94);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.sched-modal-backdrop.is-open .sched-modal-card {
  transform: scale(1);
}

.sched-modal-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(245, 179, 1, 0.2));
  border: 2px solid var(--gold);
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.sched-modal-icon svg {
  width: 28px;
  height: 28px;
}

.sched-modal-title {
  font-size: var(--fs-lg);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}

.sched-modal-desc {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.5;
}

.sched-modal-summary {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  padding: 14px 18px;
  margin-bottom: 24px;
  display: flex;
  justify-content: space-around;
  text-align: center;
}

.sched-modal-summary-item strong {
  display: block;
  font-size: var(--fs-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.sched-modal-summary-item span {
  font-size: var(--fs-md);
  font-weight: 800;
  color: var(--gold);
  font-family: 'Montserrat', sans-serif;
}

.sched-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (min-width: 480px) {
  .sched-modal-actions {
    flex-direction: row-reverse;
  }

  .sched-modal-actions .btn {
    flex: 1;
  }
}

/* ============================================================
   HIGH-DENSITY TRIAGE TABLE & BULK ACTIONS (ADMIN/INDEX.PHP)
   ============================================================ */
.triage-table-wrap {
  background: var(--black-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-xl);
  overflow-x: auto;
  margin-top: 18px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  -webkit-overflow-scrolling: touch;
}

.triage-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-xs);
  text-align: left;
  white-space: nowrap;
  min-width: 960px;
}

.triage-table thead th {
  background: linear-gradient(180deg, rgba(30, 23, 48, 0.98), rgba(22, 16, 32, 0.98));
  padding: 14px 12px;
  font-size: var(--fs-xs);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold);
  border-bottom: 2px solid rgba(245, 179, 1, 0.3);
  user-select: none;
  position: sticky;
  top: 0;
  z-index: 10;
}

.triage-table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.18s ease, transform 0.18s ease;
}

.triage-table tbody tr:hover {
  background: rgba(139, 92, 246, 0.08);
}

.triage-table tbody tr.is-selected {
  background: rgba(245, 179, 1, 0.10);
}

.triage-table tbody td {
  padding: 12px 14px;
  vertical-align: middle;
  color: var(--white);
}

/* Specific Column Widths & Layouts */
.triage-col-chk {
  width: 44px;
  text-align: center;
  padding-left: 14px !important;
  padding-right: 8px !important;
}

.triage-col-chk input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
  cursor: pointer;
  vertical-align: middle;
}

.triage-col-cand {
  min-width: 250px;
  max-width: 320px;
}

.triage-col-genre {
  min-width: 120px;
}

.triage-col-loc {
  min-width: 140px;
}

.triage-col-contact {
  min-width: 180px;
}

.triage-col-audition {
  min-width: 150px;
}

.triage-col-status {
  min-width: 180px;
}

.triage-col-actions {
  min-width: 90px;
  text-align: right;
}

/* Candidate Identification Cell */
.triage-candidate-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.triage-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--gold);
  background: var(--black-soft);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--gold);
  font-size: 0.8rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.triage-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.triage-info-box {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.triage-name-link {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: color 0.15s ease;
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.triage-name-link:hover {
  color: var(--gold);
  text-decoration: underline;
}

.triage-code {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--gold);
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.04em;
}

.triage-meta-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.3;
}

.triage-cat-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(139, 92, 246, 0.15);
  color: #DDD6FE;
  border: 1px solid rgba(139, 92, 246, 0.35);
}

.triage-loc-main {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--white);
  display: block;
}

.triage-phone-btn {
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: var(--fs-xs);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.15s ease;
}

.triage-phone-btn:hover {
  color: var(--gold);
  text-decoration: underline;
}

.triage-email-txt {
  font-size: 0.72rem;
  color: var(--text-muted);
  display: block;
  max-width: 170px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Audition Schedule Badge */
.triage-audition-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.triage-audition-badge.is-scheduled {
  background: rgba(245, 179, 1, 0.12);
  color: var(--gold-light, #FDE68A);
  border: 1px solid rgba(245, 179, 1, 0.35);
}

.triage-audition-badge.is-pending {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  border: 1px solid var(--border-soft);
}

/* Luxury Status Selector */
.triage-status-wrapper {
  display: inline-flex;
  align-items: center;
  border-radius: var(--r-md);
  padding: 2px;
  transition: all 0.2s ease;
}

.triage-status-wrapper select {
  font-size: var(--fs-xs);
  font-weight: 700;
  padding: 6px 10px;
  border-radius: var(--r-sm);
  background: var(--black-soft);
  border: 1px solid var(--border-soft);
  color: var(--white);
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
}

.triage-status-wrapper select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 10px rgba(245, 179, 1, 0.3);
}

.status-tag--aprovado select,
.status-tag--approved select {
  border-color: rgba(245, 179, 1, 0.5);
  color: var(--gold-light, #FDE68A);
  background: rgba(245, 179, 1, 0.10);
}

.status-tag--finalista select {
  border-color: rgba(139, 92, 246, 0.6);
  color: #DDD6FE;
  background: rgba(139, 92, 246, 0.15);
}

.status-tag--em_analise select,
.status-tag--selecionado_para_audicao select {
  border-color: rgba(59, 130, 246, 0.5);
  color: #BFDBFE;
  background: rgba(59, 130, 246, 0.10);
}

.status-tag--eliminado select {
  border-color: rgba(239, 68, 68, 0.5);
  color: #FCA5A5;
  background: rgba(239, 68, 68, 0.10);
}

.status-tag--inscricao_recebida select,
.status-tag--pendente select {
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
}

/* Dossier Link Button */
.triage-dossier-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  font-size: var(--fs-xs);
  font-weight: 700;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-soft);
  color: var(--white);
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.triage-dossier-btn:hover {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(245, 179, 1, 0.2));
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.25);
}

/* Sticky / Floating Bulk Toolbar */
.triage-bulk-bar {
  position: sticky;
  bottom: 20px;
  background: linear-gradient(180deg, #1E1730 0%, #150F22 100%);
  border: 2px solid var(--gold);
  border-radius: var(--r-xl);
  padding: 14px 22px;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.8), 0 0 28px rgba(245, 179, 1, 0.25);
  z-index: 100;
  margin-top: 20px;
  animation: slideUp 0.22s ease-out;
}

.triage-bulk-bar.is-visible {
  display: flex;
}

.triage-bulk-info {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
}

.triage-bulk-count {
  background: var(--gold);
  color: #000;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
}

.triage-bulk-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.triage-bulk-actions select {
  padding: 8px 14px;
  font-size: var(--fs-xs);
  background: var(--black-soft);
  border: 1px solid var(--border-soft);
  color: var(--white);
  border-radius: var(--r-sm);
}

@media (max-width: 768px) {
  .triage-bulk-bar {
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    gap: 12px;
  }

  .triage-bulk-actions {
    flex-direction: column;
    width: 100%;
  }

  .triage-bulk-actions label,
  .triage-bulk-actions select,
  .triage-bulk-actions button {
    width: 100%;
  }
}

/* ============================================================
   VIP AUDITION SCHEDULER (AUDITION.PHP)
   ============================================================ */
.scheduler-box {
  background: var(--black-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 36px 32px;
  box-shadow: var(--shadow-lg), 0 0 30px rgba(139, 92, 246, 0.08);
  position: relative;
  overflow: hidden;
}

@media (max-width: 640px) {
  .scheduler-box {
    padding: 24px 18px;
  }
}

/* ── Barra do Candidato no Topo do Agendador ── */
.sched-candidate-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  margin-bottom: 28px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.12) 0%, rgba(245, 179, 1, 0.06) 100%);
  border: 1px solid rgba(139, 92, 246, 0.28);
  border-radius: var(--r-lg);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.sched-candidate-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--gold);
  background: var(--black-soft);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--gold);
  font-size: var(--fs-md);
  box-shadow: 0 0 12px rgba(245, 179, 1, 0.25);
}

.sched-candidate-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sched-candidate-info {
  flex: 1;
  min-width: 0;
}

.sched-candidate-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.sched-candidate-code {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

.sched-candidate-code strong {
  color: var(--gold);
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.04em;
}

/* ── Passos do Agendador (Etapas 1 e 2) ── */
.sched-step {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border-soft);
}

.sched-step-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.sched-step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, #D97706 100%);
  color: #000;
  font-weight: 900;
  font-size: var(--fs-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px rgba(245, 179, 1, 0.35);
  flex-shrink: 0;
}

.sched-step-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white);
  margin: 0;
}

.sched-hint {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.5;
}

.sched-empty {
  padding: 24px;
  text-align: center;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed var(--border);
  border-radius: var(--r-md);
  color: var(--text-muted);
  font-size: var(--fs-sm);
}

/* ── Grelha de Dias (Day Chips) ── */
.day-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 14px;
  margin-bottom: 8px;
}

.day-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1.5px solid var(--border-soft);
  border-radius: var(--r-lg);
  text-decoration: none;
  color: var(--white);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  position: relative;
  text-align: center;
  user-select: none;
}

.day-chip:hover {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(245, 179, 1, 0.12) 0%, rgba(139, 92, 246, 0.08) 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 16px rgba(245, 179, 1, 0.20);
}

.day-chip[aria-current="true"] {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(245, 179, 1, 0.22) 0%, rgba(139, 92, 246, 0.16) 100%);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 20px rgba(245, 179, 1, 0.30);
  transform: translateY(-2px);
}

.day-chip[aria-current="true"]::after {
  content: '✓ ATIVO';
  position: absolute;
  top: -8px;
  background: var(--gold);
  color: #000;
  font-size: 0.65rem;
  font-weight: 900;
  padding: 2px 8px;
  border-radius: 999px;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.day-chip.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
  border-color: rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.01);
  pointer-events: none;
}

.day-chip-weekday {
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.day-chip[aria-current="true"] .day-chip-weekday {
  color: var(--gold);
}

.day-chip-date {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 8px;
}

.day-chip-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.75rem;
  font-weight: 900;
  line-height: 1;
  color: var(--white);
}

.day-chip[aria-current="true"] .day-chip-num {
  color: var(--gold-light, #FDE68A);
  text-shadow: 0 0 12px rgba(245, 179, 1, 0.4);
}

.day-chip-month {
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
}

.day-chip-avail {
  font-size: 0.70rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

.day-chip-avail.has {
  background: rgba(139, 92, 246, 0.20);
  color: #C4B5FD;
  border: 1px solid rgba(139, 92, 246, 0.35);
}

.day-chip[aria-current="true"] .day-chip-avail.has {
  background: var(--gold);
  color: #000;
  border-color: var(--gold);
  font-weight: 800;
}

.day-chip-avail.none {
  background: rgba(239, 68, 68, 0.15);
  color: #FCA5A5;
  border: 1px solid rgba(239, 68, 68, 0.30);
}

/* ── Grupos de Sessão de Horários (Manhã e Tarde) ── */
.slot-section-group {
  margin-bottom: 24px;
}

.slot-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-sm);
  font-weight: 800;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(245, 179, 1, 0.20);
}

.slot-section-title svg {
  width: 18px;
  height: 18px;
  stroke: var(--gold);
}

.slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 12px;
}

/* ── Botão de Horário (Slot Button) ── */
.slot-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1.5px solid var(--border-soft);
  border-radius: var(--r-md);
  color: var(--white);
  cursor: pointer;
  transition: all 0.20s ease;
  user-select: none;
  position: relative;
  text-align: center;
}

.slot-btn:not(:disabled):hover {
  border-color: var(--gold);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.28) 0%, rgba(245, 179, 1, 0.20) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6), 0 0 14px rgba(245, 179, 1, 0.25);
}

.slot-btn:not(:disabled):active {
  transform: translateY(0);
}

.slot-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  border-color: rgba(255, 255, 255, 0.04);
  background: rgba(255, 255, 255, 0.01);
}

.slot-time {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 4px;
}

.slot-btn:not(:disabled):hover .slot-time {
  color: var(--gold-light, #FDE68A);
}

.slot-meta {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-muted);
  padding: 2px 6px;
  border-radius: 4px;
}

.slot-btn:not(:disabled) .slot-meta {
  background: rgba(139, 92, 246, 0.15);
  color: #C4B5FD;
}

.slot-btn:disabled .slot-meta {
  background: rgba(239, 68, 68, 0.10);
  color: #FCA5A5;
}

.sched-footer {
  margin-top: 32px;
  display: flex;
  justify-content: center;
}

/* ── Modal de Confirmação de Agendamento ── */
.sched-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: none !important;
  align-items: center;
  justify-content: center;
  z-index: 999;
  padding: 20px;
  animation: fadeIn 0.2s ease-out;
}

.sched-modal-backdrop.is-open {
  display: flex !important;
}

.sched-modal-card {
  background: linear-gradient(180deg, #1C152B 0%, #120D1D 100%);
  border: 2px solid var(--gold);
  border-radius: var(--r-xl);
  padding: 32px 28px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9), 0 0 30px rgba(245, 179, 1, 0.30);
  animation: scaleIn 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.92);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.sched-modal-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(245, 179, 1, 0.25) 0%, rgba(139, 92, 246, 0.20) 100%);
  border: 2px solid var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 0 16px rgba(245, 179, 1, 0.3);
}

.sched-modal-icon svg {
  width: 28px !important;
  height: 28px !important;
  max-width: 28px !important;
  max-height: 28px !important;
  stroke: var(--gold);
  display: block;
}

.sched-modal-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.30rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}

.sched-modal-desc {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.5;
}

.sched-modal-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
}

.sched-modal-summary-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sched-modal-summary-item strong {
  font-size: 0.70rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.sched-modal-summary-item span {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--gold);
}

.sched-modal-actions {
  display: flex;
  gap: 10px;
  flex-direction: column;
}

.sched-modal-actions .btn {
  width: 100%;
  justify-content: center;
}


/* ============================================================
   APOIO POR WHATSAPP
   Botão persistente de contacto directo. Usa o dourado de acção
   da marca, e não o verde do WhatsApp, porque o sistema de design
   reserva a saturação à dupla púrpura/dourado. O reconhecimento do
   canal vem da forma do ícone.
   ============================================================ */
.wa-support {
  position: fixed;
  right: clamp(14px, 4vw, 28px);
  bottom: clamp(14px, 4vw, 28px);
  z-index: 900;

  display: inline-flex;
  align-items: center;
  gap: 10px;

  /* 52px de altura mínima: acima do mínimo tátil e alinhado com os
     inputs de 48px definidos no sistema */
  min-height: 52px;
  padding: 0 20px 0 16px;

  border: 1px solid rgba(245, 179, 1, 0.45);
  border-radius: 999px;
  background: linear-gradient(135deg, #1E1730 0%, #2A1B4D 100%);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.52);

  color: var(--gold);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;

  transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 240ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 240ms ease;
}

.wa-support:hover,
.wa-support:focus-visible {
  transform: translateY(-2px);
  border-color: var(--gold);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.58), var(--shadow-gold);
}

.wa-support:focus-visible {
  outline: 2px solid var(--gold-light, #FDE68A);
  outline-offset: 3px;
}

.wa-support:active {
  transform: translateY(0);
}

.wa-support-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(245, 179, 1, 0.14);
}

.wa-support-icon svg {
  width: 20px;
  height: 20px;
}

/* Em ecrãs estreitos o rótulo sai e fica só o ícone, para não competir
   com os botões de acção principal da página */
@media (max-width: 560px) {
  .wa-support {
    min-height: 56px;
    width: 56px;
    padding: 0;
    justify-content: center;
  }

  .wa-support-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .wa-support-icon {
    width: 34px;
    height: 34px;
  }

  .wa-support-icon svg {
    width: 22px;
    height: 22px;
  }
}

/* Respeita quem pediu menos movimento no sistema operativo */
@media (prefers-reduced-motion: reduce) {
  .wa-support {
    transition: none;
  }

  .wa-support:hover,
  .wa-support:focus-visible {
    transform: none;
  }
}

/* ============================================================
   FUNDO DE SECÇÃO
   Imagem opcional por trás de uma secção de conteúdo. O véu por
   cima não é decoração: é o que mantém o texto branco acima do
   mínimo de contraste, seja qual for a fotografia carregada.
   ============================================================ */
.why-section.has-bg {
  position: relative;
  isolation: isolate;
  background: var(--black-soft);
}

.why-section.has-bg>.container {
  position: relative;
  z-index: 1;
}

.section-bg {
  position: absolute;
  inset: 0;
  z-index: 0;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  /* Escurece a fotografia o suficiente para o texto se manter legível.
     O gradiente vertical devolve peso às margens, onde o título e o
     texto de apoio assentam. */
  opacity: 0.30;
}

.why-section.has-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;

  background: linear-gradient(180deg,
      rgba(15, 11, 23, 0.94) 0%,
      rgba(15, 11, 23, 0.72) 38%,
      rgba(15, 11, 23, 0.72) 62%,
      rgba(15, 11, 23, 0.94) 100%);
}

/* Sobre fotografia, os cartões precisam de mais corpo do que sobre a
   superfície lisa, senão dissolvem-se no fundo. */
.why-section.has-bg .feature-item {
  background: rgba(30, 23, 48, 0.82);
  backdrop-filter: blur(6px);
  border-color: rgba(255, 255, 255, 0.18);
}

@media (max-width: 720px) {

  /* Em ecrã pequeno a fotografia é vista atrás de muito menos área;
     escurecer mais evita que o texto compita com detalhe da imagem. */
  .section-bg {
    opacity: 0.22;
  }
}

/* ============================================================
   FOCO VISÍVEL
   Quem navega por teclado precisa de ver onde está. O projecto
   tinha apenas quatro selectores de foco, e o dos botões estava
   agrupado com :hover — partilhava a declaração e não desenhava
   anel nenhum.
   ============================================================ */
/* Sem :where(): esse selector tem especificidade zero e perderia para
   qualquer regra ja existente, incluindo a dos botoes. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Sobre superfícies douradas o anel dourado desapareceria */
.btn-secondary:focus-visible,
.status-tag:focus-visible {
  outline-color: var(--white);
}

/* ============================================================
   SALTAR PARA O CONTEÚDO
   Primeira paragem do teclado em cada página. A classe
   .visually-hidden já existia no ficheiro e nunca tinha sido usada.
   ============================================================ */
.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 1000;

  padding: 10px 18px;
  border-radius: var(--r-sm);
  background: var(--gold);
  color: var(--black);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;

  /* Fora do ecrã até receber foco */
  transform: translateY(-150%);
  transition: transform 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

.skip-link:focus {
  transform: translateY(0);
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .skip-link {
    transition: none;
  }
}


/* ============================================================
   AVISO DE INACTIVIDADE (Tarefa 83)
   O painel fecha ao fim de tempo sem uso. Este aviso dá ao
   gestor a hipótese de continuar antes de perder o que escreveu.
   ============================================================ */
.idle-warning {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(15, 11, 23, 0.82);
  backdrop-filter: blur(4px);
}

.idle-warning-inner {
  max-width: 26rem;
  width: 100%;
  padding: 28px;
  border-radius: 14px;
  background: #1e1730;
  border: 1px solid rgba(245, 179, 1, 0.34);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  text-align: center;
}

.idle-warning-inner strong {
  display: block;
  font-family: Montserrat, sans-serif;
  font-size: 1.15rem;
  color: #fde68a;
  margin-bottom: 10px;
}

.idle-warning-inner p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 20px;
}

.idle-count {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: #f5b301;
}

.idle-warning .btn {
  width: 100%;
  min-height: 48px;
}

@media (prefers-reduced-motion: reduce) {
  .idle-warning {
    backdrop-filter: none;
  }
}

/* ============================================================
   CABEÇALHOS DE SECÇÃO CENTRADOS
   O título e o texto de apoio formam uma unidade: centrar só o
   título deixaria o subtítulo desalinhado por baixo.
   ============================================================ */
.why-section > .container > h2,
.provinces-section > .container > h2,
.testimonials > .container > h2,
#about-title,
#provincias-title,
#faqs-title {
  text-align: center;
  max-width: 46rem;
  margin-inline: auto;
}

/* O texto de apoio acompanha o título que o antecede. */
#about-title + .section-lead,
#provincias-title + .section-lead,
#faqs-title + .section-lead,
.why-section > .container > h2 + .section-lead,
.provinces-section > .container > h2 + .section-lead,
.testimonials > .container > h2 + .section-lead {
  text-align: center;
  max-width: 42rem;
  margin-inline: auto;
}

/* Cabeçalho dos ecrãs de autenticação: distintivo, título e subtítulo. */
.auth-panel-header {
  text-align: center;
}

.auth-panel-header .auth-subtitle {
  margin-inline: auto;
  max-width: 32rem;
}
