:root {
  --bg: #181211;
  --panel: #201816;
  --panel-2: #1b1412;
  --stroke: rgba(255, 255, 255, .10);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, .72);

  --accent: #E27014;
  --accent-2: #F08B2B;

  --shadow: 0 16px 40px rgba(0, 0, 0, .45);

  --radius: 18px;
  --radius-sm: 14px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "Lexend", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.center {
  text-align: center;
}

.mt-24 {
  margin-top: 24px;
}

.accent {
  color: var(--accent);
}

.muted {
  color: var(--muted);
}

.kicker {
  margin: 0 0 8px;
  font-weight: 500;
  color: rgba(255, 255, 255, .55);
}


.topbar {
  position: relative;
  z-index: 50;
  background: var(--bg);
  border-bottom: none;
}

.topbar-inner {
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, .10);
}


.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 100%;
}

.brand-logo {
  height: 125px;
  width: auto;
  display: block;
}


.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-weight: 600;
  font-size: 15px;
  color: rgba(255, 255, 255, .88);
}

.nav a {
  padding: 10px 6px;
  transition: .2s ease;
}

.nav a:hover {
  color: #fff;
}


.nav-toggle {
  display: none;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  border: 1px solid #181211;
  background: #181211;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.hamburger rect {
  fill: rgba(255, 255, 255, .92);
}

.hamburger .line {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform .22s ease, opacity .18s ease;
}


body.menu-open .hamburger .line1 {
  transform: translateY(25px) rotate(45deg);
}

body.menu-open .hamburger .line2 {
  opacity: 0;
  transform: scaleX(.4);
}

body.menu-open .hamburger .line3 {
  transform: translateY(-25px) rotate(-45deg);
}


.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 6px;
  border: 1px solid transparent;
  padding: 12px 18px;
  font-weight: 800;
  letter-spacing: .3px;
  transition: .2s ease;
  cursor: pointer;
  user-select: none;
  transform: none;
}

.btn-nav {
  padding: 10px 16px;
  border-radius: 18px;
  background: #E27014;
  border: 2px solid #E27014;
  color: #fff;
  font-weight: 800;
  letter-spacing: .2px;
  transition: .2s ease;
}

.btn-nav:hover {
  background: #F08B2B;
  border-color: #F08B2B;
  transform: translateY(-1px);
}


.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .62);
  display: none;
  z-index: 9999;
}

.mobile-overlay.is-open {
  display: block;
}

.mobile-drawer {
  position: fixed;
  inset: 0;

  width: 100%;
  height: 100dvh;


  background: #171110;
  border-radius: 0;

  border: none;

  box-shadow: none;


  padding: 18px 18px 22px;
  transform: translateX(24px);
  opacity: 0;

  transition: transform .32s cubic-bezier(.2, .9, .2, 1), opacity .22s ease;
  will-change: transform, opacity;
}

.mobile-overlay.is-open .mobile-drawer {
  transform: translateX(0);
  opacity: 1;
}


.mobile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.mobile-logo {
  width: 120px;
  height: auto;
  display: block;
}

.mobile-close {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  border: 1px solid #181211;
  background: #181211;
  display: flex;

  align-items: center;

  justify-content: center;

  padding: 0;

  cursor: pointer;
  padding-bottom: 30px;
}

.mobile-close:active {
  transform: scale(.96);
}

.mobile-close img {
  width: 34px;

  height: 34px;
  display: block;
}


.mobile-links {
  margin-top: 8px;
}

.mobile-link {
  display: block;
  padding: 18px 6px;
  font-size: 28px;
  font-weight: 900;
  color: #fff;
  text-decoration: none;
  letter-spacing: .2px;

  border-bottom: 2px solid rgba(255, 255, 255, .86);
}


.mobile-social {
  margin-top: 20px;
  display: flex;
  gap: 18px;
  justify-content: center;
  align-items: center;
}

.mobile-social-link {
  width: 62px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-social-link img {
  width: 58px;
  height: 58px;
  display: block;
}

body.menu-open .back-to-top {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(20px) scale(.9);
}


body.menu-open {
  overflow: hidden;
}


.hist-topo {
  padding: 58px 0 30px;
  background:
    radial-gradient(900px 320px at 22% -10%, rgba(255, 255, 255, .06), transparent 58%),
    var(--bg);
}

.hist-topo__inner {
  text-align: center;
}

.hist-topo__kicker {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
  color: rgba(226, 112, 20, .9);
}

.hist-topo__dash {
  color: rgba(226, 112, 20, .55);
  font-weight: 900;
  margin: 0 10px;
}

.hist-topo__title {
  margin: 0 0 18px;
  font-size: clamp(44px, 6vw, 64px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #fff;
}

.hist-topo__accent {
  color: var(--accent);
}

.hist-topo__lead {
  margin: 0 auto;
  max-width: 980px;
  font-size: 18px;
  line-height: 1.65;
  font-weight: 600;
  color: var(--text);
  text-wrap: balance;
}


.hist-galeria {
  padding: 20px 0 48px;
  background: var(--bg);
}

.hist-galeria__card {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;

  border-radius: 14px;
  overflow: hidden;
  background: #0f0a09;
  border: 1px solid rgba(255, 255, 255, .08);
}


.hist-galeria__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.hist-galeria__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform .35s ease;
}


.hist-galeria__card:hover .hist-galeria__img {
  transform: scale(1.05);
}





.site-footer {
  background: #181211;
  padding: 60px 20px 40px;
  margin-top: 0px;
}

.footer-container {
  max-width: 1100px;
  margin: auto;
}


.footer-nav {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  margin-bottom: 35px;
}

.footer-nav a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  position: relative;
  transition: .25s ease;
}

.footer-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: #E27014;
  transition: .25s ease;
}

.footer-nav a:hover {
  color: #fff;
}

.footer-nav a:hover::after {
  width: 100%;
}


.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, .12);
  margin: 30px 0 25px;
}


.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  color: #fff;
  font-size: 14px;
}



.footer-socials {
  display: flex;
  gap: 10px;
  align-items: center;
}

.footer-socials a {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.footer-socials img {
  width: 40px;
  height: 40px;
  display: block;
  transition: .22s ease;
  filter: drop-shadow(0 0 0 rgba(0, 0, 0, 0));
}


.footer-socials a:hover img {
  transform: translateY(-3px) scale(1.05);
  filter: drop-shadow(0 8px 18px rgba(226, 112, 20, .35));
}



.back-to-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 999;
}

.back-to-top img {
  width: 60px;
  height: 60px;
  display: block;
  transition: .22s ease;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, .55));
}

.back-to-top:hover img {
  transform: translateY(-5px) scale(1.06);
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, .75));
}

.hist-topo__lead--desktop {
  display: block;
}

.hist-topo__lead--mobile {
  display: none;
}


.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .86);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 22px;
}

.lightbox.is-open {
  display: flex;
}

.lightbox__img {
  max-width: min(1200px, 92vw);
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;

  border-radius: 14px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .55);
  background: #0f0a09;
}

.lightbox__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(15, 10, 9, .85);
  color: #fff;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(15, 10, 9, .78);
  color: #fff;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__nav-icon {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lightbox__nav--prev {
  left: 16px;
}

.lightbox__nav--next {
  right: 16px;
}

html {
  scroll-behavior: smooth;
}




@media (max-width: 980px) {

  .nav {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .topbar-inner {
    height: 96px;
  }

  .brand-logo {
    height: 78px;
  }


  .container {
    width: min(var(--container), calc(100% - 32px));
  }


  .topbar-inner {
    height: 92px;
    gap: 14px;
  }

  .brand-logo {
    height: 64px;
  }



  .footer-nav {
    gap: 28px;
  }

  .back-to-top {
    right: 18px;
    bottom: 18px;
  }

  .back-to-top img {
    width: 54px;
    height: 54px;
  }
}

.hist-topo__lead--mobile {
  display: none;
}

.hist-galeria__img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;

  object-position: center;

}

.hist-galeria__card:hover .hist-galeria__img {
  transform: scale(1.05);
}



.hist-galeria__pager {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.hist-galeria__btn {
  padding: 10px 18px;
  border-radius: 8px;
  border: none;
  background: #bdbdbd;
  color: #111;
  font-weight: 600;
  cursor: pointer;
  transition: .2s ease;
}

.hist-galeria__btn:hover {
  filter: brightness(1.05);
}

.hist-galeria__btn:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.hist-galeria__btn--primary {
  background: #E27014;
  color: #fff;
}

.hist-galeria__info {
  min-width: 130px;
  text-align: center;
  font-weight: 700;
}



@media (max-width: 640px) {

  .container {
    width: calc(100% - 28px);
  }


  .topbar-inner {
    height: 110px;
  }

  .brand-logo {
    height: 90px;
    width: auto;
    object-fit: contain;
    display: block;
  }


  .nav {
    gap: 12px;
    font-size: 14px;
  }

  .nav a {
    padding: 8px 4px;
  }



  .site-footer {
    padding: 46px 16px 34px;
  }

  .footer-nav {
    gap: 18px;
    margin-bottom: 26px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 14px;
  }


  .footer-socials {
    gap: 6px;
  }


  .back-to-top {
    right: 14px;
    bottom: 14px;
    width: 56px;
    height: 56px;
  }

  .back-to-top img {
    width: 50px;
    height: 50px;
  }



  .mestre-photo {
    display: none;
  }


  .mestre-photo-mobile {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 14px 0px;

    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--accent);
    box-shadow: 0 0 26px rgba(223, 109, 16, .45);
  }

  .mestre-photo-mobile img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
  }


  .mestre-text--desktop {
    display: none;
  }

  .mestre-text--mobile {
    display: block;
  }


  .mestre-p {
    font-size: 15.5px;
    line-height: 1.65;
    margin: 0 0 12px;
  }

  .beneficios-subtitle {
    font-size: 13.5px;
  }

  .testimonial-card__text {

    font-size: 12px;
    line-height: 1.45;
    color: #fff;
  }

  .testimonial-card__text_3 {

    font-size: 12px;
    line-height: 1.45;
    color: #fff;

  }

  .history-button {
    padding: 14px 20px;

    font-size: 14px;

    letter-spacing: .02em;
    width: 100%;
    max-width: 280px;

    margin: 20px auto 0;
    justify-content: center;
  }

  .history {
    padding: 56px 18px;
  }

  .final-cta {
    padding: 0px 14px;
  }

  .final-cta-box {
    padding: 48px 18px;
    border-radius: 18px;
  }

  .final-cta-title {
    font-size: 30px;
    line-height: 1.1;
    margin-bottom: 18px;
  }

  .final-cta-subtitle {
    font-size: 15px;
    margin-bottom: 26px;
  }

  .final-cta-button {
    width: 100%;
    max-width: 260px;
    margin: 0 auto;
    display: flex;
    justify-content: center;

    padding: 16px 0;
    font-size: 16px;
    border-radius: 12px;

    box-shadow:
      0 6px 0 rgba(0, 0, 0, .18),
      0 12px 24px rgba(0, 0, 0, .35);
  }

  .site-footer .footer-nav a {
    color: #fff;
  }


  .footer-nav a {

    text-decoration: none;
    font-size: 15px;
    transition: .25s ease;
    position: relative;
  }

  .hist-topo__lead--desktop {
    display: none;
  }

  .hist-topo__lead--mobile {
    display: block;
    font-size: 15.5px;
    line-height: 1.7;
    max-width: 420px;
    margin-top: 6px;
  }

  .hist-topo__lead strong {
    color: var(--accent);
    font-weight: 800;
  }

  .hist-topo__kicker {
    font-size: 14px;
    margin-bottom: 12px;
  }

  .hist-topo__dash {
    margin: 0 8px;
  }

  .hist-topo__title {
    font-size: 40px;
    line-height: 1.05;
    margin-bottom: 14px;
  }

  .hist-topo__lead {
    font-size: 15px;
    line-height: 1.7;
    max-width: 560px;
  }


  .hist-galeria__grid {
    grid-template-columns: 1fr;
  }

  .hist-galeria__card {
    height: 300px;
  }


  .hist-galeria__img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;

    object-position: center;

  }

  .hist-galeria__pager {
    margin-top: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
  }

  .hist-galeria__btn {
    padding: 10px 18px;
    border-radius: 8px;
    border: none;
    background: #bdbdbd;
    color: #111;
    font-weight: 600;
    cursor: pointer;
    transition: .2s ease;
  }

  .hist-galeria__btn:disabled {
    opacity: .5;
    cursor: not-allowed;
  }

  .hist-galeria__btn--primary {
    background: #E27014;
    color: #fff;
  }

  .hist-galeria__info {
    min-width: 120px;
    text-align: center;
    font-weight: 600;
  }

  .lightbox__nav {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    font-size: 34px;
  }

  .lightbox__close {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    font-size: 28px;
  }
}
