﻿/* ==============================
   Header fixo
================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--sep);
  z-index: 25;
  backdrop-filter: blur(14px);
}

.site-header.scrolled {
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.header-row {
  min-height: 78px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand img {
  width: 92px;
  height: 62px;
  object-fit: contain;
}

.brand strong {
  font-family: "Fraunces", serif;
  background: var(--dark);
  color: var(--light);
  padding: 6px 8px;
  border-radius: 8px;
}

.brand span {
  font-family: "Fraunces", serif;
  font-weight: 700;
}

/* ==============================
   Navegação desktop / mobile
================================ */
.nav-links {
  display: none;
  justify-content: center;
  gap: 8px;
}

.nav-links a {
  font-weight: 500;
  color: #4e4944;
  border-radius: 8px;
  padding: 9px 12px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover {
  background: #f2ebe4;
  color: var(--txt);
}

.header-cta {
  display: none;
}

.menu-btn {
  display: grid;
  gap: 4px;
  place-content: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  background: #fff;
  border: 1px solid var(--sep);
  border-radius: 8px;
  padding: 0;
  position: relative;
  z-index: 30;
  cursor: pointer;
}

.menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: #333;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-btn[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-btn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-btn[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.5);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 24;
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.mobile-menu-panel {
  margin-left: auto;
  width: min(340px, 88vw);
  height: 100%;
  background: #fff;
  padding: 96px 20px 28px;
  display: grid;
  gap: 10px;
  align-content: start;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.25s ease;
  box-shadow: -18px 0 42px rgba(0, 0, 0, 0.18);
}

.mobile-menu.active .mobile-menu-panel {
  transform: translateX(0);
}

.mobile-menu-panel a {
  padding: 13px 14px;
  border-bottom: 1px solid var(--sep);
  border-radius: 8px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 600;
}

.mobile-menu-panel a:not(.btn):hover {
  color: var(--accent);
  background: var(--bg);
}

.mobile-menu-panel .btn {
  margin-top: 8px;
  border: 0;
}

/* ==============================
   Hero
================================ */
.hero {
  position: relative;
  min-height: 96vh;
  display: grid;
  align-items: center;
  padding-top: 78px;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 22%, rgba(255, 122, 58, 0.22), transparent 30%),
    linear-gradient(90deg, rgba(18, 15, 12, 0.92) 0%, rgba(18, 15, 12, 0.78) 43%, rgba(18, 15, 12, 0.32) 100%),
    linear-gradient(0deg, rgba(18, 15, 12, 0.52), transparent 34%);
}

.hero-content h1 {
  font-family: "Fraunces", serif;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.04;
  color: #fff;
  margin: 0 0 14px;
  max-width: 820px;
  text-wrap: balance;
}

.hero-content em {
  color: var(--accent);
  font-style: italic;
}

.hero-sub {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.75);
  max-width: 650px;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.kicker {
  color: var(--accent);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
  padding-bottom: 5px;
  font-weight: 800;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  max-width: 780px;
}

.hero-proof span {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  min-height: 44px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(12px);
}

.hero-proof strong {
  color: #fff;
  font-family: "Fraunces", serif;
  font-size: 22px;
  line-height: 1;
}

.scroll-indicator {
  margin-top: 18px;
  color: #fff;
  opacity: 0.8;
  animation: bob 1.4s infinite;
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(6px);
  }
}

/* ==============================
   Layout de seções compostas
================================ */
.split {
  display: grid;
  gap: 24px;
}

.contact-split {
  display: grid;
  padding: 0;
  grid-template-columns: minmax(1rem, 1fr) minmax(0, 1200px) minmax(1rem, 1fr);
  background: var(--bg);
}

.contact-left,
.contact-right {
  padding: 56px 1rem;
}

.contact-left {
  background: var(--bg);
  grid-column: 2;
}

.contact-right {
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  grid-column: 2;
}

/* ==============================
   Footer
================================ */
footer {
  background: #11110e;
  color: #9e9a94;
  padding: 34px 0 24px;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  align-items: center;
}

.footer-dev {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: #fff;
}

.footer-dev-label {
  font-size: 22px;
  line-height: 1;
  color: #fff;
}

.footer-dev-brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
}

.footer-dev-brand img {
  width: auto;
  height: 50px;
  object-fit: contain;
}

@media (max-width: 767px) {
  .hero {
    min-height: 88vh;
    align-items: end;
    padding-bottom: 42px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(18, 15, 12, 0.28) 0%, rgba(18, 15, 12, 0.92) 58%, rgba(18, 15, 12, 0.98) 100%);
  }

  .hero-sub {
    margin-top: 0;
    font-size: 16px;
  }

  .hero-proof span {
    width: 100%;
  }

  .scroll-indicator {
    display: none;
  }

  .contact-split {
    background: var(--bg);
  }

  .contact-left,
  .contact-right {
    padding: 38px 1rem;
  }

  .contact-right {
    padding-top: 8px;
  }

  .footer-dev {
    flex-wrap: wrap;
  }

  .footer-dev-label {
    font-size: 18px;
  }

  .footer-dev-brand img {
    height: 40px;
  }
}

.copy {
  border-top: 1px solid #2a2a24;
  margin-top: 16px;
  padding-top: 12px;
}

/* ==============================
   Responsividade
================================ */
@media (min-width: 768px) {
  .header-row {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    gap: 18px;
  }

  .nav-links {
    display: flex;
  }

  .header-cta {
    display: inline-flex;
  }

  .menu-btn {
    display: none;
  }

  .mobile-menu {
    display: none;
  }

  .split {
    grid-template-columns: 3fr 2fr;
  }

  .contact-left,
  .contact-right {
    padding: 64px 32px;
  }

  .contact-left {
    grid-column: 2;
    grid-row: 1;
    padding-left: 0;
    width: 50%;
  }

  .contact-right {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    align-self: stretch;
    width: 50%;
    padding-left: 32px;
    padding-right: 0;
  }
}
