:root {
  --navy-900: #0a1a33;
  --navy-800: #0f2445;
  --navy-600: #1f4675;
  --yellow: #f7a800;
  --yellow-soft: #ffc23d;
  --white: #ffffff;
  --muted: #b9c7dc;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { height: 100%; }

body {
  font-family: 'Outfit', system-ui, sans-serif;
  color: var(--white);
  background: linear-gradient(180deg, var(--navy-600) 0%, var(--navy-800) 50%, var(--navy-900) 100%);
  overflow: hidden;
}

/* ===== FOTO DE FUNDO ===== */
.hero-photo {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(62vw, calc(100vh * 1360 / 1696 * 1.15));
  background: url("hero.jpg") center top / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 35%), linear-gradient(0deg, transparent 0%, #000 30%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0%, #000 35%), linear-gradient(0deg, transparent 0%, #000 30%);
  mask-composite: intersect;
  pointer-events: none;
  z-index: 0;
}

/* ===== ESTRUTURA (cabe em uma tela) ===== */
.page {
  position: relative;
  z-index: 1;
  height: 100vh;
  height: 100dvh;
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(16px, 3.5vh, 40px) clamp(16px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(10px, 2vh, 24px);
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo img {
  display: block;
  height: clamp(52px, 11vh, 104px);
  width: auto;
}

main {
  max-width: 620px;
}

.kicker {
  font-size: clamp(20px, min(3.6vh, 3vw), 36px);
  font-weight: 300;
  color: var(--yellow);
  margin-bottom: .1em;
}

h1 {
  font-weight: 800;
  font-size: clamp(52px, min(13vh, 10vw), 132px);
  line-height: .86;
  letter-spacing: -.03em;
  text-transform: uppercase;
}
h1 .y { color: var(--yellow); }

.lead {
  margin-top: clamp(12px, 2.6vh, 28px);
  font-size: clamp(16px, 2.3vh, 22px);
  max-width: 460px;
  color: #e6edf7;
  line-height: 1.3;
}

.services {
  list-style: none;
  margin-top: clamp(10px, 2.2vh, 24px);
  display: grid;
  gap: clamp(4px, .9vh, 10px);
}
.services li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(14px, 1.9vh, 17px);
  color: #dbe4f1;
}
.services li::before {
  content: "";
  width: 9px; height: 9px;
  background: var(--yellow);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* ===== CONTATO ===== */
.contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: clamp(12px, 1.9vh, 16px) 26px;
  background: var(--yellow);
  color: var(--navy-900);
  font-size: clamp(15px, 2vh, 18px);
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(247, 168, 0, .3);
  transition: transform .2s, background .2s, box-shadow .2s;
}
.btn-wa:hover {
  background: var(--yellow-soft);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(247, 168, 0, .45);
}
.btn-wa svg { width: 22px; height: 22px; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: clamp(9px, 1.5vh, 13px) 18px;
  border-radius: 999px;
  background: rgba(10, 26, 51, .55);
  border: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--white);
  font-size: clamp(13px, 1.7vh, 15px);
  text-decoration: none;
  transition: border-color .2s, background .2s;
}
.chip:hover {
  border-color: var(--yellow);
  background: rgba(247, 168, 0, .1);
}
.chip svg { width: 18px; height: 18px; color: var(--yellow); flex-shrink: 0; }

footer {
  font-size: 13px;
  color: var(--muted);
}

/* ===== TELAS BAIXAS: compacta ===== */
@media (max-height: 720px) and (min-width: 861px) {
  .services { display: none; }
}

/* ===== TABLET / CELULAR ===== */
@media (max-width: 860px) {
  .hero-photo {
    width: 100%;
    height: 62%;
    background-position: 70% top;
    opacity: .55;
    -webkit-mask-image: linear-gradient(0deg, transparent 0%, #000 55%);
    mask-image: linear-gradient(0deg, transparent 0%, #000 55%);
  }
  .page { justify-content: flex-start; }
  main { margin-top: auto; }
  header { align-items: flex-start; }
  .lead { max-width: none; }
  .contact { gap: 8px; }
  .btn-wa { width: 100%; justify-content: center; }
  .chip { flex: 1 1 auto; justify-content: center; }
  .chip .txt-long { display: none; }
  footer { text-align: center; }
}

@media (max-width: 860px) and (max-height: 760px) {
  .services { display: none; }
}

/* se a tela for realmente pequena, permite rolagem em vez de cortar conteúdo */
@media (max-height: 520px), (max-width: 860px) and (max-height: 600px) {
  body { overflow: auto; }
  .page { height: auto; min-height: 100dvh; }
}
