/* =========================================================
   GUI MEDEIROS — design system v0.1  (home · projeto · blog)
   Tipos: Archivo (display/texto) + Roboto Mono (timecode/meta)
   ========================================================= */

@property --bg { syntax: '<color>'; inherits: true; initial-value: #0F0E0D; }
@property --fg { syntax: '<color>'; inherits: true; initial-value: #EEEAE3; }
@property --ac { syntax: '<color>'; inherits: true; initial-value: #FF4136; }
@property --sub { syntax: '<color>'; inherits: true; initial-value: #2A2724; }

/* ---------- MOODS (color grade) — todos AA ---------- */
.gm, [data-mood="bruto"]   { --bg:#0F0E0D; --fg:#EEEAE3; --ac:#FF4136; --sub:#2A2724; }
[data-mood="poesia"]       { --bg:#E9E9E7; --fg:#121212; --ac:#121212; --sub:#CFCFCC; }
[data-mood="varzea"]       { --bg:#F1C232; --fg:#14130F; --ac:#1A3A9E; --sub:#D9AC22; }
[data-mood="joias"]        { --bg:#ECDDD2; --fg:#2E1A12; --ac:#9A3F1C; --sub:#DCC6B7; }
[data-mood="aula"]         { --bg:#F3F2F7; --fg:#1A1838; --ac:#4433E6; --sub:#E0DEEA; }
[data-mood="vlog"]         { --bg:#17122B; --fg:#ECE8FF; --ac:#FF6A5C; --sub:#2A2347; }

.gm {
  --mute: color-mix(in oklab, var(--fg) 70%, var(--bg));
  --line: color-mix(in oklab, var(--fg) 22%, var(--bg));
  --video-ink: #F6F3EE;
  --f-d: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --f-m: 'Roboto Mono', ui-monospace, Menlo, monospace;
  --gut: clamp(1rem, 3.2vw, 3rem);
  --ease: cubic-bezier(.76, 0, .24, 1);           /* expo.inOut */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-d);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  transition: --bg 1.2s var(--ease), --fg 1.2s var(--ease), --ac 1.2s var(--ease), --sub 1.2s var(--ease);
  position: relative;
  overflow-x: clip;
}
.gm *, .gm *::before, .gm *::after { box-sizing: border-box; }
.gm img { display: block; max-width: 100%; }
.gm a { color: inherit; text-decoration: none; }
.gm button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.gm :focus-visible { outline: 2px solid var(--ac); outline-offset: 4px; border-radius: 4px; }
.gm ::selection { background: var(--ac); color: var(--bg); }

.wrap { max-width: 1440px; margin: 0 auto; padding-inline: var(--gut); }

/* ---------- TIPO ---------- */
.t-mega { font-family: var(--f-d); font-weight: 800; font-stretch: 108%; font-size: clamp(3.25rem, 12.4vw, 13.5rem); line-height: .84; letter-spacing: -.05em; margin: 0; }
.t-d1   { font-family: var(--f-d); font-weight: 800; font-stretch: 104%; font-size: clamp(2.75rem, 8vw, 8.25rem); line-height: .88; letter-spacing: -.045em; margin: 0; }
.t-d2   { font-family: var(--f-d); font-weight: 700; font-size: clamp(1.875rem, 4.2vw, 4.25rem); line-height: .95; letter-spacing: -.035em; margin: 0; }
.t-d3   { font-family: var(--f-d); font-weight: 600; font-size: clamp(1.25rem, 2.2vw, 2.125rem); line-height: 1.1; letter-spacing: -.02em; margin: 0; }
.t-lead { font-family: var(--f-d); font-weight: 500; font-size: clamp(1.625rem, 3.3vw, 3.25rem); line-height: 1.12; letter-spacing: -.025em; margin: 0; text-wrap: pretty; }
.t-body { font-size: 1.0625rem; line-height: 1.55; margin: 0; text-wrap: pretty; }
.t-meta { font-family: var(--f-m); font-size: .75rem; line-height: 1.4; letter-spacing: .04em; text-transform: uppercase; font-weight: 500; }
.t-tc   { font-family: var(--f-m); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.mute { color: var(--mute); }
.new { color: var(--ac); font-family: var(--f-m); font-weight: 500; font-size: .7em; vertical-align: super; line-height: 0; margin-left: .08em; }

/* REC */
.rec { display: inline-flex; align-items: center; gap: .5em; }
.rec::before { content: ''; width: .62em; height: .62em; border-radius: 50%; background: var(--ac); flex: none; animation: gm-blink 1.2s steps(2, jump-none) infinite; }
.rec.is-still::before { animation: none; }
.on-video .rec::before { background: #FF4136; }
@keyframes gm-blink { 50% { opacity: .15; } }

/* ---------- PÍLULAS ---------- */
.pill {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 48px; padding: 0 1.4rem; border-radius: 999px;
  border: 1.5px solid currentColor;
  font-family: var(--f-m); font-size: .8125rem; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap;
  transition: color .45s var(--ease);
}
.pill::before {
  content: ''; position: absolute; inset: -1px; z-index: -1; border-radius: inherit;
  background: var(--fg); transform: translateY(101%); transition: transform .45s var(--ease);
}
.pill:hover, .pill.is-hover { color: var(--bg); }
.pill:hover::before, .pill.is-hover::before { transform: translateY(0); }
.pill.is-focus { outline: 2px solid var(--ac); outline-offset: 4px; }
.pill--solid { background: var(--ac); color: var(--bg); border-color: var(--ac); }
.pill--solid:hover, .pill--solid.is-hover { color: var(--bg); border-color: var(--fg); }
.pill--ink { color: var(--video-ink); }
.pill--ink::before { background: var(--video-ink); }
.pill--ink:hover, .pill--ink.is-hover { color: #111; }
.pill--sm { min-height: 40px; padding: 0 1rem; font-size: .75rem; }
.pill svg { width: 1em; height: 1em; flex: none; }

/* Link com sublinhado que cresce */
.ul { background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .5s var(--ease); padding-bottom: .06em; }
.ul:hover, .ul.is-hover, .ul:focus-visible { background-size: 100% 2px; }

/* ---------- CABEÇALHO ---------- */
.hdr { position: fixed; z-index: 50; top: 0; left: 0; right: 0; mix-blend-mode: difference; color: #fff; }
.hdr-in { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 14px var(--gut); }
.hdr-name { font-weight: 800; font-size: 1.125rem; letter-spacing: -.03em; white-space: nowrap; }
.hdr-tc { display: flex; gap: 1rem; align-items: center; }
.hdr-nav { display: flex; align-items: center; gap: 1.75rem; }
.hdr-nav a:not(.pill) { font-size: .9375rem; font-weight: 500; min-height: 48px; display: inline-flex; align-items: center; }
.hdr-menu { display: none; }
.playhead { position: fixed; z-index: 51; top: 0; left: 0; height: 3px; width: 100%; background: var(--ac); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- CURSOR ---------- */
.cur { position: fixed; z-index: 100; left: 0; top: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--ac); pointer-events: none;
  display: grid; place-items: center; transition: width .45s var(--ease-out), height .45s var(--ease-out), margin .45s var(--ease-out), background .3s; will-change: transform; }
.cur-l { font-family: var(--f-m); font-size: .6875rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--bg); opacity: 0; white-space: nowrap; transition: opacity .2s; }
.cur.is-link { width: 40px; height: 40px; margin: -20px 0 0 -20px; background: color-mix(in oklab, var(--ac) 30%, transparent); }
.cur.is-big { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--ac); }
.cur.is-big .cur-l { opacity: 1; transition-delay: .12s; }
.cur.is-hidden { opacity: 0; }
@media (pointer: fine) { .gm.has-cur, .gm.has-cur a, .gm.has-cur button { cursor: none; } }
@media (pointer: coarse) { .cur { display: none; } }

/* ---------- LOADER ---------- */
.ldr { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; background: var(--bg); }
.ldr-box { display: grid; gap: 14px; justify-items: center; }
.ldr-frame { width: 168px; aspect-ratio: 4/5; border-radius: 14px; overflow: hidden; background: var(--sub); }
.ldr-frame img { width: 100%; height: 100%; object-fit: cover; animation: gm-kb 3s linear infinite alternate; }
.ldr-tc { font-size: 1.5rem; }
.ldr-cur { position: fixed; inset: 0; z-index: 91; pointer-events: none; display: grid; }
.ldr-cur i { grid-area: 1/1; transform: translateY(101%); }
.ldr-cur i:nth-child(1) { background: var(--fg); }
.ldr-cur i:nth-child(2) { background: var(--ac); }
.ldr.is-out { animation: gm-out 0s .55s forwards; }
.ldr-cur.is-out i { animation: gm-curtain 1.1s var(--ease) forwards; }
.ldr-cur.is-out i:nth-child(2) { animation-delay: .12s; }
@keyframes gm-out { to { visibility: hidden; } }
@keyframes gm-curtain { 0% { transform: translateY(101%); } 50% { transform: translateY(0); } 100% { transform: translateY(-101%); } }

/* ---------- VÍDEO / PLACEHOLDERS ---------- */
.vid { position: relative; overflow: hidden; background: #0b0b0b; color: var(--video-ink); }
.vid > img, .cut { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cut { opacity: 0; }
.cut.on { opacity: 1; }
.kb { animation: gm-kb 9s linear infinite alternate; transform-origin: 60% 40%; }
@keyframes gm-kb { from { transform: scale(1.02); } to { transform: scale(1.12) translate(-1.5%, 1%); } }
.scrim { position: absolute; inset: 0; background: rgba(8, 8, 8, .44); }
.grain { position: absolute; inset: -50%; background: url(img/grain.png); animation: gm-grain .5s steps(4) infinite; pointer-events: none; opacity: .9; }
@keyframes gm-grain { 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } }
.ph-lbl { position: absolute; left: 12px; bottom: 12px; right: 12px; font-family: var(--f-m); font-size: .6875rem; letter-spacing: .04em; text-transform: uppercase; color: var(--video-ink); opacity: .85; }
.ph-photo { background: var(--sub); display: grid; place-items: end start; padding: 16px; border-radius: 4px; }

/* ---------- SEÇÕES ---------- */
.sec { padding-block: clamp(5rem, 11vw, 10rem); position: relative; }
.sec-hd { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-bottom: clamp(2rem, 4vw, 3.5rem); }

/* HERO A */
.hero { position: relative; min-height: min(100svh, max(40rem, 56.25vw)); display: flex; flex-direction: column; justify-content: flex-end; }
.hero .vid { position: absolute; inset: 0; }
.hero-in { position: relative; z-index: 2; padding: 0 var(--gut) clamp(1.5rem, 3vw, 2.75rem); color: var(--video-ink); display: grid; gap: clamp(1.25rem, 2.4vw, 2.25rem); }
.hero-top { position: absolute; z-index: 2; top: 84px; left: var(--gut); right: var(--gut); display: flex; justify-content: space-between; gap: 1rem; color: var(--video-ink); }
.hero-meta { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.hero-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem 3rem; flex-wrap: wrap; }
.hero-line { max-width: 34ch; }
.btns { display: flex; gap: .75rem; flex-wrap: wrap; }

/* REEL fixo */
.reel { position: relative; height: calc(min(100svh, 56.25vw) * 3.2); }
.reel-stick { position: sticky; top: 0; height: min(100svh, 56.25vw); }
.reel-stick .vid { position: absolute; inset: 0; }
.reel-ui { position: absolute; inset: 0; z-index: 2; padding: 80px var(--gut) clamp(1.25rem, 2.6vw, 2.5rem); display: flex; flex-direction: column; justify-content: space-between; color: var(--video-ink); pointer-events: none; }
.reel-ui .row { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; }
.reel-ui .pill { pointer-events: auto; }
.reel-spd { min-width: 6ch; display: inline-block; }
.reel-hit { position: absolute; inset: 0; z-index: 1; width: 100%; }
.floaters { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.floater { position: absolute; width: clamp(150px, 19vw, 300px); aspect-ratio: 4/5; overflow: hidden; border-radius: 4px; box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.floater img { width: 100%; height: 100%; object-fit: cover; }
.floater .t-meta { position: absolute; left: 10px; bottom: 10px; color: var(--video-ink); }

/* TRABALHOS */
.chips { display: flex; gap: .5rem; flex-wrap: wrap; }
.chip { min-height: 44px; padding: 0 1rem; border-radius: 999px; border: 1.5px solid var(--line); font-family: var(--f-m); font-size: .75rem; letter-spacing: .05em; text-transform: uppercase; transition: border-color .3s, background .3s, color .3s; }
.chip:hover { border-color: var(--fg); }
.chip[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.clips { border-bottom: 1px solid var(--line); }
.clip { position: relative; isolation: isolate; display: grid; grid-template-columns: 5.5rem minmax(0, 1fr) minmax(0, 15rem) minmax(0, 15rem) 8.5rem; gap: 1.25rem; align-items: center; padding: 1.5rem .75rem; border-top: 1px solid var(--line); transition: color .4s var(--ease); }
.clip::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--fg); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .5s var(--ease); }
.clip:hover, .clip.is-hover, .clip:focus-visible { color: var(--bg); }
.clip:hover::before, .clip.is-hover::before, .clip:focus-visible::before { transform: scaleY(1); }
.clip .ttl { transition: transform .5s var(--ease); }
.clip:hover .ttl, .clip.is-hover .ttl { transform: translateX(1rem); }
.clip .num { display: flex; align-items: center; gap: .5rem; }
.clip .num::before { content: ''; width: .6rem; height: .6rem; border-radius: 50%; background: var(--ac); transform: scale(0); transition: transform .35s var(--ease-out); }
.clip:hover .num::before, .clip.is-hover .num::before { transform: scale(1); }
.clip .dur { text-align: right; }
.clip .m-pv { display: none; }
.clip .off { color: var(--ac); }
.clip:hover .off, .clip.is-hover .off { color: var(--bg); }

/* preview que segue o cursor */
.pv { position: fixed; z-index: 60; left: 0; top: 0; width: clamp(220px, 21vw, 320px); aspect-ratio: 4/5; pointer-events: none; will-change: transform; }
.pv-in { position: absolute; inset: 0; overflow: hidden; border-radius: 6px; clip-path: inset(50% 50% 50% 50% round 6px); transition: clip-path .55s var(--ease); background: #0b0b0b; }
.pv.is-on .pv-in, .pv.is-static .pv-in { clip-path: inset(0 0 0 0 round 6px); }
.pv-top { position: absolute; top: 10px; left: 12px; right: 12px; display: flex; justify-content: space-between; color: var(--video-ink); z-index: 2; }

/* SOBRE */
.about { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3rem); align-items: start; }
.about-p { grid-column: span 8; }
.about-ph { grid-column: 10 / span 3; aspect-ratio: 4/5; }
.w { position: relative; display: inline; font: inherit; color: inherit; text-decoration: underline; text-decoration-thickness: .06em; text-underline-offset: .12em; text-decoration-color: var(--ac); }
.w svg { display: inline-block; width: .62em; height: .62em; margin: 0 .12em 0 .08em; vertical-align: .08em; color: var(--ac); }
.w-pop { position: absolute; z-index: 20; left: 50%; bottom: calc(100% + 10px); width: clamp(180px, 18vw, 260px); aspect-ratio: 16/10; margin-left: calc(clamp(180px, 18vw, 260px) / -2); border-radius: 6px; overflow: hidden; pointer-events: none; clip-path: inset(50% 50% 50% 50% round 6px); transition: clip-path .5s var(--ease); background: #0b0b0b; }
.w-pop img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.w.is-open .w-pop { clip-path: inset(0 0 0 0 round 6px); }

/* HABILIDADES = créditos */
.credits { max-width: 1100px; margin-inline: auto; display: grid; }
.cr { display: grid; grid-template-columns: 4rem minmax(0, auto) minmax(2rem, 1fr) auto; align-items: baseline; gap: 1rem; padding-block: 1.1rem; border-top: 1px solid var(--line); }
.cr:last-child { border-bottom: 1px solid var(--line); }
.cr .lead { border-bottom: 2px dotted var(--line); transform: translateY(-.3em); }

/* CLIENTES */
.clients { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2em .5em; }
.clients .sep { color: var(--ac); }

/* CONTATO */
.cta { padding-top: clamp(5rem, 11vw, 10rem); }
.mail { display: inline-block; font-weight: 800; font-size: clamp(2.25rem, 7.4vw, 7.75rem); line-height: 1; letter-spacing: -.045em; overflow-wrap: anywhere; }
.links { display: flex; flex-wrap: wrap; gap: .75rem; }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding-block: 1.5rem 2rem; border-top: 1px solid var(--line); margin-top: clamp(4rem, 8vw, 7rem); }

/* mood + whatsapp flutuantes */
.mood { position: fixed; z-index: 55; left: var(--gut); bottom: 20px; background: var(--bg); color: var(--fg); }
.sw { display: inline-flex; gap: 3px; }
.sw i { width: 10px; height: 10px; border-radius: 50%; border: 1px solid var(--line); }
.wa { position: fixed; z-index: 56; right: 16px; bottom: 16px; width: 60px; height: 60px; border-radius: 50%; background: var(--ac); color: var(--bg); display: none; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.wa svg { width: 28px; height: 28px; }

/* MENU tela cheia (mobile) */
.menu { position: fixed; inset: 0; z-index: 70; background: var(--fg); color: var(--bg); padding: 16px var(--gut) 24px; display: flex; flex-direction: column; justify-content: space-between; clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease); }
.menu.is-open { clip-path: inset(0 0 0 0); }
.menu nav { display: grid; gap: .25rem; }
.menu nav a { font-weight: 800; font-size: clamp(2.75rem, 13vw, 4.5rem); line-height: 1; letter-spacing: -.045em; display: flex; align-items: baseline; gap: .6rem; min-height: 48px; }
.menu nav a .t-meta { font-size: .75rem; letter-spacing: .04em; color: color-mix(in oklab, var(--bg) 70%, var(--fg)); }

/* revelação de linha */
.rv { display: block; overflow: hidden; }
.rv > span { display: block; animation: gm-up 1.1s var(--ease) both; }
.rv:nth-child(2) > span { animation-delay: .08s; }
@keyframes gm-up { from { transform: translateY(105%); } }

/* PROJETO */
.crumb { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-top: 96px; }
.ficha { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); border-top: 1px solid var(--line); }
.ficha > div { padding: 1rem 1.25rem 1.25rem 0; display: grid; gap: .4rem; }
.player { position: relative; aspect-ratio: 16/9; border-radius: 6px; overflow: hidden; width: 100%; }
.player-btn { position: absolute; z-index: 3; inset: 0; display: grid; place-items: center; width: 100%; }
.play { width: clamp(88px, 9vw, 128px); aspect-ratio: 1; border-radius: 50%; background: #FF4136; color: #0F0E0D; display: grid; place-items: center; transition: transform .5s var(--ease-out); }
.player-btn:hover .play { transform: scale(1.08); }
.play svg { width: 34%; height: 34%; margin-left: 6%; }
.player-bar { position: absolute; z-index: 4; left: 0; right: 0; bottom: 0; padding: 14px 18px; display: flex; justify-content: space-between; align-items: center; gap: 1rem; color: var(--video-ink); }
.loadbar { position: absolute; left: 0; bottom: 0; height: 3px; background: #FF4136; animation: gm-load 1.6s var(--ease) forwards; }
@keyframes gm-load { from { width: 0; } to { width: 100%; } }
.frames { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: clamp(.75rem, 1.6vw, 1.25rem); }
.frames figure { margin: 0; position: relative; border-radius: 4px; overflow: hidden; }
.next { position: relative; display: block; overflow: hidden; border-top: 1px solid var(--line); padding-block: clamp(3rem, 7vw, 6rem); isolation: isolate; }
.next .vid { position: absolute; inset: 0; z-index: -1; clip-path: inset(100% 0 0 0); transition: clip-path .8s var(--ease); }
.next:hover .vid, .next:focus-visible .vid { clip-path: inset(0 0 0 0); }
.next:hover, .next:focus-visible { color: var(--video-ink); }
.enter { position: fixed; inset: 0; z-index: 95; pointer-events: none; display: grid; }
.enter i { grid-area: 1/1; animation: gm-wipe 1.1s var(--ease) forwards; }
.enter i:nth-child(1) { background: var(--ac); }
.enter i:nth-child(2) { background: var(--fg); animation-delay: .1s; }
@keyframes gm-wipe { from { transform: translateY(0); } to { transform: translateY(-101%); } }

/* ---------- extras de componentes ---------- */
.hdr-nav a:hover .ul, .hdr-nav a:focus-visible .ul { background-size: 100% 2px; }
.stretch { outline: none; }
.stretch::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.clip:focus-within { color: var(--bg); }
.clip:focus-within::before { transform: scaleY(1); }
.clip:has(.stretch:focus-visible) { outline: 2px solid var(--ac); outline-offset: -2px; }
.pv-btn { position: relative; z-index: 2; grid-column: 2; justify-self: start; }
.clip-inl { grid-column: 1 / -1; aspect-ratio: 16/9; max-width: 640px; border-radius: 4px; }
.menu { visibility: hidden; transition: clip-path .7s var(--ease), visibility 0s .7s; }
.menu.is-open { visibility: visible; transition: clip-path .7s var(--ease); }
.band { border-block: 1px solid var(--line); padding-block: clamp(1.5rem, 3vw, 2.5rem); }

/* HERO B — janela que cresce */
.hb { position: relative; height: calc(min(100svh, 56.25vw) * 2.2); }
.hb-stick { position: sticky; top: 0; height: min(100svh, 56.25vw); display: grid; place-items: center; overflow: hidden; }
.hb-type { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 0 var(--gut); }
.hb-win { position: relative; z-index: 2; width: 30%; aspect-ratio: 16/9; border-radius: 12px; overflow: hidden; will-change: width, border-radius; }
.hb-corner { position: absolute; z-index: 3; display: grid; gap: .25rem; }

/* HERO C — timeline */
.hc { position: relative; min-height: min(100svh, max(40rem, 56.25vw)); display: grid; grid-template-rows: auto 1fr auto; gap: 1.25rem; padding: 84px var(--gut) 1.5rem; }
.hc-top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 3rem); align-items: end; }
.hc-mon { aspect-ratio: 16/9; border-radius: 6px; }
.tl { border-top: 1px solid var(--line); padding-top: .75rem; display: grid; gap: 6px; position: relative; user-select: none; }
.tl-ruler { display: flex; justify-content: space-between; padding-left: 3rem; }
.tl-track { display: grid; grid-template-columns: 3rem minmax(0, 1fr); align-items: stretch; gap: 0; }
.tl-lane { display: flex; gap: 3px; min-width: 0; }
.tl-clip { position: relative; display: block; height: 64px; border-radius: 3px; overflow: hidden; background: var(--sub); min-width: 0; }
.tl-clip img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.tl-clip .t-meta { position: absolute; left: 6px; top: 5px; right: 6px; color: var(--video-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 1px 4px rgba(0,0,0,.6); }
.tl-clip.is-on { outline: 2px solid var(--ac); outline-offset: 1px; }
.tl-title { height: 26px; border-radius: 3px; background: color-mix(in oklab, var(--ac) 22%, var(--bg)); border: 1px solid color-mix(in oklab, var(--ac) 50%, var(--bg)); display: flex; align-items: center; padding: 0 8px; min-width: 0; overflow: hidden; white-space: nowrap; }
.tl-wave { height: 34px; border-radius: 3px; background: repeating-linear-gradient(90deg, var(--mute) 0 2px, transparent 2px 5px); clip-path: polygon(0 40%, 6% 20%, 12% 55%, 18% 10%, 25% 45%, 31% 25%, 38% 60%, 45% 15%, 52% 50%, 58% 30%, 65% 5%, 72% 45%, 79% 20%, 86% 55%, 93% 25%, 100% 40%, 100% 60%, 93% 75%, 86% 45%, 79% 80%, 72% 55%, 65% 95%, 58% 70%, 52% 50%, 45% 85%, 38% 40%, 31% 75%, 25% 55%, 18% 90%, 12% 45%, 6% 80%, 0 60%); opacity: .6; }
.tl-ph { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--ac); pointer-events: none; }
.tl-ph::before { content: ''; position: absolute; top: -2px; left: -6px; width: 14px; height: 10px; background: var(--ac); clip-path: polygon(0 0, 100% 0, 50% 100%); }

/* ---------- RESPONSIVO ---------- */
@media (max-width: 1100px) {
  .clip { grid-template-columns: 4rem minmax(0, 1fr) minmax(0, 13rem) 7rem; }
  .clip .fn { display: none; }
}
@media (max-width: 760px) {
  .hdr-nav { display: none; }
  .hdr-tc { display: none; }
  .hdr-menu { display: inline-flex; }
  .wa { display: grid; }
  .mood { bottom: 24px; }
  .hero-top { top: 72px; }
  .clip { grid-template-columns: 3rem minmax(0, 1fr) auto; grid-template-areas: "n t d" "pv pv pv" "c c c"; padding: 1.25rem 0; row-gap: .75rem; }
  .clip::before { display: none; }
  .clip:hover { color: inherit; }
  .clip .num { grid-area: n; } .clip .ttl { grid-area: t; } .clip .dur { grid-area: d; } .clip .cli { grid-area: c; }
  .clip .m-pv { grid-area: pv; display: block; aspect-ratio: 16/9; border-radius: 4px; filter: grayscale(1) brightness(.7); transition: filter .5s; }
  .clip.is-active .m-pv { filter: none; }
  .clip .m-pv .pv-top { opacity: 0; transition: opacity .3s; }
  .clip.is-active .m-pv .pv-top { opacity: 1; }
  .clip:hover .ttl { transform: none; }
  .pv { display: none; }
  .about-p, .about-ph { grid-column: 1 / -1; }
  .about-ph { max-width: 70%; }
  .cr { grid-template-columns: 2.5rem minmax(0, 1fr); }
  .cr .lead { display: none; }
  .cr .who { grid-column: 2; }
}

/* ---------- MOVIMENTO REDUZIDO ---------- */
.gm.is-reduced *, .gm.is-reduced *::before, .gm.is-reduced *::after { animation: none !important; transition-duration: .01ms !important; }
.gm.is-reduced .reel { height: auto; }
.gm.is-reduced .reel-stick { position: relative; height: min(100svh, 56.25vw); }
.gm.is-reduced .floaters, .gm.is-reduced .pv, .gm.is-reduced .cur, .gm.is-reduced .ldr, .gm.is-reduced .ldr-cur { display: none; }
.gm.is-reduced .clip::before { display: none; }
.gm.is-reduced .clip:hover { color: inherit; }
.gm.is-reduced .clip:hover .ttl { transform: none; }
.pv-btn { display: none; }
.gm.is-reduced .pv-btn { display: inline-flex; }
.gm.is-reduced .w-pop { display: none; }
.gm.is-reduced .w.is-open .w-pop { display: block; clip-path: none; }
@media (prefers-reduced-motion: reduce) {
  .gm *, .gm *::before, .gm *::after { animation: none !important; transition-duration: .01ms !important; }
  .reel { height: auto; } .reel-stick { position: relative; }
  .floaters, .pv, .cur, .ldr, .ldr-cur { display: none; }
  .pv-btn { display: inline-flex; }
}

@media (max-width: 760px) {
  .hc-top { grid-template-columns: 1fr; }
  .tl-clip .t-meta { display: none; }
  .hb-win { width: 70%; }
}

/* ---------- site no WordPress (sites/guimedeiros) ---------- */
body { margin: 0; background: #0F0E0D; }
.clip[hidden] { display: none; }
.about-ph { border-radius: 4px; }
.player iframe { position: absolute; inset: 0; z-index: 5; width: 100%; height: 100%; border: 0; }
/* loader só na 1ª visita (classe posta no <html> pelo mu-plugin) e some sozinho mesmo sem JS */
.gm-seen .ldr, .gm-seen .ldr-cur { display: none; }
.ldr { animation: gm-out 0s 4s forwards; }
.gm.is-reduced .enter { display: none; }
@media (prefers-reduced-motion: reduce) { .enter { display: none; } }
/* .gm a { color: inherit } ganhava das pílulas: texto sumia no mood claro */
.gm .pill--solid { color: var(--bg); }
.gm .pill--ink { color: var(--video-ink); }
.gm .pill:hover { color: var(--bg); }
.gm .pill--ink:hover { color: #111; }
[data-tl] { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 760px) { .tl-regua span:not(:first-child):not(:last-child) { display: none; } }
.gm .mood { background: var(--bg); }
.gm button.pill { padding: 0 1.4rem; }
.gm button.pill--sm { padding: 0 1rem; }
