:root {
  --color-bg: #0e0e0e;
  --color-bg-alt: #171717;
  --color-text: #f2f2f2;
  --color-muted: #b3b3b3;
  --color-accent: #f5c518;
  --color-accent-dark: #c9a30f;
  --color-on-accent: #131313;
  --max-width: 1100px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3 {
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14, 14, 14, 0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #262626;
}

.navbar {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.25rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-accent);
  flex-shrink: 0;
}

.logo-img {
  width: 68px;
  height: 68px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  row-gap: 0.5rem;
  gap: 1.25rem;
  list-style: none;
}

.nav-links a {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: var(--color-accent);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--color-accent-dark);
}

.nav-cta-mobile {
  display: none;
}

.btn.btn-nav {
  padding: 0.5rem 1.1rem;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lang-switch a {
  display: flex;
  border: 2px solid transparent;
  border-radius: 3px;
  opacity: 0.5;
  transition: opacity 0.2s, border-color 0.2s;
}

.lang-switch a:hover {
  opacity: 1;
}

.lang-switch a[aria-current="page"] {
  opacity: 1;
  border-color: var(--color-accent);
}

.lang-switch img {
  display: block;
  height: 20px;
  width: auto;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-text);
}

/* Hero */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(14,14,14,0.6), rgba(14,14,14,0.95)),
    radial-gradient(circle at 50% 30%, var(--color-accent-dark), var(--color-bg) 70%);
  padding: 2rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../img/logo.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: min(90vw, 700px);
  opacity: 0.16;
  filter: grayscale(20%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.hero-content p {
  color: var(--color-muted);
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto 2rem;
}


.hero-content .lema {
  color: var(--color-accent);
  font-style: italic;
  font-weight: 600;
  font-size: 1rem;
  max-width: 500px;
  margin: -1rem auto 2rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.btn {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-on-accent);
  border: 2px solid var(--color-accent);
  padding: 0.85rem 2rem;
  border-radius: 4px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.btn:hover {
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--color-accent);
}

.btn-outline:hover {
  background: var(--color-accent);
  color: var(--color-on-accent);
}

/* Sections */
.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.section.alt {
  max-width: none;
  background: var(--color-bg-alt);
}

.section.alt > * {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

.section h2 {
  font-size: 2rem;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--color-accent);
  padding-left: 0.75rem;
}

.section .subtitle {
  font-size: 1.1rem;
  text-transform: uppercase;
  color: var(--color-accent);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.section p {
  color: var(--color-muted);
  max-width: 750px;
}

/* Política de Privacidade */
.policy-content {
  max-width: 750px;
}

.policy-content h2 {
  margin-bottom: 0.5rem;
}

.policy-updated {
  color: var(--color-muted);
  font-size: 0.85rem;
  margin-bottom: 2rem;
}

.policy-content h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--color-accent);
}

.policy-content p {
  margin-bottom: 1rem;
}

.policy-list {
  color: var(--color-muted);
  margin: 0 0 1rem 1.25rem;
}

.policy-list li {
  margin-bottom: 0.4rem;
}

.policy-content a {
  color: var(--color-accent);
  text-decoration: underline;
}

/* Sobre */
.sobre-section {
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.sobre-text {
  flex: 1 1 320px;
}

.sobre-img {
  flex: 1 1 320px;
  max-width: 100%;
  border-radius: 8px;
  border: 1px solid #262626;
}

/* Fundador */
.founder-section {
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.founder-section h2 {
  flex-basis: 100%;
}

.founder-photo {
  flex: 0 0 auto;
  width: 180px;
  height: 180px;
  object-fit: cover;
  object-position: 50% 5%;
  border-radius: 50%;
  border: 3px solid var(--color-accent);
}

.founder-text {
  flex: 1 1 320px;
}

.founder-text h3 {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.founder-text .faixa {
  color: var(--color-accent);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

/* Cards (Professores) */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 280px));
  justify-content: center;
  gap: 1.5rem;
}

.card {
  background: var(--color-bg);
  border: 1px solid #262626;
  border-radius: 8px;
  padding: 2rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card-photo {
  width: 120px;
  height: 120px;
  object-fit: cover;
  object-position: 50% 5%;
  border-radius: 50%;
  border: 2px solid var(--color-accent);
  margin-bottom: 1rem;
}

.card h3 {
  margin-bottom: 0.25rem;
}

.card .faixa {
  color: var(--color-accent);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.card p {
  color: var(--color-muted);
  font-size: 0.95rem;
}

/* Modalidades */
.modalidades-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.modalidades-list li {
  background: var(--color-bg);
  border: 1px solid var(--color-accent);
  color: var(--color-text);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  padding: 0.6rem 1.25rem;
  border-radius: 999px;
}

/* Schedule table */
.table-wrap {
  overflow-x: auto;
  margin-bottom: 1.5rem;
}

.schedule {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
}

.schedule th,
.schedule td {
  text-align: center;
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid #262626;
  font-size: 0.9rem;
  white-space: nowrap;
}

.schedule th {
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--color-accent);
}

.schedule td:first-child {
  color: var(--color-accent);
  font-weight: 600;
}

.saturday {
  color: var(--color-muted);
  margin-bottom: 1rem;
}

.address {
  color: var(--color-muted);
}

.map-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 0.5rem;
}

.map-links a {
  font-weight: 600;
  color: var(--color-accent);
  transition: color 0.2s;
}

.map-links a:hover {
  color: var(--color-accent-dark);
}

.map-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #262626;
  margin-top: 1.5rem;
}

.map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Contact */
.contact-list {
  list-style: none;
  margin-top: 1.5rem;
}

.contact-list li {
  margin-bottom: 0.75rem;
}

.contact-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  color: var(--color-accent);
  transition: color 0.2s;
}

.contact-list a:hover {
  color: var(--color-accent-dark);
}

.contact-list .icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  fill: currentColor;
}

/* Footer */
.site-footer {
  text-align: center;
  padding: 2rem 1.5rem;
  color: var(--color-muted);
  font-size: 0.85rem;
  border-top: 1px solid #262626;
}

.site-footer .tagline {
  color: var(--color-accent);
  font-weight: 600;
  font-size: 1.1rem;
  max-width: 900px;
  margin: 0 auto 1rem;
}

.site-footer .footer-link {
  text-decoration: underline;
}

.site-footer .footer-link:hover {
  color: var(--color-accent);
}

/* Schedule modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: var(--color-bg-alt);
  border: 1px solid #262626;
  border-radius: 8px;
  padding: 2rem;
}

.modal-close {
  position: absolute;
  top: 0.5rem;
  right: 0.75rem;
  background: none;
  border: none;
  color: var(--color-text);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}

.modal h3 {
  text-transform: uppercase;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  padding-right: 1.5rem;
}

.modal form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 0.35rem;
}

.field input {
  width: 100%;
  padding: 0.7rem 0.9rem;
  background: var(--color-bg);
  border: 1px solid #333;
  border-radius: 4px;
  color: var(--color-text);
  font-size: 1rem;
  font-family: inherit;
}

.field input:focus {
  outline: none;
  border-color: var(--color-accent);
}

.form-consent {
  color: var(--color-muted);
  font-size: 0.8rem;
  margin: 0.75rem 0;
}

.form-consent a {
  color: var(--color-accent);
}

.modal .btn {
  margin-top: 0.5rem;
  width: 100%;
  text-align: center;
}

/* Anti-bot verification modal */
.verify-text {
  color: var(--color-muted);
  margin-bottom: 1.25rem;
}

.verify-widget {
  display: flex;
  justify-content: center;
  min-height: 65px;
}

.verify-status {
  color: var(--color-accent);
  font-size: 0.9rem;
  text-align: center;
  margin-top: 0.75rem;
}

.verify-status:empty {
  display: none;
}

.modal .btn[hidden] {
  display: none;
}

/* Responsive nav */
@media (max-width: 1300px) {
  .nav-toggle {
    display: flex;
    order: 3;
  }

  .nav-actions {
    margin-left: auto;
    margin-right: 0.75rem;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-bg);
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border-bottom: 1px solid #262626;
  }

  .nav-links.open {
    max-height: 640px;
  }

  .nav-links li {
    border-top: 1px solid #262626;
  }

  .nav-links a {
    display: block;
    padding: 1rem 1.5rem;
  }

  .nav-cta-desktop {
    display: none;
  }

  .nav-cta-mobile {
    display: block;
  }

  .nav-cta-mobile .btn {
    display: block;
    width: 100%;
    background: none;
    border: none;
    border-radius: 0;
    color: var(--color-accent);
    text-align: left;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: normal;
    padding: 1rem 1.5rem;
    white-space: nowrap;
    transition: color 0.2s;
  }

  .nav-cta-mobile .btn:hover {
    background: none;
    border-color: transparent;
    color: var(--color-accent-dark);
    transform: none;
  }
}

@media (max-width: 720px) {
  .navbar {
    padding: 0.75rem 1rem;
  }

  .logo {
    flex-shrink: 1;
    font-size: 1.05rem;
    line-height: 1.2;
  }

  .logo-img {
    width: 56px;
    height: 56px;
  }

  .nav-actions {
    margin-right: 0.25rem;
  }

  .lang-switch img {
    height: 16px;
  }

  .hero-content h1 {
    font-size: clamp(1.4rem, 7vw, 2.2rem);
  }
}
