@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/inter-latin-500-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/inter-latin-600-normal.woff2") format("woff2");
}

:root {
  --bg-black: #060609;
  --bg-white: #ffffff;
  --brand-blue: #18153e;
  --brand-blue-rich: #241f5c;
  --brand-blue-border: #383282;
  --logo-bg: #141335;
  --text-light: #ffffff;
  --text-light-soft: rgba(255, 255, 255, 0.84);
  --text-dark: #060609;
  --container-max: 640px;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  background-color: var(--bg-black);
  color: var(--text-light);
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100svh;
  background-color: var(--bg-black);
  color: var(--text-light);
  font-family: inherit;
  font-weight: 400;
  font-style: normal;
  overflow-x: clip;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 100;
  padding: 12px 20px;
  border-radius: 14px;
  background: var(--brand-blue);
  color: var(--text-light);
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.skip-link:focus-visible {
  left: 16px;
}

/* Navbar flutuante */
.nav-shell {
  position: fixed;
  top: 12px;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.nav-bar {
  pointer-events: auto;
  width: min(92vw, var(--container-max));
  height: 54px;
  padding: 0 8px 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--bg-black);
  border-radius: 999px;
  border: 1px solid var(--brand-blue-border);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.16),
    0 14px 36px rgba(6, 6, 9, 0.45);
  opacity: 1;
  visibility: visible;
}

.nav-brand {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-light);
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1;
  padding: 8px 4px;
}

.nav-brand:focus-visible {
  outline: 2px solid var(--text-light);
  outline-offset: 2px;
  border-radius: 8px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.nav-icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-blue);
  color: var(--text-light);
  border: 1px solid var(--brand-blue-border);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  transition: transform 0.25s var(--ease-out-expo), background-color 0.25s var(--ease-out-expo);
}

@media (hover: hover) and (pointer: fine) {
  .nav-icon-btn:hover {
    transform: scale(1.04);
    background: var(--brand-blue-rich);
  }
}

.nav-icon-btn:focus-visible {
  outline: 2px solid var(--text-light);
  outline-offset: 2px;
}

.nav-icon-btn:active {
  transform: scale(0.96);
}

/* Container & sections */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

.section-dark {
  position: relative;
  background-color: var(--bg-black);
  color: var(--text-light);
}

.section-light {
  position: relative;
  background-color: var(--bg-white);
  color: var(--text-dark);
}

/* Hero */
.hero-section {
  padding-top: clamp(92px, 14vw, 120px);
  padding-bottom: clamp(72px, 12vw, 108px);
  overflow: hidden;
}

.hero-aura {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: min(110vw, 760px);
  height: 520px;
  background: radial-gradient(circle, rgba(24, 21, 62, 0.65) 0%, rgba(24, 21, 62, 0.2) 48%, rgba(6, 6, 9, 0) 74%);
  pointer-events: none;
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-logo-bubble {
  width: min(70vw, 380px);
  aspect-ratio: 1 / 1;
  border-radius: clamp(38px, 10vw, 56px);
  overflow: hidden;
  background-color: var(--logo-bg);
  padding: clamp(14px, 4vw, 22px);
  margin-bottom: clamp(22px, 4vw, 28px);
  box-shadow: 0 24px 60px rgba(24, 21, 62, 0.45);
}

.hero-logo-bubble img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-title {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 4.6vw, 2.25rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-light);
  text-align: center;
}

.hero-subtitle {
  margin: 0 0 clamp(26px, 5vw, 34px);
  max-width: 34ch;
  font-size: clamp(0.95rem, 2.8vw, 1.0625rem);
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-light-soft);
  text-align: center;
}

.hero-cta-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 3;
}

/* Transicoes continuas entre secoes */
.transition-band {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: clamp(52px, 8vw, 84px);
  pointer-events: none;
  z-index: 1;
}

.transition-dark-to-light {
  background: linear-gradient(180deg, rgba(6, 6, 9, 0) 0%, rgba(24, 21, 62, 0.14) 38%, rgba(255, 255, 255, 1) 100%);
}

.transition-light-to-dark {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(24, 21, 62, 0.14) 38%, rgba(6, 6, 9, 1) 100%);
}

/* Primary CTA + Shiny Sweep */
.btn-primary {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  min-height: 56px;
  padding: 14px 22px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(120deg, #18153e 0%, #272264 50%, #18153e 100%);
  color: var(--text-light);
  font-size: clamp(0.875rem, 3.6vw, 1rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  border: 1px solid var(--brand-blue-border);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.22),
    0 14px 32px rgba(24, 21, 62, 0.38);
  transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s var(--ease-out-expo);
}

.btn-label {
  white-space: nowrap;
}

.btn-icon {
  display: inline-flex;
  flex-shrink: 0;
}

.shiny-sweep::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(
    110deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.28) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: translateX(-160%);
  animation: sweep-glow 4.8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes sweep-glow {
  0% {
    transform: translateX(-160%);
  }
  42%,
  100% {
    transform: translateX(340%);
  }
}

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover {
    transform: scale(1.01);
    box-shadow:
      inset 0 0 0 1px rgba(255, 255, 255, 0.34),
      0 18px 40px rgba(24, 21, 62, 0.52);
  }
}

.btn-primary:focus-visible {
  outline: 2px solid var(--text-light);
  outline-offset: 3px;
}

.btn-primary:active {
  transform: scale(0.985);
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: clamp(24px, 4.5vw, 34px);
}

.section-title {
  margin: 0 0 8px;
  font-size: clamp(1.375rem, 4vw, 1.875rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--brand-blue);
  text-align: center;
}

.section-subtitle {
  margin: 0;
  font-size: clamp(0.9375rem, 2.6vw, 1rem);
  font-weight: 400;
  color: var(--text-dark);
  text-align: center;
}

.section-title-light {
  color: var(--text-light);
}

.section-subtitle-light {
  color: var(--text-light-soft);
}

/* Links Section */
.links-section {
  padding-top: clamp(44px, 8vw, 68px);
  padding-bottom: clamp(76px, 12vw, 112px);
  overflow: hidden;
}

.links-section .container {
  position: relative;
  z-index: 2;
}

.links-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.link-item {
  width: 100%;
}

.btn-link {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 56px;
  padding: 14px 18px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: clamp(0.875rem, 3.6vw, 1rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  transition:
    transform 0.28s var(--ease-out-expo),
    background-color 0.28s var(--ease-out-expo),
    color 0.28s var(--ease-out-expo),
    box-shadow 0.28s var(--ease-out-expo);
}

.btn-link-left {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.btn-link-left svg,
.btn-arrow {
  flex-shrink: 0;
}

.btn-link-primary {
  background: linear-gradient(120deg, #18153e 0%, #272264 50%, #18153e 100%);
  color: var(--text-light);
  border: 1px solid var(--brand-blue-border);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.22),
    0 12px 28px rgba(24, 21, 62, 0.28);
}

.btn-link-secondary {
  background-color: var(--bg-white);
  color: var(--brand-blue);
  border: 1.5px solid var(--brand-blue);
  box-shadow: 0 6px 20px rgba(24, 21, 62, 0.06);
}

@media (hover: hover) and (pointer: fine) {
  .btn-link-primary:hover {
    transform: scale(1.01);
    box-shadow:
      inset 0 0 0 1px rgba(255, 255, 255, 0.34),
      0 16px 36px rgba(24, 21, 62, 0.36);
  }

  .btn-link-secondary:hover {
    transform: scale(1.01);
    background-color: var(--brand-blue);
    color: var(--text-light);
    box-shadow: 0 12px 28px rgba(24, 21, 62, 0.22);
  }
}

.btn-link-primary:focus-visible,
.btn-link-secondary:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 3px;
}

.btn-link:active {
  transform: scale(0.985);
}

/* Selecao Prime Section */
.prime-section {
  padding-top: clamp(56px, 10vw, 88px);
  padding-bottom: clamp(84px, 13vw, 120px);
  overflow: hidden;
}

.prime-aura {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(100vw, 680px);
  height: 360px;
  background: radial-gradient(circle, rgba(24, 21, 62, 0.55) 0%, rgba(6, 6, 9, 0) 70%);
  pointer-events: none;
  z-index: 1;
}

.prime-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.prime-cta-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
}

/* Rodape */
.site-footer {
  padding-top: clamp(40px, 7vw, 60px);
  padding-bottom: clamp(44px, 8vw, 68px);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.footer-brand {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--brand-blue);
}

.footer-cities {
  margin: 0 0 12px;
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--text-dark);
}

.footer-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.footer-icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--brand-blue);
  color: var(--text-light);
  border: 1px solid var(--brand-blue);
  transition: transform 0.25s var(--ease-out-expo), background-color 0.25s var(--ease-out-expo);
}

@media (hover: hover) and (pointer: fine) {
  .footer-icon-btn:hover {
    transform: scale(1.05);
    background-color: var(--brand-blue-rich);
  }
}

.footer-icon-btn:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 3px;
}

.footer-icon-btn:active {
  transform: scale(0.96);
}

@media (min-width: 768px) {
  .nav-shell {
    top: 16px;
  }

  .nav-bar {
    height: 58px;
    padding: 0 10px 0 22px;
  }
}

@media (max-width: 379px) {
  .container {
    padding: 0 16px;
  }

  .btn-link,
  .btn-primary {
    padding: 12px 14px;
    gap: 8px;
    font-size: clamp(0.78rem, 3.6vw, 0.9375rem);
  }

  .btn-link-left {
    gap: 8px;
  }

  .btn-link-left svg,
  .btn-icon svg {
    width: 18px;
    height: 18px;
  }

  .btn-arrow {
    width: 16px;
    height: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .shiny-sweep::after {
    animation: none;
    opacity: 0;
  }

  .nav-icon-btn,
  .btn-primary,
  .btn-link,
  .footer-icon-btn {
    transition: none;
  }
}
