/* ==========================================================================
   BLOG: camada do site pessoal (carregada por último).
   Tudo que é novo em relação ao modelo de evento fica aqui:
   hero com vídeo, espaços de mídia, artigos, depoimentos e painel escuro.
   ========================================================================== */

/* ---------- Ordem da pilha (cada seção cobre a anterior) ---------- */
.guia { z-index: 2; }
.metrics { z-index: 3; }
.product { z-index: 4; }
.journey { z-index: 5; }
.posts { z-index: 6; }
.depo { z-index: 7; }
.final { z-index: 8; }
.posts .panel-inner, .depo .panel-inner { padding-top: calc(var(--header-h) + 56px); }
/* Respiro no fim das seções altas: o último bloco fica na tela por mais tempo antes de ser coberto */
.posts .panel-inner, .depo .panel-inner, .product .panel-inner { padding-bottom: clamp(120px, 20vh, 220px); }

/* ---------- Painel escuro (contraste para os depoimentos) ---------- */
.panel--night {
  --fg: var(--paper);
  --fg-2: rgba(239, 232, 220, .7);
  --fg-3: rgba(239, 232, 220, .45);
  --line: rgba(239, 232, 220, .16);
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}
.panel--night .index { color: var(--fg-2); }
.panel--night .index b, .panel--night .display .serif { color: var(--orange); }
html[data-under="night"] .site-header { color: var(--paper); }
html[data-under="night"] .site-header::before { background: linear-gradient(180deg, rgba(15, 17, 17, .9), rgba(15, 17, 17, 0)); opacity: 1; }
html[data-under="night"] .progress { color: var(--paper); }
html[data-under="night"] .cursor { color: var(--paper); }
html[data-under="night"] .cursor-label { color: var(--orange); }

/* ---------- 01 · Hero pessoal ---------- */
.hero-title { font-size: clamp(54px, 15.5vw, 120px); }
@media (min-width: 1100px) {
  .hero-title { font-size: clamp(56px, 7.4vw, 128px); }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(380px, 560px); align-items: end; gap: 40px; }
}
.layer--word .ghost-word { font-size: 34vw; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions .btn { min-width: 0; }
/* Fabio em recorte sobre o arco laranja + cartão de vídeo sobreposto */
.hero-figure { position: relative; width: 100%; max-width: 440px; margin: 28px auto 0; aspect-ratio: 5 / 6; }
@media (min-width: 1100px) { .hero-figure { max-width: none; margin: 0; justify-self: end; align-self: end; height: min(74vh, 700px); aspect-ratio: auto; width: min(100%, 560px); } }
.hero-arch {
  position: absolute; left: 9%; right: 3%; bottom: 0; height: 80%;
  border-radius: 999px 999px 26px 26px;
  background: var(--orange);
  will-change: transform;
}
.hero-arch::after {   /* textura de etiqueta: linhas finas, bem discretas */
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: repeating-linear-gradient(0deg, rgba(15, 17, 17, .06) 0 1px, transparent 1px 14px);
}
.hero-cut { position: absolute; left: 6%; right: 0; bottom: 0; height: 100%; display: flex; align-items: flex-end; justify-content: center; will-change: transform; }
.hero-cut img { display: block; width: auto; height: 100%; max-width: none; filter: drop-shadow(0 22px 26px rgba(var(--shadow, 0, 0, 0), .28)); }
/* O recorte termina reto no tronco: a máscara arredonda os cantos de baixo junto com o arco */
.hero-cut { border-radius: 0 0 26px 26px; overflow: hidden; }
.hero-media { position: absolute; z-index: 2; left: -4%; bottom: 7%; width: 40%; max-width: 190px; will-change: transform; }
.media-card {
  position: relative;
  padding: 8px 8px 10px;
  border-radius: 14px;
  background: var(--card, #fff);
  border: 1px solid rgba(15, 17, 17, .08);
  box-shadow: 0 26px 50px -24px rgba(var(--shadow, 0, 0, 0), .6), 0 2px 6px rgba(var(--shadow, 0, 0, 0), .08);
  transform: rotate(-5deg);
}
.media-card .ticket-tape { top: -12px; width: 76px; margin-left: -38px; height: 22px; }
.media-card .media-ph { padding: 10px; gap: 6px; }
.media-card .media-ph p { font-size: 10.5px; line-height: 1.3; }
.media-card .media-ph .mono { font-size: 9px; }
.media-card .media-ph .icon { width: 34px; height: 34px; padding: 9px; }
.media-card .ph-tag { top: 6px; left: 6px; font-size: 8px !important; padding: 3px 6px; }
.media-cap { display: flex; justify-content: space-between; gap: 6px; margin-top: 8px; font-size: 8.5px; color: rgba(15, 17, 17, .6); white-space: nowrap; overflow: hidden; }
.seal--media { position: absolute; z-index: 3; top: 12%; right: -2%; width: 104px; height: 104px; color: var(--ink); }
.seal--media circle { fill: var(--ink); }
.seal--media text { font: 500 11px var(--f-mono); letter-spacing: .14em; fill: var(--paper); }
.seal--media .seal-arrow { fill: none; stroke: var(--orange); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.seal--media .seal-rot { transform-origin: 60px 60px; animation: sealSpin 22s linear infinite; }
@keyframes sealSpin { to { transform: rotate(360deg); } }
@media (max-width: 1099px) { .seal--media { width: 84px; height: 84px; top: 14%; right: 0; } }

/* ---------- Espaços de mídia (vídeo, capa, depoimento) ---------- */
.media-slot {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  background: repeating-linear-gradient(135deg, rgba(15, 17, 17, .05) 0 12px, rgba(15, 17, 17, .02) 12px 24px);
  outline: 1.5px dashed rgba(15, 17, 17, .28);
  outline-offset: -1.5px;
}
.media-slot--tall { aspect-ratio: 4 / 5; }
.media-slot.has-media { outline: 0; background: var(--ink); }
.media-slot video, .media-slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media-ph {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  padding: 20px; text-align: center; color: rgba(15, 17, 17, .62);
}
.media-ph p { max-width: 240px; font-size: 13px; line-height: 1.4; }
.media-ph .mono { font-size: 11px; }
.media-ph .icon { width: 44px; height: 44px; padding: 12px; border-radius: 50%; background: var(--orange); color: var(--ink); }
.media-slot.has-media .media-ph { display: none; }
.ph-tag {
  position: absolute; top: 10px; left: 10px;
  padding: 4px 8px; border-radius: 4px;
  font-size: 9.5px !important;
  background: var(--ink); color: var(--paper);
}
.media-play {
  position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px;
  display: grid; place-items: center; border: 0; border-radius: 50%;
  background: var(--orange); color: var(--ink); font-size: 22px;
  box-shadow: 0 0 0 10px rgba(255, 153, 0, .2);
  transition: transform .4s var(--spring);
}
.media-play:hover { transform: scale(1.08); }
.media-play .icon { width: 22px; height: 22px; }

/* ---------- 03 · Ferramenta ---------- */
.dash-delta .icon { width: 14px; height: 14px; }
.dash-breakdown .row span:last-child { text-align: right; white-space: nowrap; }
.dash-breakdown .total span:last-child { white-space: normal; }

/* ---------- 04 · Temas ---------- */
.stub a { text-decoration: underline; text-underline-offset: 3px; }
.stub a:hover { color: var(--orange-text, var(--orange)); }
.route-pkg .icon { width: 18px; height: 18px; }
/* O número gigante corre em parallax horizontal: o vão precisa caber esse deslocamento */
.journey.is-pinned .stop { gap: clamp(72px, 8vw, 130px); }

/* ---------- 05 · Artigos ---------- */
.posts-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.posts-head .btn { flex: none; }
.post-grid { display: grid; gap: 40px 28px; }
@media (min-width: 760px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .post--lead { grid-column: 1 / -1; } }
@media (min-width: 1100px) {
  .post-grid { grid-template-columns: 1.35fr 1fr 1fr; align-items: start; }
  .post--lead { grid-column: auto; }
}
.post { display: flex; flex-direction: column; }
.post-cover { transition: transform .8s var(--ease); }
.post:hover .post-cover { transform: translate3d(0, -6px, 0); }
.post-meta { display: flex; align-items: center; gap: 12px; margin-top: 18px; font-size: 11px; color: var(--fg-2); }
.post-meta b { font-weight: 500; color: var(--orange-text, var(--orange-deep)); }
.post-meta b::after { content: ""; display: inline-block; width: 20px; height: 1px; margin-left: 12px; vertical-align: middle; background: currentColor; opacity: .6; }
.post-title {
  margin-top: 12px;
  font-family: var(--f-display); font-weight: 800; font-stretch: 90%;
  font-size: clamp(24px, 2.2vw, 32px); line-height: 1.04; letter-spacing: -.03em; text-wrap: balance;
}
.post--lead .post-title { font-size: clamp(28px, 3vw, 46px); }
.post-title a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .5s var(--ease); }
.post:hover .post-title a { background-size: 100% 2px; }
.post-excerpt { margin-top: 12px; max-width: 460px; font-size: 16px; color: var(--fg-2); }
.post-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 8px; font-size: 11px; }
.post-link .icon { width: 14px; height: 14px; transition: transform .4s var(--ease); }
.post:hover .post-link .icon { transform: translate3d(5px, 0, 0); }

/* ---------- 06 · Depoimentos ---------- */
.depo-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(8px, 1.6vw, 24px); margin-bottom: 14px; }
.depo-photo { margin: 0; border-radius: 14px; overflow: hidden; background: #1b1b1b; }
.depo-photo img { display: block; width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 1.2s var(--ease); }
.depo-photo:hover img { transform: scale(1.04); }
.depo-photo:nth-child(1) { transform: rotate(-1.2deg); }
.depo-photo:nth-child(3) { transform: rotate(1.2deg); }
.js .depo-photo.reveal:nth-child(1).is-in { transform: rotate(-1.2deg); }
.js .depo-photo.reveal:nth-child(3).is-in { transform: rotate(1.2deg); }
@media (max-width: 759px) {
  .depo-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .depo-photo:nth-child(1) { grid-column: 1 / -1; }
}
.depo-photos-cap { margin-bottom: clamp(40px, 6vw, 72px); font-size: 11px; color: var(--fg-3); }
.ghost-word--thanks {
  position: absolute; left: -2vw; bottom: 4%;
  font-size: 22vw; white-space: nowrap; pointer-events: none;
  -webkit-text-stroke-color: rgba(239, 232, 220, .07);
}
.depo .container { position: relative; }
.depo-grid { display: grid; gap: 28px; }
@media (min-width: 760px) { .depo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
@media (min-width: 760px) { .depo-card:nth-child(2) { margin-top: 48px; } }
.depo-card { margin: 0; display: flex; flex-direction: column; }
.depo .media-slot { background: repeating-linear-gradient(135deg, rgba(239, 232, 220, .07) 0 12px, rgba(239, 232, 220, .03) 12px 24px); outline-color: rgba(239, 232, 220, .32); }
.depo .media-ph { color: rgba(239, 232, 220, .7); }
.depo .ph-tag { background: var(--paper); color: var(--ink); }
@media (max-width: 759px) { .depo .media-slot--tall { aspect-ratio: 4 / 3; } }
.depo-quote {
  margin: 20px 0 0;
  font-family: var(--f-serif); font-style: italic;
  font-size: clamp(22px, 2vw, 28px); line-height: 1.2; letter-spacing: -.01em; text-wrap: pretty;
}
.depo-quote.is-placeholder { font-family: var(--f-body); font-style: normal; font-size: 15px; line-height: 1.5; color: var(--fg-3); }
.depo-who { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 11px; color: var(--fg-2); }
.depo-who b { font-weight: 500; color: var(--paper); }

/* ---------- 07 · Final e rodapé ---------- */
.final-copy .final-line { margin-top: 28px; }
.footer-social { display: none; gap: 24px; }
@media (min-width: 700px) { .footer-social { display: inline-flex; } }

/* ---------- Sem JS / movimento desligado ---------- */
html:not(.js) .seal--media .seal-rot { animation: none; }
@media print { .media-slot { outline: 1px solid #999; } }

/* ---------- Celular: o hero termina antes das faixas e o cartão de vídeo não sai da tela ---------- */
@media (max-width: 1099px) {
  .hero .panel-inner { padding-bottom: 132px; }
  .hero-media { left: 0; }
}

/* ---------- Palco em vídeo (topo da seção de depoimentos) ---------- */
.depo .panel-inner { padding-top: 0; justify-content: flex-start; }
.depo-stage {
  position: relative;
  height: min(88vh, 860px);
  min-height: 460px;
  display: flex; align-items: flex-end;
  margin-bottom: clamp(32px, 5vw, 64px);
  border-radius: var(--radius-panel) var(--radius-panel) 0 0;
  overflow: hidden;
}
@supports (height: 100svh) { .depo-stage { height: min(88svh, 860px); } }
.depo-stage-inner { position: relative; z-index: 1; width: 100%; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; padding-bottom: clamp(24px, 4vw, 48px); }
.depo-stage .panel-head { margin-bottom: 0; }
.depo-stage-cap { display: inline-flex; align-items: center; gap: 10px; padding-bottom: .5em; font-size: 11px; color: var(--fg-2); white-space: nowrap; }
.bg-video {
  position: absolute; inset: 0;
  pointer-events: none;
  background: var(--ink) 62% 40% / cover no-repeat;
}
.bg-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; opacity: 0; transition: opacity 1.2s ease; }
.bg-video.is-playing video { opacity: 1; }
/* Véu só onde há texto: topo (menu) e base (título). O centro, onde o Fabio está, fica limpo. */
.bg-video::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 17, 17, .62) 0%, rgba(15, 17, 17, 0) 20%, rgba(15, 17, 17, 0) 50%, rgba(15, 17, 17, .7) 78%, var(--ink) 100%),
    linear-gradient(90deg, rgba(15, 17, 17, .45) 0%, rgba(15, 17, 17, 0) 42%),
    rgba(15, 17, 17, .08);
}
.depo .ghost-word--thanks { display: none; }
@media (max-width: 759px) {
  .depo-stage { height: min(74vh, 620px); }
  .bg-video::after {
    background:
      linear-gradient(180deg, rgba(15, 17, 17, .6) 0%, rgba(15, 17, 17, 0) 22%, rgba(15, 17, 17, 0) 48%, rgba(15, 17, 17, .78) 76%, var(--ink) 100%),
      rgba(15, 17, 17, .06);
  }
}
@media print { .bg-video { display: none; } }

/* ---------- Depoimentos em vídeo: 3 verticais em cima, 2 horizontais embaixo ---------- */
.depo-grid { display: grid; grid-template-columns: 1fr; gap: 36px 24px; }
@media (min-width: 760px) {
  .depo-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 44px 24px; }
  .depo-card--v { grid-column: span 2; }
  .depo-card--h { grid-column: span 3; }
  .depo-card:nth-child(2) { margin-top: 48px; }
}
.depo-card--v .media-slot { aspect-ratio: 9 / 16; }
.depo-card--h .media-slot { aspect-ratio: 16 / 9; }
@media (max-width: 759px) { .depo-card--v .media-slot { aspect-ratio: 4 / 5; } }
.depo .media-slot.has-media { background: #0b0b0b; }
.depo .media-slot video { object-fit: contain; background: #0b0b0b; }
.depo .media-slot img { transition: transform 1.2s var(--ease); }
.depo-card:hover .media-slot img { transform: scale(1.03); }
.depo .media-play { z-index: 1; }
.depo .media-slot.has-media::after {   /* leve escurecida na base da capa, para o botão destacar */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(11, 11, 11, 0) 55%, rgba(11, 11, 11, .45) 100%);
}
.depo .media-slot.has-media:has(video)::after { display: none; }
.depo-quote { quotes: none; }
/* Botão de play no canto, para não cobrir o rosto de quem fala */
.depo .media-play { left: 14px; top: auto; bottom: 14px; margin: 0; width: 52px; height: 52px; box-shadow: 0 0 0 8px rgba(255, 153, 0, .22); }
.media-cap { justify-content: center; }

/* ---------- 02 · Guia gratuito (ebook + formulário) ---------- */
.guia .panel-inner { padding-top: calc(var(--header-h) + 56px); padding-bottom: 150px; }
.ghost-word--guia { position: absolute; right: -3vw; top: 6%; font-size: 26vw; white-space: nowrap; pointer-events: none; -webkit-text-stroke-color: rgba(239, 232, 220, .06); }
.guia-grid { position: relative; display: grid; gap: 40px; align-items: center; }
@media (min-width: 1000px) { .guia-grid { grid-template-columns: minmax(0, .82fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); } }
.guia-art { position: relative; display: flex; justify-content: center; }
.guia-mockup { position: relative; display: block; width: auto; max-width: min(100%, 420px); height: auto; max-height: 66vh; transform: rotate(-4deg); filter: drop-shadow(0 40px 50px rgba(0, 0, 0, .55)); will-change: transform; }
.guia-glow { position: absolute; left: 50%; top: 52%; width: 86%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(255, 153, 0, .34) 0%, rgba(255, 153, 0, .1) 42%, transparent 68%); }
.guia-tag { position: absolute; right: 8%; bottom: 6%; padding: 8px 12px; border-radius: 999px; background: var(--orange); color: var(--ink); font-size: 10.5px; transform: rotate(5deg); box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .6); }
@media (max-width: 999px) { .guia-mockup { max-width: min(58%, 270px); } .guia-tag { right: 14%; } .guia-grid { gap: 28px; } }
.guia-copy .lead { margin-top: 20px; max-width: 560px; color: var(--fg-2); }
.guia-copy .lead strong { font-weight: 600; color: var(--paper); }
.guia-list { margin-top: 24px; max-width: 580px; border-top: 1px solid var(--line); }
.guia-list li { display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.guia-list .mono { padding-top: .3em; font-size: 11px; color: var(--orange); }
.guia-list p { font-size: 16px; color: var(--fg-2); }
.guia-list b { font-weight: 600; color: var(--paper); }
.guia-form { margin-top: 28px; max-width: 580px; padding: 20px; border-radius: 16px; background: rgba(239, 232, 220, .06); border: 1px solid var(--line); }
.guia-form form { margin: 0; }
.guia-fields { display: grid; gap: 14px; }
@media (min-width: 560px) { .guia-fields { grid-template-columns: 1fr 1fr; } }
.guia-field { min-width: 0; }
.guia-field label { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 13px; font-weight: 600; color: var(--paper); }
.guia-field label .mono { font-size: 10px; color: var(--orange); }
.guia-field input {
  display: block; width: 100%; height: 54px; margin: 0; padding: 0 14px;
  border: 1.5px solid transparent; border-radius: 10px;
  background: var(--paper); color: var(--ink);
  font: inherit; font-size: 16px;   /* 16px evita zoom automático no iPhone */
}
.guia-field input::placeholder { color: rgba(15, 17, 17, .45); }
.guia-field input:focus { outline: 3px solid rgba(255, 153, 0, .6); outline-offset: 1px; border-color: var(--orange); }
.guia-form .fg-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.guia-form .btn { margin-top: 14px; }
.guia-aviso { display: flex; align-items: flex-start; gap: 8px; margin-top: 12px; font-size: 10px; line-height: 1.5; color: var(--fg-3); letter-spacing: .02em; text-transform: none; }
.guia-aviso .icon { flex: none; width: 12px; height: 12px; margin-top: 1px; }
.guia-fine { margin-top: 14px; max-width: 580px; font-size: 13px; color: var(--fg-3); }
/* A faixa escura cruza sobre este painel escuro: um fio claro mantém o desenho dela visível */
.guia + .metrics .band--a { box-shadow: 0 0 0 1px rgba(239, 232, 220, .22), 0 14px 30px -12px rgba(0, 0, 0, .55); }
