* {
  box-sizing: border-box;
}

:root {
  --background: #f4f7f5;
  --surface: #ffffff;
  --primary: #126b3a;
  --primary-dark: #0a4726;
  --text: #17211b;
  --muted: #66736b;
  --border: #dce5df;
  --warning: #fff8df;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--background);
  color: var(--text);
  line-height: 1.6;
}

.status-open{
    display:inline-block;
    padding:6px 12px;
    border-radius:20px;
    background:#dff5e6;
    color:#136b37;
    font-weight:bold;
}

.status-soon{
    display:inline-block;
    padding:6px 12px;
    border-radius:20px;
    background:#fff4cc;
    color:#9a6a00;
    font-weight:bold;
}

.status-closed{
    display:inline-block;
    padding:6px 12px;
    border-radius:20px;
    background:#ececec;
    color:#666;
    font-weight:bold;
}

.container {
  width: min(100% - 32px, 960px);
  margin: 0 auto;
}

.hero {
  padding: 72px 0;
  color: white;
  text-align: center;
  background:
    linear-gradient(rgba(5, 58, 30, 0.86), rgba(5, 58, 30, 0.86)),
    linear-gradient(135deg, #126b3a, #073d22);
}

.badge {
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  font-size: 0.85rem;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  line-height: 1;
}

.hero p {
  max-width: 620px;
  margin: 18px auto 0;
  font-size: 1.1rem;
}

main {
  padding: 48px 0;
}

.categories h2,
.notice h2 {
  margin-bottom: 6px;
}

.instruction {
  margin-top: 0;
  color: var(--muted);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.category-card {
  display: flex;
  min-height: 125px;
  padding: 22px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--primary-dark);
  text-decoration: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 7px 22px rgba(17, 53, 32, 0.07);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.category-card:hover,
.category-card:focus {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 12px 28px rgba(17, 53, 32, 0.14);
}

.category-card strong {
  font-size: 2rem;
}

.category-card span {
  color: var(--muted);
  font-size: 0.92rem;
}

.notice {
  margin-top: 42px;
  padding: 24px;
  background: var(--warning);
  border-left: 5px solid #d4a800;
  border-radius: 10px;
}

.notice p {
  margin-bottom: 0;
}

.page-header {
  padding: 38px 0;
  color: white;
  background: var(--primary-dark);
}

.page-header a {
  color: white;
}

.tryout-list {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.tryout-card {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.tryout-card h2 {
  margin-top: 0;
}

.tryout-data {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 8px 18px;
  padding: 0;
  list-style: none;
}

.source-link {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 16px;
  color: white;
  text-decoration: none;
  background: var(--primary);
  border-radius: 8px;
}

.empty-message {
  padding: 30px;
  text-align: center;
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: 14px;
}

footer {
  padding: 26px 0;
  color: var(--muted);
  text-align: center;
  background: #e9efeb;
}

@media (max-width: 520px) {
  .hero {
    padding: 54px 0;
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* ==========================================
   PÁGINAS DAS CATEGORIAS
========================================== */

.category-header {
  padding: 38px 0 48px;
  color: white;
  background:
    linear-gradient(
      135deg,
      rgba(5, 63, 33, 0.98),
      rgba(18, 107, 58, 0.93)
    );
}

.back-link {
  display: inline-flex;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: bold;
  text-decoration: none;
}

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

.category-title {
  max-width: 650px;
}

.category-label {
  display: inline-block;
  margin-bottom: 8px;
  padding: 5px 11px;
  font-size: 0.8rem;
  font-weight: bold;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
}

.category-title h1 {
  margin: 0;
  font-size: clamp(2.3rem, 7vw, 4rem);
  line-height: 1.1;
}

.category-title p {
  margin: 14px 0 0;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.88);
}

.category-content {
  padding-top: 50px;
  padding-bottom: 60px;
}

.tryout-section {
  margin-bottom: 58px;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.section-heading h2 {
  margin: 7px 0 2px;
  font-size: 1.8rem;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
}

.section-tag {
  display: inline-block;
  padding: 5px 10px;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: bold;
  text-transform: uppercase;
  background: #1d5d94;
  border-radius: 999px;
}

.female-tag {
  background: #9a3971;
}

.tryout-list {
  display: grid;
  gap: 22px;
}

.tryout-card {
  overflow: hidden;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(17, 53, 32, 0.08);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.tryout-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 38px rgba(17, 53, 32, 0.13);
}

.tryout-card-header {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  justify-content: space-between;
}

.tryout-card-header h3 {
  margin: 10px 0 3px;
  font-size: 1.45rem;
}

.tryout-location {
  margin: 0;
  color: var(--muted);
}

.status-badge {
  display: inline-block;
  padding: 5px 10px;
  font-size: 0.76rem;
  font-weight: bold;
  border-radius: 999px;
}

.status-badge.open {
  color: #15592e;
  background: #dff5e6;
}

.status-badge.closed {
  color: #832525;
  background: #fde4e4;
}

.gender-badge {
  flex-shrink: 0;
  padding: 8px 12px;
  font-size: 0.8rem;
  font-weight: bold;
  border-radius: 10px;
}

.gender-badge.male {
  color: #164f7e;
  background: #e2f1ff;
}

.gender-badge.female {
  color: #82305f;
  background: #f8e4f0;
}

.tryout-info {
  display: grid;
  grid-template-columns:
    repeat(auto-fit, minmax(170px, 1fr));
  gap: 16px;
  margin-top: 25px;
  padding: 20px;
  background: #f7faf8;
  border-radius: 12px;
}

.info-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.info-label {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: bold;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.tryout-description {
  margin-top: 20px;
  color: #3d4941;
}

.tryout-description p {
  margin: 0;
}

.tryout-actions {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}

.primary-button {
  display: inline-flex;
  padding: 12px 18px;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  text-decoration: none;
  background: var(--primary);
  border-radius: 9px;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.primary-button:hover {
  transform: translateY(-1px);
  background: var(--primary-dark);
}

.source-text {
  margin: 17px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.verification-notice {
  padding: 26px;
  background: #fff7d8;
  border: 1px solid #ecd783;
  border-left: 5px solid #d5a900;
  border-radius: 12px;
}

.verification-notice h2 {
  margin: 0 0 8px;
  font-size: 1.25rem;
}

.verification-notice p {
  margin: 0;
}

.site-footer {
  padding: 25px 0;
  color: var(--muted);
  text-align: center;
  background: #e9efeb;
}


/* ==========================================
   CELULAR
========================================== */

@media (max-width: 600px) {

  .category-header {
    padding: 30px 0 40px;
  }

  .back-link {
    margin-bottom: 28px;
  }

  .category-content {
    padding-top: 38px;
  }

  .tryout-card {
    padding: 20px;
  }

  .tryout-card-header {
    flex-direction: column;
  }

  .gender-badge {
    align-self: flex-start;
  }

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

  .primary-button {
    width: 100%;
  }

}
