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

:root {
  --purple: #5B1F7A;
  --purple-mid: #7B2FA0;
  --magenta: #C4006A;
  --pink: #E8007A;
  --pink-light: #F472B6;
  --cream: #FFF5F9;
  --white: #FFFFFF;
  --dark: #1A0426;
  --dark2: #2d0a5e;
}

body {
  background: var(--dark);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  padding: 40px 20px;
  font-family: 'DM Sans', sans-serif;
  overflow-x: hidden;
}

.flyer {
  width: 680px;
  max-width: 100%;
  margin: 0 auto;
  background: var(--cream);
  position: relative;
  overflow: visible;
}

/* ─── TICKER ─── */
.open-banner {
  background: #0D0D0D;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0;
}

.ticker {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: ticker 14s linear infinite;
}

.ticker-item {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--pink-light);
  padding: 10px 24px;
  border-right: 1px solid rgba(244,114,182,0.2);
  flex-shrink: 0;
}

.ticker-item.accent {
  color: var(--white);
  background: var(--pink);
}

@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─── HEADER ─── */
.header {
  background: var(--purple);
  position: relative;
  overflow: hidden;
}

.header-noise {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(228,0,122,0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(196,0,106,0.25) 0%, transparent 40%),
    radial-gradient(circle at 60% 80%, rgba(123,47,160,0.4) 0%, transparent 50%);
  pointer-events: none;
}

.header-dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}

.header-circle {
  position: absolute;
  top: -80px; right: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  border: 2px solid rgba(244,114,182,0.18);
}

.header-circle2 {
  position: absolute;
  top: -40px; right: -40px;
  width: 200px; height: 200px;
  border-radius: 50%;
  border: 1px solid rgba(244,114,182,0.1);
}

.header-content {
  position: relative;
  z-index: 2;
  padding: 52px 48px 44px;
}

.edition-tag {
  display: inline-block;
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--pink-light);
  border: 1px solid rgba(244,114,182,0.4);
  padding: 5px 12px;
  border-radius: 2px;
  margin-bottom: 22px;
}

.main-title {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 56px;
  line-height: 1.0;
  color: var(--white);
  letter-spacing: -1px;
  margin-bottom: 6px;
}

.main-title em {
  font-style: italic;
  color: var(--pink-light);
}

.year-badge {
  font-family: 'Space Mono', monospace;
  font-size: 68px;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 2px rgba(244,114,182,0.35);
  line-height: 1;
  letter-spacing: -3px;
  margin-bottom: 24px;
  display: block;
}

.header-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ─── RESPONSIVIDADE ─── */

@media (min-width: 1200px) {
  .flyer {
    width: 900px;
  }
}

@media (max-width: 1024px) {
  .flyer {
    width: 100%;
  }
}

@media (max-width: 768px) {

  .header-content,
  .about-section,
  .dates-section,
  .cat-section,
  .rules-section,
  .signup-section,
  .contacts-section,
  .footer {
    padding: 28px 20px;
  }

  .main-title {
    font-size: 40px;
  }

  .year-badge {
    font-size: 48px;
  }

  .dates-grid,
  .cat-grid,
  .rules-cols,
  .contacts-grid {
    grid-template-columns: 1fr;
  }

  .date-card.wide {
    grid-column: span 1;
  }
}

@media (max-width: 480px) {

  body {
    padding: 0;
  }

  .main-title {
    font-size: 32px;
  }

  .year-badge {
    font-size: 38px;
  }

  .section-title {
    font-size: 20px;
  }

  .header-content {
    padding: 24px 16px;
  }

  .step {
    flex-direction: column;
  }

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

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

/* ─── RESPONSIVO MOBILE ─── */
@media (max-width: 768px) {

  body {
    padding: 20px 10px;
  }

  .flyer {
    width: 100%;
  }

  .header-content {
    padding: 32px 20px 30px;
  }

  .main-title {
    font-size: 34px;
  }

  .year-badge {
    font-size: 48px;
  }

  .header-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .section,
  .about-section,
  .cat-section,
  .rules-section,
  .signup-section,
  .contacts-section {
    padding: 24px 20px;
  }

  .section-title {
    font-size: 20px;
  }

  .about-text {
    font-size: 13px;
  }

  .dates-grid {
    grid-template-columns: 1fr;
  }

  .date-card.wide {
    grid-column: span 1;
  }

  .cat-grid {
    grid-template-columns: 1fr;
  }

  .rules-cols {
    grid-template-columns: 1fr;
  }

  .contacts-grid {
    grid-template-columns: 1fr;
  }

  .highlight-box {
    flex-direction: column;
    padding: 20px;
  }

  .step {
    flex-direction: column;
  }

  .step-num {
    margin-bottom: 6px;
  }

  .link-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 20px;
  }

  .footer-contact {
    text-align: left;
  }

  .ticker-item {
    font-size: 10px;
    padding: 8px 16px;
  }
}

/* Decorative circle top-right */
.header-circle {
  position: absolute;
  top: -80px; right: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  border: 2px solid rgba(244,114,182,0.18);
  pointer-events: none;
}
.header-circle2 {
  position: absolute;
  top: -40px; right: -40px;
  width: 200px; height: 200px;
  border-radius: 50%;
  border: 1px solid rgba(244,114,182,0.1);
  pointer-events: none;
}

.header-content {
  position: relative;
  z-index: 2;
  padding: 52px 48px 44px;
}

.edition-tag {
  display: inline-block;
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--pink-light);
  border: 1px solid rgba(244,114,182,0.4);
  padding: 5px 12px;
  border-radius: 2px;
  margin-bottom: 22px;
}

.main-title {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 56px;
  line-height: 1.0;
  color: var(--white);
  letter-spacing: -1px;
  margin-bottom: 6px;
}

.main-title em {
  font-style: italic;
  color: var(--pink-light);
}

.year-badge {
  font-family: 'Space Mono', monospace;
  font-size: 68px;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 2px rgba(244,114,182,0.35);
  line-height: 1;
  letter-spacing: -3px;
  margin-bottom: 24px;
  display: block;
}

.header-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.location-strip {
  background: var(--pink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 2px;
}

.location-strip span {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.3px;
  color: var(--white);
}

.inscricoes-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(228,0,122,0.18);
  border: 1px solid rgba(228,0,122,0.45);
  padding: 7px 14px;
  border-radius: 2px;
}

.inscricoes-tag .dot {
  width: 7px; height: 7px;
  background: var(--pink);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.75); }
}

.inscricoes-tag span {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--pink-light);
}

/* ─── DIAGONAL DIVIDER ─── */
.diagonal {
  height: 44px;
  background: var(--purple);
  clip-path: polygon(0 0, 100% 0, 100% 25%, 0 100%);
  margin-bottom: -2px;
}

/* ─── SOBRE ─── */
.about-section {
  background: var(--white);
  border-left: 5px solid var(--pink);
  padding: 34px 48px;
}

.section-label {
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--magenta);
  margin-bottom: 6px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 25px;
  color: var(--purple);
  margin-bottom: 14px;
  line-height: 1.2;
}

.about-text {
  font-size: 14px;
  line-height: 1.75;
  color: #3a1a4a;
  font-weight: 400;
}

/* ─── DATAS ─── */
.dates-section {
  background: var(--dark2);
  background-image:
    radial-gradient(circle at 90% 10%, rgba(228,0,122,0.2) 0%, transparent 50%),
    radial-gradient(circle at 10% 90%, rgba(91,31,122,0.3) 0%, transparent 50%);
  padding: 36px 48px;
}

.dates-section .section-label { color: var(--pink-light); }
.dates-section .section-title { color: var(--white); margin-bottom: 18px; }

.dates-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.date-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(244,114,182,0.2);
  padding: 16px 18px;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
}

.date-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: var(--pink);
  border-radius: 6px 0 0 6px;
}

.date-card.wide {
  grid-column: span 2;
  background: rgba(228,0,122,0.13);
  border-color: rgba(244,114,182,0.4);
}

.date-card.wide::before { background: var(--pink-light); }

.date-label {
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--pink-light);
  margin-bottom: 6px;
}

.date-value {
  font-weight: 600;
  font-size: 14px;
  color: var(--white);
  line-height: 1.45;
}

.date-note {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  margin-top: 2px;
}

/* ─── HIGHLIGHT 50% ─── */
.highlight-box {
  margin: 0;
  background: linear-gradient(135deg, #E8007A 0%, #7B2FA0 100%);
  padding: 22px 48px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.highlight-icon {
  font-size: 26px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 3px;
}

.highlight-title {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  font-weight: 700;
  color: white;
  margin-bottom: 4px;
}

.highlight-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.88);
  line-height: 1.6;
}

/* ─── CATEGORIAS ─── */
.cat-section {
  background: var(--cream);
  padding: 34px 48px;
}

.cat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 4px;
}

.cat-card {
  border-radius: 8px;
  padding: 22px 20px;
  position: relative;
  overflow: hidden;
}

.cat-card.treineira {
  background: var(--purple);
  color: white;
}

.cat-card.competidora {
  background: var(--pink);
  color: white;
}

.cat-name {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.cat-desc {
  font-size: 12.5px;
  line-height: 1.65;
  opacity: 0.9;
}

.cat-badge {
  display: inline-block;
  margin-top: 12px;
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: rgba(255,255,255,0.18);
  padding: 4px 10px;
  border-radius: 2px;
}

/* ─── REGRAS ─── */
.rules-section {
  background: var(--white);
  border-left: 5px solid var(--purple);
  padding: 34px 48px;
}

.rules-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 4px;
}

.rule-group-title {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.rule-group-title.ok { color: #168B5A; }
.rule-group-title.no { color: var(--magenta); }

.rule-group-title::before {
  content: '';
  display: block;
  width: 16px; height: 2px;
  border-radius: 2px;
}

.rule-group-title.ok::before { background: #168B5A; }
.rule-group-title.no::before { background: var(--magenta); }

.rule-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rule-list li {
  font-size: 12.5px;
  color: #3a1a4a;
  line-height: 1.5;
  padding-left: 16px;
  position: relative;
}

.rule-list li::before {
  position: absolute;
  left: 0; top: 1px;
  font-size: 11px;
  line-height: 1.5;
}

.rule-list.ok li::before { content: '✓'; color: #168B5A; font-weight: 700; }
.rule-list.no li::before { content: '✕'; color: var(--magenta); font-weight: 700; }

/* ─── INSCRIÇÃO ─── */
.signup-section {
  background: var(--cream);
  padding: 34px 48px;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 4px;
}

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

.step-num {
  flex-shrink: 0;
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 15px;
  color: white;
  background: var(--purple);
}

.step:nth-child(2) .step-num { background: var(--pink); }

.step-title {
  font-weight: 600;
  font-size: 13.5px;
  color: var(--purple);
  margin-bottom: 5px;
}

.step-desc {
  font-size: 12.5px;
  color: #5a3570;
  line-height: 1.6;
  margin-bottom: 8px;
}

/* Links dentro dos steps */
.link-rows {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.link-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.link-label {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 1px;
  color: #8a5a9a;
  min-width: 92px;
}

.link-btn {
  display: inline-block;
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.5px;
  padding: 5px 14px;
  border-radius: 2px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.link-btn:hover { opacity: 0.82; }

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

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

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

/* ─── CONTATOS ─── */
.contacts-section {
  background: var(--dark);
  background-image:
    radial-gradient(circle at 80% 50%, rgba(91,31,122,0.3) 0%, transparent 60%);
  padding: 30px 48px;
}

.contacts-section .section-label { color: var(--pink-light); }
.contacts-section .section-title { color: var(--white); margin-bottom: 16px; }

.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(244,114,182,0.15);
  border-radius: 6px;
  padding: 12px 16px;
}

.contact-icon {
  width: 34px; height: 34px;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  background: rgba(228,0,122,0.2);
}

.contact-icon img { 
  width: 20px; 
  height: 20px; 
  object-fit: contain; 
} 

.center-item { 
  grid-column: span 2; 
  display: flex;
  justify-content: center;
}

@media (max-width: 768px) {
  .center-item {
    grid-column: span 1;
  }
}

.ct-label {
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 3px;
}

.ct-val {
  font-size: 12.5px;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}

.ct-val a {
  color: var(--pink-light);
  text-decoration: none;
}

/* ─── FOOTER ─── */
.footer {
  background: var(--dark);
  border-top: 1px solid rgba(244,114,182,0.15);
  padding: 22px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  color: white;
  font-weight: 700;
}

.footer-brand span {
  color: var(--pink-light);
  font-style: italic;
}

.footer-org {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.35);
  margin-top: 4px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: right;
}

.footer-contact a,
.footer-contact span {
  font-family: 'Space Mono', monospace;
  font-size: 10.5px;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  letter-spacing: 0.5px;
}

.footer-contact a:hover { color: var(--pink-light); }

.footer-bar {
  height: 6px;
  background: linear-gradient(90deg, var(--pink) 0%, var(--purple) 100%);
}

/* SUPPORT / ORGANIZAÇÃO */
.support-section {
  background: linear-gradient(135deg, #E8007A 0%, #7B2FA0 100%);
  padding: 20px 48px;
}

.support-section .section-label {
  color: rgba(255,255,255,0.7);
}

.support-section .section-title {
  color: white;
  margin-bottom: 20px;
}

.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.support-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  padding: 14px 16px;
}

.support-icon {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
}

.support-icon img {
  width: 20px;
  height: 20px;
}

/* LOGOS */
.logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.logos img {
  height: 40px;
  width: auto;
  object-fit: contain;
  opacity: 0.9;
  
}

.logo.uepb {
  height: 42px;
}

.logo.comp {
  height: 45px;
}

.logo.mdc {
  height: 27px;
}

/* ─── AJUSTES FINOS MOBILE ─── */
@media (max-width: 768px) {

  /* TÍTULO MENOR */
  .main-title {
    font-size: 42px;
    line-height: 1.1;
  }

  .year-badge {
    font-size: 42px;
  }

  /* TEXTO GERAL */
  .section-title {
    font-size: 18px;
  }

  .about-text,
  .step-desc {
    font-size: 13px;
  }

  /* TREINEIRA / COMPETIDORA (BOTÕES) */
  .link-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.link-label {
  min-width: auto;
  font-size: 11px;
}

.link-btn {
  width: 150px;         
  font-size: 10px;
  padding: 08px 10px;
  text-align: center;
  white-space: nowrap;     
}

  /* STEP MAIS COMPACTO */
  .step {
    flex-direction: row; 
    align-items: flex-start;
    gap: 10px;
  }

  .step-num {
    width: 24px;
    height: 24px;
    font-size: 15px;
    margin-top: 2px;
  }

  .step-content {
    flex: 1;
  }

  .step-title {
    font-size: 13.5px;
    margin-bottom: 4px;
  }

  .step-desc {
    font-size: 12px;
    margin-bottom: 8px;
    text-align: left;
  }

  /* CONTATOS MAIS ORGANIZADOS */
  .contact-item {
    padding: 10px 12px;
  }

  .ct-val {
    font-size: 12px;
  }

  /* FOOTER MAIS LIMPO */
  .footer {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    text-align: left;
  }

  .footer > div:first-child {
    text-align: left;
  }

  .footer-contact {
    text-align: right;
  }

  /* GRID FINAL MELHOR */
  .contacts-grid {
    grid-template-columns: 1fr;
  }

  .cat-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .cat-card {
    padding: 16px 18px;
    border-radius: 6px;
  }

  .cat-name {
    font-size: 17px;
    margin-bottom: 6px;
  }

  .cat-desc {
    font-size: 12px;
    line-height: 1.5;
  }

  .cat-badge {
    margin-top: 8px;
    font-size: 8.5px;
  }

  .contacts-grid,
  .support-grid {
    width: 100%;
  }

  @media (max-width: 768px) {
  .center-item {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {

  .support-grid {
    grid-template-columns: 1fr;
  }

  .support-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(244,114,182,0.15);
    border-radius: 6px;
    padding: 12px 16px;
  }

  .support-icon {
    width: 34px;
    height: 34px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(228,0,122,0.2);
    flex-shrink: 0;
  }

  .support-icon img {
    width: 20px;
    height: 20px;
    object-fit: contain;
  }
}

@media (max-width: 768px) {
  .center-item {
    justify-content: flex-start;
  }
}
}