/* ==========================================================================
   FOR RUN · 1ª edição — DESIGN SYSTEM OFICIAL
   Identidade: ForWays (Performance Humanizada)
   Cores obrigatórias: Laranja #F26200, Chumbo #1E1E1E, Verde #049274, Branco #FFFFFF, Vermelho #D82900
   Proibido: preto puro, amarelo, neon, azul, rosa.
   ========================================================================== */

/* 1. FONT-FACE DEFINITIONS (Fontes proprietárias com fallback para Google Fonts) */
@font-face {
  font-family: 'Aeron';
  src: url('assets/fonts/AERON.ttf') format('truetype'),
       url('assets/fonts/AERON.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Guton';
  src: url('assets/fonts/Guton-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Guton';
  src: url('assets/fonts/Guton-SemiBold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Guton';
  src: url('assets/fonts/Guton-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* 2. DESIGN TOKENS */
:root {
  /* Paleta Oficial Estrita */
  --laranja: #F26200;
  --laranja-hover: #d95800;
  --laranja-claro: #FFF5EE;
  --laranja-alpha15: rgba(242, 98, 0, 0.15);
  --laranja-alpha25: rgba(242, 98, 0, 0.25);

  --chumbo: #1E1E1E;
  --chumbo-suave: #2A2A2A;
  --chumbo-borda: #3A3A3A;
  --chumbo-alpha80: rgba(30, 30, 30, 0.8);
  --chumbo-alpha95: rgba(30, 30, 30, 0.95);

  --verde: #049274;
  --verde-hover: #03775f;
  --verde-claro: #EBF8F5;
  --verde-alpha20: rgba(4, 146, 116, 0.2);

  --branco: #FFFFFF;
  --branco-alpha90: rgba(255, 255, 255, 0.9);
  --branco-alpha80: rgba(255, 255, 255, 0.8);
  --branco-alpha60: rgba(255, 255, 255, 0.6);
  --branco-alpha20: rgba(255, 255, 255, 0.2);
  --branco-alpha10: rgba(255, 255, 255, 0.1);

  --vermelho: #D82900;
  --vermelho-claro: #FDF2F0;

  /* Superfícies e tons neutros de suporte (sem preto puro!) */
  --bg-page: #F6F6F6;
  --card-bg: #FFFFFF;
  --text-muted: #575757;
  --border-light: #E5E5E5;
  --border-focus: var(--laranja);

  /* Tipografia: Sans-serif moderna, geométrica e limpa (Guton / Inter) */
  --font-title: 'Guton', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Guton', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Efeitos e Sombras */
  --shadow-sm: 0 4px 12px rgba(30, 30, 30, 0.05);
  --shadow-md: 0 10px 30px rgba(30, 30, 30, 0.08);
  --shadow-lg: 0 20px 50px rgba(30, 30, 30, 0.12);
  --shadow-glow: 0 8px 30px rgba(242, 98, 0, 0.35);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.2, 0, 0, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 3. RESET & BASE */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--chumbo);
  color: var(--chumbo);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--chumbo);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg {
  display: block;
  max-width: 100%;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Acessibilidade de foco */
:focus-visible {
  outline: 3px solid var(--laranja);
  outline-offset: 3px;
}

/* Container responsivo mobile-first centralizado */
.container {
  width: 100%;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* 4. BARRA SUPERIOR INSTITUCIONAL (Header sutil) */
.top-bar {
  background-color: var(--chumbo);
  color: var(--branco);
  padding: 12px 0;
  border-bottom: 1px solid var(--chumbo-borda);
  position: relative;
  z-index: 40;
}

.top-bar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand-affiliation {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-affiliation-label {
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--branco-alpha60);
  font-weight: 600;
}

.forways-badge-logo {
  height: 20px;
  width: auto;
  filter: brightness(1) drop-shadow(0 1px 2px rgba(30, 30, 30, 0.4));
}

.top-bar-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(242, 98, 0, 0.2);
  border: 1px solid var(--laranja);
  color: var(--branco);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.top-bar-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--laranja);
  animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.6; }
}

/* 5. HERO SECTION */
.hero-section {
  position: relative;
  background: linear-gradient(155deg, var(--vermelho) 0%, var(--laranja) 80%);
  color: var(--branco);
  padding: 48px 0 72px;
  overflow: hidden;
}

/* "3K" Gigante Sangrando ao fundo (Marca Oficial) */
.hero-giant-watermark {
  position: absolute;
  right: -35px;
  bottom: -25px;
  width: clamp(260px, 45vw, 520px);
  opacity: 0.18;
  user-select: none;
  pointer-events: none;
  z-index: 1;
}

.watermark-3k-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Ondas Sonoras / Equalizador tom sobre tom */
.soundwaves-container {
  position: absolute;
  top: 25px;
  right: 20px;
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 70px;
  opacity: 0.22;
  pointer-events: none;
  z-index: 1;
}

.soundwave-bar {
  width: 5px;
  background-color: var(--branco);
  border-radius: 3px;
  animation: equalizerPulse 1.8s ease-in-out infinite alternate;
}

.soundwave-bar:nth-child(1) { height: 35%; animation-delay: 0.1s; }
.soundwave-bar:nth-child(2) { height: 60%; animation-delay: 0.3s; }
.soundwave-bar:nth-child(3) { height: 85%; animation-delay: 0.5s; }
.soundwave-bar:nth-child(4) { height: 45%; animation-delay: 0.2s; }
.soundwave-bar:nth-child(5) { height: 95%; animation-delay: 0.6s; }
.soundwave-bar:nth-child(6) { height: 50%; animation-delay: 0.4s; }
.soundwave-bar:nth-child(7) { height: 75%; animation-delay: 0.15s; }
.soundwave-bar:nth-child(8) { height: 40%; animation-delay: 0.45s; }

@keyframes equalizerPulse {
  0% { transform: scaleY(0.4); opacity: 0.7; }
  100% { transform: scaleY(1.15); opacity: 1; }
}

/* Janela do "O" Moldura Decorativa */
.janela-o-graphic {
  position: absolute;
  left: -40px;
  top: 15%;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 10px solid rgba(255, 255, 255, 0.08);
  clip-path: polygon(0 0, 100% 0, 100% 70%, 70% 100%, 0 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 780px;
}

/* Header do Hero: Logo FOR RUN + Selo 1ª Edição */
.hero-brand-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-event-logo {
  max-width: 290px;
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(30, 30, 30, 0.3));
}

/* Título de Impacto */
.hero-headline {
  font-family: var(--font-title);
  font-size: clamp(1.9rem, 5.8vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: var(--branco);
}

.pen-stroke-wrapper {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}

/* SVG do Traço de Caneta (Hand-drawn finish line) */
.pen-stroke-svg {
  position: absolute;
  left: -4px;
  bottom: -10px;
  width: 106%;
  height: 22px;
  pointer-events: none;
}

.pen-stroke-svg path {
  stroke: var(--chumbo);
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  transition: stroke-dashoffset 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.pen-stroke-svg.drawn path {
  stroke-dashoffset: 0;
}

/* Subtítulo */
.hero-subtitle {
  font-size: clamp(1.1rem, 3.2vw, 1.45rem);
  line-height: 1.45;
  font-weight: 500;
  color: var(--branco-alpha90);
  margin-bottom: 28px;
  max-width: 650px;
}

/* Linha de Informações */
.hero-info-card {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 18px;
  background-color: var(--chumbo-alpha95);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  margin-bottom: 30px;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(8px);
}

.hero-info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--branco);
}

.hero-info-item svg {
  width: 18px;
  height: 18px;
  color: var(--laranja);
  flex-shrink: 0;
}

.hero-info-divider {
  width: 4px;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
}

/* CTAs e Selo de Vagas */
.hero-action-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

@media (min-width: 600px) {
  .hero-action-row {
    flex-direction: row;
    align-items: center;
  }
}

.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: var(--chumbo);
  color: var(--branco);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 18px 36px;
  min-height: 54px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--branco);
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition: transform var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.hero-cta-btn:hover {
  background-color: var(--chumbo-suave);
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(30, 30, 30, 0.4);
}

.hero-cta-btn svg {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-fast);
}

.hero-cta-btn:hover svg {
  transform: translateY(3px);
}

.hero-seal-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--branco);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  backdrop-filter: blur(6px);
}

/* 6. SEÇÃO COMO FUNCIONA (3 Cards Curtos) */
.how-it-works-section {
  padding: 64px 0 48px;
  background-color: var(--bg-page);
  position: relative;
  z-index: 10;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--laranja);
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--font-title);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--chumbo);
  line-height: 1.15;
}

.cards-grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

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

.feature-card {
  background-color: var(--branco);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--laranja-alpha25);
}

.feature-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background-color: var(--laranja-claro);
  color: var(--laranja);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon-box svg {
  width: 26px;
  height: 26px;
}

.feature-card-title {
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.25;
  color: var(--chumbo);
  margin-bottom: 12px;
}

.feature-card-text {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* 7. SEÇÃO OS GRUPOS (Seção 3.3) */
.groups-section {
  padding: 24px 0 64px;
  background-color: var(--bg-page);
}

.groups-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 768px) {
  .groups-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.group-info-card {
  background-color: var(--branco);
  border-radius: var(--radius-lg);
  padding: 26px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-smooth);
}

.group-info-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.group-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
  align-self: flex-start;
}

/* Tags dos grupos conforme manual */
.tag-rapido {
  background-color: #1E1E1E;
  color: #FFFFFF;
}

.tag-moderado {
  background-color: #049274;
  color: #FFFFFF;
}

.tag-leve {
  background-color: #FFFFFF;
  color: #1E1E1E;
  border: 2px solid #1E1E1E;
}

.group-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--chumbo);
  margin-bottom: 8px;
}

.group-description {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* 8. SEÇÃO FORMULÁRIO & INSCRIÇÃO */
.registration-section {
  padding: 64px 0 80px;
  background-color: var(--chumbo);
  color: var(--branco);
  position: relative;
}

/* Layout Responsivo: Mobile cartão único, Desktop 2 colunas a partir de 1024px */
.registration-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

@media (min-width: 1024px) {
  .registration-layout {
    grid-template-columns: 1fr 1.35fr;
    align-items: start;
    gap: 54px;
  }
}

/* Coluna Lateral de Conteúdo e Confiança (Desktop) */
.registration-sidebar {
  padding-top: 10px;
}

.sidebar-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(242, 98, 0, 0.2);
  border: 1px solid var(--laranja);
  color: var(--laranja);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.sidebar-title {
  font-family: var(--font-title);
  font-size: clamp(1.8rem, 3.8vw, 2.7rem);
  font-weight: 800;
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--branco);
  margin-bottom: 20px;
}

.sidebar-lead {
  font-size: 1.1rem;
  color: var(--branco-alpha80);
  line-height: 1.5;
  margin-bottom: 32px;
}

.sidebar-perks {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}

.perk-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.perk-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--laranja);
  color: var(--branco);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.perk-check svg {
  width: 14px;
  height: 14px;
}

.perk-text strong {
  display: block;
  font-size: 1rem;
  color: var(--branco);
}

.perk-text span {
  font-size: 0.9rem;
  color: var(--branco-alpha60);
}

.sidebar-pacer-quote {
  background: rgba(255, 255, 255, 0.05);
  border-left: 4px solid var(--laranja);
  padding: 16px 20px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.sidebar-pacer-quote p {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--branco-alpha90);
  margin-bottom: 8px;
}

.sidebar-pacer-quote span {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--laranja);
}

/* Cartão do Formulário (Branco com cantos arredondados e sombra suave) */
.form-card {
  background-color: var(--branco);
  color: var(--chumbo);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 5vw, 44px);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.form-header {
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 18px;
}

.form-header-title {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--chumbo);
  line-height: 1.2;
  margin-bottom: 6px;
}

.form-header-subtitle {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* Campos do Formulário */
.form-group {
  margin-bottom: 22px;
}

/* Rótulos SEMPRE visíveis acima do campo */
.form-label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--chumbo);
  margin-bottom: 8px;
  letter-spacing: 0.2px;
}

.required-asterisk {
  color: var(--vermelho);
  margin-left: 2px;
}

.form-help-text {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 5px;
}

/* Inputs de Texto, Seleção e Telefone */
.form-input, .form-select {
  width: 100%;
  height: 50px;
  padding: 12px 16px;
  font-size: 1rem;
  color: var(--chumbo);
  background-color: var(--branco);
  border: 1.5px solid #D5D5D5;
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input::placeholder {
  color: #A0A0A0;
}

.form-input:focus, .form-select:focus {
  border-color: var(--laranja);
  box-shadow: 0 0 0 3.5px var(--laranja-alpha25);
  outline: none;
}

.form-input.input-error, .form-select.input-error {
  border-color: var(--vermelho);
  background-color: var(--vermelho-claro);
}

.form-input-uppercase {
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* Mensagem de Erro sob o campo (em vermelho Fogo #D82900) */
.field-error-message {
  display: none;
  align-items: center;
  gap: 5px;
  color: var(--vermelho);
  font-size: 0.82rem;
  font-weight: 600;
  margin-top: 6px;
}

.field-error-message.active {
  display: flex;
}

.field-error-message svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* Botões de Opção (Radio Pills) */
.radio-pills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

@media (max-width: 480px) {
  .radio-pills-grid.stacked-mobile {
    grid-template-columns: 1fr;
  }
}

.radio-pill-label {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px 14px;
  background-color: #F8F8F8;
  border: 1.5px solid #E0E0E0;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--chumbo);
  cursor: pointer;
  transition: all var(--transition-fast);
  user-select: none;
  min-height: 48px;
}

.radio-pill-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.radio-pill-input:checked + .radio-pill-label {
  background-color: var(--laranja-claro);
  border-color: var(--laranja);
  color: var(--laranja);
  font-weight: 700;
  box-shadow: 0 2px 8px var(--laranja-alpha15);
}

.radio-pill-label:hover {
  border-color: var(--laranja);
}

/* Cards Selecionáveis do Grupo (Campo 9) */
.group-selectable-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.group-choice-card {
  display: block;
  position: relative;
  cursor: pointer;
}

.group-choice-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.group-choice-content {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background-color: #F8F8F8;
  border: 2px solid #E0E0E0;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.group-choice-radio-indicator {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #B0B0B0;
  background-color: var(--branco);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 3px;
  transition: all var(--transition-fast);
}

.group-choice-radio-indicator::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--laranja);
  opacity: 0;
  transform: scale(0.5);
  transition: all var(--transition-fast);
}

.group-choice-input:checked + .group-choice-content {
  background-color: var(--branco);
  border-color: var(--laranja);
  box-shadow: 0 4px 14px var(--laranja-alpha15);
}

.group-choice-input:checked + .group-choice-content .group-choice-radio-indicator {
  border-color: var(--laranja);
}

.group-choice-input:checked + .group-choice-content .group-choice-radio-indicator::after {
  opacity: 1;
  transform: scale(1);
}

.group-choice-body {
  flex: 1;
}

.group-choice-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 6px;
}

.group-choice-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.35;
}

/* Checkboxes de Aceites (Campo 11) */
.consents-group {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 0.88rem;
  color: var(--chumbo);
  line-height: 1.4;
  user-select: none;
}

.checkbox-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.custom-checkbox {
  width: 20px;
  height: 20px;
  border: 1.5px solid #C0C0C0;
  border-radius: 5px;
  background-color: var(--branco);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  transition: all var(--transition-fast);
}

.custom-checkbox svg {
  width: 13px;
  height: 13px;
  color: var(--branco);
  opacity: 0;
  transform: scale(0.6);
  transition: all var(--transition-fast);
}

.checkbox-input:checked + .custom-checkbox {
  background-color: var(--laranja);
  border-color: var(--laranja);
}

.checkbox-input:checked + .custom-checkbox svg {
  opacity: 1;
  transform: scale(1);
}

.checkbox-label.has-error .custom-checkbox {
  border-color: var(--vermelho);
  background-color: var(--vermelho-claro);
}

/* Botão de Envio */
.submit-btn {
  width: 100%;
  height: 56px;
  background-color: var(--laranja);
  color: var(--branco);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  border: none;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-glow);
  cursor: pointer;
  margin-top: 26px;
  transition: transform var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.submit-btn:hover:not(:disabled) {
  background-color: var(--laranja-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 35px rgba(242, 98, 0, 0.45);
}

.submit-btn:disabled {
  opacity: 0.75;
  cursor: not-allowed;
  transform: none;
}

/* Spinner no botão */
.btn-spinner {
  display: none;
  width: 22px;
  height: 22px;
  border: 3px solid rgba(255, 255, 255, 0.35);
  border-top-color: var(--branco);
  border-radius: 50%;
  animation: btnSpin 0.7s linear infinite;
}

.submit-btn.loading .btn-spinner {
  display: inline-block;
}

.submit-btn.loading .btn-text {
  opacity: 0.9;
}

@keyframes btnSpin {
  to { transform: rotate(360deg); }
}

/* Alerta de Erro Geral com Botão de WhatsApp */
.form-error-alert {
  display: none;
  background-color: var(--vermelho-claro);
  border: 1px solid var(--vermelho);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-top: 20px;
  font-size: 0.9rem;
  color: var(--chumbo);
}

.form-error-alert.active {
  display: block;
}

.form-error-alert-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--vermelho);
  margin-bottom: 6px;
}

.form-error-alert-header svg {
  width: 18px;
  height: 18px;
}

.form-whatsapp-fallback-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--verde);
  color: var(--branco);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  margin-top: 10px;
  transition: background-color var(--transition-fast);
}

.form-whatsapp-fallback-btn:hover {
  background-color: var(--verde-hover);
}

/* Campo Honeypot Oculto (Anti-Spam) */
.pot-honey-hidden {
  display: none !important;
  visibility: hidden !important;
  position: absolute !important;
  left: -9999px !important;
}

/* 9. TELA DE CONFIRMAÇÃO (MOMENTO "UAU" — NÚMERO DE PEITO) */
.confirmation-container {
  display: none;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.confirmation-container.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.confirmation-header {
  text-align: center;
  margin-bottom: 24px;
}

.confirmation-check-badge {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--verde);
  color: var(--branco);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 6px 20px rgba(4, 146, 116, 0.3);
}

.confirmation-check-badge svg {
  width: 30px;
  height: 30px;
}

.confirmation-title {
  font-family: var(--font-title);
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--chumbo);
  line-height: 1.2;
  margin-bottom: 8px;
}

.confirmation-lead {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
}

/* Mockup Hiper-Realista do Número de Peito */
.bib-mockup-wrapper {
  perspective: 1000px;
  margin: 28px auto 32px;
  max-width: 440px;
}

.bib-mockup {
  position: relative;
  background-color: #FFFFFF;
  border-radius: 18px;
  padding: 22px 24px 18px;
  box-shadow: 0 16px 40px rgba(30, 30, 30, 0.16), 0 1px 3px rgba(30, 30, 30, 0.08);
  border: 1px solid #ECECEC;
  background-image: radial-gradient(rgba(30, 30, 30, 0.03) 1px, transparent 1px);
  background-size: 12px 12px;
  overflow: hidden;
  transition: transform 0.4s ease;
}

.bib-mockup:hover {
  transform: translateY(-4px) rotate(-0.5deg);
}

/* 4 Furinhos de Alfinete nos Cantos */
.bib-hole {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: #DCDCDC;
  border: 2px solid #BFBFBF;
  box-shadow: inset 0 2px 3px rgba(30, 30, 30, 0.4);
}

.bib-hole-tl { top: 12px; left: 14px; }
.bib-hole-tr { top: 12px; right: 14px; }
.bib-hole-bl { bottom: 12px; left: 14px; }
.bib-hole-br { bottom: 12px; right: 14px; }

/* Topo do Número de Peito */
.bib-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
  margin-bottom: 8px;
}

.bib-official-logo {
  height: 38px;
  max-width: 175px;
  width: auto;
  object-fit: contain;
}

.bib-forways-shield {
  height: 28px;
  width: auto;
  object-fit: contain;
  opacity: 0.85;
}

/* Número do Atleta */
.bib-number {
  font-family: var(--font-title);
  font-size: clamp(3.2rem, 10vw, 4.8rem);
  font-weight: 900;
  line-height: 0.95;
  color: var(--chumbo);
  text-align: center;
  letter-spacing: 2px;
  margin: 6px 0;
}

/* Nome do Corredor (em destaque CAIXA ALTA) */
.bib-runner-name {
  font-family: var(--font-title);
  font-size: clamp(1.3rem, 4vw, 1.85rem);
  font-weight: 800;
  text-align: center;
  color: var(--chumbo);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
  padding: 0 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Faixa Inferior Esportiva com a Cor do Grupo */
.bib-group-stripe {
  border-radius: 8px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all var(--transition-smooth);
}

.bib-group-stripe.stripe-rapido {
  background-color: #1E1E1E;
  color: #FFFFFF;
}

.bib-group-stripe.stripe-moderado {
  background-color: #049274;
  color: #FFFFFF;
}

.bib-group-stripe.stripe-leve {
  background-color: #FFFFFF;
  color: #1E1E1E;
  border: 2px solid #1E1E1E;
}

.bib-group-name {
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.bib-distance-tag {
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.5px;
  opacity: 0.9;
}

/* Ações pós-confirmação */
.confirmation-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 28px;
}

.btn-whatsapp-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background-color: var(--verde);
  color: var(--branco);
  font-weight: 800;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 18px 24px;
  min-height: 56px;
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 25px rgba(4, 146, 116, 0.35);
  transition: all var(--transition-fast);
}

.btn-whatsapp-group:hover {
  background-color: var(--verde-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(4, 146, 116, 0.45);
}

.btn-whatsapp-group svg {
  width: 24px;
  height: 24px;
}

.confirmation-secondary-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 480px) {
  .confirmation-secondary-row {
    grid-template-columns: 1fr;
  }
}

.btn-secondary-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #F0F0F0;
  color: var(--chumbo);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 14px 18px;
  min-height: 48px;
  border-radius: var(--radius-pill);
  border: 1.5px solid #D8D8D8;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-secondary-action:hover {
  background-color: #E2E2E2;
  border-color: #B8B8B8;
}

.btn-secondary-action svg {
  width: 18px;
  height: 18px;
  color: var(--chumbo);
}

.confirmation-footer-quote {
  text-align: center;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--laranja);
}

/* 10. SEÇÃO PROGRAMAÇÃO DO DIA (Linha do Tempo Vertical) */
.timeline-section {
  padding: 72px 0;
  background-color: var(--bg-page);
}

.timeline-vertical {
  position: relative;
  max-width: 580px;
  margin: 40px auto 0;
  padding-left: 36px;
}

.timeline-vertical::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 10px;
  bottom: 10px;
  width: 3px;
  background-color: var(--laranja-alpha25);
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 32px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -36px;
  top: 4px;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background-color: var(--branco);
  border: 3px solid var(--laranja);
  box-shadow: 0 0 0 4px var(--laranja-alpha15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-dot-inner {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--laranja);
}

.timeline-time {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--chumbo);
  margin-bottom: 4px;
}

.timeline-desc {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* 11. SEÇÃO PERGUNTAS RÁPIDAS (Accordion Interativo) */
.faq-section {
  padding: 64px 0 80px;
  background-color: var(--branco);
  border-top: 1px solid var(--border-light);
}

.faq-list {
  max-width: 720px;
  margin: 36px auto 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background-color: var(--branco);
  overflow: hidden;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.faq-item:hover {
  border-color: #CCCCCC;
}

.faq-item.active {
  border-color: var(--laranja);
  box-shadow: var(--shadow-sm);
}

.faq-question-btn {
  width: 100%;
  padding: 20px 22px;
  background: none;
  border: none;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--chumbo);
}

.faq-icon {
  width: 22px;
  height: 22px;
  color: var(--laranja);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
}

.faq-answer-inner {
  padding: 0 22px 20px;
  font-size: 0.96rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* 12. RODAPÉ */
.site-footer {
  background-color: var(--chumbo);
  color: var(--branco);
  padding: 64px 0 36px;
  border-top: 1px solid var(--chumbo-borda);
}

.footer-top {
  text-align: center;
  margin-bottom: 40px;
}

.footer-signature {
  font-family: var(--font-title);
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--branco);
  margin-bottom: 8px;
}

.footer-divider-line {
  width: 60px;
  height: 3px;
  background-color: var(--laranja);
  margin: 14px auto 0;
  border-radius: 2px;
}

.footer-logos-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 36px;
}

@media (min-width: 640px) {
  .footer-logos-row {
    flex-direction: row;
    gap: 28px;
  }
}

.footer-forrun-logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.footer-realizacao-tag {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--branco-alpha60);
}

.footer-forways-logo {
  height: 32px;
  width: auto;
  filter: brightness(1);
}

.footer-info-row {
  text-align: center;
  margin-bottom: 32px;
  font-size: 0.92rem;
  color: var(--branco-alpha80);
  line-height: 1.6;
}

.footer-instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--laranja);
  font-weight: 700;
  margin-top: 6px;
  transition: opacity var(--transition-fast);
}

.footer-instagram-link:hover {
  opacity: 0.85;
  text-decoration: underline;
}

.footer-bottom-legal {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid var(--chumbo-borda);
  font-size: 0.78rem;
  color: var(--branco-alpha60);
}

/* 13. TOAST FEEDBACK NOTIFICATION */
.toast-notice {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100;
  background-color: var(--chumbo);
  color: var(--branco);
  border: 1px solid var(--laranja);
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all 0.3s ease;
}

.toast-notice.show {
  opacity: 1;
  transform: translateY(0);
}

/* 14. SUPORTE A PREFERS-REDUCED-MOTION */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .pen-stroke-svg path {
    stroke-dashoffset: 0 !important;
  }
}
