:root {
  color-scheme: dark;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #f7f9f9;
  background: #080b0d;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  --accent: #84d5e2;
  --muted: #b6c1c2;
  --gutter: clamp(24px, 5.2vw, 100px);
}

* { box-sizing: border-box; }
html { width: 100%; min-height: 100%; }
body {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
button[hidden] { display: none; }
::selection { color: #080b0d; background: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }

.skip-link {
  position: fixed;
  z-index: 10;
  top: 16px;
  left: var(--gutter);
  padding: 12px 18px;
  color: #080b0d;
  background: var(--accent);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.ambience {
  position: fixed;
  inset: 0;
  overflow: hidden;
  background: #080b0d url("assets/brevemente-poster.jpg") 65% center / cover no-repeat;
  pointer-events: none;
}
.ambience-video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% center;
  opacity: 0;
  transition: opacity 900ms ease;
}
.ambience-video.is-playing { opacity: 1; }
.ambience::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 11, 13, .98) 0%, rgba(8, 11, 13, .9) 28%, rgba(8, 11, 13, .54) 57%, rgba(8, 11, 13, .18) 100%),
    linear-gradient(0deg, rgba(8, 11, 13, .94) 0%, transparent 27%, transparent 72%, rgba(8, 11, 13, .65) 100%);
}

.page {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 0 var(--gutter);
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(20px, 4dvh, 40px) 0;
}
.brand { display: block; flex: 0 0 auto; width: 182px; }
.brand img { display: block; width: 100%; height: auto; }
.launch-status {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #d0d8d8;
  font-size: 11px;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.status-dot { width: 6px; height: 6px; flex: 0 0 auto; border-radius: 50%; background: var(--accent); box-shadow: 0 0 14px #84d5e244; }

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
  padding: clamp(20px, 4dvh, 58px) 0 clamp(24px, 5dvh, 78px);
}
.hero-content { width: 100%; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 clamp(12px, 2.6dvh, 28px);
  color: #d0d8d8;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  line-height: 1.6;
  text-transform: uppercase;
}
.eyebrow > span { width: 30px; height: 1px; background: var(--accent); }
h1 {
  margin: 0;
  font-size: clamp(64px, 7.1vw, 112px);
  font-size: clamp(48px, min(7.1vw, 11.5dvh), 112px);
  font-weight: 400;
  letter-spacing: -.065em;
  line-height: 1.04;
}
h1 > span { color: var(--accent); }
.intro {
  margin: clamp(16px, 3dvh, 30px) 0 0;
  color: var(--muted);
  font-size: clamp(15px, 1.2vw, 17px);
  font-weight: 400;
  line-height: 1.8;
}
.contact-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 26px; margin-top: clamp(20px, 3.4dvh, 34px); }
.contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 38px;
  min-height: 54px;
  padding: 0 22px;
  border: 1px solid #f7f9f9;
  border-radius: 3px;
  background: #f7f9f9;
  color: #080b0d;
  font-size: 13px;
  font-weight: 500;
  transition: background 180ms ease, border-color 180ms ease;
}
.contact-button svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.5; transition: transform 180ms ease; }
.contact-button:hover { background: var(--accent); border-color: var(--accent); }
.contact-button:hover svg { transform: translateX(3px); }
.email-link { padding: 12px 0; color: #d0d8d8; font-size: 13px; text-underline-offset: 5px; transition: color 180ms ease; }
.email-link:hover { color: var(--accent); text-decoration: underline; }
.scene-caption {
  position: absolute;
  right: 0;
  bottom: clamp(24px, 5dvh, 78px);
  padding-left: 18px;
  color: #d0d8d8;
  font-size: 12px;
  line-height: 1.7;
}
.scene-caption > span { position: absolute; top: 5px; bottom: 5px; left: 0; width: 1px; background: var(--accent); }

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(14px, 2.4dvh, 25px) 0;
  border-top: 1px solid rgba(220, 242, 239, .18);
  color: #aebbbb;
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: .025em;
}
.site-footer p { margin: 0; }
.footer-end { display: flex; align-items: center; gap: 28px; }
.motion-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 6px 0;
  border: 0;
  background: transparent;
  color: #aebbbb;
  cursor: pointer;
  font-size: 11px;
}
.motion-toggle:hover { color: var(--accent); }
.motion-toggle svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 1.3; }
.motion-toggle .play-icon, .motion-toggle.is-paused .pause-icon { display: none; }
.motion-toggle.is-paused .play-icon { display: block; }

@media (min-width: 1600px) {
  .ambience { background-position: center; }
  .ambience-video { object-position: center; }
}

@media (max-width: 900px) {
  .scene-caption { display: none; }
  .ambience::after {
    background:
      linear-gradient(90deg, rgba(8, 11, 13, .94), rgba(8, 11, 13, .73) 55%, rgba(8, 11, 13, .4)),
      linear-gradient(0deg, rgba(8, 11, 13, .94), transparent 40%, rgba(8, 11, 13, .3));
  }
}

@media (max-width: 600px) {
  .site-header { align-items: flex-start; padding: clamp(18px, 3.4dvh, 29px) 0; }
  .brand { width: 148px; }
  .launch-status { gap: 8px; max-width: 110px; font-size: 9px; letter-spacing: .05em; line-height: 1.6; }
  .status-dot { width: 5px; height: 5px; }
  .hero { padding: clamp(16px, 3dvh, 32px) 0; }
  .hero-content { width: 100%; }
  .eyebrow { margin-bottom: clamp(12px, 2.4dvh, 24px); font-size: 10px; }
  h1 { font-size: clamp(40px, min(12.1vw, 10.4dvh), 72px); letter-spacing: -.055em; line-height: 1.09; }
  .intro { max-width: 330px; margin-top: clamp(16px, 2.8dvh, 26px); font-size: 14px; line-height: 1.8; }
  .desktop-break { display: none; }
  .contact-actions { align-items: flex-start; flex-direction: column; gap: 6px; margin-top: clamp(16px, 2.8dvh, 28px); }
  .contact-button { min-height: 52px; gap: 44px; }
  .email-link { font-size: 12px; }
  .site-footer { align-items: flex-start; flex-direction: column; gap: 4px; padding: clamp(12px, 2.2dvh, 20px) 0; font-size: 10px; }
  .footer-end { width: 100%; justify-content: space-between; flex-direction: row-reverse; gap: 12px; }
  .motion-toggle { min-height: 32px; font-size: 10px; }
  .ambience { background-position: 62% center; }
  .ambience-video { object-position: 62% center; }
  .ambience::after {
    background:
      linear-gradient(90deg, rgba(8, 11, 13, .88), rgba(8, 11, 13, .55)),
      linear-gradient(0deg, rgba(8, 11, 13, .96), transparent 40%, rgba(8, 11, 13, .4));
  }
}

@media (min-width: 601px) and (max-height: 560px) {
  .site-header { padding: 18px 0; }
  .hero { padding: 12px 0 20px; }
  .hero-content { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(24px, 5vw, 80px); }
  .eyebrow { grid-column: 1 / -1; margin-bottom: 14px; }
  h1 { grid-column: 1; grid-row: 2 / span 2; font-size: clamp(40px, min(6.3vw, 13dvh), 68px); }
  .intro { grid-column: 2; grid-row: 2; align-self: end; margin: 0; font-size: 14px; }
  .desktop-break { display: none; }
  .contact-actions { grid-column: 2; grid-row: 3; align-self: start; gap: 4px 16px; margin-top: 16px; }
  .contact-button { min-height: 44px; gap: 24px; }
  .scene-caption { display: none; }
  .site-footer { padding: 10px 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

/* Identidade tipográfica: Urbanist (família do Avenir do logo), Black contra Thin itálico. */
:root { font-family: "Urbanist", "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif; }
h1 {
  font-size: clamp(60px, min(8.6vw, 13.5dvh), 150px);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: .94;
}
h1 > em, h1 > span {
  padding: 0 .06em .16em 0;
  background: linear-gradient(100deg, #84d5e2 0%, #eafcff 32%, #84d5e2 52%, #8f8cff 78%, #84d5e2 100%) 0 0 / 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
  font-weight: 200;
  letter-spacing: -.03em;
  animation: light-sweep 9s ease-in-out infinite alternate;
}
h1 > span { font-weight: 800; font-style: normal; letter-spacing: -.045em; }
@keyframes light-sweep { to { background-position: 100% 0; } }
.eyebrow, .launch-status { font-weight: 600; letter-spacing: .22em; }
.intro { color: #c4d0d1; }
.contact-button { border-radius: 999px; padding: 0 26px; font-weight: 700; transition: background 180ms ease, border-color 180ms ease, box-shadow 300ms ease; }
.contact-button:hover { box-shadow: 0 0 40px rgba(132, 213, 226, .45); }
.email-link { font-size: 15px; font-style: italic; font-weight: 300; }

.ambience-glow {
  position: fixed;
  inset: 0;
  background: radial-gradient(520px circle at var(--glow-x, 50%) var(--glow-y, 50%), rgba(132, 213, 226, .2), rgba(143, 140, 255, .06) 45%, transparent 70%);
  mix-blend-mode: screen;
  opacity: 0;
  pointer-events: none;
  transition: opacity 600ms ease;
}
.ambience-glow.is-active { opacity: 1; }

body::after {
  position: fixed;
  inset: 0;
  z-index: 5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .06;
  mix-blend-mode: overlay;
  content: "";
  pointer-events: none;
}

@keyframes rise-in { from { opacity: 0; transform: translateY(.4em); filter: blur(10px); } to { opacity: 1; transform: none; filter: none; } }
.eyebrow, h1, .intro, .contact-actions { animation: rise-in 1.1s cubic-bezier(.2, .7, .1, 1) both; }
h1 { animation-delay: .1s; }
.intro { animation-delay: .45s; }
.contact-actions { animation-delay: .6s; }

@media (max-width: 600px) {
  h1 { font-size: clamp(44px, min(12.6vw, 10dvh), 68px); letter-spacing: -.04em; line-height: .98; }
  .eyebrow, .launch-status { letter-spacing: .12em; }
}

@media (min-width: 601px) and (max-height: 560px) {
  h1 { font-size: clamp(40px, min(6.3vw, 13dvh), 68px); }
}

@media (prefers-reduced-motion: reduce) {
  .eyebrow, h1, .intro, .contact-actions, h1 > em, h1 > span { animation: none; }
}

/* O botão de WhatsApp sobe acima do rodapé (pausa do vídeo e copyright). */
body .wa-float { bottom: max(84px, calc(env(safe-area-inset-bottom) + 84px)); }
@media (max-width: 600px) { body .wa-float { bottom: max(96px, calc(env(safe-area-inset-bottom) + 96px)); } }
@media (min-width: 901px) { .scene-caption { bottom: calc(clamp(24px, 5dvh, 78px) + 84px); } }
