/* ==========================================================================
   Diário do Gestor de Vendas — Link de Bio Cinematográfico
   Paleta oficial: #0A192F (55%), #F8FAFC (35%), #F59E0B (máx. 10%)
   Sem glassmorphism, sem texto laranja em fundo claro, sem preto puro no claro.
   Fusão curada das 3 referências em 00_site de ref:
   - Ateevibes: colagem tátil, easing exponencial, stroke drawing
   - Auralis: fundo vivo full-bleed, light leaks orgânicos, blur-to-sharp reveal
   - Nexus: flashlight glow na borda (.glow-card) e trilhas SVG âmbar
   ========================================================================== */

:root {
  --navy: #0a192f;
  --navy-deep: #06101f;
  --navy-surface: rgba(10, 25, 47, 0.82);
  --navy-surface-strong: rgba(10, 25, 47, 0.86);
  --navy-muted: rgba(10, 25, 47, 0.72);
  --navy-line: rgba(10, 25, 47, 0.16);
  --paper: #f8fafc;
  --paper-soft: #eef2f7;
  --paper-muted: rgba(248, 250, 252, 0.78);
  --paper-line: rgba(248, 250, 252, 0.18);
  --amber: #f59e0b;
  --amber-hover: #fbbf24;

  --ease-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);

  --font-display: 'Sofia Sans Extra Condensed', sans-serif;
  --font-editorial: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100svh;
  background-color: var(--navy-deep);
  color: var(--paper);
  font-family: var(--font-body);
  line-height: 1.5;
  position: relative;
  overflow-x: clip;
}

/* ==========================================================================
   CENA CINEMATOGRÁFICA VIVA (DUAL-FRAME CINEMAGRAPH: ESCREVENDO + VIRANDO PÁGINA)
   ========================================================================== */
.cinema {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background-color: var(--navy-deep);
}

.cinema__parallax {
  position: absolute;
  inset: -4%;
  will-change: transform;
  transition: transform 0.7s var(--ease-out);
}

.cinema__frame {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: 50% 46%;
  will-change: transform, opacity;
  filter: brightness(1.08) contrast(1.08) saturate(1.04);
}

.cinema__frame--write {
  background-image: url('assets/diary-write.jpg');
  animation: diary-write-loop 10s ease-in-out infinite;
}

.cinema__frame--turn {
  background-image: url('assets/diary-turn.jpg');
  opacity: 0;
  animation: diary-turn-loop 10s ease-in-out infinite;
}

/* Crossfade vivo + Ken Burns perceptível entre mãos escrevendo e virando a página */
@keyframes diary-write-loop {
  0% {
    opacity: 1;
    transform: scale(1.02) translate3d(0%, 0%, 0);
  }
  38% {
    opacity: 1;
    transform: scale(1.09) translate3d(-1.6%, -0.9%, 0);
  }
  52% {
    opacity: 0;
    transform: scale(1.11) translate3d(-2%, -1.1%, 0);
  }
  88% {
    opacity: 0;
    transform: scale(1.02) translate3d(0.8%, 0.4%, 0);
  }
  100% {
    opacity: 1;
    transform: scale(1.02) translate3d(0%, 0%, 0);
  }
}

@keyframes diary-turn-loop {
  0%,
  36% {
    opacity: 0;
    transform: scale(1.03) translate3d(1.4%, 0.6%, 0);
  }
  50% {
    opacity: 1;
    transform: scale(1.05) translate3d(0.5%, 0.2%, 0);
  }
  86% {
    opacity: 1;
    transform: scale(1.11) translate3d(-1.4%, -0.9%, 0);
  }
  100% {
    opacity: 0;
    transform: scale(1.12) translate3d(-1.7%, -1.1%, 0);
  }
}

/* Scrim leve e direcional: deixa as mãos, a caneta e o diário 100% legíveis e nítidos */
.cinema__scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 68% 58% at 50% 42%, rgba(10, 25, 47, 0.06) 0%, rgba(10, 25, 47, 0.36) 72%, rgba(6, 16, 31, 0.72) 100%),
    linear-gradient(180deg, rgba(10, 25, 47, 0.34) 0%, rgba(10, 25, 47, 0.14) 36%, rgba(6, 16, 31, 0.66) 100%);
}

/* Soft light leaks orgânicos (Auralis + luz de abajur âmbar do manual) */
.cinema__leak {
  position: absolute;
  border-radius: 50%;
  filter: blur(84px);
  mix-blend-mode: screen;
  will-change: transform, opacity;
}

.cinema__leak--amber {
  width: min(74vw, 520px);
  height: min(74vw, 520px);
  top: -120px;
  left: -120px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.24) 0%, rgba(245, 158, 11, 0.05) 52%, transparent 74%);
  animation: leak-amber 16s ease-in-out infinite alternate;
}

.cinema__leak--navy {
  width: min(84vw, 580px);
  height: min(84vw, 580px);
  bottom: -160px;
  right: -120px;
  background: radial-gradient(circle, rgba(35, 84, 156, 0.32) 0%, rgba(10, 25, 47, 0.1) 56%, transparent 75%);
  animation: leak-navy 20s ease-in-out infinite alternate;
}

@keyframes leak-amber {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.68;
  }
  50% {
    transform: translate3d(56px, 44px, 0) scale(1.12);
    opacity: 0.96;
  }
  100% {
    transform: translate3d(24px, 90px, 0) scale(0.95);
    opacity: 0.74;
  }
}

@keyframes leak-navy {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.6;
  }
  100% {
    transform: translate3d(-48px, -64px, 0) scale(1.1);
    opacity: 0.92;
  }
}

/* Trilhas sutis de tinta luminosa (Nexus adaptado para o caderno) */
.cinema__trails {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.75;
}

/* Grão de filme 35mm */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  opacity: 0.14;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* ==========================================================================
   FLASHLIGHT GLOW NOS CARTÕES E BOTÕES (INSPIRADO EM NEXUS, EM #F59E0B)
   ========================================================================== */
.glow-card {
  position: relative;
}

.glow-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    360px circle at var(--gx, -500px) var(--gy, -500px),
    rgba(245, 158, 11, 0.16),
    transparent 48%
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
  z-index: 1;
}

.glow-card::after {
  content: '';
  position: absolute;
  inset: -1.5px;
  border-radius: inherit;
  padding: 1.5px;
  background: radial-gradient(
    240px circle at var(--gx, -500px) var(--gy, -500px),
    rgba(245, 158, 11, 0.92),
    transparent 52%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
  z-index: 3;
}

.glow-card:hover::before,
.glow-card:hover::after {
  opacity: 1;
}

/* ==========================================================================
   ESTRUTURA DE PÁGINA (MOBILE-FIRST -> PC CINEMATOGRÁFICO EM 2 COLUNAS)
   ========================================================================== */
.page {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  min-height: 100dvh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: clamp(104px, 16svh, 152px) 16px calc(28px + env(safe-area-inset-bottom, 0px));
  transition: filter 0.36s var(--ease-expo), transform 0.42s var(--ease-expo);
}

.cinema {
  transition: filter 0.36s var(--ease-expo), transform 0.42s var(--ease-expo);
}

/* Quando o Sobre (ou qualquer modal) sobe por cima, a parte de baixo fica desfocada */
body.is-sheet-open .page {
  filter: blur(8px) brightness(0.68);
  transform: scale(0.988);
  pointer-events: none;
}

body.is-sheet-open .cinema {
  filter: blur(10px) brightness(0.6);
}

.topbar {
  display: none;
}

.shell {
  width: 100%;
  max-width: 480px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    'profile'
    'links'
    'ticker'
    'utility';
  gap: 16px;
}

.profile {
  grid-area: profile;
}

.links {
  grid-area: links;
}

.ticker {
  grid-area: ticker;
}

.utility {
  grid-area: utility;
}

.links__header {
  display: none;
}

/* ==========================================================================
   1. CABEÇALHO DE IDENTIFICAÇÃO + REVEAL COM FOCO ÓPTICO (AURALIS + ATEEVIBES)
   ========================================================================== */
.profile {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 14px 18px;
  align-items: center;
  padding: 18px 18px 18px;
  border-radius: 22px;
  background-color: var(--navy-surface);
  border: 1px solid rgba(248, 250, 252, 0.16);
}

.profile__stage {
  position: relative;
  width: 90px;
  height: 110px;
}

.profile__paper-back {
  position: absolute;
  inset: 3px;
  border-radius: 14px;
  background-color: var(--paper);
  opacity: 0;
  transform: translate(-24px, 16px) rotate(-10deg) scale(0.86);
  transition: transform 1.05s var(--ease-expo), opacity 0.65s ease;
}

.is-assembled .profile__paper-back {
  opacity: 0.92;
  transform: translate(-4px, 4px) rotate(-3.5deg) scale(1);
}

.profile__photo-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 14px;
  border: 1.5px solid rgba(248, 250, 252, 0.38);
  background-color: var(--paper-soft);
  box-shadow: 0 14px 32px rgba(4, 10, 20, 0.5);
  opacity: 0;
  transform: translate(18px, -16px) rotate(4deg) scale(0.9);
  transition: transform 1.1s var(--ease-expo) 0.08s, opacity 0.7s ease 0.08s;
}

.is-assembled .profile__photo-wrap {
  opacity: 1;
  transform: none;
}

.profile__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
  display: block;
  filter: contrast(1.04);
  transition: transform 0.65s var(--ease-expo);
}

.profile__stage:hover .profile__photo {
  transform: scale(1.05);
}

.profile__meta {
  min-width: 0;
}

.line-mask {
  display: block;
  overflow: hidden;
}

/* Entrada saindo do desfoque (Auralis + Nexus) + subida exponencial (Ateevibes) */
[data-rise] {
  display: inline-block;
  opacity: 0;
  filter: blur(8px);
  transform: translateY(105%);
  transition:
    transform 0.92s var(--ease-expo),
    opacity 0.65s ease,
    filter 0.75s ease;
}

.is-assembled [data-rise] {
  opacity: 1;
  filter: blur(0px);
  transform: none;
}

.profile__tag {
  font-size: clamp(9.5px, 2.7vw, 11px);
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--amber);
  margin-bottom: 4px;
  overflow-wrap: anywhere;
}

.profile__brand {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(32px, 8.2vw, 40px);
  line-height: 0.91;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--paper);
}

.profile__name {
  font-family: var(--font-editorial);
  font-style: italic;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.25;
  color: var(--paper-muted);
  margin-top: 5px;
}

.signature-stroke {
  display: block;
  width: 142px;
  height: 10px;
  margin-top: 6px;
  overflow: visible;
}

.draw-path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 0.95s var(--ease-expo) 0.48s;
}

.is-assembled .draw-path {
  stroke-dashoffset: 0;
}

.profile__credential {
  grid-column: 1 / -1;
  padding-top: 12px;
  border-top: 1px solid rgba(248, 250, 252, 0.12);
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--paper-muted);
}

[data-fade] {
  opacity: 0;
  transform: translateY(10px);
  transition: transform 0.75s var(--ease-out) 0.36s, opacity 0.6s ease 0.36s;
}

.is-assembled [data-fade] {
  opacity: 1;
  transform: none;
}

.profile__credential strong {
  color: var(--paper);
  font-weight: 500;
}

/* ==========================================================================
   2 a 5. BOTÕES ARREDONDADOS CINÉTICOS + FLASHLIGHT GLOW
   ========================================================================== */
.links {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

[data-stagger] {
  opacity: 0;
  filter: blur(6px);
  transform: translateY(24px);
  transition:
    opacity 0.72s var(--ease-out),
    filter 0.65s ease,
    transform 0.76s var(--ease-expo),
    background-color 0.24s ease,
    border-color 0.24s ease,
    box-shadow 0.28s var(--ease-out);
}

.is-assembled [data-stagger] {
  opacity: 1;
  filter: blur(0px);
  transform: translate3d(var(--mx, 0px), var(--my, 0px), 0);
}

.is-ready [data-stagger] {
  transition:
    transform 0.24s var(--ease-expo),
    background-color 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.24s var(--ease-out);
}

.link-card {
  position: relative;
  overflow: hidden;
  width: 100%;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 13px;
  padding: 16px 18px;
  border-radius: 20px;
  text-align: left;
  font-family: var(--font-body);
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  border: 1.5px solid transparent;
  isolation: isolate;
}

.link-card:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

.link-card:hover {
  transform: translate3d(var(--mx, 0px), calc(var(--my, 0px) - 2px), 0);
}

.link-card:active {
  transform: translate3d(var(--mx, 0px), var(--my, 0px), 0) scale(0.985);
  transition-duration: 0.08s;
}

.link-card__index,
.link-card__body,
.link-card__arrow {
  position: relative;
  z-index: 2;
}

.link-card__index {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  line-height: 1;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  transition: transform 0.34s var(--ease-expo), background-color 0.24s ease, color 0.24s ease;
}

.link-card:hover .link-card__index {
  transform: scale(1.08);
}

.link-card__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.link-card__eyebrow {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(10, 25, 47, 0.78);
  margin-bottom: 2px;
}

.link-card__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 23px;
  line-height: 1;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  transition: transform 0.32s var(--ease-expo);
}

.link-card:hover .link-card__title {
  transform: translateX(3px);
}

.link-card__sub {
  font-size: 12.5px;
  line-height: 1.35;
}

/* Seta dupla cinética */
.link-card__arrow {
  width: 20px;
  height: 20px;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.link-card__arrow svg {
  position: absolute;
  width: 18px;
  height: 18px;
  transition: transform 0.36s var(--ease-expo), opacity 0.25s ease;
}

.link-card__arrow .arrow-main {
  transform: translate(0, 0);
}

.link-card__arrow .arrow-echo {
  transform: translate(-120%, 0);
  opacity: 0;
}

.link-card:hover .link-card__arrow .arrow-main {
  transform: translate(120%, 0);
  opacity: 0;
}

.link-card:hover .link-card__arrow .arrow-echo {
  transform: translate(0, 0);
  opacity: 1;
}

.link-card__arrow--diag .arrow-echo {
  transform: translate(-110%, 110%);
}

.link-card:hover .link-card__arrow--diag .arrow-main {
  transform: translate(110%, -110%);
  opacity: 0;
}

.link-card:hover .link-card__arrow--diag .arrow-echo {
  transform: translate(0, 0);
  opacity: 1;
}

/* Link 1 — CTA Principal (único bloco âmbar, texto navy) */
.link-card--primary {
  background-color: var(--amber);
  color: var(--navy);
  border-color: var(--amber);
  padding: 18px 18px;
  box-shadow: 0 12px 32px rgba(245, 158, 11, 0.28);
}

.link-card--primary:hover {
  background-color: var(--amber-hover);
  border-color: var(--amber-hover);
  box-shadow: 0 18px 42px rgba(245, 158, 11, 0.38);
}

.link-card--primary::before {
  background: radial-gradient(
    320px circle at var(--gx, -500px) var(--gy, -500px),
    rgba(255, 255, 255, 0.32),
    transparent 50%
  );
}

.link-card--primary::after {
  background: radial-gradient(
    220px circle at var(--gx, -500px) var(--gy, -500px),
    rgba(255, 255, 255, 0.85),
    transparent 55%
  );
}

.link-card--primary .link-card__index {
  background-color: var(--navy);
  color: var(--paper);
}

.link-card--primary .link-card__sub {
  color: rgba(10, 25, 47, 0.86);
  font-weight: 500;
}

.link-card__sheen {
  position: absolute;
  inset: -40% auto -40% -55%;
  width: 38%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.44) 50%,
    transparent 100%
  );
  transform: skewX(-24deg);
  animation: cta-sheen 5.4s var(--ease-expo) infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes cta-sheen {
  0%,
  66% {
    left: -55%;
  }
  100% {
    left: 132%;
  }
}

/* Cortina editorial de hover (wipe da esquerda para direita) */
.link-card__wipe {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-color: var(--paper-soft);
  border-left: 4px solid var(--amber);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.42s var(--ease-expo);
  z-index: 1;
}

.link-card:hover .link-card__wipe {
  transform: scaleX(1);
}

.link-card__wipe--dark {
  background-color: rgba(245, 158, 11, 0.1);
  border-left: 3px solid var(--amber);
}

/* Links 2 e 3 — Secundários B2B (Branco Gelo #F8FAFC + Navy #0A192F) */
.link-card--paper {
  background-color: var(--paper);
  color: var(--navy);
  border-color: var(--paper);
  box-shadow: 0 10px 28px rgba(4, 11, 22, 0.34);
}

.link-card--paper:hover {
  border-color: var(--amber);
  box-shadow: 0 16px 34px rgba(4, 11, 22, 0.48);
}

.link-card__index--pill {
  background-color: var(--amber);
  color: var(--navy);
}

.link-card--paper:hover .link-card__index--pill {
  background-color: var(--navy);
  color: var(--paper);
}

.link-card--paper .link-card__sub {
  color: var(--navy-muted);
}

/* Link 4 — Retenção / Comunidade (Superfície Navy Escura + Flashlight Glow) */
.link-card--outline {
  background-color: var(--navy-surface);
  color: var(--paper);
  border-color: rgba(248, 250, 252, 0.22);
  box-shadow: 0 10px 28px rgba(4, 11, 22, 0.34);
}

.link-card--outline:hover {
  border-color: rgba(245, 158, 11, 0.65);
}

.link-card--outline .link-card__sub {
  color: var(--paper-muted);
}

.link-card__index--accent {
  color: var(--amber);
  border: 1px solid rgba(245, 158, 11, 0.48);
}

.link-card--outline:hover .link-card__index--accent,
.link-card--subtle:hover .link-card__index--accent {
  background-color: var(--amber);
  color: var(--navy);
  border-color: var(--amber);
}

/* Link 5 — Sobre o Jonas (abre o painel Sobre por cima com fundo desfocado) */
.link-card--subtle {
  background-color: rgba(10, 25, 47, 0.78);
  color: var(--paper);
  border-color: rgba(248, 250, 252, 0.16);
  padding: 14px 18px;
  box-shadow: 0 10px 28px rgba(4, 11, 22, 0.32);
}

.link-card--subtle:hover {
  border-color: rgba(245, 158, 11, 0.65);
}

.link-card--subtle .link-card__title {
  font-size: 21px;
}

.link-card--subtle .link-card__sub {
  color: var(--paper-muted);
}

/* ==========================================================================
   PAINEL SOBRE (SOBE POR CIMA COM FUNDO DESFOCADO — VISUAL EDITORIAL ESCURO)
   ========================================================================== */
.about-sheet {
  margin: auto;
  width: min(92vw, 540px);
  max-height: 86svh;
  border: 1px solid rgba(245, 158, 11, 0.36);
  border-radius: 24px;
  background: linear-gradient(180deg, #0d203d 0%, #081528 100%);
  color: var(--paper);
  padding: 0;
  overflow: hidden;
  box-shadow: 0 32px 90px rgba(2, 8, 18, 0.85);
  opacity: 0;
  transform: translateY(44px) scale(0.97);
  transition:
    opacity 0.3s ease,
    transform 0.46s var(--ease-expo),
    overlay 0.3s ease allow-discrete,
    display 0.3s ease allow-discrete;
}

.about-sheet[open] {
  opacity: 1;
  transform: none;
}

@starting-style {
  .about-sheet[open] {
    opacity: 0;
    transform: translateY(44px) scale(0.97);
  }
}

.about-sheet::backdrop {
  background: rgba(6, 16, 31, 0);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  transition:
    background-color 0.34s ease,
    backdrop-filter 0.34s ease,
    overlay 0.34s ease allow-discrete,
    display 0.34s ease allow-discrete;
}

.about-sheet[open]::backdrop {
  background: rgba(6, 16, 31, 0.56);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

@starting-style {
  .about-sheet[open]::backdrop {
    background: rgba(6, 16, 31, 0);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
  }
}

.about-sheet__inner {
  display: flex;
  flex-direction: column;
  max-height: 86svh;
  padding: 22px 24px 20px;
  gap: 18px;
}

.about-sheet__head-right {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.about-sheet__close {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border: 1px solid rgba(248, 250, 252, 0.2);
  border-radius: 10px;
  background: rgba(248, 250, 252, 0.04);
  color: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.24s var(--ease-expo);
}

.about-sheet__close:hover {
  background-color: var(--amber);
  border-color: var(--amber);
  color: var(--navy);
  transform: rotate(90deg);
}

.about-sheet__close svg {
  width: 16px;
  height: 16px;
}

.about-sheet__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
}

.about-sheet__foot {
  padding-top: 6px;
  border-top: 1px solid rgba(248, 250, 252, 0.12);
  display: flex;
  justify-content: flex-end;
}

.about-sheet__done {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(248, 250, 252, 0.22);
  background: rgba(248, 250, 252, 0.05);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.about-sheet__done:hover {
  background-color: var(--amber);
  border-color: var(--amber);
  color: var(--navy);
}

.about__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.about__label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--amber);
  text-transform: uppercase;
}

.about__icon {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background-color: rgba(245, 158, 11, 0.16);
  border: 1px solid rgba(245, 158, 11, 0.36);
  color: var(--amber);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.about__icon svg {
  width: 15px;
  height: 15px;
}

.about__pill {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, 0.64);
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(248, 250, 252, 0.18);
  white-space: nowrap;
}

.about__lead {
  position: relative;
  padding-left: 16px;
  font-size: 15.5px;
  line-height: 1.58;
  color: var(--paper);
}

.about__lead::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  bottom: 3px;
  width: 2.5px;
  border-radius: 2px;
  background-color: var(--amber);
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform 0.72s var(--ease-expo) 0.18s;
}

.about-sheet[open] .about__lead::before {
  transform: scaleY(1);
}

.about__text {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(248, 250, 252, 0.72);
}

.about__text strong {
  color: rgba(248, 250, 252, 0.95);
  font-weight: 500;
}

.about__closing {
  font-size: 14.5px;
  line-height: 1.58;
  color: var(--paper);
}

.about__closing strong {
  color: var(--amber);
  font-weight: 600;
}

/* ==========================================================================
   FAIXA LETREIRO DISCRETA (INSPIRADA EM ATEEVIBES .mq-b, NA PALETA OFICIAL)
   ========================================================================== */
.ticker {
  width: 100%;
  overflow: hidden;
  padding: 9px 0;
  border-radius: 999px;
  background-color: rgba(10, 25, 47, 0.78);
  border: 1px solid rgba(248, 250, 252, 0.14);
  mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
}

.ticker__row {
  display: flex;
  width: max-content;
}

.ticker__track {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 28px;
  padding-right: 28px;
  animation: ticker-scroll 28s linear infinite;
  will-change: transform;
}

.ticker:hover .ticker__track {
  animation-play-state: paused;
}

@keyframes ticker-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

.ticker__item {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, 0.78);
  white-space: nowrap;
}

.ticker__item strong {
  font-weight: 700;
  color: var(--amber);
}

.ticker__sep {
  width: 1px;
  height: 11px;
  background-color: rgba(245, 158, 11, 0.5);
  flex: 0 0 auto;
}

/* ==========================================================================
   7. BARRA DE LOGOS DAS REDES SOCIAIS
   ========================================================================== */
.utility {
  padding-top: 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.utility__links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.social-logo {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
  transition: transform 0.3s var(--ease-expo), filter 0.25s ease, opacity 0.2s ease;
}

.social-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.social-logo:hover,
.social-logo:focus-visible {
  transform: translateY(-4px) scale(1.1);
  filter: drop-shadow(0 10px 18px rgba(4, 11, 22, 0.55));
  outline: none;
}

.social-logo:focus-visible {
  box-shadow: 0 0 0 2px var(--amber);
}

.social-logo:active {
  transform: translateY(-1px) scale(0.98);
}

.social-logo.is-pending {
  opacity: 0.68;
}

.utility__foot {
  text-align: center;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: rgba(248, 250, 252, 0.56);
}

/* ==========================================================================
   MODAL / FOLHA DO DIÁRIO (FUNDO BRANCO GELO #F8FAFC + TEXTO NAVY #0A192F)
   ========================================================================== */
.sheet {
  margin: auto;
  width: min(92vw, 520px);
  max-height: 86svh;
  border: 1.5px solid var(--navy);
  border-radius: 22px;
  background-color: var(--paper);
  color: var(--navy);
  padding: 0;
  overflow: hidden;
  box-shadow: 0 28px 72px rgba(4, 12, 24, 0.72);
  opacity: 0;
  transform: translateY(24px) scale(0.97);
  transition:
    opacity 0.28s ease,
    transform 0.42s var(--ease-expo),
    overlay 0.28s ease allow-discrete,
    display 0.28s ease allow-discrete;
}

.sheet[open] {
  opacity: 1;
  transform: none;
}

@starting-style {
  .sheet[open] {
    opacity: 0;
    transform: translateY(24px) scale(0.97);
  }
}

.sheet::backdrop {
  background: rgba(6, 16, 31, 0);
  transition: background-color 0.3s ease, overlay 0.3s ease allow-discrete, display 0.3s ease allow-discrete;
}

.sheet[open]::backdrop {
  background: rgba(6, 16, 31, 0.84);
}

@starting-style {
  .sheet[open]::backdrop {
    background: rgba(6, 16, 31, 0);
  }
}

.sheet__inner {
  display: flex;
  flex-direction: column;
  max-height: 86svh;
}

.sheet__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 20px 14px;
  border-bottom: 1px solid var(--navy-line);
}

.sheet__kicker {
  display: inline-block;
  background-color: var(--amber);
  color: var(--navy);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.sheet__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 32px;
  line-height: 0.96;
  text-transform: uppercase;
  color: var(--navy);
}

.sheet__stroke {
  display: block;
  width: 112px;
  height: 9px;
  margin-top: 6px;
  overflow: visible;
}

#sheet-stroke-path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

#sheet-stroke-path.is-drawn {
  transition: stroke-dashoffset 0.75s var(--ease-expo) 0.12s;
  stroke-dashoffset: 0;
}

.sheet__close {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border: 1px solid var(--navy-line);
  border-radius: 12px;
  background: transparent;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.24s var(--ease-expo);
}

.sheet__close:hover {
  background-color: var(--navy);
  color: var(--paper);
  transform: rotate(90deg);
}

.sheet__close svg {
  width: 18px;
  height: 18px;
}

.sheet__content {
  padding: 18px 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--navy);
}

.sheet__lead {
  font-family: var(--font-editorial);
  font-style: italic;
  font-weight: 400;
  font-size: 16.5px;
  line-height: 1.4;
  color: var(--navy);
}

.sheet__item {
  padding: 13px 14px;
  border: 1px solid var(--navy-line);
  border-radius: 14px;
  background-color: #ffffff;
  animation: sheet-item-in 0.52s var(--ease-expo) both;
}

.sheet__item:nth-of-type(2) {
  animation-delay: 0.06s;
}

.sheet__item:nth-of-type(3) {
  animation-delay: 0.12s;
}

.sheet__item:nth-of-type(4) {
  animation-delay: 0.18s;
}

@keyframes sheet-item-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.sheet__item-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 5px;
}

.sheet__item-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  color: var(--navy);
  background-color: var(--amber);
  padding: 1px 7px;
  border-radius: 7px;
  line-height: 1.1;
}

.sheet__item-title {
  font-weight: 600;
  font-size: 14.5px;
  color: var(--navy);
}

.sheet__item-meta {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--navy-muted);
  margin-bottom: 6px;
}

.sheet__item-desc {
  font-size: 13.5px;
  color: var(--navy-muted);
}

.sheet__bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 6px;
}

.sheet__bullets li {
  position: relative;
  padding-left: 14px;
  font-size: 13px;
  color: var(--navy-muted);
}

.sheet__bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 2px;
  background-color: var(--navy);
}

.sheet__actions {
  padding: 14px 20px 18px;
  border-top: 1px solid var(--navy-line);
  background-color: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sheet__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 16px;
  border-radius: 14px;
  background-color: var(--navy);
  color: var(--paper);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 21px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: 1.5px solid var(--navy);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.22s var(--ease-expo);
}

.sheet__cta:hover {
  background-color: var(--amber);
  color: var(--navy);
  border-color: var(--amber);
  transform: translateY(-1px);
}

.sheet__cta--secondary {
  background-color: transparent;
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 10px 14px;
}

.sheet__cta--secondary:hover {
  background-color: var(--paper-soft);
  color: var(--navy);
  border-color: var(--navy);
}

/* ==========================================================================
   BREAKPOINTS RESPONSIVOS (CELULAR / TABLET / PC CINEMATOGRÁFICO)
   ========================================================================== */
@media (hover: none) {
  .glow-card:hover::before,
  .glow-card:hover::after {
    opacity: 0;
  }

  .link-card:hover .link-card__wipe {
    transform: scaleX(0);
  }

  .link-card:hover {
    transform: none;
  }

  .social-logo:hover {
    transform: none;
    filter: none;
  }
}

@media (max-width: 539px) {
  .cinema__frame {
    background-position: 52% 28%;
  }

  .cinema__scrim {
    background: linear-gradient(
      180deg,
      rgba(10, 25, 47, 0.08) 0%,
      rgba(10, 25, 47, 0.16) 28%,
      rgba(10, 25, 47, 0.78) 54%,
      rgba(6, 16, 31, 0.94) 100%
    );
  }

  .sheet,
  .about-sheet {
    margin: auto 0 0;
    width: 100%;
    max-width: 100%;
    max-height: 88dvh;
    border-radius: 24px 24px 0 0;
    border-bottom: 0;
    transform: translateY(44px);
  }

  .sheet__actions {
    padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  }

  .about-sheet__inner {
    padding: 20px 18px calc(20px + env(safe-area-inset-bottom, 0px));
  }

  @starting-style {
    .sheet[open],
    .about-sheet[open] {
      opacity: 0;
      transform: translateY(44px);
    }
  }
}

@media (max-width: 420px) {
  .about__label {
    letter-spacing: 0.2em;
    font-size: 11px;
  }

  .about__pill {
    font-size: 9px;
    padding: 4px 8px;
    letter-spacing: 0.12em;
  }

  .link-card {
    padding: 14px 15px;
    gap: 11px;
  }

  .link-card--primary {
    padding: 16px 15px;
  }

  .link-card__title {
    font-size: 21px;
  }

  .link-card__sub {
    font-size: 12px;
  }
}

@media (max-width: 375px) {
  .profile {
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
  }

  .profile__stage {
    width: 74px;
    height: 94px;
  }

  .profile__brand {
    font-size: 30px;
  }

  .social-logo {
    width: 46px;
    height: 46px;
  }
}

@media (min-width: 540px) and (max-width: 899px) {
  .page {
    padding: 36px 24px;
  }

  .shell {
    max-width: 540px;
  }
}

/* ==========================================================================
   VERSÃO PC (>= 900px) — CENA VIVA FULL-BLEED + 2 COLUNAS FLUTUANTES
   Sem caixa pesada cobrindo o fundo: o diário vivo respira por toda a tela
   ========================================================================== */
@media (min-width: 900px) {
  .page {
    padding: 28px 36px 28px;
    justify-content: space-between;
    gap: 24px;
  }

  .topbar {
    width: 100%;
    max-width: 980px;
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(248, 250, 252, 0.85);
    text-shadow: 0 2px 12px rgba(6, 16, 31, 0.85);
  }

  .topbar__left {
    color: var(--paper);
    white-space: nowrap;
  }

  .topbar__line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(245, 158, 11, 0.55) 0%, rgba(248, 250, 252, 0.16) 100%);
  }

  .topbar__right {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
  }

  .topbar__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--amber);
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.85);
    animation: pulse-dot 2.4s ease-in-out infinite;
  }

  @keyframes pulse-dot {
    0%,
    100% {
      opacity: 1;
      transform: scale(1);
    }
    50% {
      opacity: 0.45;
      transform: scale(0.82);
    }
  }

  .shell {
    max-width: 980px;
    margin: auto 0;
    padding-top: 0;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    grid-template-areas:
      'profile links'
      'ticker ticker'
      'utility utility';
    gap: 18px 32px;
    align-items: start;
  }

  .profile {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 16px 22px;
    padding: 24px 26px 22px;
    background-color: var(--navy-surface-strong);
    box-shadow: 0 22px 54px rgba(4, 10, 20, 0.52);
  }

  .profile__stage {
    width: 112px;
    height: 136px;
  }

  .profile__brand {
    font-size: clamp(40px, 3.8vw, 50px);
  }

  .profile__name {
    font-size: 19px;
  }

  .profile__credential {
    font-size: 14px;
  }

  .links {
    gap: 13px;
    align-self: start;
    justify-content: flex-start;
  }

  .links__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 16px 10px;
    border-radius: 999px;
    background-color: rgba(10, 25, 47, 0.76);
    border: 1px solid rgba(248, 250, 252, 0.16);
    margin-bottom: 2px;
  }

  .links__kicker {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.22em;
    color: var(--amber);
    text-transform: uppercase;
  }

  .links__hint {
    font-family: var(--font-editorial);
    font-style: italic;
    font-size: 14.5px;
    color: var(--paper-muted);
  }

  .link-card {
    padding: 19px 22px;
    border-radius: 22px;
    gap: 14px;
  }

  .link-card--primary {
    padding: 22px 22px;
  }

  .link-card__title {
    font-size: 26px;
  }

  .link-card__sub {
    font-size: 13px;
  }

  .link-card--subtle {
    padding: 16px 22px;
  }

  .link-card--subtle .link-card__title {
    font-size: 22px;
  }

  .utility {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding-top: 0;
    border-top: 0;
  }

  .utility__links {
    justify-content: center;
    gap: 14px;
  }

  .social-logo {
    width: 48px;
    height: 48px;
  }
}

/* Ajuste fino para notebooks com tela mais baixa (ex.: 1366x768 ou 1280x720) */
@media (min-width: 900px) and (max-height: 780px) {
  .page {
    padding: 18px 32px 18px;
    gap: 14px;
  }

  .shell {
    gap: 12px 28px;
  }

  .links {
    gap: 10px;
  }

  .link-card {
    padding: 14px 20px;
  }

  .link-card--primary {
    padding: 16px 20px;
  }

  .link-card--subtle {
    padding: 12px 20px;
  }

  .social-logo {
    width: 42px;
    height: 42px;
  }
}

/* Respeita preferência de acessibilidade do usuário */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .cinema__frame--write {
    opacity: 1 !important;
    transform: none !important;
  }

  .cinema__frame--turn {
    opacity: 0 !important;
  }

  .profile__paper-back,
  .profile__photo-wrap,
  [data-rise],
  [data-fade],
  [data-stagger] {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }

  .draw-path,
  #sheet-stroke-path {
    stroke-dashoffset: 0 !important;
  }

  .about__lead::before {
    transform: scaleY(1) !important;
  }

  .ticker__track {
    animation: none !important;
  }
}
