/* ==========================================================================
   ócca — site
   Cores e medidas vindas do Figma "site-occa"
   ========================================================================== */

:root {
  --orange: #FF4729;
  --orange-dark: #E23A1E;
  --beige: #E6CFB7;
  --beige-dark: #C9AF95;
  --bg: #000;
  --surface: #121212;
  --surface-2: #1c1c1c;
  --surface-3: #262626;
  --line: rgba(255, 255, 255, 0.1);
  --text: #fff;
  --muted: rgba(255, 255, 255, 0.62);
  --faint: rgba(255, 255, 255, 0.4);

  /* Liquid glass da tabbar (Figma: rgba(217,217,217,.2) / ativo #616163) */
  --glass: rgba(217, 217, 217, 0.2);
  --glass-active: rgba(140, 140, 142, 0.55);

  --tabbar-h: 89px;
  --tabbar-w: 523px;
  --tabbar-gap: 24px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --nav-space: calc(var(--tabbar-h) + var(--tabbar-gap) + var(--safe-bottom) + 16px);

  --radius: 20px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
}

@media (max-width: 720px) {
  :root {
    --tabbar-h: 68px;
    --tabbar-w: 400px;
    --tabbar-gap: 14px;
  }
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; }
em { font-style: italic; color: var(--orange); }

/* ------------------------------------------------------------- páginas --- */
.page { display: none; min-height: 100svh; }
.page.active { display: block; animation: page-in 0.35s ease both; }
@keyframes page-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; border-radius: 999px; border: 0;
  font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap;
  transition: transform 0.15s ease, background 0.2s ease;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); }
.btn-ghost { background: rgba(255, 255, 255, 0.1); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.16); }
.btn-beige { background: var(--beige); color: #1a1208; }

/* Placeholder de mídia: pattern da ócca enquanto não há conteúdo real */
.ph {
  position: relative; overflow: hidden; background: var(--surface-2);
  display: grid; place-items: center;
}
.ph::before {
  content: ""; position: absolute; inset: -10%;
  background: url("assets/pattern-col-a.svg") 0 0 / 120px auto repeat;
  opacity: 0.07; transform: rotate(-8deg);
}
.ph[data-tone="1"] { background: #2a1510; }
.ph[data-tone="2"] { background: #241d16; }
.ph[data-tone="3"] { background: #161616; }
.ph-label {
  position: relative; z-index: 1; text-align: center; padding: 12px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--faint);
}
.ph-label strong { display: block; font-size: 15px; color: var(--muted); text-transform: none; letter-spacing: 0; margin-bottom: 2px; }
.media-fill { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   TABBAR — pílula Liquid Glass
   ========================================================================== */
.tabbar {
  position: fixed; z-index: 50;
  left: 50%; bottom: calc(var(--tabbar-gap) + var(--safe-bottom));
  transform: translateX(-50%);
  width: min(var(--tabbar-w), calc(100% - 32px)); height: var(--tabbar-h);
  padding: 7px;
  display: grid; grid-template-columns: repeat(5, 1fr); align-items: stretch;
  border-radius: 999px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -1px 1px rgba(0, 0, 0, 0.25),
    0 12px 40px rgba(0, 0, 0, 0.45);
}
.tabbar-indicator {
  position: absolute; top: 7px; bottom: 7px; left: 7px;
  width: calc((100% - 14px) / 5);
  border-radius: 999px;
  background: var(--glass-active);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transform: translateX(calc(var(--i, 0) * 100%));
  transition: transform 0.45s cubic-bezier(0.3, 1.35, 0.5, 1);
}
.tab {
  position: relative; z-index: 1;
  display: grid; place-items: center; border-radius: 999px;
  -webkit-tap-highlight-color: transparent;
}
.tab img { width: 33px; height: auto; transition: transform 0.2s ease; }
.tab:active img { transform: scale(0.88); }
.tab-avatar {
  width: 36px; height: 36px; border-radius: 50%; background: var(--orange);
  display: grid; place-items: center; overflow: hidden;
}
.tab-avatar img { width: 24px; }
@media (max-width: 720px) {
  .tab img { width: 25px; }
  .tab-avatar { width: 29px; height: 29px; }
  .tab-avatar img { width: 19px; }
}

/* ==========================================================================
   HOME
   ========================================================================== */
.home-top {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 22px;
}
.home-top .wordmark { width: 104px; height: auto; }
.home-top a { font-size: 14px; font-weight: 600; color: var(--muted); text-decoration: none; }
.home-top a:hover { color: #fff; }

.hero { padding-block: clamp(32px, 9vh, 110px) 48px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(255, 71, 41, 0.14); color: var(--orange);
  font-size: 13px; font-weight: 700; letter-spacing: 0.02em;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.hero h1 {
  margin: 22px 0 18px; max-width: 14ch;
  font-size: clamp(42px, 8.2vw, 112px); line-height: 0.98; font-weight: 800; letter-spacing: -0.035em;
}
.hero p { max-width: 560px; margin: 0 0 30px; color: var(--muted); font-size: clamp(16px, 1.6vw, 19px); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* destaques no estilo stories */
.stories { display: flex; gap: 18px; overflow-x: auto; padding: 8px 0 36px; scrollbar-width: none; }
@media (min-width: 721px) { .stories { justify-content: center; gap: 57px; } }
.stories::-webkit-scrollbar { display: none; }
.story { flex: none; display: grid; justify-items: center; gap: 8px; text-decoration: none; font-size: 12px; font-weight: 600; color: var(--muted); }
.story-ring {
  width: 74px; height: 74px; border-radius: 50%; padding: 3px;
  background: conic-gradient(from 200deg, var(--orange), var(--beige), var(--orange));
}
.story-ring span {
  width: 100%; height: 100%; border-radius: 50%; border: 3px solid var(--bg);
  background: var(--orange); display: grid; place-items: center; overflow: hidden;
}
.story-ring img { width: 30px; }
.story:hover .story-ring { transform: scale(1.04); }
.story-ring { transition: transform 0.2s ease; }

.pattern-band {
  height: 120px; overflow: hidden; margin-block: 8px 64px;
  background: url("assets/pattern-col-a.svg") 0 0 / auto 240px repeat-x;
  animation: band 30s linear infinite;
}
@keyframes band { to { background-position: -1764px 0; } }

.section-title { font-size: clamp(28px, 4vw, 48px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; margin: 0 0 28px; }

.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 64px; }
.pillar {
  position: relative; overflow: hidden;
  padding: 32px; border-radius: var(--radius); min-height: 280px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.pillar:nth-child(1) { background: var(--orange); }
.pillar:nth-child(2) { background: var(--beige); color: #1a1208; }
.pillar-tag {
  position: absolute; top: 24px; left: 24px;
  padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 700;
  background: rgba(0, 0, 0, 0.16);
}
.pillar h3 { font-size: clamp(24px, 2.6vw, 34px); margin: 0 0 10px; letter-spacing: -0.02em; line-height: 1.1; }
.pillar p { margin: 0; line-height: 1.55; opacity: 0.85; max-width: 42ch; }

.numbers { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); margin-bottom: 64px; }
.number { padding: 28px 8px; text-align: center; }
.number + .number { border-left: 1px solid var(--line); }
.number strong { display: block; font-size: clamp(30px, 4.5vw, 56px); font-weight: 800; letter-spacing: -0.03em; color: var(--beige); }
.number span { font-size: 13px; color: var(--muted); }

.cta-card {
  position: relative; overflow: hidden; border-radius: 28px; background: var(--surface-2);
  padding: clamp(28px, 5vw, 56px); margin-bottom: 64px;
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: center;
}
.cta-card h2 { margin: 0 0 12px; font-size: clamp(28px, 4vw, 48px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; }
.cta-card p { margin: 0 0 24px; color: var(--muted); line-height: 1.55; }
.cta-pattern {
  align-self: stretch; min-height: 200px; border-radius: 18px;
  background: url("assets/pattern-col-b.svg") center / 50% auto repeat;
}

@media (max-width: 720px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar { min-height: 230px; padding: 24px; }
  .cta-card { grid-template-columns: 1fr; }
  .cta-pattern { min-height: 120px; order: -1; }
  .number span { font-size: 11px; }
}

/* ==========================================================================
   REELS
   ========================================================================== */
.page-reels.active { display: block; }
.reels-feed {
  height: 100svh; overflow-y: auto; scroll-snap-type: y mandatory;
  scrollbar-width: none; overscroll-behavior: contain;
}
.reels-feed::-webkit-scrollbar { display: none; }
.reels-head {
  position: fixed; z-index: 5; top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px; pointer-events: none;
  background: linear-gradient(rgba(0, 0, 0, 0.5), transparent);
}
.reels-head h1 { margin: 0; font-size: 22px; font-weight: 800; }
.reels-head .mute { pointer-events: auto; }

.reel {
  height: 100svh; scroll-snap-align: start; scroll-snap-stop: always;
  display: flex; align-items: center; justify-content: center; gap: 18px;
  padding: 24px 0 var(--nav-space);
}
.reel-media {
  position: relative; height: 100%; aspect-ratio: 9 / 16; max-width: 100%;
  border-radius: 14px; overflow: hidden; background: var(--surface-2);
  user-select: none;
}
.reel-media .ph { position: absolute; inset: 0; }
.reel-overlay {
  position: absolute; inset: auto 0 0 0; z-index: 2;
  padding: 60px 16px 16px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.78));
}
.reel-user { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-weight: 700; font-size: 14px; }
.avatar-sm {
  width: 32px; height: 32px; border-radius: 50%; background: var(--orange); flex: none;
  display: grid; place-items: center; overflow: hidden;
}
.avatar-sm img { width: 22px; }
.reel-user .follow {
  margin-left: 4px; padding: 5px 12px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, 0.5);
  font-size: 13px; font-weight: 600; background: transparent; text-decoration: none;
}
.reel-caption { font-size: 14px; line-height: 1.45; margin: 0 0 12px; }
.reel-caption .client { font-weight: 700; }
.reel-caption .tags { color: var(--beige); }
.reel-caption.clamped { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; cursor: pointer; }
.reel-cta {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 12px 14px; border-radius: 12px; border: 0;
  background: var(--orange); color: #fff; font-weight: 700; font-size: 14px; text-align: left;
}
.reel-cta svg { width: 18px; height: 18px; flex: none; }

.reel-actions { display: grid; gap: 22px; justify-items: center; align-self: flex-end; padding-bottom: 8px; }
.act { display: grid; justify-items: center; gap: 4px; background: none; border: 0; padding: 0; font-size: 12px; font-weight: 600; }
.act svg { width: 28px; height: 28px; transition: transform 0.2s ease; }
.act:active svg { transform: scale(0.85); }
.act.liked svg { fill: var(--orange); stroke: var(--orange); animation: pop 0.35s ease; }
.act.saved svg { fill: #fff; }
@keyframes pop { 50% { transform: scale(1.3); } }

.big-heart {
  position: absolute; z-index: 3; left: 50%; top: 45%; width: 110px; height: 110px;
  transform: translate(-50%, -50%) scale(0); pointer-events: none;
  fill: var(--orange); filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.4));
}
.big-heart.show { animation: big-heart 0.9s ease forwards; }
@keyframes big-heart {
  15% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
  30% { transform: translate(-50%, -50%) scale(0.95); }
  70% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  100% { transform: translate(-50%, -60%) scale(1); opacity: 0; }
}

.icon-btn {
  width: 40px; height: 40px; border-radius: 50%; border: 0; display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.14); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.icon-btn svg { width: 20px; height: 20px; }

/* celular: reel em tela cheia, ações sobrepostas */
@media (max-width: 720px) {
  .reel { padding: 0; position: relative; }
  .reel-media { position: absolute; inset: 0; height: auto; aspect-ratio: auto; border-radius: 0; }
  .reel-overlay { padding: 80px 72px calc(var(--nav-space) - 4px) 14px; }
  .reel-actions { position: absolute; z-index: 3; right: 10px; bottom: calc(var(--nav-space) + 4px); }
  .act { text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5); }
}

/* ==========================================================================
   DIRECT — cadastro em formato de conversa
   ========================================================================== */
.direct-shell {
  height: 100svh; display: grid; grid-template-columns: 340px 1fr; grid-template-rows: minmax(0, 1fr);
  width: min(1040px, 100%); margin-inline: auto;
  border-inline: 1px solid var(--line);
}
.direct-aside { border-right: 1px solid var(--line); padding: 28px 24px; display: flex; flex-direction: column; gap: 22px; }
.direct-aside h2 { margin: 0; font-size: 20px; font-weight: 800; }
.thread-item { display: flex; gap: 12px; align-items: center; padding: 10px; margin-inline: -10px; border-radius: 12px; background: var(--surface-2); }
.thread-item .avatar-md { width: 52px; height: 52px; }
.thread-item strong { display: block; font-size: 14px; }
.thread-item span { font-size: 13px; color: var(--muted); }
.aside-note { margin-top: auto; padding: 18px; border-radius: 16px; background: var(--surface); color: var(--muted); font-size: 13px; line-height: 1.5; margin-bottom: var(--nav-space); }
.aside-note strong { color: #fff; display: block; margin-bottom: 4px; font-size: 14px; }

.avatar-md {
  width: 44px; height: 44px; border-radius: 50%; background: var(--orange); flex: none;
  display: grid; place-items: center; overflow: hidden;
}
.avatar-md img { width: 64%; }

.chat { display: flex; flex-direction: column; min-height: 0; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.chat-head strong { display: block; font-size: 15px; }
.chat-head span { font-size: 12px; color: var(--muted); }
.chat-progress { margin-left: auto; width: 90px; height: 4px; border-radius: 4px; background: var(--surface-3); overflow: hidden; }
.chat-progress i { display: block; height: 100%; width: 0; background: var(--orange); transition: width 0.4s ease; }

.chat-log { flex: 1; overflow-y: auto; padding: 24px 20px; display: flex; flex-direction: column; gap: 6px; scroll-behavior: smooth; }
.chat-intro { text-align: center; padding: 8px 0 22px; }
.chat-intro .avatar-md { width: 88px; height: 88px; margin: 0 auto 10px; }
.chat-intro strong { display: block; font-size: 18px; }
.chat-intro span { color: var(--muted); font-size: 13px; }

.msg {
  max-width: min(78%, 460px); padding: 11px 15px; border-radius: 22px;
  font-size: 15px; line-height: 1.45; animation: msg-in 0.3s ease both; word-wrap: break-word;
}
@keyframes msg-in { from { opacity: 0; transform: translateY(6px) scale(0.98); } }
.msg.them { align-self: flex-start; background: var(--surface-3); border-bottom-left-radius: 6px; }
.msg.me { align-self: flex-end; background: var(--orange); border-bottom-right-radius: 6px; }
.msg + .msg.me, .msg.me + .msg.them { margin-top: 8px; }
.typing { display: inline-flex; gap: 4px; padding: 15px 16px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--faint); animation: dot 1s infinite; }
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes dot { 30% { transform: translateY(-4px); background: #fff; } }

.chat-options { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; margin-top: 10px; }
.chip {
  padding: 10px 15px; border-radius: 999px; border: 1px solid rgba(255, 71, 41, 0.6);
  background: transparent; color: #fff; font-size: 14px; font-weight: 600;
  animation: msg-in 0.3s ease both;
}
.chip:hover { background: rgba(255, 71, 41, 0.15); }

.composer {
  display: flex; gap: 10px; align-items: flex-end;
  padding: 12px 16px calc(var(--nav-space) - 4px);
}
.composer-field {
  flex: 1; display: flex; align-items: flex-end;
  border: 1px solid var(--line); background: var(--surface); border-radius: 24px; padding: 4px 6px 4px 18px;
}
.composer-field:focus-within { border-color: rgba(255, 255, 255, 0.3); }
.composer input, .composer textarea {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: #fff;
  font: inherit; font-size: 16px; padding: 10px 0; resize: none; max-height: 140px;
}
.composer input::placeholder, .composer textarea::placeholder { color: var(--faint); }
.send {
  width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--orange);
  display: grid; place-items: center; flex: none; margin-bottom: 1px;
}
.send:disabled { background: var(--surface-3); opacity: 0.6; cursor: default; }
.send svg { width: 18px; height: 18px; }
.composer.hidden { visibility: hidden; }
.composer-error { color: #ff8a75; font-size: 13px; padding: 0 20px; min-height: 0; }

@media (max-width: 860px) {
  .direct-shell { grid-template-columns: 1fr; border: 0; }
  .direct-aside { display: none; }
}

/* ==========================================================================
   PESQUISAR — portfólio estilo Explorar
   ========================================================================== */
.search-wrap { width: min(975px, 100%); margin-inline: auto; padding-bottom: var(--nav-space); }
.search-head {
  position: sticky; top: 0; z-index: 5; padding: 16px 16px 10px;
  background: rgba(0, 0, 0, 0.82); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
.search-bar {
  display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px;
  border-radius: 12px; background: var(--surface-3);
}
.search-bar img { width: 17px; opacity: 0.6; }
.search-bar input { flex: 1; border: 0; outline: 0; background: transparent; color: #fff; font: inherit; font-size: 16px; }
.search-bar input::placeholder { color: var(--faint); }
.filters { display: flex; gap: 8px; overflow-x: auto; padding-top: 12px; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.filter {
  flex: none; padding: 8px 14px; border-radius: 10px; border: 1px solid var(--line);
  background: transparent; font-size: 13px; font-weight: 600; color: var(--muted);
}
.filter.on { background: #fff; color: #000; border-color: #fff; }

.grid {
  display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: calc((min(975px, 100vw) - 8px) / 3);
  grid-auto-flow: dense; gap: 4px; padding: 0 0 4px;
}
.tile { position: relative; overflow: hidden; border: 0; padding: 0; background: var(--surface-2); }
.tile[data-shape="tall"] { grid-row: span 2; }
.tile .ph { position: absolute; inset: 0; }
.tile-badge { position: absolute; z-index: 2; top: 10px; right: 10px; width: 20px; height: 20px; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.6)); }
.tile-info {
  position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 14px; text-align: left; opacity: 0; transition: opacity 0.2s ease;
  background: linear-gradient(transparent 40%, rgba(0, 0, 0, 0.75));
}
.tile-info strong { font-size: 15px; }
.tile-info span { font-size: 12px; color: var(--muted); }
.tile:hover .tile-info, .tile:focus-visible .tile-info { opacity: 1; }
.grid-empty { text-align: center; color: var(--muted); padding: 60px 16px; }

@media (min-width: 721px) {
  .tile[data-shape="wide"] { grid-column: span 2; }
}
@media (max-width: 720px) {
  .grid { gap: 2px; grid-auto-rows: calc((100vw - 4px) / 3); }
  .tile-info { display: none; }
}

/* Visualizador */
.viewer {
  position: fixed; inset: 0; z-index: 80; background: rgba(0, 0, 0, 0.92);
  display: grid; place-items: center; padding: 20px;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.viewer[hidden] { display: none; }
.viewer-close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.12); font-size: 18px; z-index: 2; }
.viewer-body { width: 100%; display: grid; justify-items: center; gap: 14px; }
.viewer-media { position: relative; border-radius: 14px; overflow: hidden; background: var(--surface-2); }
.viewer-media.vertical { height: min(78svh, 900px); aspect-ratio: 9 / 16; max-width: 100%; }
.viewer-media.horizontal { width: min(1100px, 100%); aspect-ratio: 16 / 9; }
.viewer-media.carrossel { width: min(560px, 100%); aspect-ratio: 4 / 5; }
.viewer-media .ph { position: absolute; inset: 0; }
.slides { display: flex; height: 100%; transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); }
.slide { flex: none; width: 100%; height: 100%; position: relative; }
.slide-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; }
.slide-nav.prev { left: 10px; }
.slide-nav.next { right: 10px; }
.slide-nav:disabled { opacity: 0; pointer-events: none; }
.dots { display: flex; gap: 5px; justify-content: center; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--faint); transition: background 0.2s; }
.dots i.on { background: var(--orange); }
.viewer-caption { text-align: center; }
.viewer-caption strong { display: block; font-size: 17px; }
.viewer-caption span { color: var(--muted); font-size: 14px; }

/* ==========================================================================
   PERFIL
   ========================================================================== */
.profile-wrap { width: min(935px, 100% - 32px); margin-inline: auto; padding: 36px 0 var(--nav-space); }
.profile-head { display: grid; grid-template-columns: 220px 1fr; gap: 14px 28px; align-items: start; align-content: start; margin-bottom: 40px; }
.profile-avatar {
  border: 0; cursor: pointer;
  grid-row: span 3; align-self: center;
  width: 150px; height: 150px; border-radius: 50%; justify-self: center; padding: 4px;
  background: conic-gradient(from 200deg, var(--orange), var(--beige), var(--orange));
}
.profile-avatar span { width: 100%; height: 100%; border-radius: 50%; background: var(--orange); border: 4px solid var(--bg); display: grid; place-items: center; }
.profile-avatar img { width: 64%; }
.profile-name { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 18px; }
.profile-name h1 { margin: 0; font-size: 22px; font-weight: 700; }
.profile-name .verified { width: 18px; height: 18px; }
.profile-actions { display: flex; gap: 8px; }
.profile-actions .btn { height: 36px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.profile-stats { display: flex; gap: 36px; font-size: 16px; }
.profile-stats strong { font-weight: 700; }
.profile-bio { font-size: 15px; line-height: 1.5; }
.profile-bio .bio-text { white-space: pre-line; }
.profile-bio .cat { color: var(--muted); display: block; }
.profile-bio a { color: var(--beige); font-weight: 600; text-decoration: none; }

.highlights { display: flex; gap: 28px; overflow-x: auto; padding: 0 0 32px; scrollbar-width: none; border-bottom: 1px solid var(--line); }
.highlights::-webkit-scrollbar { display: none; }
.highlight { flex: none; display: grid; justify-items: center; gap: 8px; background: none; border: 0; padding: 0; font-size: 12px; font-weight: 600; }
.highlight-ring { width: 78px; height: 78px; border-radius: 50%; border: 1px solid var(--line); padding: 4px; }
.highlight-ring span { width: 100%; height: 100%; border-radius: 50%; display: grid; place-items: center; font-size: 22px; font-weight: 800; }
.highlight:nth-child(4n+1) .highlight-ring span { background: var(--orange); }
.highlight:nth-child(4n+2) .highlight-ring span { background: var(--beige); color: #1a1208; }
.highlight:nth-child(4n+3) .highlight-ring span { background: var(--surface-3); }
.highlight:nth-child(4n+4) .highlight-ring span { background: #fff; color: #000; }

.profile-tabs { display: flex; justify-content: center; gap: 48px; margin-bottom: 28px; }
.profile-tab {
  background: none; border: 0; border-top: 1px solid transparent; margin-top: -1px;
  padding: 16px 0; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint);
}
.profile-tab.on { color: #fff; border-top-color: #fff; }

.chapter { padding: 28px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 20px; }
.chapter:last-child { border-bottom: 0; }
.chapter-num { color: var(--orange); font-weight: 800; font-size: 14px; }
.chapter h2 { margin: 6px 0 12px; font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; letter-spacing: -0.03em; }
.chapter p { white-space: pre-line; margin: 0; max-width: 62ch; color: var(--muted); font-size: 17px; line-height: 1.65; }
.chapter ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.chapter li { padding: 16px 18px; border-radius: 14px; background: var(--surface-2); font-weight: 600; line-height: 1.4; }

.founders { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.founder { border-radius: var(--radius); overflow: hidden; background: var(--surface-2); }
.founder-photo { aspect-ratio: 4 / 5; position: relative; }
.founder-photo .ph { position: absolute; inset: 0; }
.founder-body { padding: 20px; }
.founder-body h3 { margin: 0; font-size: 20px; }
.founder-body .role { color: var(--orange); font-size: 13px; font-weight: 700; }
.founder-body p { color: var(--muted); line-height: 1.55; margin: 10px 0 0; }

@media (max-width: 720px) {
  .profile-wrap { padding-top: 20px; }
  .profile-head { grid-template-columns: 96px 1fr; gap: 18px; align-items: start; margin-bottom: 24px; }
  .profile-avatar { width: 92px; height: 92px; grid-row: auto; }
  .profile-name { gap: 10px; margin-bottom: 12px; }
  .profile-name h1 { font-size: 19px; }
  .profile-stats { gap: 18px; font-size: 14px; margin-bottom: 0; }
  .profile-stats div { display: grid; }
  .profile-bio, .profile-actions { grid-column: 1 / -1; }
  .profile-actions .btn { flex: 1; }
  .highlights { gap: 16px; padding-bottom: 24px; }
  .highlight-ring { width: 66px; height: 66px; }
  .chapter ul, .founders { grid-template-columns: 1fr; }
  .profile-tabs { gap: 32px; margin-bottom: 8px; }
}

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

/* ==========================================================================
   EMBEDS (Instagram / LinkedIn)
   ========================================================================== */
/* miniaturas do Pesquisar */
.tile-embed { position: absolute; inset: 0; overflow: hidden; background: var(--surface-2); }
.tile-embed iframe {
  position: absolute; top: 0; left: 0; width: 326px; height: 720px; border: 0;
  transform-origin: 0 0; pointer-events: none;
}
.tile-li {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px;
  padding: 16px; text-align: left; background: linear-gradient(160deg, #0a66c2, #063f78);
}
.tile-li svg { position: absolute; top: 14px; left: 14px; width: 26px; height: 26px; }
.tile-li strong { font-size: 15px; line-height: 1.25; }
.tile-li span { font-size: 12px; opacity: 0.8; }
@media (max-width: 720px) {
  .tile-li { padding: 10px; }
  .tile-li strong { font-size: 11px; }
  .tile-li svg { width: 18px; height: 18px; top: 10px; left: 10px; }
}

/* visualizador */
.viewer { overflow-y: auto; padding-top: 76px; }
.viewer-embed { width: min(420px, 100%); max-height: calc(100svh - 170px); overflow-y: auto; border-radius: 12px; }
.ig-frame { display: block; width: 100%; border: 0; border-radius: 12px; background: #fff; }
.viewer-embed.li { width: min(520px, 100%); height: min(640px, calc(100svh - 170px)); background: #fff; }
.viewer-embed.li iframe { width: 100%; height: 100%; border: 0; }
.viewer-caption a { color: var(--beige); }

/* Reels com o player do Instagram */
.reel.reel-ig {
  flex-direction: column; justify-content: center; gap: 14px;
  padding: 64px 12px var(--nav-space); position: relative;
}
.reel-ig-stage { flex: 1; min-height: 0; width: 100%; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.reel-ig-card { width: min(380px, 100%); flex: none; transform-origin: center center; }
.reel-ig-info { width: min(380px, 100%); display: grid; gap: 10px; }
.reel-ig-info p { margin: 0; font-size: 14px; line-height: 1.45; color: var(--muted); }
.reel-ig-info strong { color: #fff; }

/* Direct: consentimento LGPD e WhatsApp */
.chip-solid { background: var(--orange); border-color: var(--orange); }
.chip-solid:hover { background: var(--orange-dark); }
.chip-ghost { border-color: rgba(255, 255, 255, 0.25); color: var(--muted); }
.chip-wa { background: #25d366; border-color: #25d366; color: #06301a; }
.chip-wa:hover { background: #1ebe5a; }

/* rodapé com links legais */
.site-legal { margin: -40px 0 var(--nav-space); padding-top: 8px; text-align: center; font-size: 12px; color: var(--faint); }
.site-legal a { color: var(--muted); }
