/* ==========================================================================
   DESIGN SYSTEM - RETIRO PARA HOMENS 2026
   ========================================================================== */

:root {
  /* Paleta de Cores Oficial */
  --color-charcoal: #352f36;      /* Charcoal Slate */
  --color-platinum: #dcdcdd;      /* Platinum */
  --color-ice-white: #f7f9fc;     /* Ice White */
  --color-royal-blue: #436fb6;    /* Classic Royal Blue */
  --color-lavender: #d2d7ed;      /* Lavender Blue */
  
  /* Cores Auxiliares */
  --color-white: #ffffff;
  --color-text-dark: #2a252b;
  --color-text-muted: #6e6770;
  --color-warning-bg: rgba(224, 86, 36, 0.08);
  --color-warning-border: rgba(224, 86, 36, 0.3);
  --color-warning-text: #bd3c15;
  --color-success: #28a745;
  --color-success-bg: rgba(40, 167, 69, 0.08);
  
  /* Transparências Glassmorphism */
  --glass-bg: rgba(247, 249, 252, 0.75);
  --glass-bg-dark: rgba(53, 47, 54, 0.85);
  --glass-border: rgba(210, 217, 237, 0.45);
  --glass-border-light: rgba(255, 255, 255, 0.35);
  --glass-shadow: 0 8px 32px 0 rgba(43, 40, 44, 0.08);
  --glass-shadow-heavy: 0 16px 48px 0 rgba(43, 40, 44, 0.15);
  
  /* Fontes */
  --font-primary: 'The Seasons', 'Playfair Display', 'Didot', 'Georgia', serif;
  --font-secondary: 'Montserrat', sans-serif;
  
  /* Transições */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   RESET & CONFIGURAÇÕES BÁSICAS
   ========================================================================== */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overscroll-behavior-y: none;
}

body {
  font-family: var(--font-secondary);
  background-color: #f1f3f7; /* Fundo suave com profundidade */
  color: var(--color-text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  overscroll-behavior-y: none;
}

main {
  position: relative;
  z-index: 2;
}

/* Compensação de scroll para âncoras (altura do header fixo) */
section {
  scroll-margin-top: 90px;
}

/* ==========================================================================
   ELEMENTOS DE BRILHO E GRADIENTE (AMBIENT GLOW)
   ========================================================================== */

.ambient-glow-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  clip-path: inset(0);
}

.glow-svg {
  position: absolute;
  width: 55vw;
  min-width: 450px;
  max-width: 950px;
  height: auto;
  opacity: 0.55; /* Increased opacity so the blobs stand out beautifully as requested */
  pointer-events: none;
  will-change: transform;
}

.glow-svg-1 {
  top: 1%;
  right: -8%;
  animation: moveBlob1 48s ease-in-out infinite alternate;
}

.glow-svg-2 {
  top: 12%;
  left: -12%;
  animation: moveBlob2 58s ease-in-out infinite alternate;
}

.glow-svg-3 {
  top: 42%;
  right: -15%;
  animation: moveBlob3 68s ease-in-out infinite alternate;
}

.glow-svg-4 {
  top: 72%;
  left: -8%;
  animation: moveBlob4 54s ease-in-out infinite alternate;
}

@keyframes moveBlob1 {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  33% {
    transform: translate(3vw, 4vh) scale(1.06) rotate(15deg);
  }
  66% {
    transform: translate(-2vw, 6vh) scale(0.96) rotate(-10deg);
  }
  100% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
}

@keyframes moveBlob2 {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  50% {
    transform: translate(-4vw, 5vh) scale(1.1) rotate(20deg);
  }
  100% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
}

@keyframes moveBlob3 {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  40% {
    transform: translate(4vw, -3vh) scale(0.93) rotate(-15deg);
  }
  80% {
    transform: translate(-3vw, 5vh) scale(1.07) rotate(12deg);
  }
  100% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
}

@keyframes moveBlob4 {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  50% {
    transform: translate(3vw, -4vh) scale(1.08) rotate(-25deg);
  }
  100% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
}

/* ==========================================================================
   CABEÇALHO (HEADER)
   ========================================================================== */

.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: #ffffff; /* Solid premium white as requested */
  border-bottom: 1px solid rgba(0, 0, 0, 0.05); /* Soft, delicate separator */
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03); /* Refined, premium visual lift */
  transition: padding var(--transition-normal);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.header-title {
  font-family: var(--font-primary);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-charcoal);
  letter-spacing: 0.5px;
}

/* Toggle Menu (Desktop Hidden) */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-charcoal);
  padding: 4px;
}
.mobile-menu-toggle .close-icon {
  display: none;
}
.mobile-menu-toggle.active .menu-icon {
  display: none;
}
.mobile-menu-toggle.active .close-icon {
  display: block;
}

.event-chips-container {
  display: flex;
  gap: 10px;
  align-items: center;
}

.event-chip {
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.active-chip {
  background-color: var(--color-royal-blue);
  color: var(--color-white);
  box-shadow: 0 4px 12px rgba(67, 111, 182, 0.3);
}

.active-chip:hover {
  background-color: #355da0;
  transform: translateY(-1px);
}

.disabled-chip {
  background-color: rgba(53, 47, 54, 0.05);
  color: rgba(53, 47, 54, 0.4);
  border: 1px solid rgba(53, 47, 54, 0.08);
  cursor: not-allowed;
  user-select: none;
}

/* ==========================================================================
   BOTOES E ELEMENTOS COMUNS (CTAs)
   ========================================================================== */

.cta-button {
  display: inline-block;
  padding: 16px 36px;
  background-color: var(--color-royal-blue);
  color: var(--color-white);
  font-family: var(--font-secondary);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(67, 111, 182, 0.25);
  transition: all var(--transition-normal);
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
  z-index: -1;
}

.cta-button:hover {
  background-color: #355da0;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(67, 111, 182, 0.35);
}

.cta-button:hover::before {
  transform: translateX(100%);
}

.cta-button:active {
  transform: translateY(0);
}

/* Seções de Texto Comuns */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
}

.section-title {
  font-family: var(--font-primary);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--color-charcoal);
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--color-royal-blue);
  border-radius: 2px;
}

/* ==========================================================================
   CARDS GLASSMORPHISM EM DESTAQUE
   ========================================================================== */

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  box-shadow: var(--glass-shadow);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.glass-card:hover {
  border-color: rgba(67, 111, 182, 0.25);
  box-shadow: var(--glass-shadow-heavy);
}

/* ==========================================================================
   1. HERO SECTION (PRIMEIRA DOBRA)
   ========================================================================== */

.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px; /* Evitar sobreposição com cabeçalho */
  position: relative;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px;
  width: 100%;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero-title {
  font-family: var(--font-primary);
  font-size: clamp(3.2rem, 8vw, 5.2rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-charcoal);
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-family: var(--font-secondary);
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 400;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 48px;
  padding: 0 10px;
}

/* Informações Rápidas Grid */
.quick-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 50px;
}

.info-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(210, 217, 237, 0.4);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  transition: all var(--transition-normal);
}

.info-card:hover {
  transform: translateY(-3px);
  background: var(--color-white);
  border-color: rgba(67, 111, 182, 0.2);
  box-shadow: 0 10px 25px rgba(67, 111, 182, 0.06);
}

.info-icon {
  background-color: rgba(67, 111, 182, 0.1);
  color: var(--color-royal-blue);
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.info-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.info-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--color-royal-blue);
  letter-spacing: 1px;
}

.info-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-charcoal);
  line-height: 1.4;
}

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

.hero-cta-area {
  display: flex;
  justify-content: center;
}

/* ==========================================================================
   2. SOBRE O EVENTO
   ========================================================================== */

.about-section {
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.about-card {
  padding: 40px 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.about-icon {
  background-color: rgba(67, 111, 182, 0.08);
  color: var(--color-royal-blue);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-card h3 {
  font-family: var(--font-primary);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--color-charcoal);
}

.about-card p {
  font-size: 0.98rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

@media (min-width: 992px) {
  .about-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .wide-about-card {
    grid-column: span 2;
    padding: 40px 60px;
  }
}

/* ==========================================================================
   3. PROGRAMAÇÃO E CONVIDADOS
   ========================================================================== */

.schedule-section {
  position: relative;
}

.subsection-title {
  font-family: var(--font-primary);
  font-size: 1.8rem;
  color: var(--color-charcoal);
  margin-bottom: 30px;
  text-align: center;
  font-weight: 500;
}

/* Palestrantes/Participações */
.speakers-area {
  margin-bottom: 60px;
}

.speakers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.speaker-card {
  padding: 30px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  text-align: left;
}

.speaker-avatar {
  background-color: var(--color-charcoal);
  color: var(--color-platinum);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--font-primary);
  font-size: 1.8rem;
  font-weight: 600;
  flex-shrink: 0;
  border: 2px solid var(--color-lavender);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.speaker-avatar svg {
  width: 26px;
  height: 26px;
  stroke: var(--color-platinum);
}

.speaker-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.speaker-info h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-charcoal);
}

.speaker-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-royal-blue);
  letter-spacing: 0.5px;
}

.speaker-topic {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.4;
  margin-top: 4px;
}

/* Cronograma */
.timeline-area {
  padding: 40px 30px;
}

.timeline-header {
  margin-bottom: 30px;
  text-align: center;
}

.timeline-header h3 {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-charcoal);
  margin-bottom: 8px;
}

.timeline-instructions {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  font-style: italic;
  display: none; /* Mostrado no mobile via media query */
}

/* Seletor de abas mobile */
.mobile-tabs-container {
  display: none;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
}

.tab-button {
  padding: 10px 20px;
  border-radius: 50px;
  border: 1px solid var(--color-lavender);
  background: var(--color-white);
  font-family: var(--font-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tab-button.active {
  background-color: var(--color-royal-blue);
  color: var(--color-white);
  border-color: var(--color-royal-blue);
  box-shadow: 0 4px 10px rgba(67, 111, 182, 0.2);
}

/* Tabela de Cronograma */
.table-scroll-container {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 20px;
  border: 1px solid rgba(67, 111, 182, 0.15);
  box-shadow: 0 10px 30px rgba(67, 111, 182, 0.04);
  background-color: rgba(255, 255, 255, 0.4);
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  background-color: rgba(255, 255, 255, 0.45);
  font-size: 0.92rem;
  overflow: hidden;
}

.schedule-table th, 
.schedule-table td {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(210, 217, 237, 0.35);
  transition: all var(--transition-fast);
}

.schedule-table th {
  background-color: rgba(247, 249, 252, 0.9);
  color: var(--color-charcoal);
  font-family: var(--font-secondary);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.75px;
  text-transform: uppercase;
  border-bottom: 2px solid rgba(210, 217, 237, 0.65);
}

.schedule-table tbody tr {
  transition: background-color var(--transition-fast);
}

.schedule-table tbody tr:hover {
  background-color: rgba(67, 111, 182, 0.02);
}

.schedule-table tbody tr:last-child td {
  border-bottom: none;
}

.time-col {
  font-weight: 700;
  color: var(--color-charcoal);
  width: 95px;
  background-color: rgba(248, 250, 252, 0.65);
  text-align: center;
  border-right: 1px solid rgba(210, 217, 237, 0.4);
  font-size: 0.88rem;
  letter-spacing: 0.5px;
}

.empty-cell {
  color: rgba(0, 0, 0, 0.12);
  font-style: normal;
  text-align: center;
  background-color: rgba(248, 250, 252, 0.2);
}

.spanned-activity-cell {
  background: linear-gradient(180deg, rgba(67, 111, 182, 0.04) 0%, rgba(67, 111, 182, 0.02) 100%);
  border-left: 4px solid rgba(67, 111, 182, 0.35) !important;
  vertical-align: middle;
  text-align: center;
  font-weight: 700;
  color: var(--color-charcoal);
  letter-spacing: 0.5px;
  box-shadow: inset 3px 0 8px -3px rgba(67, 111, 182, 0.08);
}

/* Categorias de Atividades com Cores Coerentes (Apenas tons de Azul e Neutros) */
.routine-activity {
  color: rgba(53, 47, 54, 0.55);
  font-size: 0.88rem;
  font-weight: 500;
}

.session-activity {
  color: #3b5f9c;
  font-weight: 600;
  background-color: rgba(67, 111, 182, 0.04);
}

.session-activity.highlight-core-session {
  background: linear-gradient(135deg, rgba(67, 111, 182, 0.08) 0%, rgba(67, 111, 182, 0.03) 100%);
  color: #2b5494;
  font-weight: 700;
  border-left: 3px solid rgba(67, 111, 182, 0.4);
}

.meal-activity {
  color: var(--color-charcoal);
  font-weight: 500;
  background-color: rgba(67, 111, 182, 0.02); /* Tom de azul extremamente sutil e neutro */
}

.recreation-activity {
  color: var(--color-charcoal);
  font-weight: 500;
  background-color: rgba(67, 111, 182, 0.02); /* Mesmo tom de azul extremamente sutil e neutro */
}

.schedule-table td:not(.empty-cell):not(.time-col):hover {
  background-color: rgba(255, 255, 255, 0.95) !important;
  color: #000000 !important;
  box-shadow: inset 0 0 0 1px rgba(67, 111, 182, 0.15), 0 4px 12px rgba(67, 111, 182, 0.04);
}

/* ==========================================================================
   4. INFORMAÇÕES PRÁTICAS E LOGÍSTICA
   ========================================================================== */

.practical-section {
  position: relative;
}

.practical-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.practical-grid > * {
  min-width: 0;
}

@media (min-width: 992px) {
  .practical-grid {
    grid-template-columns: 1.3fr 1fr;
  }
}

/* Investimento e Preços */
.price-area {
  padding: 40px 30px;
}

.price-title {
  font-family: var(--font-primary);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-charcoal);
  margin-bottom: 24px;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.price-table th, 
.price-table td {
  padding: 16px;
  border-bottom: 1px solid rgba(210, 217, 237, 0.3);
  font-size: 0.9rem;
}

.price-table th {
  font-weight: 700;
  color: var(--color-charcoal);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 1px;
  background-color: rgba(247, 249, 252, 0.9);
  border-bottom: 2px solid rgba(210, 217, 237, 0.65);
}

.pricing-deadline {
  font-weight: 700;
  color: var(--color-charcoal);
}

.pricing-value {
  font-weight: 600;
  font-size: 1rem;
}

.pricing-install {
  color: var(--color-text-muted);
}

.pricing-months {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.pricing-inclusion {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin-top: 24px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}

.inline-icon {
  flex-shrink: 0;
  color: var(--color-royal-blue);
  margin-top: 2px;
}

/* Highlight Lote Dinâmico */
.price-table tbody tr.active-lote {
  background-color: rgba(67, 111, 182, 0.08);
  border: 2px solid var(--color-royal-blue);
  position: relative;
  box-shadow: 0 4px 15px rgba(67, 111, 182, 0.1);
}

.price-table tbody tr.active-lote td {
  border-bottom-color: rgba(67, 111, 182, 0.2);
}

.price-table tbody tr.active-lote td.pricing-deadline {
  color: var(--color-royal-blue);
  display: flex;
  align-items: center;
  gap: 8px;
}

.price-table tbody tr.active-lote td.pricing-deadline::after {
  content: 'LOTE ATIVO';
  background-color: var(--color-royal-blue);
  color: var(--color-white);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.price-table tbody tr.expired-lote {
  opacity: 0.45;
  background-color: rgba(0, 0, 0, 0.01);
}

.price-table tbody tr.expired-lote td.pricing-deadline {
  text-decoration: line-through;
}

/* Caixa PIX e Contatos */
.pix-registration-box {
  margin-top: 30px;
  padding: 24px;
  border-radius: 16px;
  background: var(--color-white);
  border: 1px dashed var(--color-lavender);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.reg-contact {
  font-size: 0.95rem;
}

.phone-link {
  color: var(--color-royal-blue);
  text-decoration: none;
  font-weight: 700;
}

.phone-link:hover {
  text-decoration: underline;
}

.pix-details {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.95rem;
}

.pix-key {
  font-family: monospace;
  font-size: 1.05rem;
  background-color: var(--color-ice-white);
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid var(--color-lavender);
  font-weight: 600;
  color: var(--color-charcoal);
  word-break: break-all;
}

.copy-btn {
  padding: 6px 16px;
  background-color: var(--color-charcoal);
  color: var(--color-platinum);
  border: none;
  border-radius: 8px;
  font-family: var(--font-secondary);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.copy-btn:hover {
  background-color: var(--color-royal-blue);
  color: var(--color-white);
  transform: translateY(-1px);
}

.copy-btn.copied {
  background-color: var(--color-success);
  color: var(--color-white);
}

.pix-warning {
  width: 100%;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-text-muted);
  letter-spacing: 0.5px;
}

/* Regras de Logística e Avisos */
.logistics-cards-area {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

@media (min-width: 992px) {
  .logistics-cards-area {
    height: 100%;
  }
  .logistics-cards-area .logistics-card:last-child {
    margin-top: auto;
  }
}

.logistics-card {
  padding: 35px 30px;
}

.card-header-with-icon {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.card-header-with-icon h3 {
  font-family: var(--font-primary);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-charcoal);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.card-icon.error-color {
  background-color: var(--color-warning-bg);
  color: var(--color-warning-text);
  border: 1px solid var(--color-warning-border);
}

.card-icon.primary-color {
  background-color: rgba(67, 111, 182, 0.1);
  color: var(--color-royal-blue);
  border: 1px solid rgba(67, 111, 182, 0.2);
}

.logistics-card p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.warning-card {
  border-left: 4px solid var(--color-warning-text);
}

/* ==========================================================================
   5. INSCRIÇÃO CLARA E DIRETA (ÁREA DE CONVERSÃO)
   ========================================================================== */

.registration-section {
  position: relative;
}

.registration-card-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 50px;
  position: relative;
  text-align: center;
  overflow: hidden;
  border: 1px solid var(--glass-border);
}

.registration-badge {
  display: inline-block;
  padding: 6px 16px;
  background-color: rgba(67, 111, 182, 0.1);
  color: var(--color-royal-blue);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
  border: 1px solid rgba(67, 111, 182, 0.2);
}

.registration-header {
  margin-bottom: 48px;
}

.registration-main-title {
  font-family: var(--font-primary);
  font-size: clamp(2rem, 5vw, 2.6rem);
  font-weight: 600;
  color: var(--color-charcoal);
  margin-bottom: 16px;
}

.registration-desc {
  font-size: 1rem;
  color: var(--color-text-muted);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Passos do Processo */
.steps-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 650px;
  margin: 0 auto 50px auto;
  text-align: left;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.step-number {
  background-color: var(--color-royal-blue);
  color: var(--color-white);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(67, 111, 182, 0.3);
}

.step-info h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-charcoal);
  margin-bottom: 4px;
}

.step-info p {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* Botões de Ação Integrados nos Passos */
.step-action-btn {
  margin: 16px auto 0 auto;
  width: 100%;
  padding: 14px 24px !important;
  white-space: nowrap;
  font-size: 0.95rem;
  display: flex;
}

@media (max-width: 480px) {
  .step-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }

  .step-action-btn {
    white-space: normal !important;
    font-size: 0.9rem;
    padding: 12px 18px !important;
  }

  .pix-registration-box {
    align-items: center;
    text-align: center;
  }

  .pix-details {
    justify-content: center;
  }
}

.primary-registration-btn,
.secondary-registration-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
}

.secondary-registration-btn {
  background-color: #25d366;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.2);
}

.secondary-registration-btn:hover {
  background-color: #1ebe57;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
}

.btn-icon-svg {
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.primary-registration-btn:hover .btn-icon-svg {
  transform: translateY(-1px);
}

.secondary-registration-btn:hover .btn-icon-svg {
  transform: scale(1.1);
}

.registration-footer-info {
  margin-top: 36px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-style: italic;
}

.registration-integrated-box {
  margin: 10px auto;
  width: 100%;
  max-width: 600px;
  background-color: rgba(255, 255, 255, 0.45) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px dashed rgba(67, 111, 182, 0.25) !important;
  box-shadow: 0 8px 32px rgba(67, 111, 182, 0.05);
  text-align: left;
}

/* ==========================================================================
   6. PERGUNTAS FREQUENTES (FAQ ACCORDION NATIVO)
   ========================================================================== */

.faq-section {
  position: relative;
}

.faq-accordion-group {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border-radius: 16px;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.faq-item[open],
.faq-item.is-active {
  border-color: rgba(67, 111, 182, 0.3);
  box-shadow: var(--glass-shadow-heavy);
}

.faq-question {
  padding: 24px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-charcoal);
  cursor: pointer;
  list-style: none; /* Esconder seta padrão no Firefox/Chrome */
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

/* Esconder seta padrão no Safari */
.faq-question::-webkit-details-marker {
  display: none;
}

.faq-icon-arrow {
  width: 20px;
  height: 20px;
  display: inline-block;
  flex-shrink: 0;
  position: relative;
  transition: transform var(--transition-normal);
}

.faq-icon-arrow::before,
.faq-icon-arrow::after {
  content: '';
  position: absolute;
  background-color: var(--color-royal-blue);
  transition: transform var(--transition-normal);
}

/* Desenhar seta estilizada em cruz/menos ou seta tradicional */
.faq-icon-arrow::before {
  top: 9px;
  left: 3px;
  width: 14px;
  height: 2px;
}

.faq-icon-arrow::after {
  top: 3px;
  left: 9px;
  width: 2px;
  height: 14px;
}

/* Rotacionar seta ou mudar para sinal de menos ao abrir */
.faq-item[open] .faq-icon-arrow,
.faq-item.is-active .faq-icon-arrow {
  transform: rotate(45deg); /* Vira um "x" ou sinal de fechar */
}

.faq-answer {
  padding: 0 24px 24px 24px;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  border-top: 1px solid transparent;
  animation: slideDown 0.3s ease-out;
}

.faq-item[open] .faq-answer,
.faq-item.is-active .faq-answer {
  border-top-color: rgba(210, 217, 237, 0.2);
}

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

/* ==========================================================================
   7. RODAPÉ (FOOTER)
   ========================================================================== */

.main-footer {
  background-color: var(--color-charcoal);
  color: var(--color-platinum);
  padding: 80px 0 30px 0;
  position: relative;
  z-index: 10;
  box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.1);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 768px) {
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 992px) {
  .footer-top-grid {
    grid-template-columns: 1.2fr 1fr 1.3fr;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  height: 48px;
  width: auto;
  align-self: flex-start;
}

.footer-brand-title {
  font-family: var(--font-primary);
  font-size: 1.6rem;
  color: var(--color-ice-white);
}

.footer-brand-desc {
  font-size: 0.9rem;
  color: #b0aab3;
  line-height: 1.5;
}

.footer-links h4,
.footer-location h4 {
  font-size: 0.95rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--color-lavender);
  letter-spacing: 1px;
  margin-bottom: 20px;
  position: relative;
}

.footer-links h4::after,
.footer-location h4::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--color-royal-blue);
}

.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-list li {
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-link-item {
  color: var(--color-ice-white);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color var(--transition-fast);
}

.contact-link-item:hover {
  color: var(--color-royal-blue);
}

.footer-icon {
  color: var(--color-royal-blue);
  flex-shrink: 0;
}

.location-text {
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.map-embed-wrapper {
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.footer-divider {
  border: none;
  height: 1px;
  background-color: rgba(220, 220, 221, 0.1);
  margin: 50px 0 30px 0;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-copyright {
  font-size: 0.85rem;
  color: #b0aab3;
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.footer-socials a {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--color-platinum);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all var(--transition-fast);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-socials a:hover {
  background-color: var(--color-royal-blue);
  color: var(--color-white);
  transform: translateY(-2px);
  border-color: var(--color-royal-blue);
}

/* ==========================================================================
   ESTILOS RESPONSIVOS E ADAPTAÇÕES MOBILE (MEDIA QUERIES)
   ========================================================================== */

@media (max-width: 767px) {
  /* Cabeçalho no mobile */
  .header-container {
    padding: 12px 16px;
  }
  .header-title {
    font-size: 1.2rem;
  }
  
  .mobile-menu-toggle {
    display: block;
    margin-left: auto;
  }
  
  .event-chips-container {
    position: absolute;
    top: 100%;
    right: 16px;
    left: 16px;
    margin-top: 10px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    padding: 16px;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: all 0.3s ease;
  }
  
  .event-chips-container.menu-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .event-chip {
    width: 100%;
    text-align: center;
    padding: 10px 16px;
    font-size: 0.9rem;
  }

  /* Seções */
  .section-container {
    padding: 60px 16px;
  }
  .section-title {
    font-size: 2rem;
  }

  /* Hero no mobile */
  .hero-section {
    padding-top: 80px;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  /* Sobre no mobile */
  .about-card {
    padding: 30px 20px;
  }

  /* Cronograma Mobile Slider e Tabs */
  .timeline-instructions {
    display: block; /* Mostra instruções de rolagem */
  }

  .mobile-tabs-container {
    display: flex; /* Mostra botões de abas */
  }

  /* Lógica das colunas no mobile por JS:
     Adicionaremos a classe .hide-col-mobile nas colunas da tabela que não estão ativas na aba.
  */
  .schedule-table th, 
  .schedule-table td {
    padding: 12px 14px;
    font-size: 0.88rem;
  }
  .schedule-table th.hide-col-mobile,
  .schedule-table td.hide-col-mobile {
    display: none;
  }
  
  /* Investimento */
  .price-area {
    padding: 30px 16px;
  }
  .price-table th, 
  .price-table td {
    padding: 12px 10px;
    font-size: 0.82rem;
  }
  .price-table tbody tr.active-lote td.pricing-deadline::after {
    padding: 1px 4px;
    font-size: 0.55rem;
  }
  .pix-key {
    font-size: 0.88rem;
  }

  /* Inscrição */
  .registration-card-wrapper {
    padding: 40px 20px;
  }
  .registration-main-title {
    font-size: 1.8rem;
  }
  .steps-container {
    gap: 20px;
  }
  
  /* FAQ */
  .faq-question {
    padding: 18px;
    font-size: 0.92rem;
  }
  .faq-answer {
    padding: 0 18px 18px 18px;
    font-size: 0.88rem;
  }
  
  /* Footer no mobile */
  .main-footer {
    padding: 50px 0 20px 0; /* Menos padding inferior */
  }
  .footer-bottom {
    gap: 10px; /* Menos gap entre direitos autorais e sociais */
  }
}

/* ==========================================================================
   9. ANIMAÇÕES DE SCROLL (FADE UP)
   ========================================================================== */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.25, 1, 0.5, 1), transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: opacity, transform;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
