body {
  font-family: "Manrope", sans-serif;
}

html {
  scroll-behavior: smooth;
}

details summary::-webkit-details-marker {
  display: none;
}

details summary {
  list-style: none;
}

#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f6f4ec;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.dark #preloader {
  background: #101b34;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

#preloader-inner {
  position: relative;
  width: 5.5rem;
  height: 5.5rem;
}

#preloader-inner img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 1.4rem;
}

#preloader-inner::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 1.8rem;
  border: 2px solid rgba(196, 161, 31, 0.18);
  border-top-color: #c4a11f;
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.header-link {
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.2s ease;
}

.header-link:hover {
  color: #c4a11f;
}

.linktree-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  min-height: 3.5rem;
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  font-size: 0.92rem;
  font-weight: 700;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.linktree-btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: #c4a11f;
  color: #0a1a3d;
  box-shadow: 0 10px 28px rgba(196, 161, 31, 0.18);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.9);
  color: #0a1a3d;
  border: 1px solid rgba(10, 26, 61, 0.12);
}

.dark .btn-secondary {
  background: rgba(10, 26, 61, 0.72);
  color: #eef2fa;
  border-color: rgba(255, 255, 255, 0.1);
}

.video-shell {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 1.75rem;
  background: #0a1a3d;
  border: 1px solid rgba(10, 26, 61, 0.08);
}

.video-audio-toggle {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
  width: 2.6rem;
  height: 2.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: rgba(10, 26, 61, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
}

.hero-desktop {
  display: block;
}

.hero-desktop-main {
  position: relative;
  min-height: 18.7rem;
  overflow: hidden;
  border-radius: 2rem;
  border: 1px solid rgba(10, 26, 61, 0.12);
  background: #0a1a3d;
}

.hero-wide-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 26, 61, 0.28);
}

.hero-wide-copy {
  position: absolute;
  left: 1.6rem;
  right: 1.6rem;
  bottom: 1.5rem;
  z-index: 1;
}

.hero-desktop-side {
  display: flex;
}

.hero-side-video {
  position: relative;
  width: 100%;
  min-height: 19rem;
  overflow: hidden;
  border-radius: 2rem;
  border: 1px solid rgba(10, 26, 61, 0.12);
  background: #0a1a3d;
}

.hero-side-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 26, 61, 0.14);
}

.sobre-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 2rem;
  align-items: start;
  min-height: 40vw;
}

.sobre-copy {
  padding: 0.4rem 0;
}

.sobre-text {
  margin-top: 1rem;
  font-size: 1.02rem;
  line-height: 1.8;
  color: rgba(29, 39, 67, 0.82);
}

.dark .sobre-text {
  color: rgba(238, 242, 250, 0.84);
}

.sobre-media {
  display: flex;
  height: 100%;
}

.sobre-video {
  width: 100%;
  min-height: 32rem;
  height: 100%;
}

.accordion-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(10, 26, 61, 0.08);
  border-radius: 1.2rem;
  overflow: hidden;
}

.dark .accordion-card {
  background: rgba(10, 26, 61, 0.7);
  border-color: rgba(255, 255, 255, 0.08);
}

.accordion-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  cursor: pointer;
}

.accordion-content {
  padding: 0 1.1rem 1.1rem;
}

.accordion-icon {
  transition: transform 0.2s ease;
}

.accordion-card[open] .accordion-icon {
  transform: rotate(180deg);
}

.info-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  padding: 0.7rem 1rem;
  background: rgba(196, 161, 31, 0.12);
  color: #0a1a3d;
  font-size: 0.88rem;
  font-weight: 700;
}

.dark .info-chip {
  background: rgba(196, 161, 31, 0.16);
  color: #eef2fa;
}

.desktop-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.85rem 1.4rem;
  border-radius: 9999px;
  font-weight: 700;
  transition: filter 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.desktop-cta.primary {
  background: #c4a11f;
  color: #0a1a3d;
}

.desktop-cta.secondary {
  background: transparent;
  color: #0a1a3d;
  border: 1px solid rgba(10, 26, 61, 0.14);
}

.dark .desktop-cta.secondary {
  color: #eef2fa;
  border-color: rgba(255, 255, 255, 0.14);
}

.quick-card {
  min-height: 4rem;
  padding: 1rem 1.1rem;
  border-radius: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  text-align: center;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(10, 26, 61, 0.08);
}

.dark .quick-card {
  background: rgba(10, 26, 61, 0.62);
  border-color: rgba(255, 255, 255, 0.08);
}

.desktop-panel {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(10, 26, 61, 0.08);
  border-radius: 2rem;
  padding: 2rem;
}

.dark .desktop-panel {
  background: rgba(10, 26, 61, 0.6);
  border-color: rgba(255, 255, 255, 0.08);
}

.section-kicker {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #c4a11f;
}

.section-title {
  margin-top: 0.85rem;
  font-family: "Merriweather", serif;
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.2;
}

.section-title.centered {
  text-align: center;
}

.service-card {
  padding: 1.45rem;
  border-radius: 1.4rem;
  background: rgba(196, 161, 31, 0.08);
  border: 1px solid rgba(196, 161, 31, 0.18);
}

.dark .service-card {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(196, 161, 31, 0.18);
}

.service-card h3,
.program-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0a1a3d;
}

.dark .service-card h3,
.dark .program-card h3 {
  color: #eef2fa;
}

.service-card p,
.program-card p,
.stat-card span {
  margin-top: 0.7rem;
  line-height: 1.85;
  color: rgba(29, 39, 67, 0.78);
}

.dark .service-card p,
.dark .program-card p,
.dark .stat-card span {
  color: rgba(238, 242, 250, 0.78);
}

.program-card {
  padding: 1.45rem;
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(10, 26, 61, 0.08);
}

.dark .program-card {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.stat-card {
  padding: 1.35rem;
  border-radius: 1.3rem;
  background: rgba(196, 161, 31, 0.08);
  border: 1px solid rgba(196, 161, 31, 0.16);
}

.stat-card strong {
  display: block;
  font-size: 1rem;
  color: #0a1a3d;
}

.dark .stat-card strong {
  color: #eef2fa;
}

.social-link,
.footer-link {
  color: inherit;
  font-weight: 700;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.8rem 1.1rem;
  border-radius: 9999px;
  border: 1px solid rgba(10, 26, 61, 0.12);
}

.dark .social-link {
  border-color: rgba(255, 255, 255, 0.12);
}

.embed-card {
  min-height: 12rem;
  padding: 1rem;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(10, 26, 61, 0.08);
}

.dark .embed-card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

.social-embed-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 18rem;
  gap: 1rem;
  align-items: start;
}

.social-instagram-card {
  min-height: 28rem;
}

.social-facebook-card {
  align-self: end;
}

#backToTop {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0a1a3d;
  color: #c4a11f;
  box-shadow: 0 14px 36px rgba(10, 26, 61, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

#backToTop.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

@media (max-width: 1279px) {
  .social-embed-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .social-facebook-card {
    max-width: 22rem;
  }
}

@media (max-width: 1023px) {
  .sobre-layout {
    grid-template-columns: 1fr;
  }
}