:root {
  /* Paleta Azul Baleia Premium & Neutros Frios */
  --brand-900: #081119;
  --brand-700: #0d1e2d;
  --brand-500: #1b3d59;
  --brand-300: #336e99;
  --accent-500: #225175;
  --ink-900: #060b10;
  --ink-700: #0f1922;
  --paper: #f2f6fa;
  --paper-muted: rgba(242, 246, 250, 0.72);

  /* Derivados OKLab */
  --veil-1: color-mix(in oklab, var(--brand-500) 25%, transparent);
  --veil-2: color-mix(in oklab, var(--accent-500) 20%, transparent);
  --edge: color-mix(in oklab, var(--paper) 15%, transparent);
  --edge-highlight: color-mix(in oklab, var(--paper) 28%, transparent);
  --glow: color-mix(in oklab, var(--brand-300) 45%, transparent);

  /* Tipografia */
  --ff-display: 'Montserrat', sans-serif;
  --ff-body: 'Montserrat', sans-serif;

  /* Escala Tipográfica */
  --fs-display: clamp(2.3rem, 6.5vw, 4.2rem);
  --fs-h2: clamp(1.7rem, 3.8vw, 2.7rem);
  --fs-h3: clamp(1.2rem, 2.2vw, 1.6rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.875rem;
  --fs-caps: 0.75rem;

  /* Espaçamentos & Layout */
  --container-max: 1140px;
  --container-bio: 640px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset Universal & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--ink-900);
  color: var(--paper);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--ff-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--paper);
  background-color: var(--ink-900);
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (max-width: 480px) {
  body {
    padding-bottom: 84px;
  }
}

/* Fundo Global Contínuo em Deriva Lenta (28s) */
.field {
  position: relative;
  background-color: var(--ink-900);
  background-image:
    radial-gradient(65% 50% at 15% 10%, var(--veil-1), transparent 72%),
    radial-gradient(55% 45% at 85% 32%, var(--veil-2), transparent 75%),
    radial-gradient(70% 60% at 50% 88%, var(--veil-1), transparent 75%);
  background-size: 150% 150%;
  animation: fieldDrift 28s ease-in-out infinite alternate;
}

@keyframes fieldDrift {
  0% { background-position: 0% 0%, 100% 0%, 50% 100%; }
  100% { background-position: 18% 12%, 82% 22%, 46% 92%; }
}

@media (prefers-reduced-motion: reduce) {
  .field {
    animation: none;
  }
}

/* Transições Fluidas de Véu entre Seções */
.section-wrap {
  position: relative;
  isolation: isolate;
  padding: clamp(64px, 8vw, 112px) 24px;
}

.section-wrap::before {
  content: "";
  position: absolute;
  inset: -1px 0 auto 0;
  height: clamp(120px, 20vh, 260px);
  background: linear-gradient(to bottom, var(--veil-1), transparent);
  pointer-events: none;
  z-index: -1;
}

.section-wrap--alt::before {
  background: linear-gradient(to bottom, var(--veil-2), transparent);
}

.container {
  width: 100%;
  max-width: var(--container-bio);
  margin-inline: auto;
}

.container--wide {
  max-width: var(--container-max);
}

/* Header & Navbar Minimalista */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  z-index: 800;
  display: flex;
  align-items: center;
  background: color-mix(in oklab, var(--ink-900) 80%, transparent);
  border-bottom: 1px solid var(--edge);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

@media (max-width: 640px) {
  .navbar {
    height: 56px;
  }
}

.navbar__inner {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--paper);
}

.brand__logo {
  height: 40px;
  width: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--edge-highlight);
}

.brand__name {
  font-family: var(--ff-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-link {
  font-size: var(--fs-small);
  color: var(--paper-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.25s ease;
}

.nav-link:hover {
  color: var(--paper);
}

.btn-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  height: 38px;
  border-radius: 999px;
  background: var(--brand-500);
  color: var(--paper);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--edge-highlight);
  transition: transform 0.25s var(--ease), background-color 0.25s ease;
}

.btn-nav:hover {
  transform: translateY(-1px);
  background: var(--brand-300);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--edge);
  color: var(--paper);
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .nav-desktop-only {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
}

/* Modal Menu Mobile Fullscreen */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: color-mix(in oklab, var(--ink-900) 96%, transparent);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 850;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 28px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}

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

.mobile-menu__close {
  position: absolute;
  top: 16px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--edge);
  background: transparent;
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-menu__link {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--paper);
  text-decoration: none;
  transition: color 0.2s ease;
}

.mobile-menu__link:hover {
  color: var(--brand-300);
}

/* Hero Section */
.hero {
  padding-top: clamp(96px, 14vh, 140px);
  padding-bottom: clamp(48px, 8vh, 80px);
  text-align: center;
}

.hero__caps {
  display: inline-block;
  font-size: var(--fs-caps);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--paper-muted);
  margin-bottom: 18px;
  opacity: 0.85;
}

.hero__title {
  font-family: var(--ff-display);
  font-size: var(--fs-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--paper);
  margin-bottom: 20px;
  text-wrap: balance;
}

.hero__sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.6;
  color: var(--paper-muted);
  max-width: 540px;
  margin-inline: auto;
  margin-bottom: 32px;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.hero__microcopy {
  font-size: 0.82rem;
  color: var(--paper-muted);
  letter-spacing: 0.02em;
}

.hero__footprint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  font-size: 0.78rem;
  color: var(--paper-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.75;
}

/* Botões com Efeito Shiny Sweep */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 28px;
  min-height: 54px;
  border-radius: var(--radius-md);
  font-family: var(--ff-display);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.28s var(--ease), box-shadow 0.28s ease, border-color 0.28s ease;
}

.btn-primary {
  background: var(--brand-500);
  color: #ffffff;
  border: 1px solid var(--edge-highlight);
  box-shadow: 0 12px 30px -10px var(--glow), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: skewX(-20deg);
  transition: left 0.75s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  border-color: var(--brand-300);
  box-shadow: 0 18px 40px -12px var(--glow), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-primary:hover::after {
  left: 160%;
}

.btn-block {
  width: 100%;
  max-width: 440px;
}

/* Bending Marquee Fluido */
.marquee-wrap {
  width: 100%;
  overflow: hidden;
  padding: 18px 0;
  border-block: 1px solid var(--edge);
  background: color-mix(in oklab, var(--brand-900) 40%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  animation: marqueeRun 24s linear infinite;
}

.marquee-wrap:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding-right: 20px;
  font-size: var(--fs-caps);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper-muted);
}

.marquee-sep {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--brand-300);
  display: inline-block;
}

@keyframes marqueeRun {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
    transform: none;
  }
}

/* Cards de Links (Bio Link Prime) */
.links-section {
  padding-top: clamp(48px, 7vw, 80px);
}

.links-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.link-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  min-height: 76px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--edge);
  background: color-mix(in oklab, var(--ink-700) 35%, transparent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  text-decoration: none;
  color: var(--paper);
  transition: transform 0.3s var(--ease), border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.link-card:hover {
  transform: translateY(-2px);
  border-color: var(--brand-300);
  background: color-mix(in oklab, var(--brand-700) 45%, transparent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 16px 36px -16px var(--glow);
}

.link-card__lead {
  display: flex;
  align-items: center;
  gap: 16px;
}

.link-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: color-mix(in oklab, var(--brand-500) 28%, transparent);
  color: var(--paper);
  flex-shrink: 0;
  border: 1px solid var(--edge);
}

.link-card__content {
  display: flex;
  flex-direction: column;
}

.link-card__title {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--paper);
}

.link-card__desc {
  font-size: 0.82rem;
  color: var(--paper-muted);
  line-height: 1.4;
}

.link-card__arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--edge);
  display: grid;
  place-items: center;
  color: var(--paper-muted);
  flex-shrink: 0;
  transition: transform 0.3s var(--ease), background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.link-card:hover .link-card__arrow {
  transform: translateX(3px) rotate(-45deg);
  background-color: var(--brand-500);
  border-color: var(--brand-300);
  color: #ffffff;
}

/* Card Invertido Featured */
.link-card--featured {
  background: var(--paper);
  color: var(--ink-900);
  border-color: transparent;
  box-shadow: 0 18px 45px -15px rgba(255, 255, 255, 0.25);
}

.link-card--featured .link-card__title {
  color: var(--ink-900);
  font-weight: 700;
}

.link-card--featured .link-card__desc {
  color: color-mix(in oklab, var(--ink-900) 70%, transparent);
}

.link-card--featured .link-card__icon {
  background: var(--ink-900);
  color: var(--paper);
  border-color: transparent;
}

.link-card--featured .link-card__arrow {
  border-color: color-mix(in oklab, var(--ink-900) 25%, transparent);
  color: var(--ink-900);
}

.link-card--featured:hover {
  background: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 22px 50px -15px rgba(255, 255, 255, 0.4);
}

.link-card--featured:hover .link-card__arrow {
  background-color: var(--ink-900);
  color: #ffffff;
}

/* Pilares / Contexto Real */
.section-header {
  text-align: center;
  margin-bottom: 32px;
}

.section-header__caps {
  display: inline-block;
  font-size: var(--fs-caps);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper-muted);
  margin-bottom: 10px;
}

.section-header__title {
  font-family: var(--ff-display);
  font-size: var(--fs-h2);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--paper);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 680px) {
  .pillars-grid {
    grid-template-columns: 1fr;
  }
}

.pillar-card {
  padding: 24px 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--edge);
  background: color-mix(in oklab, var(--brand-900) 30%, transparent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pillar-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: color-mix(in oklab, var(--brand-500) 25%, transparent);
  display: grid;
  place-items: center;
  color: var(--paper);
  border: 1px solid var(--edge);
}

.pillar-card__title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--paper);
}

.pillar-card__text {
  font-size: 0.9rem;
  color: var(--paper-muted);
  line-height: 1.5;
}

/* Dados em Bloco Próprio (Local & Horário) */
.data-block {
  padding: 24px 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--edge);
  background: color-mix(in oklab, var(--ink-700) 40%, transparent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

@media (max-width: 580px) {
  .data-block {
    flex-direction: column;
    align-items: flex-start;
  }
  .data-block .btn {
    width: 100%;
  }
}

.data-block__label {
  font-size: var(--fs-caps);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper-muted);
  margin-bottom: 6px;
}

.data-block__val {
  font-family: var(--ff-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--paper);
  letter-spacing: -0.01em;
}

.data-block__detail {
  font-size: 0.88rem;
  color: var(--paper-muted);
  margin-top: 4px;
}

/* FAQ em Acordeão Acessível */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border-radius: var(--radius-md);
  border: 1px solid var(--edge);
  background: color-mix(in oklab, var(--brand-900) 30%, transparent);
  overflow: hidden;
  transition: border-color 0.25s ease;
}

.faq-item.is-open {
  border-color: var(--brand-300);
}

.faq-trigger {
  width: 100%;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: transparent;
  border: none;
  color: var(--paper);
  font-family: var(--ff-display);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.faq-trigger:focus-visible {
  outline: 2px solid var(--brand-300);
  outline-offset: -2px;
}

.faq-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--paper-muted);
  transition: transform 0.3s var(--ease), color 0.3s ease;
}

.faq-item.is-open .faq-icon {
  transform: rotate(180deg);
  color: var(--paper);
}

.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s var(--ease);
}

.faq-item.is-open .faq-panel {
  grid-template-rows: 1fr;
}

.faq-panel__content {
  overflow: hidden;
  padding-inline: 20px;
  padding-bottom: 0;
  font-size: 0.92rem;
  color: var(--paper-muted);
  line-height: 1.55;
  transition: padding-bottom 0.3s var(--ease);
}

.faq-item.is-open .faq-panel__content {
  padding-bottom: 18px;
}

/* Rodapé Curto */
.footer {
  padding-block: 48px 36px;
  border-top: 1px solid var(--edge);
  text-align: center;
}

.footer__brand {
  font-family: var(--ff-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.footer__contact {
  font-size: 0.9rem;
  color: var(--paper-muted);
  margin-bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.footer__link {
  color: var(--paper-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer__link:hover {
  color: var(--paper);
}

.footer__copy {
  font-size: 0.8rem;
  color: color-mix(in oklab, var(--paper) 45%, transparent);
}

/* WhatsApp Flutuante Obrigatório */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: max(20px, env(safe-area-inset-bottom));
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25D366;
  color: #ffffff;
  z-index: 900;
  text-decoration: none;
  box-shadow: 0 12px 32px -8px rgba(37, 211, 102, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s;
}

.wa-float svg {
  width: 26px;
  height: 26px;
}

.wa-float:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 16px 36px -6px rgba(37, 211, 102, 0.7);
}

.wa-float:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

@media (max-width: 480px) {
  .wa-float {
    width: 54px;
    height: 54px;
    right: 16px;
  }
}

@media print {
  .wa-float {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wa-float {
    transition: none;
  }
  .btn, .link-card, .link-card__arrow {
    transition: none;
  }
}
