/* ============================================
   DOJO ARTES MARCIAIS — Global Stylesheet
   Palette: #123158 (navy) · #b07e4b (gold) · #fff
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700&family=Inter:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&display=swap');
/* ---------- custom properties ---------- */
:root {
  --navy: #123158;
  --navy-dark: #0c2240;
  --gold: #b07e4b;
  --gold-light: #c99a6a;
  --gold-glow: rgba(176, 126, 75, .18);
  --white: #ffffff;
  --off-white: #f7f5f2;
  --text: #2c2c2c;
  --text-light: #5a5a5a;

  --ff-display: 'Orbitron', Georgia, serif;
  --ff-body: 'Inter', 'Segoe UI', sans-serif;

  --nav-h: 72px;
  --section-px: clamp(1.25rem, 5vw, 6rem);
  --section-py: clamp(3.5rem, 8vw, 7rem);
  --max-w: 1200px;
  --radius: 10px;
  --radius-lg: 18px;

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: var(--nav-h); }
body {
  font-family: var(--ff-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* ---------- utility ---------- */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 var(--section-px); }
.section-pad { padding: var(--section-py) 0; }
.text-center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ---------- typography ---------- */
.heading-display {
  font-family: var(--ff-display);
  font-weight: 700;
  font-style: normal;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.heading-gold {
  color: var(--gold);
  font-family: var(--ff-display);
  font-style: normal;
  font-weight: 700;
  line-height: 1.25;
  text-wrap: balance;
}
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  margin-bottom: 1rem;
  text-wrap: balance;
}
.section-subtitle {
  color: var(--text-light);
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 auto 2.5rem;
  text-wrap: balance;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 1rem;
  padding: .9rem 2.2rem;
  border-radius: 50px;
  transition: all .35s var(--ease-out);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity .35s;
}
.btn:hover::after { opacity: 1; }

.btn-outline {
  background: var(--white);
  color: var(--gold);
  border: 2px solid var(--gold);
}
.btn-outline::after { background: var(--gold-glow); }
.btn-outline:hover { color: var(--navy); border-color: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 30px var(--gold-glow); }

.btn-filled {
  background: var(--gold);
  color: var(--white);
  border: 2px solid var(--gold);
}
.btn-filled::after { background: rgba(255,255,255,.12); }
.btn-filled:hover { transform: translateY(-2px); box-shadow: 0 8px 30px var(--gold-glow); background: var(--gold-light); border-color: var(--gold-light); }

.btn-wide { width: 100%; max-width: 480px; }
.btn-white {
  background: var(--white);
  color: var(--gold);
  border: 2px solid var(--white);
}
.btn-white:hover { background: var(--off-white); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,.15); }

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-h);
  z-index: 1000;
  transition: background .4s var(--ease-out), box-shadow .4s var(--ease-out);
  background: transparent;
}
.navbar.scrolled {
  background: var(--navy);
  box-shadow: 0 2px 24px rgba(0,0,0,.25);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: var(--white);
  font-family: var(--ff-display);
  font-weight: 700;
  font-style: normal;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
}
.nav-brand img {
  height: 44px;
  width: 44px;
  border-radius: 50%;
  object-fit: cover;
  opacity: 0;
  transform: scale(.8);
  transition: all .4s var(--ease-spring);
}
.navbar.scrolled .nav-brand img {
  opacity: 1;
  transform: scale(1);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  color: var(--white);
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .02em;
  position: relative;
  padding: .25rem 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width .3s var(--ease-out);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

/* hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
  z-index: 1001;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all .3s var(--ease-out);
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12,34,64,.72) 0%, rgba(18,49,88,.85) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: calc(var(--nav-h) + 2rem) var(--section-px) 4rem;
}
.hero-eyebrow {
  font-family: var(--ff-body);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeUp .8s var(--ease-out) .2s forwards;
}
.hero h1 {
  font-family: var(--ff-display);
  font-weight: 700;
  font-style: normal;
  font-size: clamp(2.8rem, 7vw, 5rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: .5rem;
  opacity: 0;
  animation: fadeUp .8s var(--ease-out) .35s forwards;
}
.hero h1 span {
  display: block;
  color: var(--gold);
}
.hero-tagline {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 400;
  margin: 1.25rem 0 2rem;
  opacity: .9;
  opacity: 0;
  animation: fadeUp .8s var(--ease-out) .5s forwards;
}
.hero .btn {
  opacity: 0;
  animation: fadeUp .8s var(--ease-out) .65s forwards;
}
.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: rgba(255,255,255,.5);
  font-size: .75rem;
  letter-spacing: .1em;
  animation: float 2.5s ease-in-out infinite;
}
.hero-scroll-hint svg { width: 20px; height: 20px; stroke: currentColor; }

/* subpage hero (shorter) */
.hero-sub {
  min-height: 55vh;
}
.hero-sub .hero-content {
  padding-top: calc(var(--nav-h) + 4rem);
}

/* ============================================
   ABOUT / TWO-COL
   ============================================ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.two-col-reverse { direction: rtl; }
.two-col-reverse > * { direction: ltr; }

/* image carousel */
.carousel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 20px 60px rgba(18,49,88,.15);
}
.carousel-track {
  display: flex;
  height: 100%;
  transition: transform .6s var(--ease-out);
}
.carousel-slide {
  min-width: 100%;
  height: 100%;
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}
.carousel-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: .5rem;
  z-index: 3;
}
.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  border: 2px solid var(--white);
  cursor: pointer;
  transition: all .3s;
}
.carousel-dot.active {
  background: var(--gold);
  border-color: var(--gold);
  transform: scale(1.2);
}

.about-text .heading-gold { font-size: clamp(1.5rem, 3.5vw, 2.2rem); margin-bottom: 1.25rem; }
.checklist { margin: 1.25rem 0; }
.checklist li {
  padding: .4rem 0;
  padding-left: 1.75rem;
  position: relative;
  font-size: 1.02rem;
}
.checklist li::before {
  content: '\2714';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

/* ============================================
   QUOTE / MOTIVATIONAL
   ============================================ */
.quote-section {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.quote-section::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
  pointer-events: none;
}
.quote-text {
  font-family: var(--ff-display);
  font-style: normal;
  font-weight: 700;
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  line-height: 1.3;
  max-width: 700px;
  margin: 0 auto 2rem;
}

/* ============================================
   CARDS (Differentials + Audience)
   ============================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(18,49,88,.07);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(18,49,88,.12);
}
.card-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center 20%;
}
.card-body {
  padding: 1.5rem;
}
.card-body h3 {
  font-family: var(--ff-display);
  font-weight: 700;
  font-style: normal;
  font-size: 1.35rem;
  color: var(--navy);
  margin-bottom: .5rem;
}
.card-body p {
  color: var(--text-light);
  font-size: .95rem;
  line-height: 1.65;
}

/* audience cards with link */
.card-link { display: block; color: inherit; }
.card-link .card-body::after {
  content: 'Saiba mais \2192';
  display: block;
  margin-top: .75rem;
  color: var(--gold);
  font-weight: 600;
  font-size: .9rem;
  transition: transform .3s var(--ease-out);
}
.card-link:hover .card-body::after { transform: translateX(4px); }

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  text-align: center;
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 40px,
    rgba(176,126,75,.04) 40px,
    rgba(176,126,75,.04) 80px
  );
}
.cta-banner h2 {
  font-family: var(--ff-display);
  font-style: normal;
  font-weight: 700;
  font-size: clamp(1.4rem, 3.5vw, 2.2rem);
  margin-bottom: 1.5rem;
  position: relative;
}
.cta-banner .btn { position: relative; }

/* ============================================
   STEPS
   ============================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  counter-reset: step;
}
.step {
  text-align: center;
  padding: 2rem 1.5rem;
  position: relative;
}
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 8px 24px var(--gold-glow);
}
.step h3 {
  font-family: var(--ff-display);
  font-weight: 700;
  font-style: normal;
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: .5rem;
}
.step p {
  color: var(--text-light);
  font-size: .95rem;
}

/* connectors between steps */
.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 2rem + 32px;
  right: -1rem;
  width: calc(2rem);
  height: 2px;
  background: var(--gold);
  opacity: .3;
}

/* ============================================
   LOCATION / FOOTER
   ============================================ */
.location-section {
  background: var(--navy);
  color: var(--white);
}
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.location-info h2 {
  font-family: var(--ff-display);
  font-style: normal;
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 1.5rem;
}
.location-info p {
  margin-bottom: .75rem;
  font-size: .95rem;
  opacity: .85;
  line-height: 1.7;
}
.location-info strong { color: var(--gold); font-weight: 600; }
.location-buttons {
  display: flex;
  gap: 1rem;
  margin: 1.5rem 0;
  flex-wrap: wrap;
}
.location-buttons .btn { font-size: .9rem; padding: .75rem 1.5rem; }
.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: var(--white);
  transition: all .3s var(--ease-out);
}
.social-links a:hover {
  background: var(--gold);
  transform: translateY(-2px);
}
.social-links svg { width: 20px; height: 20px; }
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,.3);
}
.map-container iframe {
  width: 100%;
  height: 360px;
  border: none;
}

/* site footer */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.5);
  text-align: center;
  padding: 1.5rem 0;
  font-size: .85rem;
}

/* ============================================
   SUBPAGE CONTENT SECTIONS
   ============================================ */
.content-section { background: var(--white); }
.content-section.alt-bg { background: var(--off-white); }

.benefits-list {
  max-width: 700px;
  margin: 0 auto;
}
.benefits-list li {
  padding: .65rem 0;
  padding-left: 2rem;
  position: relative;
  font-size: 1.02rem;
  border-bottom: 1px solid rgba(18,49,88,.06);
}
.benefits-list li::before {
  content: attr(data-icon);
  position: absolute;
  left: 0;
  font-size: 1.1rem;
}
.benefits-list li:last-child { border-bottom: none; }

.format-list li {
  padding: .5rem 0;
  padding-left: 1.5rem;
  position: relative;
}
.format-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .85rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

/* subsection cards for adultos */
.subsection-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.subsection-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 4px 24px rgba(18,49,88,.07);
  border-top: 4px solid var(--gold);
}
.subsection-card h3 {
  font-family: var(--ff-display);
  font-weight: 700;
  font-style: normal;
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: .75rem;
}

/* privacy page */
.privacy-content {
  max-width: 780px;
  margin: 0 auto;
}
.privacy-content h2 {
  font-family: var(--ff-display);
  font-weight: 700;
  font-style: normal;
  font-size: 1.5rem;
  color: var(--navy);
  margin: 2.5rem 0 1rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--gold-glow);
}
.privacy-content h2:first-child { margin-top: 0; }
.privacy-content p {
  margin-bottom: 1rem;
  font-size: .98rem;
  line-height: 1.75;
  color: var(--text-light);
}
.privacy-content ul {
  margin: .75rem 0 1.25rem 1.5rem;
  list-style: disc;
}
.privacy-content ul li {
  padding: .25rem 0;
  font-size: .95rem;
  color: var(--text-light);
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(-8px); }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .cards-grid, .steps-grid, .subsection-cards { grid-template-columns: repeat(2, 1fr); }
  .step:not(:last-child)::after { display: none; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 85vw);
    height: 100vh;
    background: var(--navy-dark);
    flex-direction: column;
    justify-content: center;
    gap: 1.75rem;
    padding: 2rem;
    transform: translateX(100%);
    transition: transform .4s var(--ease-out);
    box-shadow: -8px 0 40px rgba(0,0,0,.3);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1.1rem; }
  .nav-toggle { display: flex; }

  .two-col { grid-template-columns: 1fr; gap: 2rem; }
  .two-col-reverse { direction: ltr; }
  .cards-grid, .steps-grid, .subsection-cards { grid-template-columns: 1fr; }
  .location-grid { grid-template-columns: 1fr; }

  .hero h1 { font-size: clamp(2.2rem, 9vw, 3.5rem); }
  .hero-sub { min-height: 45vh; }
}

@media (max-width: 480px) {
  .location-buttons { flex-direction: column; }
  .location-buttons .btn { width: 100%; }
}
