*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, textarea { font: inherit; }
p { margin: 0 0 1em; }

.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  background: #fff;
  z-index: 100;
  padding: 8px 12px;
}
.skip-link:focus { top: 8px; }

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

/* Header */
.topbar { background: #fff; }
.topbar-grid {
  display: grid;
  grid-template-columns: 1fr 0.5fr 0.5fr;
  align-items: center;
  gap: 12px;
  min-height: 150px;
  padding: 16px 0;
}
.logo img { width: min(365px, 64%); height: auto; }
.top-contact {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.top-contact h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #000;
}
.top-contact p { margin: 0; line-height: 1.45; }
.top-contact a { color: #000; text-decoration: none; font-weight: 400; }
.top-contact a:hover { color: var(--blue); }
.ico {
  flex: 0 0 auto;
  width: 71px;
  height: 71px;
  border: 2px solid var(--blue-2);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--blue-2);
}
.ico.wa { color: #08dc28; border-color: #08dc28; }
.ico svg { width: 25px; height: 25px; }

.mainnav { background: var(--nav); position: relative; z-index: 40; }
.nav-row { display: flex; justify-content: center; position: relative; }
.menu {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
}
.menu > li { flex: 0 0 auto; }
.menu > li > a,
.menu > li > button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
  white-space: nowrap;
  padding: 15px;
  background: none;
  border: 0;
  cursor: pointer;
}
.menu > li > a:hover,
.menu > li > button:hover,
.menu > li > a[aria-current="page"] { color: #fff; }
.sub {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: #6a6967;
  z-index: 50;
}
.has-sub { position: relative; }
.has-sub:hover > .sub,
.has-sub:focus-within > .sub,
.has-sub.is-open > .sub { display: block; }
.sub a {
  display: block;
  color: #fff;
  text-decoration: none;
  padding: 15px 18px;
  border-bottom: 1px solid #fff;
  font-weight: 500;
}
.sub li:last-child a { border-bottom: 0; }
.sub a:hover { background: #747370; }
.burger {
  display: none;
  margin: 8px auto;
  background: transparent;
  border: 0;
  color: #fff;
  width: 46px;
  height: 46px;
  cursor: pointer;
}

/* Hero */
.hero { position: relative; height: 600px; overflow: hidden; background: #c9c8ca; }
.hero-track, .hero-slide { height: 100%; }
.hero-slide { display: none; position: relative; }
.hero-slide.is-active { display: block; }
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.hero-slide.is-active .hero-bg { animation: ken 12s ease-out forwards; }
@keyframes ken {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}
.hero-copy {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  max-width: 66%;
  margin-right: auto;
  padding: 40px 70px;
  color: #fff;
}
.hero-copy h2 {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 2.5em;
  font-weight: 600;
  line-height: 1.15;
}
.hero-copy h3 {
  margin: 0 0 12px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
}
.hero-copy ul {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.55;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-alt);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 12px 22px;
  border-radius: 3px;
  border: 0;
  cursor: pointer;
}
.btn:hover { background: var(--wa-hover); color: #fff; }
.btn svg { width: 16px; height: 16px; fill: currentColor; }
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 48px;
  height: 48px;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.hero-arrow svg { width: 28px; height: 28px; }
.hero-arrow.prev { left: 16px; }
.hero-arrow.next { right: 16px; }
.hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 2;
}
.hero-dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,.55);
  cursor: pointer;
}
.hero-dots button.is-active { background: #fff; }

/* Products */
.products { background: #fff; padding: 54px 0 30px; }
.section-head { text-align: center; position: relative; margin-bottom: 28px; }
.section-head .detail { margin: 0 auto 8px; width: 53px; height: auto; }
.kicker {
  margin: 0;
  color: var(--blue);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.section-title {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 25px;
  font-weight: 600;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 36px;
}
.flip {
  display: block;
  background: #04667e;
  border-radius: 14px;
  padding: 16px 16px 18px;
  text-decoration: none;
  color: #fff;
  border: 1px solid #0a3d4c;
}
.flip-photo {
  position: relative;
  display: block;
  height: 230px;
  background: #123 center / cover no-repeat;
  border-bottom: 7px solid #1aa3ef;
  overflow: hidden;
}
.flip-face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 12px;
  padding: 16px 18px 14px;
  background: linear-gradient(to top, rgba(0, 0, 0, .55), rgba(0, 0, 0, .18) 55%, rgba(0, 0, 0, .12));
}
.flip h3 { margin: 0; font-size: 22px; font-weight: 700; }
.flip-back {
  transform: translateY(101%);
  transition: transform .45s ease;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(4, 40, 58, .72);
}
.flip:hover .flip-back,
.flip:focus-visible .flip-back { transform: translateY(0); }
.flip-more {
  display: inline-block;
  border: 2px solid #fff;
  border-radius: 20px;
  padding: 8px 18px;
  font-size: 16px;
  font-weight: 400;
}

/* Offers */
.offers { background: var(--teal); color: #fff; padding: 48px 0 56px; }
.offers .kicker { font-size: 30px; }
.offers .section-title {
  color: #fff;
  font-size: 42px;
  font-weight: 800;
  text-transform: uppercase;
}
.offer-wrap { position: relative; margin-top: 18px; max-width: 900px; margin-inline: auto; }
.offer-viewport { overflow: hidden; }
.offer-track {
  display: flex;
  gap: 10px;
  transition: transform .45s ease;
}
.offer-card {
  flex: 0 0 calc((100% - 20px) / 3);
  background: #e1e1e1;
  color: #222;
  text-align: center;
  padding: 32px 16px 28px;
  border-radius: 10px;
  min-height: 385px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.offer-card img { width: 228px; max-width: 100%; height: 163px; object-fit: contain; background: transparent; margin: 0 auto 8px; }
.offer-card h3 { margin: 8px 0 18px; font-size: 20px; font-weight: 600; line-height: 1.2; min-height: 48px; color: var(--blue); }
.offer-btn {
  margin-top: auto;
  background: var(--teal);
  color: #fff;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  padding: 12px 24px;
  border-radius: 3px;
  flex-direction: row-reverse;
  gap: 5px;
}
.offer-btn:hover { background: #03566b; color: #fff; }
.offer-btn svg { width: 14px; height: 14px; fill: currentColor; }
.offer-arrow {
  position: absolute;
  top: 42%;
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  color: var(--blue);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  box-shadow: none;
}
.offer-arrow.prev { left: -36px; }
.offer-arrow.next { right: -36px; }

/* About */
.about {
  background: var(--paper) url("/assets/img/pattern.png") center / auto;
  text-align: center;
  padding: 48px 0 36px;
}
.about h2 {
  margin: 10px 0 14px;
  color: var(--blue);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.about p {
  max-width: 920px;
  margin: 0 auto 18px;
  font-weight: 300;
  line-height: 1.7;
  color: #000;
}
.rule { width: min(920px, 100%); margin: 8px auto; }

/* Partner */
.partner {
  position: relative;
  background: #0b1727 url("/assets/img/contato.jpg") center / cover no-repeat;
  color: #fff;
}
.partner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 370px;
  align-items: center;
}
.partner-copy { padding: 50px 40px; }
.partner-title {
  display: inline-block;
  margin: 0 0 14px 5%;
  padding: 10px;
  color: #fff;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
  background-image: linear-gradient(100deg, #6a6967 0%, #0291db 61%);
  border-bottom: 3px solid #fff;
  border-radius: 10px;
}
.partner-copy .detail { margin: 8px 0 8px 5%; }
.partner-copy .btn { margin-left: 5%; }
.partner-quote {
  position: relative;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
  padding: 40px 28px;
}
.partner-quote::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(11, 23, 39, .5);
}
.partner-quote > * { position: relative; z-index: 1; }
.partner-quote .ico { background: transparent; }
.partner-quote p {
  margin: 0;
  font-size: 23px;
  font-weight: 300;
  line-height: 1.35;
}

/* Contacts */
.contacts {
  background: #fff url("/assets/img/pattern.png");
  padding: 64px 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}
.contact-card {
  background: #0d6e86;
  color: #fff;
  border-radius: 14px;
  padding: 36px 22px 28px;
}
.contact-card h3 {
  margin: 16px 0 10px;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
}
.contact-card p, .contact-card a { color: #fff; text-decoration: none; line-height: 1.55; }
.socials a.ig { background: #111; }
.socials a.fb { background: #1877f2; }
.contact-card .ico { margin: 0 auto; color: var(--blue); border-color: var(--blue); }
.socials { display: flex; justify-content: center; gap: 10px; margin-top: 16px; }
.socials a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--blue);
  color: #fff;
}
.socials svg { width: 18px; height: 18px; fill: currentColor; }

.legal {
  background: var(--muted);
  color: #fff;
  text-align: center;
  padding: 12px 16px;
  font-size: 15px;
}

/* WhatsApp */
.wa-toggle {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 70;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--wa);
  color: #fff;
  border: 0;
  border-radius: 30px;
  padding: 12px 16px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,.2);
}
.wa-toggle svg { width: 22px; height: 22px; fill: #fff; }
.wa-box {
  display: none;
  position: fixed;
  right: 18px;
  bottom: 76px;
  width: 280px;
  background: #fff;
  z-index: 70;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.2);
}
.wa-box.is-open { display: block; }
.wa-box header {
  background: var(--wa);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
}
.wa-box header button { background: none; border: 0; color: #fff; font-size: 22px; cursor: pointer; }
.wa-box a {
  display: block;
  padding: 12px 14px;
  text-decoration: none;
  color: #555;
  border-bottom: 1px solid #f5f5f5;
}
.wa-box a:hover { background: #f5f5f5; }
.wa-box strong { display: block; color: #333; }
.wa-box span { font-size: 14px; }

/* Interior */
.page-hero {
  background: var(--teal);
  color: #fff;
  text-align: center;
  padding: 42px 16px 36px;
}
.page-hero h1 { margin: 8px 0 0; font-size: 36px; font-weight: 700; }
.prose {
  padding: 48px 0 64px;
}
.prose .content {
  max-width: 920px;
  margin: 0 auto;
}
.prose h2 { color: var(--blue); font-size: 28px; }
.prose img { margin: 16px auto; }
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.gallery a { display: block; }
.gallery img { width: 100%; height: 180px; object-fit: cover; }
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.88);
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(1100px, 100%); max-height: 88vh; width: auto; height: auto; }
.lightbox button {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
}

@media (max-width: 1024px) {
  .burger { display: grid; place-items: center; }
  .menu {
    display: none;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--nav);
  }
  .nav-row.is-open .menu { display: flex; }
  .menu > li > a, .menu > li > button { width: 100%; }
  .sub { position: static; display: none; }
  .has-sub.is-open > .sub { display: block; }
  .hero-copy { max-width: 83%; padding: 24px; }
  .hero-copy h2 { font-size: 32px; }
  .offer-card { flex-basis: calc((100% - 10px) / 2); min-height: 0; }
  .offer-wrap { max-width: none; }
  .offer-arrow.prev { left: 0; }
  .offer-arrow.next { right: 0; }
}

@media (max-width: 767px) {
  .topbar-grid { grid-template-columns: 1fr; min-height: 0; justify-items: center; }
  .top-contact { display: none; }
  .logo img { width: min(320px, 90%); }
  .hero { height: 460px; }
  .hero-copy { max-width: 100%; padding: 20px 48px 20px 20px; }
  .hero-copy h2 { font-size: 26px; }
  .hero-copy h3 { font-size: 18px; }
  .hero-copy ul { font-size: 15px; }
  .kicker, .offers .kicker { font-size: 12px; letter-spacing: 1.3px; }
  .section-title { font-size: 20px; }
  .offers .section-title { font-size: 20px; }
  .product-grid, .contact-grid, .partner-grid, .split, .gallery { grid-template-columns: 1fr; }
  .offer-card { flex-basis: 100%; }
  .partner-title { font-size: 1.6em; margin-left: 0; }
  .partner-quote p { font-size: 16px; }
  .wa-toggle span { display: none; }
}
