:root {
  --blue: #467dbb;
  --blue-deep: #040557;
  --ink: #091441;
  --text: #7a7a7a;
  --heading: #212121;
  --gray: #efefef;
  --border: #c2c2c2;
  --footer-dark: #353236;
  --wa: #25d366;
  --green-hover: #0ba328;
  --container: 1140px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Poppins, sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #333;
  background: #fff;
  line-height: 1.5;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
}
.skip-link:focus {
  left: 8px;
  top: 8px;
  z-index: 10000;
  background: #fff;
  padding: 8px 12px;
}

.wrap {
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 40;
  background: #fff;
}

/* Header */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 52px;
  padding: 0 0 0 4%;
  background: var(--gray);
}

.topbar-social,
.footer-social {
  display: flex;
  align-items: center;
  gap: 5px;
}

.social-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.social-fb {
  background: #3b5998;
}
.social-ig {
  background: #262626;
}

.topbar-contacts {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  padding-right: 2%;
}

.topbar-contacts a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  font-weight: 600;
  font-size: 16px;
}

.topbar-contacts svg {
  fill: var(--blue);
  color: var(--blue);
  flex-shrink: 0;
}

.navbar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
  min-height: 152px;
  padding: 0;
}

.logo {
  flex: 0 0 20.275%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo img {
  width: 50%;
  max-width: 135px;
  height: auto;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  background: #fff;
  border: 0;
  color: var(--blue);
  cursor: pointer;
  padding: 8px;
}

.main-nav {
  flex: 1;
}

.menu {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
}

.menu > li {
  position: relative;
}

.menu-link,
.sub-menu a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 13px 20px;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  text-transform: uppercase;
  color: var(--blue);
  letter-spacing: 0;
  z-index: 0;
}

.menu-link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--blue);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s;
}

.menu-link.is-active,
.menu-link:hover {
  color: #fff;
}

.menu-link.is-active::before,
.menu-link:hover::before {
  opacity: 1;
}

.sub-menu a:hover,
.sub-menu a.is-active {
  background: var(--blue);
  color: #fff;
}

.caret {
  width: 10px;
  height: 10px;
}

.sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 160px;
  background: var(--blue);
  z-index: 20;
}

.sub-menu a {
  display: block;
  color: #fff;
  white-space: nowrap;
}

.has-children:hover .sub-menu,
.has-children:focus-within .sub-menu {
  display: block;
}

/* Home slider */
.hero-slider {
  position: relative;
  height: 100vh;
  min-height: 520px;
  overflow: hidden;
  background: #000;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  background: #000 center / cover no-repeat;
}

.slide.is-active {
  opacity: 1;
  z-index: 1;
}

.slide-contain {
  background-size: contain;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: #000000a6;
}

.slide-overlay.is-clear {
  background: transparent;
}

.slide-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0;
  color: #fff;
}

.slide-inner.is-left {
  justify-content: flex-start;
  text-align: left;
  padding-left: 5%;
}

.slide-contents {
  max-width: 100%;
}

.slide-inner.is-left .slide-contents {
  max-width: 39%;
}

.slide-heading {
  margin: 0 0 12px;
  font-size: 25px;
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
}

.slide-desc {
  margin: 0 0 18px;
  font-family: Roboto, sans-serif;
  font-size: 25px;
  font-weight: 800;
  color: #fff;
}

.slide-inner.is-left .slide-heading {
  font-size: 30px;
  line-height: 44px;
  margin-bottom: 30px;
}

.slide-inner.is-left .slide-desc {
  font-family: Poppins, sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 5px;
  background: var(--blue);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  border: 0;
  cursor: pointer;
}

.btn svg {
  flex-shrink: 0;
}

.btn-navy {
  background: var(--blue-deep);
}

.btn:hover {
  color: #fff;
}

.btn-navy:hover {
  background: var(--blue-deep);
}

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

.slider-btn {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.slider-btn.prev {
  left: 12px;
}
.slider-btn.next {
  right: 12px;
}

.banner-aulas {
  position: relative;
  height: 90vh;
  min-height: 350px;
  background-color: #789b7ef7;
  background-image: url('/assets/img/banner-central.jpg');
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

.banner-aulas.is-cover {
  height: 68vh;
  background-size: cover;
}

.banner-aulas .slide-overlay {
  background: #000000a6;
}

/* Sobre */
.sec-about {
  min-height: 80vh;
  display: grid;
  grid-template-columns: 51.576% 1fr;
  gap: 5%;
  align-items: stretch;
  padding: 5% 5% 0;
  width: 100%;
  margin: 0;
  background-image: linear-gradient(40deg, #467dbb85 9%, #fff 20%);
}

.about-copy {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding-bottom: 5%;
}

.about-line {
  width: 105px;
  height: 1px;
  background: #212121;
}

.kicker {
  margin: 0 0 -30px;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -2px;
  color: var(--heading);
}

.brand-title {
  margin: 0;
  font-size: 60px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -2px;
  color: var(--blue);
}

.about-copy h5,
.about-copy .tagline,
.tagline {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -2px;
  color: var(--heading);
}

.about-copy p,
.prose p {
  margin: 0 0 0.9em;
  color: var(--text);
  font-size: 16px;
}

.about-copy p.tagline {
  margin: 0;
  color: var(--heading);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -2px;
}

.about-copy strong,
.prose strong {
  color: #54595f;
}

.about-art {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.about-art img {
  width: min(448px, 100%);
}

/* Cards */
.sec-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 20px;
  width: min(1080px, calc(100% - 96px));
  margin: 0 auto;
  padding: 96px 0;
}

.home-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--gray);
  border: 2px solid var(--border);
  padding: 2em 1em;
  margin-right: 10px;
  text-align: center;
  transition: border 0.3s, box-shadow 0.3s;
}

.home-card:hover {
  border-width: 0 0 2px 0;
  border-color: var(--blue);
  box-shadow: 0 19px 10px -9px rgba(0, 0, 0, 0.3);
}

.icon-ring {
  width: 59px;
  height: 59px;
  margin: 0 auto 16px;
  padding: 11px;
  border: 2px solid var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  box-sizing: border-box;
}

.icon-ring svg {
  width: 33px;
  height: 33px;
}

.home-card h3 {
  margin: 0 0 20px;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -2px;
  color: var(--heading);
}

.home-card h4 {
  margin: -18px 0 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 27px;
  color: var(--blue);
}

.home-card .btn {
  margin-top: 20px;
}

/* Footer */
.footer-verse {
  margin: 0;
  padding: 18px 16px 8px;
  text-align: center;
  font-weight: 600;
  font-style: italic;
  color: var(--blue);
}

.footer-band {
  background: var(--blue);
  min-height: 400px;
  display: flex;
  align-items: center;
  padding: 2em;
}

.footer-cards {
  width: min(1076px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.footer-card {
  background: var(--gray);
  margin: 3%;
  padding: 3em;
  box-shadow: 0 1px 10px 2px rgba(0, 0, 0, 0.34);
  border-bottom: 3px solid #fff;
  text-align: center;
  transition: border-color 0.3s;
}

.footer-card:hover {
  border-bottom-color: var(--blue);
}

.footer-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-card p,
.footer-card a {
  font-size: 1em;
  font-weight: 700;
  color: var(--ink);
}

.footer-card ul {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-card li a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-card svg {
  color: var(--blue);
}

.footer-social {
  justify-content: center;
  min-height: 52px;
  background: var(--gray);
}

.footer-copy {
  background: var(--footer-dark);
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
}

.footer-copy p {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.32);
  text-align: center;
}

.wa-float {
  position: fixed;
  right: 25px;
  bottom: 85px;
  z-index: 9999;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: var(--wa);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.wa-float:hover {
  background: #036628;
}

/* Inner pages */
.page-hero {
  background: var(--footer-dark);
  padding: 25px;
}

.page-hero h1 {
  width: min(1140px, 100%);
  margin: 0 auto;
  color: #fff;
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
}

.page-body {
  margin: 50px 0;
  padding: 0 10px;
}

.inner-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: center;
  width: min(1140px, 100% - 48px);
  margin: 0 auto;
}

.inner-split.is-flush {
  gap: 0;
}

.inner-split .prose {
  width: 100%;
  margin: 0;
  padding: 15px;
}

.aulas-split img {
  width: 100%;
  height: auto;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  width: min(1140px, 100% - 48px);
  margin: 20px auto 0;
}

.team-card {
  background: var(--gray);
  border: 2px solid var(--border);
  padding: 2em 1em;
  text-align: center;
  transition: border 0.3s, box-shadow 0.3s;
}

.team-card:hover {
  border-width: 0 0 2px 0;
  border-color: var(--blue);
  box-shadow: 0 19px 10px -9px rgba(0, 0, 0, 0.3);
}

.team-card img {
  width: 60%;
  margin: 0 auto 15px;
  border-radius: 20px;
}

.team-card h4 {
  margin: 0 0 16px;
  font-size: 24px;
  font-weight: 600;
  color: var(--blue);
  text-align: center;
}

.team-card p,
.team-card li {
  text-align: left;
}

.prose {
  width: min(1140px, 100% - 48px);
  margin: 0 auto;
}

.prose ul {
  list-style: disc;
  padding-left: 1.2em;
  margin: 0 0 12px;
  color: var(--text);
}

.contact-lead {
  width: min(1140px, 100%);
  margin: 0 auto;
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--blue);
}

.books-grid,
.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: min(1140px, 100% - 48px);
  margin: 0 auto;
}

.contact-grid {
  display: flex;
  flex-wrap: wrap;
  width: min(850px, 100%);
  margin: 20px auto 50px;
}

.books-grid {
  width: min(828px, 100% - 32px);
  gap: 20px;
}

.laws-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  width: min(1140px, 100%);
  margin: 20px auto 0;
}

.videos-grid {
  width: min(1140px, 100% - 48px);
}

.contact-social {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.contact-card ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}

.contact-card li a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-weight: 600;
}

.law-card,
.contact-card {
  box-sizing: border-box;
  background: var(--gray);
  margin: 3%;
  padding: 3em;
  box-shadow: 0 1px 10px 2px rgba(0, 0, 0, 0.34);
  border-bottom: 3px solid #fff;
  text-align: center;
  transition: border-color 0.3s;
}

.contact-card {
  width: calc(50% - 6%);
}

.law-card {
  width: calc(33.333% - 6%);
}

.law-card:hover,
.contact-card:hover {
  border-bottom-color: var(--blue);
}

.law-card h5 {
  margin: 12px 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
  color: var(--blue);
}

.contact-card h2,
.contact-card h5 {
  margin: 12px 0;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -1px;
  color: var(--heading);
}

.law-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.law-link svg {
  width: 16px;
  height: 16px;
  color: var(--blue);
  fill: var(--blue);
  flex-shrink: 0;
}

.contact-card h3,
.contact-email {
  margin: 0;
  font-size: 1em;
  font-weight: 700;
  color: var(--ink);
}

.contact-card svg {
  color: var(--blue);
  fill: var(--blue);
}

.book-card {
  border: 1px solid #aaa;
  border-radius: 10px;
  padding: 15px;
  background: #fff;
}

.book-card:hover {
  background: #ececec;
}

.book-card img {
  width: 100%;
  margin-bottom: 12px;
  border-radius: 15px;
}

.books-closing {
  width: min(841px, 100% - 32px);
  margin: 30px auto 0;
}

.books-closing img {
  width: 100%;
  height: auto;
  border-radius: 15px;
}

.gallery-grid {
  columns: 4;
  column-gap: 10px;
  width: min(1200px, 100% - 32px);
  margin: 0 auto;
}

.gallery-grid a {
  display: block;
  position: relative;
  break-inside: avoid;
  margin-bottom: 10px;
  overflow: hidden;
  background: #111;
}

.gallery-grid a::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-grid a:hover::after {
  opacity: 1;
}

.gallery-grid img {
  width: 100%;
  height: auto;
  display: block;
}

.video-frame {
  aspect-ratio: 16 / 9;
  width: 100%;
  border: 0;
  background: #000;
}

.map-wrap {
  width: min(1140px, 100% - 24px);
  margin: 0 auto;
}

.map-wrap iframe {
  width: 100%;
  height: 436px;
  border: 0;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 24px;
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;
}

.lightbox-close {
  top: 16px;
  right: 16px;
  font-size: 32px;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  font-size: 42px;
  padding: 8px 12px;
}

.lightbox-nav.prev {
  left: 8px;
}
.lightbox-nav.next {
  right: 8px;
}

@media (max-width: 1024px) {
  .sec-about {
    grid-template-columns: 1fr;
    min-height: 600px;
    padding: 10% 5%;
  }

  .kicker,
  .brand-title,
  .about-copy h5,
  .tagline,
  .home-card h3 {
    font-size: 50px;
    letter-spacing: -1px;
  }

  .sec-cards,
  .books-grid,
  .videos-grid,
  .team-grid,
  .inner-split,
  .footer-cards {
    grid-template-columns: 1fr 1fr;
  }

  .law-card,
  .contact-card,
  .footer-card {
    padding: 3em 1em;
  }

  .gallery-grid {
    columns: 2;
  }
}

@media (max-width: 767px) {
  .topbar {
    flex-direction: column;
    padding: 10px 16px;
  }

  .topbar-contacts {
    justify-content: center;
    font-size: 14px;
  }

  .navbar {
    min-height: auto;
    padding: 10px 16px;
  }

  .logo {
    flex: 0 0 auto;
  }

  .logo img {
    width: 80px;
    max-width: 80px;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    background: var(--blue);
    z-index: 30;
  }

  .main-nav.is-open {
    display: block;
  }

  .menu {
    flex-direction: column;
    align-items: stretch;
  }

  .menu-link,
  .sub-menu a {
    color: #fff;
    width: 100%;
  }

  .sub-menu {
    position: static;
    display: block;
  }

  .hero-slider {
    height: 350px;
    min-height: 350px;
  }

  .slide-heading,
  .slide-desc {
    font-size: 15px;
    line-height: 1em;
  }

  .slide-inner {
    padding: 15%;
  }

  .slide-inner.is-left .slide-contents {
    max-width: 100%;
  }

  .banner-aulas {
    height: 350px;
    min-height: 350px;
  }

  .kicker,
  .brand-title {
    font-size: 30px;
    text-align: center;
  }

  .about-copy h5 {
    font-size: 25px;
    text-align: center;
  }

  .tagline {
    font-size: 19px;
    text-align: center;
  }

  .home-card h3 {
    font-size: 25px;
  }

  .about-copy,
  .about-line {
    text-align: center;
    margin-inline: auto;
  }

  .sec-cards,
  .books-grid,
  .videos-grid,
  .team-grid,
  .inner-split,
  .footer-cards {
    grid-template-columns: 1fr;
    padding-inline: 1em;
  }

  .contact-card,
  .law-card {
    width: calc(100% - 6%);
  }

  .gallery-grid {
    columns: 1;
    padding-inline: 1em;
  }

  .wa-float {
    right: 16px;
    bottom: 16px;
  }
}
