:root {
  --color-primary: #0057D9;
  --color-primary-dark: #0041A3;
  --color-secondary: #FF7A00;
  --color-bg: #F5F7FA;
  --color-white: #FFFFFF;
  --color-text: #1F2933;
  --color-text-light: #6B7280;
  --color-border: #E5E7EB;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.5;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 16px;
  margin: 0 auto;
}

/* LINKS E TEXTOS */
a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--color-white);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo a {
  display: block;
  line-height: 0;
}

/* LOGO MENOR E PROPORCIONAL */
.logo img {
  height: 36px;  /* ajuste aqui se quiser ainda menor: 32px, 28px */
  width: auto;
  display: block;
}

/* NAV */
.main-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.main-nav > a,
.main-nav > .dropdown > button {
  font-size: 14px;
  color: var(--color-text);
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 4px;
}

.main-nav > a:hover,
.main-nav > .dropdown > button:hover {
  color: var(--color-primary);
  text-decoration: none;
}

/* DROPDOWN */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 36px;
  left: 0;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  padding: 8px 0;
  display: none;
  min-width: 180px;
  z-index: 10;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 8px 16px;
  font-size: 14px;
  color: var(--color-text);
}

.dropdown-menu a:hover {
  background-color: #F3F4F6;
  text-decoration: none;
}

/* HEADER ACTIONS */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.link-login {
  font-size: 14px;
  color: var(--color-text);
}

.link-login:hover {
  color: var(--color-primary);
}

/* BOTÕES */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.05s ease;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  text-decoration: none;
}

.btn-secondary {
  background-color: var(--color-secondary);
  color: var(--color-white);
}

.btn-secondary:hover {
  background-color: #e06b00;
  text-decoration: none;
}

.btn-outline {
  background-color: transparent;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
}

.btn-outline:hover {
  background-color: rgba(0,87,217,0.05);
  text-decoration: none;
}

.btn-lg {
  padding: 12px 24px;
  font-size: 15px;
}

.btn-full {
  width: 100%;
}

/* MENU MOBILE */
.menu-toggle {
  display: none;
  background: #f1f5f9; /* Fundo leve para o botão */
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  color: var(--color-text);
  transition: all 0.2s ease;
  align-items: center;
  justify-content: center;
}

.menu-toggle svg {
  width: 24px;
  height: 24px;
  display: block;
}

.menu-toggle:hover {
  background-color: rgba(0, 87, 217, 0.1);
  color: var(--color-primary);
}

.menu-toggle:active {
  transform: scale(0.95);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 12px 16px 16px;
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-border);
}

.mobile-menu a {
  font-size: 14px;
  padding: 4px 0;
  color: var(--color-text);
}

.mobile-menu.open {
  display: flex;
}

/* HERO */
.page-home {
  padding-bottom: 64px;
}

.home-hero {
  padding: 40px 0 32px;
  background: linear-gradient(135deg, rgba(0,87,217,0.08), rgba(255,122,0,0.04));
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
  align-items: center;
}

.hero-col-left h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 32px;
  margin: 0 0 12px;
}

.hero-col-left p {
  margin: 0 0 20px;
  color: var(--color-text-light);
}

/* Form de busca */
.busca-eventos {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.busca-eventos input,
.busca-eventos select {
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  font-size: 14px;
  flex: 1 1 160px;
}

.busca-eventos button {
  flex: 0 0 auto;
}

/* Chips */
.atalhos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  border-radius: 999px;
  border: 1px solid var(--color-border);
  padding: 6px 12px;
  font-size: 12px;
  background-color: var(--color-white);
  cursor: pointer;
}

.chip:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* Evento destaque */
.hero-col-right {
  display: flex;
  justify-content: center;
}

.evento-destaque-card {
  background-color: var(--color-white);
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(15,23,42,0.12);
  overflow: hidden;
  max-width: 360px;
  width: 100%;
}

.evento-destaque-img {
  background: linear-gradient(135deg, #0057D9, #FF7A00);
  color: var(--color-white);
  height: 120px;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.evento-destaque-body {
  padding: 16px 16px 18px;
}

.tag {
  display: inline-block;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
  background-color: rgba(0,87,217,0.08);
  color: var(--color-primary);
  margin-bottom: 8px;
}

.evento-destaque-body h3 {
  margin: 0 0 4px;
  font-size: 18px;
}

.evento-destaque-body .local,
.evento-destaque-body .data {
  margin: 0;
  font-size: 13px;
  color: var(--color-text-light);
}

.evento-destaque-body .status {
  margin: 8px 0 12px;
  font-size: 13px;
  color: var(--color-secondary);
  font-weight: 500;
}

/* SEÇÕES GERAIS */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  margin-top: 40px;
}

.section-header h2 {
  margin: 0 0 4px;
  font-size: 22px;
}

.section-header p {
  margin: 0;
  color: var(--color-text-light);
  font-size: 14px;
}

.section-header.center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.link-ver-todos {
  font-size: 14px;
}

/* GRID EVENTOS */
.home-eventos {
  padding-top: 8px;
}

.grid-eventos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card-evento {
  background-color: var(--color-white);
  border-radius: 12px;
  border: 1px solid var(--color-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.card-evento:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.card-evento-img {
  width: 100%;
  height: 160px;
  overflow: hidden;
  background-color: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-evento-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.card-evento-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.card-evento h3 {
  margin: 4px 0;
  font-size: 16px;
}

.card-evento-content h3 {
  margin: 4px 0;
  font-size: 16px;
  line-height: 1.3;
}

.card-evento-content .local,
.card-evento-content .data {
  margin: 0;
  font-size: 13px;
  color: var(--color-text-light);
}

.card-evento .local,
.card-evento .data {
  margin: 0;
  font-size: 13px;
  color: var(--color-text-light);
}

.card-evento-content .badge {
  display: inline-block;
  margin-top: 4px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 11px;
  background-color: #E5F6FF;
  color: #0369A1;
  align-self: flex-start;
}

.badge {
  display: inline-block;
  margin-top: 4px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 11px;
  background-color: #E5F6FF;
  color: #0369A1;
  align-self: flex-start;
}

.card-evento-content .badge-alerta {
  background-color: #FEF3C7;
  color: #92400E;
}

.badge-alerta {
  background-color: #FEF3C7;
  color: #92400E;
}

.card-evento-content .btn {
  margin-top: 10px;
  align-self: flex-start;
}

.card-evento .btn {
  margin-top: 10px;
  align-self: flex-start;
}

/* Responsividade do card */
@media (max-width: 720px) {
  .card-evento-img {
    height: 140px;
  }
}

/* COMO FUNCIONA */
.como-funciona {
  padding-top: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.como-funciona .item {
  background-color: var(--color-white);
  border-radius: 12px;
  padding: 20px;
  border: 1px solid var(--color-border);
  text-align: center;
}

.icon-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(0,87,217,0.08);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-weight: 600;
}

/* CTA ORGANIZADORES */
.cta-organizadores {
  margin-top: 40px;
}

.cta-box {
  background: linear-gradient(90deg, #0057D9, #1D4ED8);
  border-radius: 16px;
  padding: 24px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--color-white);
}

.cta-text h2 {
  margin: 0 0 8px;
}

.cta-text p {
  margin: 0;
  font-size: 14px;
}

/* BLOG */
.home-blog {
  margin-top: 40px;
}

.grid-blog {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card-blog {
  background-color: var(--color-white);
  border-radius: 12px;
  padding: 16px;
  border: 1px solid var(--color-border);
}

.card-blog h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.card-blog p {
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--color-text-light);
}

.btn-link {
  font-size: 13px;
}

/* FOOTER */
.site-footer {
  background-color: #0f172a;
  color: #e5e7eb;
  padding: 32px 0 16px;
  margin-top: 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 24px;
  margin-bottom: 24px;
}

.footer-col h4 {
  margin: 0 0 8px;
  font-size: 15px;
}

.footer-col p,
.footer-col a {
  font-size: 13px;
  color: #e5e7eb;
}

.footer-col a {
  display: block;
  margin-bottom: 4px;
}

.footer-col a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.social-links a {
  display: inline-block;
  margin-right: 8px;
}

.footer-bottom {
  border-top: 1px solid #1f2937;
  padding-top: 8px;
  text-align: center;
  font-size: 12px;
  color: #9ca3af;
}

/* RESPONSIVIDADE */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .home-hero {
    padding-top: 24px;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-header.center {
    align-items: center;
  }

  .grid-eventos,
  .grid-3,
  .grid-blog {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .main-nav,
  .header-actions {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero-col-left h1 {
    font-size: 24px;
  }

  /* FORMULÁRIO DE BUSCA 100% LARGURA NO MOBILE */
  .busca-eventos {
    flex-direction: column;
    align-items: stretch;
  }

  .busca-eventos input,
  .busca-eventos select,
  .busca-eventos button {
    width: 100%;
    flex: 0 0 auto;
  }

  .busca-eventos input,
  .busca-eventos select {
    border-radius: 999px;
  }

  .busca-eventos button {
    border-radius: 999px;
  }

  .grid-eventos,
  .grid-3,
  .grid-blog,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cta-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer {
    padding-inline: 0;
  }
}

/* ==========================================
   PÁGINA DE DETALHES DO EVENTO
   ========================================== */

.page-evento {
    padding-bottom: 60px;
}

/* Hero do Evento */
.evento-hero {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 40px 0;
    border-bottom: 1px solid var(--color-border);
}

.evento-hero-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    align-items: start;
}

.evento-nome {
    font-family: 'Poppins', sans-serif;
    font-size: 36px;
    margin: 10px 0;
    color: var(--color-text);
}

.evento-local, .evento-data {
    font-size: 18px;
    color: var(--color-text-light);
    margin: 5px 0;
}

.evento-contagem {
    margin-top: 15px;
    font-size: 16px;
}

.evento-hero-actions {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

/* Card Lateral de Imagem e Meta */
.evento-hero-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    overflow: hidden;
}

.evento-meta {
    padding: 20px;
}

.meta-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed var(--color-border);
}

.meta-item:last-child { border: none; }

.meta-label { color: var(--color-text-light); font-size: 14px; }
.meta-value { font-weight: 600; color: var(--color-text); }

.status-aberto { color: #10b981; }

/* Layout de Conteúdo e Abas */
.evento-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    margin-top: 40px;
}

.tabs {
    display: flex;
    gap: 10px;
    border-bottom: 2px solid var(--color-border);
    margin-bottom: 25px;
}

.tab-link {
    background: none;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text-light);
    cursor: pointer;
    position: relative;
    transition: all 0.3s;
}

.tab-link.active {
    color: var(--color-primary);
}

.tab-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-primary);
}

.tab-content {
    display: none;
    line-height: 1.8;
    color: #4b5563;
}

.tab-content.active {
    display: block;
}

/* Sidebar */
.box-inscricao {
    background: var(--color-white);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    position: sticky;
    top: 100px;
}

/* Responsividade */
@media (max-width: 960px) {
    .evento-hero-grid, .evento-layout {
        grid-template-columns: 1fr;
    }
    .evento-hero-card {
        order: -1; /* Imagem sobe no mobile */
	display: none; /* Esconde evento-hero-card no mobile */
    }
    .evento-sidebar {
        display: none; /* Esconde sidebar no mobile já que tem o botão no topo */
    }
}

/* Percurso - imagem responsiva */
.percurso-container {
  width: 100%;
  max-width: 900px;        /* limite opcional de largura */
  margin: 0 auto;          /* centraliza */
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: #f9fafb;
}

.percurso-container img {
  display: block;
  width: 100%;
  height: auto;            /* mantém proporção da imagem */
}

/* CORREÇÃO DE RESPONSIVIDADE PARA ABAS E CONTEÚDO NO MOBILE */
@media (max-width: 720px) {
    /* Garante que o container principal não tenha margens que 'comam' a tela */
    .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        width: 100% !important;
        overflow-x: hidden; /* Evita o scroll lateral */
    }

    /* Faz as abas ficarem em uma linha rolável se forem muitas, ou empilhadas */
    .tabs {
        display: flex;
        overflow-x: auto; /* Permite deslizar as abas se não couberem */
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        margin-left: -15px; /* Alinha com a borda da tela */
        margin-right: -15px;
        padding-left: 15px;
        padding-right: 15px;
        border-bottom: 1px solid var(--color-border);
    }

    .tab-link {
        padding: 10px 15px;
        font-size: 14px;
        flex: 0 0 auto; /* Impede que as abas encolham */
    }

    /* Ajusta o layout de colunas para virar uma coluna única perfeita */
    .evento-layout {
        display: block !important; /* Remove o Grid que pode estar causando o erro */
        width: 100% !important;
        margin-top: 20px;
    }

    .evento-tabs-col {
        width: 100% !important;
        padding: 0 !important;
    }

    /* Garante que o conteúdo das abas (texto, imagens, iframes) não vaze */
    .tab-content {
        width: 100% !important;
        padding: 15px 0 !important;
        word-wrap: break-word; /* Quebra palavras longas */
    }

    /* Ajuste específico para o Iframe do PDF e Imagem do Percurso */
    .pdf-container iframe, 
    .percurso-container img {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* ==========================================
   PÁGINA DE RESULTADOS
   ========================================== */

.resultados-hero {
    background-color: #f8fafc;
    padding: 60px 0;
    border-bottom: 1px solid var(--color-border);
}

.resultados-header-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.tag-sucesso {
    background-color: #d1fae5;
    color: #065f46;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.evento-meta-info {
    display: flex;
    gap: 20px;
    color: var(--color-text-light);
    margin-top: 10px;
}

/* Grid de Categorias */
.resultados-listagem {
    padding: 60px 0;
}

.grid-categorias {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.card-categoria {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.card-categoria:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.categoria-icon {
    font-size: 32px;
    background: #f1f5f9;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.categoria-info {
    flex: 1;
}

.categoria-info h3 {
    font-size: 18px;
    margin-bottom: 4px;
    color: var(--color-text);
}

.categoria-info p {
    font-size: 14px;
    color: var(--color-text-light);
}

/* Pesquisa de Satisfação */
.pesquisa-satisfacao {
    padding-bottom: 60px;
}

.pesquisa-box {
    background: linear-gradient(135deg, var(--color-primary) 0%, #1e40af 100%);
    border-radius: 16px;
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.pesquisa-text h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.btn-white {
    background: white;
    color: var(--color-primary);
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s;
}

.btn-white:hover {
    opacity: 0.9;
}

/* Responsividade */
@media (max-width: 768px) {
    .resultados-header-grid, .pesquisa-box {
        flex-direction: column;
        text-align: center;
    }
    .evento-meta-info {
        justify-content: center;
        flex-direction: column;
        gap: 5px;
    }
    .grid-categorias {
        grid-template-columns: 1fr;
    }
}

.tag-indisponivel {
    background-color: #fee2e2;
    color: #991b1b;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

/* ==========================================
   PÁGINA DE CLASSIFICAÇÃO
   ========================================== */

.classificacao-hero {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 40px 0 30px;
    border-bottom: 1px solid var(--color-border);
}

.btn-voltar {
    display: inline-block;
    color: var(--color-primary);
    font-size: 14px;
    margin-bottom: 15px;
    text-decoration: none;
    transition: opacity 0.2s;
}

.btn-voltar:hover {
    opacity: 0.7;
}

.categoria-titulo {
    font-size: 32px;
    margin: 10px 0 5px;
    color: var(--color-text);
}

.categoria-subtitulo {
    color: var(--color-text-light);
    font-size: 16px;
}

/* Filtros de Busca */
.filtros-busca {
    padding: 30px 0;
    background: white;
    border-bottom: 1px solid var(--color-border);
}

.form-busca-resultado {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.busca-tipo label {
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.radio-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: normal;
}

.radio-group input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.busca-input-group {
    display: flex;
    gap: 10px;
}

.input-busca {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-size: 16px;
}

/* Filtro de Faixa Etária */
.filtro-faixa-etaria {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    padding: 15px;
    background: #f9fafb;
    border-radius: 8px;
}

.filtro-faixa-etaria span {
    font-weight: 600;
    color: var(--color-text);
}

.badge-filtro {
    padding: 6px 14px;
    border-radius: 20px;
    background: white;
    border: 1px solid var(--color-border);
    color: var(--color-text);
    text-decoration: none;
    font-size: 13px;
    transition: all 0.2s;
}

.badge-filtro:hover, .badge-filtro.active {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

/* Tabela de Resultados */
.tabela-resultados {
    padding: 40px 0 60px;
}

.table-wrapper {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    background: white;
}

.table-classificacao {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.table-classificacao thead {
    background: #f8fafc;
}

.table-classificacao th {
    padding: 14px 12px;
    text-align: left;
    font-weight: 600;
    color: var(--color-text);
    border-bottom: 2px solid var(--color-border);
    white-space: nowrap;
}

.table-classificacao td {
    padding: 12px;
    border-bottom: 1px solid #f1f5f9;
    color: var(--color-text-light);
}

.table-classificacao tbody tr:hover {
    background: #fafbfc;
}

.nome-atleta {
    font-weight: 600;
    color: var(--color-text) !important;
}

.link-fe {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
}

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

.btn-certificado {
    display: inline-block;
    padding: 6px 12px;
    background: var(--color-primary);
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-size: 12px;
    white-space: nowrap;
    transition: opacity 0.2s;
}

.btn-certificado:hover {
    opacity: 0.9;
}

/* Paginação */
.paginacao {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
}

.page-info {
    color: var(--color-text-light);
    font-size: 14px;
}

/* Responsividade Mobile */
@media (max-width: 960px) {
    .table-wrapper {
        border: none;
    }

    .table-classificacao thead {
        display: none; /* Esconde cabeçalho no mobile */
    }

    .table-classificacao tbody tr {
        display: block;
        margin-bottom: 20px;
        border: 1px solid var(--color-border);
        border-radius: 8px;
        padding: 15px;
        background: white;
    }

    .table-classificacao td {
        display: flex;
        justify-content: space-between;
        padding: 8px 0;
        border: none;
    }

    .table-classificacao td::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--color-text);
    }

    .nome-atleta {
        display: block;
        width: 100%;
        margin-top: 5px;
    }

    .btn-certificado {
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }

    .busca-input-group {
        flex-direction: column;
    }
}

/* Ajuste para Tabela Responsiva e Botão Centralizado */
@media (max-width: 768px) {
    /* ... (mantenha as regras de table, tr, td:before que já funcionam) ... */

    /* Estilo específico para a célula do botão */
    td[data-label="Ações"] {
        display: flex !important;
        justify-content: center !important; /* Centraliza horizontalmente */
        align-items: center !important;
        padding: 20px 10px !important; /* Espaçamento interno */
        width: 100% !important;
        border-top: 1px solid #eee !important;
        margin-top: 10px !important;
        text-align: center !important;
    }

    /* Remove o rótulo "Ações:" lateral para não empurrar o botão */
    td[data-label="Ações"]:before {
        display: none !important;
    }

    /* Ajuste do botão para ocupar quase toda a largura e ficar centralizado */
    .btn-certificado {
        display: inline-block !important;
        width: 90% !important; /* Largura de 90% para não colar nas bordas */
        max-width: 300px !important; /* Não deixa o botão gigante em tablets */
        margin: 0 auto !important;
        padding: 12px !important;
        background-color: #0056b3 !important;
        color: #fff !important;
        text-decoration: none !important;
        border-radius: 6px !important;
        font-weight: bold !important;
        text-align: center !important;
    }
}

/* Estilos específicos para os Cards da Pesquisa (Adicione ao styles.css ou mantenha aqui) */
        .pesquisa-wrapper {
            padding: 60px 0;
            background-color: #f4f7f9;
        }

        .card-pergunta {
            background: #fff;
            border-radius: 12px;
            padding: 25px;
            margin-bottom: 25px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.05);
            border-left: 6px solid #00468b; /* Azul do seu site */
        }

        .card-pergunta h3 {
            font-size: 1.15rem;
            margin-bottom: 20px;
            color: #333;
            font-weight: 700;
        }

        /* Opções de Seleção Moderna */
        .opcoes-group {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
        }

        .opcao-item {
            flex: 1;
            min-width: 140px;
        }

        .opcao-item input[type="radio"] {
            display: none;
        }

        .opcao-item label {
            display: block;
            padding: 14px;
            background: #fdfdfd;
            border: 2px solid #eee;
            border-radius: 10px;
            text-align: center;
            cursor: pointer;
            transition: all 0.2s ease;
            font-weight: 600;
            color: #555;
        }

        .opcao-item input[type="radio"]:checked + label {
            background: #00468b;
            border-color: #00468b;
            color: #fff;
            transform: translateY(-2px);
            box-shadow: 0 5px 12px rgba(0,70,139,0.2);
        }

        /* Grid de Notas 0 a 10 */
        .grid-notas {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(45px, 1fr));
            gap: 8px;
        }

        .grid-notas .opcao-item { min-width: auto; }
        .grid-notas label { padding: 12px 5px; }

        .btn-enviar-pesquisa {
            display: block;
            width: 100%;
            max-width: 350px;
            margin: 50px auto 0;
            padding: 20px;
            background: #28a745;
            color: #fff;
            border: none;
            border-radius: 50px;
            font-size: 1.25rem;
            font-weight: 800;
            cursor: pointer;
            transition: all 0.3s;
            box-shadow: 0 8px 20px rgba(40,167,69,0.3);
            text-transform: uppercase;
        }

        .btn-enviar-pesquisa:hover {
            background: #218838;
            transform: scale(1.03);
        }

        @media (max-width: 768px) {
            .opcoes-group { flex-direction: column; }
            .grid-notas { grid-template-columns: repeat(4, 1fr); }
        }

/* Estilos específicos do formulário de contato */

        .contato-wrapper {
            padding: 60px 0;
            background: #f4f7f9;
        }

        .contato-card {
            background: #fff;
            border-radius: 12px;
            padding: 30px;
            box-shadow: 0 10px 25px rgba(0,0,0,0.05);
            max-width: 900px;
            margin: 0 auto;
        }

        .contato-grid {
            display: grid;
            grid-template-columns: 1.4fr 1fr;
            gap: 30px;
        }

        .contato-info {
            font-size: 0.95rem;
            color: #555;
        }

        .contato-info h3 {
            margin-bottom: 10px;
            color: #00468b;
        }

        .contato-info p {
            margin-bottom: 8px;
        }

        .form-contato .grupo-campo {
            margin-bottom: 18px;
        }

        .form-contato label {
            display: block;
            font-weight: 600;
            margin-bottom: 6px;
            color: #444;
        }

        .form-contato input[type="text"],
        .form-contato input[type="email"],
        .form-contato select,
        .form-contato textarea {
            width: 100%;
            padding: 10px 12px;
            border-radius: 8px;
            border: 1px solid #ccd1d9;
            font-size: 0.95rem;
            outline: none;
            transition: border 0.2s, box-shadow 0.2s, background 0.2s;
            background: #fff;
        }

        .form-contato input:focus,
        .form-contato select:focus,
        .form-contato textarea:focus {
            border-color: #00468b;
            box-shadow: 0 0 0 3px rgba(0,70,139,0.15);
        }

        .form-contato textarea {
            min-height: 140px;
            resize: vertical;
        }

        .btn-enviar-contato {
            display: inline-block;
            padding: 14px 35px;
            border-radius: 50px;
            background: #00468b;
            color: #fff;
            text-transform: uppercase;
            border: none;
            font-weight: 700;
            letter-spacing: .04em;
            cursor: pointer;
            transition: all 0.2s ease;
            box-shadow: 0 8px 18px rgba(0,70,139,0.25);
        }

        .btn-enviar-contato:hover {
            background: #00366a;
            transform: translateY(-2px);
        }

        /* Campo Evento com pesquisa (combobox) */

        .evento-combobox {
            position: relative;
        }

        .evento-search-input {
            width: 100%;
            padding: 10px 12px;
            border-radius: 8px;
            border: 1px solid #ccd1d9;
            font-size: 0.95rem;
            outline: none;
        }

        .evento-dropdown {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background: #fff;
            border-radius: 0 0 8px 8px;
            border: 1px solid #ccd1d9;
            border-top: none;
            max-height: 220px;
            overflow-y: auto;
            z-index: 50;
            display: none;
        }

        .evento-dropdown-item {
            padding: 8px 12px;
            cursor: pointer;
            font-size: 0.9rem;
            border-bottom: 1px solid #f2f2f2;
        }

        .evento-dropdown-item:last-child {
            border-bottom: none;
        }

        .evento-dropdown-item:hover {
            background: #f1f6ff;
        }

        .evento-tag-nenhum {
            font-style: italic;
            color: #777;
        }

        @media (max-width: 900px) {
            .contato-grid {
                grid-template-columns: 1fr;
            }
        }

/* Estilos específicos para a página de agradecimento */
        .agradecimento-wrapper {
            padding: 80px 20px;
            background: #f4f7f9;
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 60vh;
        }

        .agradecimento-card {
            background: #fff;
            border-radius: 20px;
            padding: 50px 30px;
            box-shadow: 0 15px 35px rgba(0,0,0,0.07);
            max-width: 600px;
            width: 100%;
            margin: 0 auto; /* Centraliza horizontalmente */
            text-align: center;
            border-top: 8px solid #28a745;
        }

        .icon-success {
            width: 80px;
            height: 80px;
            background: #e9f7ef;
            color: #28a745;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 25px;
        }

        .agradecimento-card h1 {
            color: #00468b;
            font-size: 2.2rem;
            margin-bottom: 15px;
            font-weight: 800;
        }

        .agradecimento-card p {
            color: #666;
            font-size: 1.1rem;
            line-height: 1.6;
            margin-bottom: 35px;
        }

        .botoes-acao {
            display: flex;
            gap: 15px;
            justify-content: center;
            flex-wrap: wrap;
        }

        .btn-home {
            display: inline-block;
            padding: 15px 35px;
            background: #00468b;
            color: #fff;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 700;
            transition: all 0.3s ease;
            box-shadow: 0 8px 20px rgba(0,70,139,0.2);
        }

        .btn-eventos {
            display: inline-block;
            padding: 15px 35px;
            background: #fff;
            color: #00468b;
            border: 2px solid #00468b;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 700;
            transition: all 0.3s ease;
        }

        .btn-home:hover {
            background: #003366;
            transform: translateY(-3px);
        }

        .btn-eventos:hover {
            background: #f0f5ff;
            transform: translateY(-3px);
        }

        @media (max-width: 600px) {
            .agradecimento-wrapper {
                padding: 60px 15px;
            }
            .agradecimento-card {
                padding: 40px 20px;
            }
            .agradecimento-card h1 { 
                font-size: 1.8rem; 
            }
            .botoes-acao { 
                flex-direction: column; 
            }
            .btn-home, .btn-eventos { 
                width: 100%; 
            }
        }

/* Botão Flutuante WhatsApp */
    .whatsapp-float {
        position: fixed;
        bottom: 30px;
        right: 30px;
        width: 60px;
        height: 60px;
        background: #25D366; /* Verde oficial do WhatsApp */
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
        z-index: 1000;
        transition: all 0.3s ease;
        cursor: pointer;
        text-decoration: none;
    }

    .whatsapp-float:hover {
        background: #128C7E; /* Verde escuro do WhatsApp */
        transform: scale(1.1);
        box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
    }

    .whatsapp-float svg {
        filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
    }

    /* Animação de pulso (opcional - chama atenção) */
    @keyframes pulse {
        0% {
            box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
        }
        50% {
            box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7);
        }
        100% {
            box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
        }
    }

    .whatsapp-float {
        animation: pulse 2s infinite;
    }

    /* Responsivo - ajusta posição em telas menores */
    @media (max-width: 768px) {
        .whatsapp-float {
            bottom: 20px;
            right: 20px;
            width: 55px;
            height: 55px;
        }
        .whatsapp-float svg {
            width: 28px;
            height: 28px;
        }
    }

/* Estilos do Formulário de Cadastro */
        .cadastro-wrapper {
            padding: 60px 0;
            background: #f4f7f9;
        }

        .cadastro-card {
            background: #fff;
            border-radius: 12px;
            padding: 40px;
            box-shadow: 0 10px 25px rgba(0,0,0,0.05);
            max-width: 900px;
            margin: 0 auto;
        }

        .cadastro-card h2 {
            color: #00468b;
            margin-bottom: 10px;
            font-size: 1.8rem;
        }

        .cadastro-card .subtitulo {
            color: #666;
            margin-bottom: 30px;
            font-size: 0.95rem;
        }

        .form-cadastro .grupo-campo {
            margin-bottom: 20px;
        }

        .form-cadastro .grupo-campo.metade {
            display: inline-block;
            width: calc(50% - 10px);
            margin-right: 20px;
        }

        .form-cadastro .grupo-campo.metade:nth-child(even) {
            margin-right: 0;
        }

        .form-cadastro label {
            display: block;
            font-weight: 600;
            margin-bottom: 6px;
            color: #444;
            font-size: 0.95rem;
        }

        .form-cadastro label .obrigatorio {
            color: #e74c3c;
            margin-left: 3px;
        }

        .form-cadastro input[type="text"],
        .form-cadastro input[type="email"],
        .form-cadastro input[type="password"],
        .form-cadastro select {
            width: 100%;
            padding: 12px 14px;
            border-radius: 8px;
            border: 1px solid #ccd1d9;
            font-size: 0.95rem;
            outline: none;
            transition: border 0.2s, box-shadow 0.2s;
            background: #fff;
        }

        .form-cadastro input:focus,
        .form-cadastro select:focus {
            border-color: #00468b;
            box-shadow: 0 0 0 3px rgba(0,70,139,0.1);
        }

        .form-cadastro input.erro,
        .form-cadastro select.erro {
            border-color: #e74c3c;
        }

        .mensagem-erro {
            color: #e74c3c;
            font-size: 0.85rem;
            margin-top: 5px;
            display: none;
        }

        .mensagem-erro.ativo {
            display: block;
        }

        /* Campo de senha com ícone de olho */
        .campo-senha-wrapper {
            position: relative;
        }

        .campo-senha-wrapper input {
            padding-right: 45px;
        }

        .toggle-senha {
            position: absolute;
            right: 12px;
            top: 50%;
            transform: translateY(-50%);
            cursor: pointer;
            color: #666;
            transition: color 0.2s;
        }

        .toggle-senha:hover {
            color: #00468b;
        }

        /* Termo de uso */
        .termo-box {
            background: #f9f9f9;
            border: 1px solid #ddd;
            border-radius: 8px;
            padding: 20px;
            max-height: 200px;
            overflow-y: auto;
            margin-bottom: 15px;
            font-size: 0.9rem;
            line-height: 1.6;
            color: #555;
        }

        .checkbox-termo {
            display: flex;
            align-items: center;
            margin-bottom: 25px;
        }

        .checkbox-termo input[type="checkbox"] {
            width: 20px;
            height: 20px;
            margin-right: 10px;
            cursor: pointer;
        }

        .checkbox-termo label {
            margin: 0;
            font-weight: 500;
            cursor: pointer;
        }

        .btn-cadastrar {
            display: block;
            width: 100%;
            padding: 16px;
            border-radius: 50px;
            background: #00468b;
            color: #fff;
            text-transform: uppercase;
            border: none;
            font-weight: 700;
            letter-spacing: .04em;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 8px 18px rgba(0,70,139,0.25);
            font-size: 1rem;
        }

        .btn-cadastrar:hover {
            background: #00366a;
            transform: translateY(-2px);
        }

        .btn-cadastrar:disabled {
            background: #ccc;
            cursor: not-allowed;
            transform: none;
        }

        @media (max-width: 768px) {
            .cadastro-card {
                padding: 25px 20px;
            }
            .form-cadastro .grupo-campo.metade {
                width: 100%;
                margin-right: 0;
            }
        }

/* Estilos específicos para a página de sucesso */
.sucesso-container {
    padding: 80px 0;
    background-color: #f4f7f9;
    display: flex;
    align-items: center;
    justify-content: center; /* Centraliza horizontalmente */
    min-height: calc(100vh - 200px); /* Ajustado para ocupar a tela quase toda */
    width: 100%;
}

.sucesso-container .container {
    display: flex;
    justify-content: center; /* Garante que o conteúdo do container fique no meio */
    width: 100%;
}

.sucesso-card {
    background: #fff;
    border-radius: 16px;
    padding: 60px 40px;
    text-align: center;
    max-width: 600px;
    width: 100%; /* Ocupa até o max-width */
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    border-top: 6px solid #27ae60;
    margin: 0 auto; /* Margem automática para reforçar a centralização */
}

        .sucesso-icon {
            width: 100px;
            height: 100px;
            background: rgba(39, 174, 96, 0.1);
            color: #27ae60;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 30px;
        }

        .sucesso-icon svg {
            width: 50px;
            height: 50px;
        }

        .sucesso-card h1 {
            color: #00468b;
            font-size: 2.2rem;
            margin-bottom: 15px;
            font-weight: 700;
        }

        .sucesso-card p {
            color: #666;
            font-size: 1.1rem;
            line-height: 1.6;
            margin-bottom: 35px;
        }

        .botoes-sucesso {
            display: flex;
            gap: 15px;
            justify-content: center;
            flex-wrap: wrap;
        }

        .btn-sucesso {
            padding: 14px 30px;
            border-radius: 50px;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s ease;
            font-size: 1rem;
            display: inline-block;
        }

        .btn-primary {
            background-color: #00468b;
            color: #fff;
            box-shadow: 0 8px 15px rgba(0, 70, 139, 0.2);
        }

        .btn-primary:hover {
            background-color: #003366;
            transform: translateY(-2px);
            box-shadow: 0 12px 20px rgba(0, 70, 139, 0.3);
        }

        .btn-secondary {
            background-color: #fff;
            color: #00468b;
            border: 2px solid #00468b;
        }

        .btn-secondary:hover {
            background-color: #f0f5fa;
            transform: translateY(-2px);
        }

        @media (max-width: 480px) {
            .sucesso-card {
                padding: 40px 20px;
            }
            .sucesso-card h1 {
                font-size: 1.8rem;
            }
            .btn-sucesso {
                width: 100%;
            }
        }

/* Hero Interno */
        .hero-interno {
            background: linear-gradient(135deg, #00468b 0%, #0066cc 100%);
            padding: 60px 0;
            text-align: center;
            color: #fff;
        }

        .hero-interno h1 {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 10px;
        }

        .hero-interno p {
            font-size: 1.2rem;
            opacity: 0.95;
        }

        /* Main Content */
        .quemsomos-wrapper {
            padding: 80px 0;
            background-color: #f4f7f9;
        }

        .quemsomos-content {
            max-width: 900px;
            margin: 0 auto;
            background: #fff;
            border-radius: 16px;
            padding: 50px 40px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.08);
        }

        .quemsomos-content h2 {
            color: #00468b;
            font-size: 2rem;
            margin-bottom: 20px;
            font-weight: 700;
            text-align: center;
        }

        .quemsomos-content p {
            color: #555;
            font-size: 1.1rem;
            line-height: 1.8;
            margin-bottom: 30px;
            text-align: justify;
        }

        /* Container do Vídeo Responsivo */
        .video-container {
            position: relative;
            padding-bottom: 56.25%; /* Proporção 16:9 */
            height: 0;
            overflow: hidden;
            border-radius: 12px;
            box-shadow: 0 8px 20px rgba(0,0,0,0.15);
            margin: 40px 0;
            background: #000;
        }

        .video-container iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: none;
        }

        /* Seção de Missão, Visão e Valores */
        .mvv-section {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
            margin-top: 50px;
        }

        .mvv-card {
            background: #f8f9fa;
            border-radius: 12px;
            padding: 30px 25px;
            text-align: center;
            border-left: 4px solid #00468b;
            transition: all 0.3s ease;
        }

        .mvv-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0,70,139,0.15);
        }

        .mvv-card h3 {
            color: #00468b;
            font-size: 1.4rem;
            margin-bottom: 15px;
            font-weight: 700;
        }

        .mvv-card p {
            color: #666;
            font-size: 1rem;
            line-height: 1.6;
            text-align: center;
        }

        .mvv-icon {
            width: 60px;
            height: 60px;
            background: rgba(0, 70, 139, 0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
            color: #00468b;
        }

        .mvv-icon svg {
            width: 30px;
            height: 30px;
        }

        /* CTA Final */
        .cta-quemsomos {
            text-align: center;
            margin-top: 50px;
            padding: 40px 20px;
            background: linear-gradient(135deg, #00468b 0%, #0066cc 100%);
            border-radius: 12px;
            color: #fff;
        }

        .cta-quemsomos h3 {
            font-size: 1.8rem;
            margin-bottom: 15px;
            font-weight: 700;
        }

        .cta-quemsomos p {
            font-size: 1.1rem;
            margin-bottom: 25px;
            color: #fff;
            text-align: center;
        }

        .btn-cta {
            display: inline-block;
            padding: 14px 35px;
            background: #fff;
            color: #00468b;
            border-radius: 50px;
            font-weight: 700;
            text-decoration: none;
            transition: all 0.3s ease;
            box-shadow: 0 8px 15px rgba(0,0,0,0.2);
        }

        .btn-cta:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 20px rgba(0,0,0,0.3);
        }

        /* Responsividade */
        @media (max-width: 768px) {
            .hero-interno h1 {
                font-size: 2rem;
            }

            .quemsomos-content {
                padding: 30px 20px;
            }

            .quemsomos-content h2 {
                font-size: 1.6rem;
            }

            .quemsomos-content p {
                font-size: 1rem;
                text-align: left;
            }

            .mvv-section {
                grid-template-columns: 1fr;
            }

            .cta-quemsomos h3 {
                font-size: 1.5rem;
            }
        }

/* Hero Interno */
        .hero-interno {
            background: linear-gradient(135deg, #00468b 0%, #0066cc 100%);
            padding: 60px 0;
            text-align: center;
            color: #fff;
        }

        .hero-interno h1 {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 10px;
        }

        .hero-interno p {
            font-size: 1.2rem;
            opacity: 0.95;
        }

        /* Main Content */
        .servicos-wrapper {
            padding: 80px 0;
            background-color: #f4f7f9;
        }

        .servico-item {
            background: #fff;
            border-radius: 16px;
            padding: 50px 40px;
            margin-bottom: 40px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.08);
            transition: all 0.3s ease;
        }

        .servico-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 40px rgba(0,0,0,0.12);
        }

        .servico-header {
            display: flex;
            align-items: center;
            gap: 20px;
            margin-bottom: 25px;
            padding-bottom: 20px;
            border-bottom: 3px solid #00468b;
        }

        .servico-icon {
            width: 70px;
            height: 70px;
            background: linear-gradient(135deg, #00468b 0%, #0066cc 100%);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .servico-icon svg {
            width: 35px;
            height: 35px;
            stroke: #fff;
        }

        .servico-header h2 {
            color: #00468b;
            font-size: 1.8rem;
            font-weight: 700;
            margin: 0;
        }

        .servico-item p {
            color: #555;
            font-size: 1.05rem;
            line-height: 1.8;
            margin-bottom: 25px;
        }

        .btn-servico {
            display: inline-block;
            padding: 12px 30px;
            background: #00468b;
            color: #fff;
            border-radius: 50px;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s ease;
            box-shadow: 0 6px 15px rgba(0,70,139,0.2);
        }

        .btn-servico:hover {
            background: #003366;
            transform: translateY(-2px);
            box-shadow: 0 10px 20px rgba(0,70,139,0.3);
        }

        /* CTA Final */
        .cta-servicos {
            background: linear-gradient(135deg, #00468b 0%, #0066cc 100%);
            border-radius: 16px;
            padding: 60px 40px;
            text-align: center;
            color: #fff;
            margin-top: 40px;
        }

        .cta-servicos h2 {
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: 15px;
        }

        .cta-servicos p {
            font-size: 1.15rem;
            margin-bottom: 30px;
            opacity: 0.95;
            color: #fff;
        }

        .btn-cta-white {
            display: inline-block;
            padding: 14px 40px;
            background: #fff;
            color: #00468b;
            border-radius: 50px;
            font-weight: 700;
            text-decoration: none;
            transition: all 0.3s ease;
            box-shadow: 0 8px 20px rgba(0,0,0,0.2);
        }

        .btn-cta-white:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 25px rgba(0,0,0,0.3);
        }

        /* Responsividade */
        @media (max-width: 768px) {
            .hero-interno h1 {
                font-size: 2rem;
            }

            .servico-item {
                padding: 30px 20px;
            }

            .servico-header {
                flex-direction: column;
                text-align: center;
            }

            .servico-header h2 {
                font-size: 1.5rem;
            }

            .servico-item p {
                font-size: 1rem;
            }

            .cta-servicos {
                padding: 40px 20px;
            }

            .cta-servicos h2 {
                font-size: 1.6rem;
            }
        }

/* Main Content */
        .login-wrapper {
            padding: 80px 0;
            background: linear-gradient(135deg, #f4f7f9 0%, #e8eef2 100%);
            min-height: calc(100vh - 200px);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .login-container {
            max-width: 480px;
            width: 90%;
            margin: 0 auto;
        }

        .login-card {
            background: #fff;
            border-radius: 16px;
            padding: 50px 40px;
            box-shadow: 0 15px 40px rgba(0,0,0,0.1);
            border-top: 5px solid #00468b;
        }

        .login-header {
            text-align: center;
            margin-bottom: 35px;
        }

        .login-icon {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, #00468b 0%, #0066cc 100%);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
        }

        .login-icon svg {
            width: 40px;
            height: 40px;
            stroke: #fff;
        }

        .login-header h1 {
            color: #00468b;
            font-size: 1.8rem;
            font-weight: 700;
            margin-bottom: 8px;
        }

        .login-header p {
            color: #666;
            font-size: 1rem;
        }

        .form-login {
            margin-bottom: 25px;
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-group label {
            display: block;
            font-weight: 600;
            margin-bottom: 8px;
            color: #444;
            font-size: 0.95rem;
        }

        .input-wrapper {
            position: relative;
        }

        .input-icon {
            position: absolute;
            left: 15px;
            top: 50%;
            transform: translateY(-50%);
            color: #999;
            pointer-events: none;
        }

        .input-icon svg {
            width: 20px;
            height: 20px;
        }

        .form-group input {
            width: 100%;
            padding: 14px 14px 14px 45px;
            border-radius: 10px;
            border: 2px solid #e0e6ed;
            font-size: 1rem;
            outline: none;
            transition: all 0.3s ease;
            background: #f8f9fa;
        }

        .form-group input:focus {
            border-color: #00468b;
            background: #fff;
            box-shadow: 0 0 0 4px rgba(0,70,139,0.1);
        }

        .form-group input.erro {
            border-color: #e74c3c;
        }

        .toggle-senha {
            position: absolute;
            right: 15px;
            top: 50%;
            transform: translateY(-50%);
            cursor: pointer;
            color: #999;
            transition: color 0.2s;
        }

        .toggle-senha:hover {
            color: #00468b;
        }

        .toggle-senha svg {
            width: 20px;
            height: 20px;
        }

        .form-options {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 25px;
            font-size: 0.9rem;
        }

        .remember-me {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .remember-me input[type="checkbox"] {
            width: 18px;
            height: 18px;
            cursor: pointer;
        }

        .remember-me label {
            cursor: pointer;
            color: #555;
            margin: 0;
        }

        .forgot-password {
            color: #00468b;
            text-decoration: none;
            font-weight: 600;
            transition: color 0.2s;
        }

        .forgot-password:hover {
            color: #003366;
            text-decoration: underline;
        }

        .btn-login {
            width: 100%;
            padding: 16px;
            border-radius: 50px;
            background: linear-gradient(135deg, #00468b 0%, #0066cc 100%);
            color: #fff;
            text-transform: uppercase;
            border: none;
            font-weight: 700;
            letter-spacing: .04em;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 8px 18px rgba(0,70,139,0.25);
            font-size: 1rem;
        }

        .btn-login:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 25px rgba(0,70,139,0.35);
        }

        .btn-login:active {
            transform: translateY(0);
        }

        .divider {
            text-align: center;
            margin: 30px 0;
            position: relative;
        }

        .divider::before {
            content: '';
            position: absolute;
            left: 0;
            top: 50%;
            width: 100%;
            height: 1px;
            background: #e0e6ed;
        }

        .divider span {
            background: #fff;
            padding: 0 15px;
            color: #999;
            font-size: 0.9rem;
            position: relative;
            z-index: 1;
        }

        .login-footer {
            text-align: center;
        }

        .login-footer p {
            color: #666;
            font-size: 0.95rem;
            margin-bottom: 15px;
        }

        .btn-cadastro {
            display: inline-block;
            padding: 12px 30px;
            border-radius: 50px;
            background: #fff;
            color: #00468b;
            border: 2px solid #00468b;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .btn-cadastro:hover {
            background: #00468b;
            color: #fff;
            transform: translateY(-2px);
        }

        .mensagem-erro {
            background: #fee;
            border-left: 4px solid #e74c3c;
            color: #c0392b;
            padding: 12px 15px;
            border-radius: 8px;
            margin-bottom: 20px;
            font-size: 0.9rem;
            display: none;
        }

        .mensagem-erro.ativo {
            display: block;
        }

        /* Responsividade */
        @media (max-width: 480px) {
            .login-card {
                padding: 35px 25px;
            }

            .login-header h1 {
                font-size: 1.5rem;
            }

            .form-options {
                flex-direction: column;
                gap: 12px;
                align-items: flex-start;
            }
        }

.recuperar-wrapper {
        padding: 80px 0;
        background: linear-gradient(135deg, #f4f7f9 0%, #e8eef2 100%);
        min-height: calc(100vh - 200px);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .recuperar-container {
        max-width: 520px;
        width: 90%;
        margin: 0 auto;
    }

    .recuperar-card {
        background: #fff;
        border-radius: 16px;
        padding: 50px 40px;
        box-shadow: 0 15px 40px rgba(0,0,0,0.1);
        border-top: 5px solid #00468b;
    }

    .recuperar-header {
        text-align: center;
        margin-bottom: 35px;
    }

    .recuperar-icon {
        width: 80px;
        height: 80px;
        background: linear-gradient(135deg, #00468b 0%, #0066cc 100%);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 20px;
    }

    .recuperar-icon svg {
        width: 40px;
        height: 40px;
        stroke: #fff;
    }

    .recuperar-header h1 {
        color: #00468b;
        font-size: 1.8rem;
        font-weight: 700;
        margin-bottom: 8px;
    }

    .recuperar-header p {
        color: #666;
        font-size: 1rem;
    }

    .form-recuperar {
        margin-bottom: 20px;
    }

    .form-group {
        margin-bottom: 20px;
    }

    .form-group label {
        display: block;
        font-weight: 600;
        margin-bottom: 8px;
        color: #444;
        font-size: 0.95rem;
    }

    .input-wrapper {
        position: relative;
    }

    .input-icon {
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        color: #999;
        pointer-events: none;
    }

    .input-icon svg {
        width: 20px;
        height: 20px;
    }

    .form-group input {
        width: 100%;
        padding: 14px 14px 14px 45px;
        border-radius: 10px;
        border: 2px solid #e0e6ed;
        font-size: 1rem;
        outline: none;
        transition: all 0.3s ease;
        background: #f8f9fa;
    }

    .form-group input:focus {
        border-color: #00468b;
        background: #fff;
        box-shadow: 0 0 0 4px rgba(0,70,139,0.1);
    }

    .form-group input.erro {
        border-color: #e74c3c;
    }

    .info-text {
        margin: 10px 0 25px;
    }

    .info-text p {
        font-size: 0.9rem;
        color: #777;
        line-height: 1.6;
    }

    .btn-recuperar {
        width: 100%;
        padding: 16px;
        border-radius: 50px;
        background: linear-gradient(135deg, #00468b 0%, #0066cc 100%);
        color: #fff;
        border: none;
        font-weight: 700;
        letter-spacing: .04em;
        text-transform: uppercase;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 8px 18px rgba(0,70,139,0.25);
        font-size: 1rem;
    }

    .btn-recuperar:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 25px rgba(0,70,139,0.35);
    }

    .mensagem-erro {
        background: #fee;
        border-left: 4px solid #e74c3c;
        color: #c0392b;
        padding: 12px 15px;
        border-radius: 8px;
        margin-bottom: 20px;
        font-size: 0.9rem;
        display: none;
    }

    .mensagem-erro.ativo {
        display: block;
    }

    .recuperar-footer {
        text-align: center;
        margin-top: 10px;
    }

    .recuperar-footer p {
        color: #666;
        font-size: 0.95rem;
        margin-bottom: 8px;
    }

    .link-voltar-login {
        color: #00468b;
        font-weight: 600;
        text-decoration: none;
        border-bottom: 1px solid transparent;
        transition: all 0.2s ease;
    }

    .link-voltar-login:hover {
        border-bottom-color: #00468b;
    }

    /* Responsivo */
    @media (max-width: 480px) {
        .recuperar-card {
            padding: 35px 25px;
        }

        .recuperar-header h1 {
            font-size: 1.5rem;
        }
    }

.admin-wrapper {
        padding: 60px 0;
        background-color: #f4f7f9;
        min-height: calc(100vh - 200px);
    }

    /* Header da Gestão */
    .admin-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 30px;
        flex-wrap: wrap;
        gap: 20px;
    }

    .admin-title h1 {
        color: #00468b;
        font-size: 1.8rem;
        font-weight: 700;
        margin-bottom: 5px;
    }

    .admin-title p {
        color: #666;
        margin: 0;
    }

    /* Botão Novo */
    .btn-novo {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
        color: #fff;
        padding: 12px 24px;
        border-radius: 50px;
        text-decoration: none;
        font-weight: 600;
        transition: all 0.3s ease;
        box-shadow: 0 4px 12px rgba(39, 174, 96, 0.2);
    }

    .btn-novo:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 15px rgba(39, 174, 96, 0.3);
        color: #fff;
    }

    /* Card e Tabela */
    .tabela-card {
        background: #fff;
        border-radius: 12px;
        box-shadow: 0 8px 25px rgba(0,0,0,0.05);
        overflow: hidden;
    }

    .tabela-responsiva {
        overflow-x: auto;
    }

    .tabela-admin {
        width: 100%;
        border-collapse: collapse;
        min-width: 700px; /* Garante que não esprema demais no mobile */
    }

    .tabela-admin th {
        background-color: #f8f9fa;
        color: #00468b;
        text-align: left;
        padding: 18px 20px;
        font-weight: 700;
        border-bottom: 2px solid #edf2f7;
    }

    .tabela-admin td {
        padding: 15px 20px;
        border-bottom: 1px solid #edf2f7;
        vertical-align: middle;
        color: #444;
    }

    .user-info {
        display: flex;
        flex-direction: column;
    }

    .user-name {
        font-weight: 600;
        color: #2d3748;
    }

    .user-email {
        font-size: 0.85rem;
        color: #718096;
    }

    /* Botões de Ação */
    .btn-group-acoes {
        display: flex;
        gap: 10px;
        justify-content: center;
    }

    .btn-acao {
        width: 38px;
        height: 38px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        transition: all 0.2s ease;
        text-decoration: none;
    }

    .btn-editar {
        background-color: rgba(0, 70, 139, 0.1);
        color: #00468b;
    }

    .btn-editar:hover {
        background-color: #00468b;
        color: #fff;
    }

    .btn-excluir {
        background-color: rgba(231, 76, 60, 0.1);
        color: #e74c3c;
    }

    .btn-excluir:hover {
        background-color: #e74c3c;
        color: #fff;
    }

    .text-center { text-align: center; }

    /* Responsividade */
    @media (max-width: 768px) {
        .admin-header {
            flex-direction: column;
            text-align: center;
        }
        
        .btn-novo {
            width: 100%;
            justify-content: center;
        }
    }

.pagamento-wrapper {
        padding: 60px 0;
        background: linear-gradient(135deg, #f4f7f9 0%, #e8eef2 100%);
        min-height: calc(100vh - 200px);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .pagamento-card {
        background: #fff;
        border-radius: 16px;
        padding: 50px 40px;
        box-shadow: 0 15px 40px rgba(0,0,0,0.1);
        border-top: 5px solid #00468b;
        max-width: 680px;
        width: 100%;
        margin: 0 auto;
    }

    /* Título do Evento */
    .pagamento-evento-titulo {
        text-align: center;
        margin-bottom: 30px;
        padding-bottom: 25px;
        border-bottom: 2px solid #edf2f7;
    }

    .pagamento-evento-titulo h1 {
        color: #00468b;
        font-size: 1.4rem;
        font-weight: 700;
        line-height: 1.4;
        text-transform: uppercase;
        letter-spacing: 0.03em;
    }

    /* Dados do Pedido */
    .pedido-info {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin-bottom: 25px;
    }

    .pedido-info-item {
        background: #f8f9fa;
        border-radius: 10px;
        padding: 15px;
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

    .pedido-info-item.destaque {
        background: rgba(0, 70, 139, 0.07);
        border: 1px solid rgba(0, 70, 139, 0.15);
    }

    .pedido-label {
        font-size: 0.8rem;
        color: #888;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }

    .pedido-valor {
        font-size: 1rem;
        color: #2d3748;
        font-weight: 600;
    }

    .valor-total {
        color: #00468b;
        font-size: 1.3rem;
        font-weight: 700;
    }

    .aguardando {
        color: #e67e22;
        font-style: italic;
    }

    /* Status */
    .status-pagamento {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 14px 18px;
        border-radius: 10px;
        font-size: 0.9rem;
        font-weight: 600;
        margin-bottom: 30px;
    }

    .status-pagamento.pendente {
        background: #fff8e1;
        color: #e67e22;
        border-left: 4px solid #e67e22;
    }

    .status-pagamento.pago {
        background: #e8f8f0;
        color: #27ae60;
        border-left: 4px solid #27ae60;
    }

    /* Seção PIX */
    .pix-section {
        background: #f8f9fa;
        border-radius: 12px;
        padding: 30px;
        margin-bottom: 25px;
    }

    .pix-header {
        display: flex;
        align-items: center;
        gap: 15px;
        margin-bottom: 25px;
    }

    .pix-icon {
        width: 60px;
        height: 60px;
        background: linear-gradient(135deg, #00b894 0%, #00cec9 100%);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        color: #fff;
    }

    .pix-header h2 {
        color: #2d3748;
        font-size: 1.3rem;
        font-weight: 700;
        margin-bottom: 4px;
    }

    .pix-header p {
        color: #718096;
        font-size: 0.9rem;
        margin: 0;
    }

    /* Passos */
    .pix-passos {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        margin-bottom: 30px;
        flex-wrap: wrap;
    }

    .passo {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 0.85rem;
        color: #555;
        font-weight: 500;
    }

    .passo-num {
        width: 26px;
        height: 26px;
        background: #00468b;
        color: #fff;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.8rem;
        font-weight: 700;
        flex-shrink: 0;
    }

    .passo-seta {
        color: #aaa;
        font-size: 1.2rem;
    }

    /* QR Code */
    .qrcode-container {
        text-align: center;
        margin-bottom: 25px;
    }

    .qrcode-wrapper {
        display: inline-block;
        padding: 15px;
        background: #fff;
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.08);
        margin-bottom: 12px;
    }

    .qrcode-img {
        width: 220px;
        height: 220px;
        display: block;
    }

    .qrcode-legenda {
        color: #888;
        font-size: 0.85rem;
        margin: 0;
    }

    /* Divisor */
    .pix-divider {
        text-align: center;
        position: relative;
        margin: 20px 0;
    }

    .pix-divider::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        width: 100%;
        height: 1px;
        background: #dde1e7;
    }

    .pix-divider span {
        background: #f8f9fa;
        padding: 0 15px;
        color: #999;
        font-size: 0.8rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        position: relative;
        z-index: 1;
    }

    /* Copia e Cola */
    .pix-copia-cola {
        margin-bottom: 20px;
    }

    .pix-copia-cola label {
        display: block;
        font-size: 0.85rem;
        font-weight: 600;
        color: #555;
        margin-bottom: 8px;
    }

    .pix-input-group {
        display: flex;
        gap: 10px;
    }

    .pix-input-group input {
        flex: 1;
        padding: 13px 15px;
        border: 2px solid #e0e6ed;
        border-radius: 10px;
        font-size: 0.9rem;
        color: #444;
        background: #fff;
        outline: none;
        cursor: text;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .btn-copiar {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 13px 20px;
        background: linear-gradient(135deg, #00468b 0%, #0066cc 100%);
        color: #fff;
        border: none;
        border-radius: 10px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        white-space: nowrap;
        box-shadow: 0 4px 12px rgba(0,70,139,0.2);
    }

    .btn-copiar:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 15px rgba(0,70,139,0.3);
    }

    .btn-copiar.copiado {
        background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
        box-shadow: 0 4px 12px rgba(39,174,96,0.3);
    }

    /* Aviso */
    .pix-aviso {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 0.85rem;
        color: #e67e22;
        background: #fff8e1;
        padding: 12px 15px;
        border-radius: 8px;
    }

    /* Já Paguei */
    .ja-paguei {
        text-align: center;
        padding-top: 20px;
        border-top: 1px solid #edf2f7;
    }

    .ja-paguei p {
        color: #666;
        margin-bottom: 12px;
        font-size: 0.95rem;
    }

    .btn-ja-paguei {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 13px 30px;
        background: #fff;
        color: #27ae60;
        border: 2px solid #27ae60;
        border-radius: 50px;
        font-weight: 600;
        text-decoration: none;
        transition: all 0.3s ease;
    }

    .btn-ja-paguei:hover {
        background: #27ae60;
        color: #fff;
        transform: translateY(-2px);
    }

    /* Responsividade */
    @media (max-width: 600px) {
        .pagamento-card {
            padding: 30px 20px;
        }

        .pagamento-evento-titulo h1 {
            font-size: 1.1rem;
        }

        .pedido-info {
            grid-template-columns: 1fr;
        }

        .pix-section {
            padding: 20px 15px;
        }

        .pix-passos {
            flex-direction: column;
            align-items: flex-start;
            gap: 8px;
        }

        .passo-seta {
            display: none;
        }

        .qrcode-img {
            width: 180px;
            height: 180px;
        }

        .pix-input-group {
            flex-direction: column;
        }

        .btn-copiar {
            width: 100%;
            justify-content: center;
        }
    }

.selecao-categorias {
        padding: 80px 0;
        background-color: #f8fafc;
    }

    .secao-header {
        text-align: center;
        margin-bottom: 50px;
    }

    .badge-etapa {
        background: rgba(0, 70, 139, 0.1);
        color: #00468b;
        padding: 6px 16px;
        border-radius: 50px;
        font-size: 0.85rem;
        font-weight: 700;
        text-transform: uppercase;
    }

    .secao-header h1 {
        font-size: 2.2rem;
        color: #1e293b;
        margin: 15px 0 10px;
    }

    /* Grid System */
    .categorias-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
        margin-bottom: 40px;
    }

    /* Card Style */
    .card-categoria {
        background: #fff;
        border-radius: 20px;
        padding: 30px;
        border: 2px solid transparent;
        box-shadow: 0 10px 25px rgba(0,0,0,0.03);
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex;
        flex-direction: column;
        position: relative;
    }

    .card-categoria:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 35px rgba(0,70,139,0.08);
        border-color: rgba(0, 70, 139, 0.2);
    }

    .card-categoria.active {
        border-color: #00468b;
        background-color: #fff;
        box-shadow: 0 15px 30px rgba(0,70,139,0.15);
    }

    .card-header {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        margin-bottom: 25px;
    }

    .icon-box {
        width: 45px;
        height: 45px;
        background: #f1f5f9;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #00468b;
    }

    .vagas-status {
        font-size: 0.75rem;
        font-weight: 700;
        color: #64748b;
        text-transform: uppercase;
    }

    .cat-nome {
        font-size: 1.3rem;
        color: #1e293b;
        margin-bottom: 15px;
        font-weight: 800;
    }

    .cat-preco-box {
        display: flex;
        align-items: baseline;
        gap: 5px;
        color: #00468b;
    }

    .moeda { font-size: 1rem; font-weight: 600; }
    .valor { font-size: 2.2rem; font-weight: 800; }

    .cat-taxa {
        font-size: 0.85rem;
        color: #94a3b8;
        margin-top: 5px;
    }

    .card-footer {
        margin-top: 30px;
    }

    .btn-selecionar {
        width: 100%;
        padding: 14px;
        border-radius: 12px;
        border: 2px solid #f1f5f9;
        background: #f8fafc;
        color: #64748b;
        font-weight: 700;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        transition: all 0.2s;
        cursor: pointer;
    }

    .check-icon { display: none; }

    /* Active State for Button */
    .card-categoria.active .btn-selecionar {
        background: #00468b;
        color: #fff;
        border-color: #00468b;
    }

    .card-categoria.active .check-icon { display: block; }
    .card-categoria.active .txt { display: none; }

    /* Footer Action */
    .grid-footer {
        text-align: center;
        margin-top: 50px;
    }

    .btn-avancar {
        padding: 18px 60px;
        border-radius: 50px;
        background: #00468b;
        color: #fff;
        font-size: 1.1rem;
        font-weight: 700;
        border: none;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        gap: 15px;
        transition: all 0.3s;
        box-shadow: 0 10px 20px rgba(0,70,139,0.2);
    }

    .btn-avancar:disabled {
        background: #cbd5e1;
        cursor: not-allowed;
        box-shadow: none;
    }

    .btn-avancar:not(:disabled):hover {
        transform: scale(1.05);
        box-shadow: 0 15px 30px rgba(0,70,139,0.3);
    }

    @media (max-width: 640px) {
        .categorias-grid {
            grid-template-columns: 1fr;
        }
        .secao-header h1 { font-size: 1.8rem; }
        .btn-avancar { width: 100%; justify-content: center; }
    }

.selecao-atleta {
        padding: 60px 0;
        background: #f8fafc;
        min-height: calc(100vh - 200px);
    }

    /* Header */
    .atleta-header {
        text-align: center;
        margin-bottom: 40px;
    }

    .badge-etapa {
        background: rgba(0,70,139,0.1);
        color: #00468b;
        padding: 6px 16px;
        border-radius: 50px;
        font-size: 0.82rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }

    .atleta-header h1 {
        font-size: 2rem;
        color: #1e293b;
        margin: 15px 0 8px;
        font-weight: 800;
    }

    .atleta-header p {
        color: #94a3b8;
        font-size: 0.95rem;
        margin-bottom: 20px;
    }

    .categoria-selecionada-badge {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: linear-gradient(135deg, #00468b, #0066cc);
        color: #fff;
        padding: 8px 20px;
        border-radius: 50px;
        font-size: 0.88rem;
        font-weight: 600;
    }

    /* Lista */
    .atletas-lista {
        max-width: 700px;
        margin: 0 auto 30px;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    /* Card do Atleta */
    .atleta-card {
        background: #fff;
        border-radius: 16px;
        padding: 18px 22px;
        display: flex;
        align-items: center;
        gap: 16px;
        cursor: pointer;
        border: 2px solid transparent;
        box-shadow: 0 4px 15px rgba(0,0,0,0.05);
        transition: all 0.25s ease;
        position: relative;
    }

    .atleta-card:hover {
        border-color: rgba(0,70,139,0.25);
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(0,70,139,0.08);
    }

    /* Esconde o radio nativo */
    .atleta-card input[type="radio"] {
        display: none;
    }

    /* Ícone de seleção (círculo vazio → check verde) */
    .atleta-radio-icon {
        width: 26px;
        height: 26px;
        border-radius: 50%;
        border: 2px solid #cbd5e1;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        transition: all 0.25s ease;
        background: #fff;
    }

    .icon-check {
        display: none;
        color: #fff;
    }

    /* Estado Selecionado */
    .atleta-card:has(input:checked) {
        border-color: #27ae60;
        background: linear-gradient(135deg, #f0fdf4, #dcfce7);
        box-shadow: 0 8px 25px rgba(39,174,96,0.12);
    }

    .atleta-card:has(input:checked) .atleta-radio-icon {
        background: #27ae60;
        border-color: #27ae60;
    }

    .atleta-card:has(input:checked) .icon-check {
        display: block;
    }

    .atleta-card:has(input:checked) .atleta-avatar {
        background: linear-gradient(135deg, #27ae60, #2ecc71);
    }

    .atleta-card:has(input:checked) .atleta-seta {
        color: #27ae60;
    }

    /* Avatar */
    .atleta-avatar {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background: linear-gradient(135deg, #00468b, #0066cc);
        color: #fff;
        font-size: 1.2rem;
        font-weight: 800;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        transition: background 0.25s ease;
    }

    /* Info */
    .atleta-info {
        flex: 1;
        min-width: 0;
    }

    .atleta-nome {
        display: block;
        font-size: 1rem;
        font-weight: 700;
        color: #1e293b;
        margin-bottom: 6px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .atleta-detalhes {
        display: flex;
        gap: 16px;
        flex-wrap: wrap;
    }

    .atleta-detalhes span {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        font-size: 0.82rem;
        color: #94a3b8;
        font-weight: 500;
    }

    /* Seta */
    .atleta-seta {
        color: #cbd5e1;
        flex-shrink: 0;
        transition: color 0.25s ease;
    }

    /* Rodapé */
    .atleta-rodape {
        max-width: 700px;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 15px;
        padding-top: 25px;
        border-top: 2px solid #e2e8f0;
    }

    .atleta-resumo {
        display: flex;
        align-items: center;
        gap: 12px;
        color: #27ae60;
        font-weight: 600;
        font-size: 0.95rem;
    }

    .resumo-avatar {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: linear-gradient(135deg, #27ae60, #2ecc71);
        color: #fff;
        font-size: 1rem;
        font-weight: 800;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .btn-confirmar {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        padding: 15px 40px;
        background: linear-gradient(135deg, #00468b, #0066cc);
        color: #fff;
        border: none;
        border-radius: 50px;
        font-size: 1rem;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 6px 15px rgba(0,70,139,0.25);
    }

    .btn-confirmar:disabled {
        background: #cbd5e1;
        box-shadow: none;
        cursor: not-allowed;
    }

    .btn-confirmar:not(:disabled):hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(0,70,139,0.35);
    }

    /* Responsivo */
    @media (max-width: 640px) {
        .atleta-header h1 { font-size: 1.6rem; }
        .atleta-card { padding: 15px; gap: 12px; }
        .atleta-nome { font-size: 0.92rem; }
        .atleta-detalhes { gap: 10px; }
        .atleta-rodape { flex-direction: column; align-items: stretch; }
        .btn-confirmar { width: 100%; justify-content: center; }
    }

.dados-atleta {
        padding: 60px 0;
        background: #f8fafc;
        min-height: calc(100vh - 200px);
    }

    /* Header */
    .dados-header {
        text-align: center;
        margin-bottom: 35px;
    }

    .badge-etapa {
        background: rgba(0,70,139,0.1);
        color: #00468b;
        padding: 6px 16px;
        border-radius: 50px;
        font-size: 0.82rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }

    .dados-header h1 {
        font-size: 2rem;
        color: #1e293b;
        margin: 15px 0 8px;
        font-weight: 800;
    }

    .dados-header p {
        color: #94a3b8;
        font-size: 0.95rem;
    }

    /* Aviso */
    .aviso-evento {
        max-width: 700px;
        margin: 0 auto 30px;
        background: #fff5f5;
        border-left: 4px solid #e53e3e;
        border-radius: 12px;
        padding: 16px 20px;
        display: flex;
        align-items: flex-start;
        gap: 12px;
        color: #c53030;
        font-weight: 600;
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .aviso-evento svg { flex-shrink: 0; margin-top: 2px; }

    /* Card Resumo do Atleta */
    .atleta-resumo-card {
        max-width: 700px;
        margin: 0 auto 30px;
        background: #fff;
        border-radius: 16px;
        padding: 20px 25px;
        display: flex;
        align-items: center;
        gap: 16px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.05);
        border: 2px solid #e2e8f0;
        flex-wrap: wrap;
    }

    .atleta-resumo-avatar {
        width: 52px;
        height: 52px;
        border-radius: 50%;
        background: linear-gradient(135deg, #00468b, #0066cc);
        color: #fff;
        font-size: 1.3rem;
        font-weight: 800;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .atleta-resumo-info { flex: 1; min-width: 0; }

    .atleta-resumo-nome {
        display: block;
        font-size: 1rem;
        font-weight: 700;
        color: #1e293b;
        margin-bottom: 6px;
    }

    .atleta-resumo-detalhes {
        display: flex;
        gap: 16px;
        flex-wrap: wrap;
    }

    .atleta-resumo-detalhes span {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        font-size: 0.82rem;
        color: #94a3b8;
        font-weight: 500;
    }

    .atleta-resumo-categoria {
        background: linear-gradient(135deg, #00468b, #0066cc);
        color: #fff;
        padding: 6px 16px;
        border-radius: 50px;
        font-size: 0.82rem;
        font-weight: 700;
        white-space: nowrap;
    }

    /* Campos */
    .campos-wrapper {
        max-width: 700px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        gap: 18px;
    }

    .campo-grupo {
        background: #fff;
        border-radius: 16px;
        padding: 20px 25px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.04);
        border: 2px solid transparent;
        transition: border-color 0.25s ease;
    }

    .campo-grupo:focus-within {
        border-color: #00468b;
    }

    .campo-label {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 0.85rem;
        font-weight: 700;
        color: #64748b;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        margin-bottom: 12px;
    }

    .campo-label.obrigatorio::after {
        content: '*';
        color: #e53e3e;
        font-size: 1rem;
        margin-left: 2px;
    }

    .campo-select,
    .campo-input {
        width: 100%;
        padding: 14px 18px;
        border: 2px solid #e2e8f0;
        border-radius: 12px;
        font-size: 0.95rem;
        color: #1e293b;
        background: #f8fafc;
        outline: none;
        transition: all 0.25s ease;
        appearance: none;
        -webkit-appearance: none;
        cursor: pointer;
        font-family: inherit;
    }

    .campo-select {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 16px center;
        padding-right: 45px;
    }

    .campo-select:focus,
    .campo-input:focus {
        border-color: #00468b;
        background: #fff;
        box-shadow: 0 0 0 4px rgba(0,70,139,0.08);
    }

    /* Rodapé */
    .dados-rodape {
        max-width: 700px;
        margin: 30px auto 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 15px;
        padding-top: 25px;
        border-top: 2px solid #e2e8f0;
    }

    .btn-voltar {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 14px 25px;
        border-radius: 50px;
        border: 2px solid #e2e8f0;
        background: #fff;
        color: #64748b;
        font-weight: 600;
        font-size: 0.95rem;
        text-decoration: none;
        transition: all 0.25s ease;
    }

    .btn-voltar:hover {
        border-color: #00468b;
        color: #00468b;
    }

    .btn-confirmar {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        padding: 15px 40px;
        background: linear-gradient(135deg, #27ae60, #2ecc71);
        color: #fff;
        border: none;
        border-radius: 50px;
        font-size: 1rem;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 6px 15px rgba(39,174,96,0.3);
    }

    .btn-confirmar:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(39,174,96,0.4);
    }

    /* Responsivo */
    @media (max-width: 640px) {
        .dados-header h1 { font-size: 1.6rem; }
        .atleta-resumo-card { gap: 12px; }
        .atleta-resumo-categoria { width: 100%; text-align: center; }
        .campo-grupo { padding: 16px; }
        .dados-rodape { flex-direction: column; align-items: stretch; }
        .btn-voltar, .btn-confirmar { width: 100%; justify-content: center; }
    }

.cupom-input-wrapper {
        display: flex;
        gap: 10px;
        align-items: center;
    }

    .cupom-input-wrapper .campo-input {
        flex: 1;
        letter-spacing: 0.08em;
        font-weight: 600;
    }

    .btn-validar-cupom {
        padding: 14px 24px;
        background: linear-gradient(135deg, #00468b, #0066cc);
        color: #fff;
        border: none;
        border-radius: 12px;
        font-weight: 700;
        font-size: 0.9rem;
        cursor: pointer;
        white-space: nowrap;
        transition: all 0.25s ease;
        font-family: inherit;
    }

    .btn-validar-cupom:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 15px rgba(0,70,139,0.3);
    }

    .btn-validar-cupom:disabled {
        background: #cbd5e1;
        cursor: not-allowed;
        transform: none;
        box-shadow: none;
    }

    /* Feedback */
    .cupom-feedback {
        margin-top: 10px;
        padding: 10px 16px;
        border-radius: 10px;
        font-size: 0.88rem;
        font-weight: 600;
    }

    .cupom-feedback.erro {
        background: #fff5f5;
        color: #c53030;
        border-left: 4px solid #e53e3e;
    }

    .cupom-feedback.carregando {
        background: #eff6ff;
        color: #1d4ed8;
        border-left: 4px solid #3b82f6;
    }

    /* Resultado */
    .cupom-resultado {
        margin-top: 12px;
        padding: 12px 16px;
        background: #f0fdf4;
        border-left: 4px solid #27ae60;
        border-radius: 10px;
        display: flex;
        align-items: center;
        gap: 10px;
        color: #27ae60;
        font-weight: 600;
        font-size: 0.9rem;
    }

    .btn-remover-cupom {
        margin-left: auto;
        display: inline-flex;
        align-items: center;
        gap: 5px;
        background: none;
        border: 1px solid #27ae60;
        color: #27ae60;
        border-radius: 20px;
        padding: 4px 12px;
        font-size: 0.8rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s ease;
        font-family: inherit;
    }

    .btn-remover-cupom:hover {
        background: #27ae60;
        color: #fff;
    }

    @media (max-width: 640px) {
        .cupom-input-wrapper { flex-direction: column; }
        .btn-validar-cupom   { width: 100%; }
    }

/* Container Principal */
.checkout-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

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

.checkout-header h3 { color: #2c3e50; font-size: 24px; margin-bottom: 5px; }
.checkout-header p { color: #7f8c8d; font-weight: 600; }

/* Seções */
.checkout-section {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* Tabela Responsiva */
.carrinho-tabela {
    width: 100%;
    border-collapse: collapse;
}

.carrinho-tabela th {
    text-align: left;
    padding: 12px;
    border-bottom: 2px solid #eee;
    color: #7f8c8d;
    font-size: 14px;
}

.carrinho-tabela td {
    padding: 15px 12px;
    border-bottom: 1px solid #f5f5f5;
}

.atleta-nome { font-weight: 700; color: #2c3e50; }
.valor-celula { font-weight: 700; color: #27ae60; }

.total-label { text-align: right; font-weight: 700; font-size: 18px; padding-top: 20px; }
.total-valor { font-size: 22px; color: #27ae60; font-weight: 800; padding-top: 20px; }

/* Botões */
.btn-adicionar-outro {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #16a085;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    margin-top: 20px;
    transition: 0.3s;
}

.btn-adicionar-outro:hover { background: #1abc9c; }

/* Termos */
/* Remove o ícone e limpa o cabeçalho */
.termo-header-simples {
    margin-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.termo-header-simples h4 {
    margin: 0;
    color: #2c3e50;
    font-size: 18px;
    font-weight: 700;
}

/* Área de texto MUITO maior e mais legível */
.termo-scroll-area {
    height: 140px !important; /* Reduzido de 280px para 140px */
    overflow-y: auto !important;
    background: #f9f9f9 !important;
    border: 1px solid #eee !important;
    padding: 15px !important;
    font-size: 13px !important; /* Texto levemente menor para caber melhor */
    line-height: 1.6 !important;
    color: #555 !important;
    border-radius: 8px !important;
    margin-bottom: 20px !important;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}

.termo-container-fixo {
    max-height: 320px !important; /* Ajustado para o novo tamanho */
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
    padding: 20px !important;
    background: #fff !important;
    border-radius: 12px !important;
    overflow: hidden !important;
}

/* Estilização da barra de rolagem para ficar moderna */
.termo-scroll-area::-webkit-scrollbar {
    width: 8px;
}
.termo-scroll-area::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}
.termo-scroll-area::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}
.termo-scroll-area::-webkit-scrollbar-thumb:hover {
    background: #999;
}

/* Ajuste do Aceite */
.termo-aceite-wrapper {
    padding: 15px 0;
    display: block;
}

/* Checkbox Customizado */
.checkbox-container {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    cursor: pointer !important;
    font-weight: 700 !important;
    color: #e74c3c !important; /* Cor vermelha para destaque */
}

/* Estilo do Checkbox para não sumir */
.checkbox-container input {
    width: 20px !important;
    height: 20px !important;
    cursor: pointer !important;
}

/* Grid de Pagamento */
.pagamento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.pagamento-card {
    cursor: pointer;
    position: relative;
}

.pagamento-card input { position: absolute; opacity: 0; }

.pagamento-info {
    border: 2px solid #eee;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.pagamento-card input:checked + .pagamento-info {
    border-color: #3498db;
    background: #ebf5fb;
}

.pagamento-nome { font-weight: 700; color: #2c3e50; }
.pagamento-status { font-size: 12px; color: #27ae60; font-weight: 600; }

/* Botão Finalizar */
.btn-finalizar {
    width: 100%;
    background: #27ae60;
    color: white;
    border: none;
    padding: 20px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: 0.3s;
}

.btn-finalizar:disabled { background: #bdc3c7; cursor: not-allowed; }
.btn-finalizar:not(:disabled):hover { background: #2ecc71; transform: translateY(-2px); }

/* Responsividade Mobile */
@media (max-width: 600px) {
    .carrinho-tabela thead { display: none; }
    .carrinho-tabela tr { display: block; margin-bottom: 15px; border: 1px solid #eee; border-radius: 8px; padding: 10px; }
    .carrinho-tabela td { display: flex; justify-content: space-between; border: none; padding: 5px; }
    .carrinho-tabela td::before { content: attr(data-label); font-weight: 700; color: #7f8c8d; }
    .total-label { text-align: left; }
}

.btn-carrinho-flutuante {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #16a085;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    transition: 0.3s;
    z-index: 9999;
}

.btn-carrinho-flutuante:hover {
    background: #1abc9c;
    transform: scale(1.1);
}

.carrinho-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #e74c3c;
    color: white;
    font-size: 12px;
    font-weight: 700;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}