/* STEB-DF — Seminário Teológico Batista do Distrito Federal */

@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap");
@import url("https://fonts.cdnfonts.com/css/rawline");

:root {
  --navy: #7a1218;
  --navy-deep: #3d070a;
  --navy-mid: #9b1c24;
  --navy-soft: #c23038;
  --gold: #e85a5a;
  --gold-light: #ff8a8a;
  --gold-dark: #b91c1c;
  --paper: #faf5f5;
  --paper-warm: #fff8f8;
  --white: #ffffff;
  --ink: #2a1012;
  --muted: #6e4a4d;
  --line: rgba(122, 18, 24, 0.12);
  --shadow: 0 18px 50px rgba(61, 7, 10, 0.16);
  --radius: 4px;
  --max: 1120px;
  --header-h: 78px;
  --font-display: "Montserrat", "Poppins", sans-serif;
  --font-body: "Poppins", "Rawline", sans-serif;
  --font-nav: "Rawline", "Montserrat", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  padding: 0.45rem 0;
}

.topbar .container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
}

.topbar a {
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s;
}

.topbar a:hover {
  color: var(--gold-light);
}

.topbar-left,
.topbar-right {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
}

.topbar svg {
  width: 14px;
  height: 14px;
  vertical-align: -2px;
  margin-right: 0.35rem;
  opacity: 0.85;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(61, 7, 10, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(232, 90, 90, 0.22);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  height: 52px;
  width: auto;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--white);
  transition: 0.25s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem;
  align-items: center;
}

.site-nav ul a {
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--font-nav);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.45rem 0.7rem;
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.site-nav ul a:hover,
.site-nav ul a.active {
  color: var(--gold-light);
  background: rgba(255, 255, 255, 0.06);
}

.btn-aluno {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1rem;
  background: var(--gold);
  color: var(--white) !important;
  font-family: var(--font-nav);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius);
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s;
}

.btn-aluno:hover {
  background: var(--gold-light);
  color: var(--navy-deep) !important;
  transform: translateY(-1px);
}

.btn-aluno svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(88vh, 720px);
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(155, 28, 36, 0.55), transparent 55%),
    radial-gradient(ellipse 50% 40% at 15% 80%, rgba(232, 90, 90, 0.14), transparent 50%),
    linear-gradient(165deg, var(--navy-deep) 0%, var(--navy) 45%, #5c0d12 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black 40%, transparent 95%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  right: -8%;
  top: 10%;
  width: min(52vw, 520px);
  height: min(52vw, 520px);
  border-radius: 50%;
  border: 1px solid rgba(232, 90, 90, 0.22);
  box-shadow: inset 0 0 0 40px rgba(232, 90, 90, 0.05);
  pointer-events: none;
  animation: float-ring 12s ease-in-out infinite;
}

@keyframes float-ring {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 4.5rem 0 5rem;
  max-width: 640px;
}

.hero-logo {
  height: 72px;
  width: auto;
  margin-bottom: 1.75rem;
  opacity: 0;
  animation: fade-up 0.9s ease forwards 0.15s;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 3.75rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
  opacity: 0;
  animation: fade-up 0.9s ease forwards 0.35s;
}

.hero p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 34rem;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fade-up 0.9s ease forwards 0.55s;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  opacity: 0;
  animation: fade-up 0.9s ease forwards 0.75s;
}

.hero-meta {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  opacity: 0;
  animation: fade-up 0.9s ease forwards 0.9s;
}

.hero-meta a {
  color: var(--gold-light);
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.45rem;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
}

.btn-gold:hover {
  background: var(--gold-light);
  color: var(--navy-deep);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}

.btn-navy:hover {
  background: var(--navy-mid);
}

.btn-outline-dark {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn-outline-dark:hover {
  border-color: var(--navy);
  color: var(--navy);
}

/* ---------- Sections ---------- */
.section {
  padding: 4.5rem 0;
}

.section-tight {
  padding: 3rem 0;
}

.section-dark {
  background: var(--navy);
  color: var(--white);
}

.section-paper {
  background: var(--paper-warm);
}

.section-head {
  margin-bottom: 2.5rem;
  max-width: 560px;
}

.section-head.centered {
  text-align: center;
  margin-inline: auto;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.65rem;
}

.section-dark .eyebrow {
  color: var(--gold);
}

.section-head h2,
.page-title h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.section-dark .section-head h2 {
  color: var(--white);
}

.section-head p {
  color: var(--muted);
  font-size: 1.05rem;
}

.section-dark .section-head p {
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- Page banner ---------- */
.page-banner {
  background:
    radial-gradient(ellipse 70% 80% at 90% 10%, rgba(155, 28, 36, 0.55), transparent 50%),
    linear-gradient(135deg, var(--navy-deep), var(--navy-mid));
  color: var(--white);
  padding: 3.5rem 0 3rem;
  position: relative;
  overflow: hidden;
}

.page-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.page-title {
  position: relative;
  z-index: 1;
}

.page-title h1 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.page-title p {
  color: rgba(255, 255, 255, 0.72);
  max-width: 36rem;
  font-size: 1.05rem;
}

.breadcrumb {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.85rem;
}

.breadcrumb a:hover {
  color: var(--gold-light);
}

/* ---------- Course cards ---------- */
.course-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.course-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.75rem 1.65rem 1.5rem;
  display: flex;
  flex-direction: column;
  min-height: 260px;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
  overflow: hidden;
}

.course-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--navy-soft));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.course-card:hover {
  border-color: rgba(232, 90, 90, 0.45);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.course-card:hover::before {
  transform: scaleX(1);
}

.course-card .tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.75rem;
}

.course-card h3 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 1rem;
  flex: 1;
}

.course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.course-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.course-meta span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.course-card .link-more {
  font-weight: 500;
  color: var(--navy);
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.course-card .link-more::after {
  content: "→";
  transition: transform 0.2s;
}

.course-card:hover .link-more::after {
  transform: translateX(4px);
}

.course-card-dark {
  background: linear-gradient(145deg, var(--navy), var(--navy-mid));
  border-color: transparent;
  color: var(--white);
}

.course-card-dark h3 {
  color: var(--white);
}

.course-card-dark .tag {
  color: var(--gold);
}

.course-card-dark .course-meta {
  color: rgba(255, 255, 255, 0.65);
}

.course-card-dark .link-more {
  color: var(--gold-light);
}

/* ---------- Values / features ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.value-item {
  padding: 0.5rem 0;
}

.value-item h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.value-item p {
  color: var(--muted);
  font-size: 0.98rem;
}

.value-num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}

/* ---------- Faculty ---------- */
.faculty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.faculty-card {
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s, transform 0.25s;
}

.faculty-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.faculty-photo {
  aspect-ratio: 1;
  background: var(--navy-mid);
  overflow: hidden;
}

.faculty-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
}

.faculty-card:hover .faculty-photo img {
  transform: scale(1.04);
}

.faculty-body {
  padding: 1.15rem 1.2rem 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.faculty-body h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.45rem;
  line-height: 1.25;
}

.faculty-body .degree {
  font-size: 0.9rem;
  color: var(--muted);
  flex: 1;
  margin-bottom: 0.85rem;
}

.faculty-body button,
.faculty-body .btn-text {
  background: none;
  border: none;
  color: var(--navy);
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  text-align: left;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.faculty-body button:hover,
.faculty-body .btn-text:hover {
  color: var(--gold-dark);
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 21, 37, 0.72);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--white);
  width: min(100%, 780px);
  max-height: min(90vh, 640px);
  overflow: hidden;
  border-radius: var(--radius);
  position: relative;
  transform: translateY(16px);
  transition: transform 0.25s;
  display: flex;
  flex-direction: column;
}

.modal-overlay.open .modal {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 36px;
  height: 36px;
  border: none;
  background: var(--paper);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--ink);
  z-index: 2;
}

.modal-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 1.25rem;
  padding: 1.25rem;
  min-height: 320px;
  max-height: min(90vh, 640px);
  overflow: hidden;
}

.modal-photo {
  background: var(--paper);
  overflow: hidden;
  min-height: 280px;
  border-radius: var(--radius);
}

.modal-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius);
}

.modal-content {
  padding: 0.5rem 1.25rem 0.5rem 0;
  overflow-y: auto;
  max-height: min(90vh, 640px);
}

.modal-content h2 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 1rem;
  padding-right: 1.5rem;
  line-height: 1.3;
}

.modal-content p {
  color: var(--muted);
  margin-bottom: 0.85rem;
  font-size: 0.95rem;
}

/* ---------- Content prose ---------- */
.prose {
  max-width: 720px;
}

.prose h2,
.prose h3 {
  font-family: var(--font-display);
  color: var(--navy);
  margin: 2rem 0 0.75rem;
  line-height: 1.25;
}

.prose h2 {
  font-size: 1.75rem;
}

.prose h3 {
  font-size: 1.35rem;
}

.prose p,
.prose li {
  color: var(--muted);
  margin-bottom: 0.85rem;
}

.prose ul,
.prose ol {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.prose ul {
  list-style: disc;
}

.prose ol {
  list-style: decimal;
}

.prose strong {
  color: var(--ink);
  font-weight: 600;
}

.prose a {
  color: var(--navy-mid);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Tables ---------- */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0 2rem;
  font-size: 0.95rem;
  background: var(--white);
  border: 1px solid var(--line);
}

.data-table th,
.data-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.data-table th {
  background: var(--navy);
  color: var(--white);
  font-weight: 500;
  font-size: 0.88rem;
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table td:last-child {
  white-space: nowrap;
  font-weight: 500;
  color: var(--navy);
}

/* ---------- Course detail layout ---------- */
.course-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  border: 1px solid rgba(255, 138, 138, 0.45);
  color: var(--gold-light);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
}

.course-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2.5rem;
  align-items: start;
}

.sidebar-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.5rem;
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
}

.sidebar-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--navy);
  margin-bottom: 1rem;
}

.sidebar-card .price {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.sidebar-card .price-note {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.sidebar-list {
  margin-bottom: 1.35rem;
}

.sidebar-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--muted);
}

.sidebar-list li strong {
  color: var(--ink);
  font-weight: 500;
}

.sidebar-card .btn {
  width: 100%;
}

/* ---------- Contact / forms ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.contact-block h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.contact-block p,
.contact-block a {
  color: var(--muted);
  margin-bottom: 0.5rem;
  display: block;
}

.contact-block a:hover {
  color: var(--navy);
}

.form-group {
  margin-bottom: 1.1rem;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: var(--ink);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--navy-soft);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.75rem;
}

.form-status {
  margin-top: 1rem;
  font-size: 0.92rem;
  line-height: 1.45;
}

.form-status-ok {
  color: #1a7a3c;
}

.form-status-err {
  color: var(--navy);
  font-weight: 500;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.alert {
  padding: 1rem 1.15rem;
  background: rgba(232, 90, 90, 0.1);
  border-left: 3px solid var(--gold);
  color: var(--ink);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

/* ---------- Institutional blocks ---------- */
.council-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.council-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.5rem;
}

.council-card .role {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.council-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--navy);
}

.split-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1.5rem;
}

.split-list h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 0.85rem;
}

.split-list ul {
  list-style: disc;
  padding-left: 1.15rem;
}

.split-list li {
  color: var(--muted);
  margin-bottom: 0.55rem;
}

/* ---------- CTA band ---------- */
.cta-band {
  background:
    linear-gradient(120deg, var(--navy-deep), var(--navy-mid));
  color: var(--white);
  padding: 3.5rem 0;
  text-align: center;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  margin-bottom: 0.65rem;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
  max-width: 420px;
  margin-inline: auto;
}

.cta-band .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* ---------- Info boxes ---------- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.info-box {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.75rem 1.5rem;
}

.info-box h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--navy);
  margin-bottom: 0.55rem;
}

.info-box p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- Login / portal ---------- */
.portal-box {
  max-width: 420px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 2rem 1.75rem;
}

.portal-box h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
  text-align: center;
}

.portal-box > p {
  text-align: center;
  color: var(--muted);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.72);
  padding: 3.5rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand img {
  height: 44px;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.92rem;
  max-width: 260px;
  line-height: 1.6;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  padding: 0.28rem 0;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--gold-light);
}

.footer-col .contact-line {
  font-size: 0.9rem;
  margin-bottom: 0.55rem;
  line-height: 1.5;
}

.footer-bottom {
  padding: 1.25rem 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer-bottom a {
  color: var(--gold);
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .course-grid,
  .values-grid,
  .council-grid,
  .info-grid,
  .footer-grid,
  .split-list,
  .contact-grid,
  .course-layout {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .course-layout {
    grid-template-columns: 1fr;
  }

  .sidebar-card {
    position: static;
  }

  .modal-layout {
    grid-template-columns: 200px 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy-deep);
    border-bottom: 1px solid rgba(232, 90, 90, 0.25);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav.open {
    max-height: 520px;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1.25rem 0.5rem;
    gap: 0;
  }

  .site-nav ul a {
    display: block;
    padding: 0.7rem 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .btn-aluno {
    margin: 0.5rem 1.25rem 1.15rem;
    justify-content: center;
  }

  .modal-layout {
    grid-template-columns: 1fr;
    max-height: min(90vh, 720px);
    overflow-y: auto;
  }

  .modal-photo {
    height: 220px;
    min-height: 220px;
  }

  .modal-content {
    max-height: none;
    overflow: visible;
    padding: 0 0.25rem 0.5rem;
  }

  .modal {
    max-height: min(90vh, 720px);
    overflow-y: auto;
  }

  .course-grid,
  .values-grid,
  .council-grid,
  .info-grid,
  .footer-grid,
  .split-list,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 3.5rem 0 3.5rem;
  }

  .topbar-right {
    display: none;
  }
}
