:root {
  --navy: #0b2a4a;
  --blue: #0f4c81;
  --blue-2: #1d6aa6;
  --gold: #f3b21a;
  --ink: #172033;
  --muted: #667085;
  --paper: #ffffff;
  --soft: #f5f8fb;
  --line: #dfe7ef;
  --shadow: 0 20px 45px rgba(11, 42, 74, .12);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }
[id] { scroll-margin-top: 96px; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }

.topbar {
  background: var(--navy);
  color: #e9f2fb;
  font-size: .9rem;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 9px 0;
  flex-wrap: wrap;
}
.topbar a { color: white; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(223,231,239,.85);
}
.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand { display: flex; align-items: center; gap: 13px; color: var(--navy); text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}
.brand-copy strong { display: block; font-size: 1.02rem; line-height: 1.05; }
.brand-copy span { display: block; font-size: .78rem; color: var(--muted); margin-top: 4px; }

.nav { display: flex; align-items: center; gap: 24px; }
.nav a { color: #344054; font-weight: 650; font-size: .95rem; }
.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; margin-left: auto; }
.header-actions .cta { color: white; white-space: nowrap; }
.menu-toggle { display: none; border: 1px solid var(--line); background: white; border-radius: 10px; padding: 8px 10px; font-size: 1.2rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 750;
  border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: white; box-shadow: 0 10px 22px rgba(15,76,129,.22); }
.btn-primary:hover { background: var(--navy); }
.btn-light { background: white; color: var(--navy); border-color: var(--line); }
.btn-gold { background: var(--gold); color: #1b2430; }

.hero {
  position: relative;
  overflow: hidden;
  min-height: 660px;
  display: grid;
  align-items: center;
  background: #0b2a4a;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6,25,45,.93) 0%, rgba(6,25,45,.84) 39%, rgba(6,25,45,.38) 72%, rgba(6,25,45,.18) 100%),
    url('../images/fachada-colegio-adventista-niteroi.png') center/cover no-repeat;
}
.hero .container { position: relative; z-index: 1; }
.hero-copy { max-width: 690px; color: white; padding: 88px 0 96px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: .78rem;
  font-weight: 800;
  color: var(--gold);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
h1, h2, h3 { line-height: 1.14; margin-top: 0; }
h1 { font-size: clamp(2.7rem, 6vw, 5.3rem); letter-spacing: -.045em; margin: 18px 0 22px; }
.hero p { font-size: clamp(1.08rem, 2vw, 1.28rem); color: #e7eef6; max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-proof {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  color: #dce8f4;
  font-size: .92rem;
}
.hero-proof span::before { content: "✓"; color: var(--gold); font-weight: 900; margin-right: 8px; }

.section { padding: 88px 0; }
.section-soft { background: var(--soft); }
.section-dark { background: var(--navy); color: white; }
.section-heading { max-width: 760px; margin-bottom: 40px; }
.section-heading h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.03em; margin: 10px 0 16px; }
.section-heading p { color: var(--muted); font-size: 1.05rem; }
.section-dark .section-heading p { color: #c8d7e6; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: 0 8px 26px rgba(11,42,74,.055);
}
.card h3 { font-size: 1.35rem; margin-bottom: 10px; }
.card p { color: var(--muted); margin-bottom: 0; }
.card-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: #eaf3fb;
  color: var(--blue);
  border-radius: 14px;
  font-weight: 900;
  margin-bottom: 18px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 54px;
  align-items: center;
}
.photo-panel img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 30px;
  box-shadow: var(--shadow);
}
.photo-caption { margin-top: 12px; color: var(--muted); font-size: .84rem; }
.kicker { color: var(--blue); font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; }
.split h2 { font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -.035em; margin: 10px 0 18px; }
.checks { display: grid; gap: 13px; margin: 26px 0; }
.check { display: flex; gap: 12px; align-items: flex-start; }
.check b { color: var(--blue); }

.legal-box {
  background: linear-gradient(135deg, #0d355d, #0a2542);
  color: white;
  border-radius: 28px;
  padding: 36px;
  box-shadow: var(--shadow);
}
.legal-box dl { display: grid; grid-template-columns: 170px 1fr; gap: 12px 20px; margin: 22px 0 0; }
.legal-box dt { color: #b9cee1; }
.legal-box dd { margin: 0; font-weight: 650; }
.legal-box a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,.35); }

.stat-band { background: #eef5fb; border-block: 1px solid var(--line); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 28px 24px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; color: var(--navy); font-size: 1.18rem; }
.stat span { color: var(--muted); font-size: .9rem; }

.info-list { display: grid; gap: 14px; }
.info-row { display: grid; grid-template-columns: 165px 1fr; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.info-row:last-child { border-bottom: 0; }
.info-row strong { color: var(--navy); }

.contact-panel {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  background: white;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.contact-side { background: var(--blue); color: white; padding: 42px; }
.contact-side a { color: white; }
.contact-main { padding: 42px; }
.contact-main iframe { width: 100%; height: 320px; border: 0; border-radius: 18px; }

.page-hero {
  padding: 78px 0 60px;
  background: linear-gradient(135deg, #092946, #114f83);
  color: white;
}
.page-hero h1 { font-size: clamp(2.5rem, 5vw, 4.4rem); margin-bottom: 16px; }
.page-hero p { max-width: 720px; color: #d7e6f3; font-size: 1.1rem; }

.notice {
  border-left: 4px solid var(--gold);
  background: #fff8e8;
  padding: 18px 20px;
  border-radius: 0 12px 12px 0;
  color: #5c4a17;
}

.footer {
  background: #071d32;
  color: #c7d4e1;
  padding: 52px 0 24px;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 36px; }
.footer h3 { color: white; font-size: 1rem; margin-bottom: 12px; }
.footer a { color: #dbe7f2; }
.footer small { display: block; margin-top: 34px; border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; }

@media (max-width: 900px) {
  .header-inner { position: relative; }
  .nav { display: none; position: absolute; top: 78px; left: 20px; right: 20px; padding: 20px; flex-direction: column; align-items: stretch; background: white; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); z-index: 60; }
  .nav.open { display: flex; }
  .menu-toggle { display: block; }
  .grid-3, .grid-2, .split, .contact-panel, .footer-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .legal-box dl, .info-row { grid-template-columns: 1fr; gap: 3px; }
  .hero { min-height: 590px; }
}

@media (max-width: 560px) {
  .container { width: min(100% - 28px, 1160px); }
  .topbar .container { justify-content: center; text-align: center; }
  .topbar span:last-child { display: none; }
  .brand-copy span { display: none; }
  .hero-copy { padding: 72px 0; }
  .hero::before { background: linear-gradient(90deg, rgba(6,25,45,.93), rgba(6,25,45,.72)), url('../images/fachada-colegio-adventista-niteroi.png') center/cover no-repeat; }
  .section { padding: 66px 0; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  .contact-side, .contact-main, .legal-box, .card { padding: 26px; }
}
