.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(8px);
  background: rgba(10, 16, 28, 0.8);
  border-bottom: 1px solid rgba(37, 50, 73, 0.85);
  box-shadow: inset 0 -1px 0 rgba(245, 203, 34, 0.12);
}

.header-content {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  width: auto;
  height: auto;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(140deg, var(--lg-blue) 0%, #5dd3ff 55%, var(--lg-blue-dark) 100%);
  color: #031325;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  box-shadow: 0 8px 22px rgba(37, 182, 255, 0.35);
}

.brand-text {
  font-size: 0.95rem;
  color: var(--lg-white);
}

.brand-logo {
  display: block;
  width: auto;
  height: 75px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.main-nav a {
  position: relative;
  font-weight: 600;
  color: #c9daf3;
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: #ffe18a;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, rgba(245, 203, 34, 0), rgba(245, 203, 34, 0.9), rgba(245, 203, 34, 0));
  transform: scaleX(0.2);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.main-nav a:hover::after {
  transform: scaleX(1);
  opacity: 1;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #101a2d;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #c9daf3;
  margin: 4px auto;
}

.hero {
  padding-top: 0;
  padding-bottom: 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(110deg, #071b36 0%, #0a2345 45%, #0b2443 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(245, 203, 34, 0.14), transparent 42%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 28% 16%, rgba(245, 203, 34, 0.11), transparent 34%),
    radial-gradient(circle at 78% 65%, rgba(38, 182, 255, 0.14), transparent 46%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
  align-items: center;
  position: relative;
  min-height: clamp(430px, 49vw, 560px);
  width: 100%;
  max-width: none;
  margin: 0;
}

.hero-grid > div:first-child {
  position: relative;
  z-index: 2;
  padding-top: clamp(1.8rem, 3.4vw, 2.6rem);
  padding-bottom: clamp(1.8rem, 3.4vw, 2.6rem);
  padding-right: clamp(1.2rem, 2.1vw, 2.2rem);
  padding-left: max(1rem, calc((100vw - var(--maxw)) / 2 + 1rem));
}

.hero-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(7, 20, 40, 0.92) 0%, rgba(8, 22, 42, 0.86) 36%, rgba(9, 23, 43, 0.46) 60%, rgba(10, 24, 44, 0.08) 84%);
  pointer-events: none;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.4rem;
}

.hero-actions .btn-secondary {
  background: linear-gradient(135deg, var(--lg-yellow) 0%, #ffd84c 100%);
  color: #2a2307;
  border-color: rgba(245, 203, 34, 0.65);
  box-shadow: 0 12px 30px rgba(245, 203, 34, 0.36);
}

.hero-actions .btn-secondary:hover {
  box-shadow: 0 14px 34px rgba(245, 203, 34, 0.5);
}

.hero-card {
  position: absolute;
  inset: 0;
  left: 36%;
  z-index: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  border: 0;
  box-shadow: none;
  opacity: 0.9;
}

.hero-card .placeholder-block {
  border-color: rgba(245, 203, 34, 0.42);
  border-style: solid;
  background:
    radial-gradient(circle at 20% 25%, rgba(245, 203, 34, 0.22), transparent 28%),
    radial-gradient(circle at 78% 68%, rgba(245, 203, 34, 0.14), transparent 30%),
    radial-gradient(circle at 72% 24%, rgba(38, 182, 255, 0.25), transparent 36%),
    linear-gradient(145deg, #17253e 0%, #10233f 55%, #122847 100%);
  color: #d6eaff;
  position: relative;
  overflow: hidden;
}

.hero-card .placeholder-block::before {
  content: "";
  position: absolute;
  inset: 14% 12%;
  border-radius: 999px;
  border: 1px solid rgba(245, 203, 34, 0.35);
  box-shadow: 0 0 0 18px rgba(38, 182, 255, 0.08), 0 0 0 38px rgba(245, 203, 34, 0.05);
}

.hero-card .placeholder-block::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -40px;
  top: -40px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 203, 34, 0.28), rgba(245, 203, 34, 0));
}

.hero h1 {
  text-shadow: 0 2px 18px rgba(37, 182, 255, 0.2);
  max-width: 18ch;
}

.hero .lead {
  color: #c0d0e8;
  max-width: 60ch;
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
  overflow: hidden;
  padding: 1.1rem 1.2rem 1.2rem;
  min-height: 260px;
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(38, 182, 255, 0.08), rgba(245, 203, 34, 0.04));
  pointer-events: none;
}

.product-card .btn {
  margin-top: auto;
  width: fit-content;
}

.product-content {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1rem;
  align-items: center;
}

.product-icon {
  width: 100%;
  max-width: 110px;
  aspect-ratio: 1;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.35));
}

.product-info {
  display: grid;
  gap: 0.38rem;
}

.product-subtitle {
  margin: -0.15rem 0 0.25rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #f4cb49;
}

.product-link {
  margin-top: 0.35rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 700;
  color: #f6d766;
}

.product-link:hover {
  color: #ffe89a;
}

.product-link::after {
  content: "→";
  font-size: 0.95rem;
}

.product-coming {
  margin-top: 0.35rem;
  font-weight: 700;
  color: #9ed8ff;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.8rem;
}

.product-tag {
  width: fit-content;
  padding: 0.28rem 0.62rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background: rgba(245, 203, 34, 0.2);
  color: #ffe28e;
  border: 1px solid rgba(245, 203, 34, 0.42);
}

.product-card:not(.soon) {
  border-color: rgba(245, 203, 34, 0.45);
  box-shadow: 0 14px 30px rgba(8, 13, 24, 0.45), inset 0 1px 0 rgba(245, 203, 34, 0.18);
}

.product-card.soon {
  border-color: rgba(72, 151, 220, 0.52);
  background: linear-gradient(170deg, rgba(23, 37, 63, 0.9) 0%, rgba(14, 25, 44, 0.92) 100%);
}

.product-card.soon h3 {
  color: #8bd6ff;
}

.product-card.soon .product-tag {
  background: rgba(38, 182, 255, 0.2);
  color: #b9eaff;
  border-color: rgba(38, 182, 255, 0.5);
}

.product-card.soon .product-subtitle {
  color: #79c8ff;
}

.card p {
  color: #c4d2e8;
}

.card h3 {
  color: #f2f7ff;
}

#o-que-fazemos .card,
#sobre .about-visual .placeholder-block {
  box-shadow: 0 14px 28px rgba(6, 12, 24, 0.42), inset 0 1px 0 rgba(245, 203, 34, 0.26), 0 0 0 1px rgba(245, 203, 34, 0.14);
}

#o-que-fazemos h2,
#sobre h2 {
  position: relative;
  width: fit-content;
}

#o-que-fazemos h2::after,
#sobre h2::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.35rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(245, 203, 34, 0.9), rgba(38, 182, 255, 0.7));
}

#o-que-fazemos .card {
  border-color: rgba(245, 203, 34, 0.22);
}

#sobre .about-visual .placeholder-block {
  border-color: rgba(245, 203, 34, 0.45);
}

.about-image {
  width: 100%;
  max-width: 420px;
  margin-inline: auto;
  border-radius: var(--radius);
  border: 1px solid rgba(245, 203, 34, 0.4);
  box-shadow: var(--shadow);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.4rem;
  align-items: center;
}

.contact-wrap {
  text-align: center;
  max-width: 760px;
}

.contact-wrap p {
  color: #c8d5ea;
}

.contact-wrap .btn-primary {
  background: linear-gradient(135deg, var(--lg-yellow) 0%, #ffd84c 100%);
  color: #2a2307;
  box-shadow: 0 10px 26px rgba(245, 203, 34, 0.28);
}

#produtos .product-card:not(.soon) .product-link {
  color: #f6d766;
}

.contact-wrap .btn-primary:hover {
  box-shadow: 0 12px 30px rgba(245, 203, 34, 0.4);
}

.btn-primary {
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0) 20%, rgba(255, 235, 173, 0.3) 50%, rgba(255, 255, 255, 0) 80%);
  transform: translateX(-120%);
  transition: transform 0.45s ease;
}

.btn-primary:hover::after {
  transform: translateX(120%);
}

.btn-secondary:hover {
  border-color: rgba(245, 203, 34, 0.45);
  box-shadow: 0 0 0 1px rgba(245, 203, 34, 0.18) inset;
}

#produtos .cards-grid {
  align-items: stretch;
}

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    background: #0f1728;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 0.75rem;
  }

  .main-nav a {
    width: 100%;
    padding: 0.25rem 0;
  }

  .main-nav.open {
    display: flex;
  }

  .hero,
  .hero-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
    gap: 1.1rem;
  }

  .hero-grid::before {
    background: linear-gradient(180deg, rgba(8, 16, 30, 0.92) 0%, rgba(10, 22, 40, 0.78) 44%, rgba(10, 24, 44, 0.38) 100%);
  }

  .hero-grid > div:first-child {
    max-width: none;
    padding: 1.25rem 1.1rem 0.3rem;
  }

  .product-card {
    min-height: unset;
    padding: 1rem;
  }

  .product-content {
    grid-template-columns: 84px 1fr;
    gap: 0.9rem;
    align-items: start;
  }

  .product-icon {
    max-width: 84px;
  }

  .hero-card {
    position: relative;
    inset: auto;
    left: auto;
    z-index: 0;
  }

  .hero {
    padding-top: 0;
    padding-bottom: 0;
  }

  .hero::before {
    background: radial-gradient(circle at 80% 18%, rgba(245, 203, 34, 0.18), transparent 46%);
  }

  .hero::after {
    background:
      radial-gradient(circle at 22% 12%, rgba(245, 203, 34, 0.14), transparent 36%),
      radial-gradient(circle at 76% 66%, rgba(38, 182, 255, 0.18), transparent 50%);
  }

  .hero-card .placeholder-block {
    min-height: 200px;
  }

  .brand-logo {
    height: 44px;
  }

  .hero-image {
    height: 230px;
    border-radius: 16px;
    border: 1px solid rgba(245, 203, 34, 0.32);
    box-shadow: var(--shadow);
    opacity: 1;
  }
}
