:root {
  --navy: #0B1D32;
  --navy-light: #16304f;
  --gold: #B07E4B;
  --gold-light: #cf9d6c;
  --bg-light: #F7F5F2;
  --white: #FFFFFF;
  --text: #1c2530;
  --radius: 10px;
  --max-width: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; }

a { color: var(--navy); }

img { max-width: 100%; display: block; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: var(--white);
  border-bottom: 1px solid #eee;
  z-index: 100;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 38px;
  width: auto;
  display: block;
}

@media (max-width: 480px) {
  .logo-img { height: 30px; }
}

nav.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}

nav.main-nav a {
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.95rem;
}

nav.main-nav a:hover { color: var(--gold); }

.nav-cta {
  background: var(--gold);
  color: var(--white) !important;
  padding: 10px 18px;
  border-radius: 30px;
  font-weight: 700 !important;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--navy);
  cursor: pointer;
}

@media (max-width: 780px) {
  nav.main-nav {
    position: fixed;
    top: 62px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    gap: 16px;
    border-bottom: 1px solid #eee;
    display: none;
  }
  nav.main-nav.open { display: flex; }
  .menu-toggle { display: block; }
}

/* Hero */
.hero {
  background-color: var(--navy);
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 90px 0 70px;
  text-align: center;
}

.hero .eyebrow {
  color: var(--gold-light);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.hero h1 { color: var(--white); }

.hero p.lead {
  font-size: 1.15rem;
  max-width: 620px;
  margin: 0 auto 1.4em;
  color: #dbe2ea;
}

.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  padding: 14px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  transition: background 0.2s ease;
}

.btn:hover { background: var(--gold-light); }

.btn-outline {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}

.btn-outline:hover { background: var(--white); color: var(--navy); }

/* Sections */
section { padding: 60px 0; }

.section-light { background: var(--bg-light); }

.section-title { text-align: center; margin-bottom: 40px; }

.section-title p { max-width: 640px; margin: 0 auto; color: #4a5568; }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

@media (max-width: 860px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid #ececec;
  border-radius: var(--radius);
  padding: 28px;
  overflow: hidden;
}

.card.has-media { padding: 0; }

.card-media {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}

.card-body { padding: 24px 28px 28px; }

.card h3 { margin-bottom: 0.5em; }

.card a.card-link {
  display: inline-block;
  margin-top: 10px;
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
}

.pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin: 24px 0;
}

.pillar {
  background: var(--navy);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.95rem;
}

.pillar span { color: var(--gold-light); }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  counter-reset: step;
}

@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

.step {
  text-align: center;
  padding: 20px;
}

.step .num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.2rem;
}

table.schedule {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: 0.95rem;
}

table.schedule th, table.schedule td {
  border: 1px solid #e2e2e2;
  padding: 10px 12px;
  text-align: center;
}

table.schedule th {
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
}

table.schedule tr:nth-child(even) td { background: #faf9f7; }

.table-scroll { overflow-x: auto; }

.turmas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 30px 0;
}

@media (max-width: 860px) { .turmas-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .turmas-grid { grid-template-columns: 1fr; } }

.turma-card {
  background: var(--white);
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  overflow: hidden;
}

.turma-card.has-media { padding: 0 0 20px; }

.turma-media {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
  margin-bottom: 16px;
}

.turma-card h3 { color: var(--navy); margin-bottom: 4px; }
.turma-card .age { color: var(--gold); font-weight: 700; }

/* Programa blocks */
.quick-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 30px 0 0;
}

.quick-nav a {
  background: var(--white);
  border: 2px solid var(--navy);
  color: var(--navy);
  text-decoration: none;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 0.9rem;
}

.quick-nav a:hover { background: var(--navy); color: var(--white); }

.programa-block {
  padding: 56px 0;
  border-top: 1px solid #ececec;
  scroll-margin-top: 80px;
}

.programa-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}

.programa-grid.reverse .programa-img { order: 2; }

@media (max-width: 860px) {
  .programa-grid { grid-template-columns: 1fr; }
  .programa-grid.reverse .programa-img { order: 0; }
}

.programa-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius);
}

.turma-tag {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  padding: 6px 16px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 14px;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 800;
}

.schedule-pill {
  display: inline-block;
  background: var(--bg-light);
  border: 1px solid var(--gold);
  color: var(--navy);
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 700;
  margin: 6px 0 20px;
}

.note-box {
  background: var(--bg-light);
  border-left: 4px solid var(--gold);
  padding: 14px 18px;
  border-radius: 6px;
  margin: 18px 0;
  font-size: 0.95rem;
}

/* Location / footer */
.location {
  background: var(--navy);
  color: var(--white);
}

.location h2 { color: var(--white); }

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 860px) { .location-grid { grid-template-columns: 1fr; } }

.location-grid iframe {
  width: 100%;
  height: 320px;
  border: 0;
  border-radius: var(--radius);
}

.social-links {
  display: flex;
  gap: 14px;
  margin-top: 20px;
}

.social-links a {
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,0.3);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.9rem;
}

.social-links a:hover { border-color: var(--gold); color: var(--gold-light); }

.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 20px; }

footer.site-footer {
  background: #081222;
  color: #9aa7b5;
  padding: 24px 0;
  text-align: center;
  font-size: 0.85rem;
}

footer.site-footer a { color: #9aa7b5; }

.tagline-banner {
  background: var(--gold);
  color: var(--white);
  text-align: center;
  padding: 40px 0;
}

.tagline-banner h2 { color: var(--white); margin-bottom: 0.3em; }

.breadcrumb {
  font-size: 0.85rem;
  padding: 16px 0 0;
  color: #667;
}

.breadcrumb a { color: #667; text-decoration: none; }
