/* marcussartori.eu · site pessoal
   Design system Ignição: Palco (carvão + laranja) como base e Papel nas secções claras. */

:root {
  --carvao: #14110F;
  --carvao-2: #1E1A17;
  --carvao-3: #2A2420;
  --creme: #F5EFE6;
  --creme-2: #CFC6B9;
  --papel: #F7F4EF;
  --areia: #E6DCCB;
  --areia-escura: #D8CDBB;
  --laranja: #F5821F;
  --laranja-texto: #A64E0C;
  --cinza: #4A433D;

  --titulo: "Barlow Condensed", "Arial Narrow", sans-serif;
  --serifa: "Instrument Serif", Georgia, serif;
  --corpo: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --margem: clamp(16px, 5vw, 88px);
  --largura: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--carvao);
  color: var(--creme);
  font-family: var(--corpo);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: clip;
}
/* grão de papel, bem leve */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 60;
  opacity: .14;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

a { color: var(--laranja); text-underline-offset: 3px; }
a:hover { color: var(--creme); }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--laranja); outline-offset: 3px; }
.saltar { position: absolute; left: -999px; top: 8px; background: var(--laranja); color: var(--carvao); padding: 10px 14px; z-index: 100; font-weight: 600; }
.saltar:focus { left: 8px; }
.laranja { color: var(--laranja); }

/* ---------- peças comuns ---------- */
.sobrelinha {
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--creme-2);
}
.ponto { width: 9px; height: 9px; border-radius: 50%; background: var(--laranja); flex-shrink: 0; }

.titulo-secao {
  font-family: var(--titulo);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(42px, 5.6vw, 80px);
  line-height: .92;
  letter-spacing: -.005em;
  margin-top: 18px;
}
.titulo-secao em {
  display: block;
  font-family: var(--serifa);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.15;
  letter-spacing: 0;
  color: var(--creme-2);
  margin-top: 16px;
  max-width: 36ch;
}

.botao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 10px 26px;
  background: var(--laranja);
  color: var(--carvao);
  font-family: var(--titulo);
  font-weight: 800;
  font-size: 21px;
  letter-spacing: .05em;
  text-transform: uppercase;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transform: rotate(-2deg);
  box-shadow: 4px 4px 0 var(--creme);
  transition: transform .18s ease, box-shadow .18s ease;
}
.botao:hover { color: var(--carvao); transform: rotate(0deg) translate(-2px, -2px); box-shadow: 6px 6px 0 var(--creme); }
.botao:active { transform: rotate(0deg) translate(2px, 2px); box-shadow: 1px 1px 0 var(--creme); }
.botao--pequeno { min-height: 42px; font-size: 17px; padding: 6px 16px; box-shadow: 3px 3px 0 var(--creme); }
.botao--grande { font-size: 25px; min-height: 62px; padding: 12px 34px; }

.ligacao {
  font-family: var(--titulo);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--creme);
  text-decoration: none;
  border-bottom: 2px solid var(--laranja);
  padding-bottom: 2px;
}
.ligacao:hover { color: var(--laranja); }
.ligacao--escura { color: var(--carvao); border-bottom-color: var(--laranja-texto); }
.ligacao--escura:hover { color: var(--laranja-texto); }

.secao { padding: clamp(72px, 9vw, 128px) var(--margem); }
.secao > * { max-width: var(--largura); margin-inline: auto; }

/* secções claras (Papel) */
.papel { background: var(--papel); color: var(--carvao); }
.papel .sobrelinha { color: var(--cinza); }
.papel .laranja { color: var(--laranja-texto); }
.papel .ponto { background: var(--laranja-texto); }

/* ---------- herói (a mesma estrutura da página da NOS) ---------- */
.heroi {
  --foto-h: min(112vw, 600px);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--carvao);
  padding: 24px var(--margem) 56px;
}
.heroi__foto {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: var(--foto-h);
  z-index: -1;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 45%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 45%, transparent 100%);
}
.heroi__foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; mix-blend-mode: lighten; }
.heroi__foto::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 45% at 62% 28%, rgba(245, 130, 31, .16), transparent 70%),
    linear-gradient(to bottom, rgba(20, 17, 15, .55) 0%, transparent 22%);
}
.heroi__dentro { position: relative; max-width: var(--largura); margin: 0 auto; }
.heroi__topo { display: flex; justify-content: flex-end; align-items: center; gap: 16px; }
.heroi__ms { width: 34px; flex: none; }
.heroi__texto { margin-top: calc(var(--foto-h) - 175px); }
.heroi__titulo {
  font-family: var(--titulo);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(48px, 13vw, 128px);
  line-height: .92;
  letter-spacing: -.01em;
  text-wrap: balance;
  margin-top: 18px;
  max-width: 980px;
}
.heroi__lead {
  font-family: var(--serifa);
  font-style: italic;
  font-size: clamp(26px, 6.4vw, 40px);
  line-height: 1.12;
  text-wrap: balance;
  margin-top: 24px;
  max-width: 620px;
}
.heroi__acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-top: 28px; }
.cue {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding-right: 8px;
  text-decoration: none;
  font-family: var(--titulo);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--creme);
}
.cue:hover { color: var(--creme); }
.cue__play { width: 40px; height: 40px; border-radius: 50%; background: var(--laranja); display: grid; place-items: center; flex: none; transition: transform .2s; }
.cue__play::after { content: ""; border-style: solid; border-width: 7px 0 7px 11px; border-color: transparent transparent transparent var(--carvao); margin-left: 3px; }
.cue:hover .cue__play { transform: scale(1.08); }

@media (min-width: 960px) {
  .heroi { min-height: 100svh; display: flex; flex-direction: column; padding-top: 36px; padding-bottom: 72px; }
  .heroi__dentro { flex: 1; display: flex; flex-direction: column; width: 100%; }
  .heroi__foto {
    left: auto;
    width: 60%;
    height: auto;
    bottom: 0;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 42%), linear-gradient(to top, transparent 0%, #000 26%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(to right, transparent 0%, #000 42%), linear-gradient(to top, transparent 0%, #000 26%);
    mask-composite: intersect;
  }
  .heroi__foto img { object-position: 50% 22%; }
  .heroi__texto { margin-block: auto; padding-top: 24px; max-width: 700px; }
  .heroi__titulo { font-size: clamp(64px, 6.8vw, 104px); }
}

/* ---------- ambidestria ---------- */
.ambi {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
}
.ambi__texto { padding-top: 34px; font-size: 18px; color: var(--cinza); }
.ambi__tom {
  margin-top: 22px;
  font-family: var(--serifa);
  font-style: italic;
  font-size: clamp(24px, 2.4vw, 31px);
  line-height: 1.2;
  color: var(--carvao);
}
.venn { display: block; width: 100%; max-width: 620px; height: auto; margin: clamp(48px, 6vw, 72px) auto 0; overflow: visible; }
.venn__c { fill: none; stroke: var(--carvao); stroke-width: 3; }
.venn__lente { fill: var(--laranja); }
.venn__rot { font-family: var(--titulo); font-weight: 800; font-size: 27px; letter-spacing: .02em; text-transform: uppercase; fill: var(--carvao); }
.venn__aqui { font-family: var(--titulo); font-weight: 800; font-size: 27px; letter-spacing: .03em; text-transform: uppercase; fill: var(--carvao); }

/* ---------- baú ---------- */
.cursor { display: inline-block; width: .42em; height: .11em; margin-left: .06em; background: var(--laranja); vertical-align: baseline; }
.papel .cursor { background: var(--laranja-texto); }
.heroi__titulo .w { display: inline-block; }
.nw { white-space: nowrap; }

/* faixa de abertura do baú: as três cidades em duotone, a tarja a passar e o título do banner do LinkedIn */
.bau__faixa {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: clamp(340px, 32vw, 480px);
  background: url("img/bau-fundo.webp") center / cover no-repeat, var(--carvao);
}
.bau__faixa::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 17, 15, .5) 0%, rgba(20, 17, 15, .72) 42%, rgba(20, 17, 15, .86) 100%);
}
.bau__faixa::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 30%;
  background: linear-gradient(to bottom, transparent, var(--carvao));
}
.bau__faixa-texto {
  position: relative;
  z-index: 1;
  margin-left: auto;
  width: min(100%, 940px);
  padding: clamp(110px, 10vw, 140px) var(--margem) clamp(44px, 5vw, 64px);
}
.bau__faixa-titulo {
  font-family: var(--titulo);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(36px, 4vw, 64px);
  line-height: .92;
  letter-spacing: -.005em;
  color: var(--creme);
}
.bau__faixa-tom {
  margin-top: 14px;
  font-family: var(--serifa);
  font-style: italic;
  font-size: clamp(19px, 1.8vw, 26px);
  line-height: 1.2;
  color: var(--creme-2);
}
.tarja {
  position: absolute;
  z-index: 2;
  top: clamp(22px, 3vw, 44px);
  left: -6%;
  right: -6%;
  background: var(--laranja);
  color: var(--carvao);
  transform: rotate(-3deg);
  padding: 10px 0;
  overflow: hidden;
  white-space: nowrap;
}
.tarja__fita { display: inline-flex; animation: corre 40s linear infinite; }
.tarja span {
  font-family: var(--titulo);
  font-weight: 800;
  font-size: clamp(18px, 2vw, 28px);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.tarja b { font-weight: 800; padding: 0 .6em; }
@keyframes corre { to { transform: translateX(-50%); } }
.bau__dentro { padding-top: clamp(56px, 7vw, 96px); }
.episodios {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 32px);
  margin-top: clamp(40px, 5vw, 64px);
}
.ep__capa {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 6px;
  overflow: hidden;
  background: var(--carvao-2);
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .8);
  transition: transform .25s ease, box-shadow .25s ease;
}
.ep__capa img { width: 100%; height: 100%; object-fit: cover; }
a.ep__capa:hover { transform: translateY(-6px) rotate(-1deg); box-shadow: 0 28px 50px -22px rgba(0, 0, 0, .9); }
.ep__play {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--laranja);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .45);
  transition: transform .2s ease;
}
.ep__play::after {
  content: "";
  position: absolute;
  left: 21px;
  top: 16px;
  border-left: 17px solid var(--carvao);
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
}
a.ep__capa:hover .ep__play { transform: scale(1.08); }

/* capa desenhada do Ep. 1 (a do vídeo é um fotograma) */
.ep__capa--desenhada::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(20, 17, 15, .92) 0%, rgba(20, 17, 15, .75) 34%, rgba(20, 17, 15, 0) 58%);
  z-index: 1;
}
.ep__faixa {
  position: absolute;
  left: -10%;
  right: -10%;
  top: 11%;
  z-index: 2;
  background: var(--laranja);
  color: var(--carvao);
  transform: rotate(-4deg);
  font-family: var(--titulo);
  font-weight: 800;
  font-size: clamp(10px, 1vw, 13px);
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 0;
  text-align: center;
  white-space: nowrap;
}
.ep__capa-titulo {
  position: absolute;
  left: 9%;
  right: 9%;
  top: 21%;
  z-index: 2;
  color: var(--creme);
  font-family: var(--titulo);
  font-weight: 800;
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: .95;
  text-transform: uppercase;
}
.ep__capa-titulo b { color: var(--laranja); font-weight: 800; }

.ep__num {
  margin-top: 18px;
  font-family: var(--serifa);
  font-style: italic;
  font-size: 22px;
  color: var(--laranja);
  line-height: 1;
}
.ep__titulo {
  margin-top: 6px;
  font-family: var(--titulo);
  font-weight: 800;
  font-size: clamp(21px, 1.9vw, 26px);
  line-height: 1;
  text-transform: uppercase;
}
.ep--breve .ep__capa img { opacity: .55; }
.ep__breve {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  margin: 0 12px;
  background: var(--carvao);
  color: var(--creme);
  border: 1px solid var(--laranja);
  font-family: var(--titulo);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 8px 10px;
  text-align: center;
}
.bau__acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 32px; margin-top: 52px; }

/* ---------- posts do LinkedIn ---------- */
.posts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 28px);
  margin-top: clamp(36px, 4.5vw, 56px);
}
.post {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  padding: clamp(22px, 2.6vw, 34px);
  background: #FFFDF9;
  border: 1px solid var(--areia-escura);
  border-radius: 6px;
  color: var(--carvao);
  text-decoration: none;
  box-shadow: 0 1px 0 rgba(20, 17, 15, .05), 0 18px 34px -26px rgba(20, 17, 15, .35);
  transition: transform .2s ease, box-shadow .2s ease;
}
.post:hover { color: var(--carvao); transform: translateY(-4px); box-shadow: 0 1px 0 rgba(20, 17, 15, .05), 0 26px 40px -26px rgba(20, 17, 15, .45); }
.post__data { font-weight: 600; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--laranja-texto); }
.post__titulo { font-family: var(--titulo); font-weight: 800; font-size: clamp(26px, 2.4vw, 32px); line-height: 1; text-transform: uppercase; }
.post__texto { color: var(--cinza); font-size: 16px; }
.post__ler {
  margin-top: auto;
  padding-top: 8px;
  font-family: var(--titulo);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--laranja-texto);
}
.posts__mais { margin-top: 40px; }

/* ---------- conversa ---------- */
.conversa {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(96px, 12vw, 160px) var(--margem);
  background: radial-gradient(ellipse 60% 55% at 50% 30%, rgba(245, 130, 31, .2), transparent 70%), var(--carvao);
}
.conversa__logo { --marca: var(--laranja); --texto: var(--creme); display: block; width: min(520px, 82vw); height: auto; overflow: visible; }
.conversa__titulo {
  margin-top: clamp(40px, 6vw, 72px);
  font-family: var(--titulo);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(56px, 8vw, 116px);
  line-height: .92;
}
.conversa__tom {
  margin-top: 18px;
  max-width: 30ch;
  font-family: var(--serifa);
  font-style: italic;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.2;
  color: var(--creme-2);
}
.conversa .botao { margin-top: 44px; }

/* ---------- rodapé ---------- */
.rodape {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
  padding: 32px var(--margem);
  border-top: 1px solid rgba(245, 239, 230, .08);
  color: var(--creme-2);
  font-size: 14px;
}
.rodape__redes { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.rodape__redes a { color: var(--creme-2); }
.rodape__redes a:hover { color: var(--laranja); }
.rodape__ms { width: 46px; margin-left: auto; }

/* ---------- ecrãs menores ---------- */
@media (max-width: 1020px) {
  .episodios { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .posts { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .ambi { grid-template-columns: 1fr; }
  .ambi__texto { padding-top: 0; }
  .bau__faixa-texto { margin-left: 0; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .episodios { gap: 14px; }
  .ep__play { width: 44px; height: 44px; right: 10px; bottom: 10px; }
  .ep__play::after { left: 17px; top: 13px; border-left-width: 14px; border-top-width: 9px; border-bottom-width: 9px; }
  .ep__breve { font-size: 13px; padding: 6px; margin: 0 8px; }
  .venn__rot, .venn__aqui { font-size: 30px; }
  .rodape__ms { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .botao, .ep__capa, .ep__play, .post, .cue__play { transition: none; }
  .tarja__fita { animation: none; }
}
