*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Header */
.topbar {
  background: var(--ink);
  color: #fff;
  font-size: 14px;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 36px;
  gap: 16px;
}

.topbar-social,
.topbar-contacts {
  display: flex;
  align-items: center;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.topbar a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
}

.topbar svg {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
}

.site-header {
  position: relative;
  z-index: 30;
  background: #fff;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 88px;
  width: min(96%, 1280px);
  margin-inline: auto;
}

.logo img {
  display: block;
  width: auto;
  height: 58px;
}

.nav-desktop {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

.nav-desktop > li {
  position: relative;
  flex-shrink: 0;
}

.nav-desktop a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #222;
  padding: 10px 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.nav-desktop a[aria-current="page"],
.nav-desktop a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.nav-desktop .has-sub > a {
  border-bottom-color: transparent;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
  list-style: none;
  margin: 0;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 0.2s ease;
  z-index: 20;
}

.has-sub:hover .dropdown,
.has-sub:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.dropdown a {
  display: block;
  padding: 8px 16px;
  text-transform: none;
  font-weight: 500;
  border: 0;
  white-space: nowrap;
}

.dropdown a:hover {
  background: #f4f4f4;
}

.caret {
  width: 10px;
  height: 10px;
}

.nav-toggle {
  display: none;
  background: #f3f3f3;
  border: 0;
  color: var(--ink);
  width: 42px;
  height: 42px;
  border-radius: 4px;
}

.mobile-panel {
  display: none;
  background: #fff;
  border-top: 1px solid #eee;
  padding: 8px 0 20px;
}

.mobile-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-panel a {
  display: block;
  padding: 10px 6%;
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 13px;
}

.mobile-panel .sub a {
  padding-left: 12%;
  text-transform: none;
  font-weight: 500;
}

/* Slider */
.hero-slider {
  position: relative;
  height: 500px;
  overflow: hidden;
  background: #111;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
}

.hero-slide.is-active {
  opacity: 1;
  z-index: 1;
}

.hero-slide img,
.hero-slide .slide-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-slide.is-active .slide-bg {
  animation: ken 12s ease-out forwards;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.slide-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  padding: 24px;
}

.slide-content > div {
  max-width: 66%;
}

.slide-content h1 {
  font-family: var(--font-head);
  font-size: clamp(22px, 2.4vw, 36px);
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.25;
  margin: 0 0 16px;
}

.slide-content p {
  font-family: var(--font-head);
  font-size: 1.5em;
  font-weight: 400;
  margin: 0 0 24px;
  line-height: 1.4;
}

.btn-slide {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  border-radius: 10px;
  padding: 12px 22px;
  border: 0;
  transition: background 0.3s;
}

.btn-slide:hover {
  background: var(--accent);
}

.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.slider-nav svg {
  width: 22px;
  height: 22px;
}

.slider-prev {
  left: 12px;
}

.slider-next {
  right: 12px;
}

@keyframes ken {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.12);
  }
}

/* Buttons */
.btn-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  border-radius: 4px;
  padding: 10px 18px;
  min-width: 172px;
  transition: background 0.4s;
}

.btn-dark:hover {
  background: var(--accent);
}

.btn-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--green);
  color: #fff;
  font-family: var(--font-body);
  font-size: 1.05em;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 5px;
  border-bottom: 5px solid var(--green);
  padding: 16px 22px 12px;
  transition: border-color 0.2s;
}

.btn-wa:hover {
  border-bottom-color: var(--green-border);
}

.btn-wa svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

/* Page banner */
.page-banner {
  background: var(--ink);
  color: #fff;
  min-height: 70px;
  display: flex;
  align-items: center;
}

.page-banner h1 {
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 500;
  margin: 0;
}

/* Typography */
.kicker {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 8px;
}

.section-title {
  font-family: var(--font-head);
  font-size: 2em;
  font-weight: 700;
  color: #333;
  margin: 0 0 12px;
}

.h-red {
  font-family: var(--font-body);
  font-size: 1.5em;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 16px;
  line-height: 1.3;
}

.h-red-dark {
  font-family: var(--font-body);
  font-size: 1.5em;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--brand-dark);
  margin: 0 0 16px;
  line-height: 1.3;
}

.lead,
.body-text {
  color: var(--muted);
  font-size: 16px;
}

.body-text p,
.lead p {
  margin: 0 0 14px;
}

.center {
  text-align: center;
}

/* Home quem somos */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin: 100px 0;
}

.about-split img {
  width: 100%;
  border-radius: 5%;
  display: block;
}

.home-intro {
  margin: 100px 0 30px;
  text-align: center;
  max-width: 831px;
  margin-left: auto;
  margin-right: auto;
}

.home-intro .section-title {
  font-size: 30px;
  text-transform: uppercase;
}

.home-intro .lead {
  font-size: 1.1em;
}

/* Promo cards */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 100px;
}

.promo-card {
  position: relative;
  min-height: 484px;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  color: #fff;
}

.promo-card .bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
}

.promo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #00000038;
  transition: background 0.4s;
}

.promo-card:hover .bg {
  transform: scale(1.08);
}

.promo-card:hover::after {
  background: transparent;
}

.promo-card .content {
  position: relative;
  z-index: 1;
  padding: 30px;
}

.promo-card h3 {
  font-family: var(--font-head);
  font-size: 22px;
  text-transform: uppercase;
  margin: 0 0 20px;
  line-height: 1.25;
}

.promo-card p {
  font-size: 14px;
  margin: 0 0 16px;
}

.promo-card .btn-dark {
  min-width: 0;
  padding: 8px 25px;
}

/* Video CTA */
.video-cta {
  position: relative;
  min-height: 591px;
  display: grid;
  place-items: center;
  overflow: hidden;
  margin: 100px 0;
  padding: 100px 20px;
}

.video-cta video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-cta-box {
  position: relative;
  z-index: 1;
  max-width: 860px;
  width: 100%;
  background: #4713138f;
  border-radius: 20px;
  padding: 30px 20px;
  text-align: center;
  color: #fff;
}

.video-cta-box h2 {
  font-family: var(--font-body);
  font-size: 25px;
  font-weight: 600;
  text-transform: uppercase;
  margin: 0 0 12px;
  line-height: 1.3;
}

.video-cta-box p {
  font-size: 1.1em;
  margin: 0 0 20px;
}

/* Flip */
.flip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 0 0 100px;
}

.flip {
  height: 254px;
  perspective: 1000px;
  -webkit-perspective: 1000px;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
}

.flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
}

.flip-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  color: #fff;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transition: transform 0.6s ease;
}

.flip-front {
  background: var(--ink);
  transform: rotateX(0) rotateY(0);
  z-index: 2;
}

.flip-back {
  background: #3b3b3b center/cover no-repeat;
  transform: rotateX(0) rotateY(-180deg);
  z-index: 1;
}

.flip:hover .flip-front,
.flip:focus-within .flip-front,
.flip.is-flipped .flip-front {
  transform: rotateX(0) rotateY(180deg);
}

.flip:hover .flip-back,
.flip:focus-within .flip-back,
.flip.is-flipped .flip-back {
  transform: rotateX(0) rotateY(0);
}

.flip-content {
  transform: translateZ(70px) scale(0.93);
}

.flip-face svg {
  width: 50px;
  height: 50px;
  margin-bottom: 7px;
}

.flip-face p {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  margin: 0;
  line-height: 1.3;
}

.flip-front p {
  font-size: 18px;
}

.flip-card {
  display: block;
  height: 360px;
  text-decoration: none;
  color: inherit;
}

.flip-card .flip-face {
  padding: 28px 24px;
}

.flip-card .flip-face svg {
  width: 48px;
  height: 48px;
  margin-bottom: 10px;
}

.flip-card h3 {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 600;
  text-transform: uppercase;
  margin: 0 0 12px;
  line-height: 1.25;
}

.flip-card p,
.flip-card h5 {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  text-transform: none;
  color: #ededed;
  margin: 0;
  line-height: 1.55;
}

.flip-back-pattern {
  background: #3b3f48 url("/assets/img/pattern.jpg") center/cover no-repeat;
}

.flip-back-pattern p {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  color: #fff;
}

/* Interior */
.page-wrap {
  padding: 48px 0 80px;
}

.split-50 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin: 0 0 48px;
  overflow: visible;
}

.round-img {
  border-radius: 16px;
  width: 100%;
  display: block;
}

.feature-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
}

.feature-list li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: start;
  margin-bottom: 18px;
  position: relative;
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--brand);
  color: #fff;
  border-radius: 6px;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-list li + li .feature-icon::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 100%;
  width: 2px;
  height: 18px;
  background: var(--brand);
}

.feature-list h3 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 600;
  color: #222;
}

.feature-list p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.feature-list .sub-list {
  margin: 6px 0 0;
  padding-left: 18px;
}

.feature-list .sub-list li {
  display: list-item;
  list-style: disc;
  grid-template-columns: none;
  margin: 0 0 2px;
  color: var(--muted);
  font-size: 14px;
}

.checks {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}

.checks li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 8px;
  color: var(--muted);
}

.checks svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  fill: var(--brand);
  margin-top: 3px;
}

.dots li svg {
  fill: var(--brand);
  width: 12px;
  height: 12px;
  margin-top: 6px;
}

.two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin: 24px 0 48px;
}

.photo-cta {
  position: relative;
  min-height: 360px;
  border-radius: 0;
  overflow: hidden;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  margin: 40px 0;
  padding: 48px 20px;
}

.photo-cta img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.photo-cta .inner {
  position: relative;
  z-index: 1;
}

.photo-cta h2 {
  font-family: var(--font-head);
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 20px;
}

.card-dark {
  background: var(--ink);
  color: #fff;
  border-radius: 15px;
  padding: 32px 24px;
  text-align: center;
}

.card-dark svg {
  width: 48px;
  height: 48px;
  margin-bottom: 8px;
}

.card-dark h3 {
  font-family: var(--font-head);
  font-size: 22px;
  text-transform: uppercase;
  margin: 0 0 12px;
}

.card-dark p {
  color: #ededed;
  font-size: 15px;
  margin: 0;
}

.partner-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 16px 0 36px;
}

.partner-logos a {
  display: grid;
  place-items: center;
  width: 180px;
  height: 90px;
  border: 1px solid #ececec;
  border-radius: 10px;
  padding: 10px;
  background: #fff;
}

.partner-logos img {
  max-height: 64px;
  width: auto;
}

/* Map */
.map-wrap {
  position: relative;
  max-width: 720px;
  margin: 24px auto 48px;
}

.map-wrap img {
  width: 100%;
  display: block;
}

.hotspot {
  position: absolute;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 4px 8px;
  border-radius: 3px;
  white-space: nowrap;
}

.hotspot svg {
  width: 10px;
  height: 10px;
}

/* Gallery */
.gallery {
  columns: 4;
  column-gap: 14px;
  margin: 24px 0 48px;
}

.gallery a {
  display: block;
  break-inside: avoid;
  margin-bottom: 14px;
}

.gallery img {
  width: 100%;
  border-radius: 12px;
  display: block;
}

/* Contact cards */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 28px 0 48px;
}

.contact-card {
  background: #3b3f48 url("/assets/img/pattern.jpg") center/cover;
  color: #fff;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px 16px;
  gap: 8px;
}

.contact-card svg {
  width: 28px;
  height: 28px;
}

.contact-card a,
.contact-card p {
  margin: 0;
  color: #fff;
  font-size: 14px;
}

/* Footer */
.site-footer {
  background: #3b3f48 url("/assets/img/pattern.jpg") center/cover;
  color: #ececec;
  padding: 50px 0 30px;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 35% 35% 30%;
  gap: 20px;
}

.footer-about p {
  max-width: 288px;
  margin: 0 0 16px;
  line-height: 1.55;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 32px;
  height: 32px;
  border: 1px solid #fff;
  border-radius: 4px;
  display: grid;
  place-items: center;
  color: #fff;
  transition: transform 0.3s;
}

.footer-social a:hover {
  transform: scale(1.12);
}

.footer-social svg {
  width: 16px;
  height: 16px;
}

.footer-block h3 {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-block h3 svg,
.footer-block p svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.footer-block p,
.footer-block a {
  color: #fff;
  margin: 0 0 6px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.footer-copy {
  border-top: 1px solid #fff;
  margin-top: 24px;
  padding-top: 12px;
  text-align: center;
  font-size: 14px;
}

.wa-float {
  position: fixed;
  right: 25px;
  bottom: 67px;
  z-index: 40;
}

.wa-float-btn {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.wa-float-btn:hover {
  background: #036628;
}

.wa-float-btn svg {
  width: 36px;
  height: 36px;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 80;
  display: none;
  place-items: center;
  padding: 24px;
}

.lightbox.is-open {
  display: grid;
}

.lightbox img {
  max-width: min(1100px, 92vw);
  max-height: 88vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: 0;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
}

/* 404 */
.page-404 {
  min-height: 40vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 80px 20px;
}

@media (max-width: 1024px) {
  .nav-desktop {
    display: none;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .mobile-panel.is-open {
    display: block;
  }

  .about-split,
  .split-50,
  .two-cols,
  .promo-grid,
  .flip-grid,
  .contact-cards,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .gallery {
    columns: 2;
  }

  .logo img {
    height: 52px;
  }
}

@media (max-width: 767px) {
  .topbar-inner {
    flex-direction: column;
    padding: 8px 0;
    text-align: center;
  }

  .topbar-contacts {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 14px;
  }

  .header-inner {
    flex-direction: column;
    min-height: auto;
    padding: 12px 0;
  }

  .hero-slider {
    height: 309px;
  }

  .slide-content > div {
    max-width: 100%;
  }

  .slide-content h1 {
    font-size: 16px;
  }

  .slide-content p {
    font-size: 16px;
  }

  .btn-slide {
    font-size: 12px;
    padding: 8px 14px;
  }

  .about-split,
  .home-intro,
  .promo-grid,
  .video-cta {
    margin-top: 40px;
    margin-bottom: 40px;
  }

  .promo-card {
    min-height: 300px;
  }

  .video-cta {
    min-height: 235px;
    padding: 40px 12px;
  }

  .gallery {
    columns: 1;
  }

  .page-banner h1 {
    font-size: 18px;
  }
}
