/* =========================================================
   1. VARIÁVEIS
========================================================= */

:root {
  --color-dark: #080909;
  --color-dark-soft: #111312;
  --color-dark-card: #141514;

  --color-paper: #e7d4aa;
  --color-paper-dark: #d2b982;
  --color-paper-light: #f2e3bd;

  --color-teal: #2f6865;
  --color-teal-light: #4f8b84;
  --color-teal-dark: #173f3b;

  --color-gold: #c8a96a;
  --color-white-aged: #f4ead2;
  --color-border: #5f6b6c;
  --color-black: #000000;

  --font-title: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  --font-condensed: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
  --font-body: Arial, Helvetica, sans-serif;
  --font-script: cursive;

  --container-width: 1160px;
  --content-width: 1040px;

  --space-xs: 6px;
  --space-sm: 12px;
  --space-md: 20px;
  --space-lg: 32px;
  --space-xl: 48px;
  --space-xxl: 72px;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;

  --border-thin: 1px solid rgba(231, 212, 170, 0.35);
  --border-paper: 1px solid rgba(8, 9, 9, 0.25);
  --border-frame: 2px solid rgba(95, 107, 108, 0.7);

  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-strong: 0 20px 60px rgba(0, 0, 0, 0.65);
  --shadow-inner: inset 0 0 80px rgba(0, 0, 0, 0.45);
}

/* =========================================================
   2. RESET BÁSICO
========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body,
h1,
h2,
h3,
p,
ul,
ol,
li,
figure,
blockquote {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  border: 0;
  background: none;
  cursor: pointer;
}

table {
  border-collapse: collapse;
  width: 100%;
}

/* =========================================================
   3. ESTILOS GLOBAIS
========================================================= */

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at top, rgba(47, 104, 101, 0.16), transparent 28%),
    linear-gradient(135deg, #050606 0%, #171b1b 45%, #050606 100%);
  color: var(--color-white-aged);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.45;
}

/*body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 4px 4px;
}*/

/* Ruído/grunge geral */
body::before {
  opacity: 0.22;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 5px 5px, 3px 3px;
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

/*.page-wrapper {
  width: min(var(--container-width), calc(100% - 24px));
  margin: 14px auto;
  overflow: hidden;
  background: var(--color-dark);
  border: var(--border-frame);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-strong);
}*/

.page-wrapper {
  margin: 12px auto;
  border: 2px solid rgba(120, 140, 140, 0.65);
  border-radius: 12px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.08),
    0 24px 70px rgba(0,0,0,0.75);
  width: min(var(--container-width), calc(100% - 24px));
  overflow: hidden;
  background: var(--color-dark);
}

section {
  position: relative;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  text-align: center;
}

.section-header h2 {
  color: var(--color-dark);
  font-family: var(--font-title);
  font-size: 40px;
  line-height: 1;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.section-header-dark h2 {
  color: var(--color-white-aged);
}

.ornament {
  width: 68px;
  height: 10px;
  position: relative;
}

.ornament::before,
.ornament::after {
  content: "";
  position: absolute;
  top: 4px;
  width: 28px;
  height: 4px;
  background: currentColor;
  border-radius: 20px;
}

.ornament::before {
  left: 0;
}

.ornament::after {
  right: 0;
}

.section-header .ornament {
  color: var(--color-dark);
}

.section-header-dark .ornament {
  color: var(--color-teal-light);
}

h1,
h2,
h3 {
  font-family: var(--font-title);
  text-transform: uppercase;
}

p {
  font-size: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  min-height: 42px;
  padding: 10px 24px;
  color: var(--color-black);
  background: var(--color-paper-light);
  border: 1px solid rgba(0, 0, 0, 0.35);
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.35);
  font-family: var(--font-title);
  font-size: 20px;
  line-height: 1;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

/*.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 rgba(0, 0, 0, 0.45);
}*/

.btn-primary {
  min-width: 320px;
  min-height: 60px;
  font-size: 28px;
}

.btn-secondary {
  min-width: 220px;
  font-size: 18px;
}

/* =========================================================
   4. HEADER / MENU - DESKTOP
========================================================= */

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  padding: 28px 46px 0;
  pointer-events: none;
}

.header-container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-xl);
}

.header-logo {
  width: 210px;
  flex: 0 0 auto;
  pointer-events: auto;
  display: none;
}

.hero-brand {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.hero-brand-text {
    margin-left: 0;
}

.main-nav {
  position: fixed;
  z-index: 100;
  top: 18px;
  right: calc((100vw - min(var(--container-width), calc(100vw - 24px))) / 2 + 46px);
  padding: 12px 22px;
  background: rgba(8, 9, 9, 0.86);
  border: 1px solid rgba(231, 212, 170, 0.25);
  border-radius: 999px;
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.45);
  pointer-events: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-list a {
  position: relative;
  color: var(--color-white-aged);
  font-family: var(--font-title);
  font-size: 15px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -9px;
  width: 0;
  height: 3px;
  background: var(--color-gold);
  transition: width 0.2s ease;
}

.nav-list a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
}

/* =========================================================
   5. HERO / BANNER - DESKTOP
========================================================= */

.hero-section {
  min-height: 640px;
  background: var(--color-dark);
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 90%;
  object-fit: cover;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.78) 30%, rgba(0,0,0,0.25) 62%, rgba(0,0,0,0.15) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.42) 0%, transparent 45%, rgba(0,0,0,0.7) 100%);
}

.hero-overlay {
  position: relative;
  z-index: 2;
  padding: 52px 58px 128px;
}

.hero-brand {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-bottom: 56px;
}

.hero-brand img {
  width: 220px;
}

.hero-brand-text h1 {
  max-width: 580px;
  color: var(--color-paper-light);
  font-size: 70px;
  line-height: 0.92;
  letter-spacing: 2px;
}

.hero-brand-text h1 span {
  display: block;
  color: var(--color-teal-light);
}

.hero-brand-text p {
  margin-top: 8px;
  color: var(--color-paper-light);
  font-family: var(--font-script);
  font-size: 23px;
}

.hero-content {
  max-width: 480px;
}

.hero-content h2 {
  color: var(--color-white-aged);
  font-size: 62px;
  line-height: 0.95;
  letter-spacing: 1px;
}

.hero-content p {
  margin-top: var(--space-md);
  color: var(--color-teal-light);
  font-family: var(--font-title);
  font-size: 27px;
  line-height: 1.08;
  text-transform: uppercase;
}

.hero-content .btn {
  margin-top: 34px;
}

/*.hero-waves {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 78px;
  background:
    linear-gradient(180deg, transparent 0%, rgba(47,104,101,0.55) 50%, rgba(8,9,9,0.85) 100%);
  border-bottom: 5px solid var(--color-teal-dark);
}*/

/* Ondas entre hero e informações */
.hero-waves {
  height: 92px;
  background:
    radial-gradient(ellipse at 18% 30%, rgba(88,171,162,0.75) 0 14%, transparent 15%),
    radial-gradient(ellipse at 45% 42%, rgba(88,171,162,0.62) 0 18%, transparent 19%),
    radial-gradient(ellipse at 75% 34%, rgba(88,171,162,0.7) 0 15%, transparent 16%),
    linear-gradient(180deg, transparent 0%, rgba(47,104,101,0.6) 55%, #173f3b 100%);
  border-bottom: 6px solid #0b2523;
}

/* =========================================================
   6. INFORMAÇÕES DO EVENTO - DESKTOP
========================================================= */

/*.event-info-section {
  padding: 38px 58px 52px;
  color: var(--color-dark);
  background:
    radial-gradient(circle at 88% 70%, rgba(0,0,0,0.18), transparent 19%),
    linear-gradient(135deg, var(--color-paper-light), var(--color-paper) 50%, var(--color-paper-dark));
}*/

/* Papel envelhecido */
.event-info-section,
.contact-section {
  background:
    radial-gradient(circle at 90% 70%, rgba(0,0,0,0.16), transparent 22%),
    radial-gradient(circle at 18% 25%, rgba(120,70,20,0.12), transparent 24%),
    linear-gradient(135deg, #f0dfb8 0%, #dcc18b 55%, #c9a96d 100%);
}

.event-info-section::before,
.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    radial-gradient(circle, rgba(60,35,12,0.28) 1px, transparent 1px);
  background-size: 7px 7px;
}

.event-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-bottom: 34px;
}

.event-info-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 148px;
  padding: 0 26px;
  text-align: center;
  color: black;
  border-right: var(--border-paper);
}

.event-info-item:last-child {
  border-right: 0;
}

.event-icon {
  width: 58px;
  height: 58px;
  margin-bottom: 12px;
  border: 4px solid var(--color-dark);
  border-radius: 12px;
}

.event-info-item h3 {
  margin-bottom: 8px;
  font-size: 22px;
  line-height: 1;
}

.event-info-item p {
  font-family: var(--font-title);
  font-size: 17px;
  line-height: 1.12;
  text-transform: uppercase;
}

.event-description {
  max-width: 760px;
  font-weight: 700;
  color: #000000;
}

/* =========================================================
   CARROSSEL DE EVENTOS
========================================================= */

.events-section {
  padding: 54px 70px 64px;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 30%, rgba(47, 104, 101, 0.22), transparent 24%),
    linear-gradient(135deg, #070808, #121514);
}

.events-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
}

.events-carousel-viewport {
  width: 100%;
  overflow: hidden;
}

.events-carousel-track {
  display: flex;
  transition: transform 0.45s ease;
}

.event-card {
  flex: 0 0 calc(33.333% - 16px);
  margin-right: 24px;
  overflow: hidden;
  background: var(--color-dark-card);
  border: 1px solid rgba(231, 212, 170, 0.4);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.event-card-image {
  position: relative;
    height: 240px;
    overflow: hidden;

    display: flex;
    justify-content: center;
    align-items: center;

    background: #080909;
}

.event-card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.9) 100%);
}

.event-card-image img {
   max-width: 100%;
    max-height: 100%;

    width: auto;
    height: auto;

    object-fit: contain;

    transition: transform .4s ease;
}

.event-card:hover .event-card-image img {
  transform: scale(1.03);
}

.event-card-content {
  padding: 24px;
}

.event-card-content h3 {
  margin-bottom: 10px;
  color: var(--color-paper-light);
  font-size: 28px;
  line-height: 1;
}

.event-card-meta {
  margin-bottom: 8px;
  color: var(--color-teal-light);
  font-family: var(--font-title);
  font-size: 15px;
  text-transform: uppercase;
}

.event-card-description {
  margin-bottom: 22px;
  color: var(--color-white-aged);
  font-size: 14px;
}

.event-card .btn {
  width: 100%;
}

.carousel-control {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  color: var(--color-paper-light);
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(231, 212, 170, 0.45);
  border-radius: 50%;
  font-size: 24px;
}

.carousel-control:hover {
  color: var(--color-dark);
  background: var(--color-paper-light);
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 26px;
}

.carousel-indicator {
  width: 10px;
  height: 10px;
  padding: 0;
  background: rgba(231, 212, 170, 0.35);
  border-radius: 50%;
}

.carousel-indicator.active {
  background: var(--color-teal-light);
}

/* =========================================================
   7. CARDS REGULAMENTO / RESULTADOS - DESKTOP
========================================================= */

/*.quick-access-section {
  padding: 36px 70px;
  background:
    linear-gradient(135deg, #090a0a, #151615),
    var(--color-dark);
  border-top: 1px solid rgba(200,169,106,0.5);
  border-bottom: 1px solid rgba(200,169,106,0.5);
}*/

/* Fundo preto grunge nas áreas escuras */
.quick-access-section,
.results-section,
.site-footer,
.hero-section {
  background-color: #080909;
}

.quick-access-section::before,
.results-section::before,
.footer-main::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background:
    radial-gradient(circle at 10% 20%, rgba(255,255,255,0.12), transparent 2px),
    radial-gradient(circle at 70% 60%, rgba(255,255,255,0.08), transparent 2px);
  background-size: 32px 32px;
}

.quick-access-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
}

.quick-card {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 120px;
}

.quick-card + .quick-card {
  padding-left: 60px;
  border-left: var(--border-thin);
}

.quick-card-icon {
  width: 62px;
  height: 62px;
  flex: 0 0 auto;
  border: 4px solid var(--color-gold);
  border-radius: var(--radius-sm);
}

.quick-card h2 {
  color: var(--color-paper-light);
  font-size: 31px;
  line-height: 1;
}

.quick-card p {
  max-width: 300px;
  margin: 4px 0 18px;
  color: var(--color-white-aged);
}

/* =========================================================
   8. RESULTADOS - DESKTOP
========================================================= */

.results-section {
  padding: 42px 70px 58px;
  background:
    radial-gradient(circle at 8% 70%, rgba(47,104,101,0.22), transparent 16%),
    linear-gradient(135deg, #080909, #121514);
}

.results-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.75fr;
  gap: 70px;
  align-items: start;
}

.results-table-box h3,
.results-list-box h3 {
  margin-bottom: 18px;
  color: var(--color-paper-light);
  font-family: var(--font-title);
  font-size: 19px;
  text-align: center;
  text-transform: uppercase;
}

.results-list-box h3 {
  color: var(--color-teal-light);
}

.results-table {
  overflow: hidden;
  color: var(--color-white-aged);
  border: 1px solid rgba(231,212,170,0.45);
  border-radius: var(--radius-sm);
}

.results-table th,
.results-table td {
  padding: 14px 16px;
  font-family: var(--font-title);
  font-size: 14px;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(231,212,170,0.18);
}

.results-table th {
  color: var(--color-paper-light);
  background: rgba(47,104,101,0.75);
}

.results-table tr:last-child td {
  border-bottom: 0;
}

.results-table td {
  background: rgba(0,0,0,0.36);
}

.results-note {
  margin-top: 10px;
  color: var(--color-teal-light);
  font-size: 13px;
}

.results-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.results-list li {
  display: grid;
  grid-template-columns: 56px 1fr 100px;
  align-items: center;
  min-height: 58px;
  overflow: hidden;
  color: var(--color-white-aged);
  background: rgba(0,0,0,0.34);
  border: 1px solid rgba(231,212,170,0.35);
  border-radius: var(--radius-sm);
}

.results-list .position {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  color: var(--color-white-aged);
  background: var(--color-teal);
  font-family: var(--font-title);
  font-size: 22px;
}

.results-list .athlete {
  padding: 0 16px;
  font-family: var(--font-title);
  font-size: 17px;
  text-transform: uppercase;
}

.results-list small {
  display: block;
  margin-top: 2px;
  color: var(--color-paper);
  font-size: 12px;
}

.results-list strong {
  padding-right: 14px;
  color: var(--color-paper-light);
  font-family: var(--font-title);
  font-size: 18px;
  text-align: right;
}

.results-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.results-search {
  width: 280px;
  max-width: 100%;
  padding: 10px 14px;
  background: rgba(0,0,0,0.45);
  color: #f4ead2;
  border: 1px solid rgba(231,212,170,0.45);
}

.results-search::placeholder {
  color: rgba(244,234,210,0.65);
}


/* =========================================================
   9. CONTATOS - DESKTOP
========================================================= */

.contact-section {
  padding: 36px 58px 40px;
  color: var(--color-dark);
  background:
    linear-gradient(135deg, var(--color-paper-light), var(--color-paper) 55%, var(--color-paper-dark));
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, auto);
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.contact-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--color-dark);
  font-weight: 800;
}

.contact-item::before {
  content: "";
  width: 34px;
  height: 34px;
  display: inline-block;
  border: 4px solid currentColor;
  border-radius: 50%;
}

.social-links{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:18px;
}

.social-links a{
    width:48px;
    height:48px;

    display:flex;
    justify-content:center;
    align-items:center;

    border-radius:50%;
    background:#0e1111;

    border:1px solid rgba(231,212,170,.35);

    transition:.25s;
}

.social-links a:hover{
    background:#2f6865;
    transform:translateY(-3px);
}

.social-links img{
    width:24px;
    height:24px;

    filter:invert(88%) sepia(14%) saturate(307%) hue-rotate(356deg);
}

/* =========================================================
   10. RODAPÉ - DESKTOP
========================================================= */

.site-footer {
  background: var(--color-dark);
}

.footer-main {
  display: grid;
  grid-template-columns: 180px 1fr 360px;
  align-items: center;
  gap: 36px;
  padding: 34px 58px;
  background:
    radial-gradient(circle at 75% 50%, rgba(47,104,101,0.26), transparent 23%),
    linear-gradient(135deg, #080909, #111312);
}

.footer-logo img {
  width: 155px;
}

.footer-about h2 {
  margin-bottom: 8px;
  color: var(--color-paper-light);
  font-size: 25px;
  line-height: 1;
}

.footer-about p {
  max-width: 430px;
  color: var(--color-white-aged);
}

.footer-illustration img {
  width: 100%;
  max-height: 110px;
  object-fit: cover;
  opacity: 0.75;
}

.footer-bottom {
  padding: 14px 24px;
  background: var(--color-teal-dark);
  text-align: center;
}

.footer-bottom p {
  color: var(--color-paper-light);
  font-size: 13px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.results-list-box {
  display: none;
}

/* =========================================================
   11. RESPONSIVIDADE - TABLET
   Até 1024px
========================================================= */

@media (max-width: 1024px) {
  :root {
    --container-width: 960px;
  }

  .page-wrapper {
    width: calc(100% - 20px);
  }

  .site-header {
    padding: 24px 32px 0;
  }

  .header-logo {
    width: 170px;
  }

  .nav-list {
    gap: 22px;
  }

  .nav-list a {
    font-size: 14px;
  }

  .hero-section {
    min-height: 670px;
  }

  .hero-overlay {
    padding: 70px 58px 128px;
  }

  .hero-brand {
    margin-bottom: 62px;
  }

  .hero-brand-text h1 {
    font-size: 76px;
    letter-spacing: 2.5px;
  }

  .hero-brand img {
    width: 180px;
   }

  .hero-content h2 {
    font-size: 66px;
    max-width: 440px;
  }

  .hero-content p {
    font-size: 28px;
    max-width: 470px;
  }

  .event-info-section,
  .contact-section {
    padding-left: 42px;
    padding-right: 42px;
  }

  .event-info-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 34px;
  }

  .event-info-item:nth-child(2) {
    border-right: 0;
  }

  .event-info-item:nth-child(1),
  .event-info-item:nth-child(2) {
    border-bottom: var(--border-paper);
    padding-bottom: 28px;
  }

  .quick-access-section,
  .results-section {
    padding-left: 42px;
    padding-right: 42px;
  }

  .quick-access-grid {
    gap: 34px;
  }

  .quick-card + .quick-card {
    padding-left: 34px;
  }

  .results-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .results-list-box {
    max-width: 620px;
    margin: 0 auto;
    width: 100%;
  }

  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
    justify-content: stretch;
  }

  .footer-main {
    grid-template-columns: 150px 1fr;
  }

  .footer-illustration {
    grid-column: 1 / -1;
  }

  .results-table-box {
   display: none;
  }

  .results-list-box {
    display: block;
  }
}

/* =========================================================
   12. RESPONSIVIDADE - MOBILE
   Até 768px
========================================================= */

@media (max-width: 768px) {
  body {
    font-size: 14px;
  }

  .page-wrapper {
    width: calc(100% - 18px);
    margin: 10px auto;
    border-radius: 28px;
  }

  .site-header {
    position: sticky;
    padding: 12px 24px;
    background: rgba(8, 9, 9, 0.9);
    pointer-events: auto;
  }

  .header-container {
    align-items: center;
  }

  .header-logo {
    width: 120px;
  }

  .main-nav {
    display: none;
    position: fixed;
    top: 70px;
    right: 24px;
    width: min(280px, calc(100vw - 48px));
    padding: 16px 18px;
    background: rgba(8, 9, 9, 0.96);
    border: 1px solid rgba(231, 212, 170, 0.25);
    border-radius: 14px;
    backdrop-filter: blur(6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55);
    z-index: 105;
  }

  .main-nav.menu-open {
    display: block;    
  }

  .main-nav.menu-open .nav-list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-list li {
    width: 100%;
  }

   .nav-list a {
    display: block;
    width: 100%;
    padding: 12px 6px;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 42px;
    height: 42px;
    padding: 8px;
    position: fixed;
    z-index: 110;
  }

  .menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;    
    background: var(--color-paper-light);
    border-radius: 20px;
  }

  .hero-section {
    min-height: 560px;
  }

  .hero-section::before {
    background:
      linear-gradient(180deg, rgba(0,0,0,0.86) 0%, rgba(0,0,0,0.62) 42%, rgba(0,0,0,0.78) 100%),
      linear-gradient(90deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.18) 100%);
  }

  .hero-image {
    object-position: center right;
  }

  .hero-overlay {
    min-height: 560px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 94px 24px 94px;
    padding-top: 70px;
  }

  .hero-brand {
    display: none;
  }

  .hero-brand img {
    width: 120px;
  }

  .hero-brand-text {
    display: none;
  }

  .hero-content {
    max-width: 360px;
  }

  .hero-content h2 {
    font-size: 40px;
  }

  .hero-content p {
    max-width: 310px;
    margin-top: 14px;
    font-size: 17px;
  }

  .hero-content .btn {
    margin-top: 24px;
  }

  .btn,
  .btn-primary,
  .btn-secondary {
    min-width: 0;
    font-size: 17px;
  }

  .btn-primary {
    min-height: 48px;
    padding: 10px 18px;
  }

  .hero-waves {
    height: 62px;
  }

  .section-header {
    gap: 10px;
    margin-bottom: 26px;
  }

  .section-header h2 {
    font-size: 28px;
  }

  /* Divisórias ornamentais mais parecidas */
.ornament {
  width: 86px;
  height: 12px;
}

.ornament::before,
.ornament::after {
  top: 4px;
  width: 34px;
  height: 5px;
  border: 2px solid currentColor;
  background: transparent;
}

.ornament::before {
  border-radius: 20px 0 0 20px;
}

.ornament::after {
  border-radius: 0 20px 20px 0;
}

  .event-info-section {
    padding: 34px 24px 36px;
  }

  .event-info-grid {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 24px;
  }

  .event-info-item {
    min-height: auto;
    align-items: flex-start;
    display: grid;
    grid-template-columns: 46px 1fr;
    column-gap: 14px;
    padding: 0;
    text-align: left;
    border-right: 0;
    border-bottom: 0;
  }

  .event-info-item:nth-child(1),
  .event-info-item:nth-child(2) {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .event-icon {
    grid-row: span 2;
    width: 38px;
    height: 38px;
    margin: 0;
    border-width: 3px;
    border-radius: 8px;
  }

  .event-info-item h3 {
    font-size: 17px;
  }

  .event-info-item p {
    font-size: 13px;
  }

  .event-description {
    display: none;
  }

  .quick-access-section {
    padding: 28px 24px;
  }

  .quick-access-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .quick-card {
    align-items: flex-start;
    gap: 16px;
    min-height: auto;
  }

  .quick-card + .quick-card {
    padding-left: 0;
    padding-top: 26px;
    border-left: 0;
    border-top: var(--border-thin);
  }

  .quick-card-icon {
    width: 42px;
    height: 42px;
    border-width: 3px;
  }

  .quick-card h2 {
    font-size: 24px;
  }

  .quick-card p {
    margin-bottom: 14px;
    font-size: 14px;
  }

  .results-section {
    padding: 34px 24px 38px;
  }

  .results-layout {
    display: block;
  }

/* Tabela de resultados */
.results-table {
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(231,212,170,0.55);
  box-shadow: inset 0 0 25px rgba(0,0,0,0.55);
}

.results-table th {
  background: linear-gradient(180deg, #315f5b, #244845);
  color: #f0dfb8;
}

.results-table td {
  background: rgba(5,6,6,0.72);
}

.results-table tr:hover td {
  background: rgba(47,104,101,0.18);
}

  .results-table-box {
    display: none;
  }

  .results-list-box h3 {
    display: none;
  }

  .results-list {
    gap: 7px;
  }

 /* Cards da lista mobile */
.results-list li {
  background:
    linear-gradient(90deg, rgba(47,104,101,0.28), rgba(0,0,0,0.65));
  border: 1px solid rgba(231,212,170,0.42);
  box-shadow: inset 0 0 18px rgba(0,0,0,0.45);
}

.results-list .position {
  background: linear-gradient(180deg, #4f8b84, #2f6865);
}

  .results-list .athlete {
    padding: 0 10px;
    font-size: 13px;
  }

  .results-list small {
    font-size: 10px;
  }

  .results-list strong {
    padding-right: 10px;
    font-size: 13px;
  }

  .results-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .results-search {
    width: 100%;
  }

  .contact-section {
    padding: 34px 24px 36px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact-item {
    justify-content: flex-start;
    font-size: 14px;
  }

  .contact-item::before {
    width: 30px;
    height: 30px;
    border-width: 3px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 30px 24px;
  }

  .footer-logo img {
    width: 120px;
  }

  .footer-about h2 {
    font-size: 22px;
  }

  .footer-about p {
    font-size: 14px;
  }

  .footer-illustration {
    display: none;
  }

  .footer-bottom {
    padding: 14px 20px;
  }

  .footer-bottom p {
    font-size: 11px;
  }

  .results-table-box {
    display: none;
  }

  .results-list-box {
    display: block;
  }
}

/* =========================================================
   13. RESPONSIVIDADE - CELULAR PEQUENO
   Até 480px
========================================================= */

@media (max-width: 480px) {
  .page-wrapper {
    width: calc(100% - 12px);
    margin: 6px auto;
    border-width: 1px;
    border-radius: 22px;
  }

  .site-header {
    padding: 18px 18px 0;
  }

  .header-logo,
  .hero-brand img {
    width: 104px;
  }

  .menu-toggle {
    width: 36px;
    height: 36px;
    padding: 6px;
  }

  .menu-toggle span {
    width: 22px;
    height: 2px;
  }

  .hero-section {
    min-height: 500px;
  }

  .hero-overlay {
    min-height: 500px;
    padding: 82px 18px 82px;
  }

  .hero-brand {
    top: 18px;
    left: 18px;
  }

  .hero-content {
    max-width: 290px;
  }

  .hero-content h2 {
    font-size: 32px;
    line-height: 1;
  }

  .hero-content p {
    max-width: 260px;
    font-size: 14px;
  }

  .btn,
  .btn-primary,
  .btn-secondary {
    width: 100%;
    min-height: 44px;
    padding: 10px 14px;
    font-size: 15px;
  }

  /* Hierarquia dos títulos */
  .section-header h2 {
    font-size: 24px;
    letter-spacing: 1.8px;
  }

  .ornament {
    width: 30px;
  }

  .ornament::before,
  .ornament::after {
    width: 12px;
  }

  .event-info-section,
  .quick-access-section,
  .results-section,
  .contact-section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .event-info-item {
    grid-template-columns: 40px 1fr;
    column-gap: 12px;
  }

  .event-icon {
    width: 34px;
    height: 34px;
  }

  .event-info-item h3 {
    font-size: 16px;
  }

  .event-info-item p {
    font-size: 12px;
  }

  .quick-card {
    flex-direction: column;
  }

  .quick-card h2 {
  font-size: 22px;
}

  .quick-card p {
    font-size: 13px;
  }

  .results-list li {
    grid-template-columns: 42px 1fr;
    grid-template-areas:
      "pos athlete"
      "pos time";
    min-height: 62px;
  }

  .results-list .position {
    grid-area: pos;
  }

  .results-list .athlete {
    grid-area: athlete;
    padding: 8px 10px 0;
  }

  .results-list strong {
    grid-area: time;
    padding: 0 10px 8px;
    text-align: left;
  }

  .contact-item {
    align-items: center;
    font-size: 12px;
    word-break: break-word;
  }

  .footer-main {
    padding: 26px 18px;
  }

  .footer-logo img {
    width: 105px;
  }

  .footer-about h2 {
  font-size: 28px;
}

  .footer-about p {
    font-size: 13px;
  }

  .results-table-box {
    display: none;
  }

  .results-list-box {
    display: block;
  }
}

@media (max-width: 1024px) {
  .events-section {
    padding-left: 42px;
    padding-right: 42px;
  }

  .event-card {
    flex-basis: calc(50% - 12px);
  }

  .results-table-box {
    display: none;
  } 

  .results-list-box {
    display: block;
  }
}

@media (max-width: 768px) {
  .events-section {
    padding: 38px 24px 46px;
  }

  .events-carousel {
    gap: 8px;
  }

  .event-card {
    flex-basis: 100%;
    margin-right: 16px;
  }

  .carousel-control {
    position: absolute;
    z-index: 5;
    top: 110px;
    width: 38px;
    height: 38px;
    font-size: 18px;
  }

  .carousel-control-prev {
    left: 8px;
  }

  .carousel-control-next {
    right: 8px;
  }

  .event-card-image {
    height: 220px;
  }

  .results-table-box {
    display: none;
  }

  .results-list-box {
    display: block;
  }
}

@media (max-width: 480px) {
  .events-section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .event-card-content {
    padding: 18px;
  }

  .event-card-content h3 {
    font-size: 23px;
  }

  .event-card-image {
    height: 190px;
  }

  .results-table-box {
    display: none;
  }

  .results-list-box {
    display: block;
  }
}