:root {
  --azul: #2e3192;
  --azul-escuro: #23267a;
  --azul-titulo: #2d3194;
  --vermelho: #e30613;
  --texto: #333333;
  --menu: #555555;
  --cinza: #4a4a4a;
  --fundo: #ffffff;
  --sombra: 0 10px 30px rgba(35, 38, 122, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Open Sans", sans-serif;
  color: var(--texto);
  background: var(--fundo);
  line-height: 1.65;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--azul);
  color: #fff;
  padding: 8px 12px;
  z-index: 1000;
}

.skip-link:focus {
  left: 8px;
}

/* Topbar */
.topbar {
  background: var(--azul);
  color: #fff;
  font-size: 13px;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  gap: 16px;
}

.topbar-social a,
.topbar-contacts a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
}

.topbar-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  justify-content: flex-end;
}

.topbar a:hover {
  opacity: 0.85;
}

.icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex-shrink: 0;
}

/* Header */
.site-header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 40;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 112px;
  gap: 24px;
}

.logo img {
  width: 190px;
  height: auto;
}

.nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 28px;
}

.nav-list a {
  color: var(--menu);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.nav-list a:hover,
.nav-list a.active {
  color: var(--azul);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 10px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--azul);
  margin: 6px 0;
}

/* Hero */
.hero {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  background: #111;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  background-size: cover;
  background-position: center;
}

.hero-slide.is-active {
  opacity: 1;
  z-index: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 16px;
}

.hero-box {
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  max-width: 820px;
  padding: 36px 28px 32px;
}

.hero-box h1,
.hero-box h2 {
  margin: 0 0 22px;
  font-size: clamp(22px, 3.4vw, 38px);
  line-height: 1.25;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-nav {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.hero-arrow {
  pointer-events: auto;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

.hero-arrow.prev { left: 16px; }
.hero-arrow.next { right: 16px; }

.hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.hero-dots button {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
}

.hero-dots button.is-active {
  background: #fff;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  background: var(--azul);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid #fff;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  background: var(--azul-escuro);
}

.btn-ghost {
  border-color: #fff;
}

/* Sections */
.section {
  padding: 72px 0;
}

.section-title {
  margin: 0 0 18px;
  color: var(--azul-titulo);
  font-size: 30px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.section-lead {
  text-align: center;
  color: var(--texto);
  font-size: 20px;
  max-width: 780px;
  margin: 0 auto 36px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.about-copy p {
  margin: 0 0 16px;
  font-size: 16px;
}

.about-copy strong {
  color: var(--azul);
}

.about-photo {
  border-radius: 8px;
  overflow: hidden;
}

.about-photo img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.product-card {
  text-align: center;
}

.product-card figure {
  margin: 0 0 16px;
  padding: 0 0 14px 14px;
  position: relative;
}

.product-card figure::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 88%;
  height: 88%;
  border-radius: 0 0 28px 0;
  z-index: 0;
}

.product-card.blue figure::after { background: #3b4cca; }
.product-card.red figure::after { background: #d32f2f; }
.product-card.sky figure::after { background: #5dade2; }

.product-card img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  background: #f4f4f4;
}

.product-card h3 {
  margin: 0 0 14px;
  font-size: 20px;
  color: var(--texto);
  font-weight: 600;
}

.maintenance {
  position: relative;
  min-height: 520px;
  background: #1a1a1a center / cover no-repeat;
  color: #fff;
}

.maintenance-inner {
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.maintenance-box {
  width: min(460px, 100%);
  background: rgba(17, 17, 17, 0.72);
  border-radius: 18px;
  padding: 36px 28px;
}

.maintenance-box h2 {
  margin: 0 0 16px;
  font-size: 30px;
  text-transform: uppercase;
}

.maintenance-box p {
  margin: 0 0 12px;
  font-size: 18px;
}

.section-contato {
  padding-bottom: 0;
}

.map-wrap {
  width: 100%;
  margin: 0;
}

.map-wrap iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
}

.site-footer {
  background: var(--azul);
  color: #fff;
  padding: 48px 0 42px;
  font-size: 15px;
}

.footer-cols {
  display: grid;
  grid-template-columns: minmax(180px, 1.1fr) minmax(220px, 1.2fr) minmax(140px, 0.8fr) minmax(220px, 1.3fr);
  gap: 28px 24px;
  align-items: start;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  line-height: 1.4;
}

.footer-item svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
}

.footer-item:hover {
  opacity: 0.88;
}

.footer-bar {
  position: relative;
  background: var(--vermelho);
  color: #fff;
  text-align: center;
  padding: 16px 56px;
  font-size: 14px;
}

.footer-bar a {
  color: #fff;
}

.to-top {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: 0;
  background: #111;
  color: #fff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
}

.wa-float svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.page-hero {
  background: var(--azul);
  color: #fff;
  padding: 48px 0;
  text-align: center;
}

.page-hero h1 {
  margin: 0 0 10px;
  font-size: 32px;
  text-transform: uppercase;
}

.gallery-intro {
  max-width: 760px;
  margin: 0 auto 32px;
  text-align: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.gallery-grid a,
.gallery-grid video {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  background: #eee;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-grid a:hover img {
  transform: scale(1.05);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 80;
  padding: 24px;
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-width: min(1100px, 92vw);
  max-height: 88vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
}

@media (max-width: 1024px) {
  .about-grid,
  .products-grid {
    grid-template-columns: 1fr;
  }

  .footer-cols {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .maintenance-inner {
    justify-content: center;
    padding: 48px 0;
  }
}

@media (max-width: 768px) {
  .topbar-contacts span.label {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    padding: 12px 0 20px;
  }

  .main-nav.is-open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    padding: 0 20px;
    gap: 14px;
  }

  .hero,
  .hero-content {
    min-height: 420px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-cols {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .topbar-inner {
    justify-content: center;
  }

  .topbar-social {
    display: none;
  }

  .hero,
  .hero-content {
    min-height: 360px;
  }

  .section {
    padding: 48px 0;
  }
}
