/* Igor Pinzegher · site pessoal
   Estética dos conteúdos: KyivType, vinho, areia e tinta, traço doodle feito à mão. */

@font-face { font-family: "KyivType Sans"; src: url("../fonts/KyivTypeSans-Regular.otf?v=10a0a8839a") format("opentype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "KyivType Sans"; src: url("../fonts/KyivTypeSans-Bold.otf?v=505b3c4a75") format("opentype"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "KyivType Sans"; src: url("../fonts/KyivTypeSans-Black.otf?v=df2c1fbcb9") format("opentype"); font-weight: 900; font-style: normal; font-display: swap; }
@font-face { font-family: "KyivType Serif"; src: url("../fonts/KyivTypeSerif-Bold.otf?v=bd58a64996") format("opentype"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Bebas Neue"; src: url("../fonts/BebasNeue.woff2?v=a7c90c8924") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  color-scheme: light;
  --papel: #F4EBD9;
  --papel-2: #EADCC1;
  --kraft: #D8C29D;
  --tinta: #2A0A12;
  --tinta-2: #151112;
  --suave: #5B3F44;
  --vinho: #7F011F;
  --vinho-2: #650018;
  --noite: #0E0A0D;
  --areia: #F5EBD0;
  --areia-suave: #CDBFA4;
  --linha: rgba(42, 10, 18, .2);
  --sans: "KyivType Sans", "Helvetica Neue", Arial, sans-serif;
  --serif: "KyivType Serif", Georgia, "Times New Roman", serif;
  --num: "Bebas Neue", "KyivType Sans", Impact, sans-serif;
  --max: 1180px;
  --lado: clamp(16px, 4vw, 40px);
  --cab: 76px;
  --raio: 18px 13px 20px 12px / 12px 20px 14px 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--papel); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 20px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--papel);
  color: var(--tinta);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; line-height: 1.05; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--vinho); color: var(--areia); }
:focus-visible { outline: 3px solid var(--vinho); outline-offset: 3px; border-radius: 4px; }

.filtros { position: absolute; width: 0; height: 0; overflow: hidden; }
.pular { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--tinta); color: var(--areia); padding: 10px 16px; border-radius: var(--raio); text-decoration: none; font-weight: 700; }
.pular:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.caixa { width: 100%; max-width: calc(var(--max) + 2 * var(--lado)); margin: 0 auto; padding: 0 var(--lado); }

/* ---------- cabeçalho ---------- */
.cab { position: relative; z-index: 20; }
.cab .caixa { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--cab); }
.marca { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.marca-ip { display: inline-grid; place-items: center; width: 46px; height: 46px; background: var(--vinho); color: var(--areia); font-weight: 900; font-size: 20px; letter-spacing: -.02em; border: 2.5px solid var(--tinta-2); border-radius: var(--raio); transform: rotate(-4deg); padding-top: 3px; }
.marca-nome { font-weight: 900; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { text-decoration: none; font-weight: 700; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--vinho); border-radius: 3px; transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .bt { padding: 10px 16px; font-size: 13px; }
.nav .bt::after { display: none; }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; font-weight: 900; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; padding: 10px 16px; border: 2.5px solid var(--tinta); border-radius: var(--raio); }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { background: var(--tinta); color: var(--areia); }
.menu-lista { position: absolute; right: 0; top: calc(100% + 10px); width: min(78vw, 300px); background: var(--papel); border: 2.5px solid var(--tinta); border-radius: var(--raio); padding: 10px 0; box-shadow: 5px 5px 0 var(--tinta); }
.menu-lista a { display: block; padding: 12px 20px; text-decoration: none; font-weight: 700; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; }
.menu-lista a:hover { background: var(--papel-2); }
@media (max-width: 1140px) { .nav { display: none; } .menu { display: block; } }
@media (max-width: 350px) {
  .cab .caixa { gap: 10px; }
  .marca { gap: 8px; }
  .marca-ip { width: 40px; height: 40px; font-size: 17px; }
  .marca-nome { font-size: 13px; letter-spacing: .04em; }
  .menu summary { padding: 9px 12px; font-size: 13px; letter-spacing: .08em; }
}

/* ---------- botões ---------- */
.bt { display: inline-flex; align-items: center; justify-content: center; gap: 10px; white-space: nowrap; min-height: 48px; padding: 12px 22px; font-family: var(--sans); font-weight: 900; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; line-height: 1.1; color: var(--tinta); background: var(--papel); border: 2.5px solid var(--tinta); border-radius: var(--raio); box-shadow: 3px 3px 0 var(--tinta); transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease; }
.bt:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--tinta); }
.bt:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--tinta); }
.bt-vinho { background: var(--vinho); color: var(--areia); }
.bt-vinho:hover { background: var(--vinho-2); }
.bt-claro { background: var(--areia); }
.bt .seta-txt { font-family: var(--sans); font-weight: 700; }
.bts { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- traços ---------- */
.sublinhado-wrap { position: relative; display: inline-block; white-space: nowrap; }
.sublinhado-wrap .sublinhado { position: absolute; left: -2%; width: 104%; height: .32em; bottom: -.12em; color: var(--vinho); pointer-events: none; }
.circulado { position: relative; display: inline-block; }
.circulado .circulo { position: absolute; left: -14%; top: -22%; width: 128%; height: 144%; pointer-events: none; }
.divisoria { width: 100%; height: 12px; color: var(--tinta); }

/* ---------- abertura ---------- */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 34%) minmax(0, 1fr); grid-template-rows: auto 1fr; min-height: clamp(640px, calc(100svh - var(--cab)), 900px); }
.hero-a, .hero-b { position: relative; z-index: 3; padding-top: clamp(16px, 4vh, 48px); }
.hero-a { grid-column: 1; grid-row: 1; }
.hero-b { grid-column: 3; grid-row: 1; padding-left: 8px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 22px; }
@media (min-width: 1281px) { .hero .kicker { white-space: nowrap; } }
.kicker .desenho { width: 22px; height: 22px; flex: none; }
.frase { font-family: var(--serif); font-weight: 700; font-size: clamp(32px, 3.2vw, 48px); line-height: 1.1; letter-spacing: -.01em; margin: 0 0 18px; }
.hero .frase { white-space: nowrap; }
.hero-b p { font-size: 1.125rem; max-width: 25em; }
.hero-b .hero-clientes { display: flex; align-items: flex-start; gap: 10px; margin-top: 16px; font-family: var(--serif); font-weight: 700; font-size: 1.0625rem; line-height: 1.35; }
.hero-clientes .desenho { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.hero-clientes b { color: var(--vinho); }
.hero-b .bts { margin-top: 26px; }
.palco { grid-column: 1 / -1; grid-row: 1 / -1; position: relative; z-index: 1; pointer-events: none; }
.nome { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); z-index: 3; width: min(94vw, 1480px); margin: 0; }
.nome-primeiro { display: block; font-family: var(--serif); font-weight: 700; color: var(--vinho); font-size: clamp(30px, 4.2vw, 64px); line-height: 1; margin: 0 0 .12em .2em; }
.nome-svg { width: 100%; height: auto; overflow: visible; }
.nome-svg text { font-family: var(--sans); font-weight: 900; fill: var(--tinta); stroke: var(--papel); paint-order: stroke fill; }
.foto-hero { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); height: min(90%, 800px); width: auto; max-width: none; z-index: 2; }
.chao { position: relative; z-index: 4; height: 14px; margin-top: -7px; color: var(--tinta); overflow: hidden; }
.chao .divisoria { height: 14px; }
.anotacao { position: absolute; z-index: 3; display: flex; align-items: flex-start; gap: 6px; font-family: var(--serif); font-weight: 700; font-size: 17px; line-height: 1.2; color: var(--tinta); }
.anotacao .seta { width: 78px; height: 54px; flex: none; color: var(--tinta); }
.hero .anotacao { left: calc(50% + min(15vw, 230px)); bottom: 36%; max-width: 15ch; }

@media (min-width: 981px) and (max-width: 1180px) { .foto-hero { height: min(80%, 700px); } }
@media (max-width: 980px) {
  .hero { display: flex; flex-direction: column; min-height: 0; }
  .hero-a { padding-top: 22px; }
  .hero-b { padding: 26px 0 40px; }
  .palco { order: 2; height: min(128vw, 640px); margin: 8px calc(-1 * var(--lado)) 0; }
  .hero-a { order: 1; } .hero-b { order: 3; }
  .hero .frase { white-space: normal; }
  .foto-hero { height: 88%; left: 57%; }
  .nome-primeiro { font-size: 26px; }
  .chao { display: none; }
  .palco::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; background: var(--tinta); border-radius: 3px; z-index: 4; }
  .hero .anotacao { display: none; }
  .hero-b p { max-width: none; }
}

/* ---------- seções ---------- */
.secao { position: relative; padding: clamp(64px, 8vw, 104px) 0; }
.sec-cab { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 18px; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-num { font-family: var(--num); font-size: clamp(44px, 5vw, 64px); line-height: .8; padding-top: .08em; }
.traco-titulo { width: clamp(56px, 8vw, 120px); height: 16px; color: var(--tinta); }
.sec-tit { font-weight: 900; text-transform: uppercase; font-size: clamp(32px, 6.4vw, 88px); letter-spacing: -.02em; line-height: .9; overflow-wrap: anywhere; }
.sec-sub { display: block; margin-top: .5em; font-family: var(--serif); font-weight: 700; text-transform: none; letter-spacing: -.005em; font-size: clamp(22px, 2.5vw, 34px); line-height: 1.1; }
.sec-sub .sublinhado-wrap { white-space: normal; }
@media (max-width: 640px) { .sec-cab { grid-template-columns: 1fr; gap: 8px; } .traco-titulo { display: none; } .sec-tit { font-size: clamp(32px, 9vw, 88px); } }

.grade { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.col-5 { grid-column: span 5; } .col-6 { grid-column: span 6; } .col-7 { grid-column: span 7; }
@media (max-width: 900px) { .grade { grid-template-columns: 1fr; } .col-5, .col-6, .col-7 { grid-column: auto; } }

.texto p { font-size: 1.125rem; }
.texto p.destaque { font-family: var(--serif); font-weight: 700; font-size: clamp(21px, 2vw, 26px); line-height: 1.3; }
.caixa-vinho { background: var(--vinho); color: var(--areia); padding: 0 .22em; box-decoration-break: clone; -webkit-box-decoration-break: clone; border-radius: 3px; }

/* 01 sobre */
.desenhos-sobre { position: relative; width: 100%; max-width: 440px; aspect-ratio: 10 / 8.6; margin: 0 auto; }
.desenhos-sobre .livro { position: absolute; left: 4%; top: 2%; width: 56%; transform: rotate(-7deg); }
.desenhos-sobre .cadeado { position: absolute; right: 6%; bottom: 0; width: 38%; transform: rotate(8deg); }
.desenhos-sobre .estrela { position: absolute; right: 18%; top: 4%; width: 13%; }
.numeros { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 34px; }
.numero { position: relative; border: 2.5px solid var(--tinta); border-radius: var(--raio); padding: 16px 16px 14px; background: var(--papel); }
.numero:nth-child(3) { transform: rotate(1.2deg); }
.numero:nth-child(4) { transform: rotate(-1deg); }
.numero b { display: block; font-family: var(--num); font-weight: 400; font-size: clamp(46px, 5vw, 64px); line-height: .9; color: var(--vinho); }
.numero span { display: block; font-size: 14px; line-height: 1.35; margin-top: 6px; }
.numero-destaque { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 8px 22px; padding: 18px 20px 16px; transform: rotate(-.5deg); }
.numero-destaque b { font-size: clamp(64px, 7vw, 92px); }
.numero-destaque span { margin-top: 0; font-family: var(--serif); font-weight: 700; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.25; }
.regioes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.regioes li { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; line-height: 1; border: 2px solid var(--tinta); border-radius: 3px; padding: 5px 9px 4px; }
.regioes li:nth-child(2) { transform: rotate(-1.5deg); }
@media (max-width: 560px) {
  .numeros { grid-template-columns: 1fr; gap: 12px; }
  .numero { transform: none !important; display: grid; grid-template-columns: 88px 1fr; align-items: center; gap: 14px; }
  .numero span { margin-top: 0; }
  .numero-destaque { grid-template-columns: 1fr; gap: 6px; }
}

/* 02 trabalho */
.grade-trabalho > .col-5 { align-self: stretch; }
.foto-moldura { position: sticky; top: 24px; max-width: 440px; margin: 0 auto; }
@media (max-width: 900px) { .foto-moldura { position: relative; top: auto; max-width: 360px; } }
@media (max-width: 600px) { .foto-moldura { max-width: 270px; } .desenhos-sobre { max-width: 300px; } }
.foto-moldura img { width: 100%; height: auto; }
.legenda { margin-top: 14px; font-size: 14px; color: var(--suave); text-align: center; }
.cargo { display: inline-block; font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; }
.empresa { font-weight: 900; font-size: clamp(34px, 4vw, 52px); text-transform: uppercase; letter-spacing: -.015em; line-height: .95; margin-bottom: 16px; }
.empresa-bloco { position: relative; padding: 26px 26px 22px; border: 2.5px solid var(--tinta); border-radius: var(--raio); background: var(--papel); box-shadow: 6px 6px 0 var(--vinho); }
.empresa-bloco p:last-of-type { margin-bottom: 0; }
.link-seta { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-weight: 900; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; border-bottom: 3px solid var(--vinho); padding-bottom: 2px; }
.link-seta:hover { color: var(--vinho); }
.lista-titulo { font-family: var(--serif); font-weight: 700; font-size: 24px; margin: 42px 0 8px; }
.lista-atuacao li { padding: 18px 0 16px; }
.lista-atuacao li + li { background: no-repeat top left / 100% 10px; }
.lista-atuacao .divisoria { margin: -4px 0 14px; height: 10px; opacity: .55; }
.at-cab { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; }
.at-org { font-weight: 900; font-size: 19px; text-transform: uppercase; letter-spacing: .01em; }
.at-quando { font-family: var(--num); font-size: 22px; color: var(--vinho); letter-spacing: .02em; }
.at-cargo { font-weight: 700; margin: 2px 0 4px; }
.at-desc { margin: 0; color: var(--suave); }
.lista-antes li { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 12px 0; border-top: 1.5px dashed var(--linha); }
.lista-antes li:first-child { border-top: 0; }
.lista-antes .at-org { font-size: 16px; }
.lista-antes .at-cargo, .lista-antes .at-desc { grid-column: 1 / -1; margin: 0; }

/* 03 certificações (faixa escura) */
.faixa-escura { position: relative; background: var(--noite); color: var(--areia); margin: 36px 0; }
.faixa-escura .rasgo { position: absolute; left: 0; width: 100%; height: 36px; color: var(--noite); }
.faixa-escura .rasgo:not(.rasgo-base) { top: -35px; }
.faixa-escura .rasgo-base { bottom: -35px; transform: scaleY(-1); }
.faixa-escura .sec-num, .faixa-escura .sec-tit { color: var(--areia); }
.faixa-escura .traco-titulo { color: var(--areia); }
.faixa-escura .intro { max-width: 60ch; font-size: 1.125rem; color: var(--areia-suave); margin: -18px 0 40px; }
.selos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 28px; }
.selo { display: grid; grid-template-columns: 92px 1fr; gap: 16px; align-items: center; padding: 18px 18px 18px 14px; border: 2px solid rgba(245, 235, 208, .28); border-radius: var(--raio); }
.selo:nth-child(4n+2) { transform: rotate(.6deg); }
.selo:nth-child(4n+3) { transform: rotate(-.5deg); }
.selo-carimbo { position: relative; width: 92px; height: 92px; }
.selo-carimbo .desenho { width: 100%; height: 100%; }
.selo-carimbo b { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--num); font-weight: 400; font-size: 27px; color: var(--tinta); padding-top: 3px; letter-spacing: .02em; }
.selo h3 { font-size: 18px; font-weight: 700; line-height: 1.25; margin-bottom: 6px; }
.selo p { margin: 0; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--areia); opacity: .82; }
@media (max-width: 640px) { .selos { grid-template-columns: 1fr; } .selo { transform: none !important; } }

/* 04 formação */
.desenho-formacao { position: relative; max-width: 420px; }
.desenho-formacao .livro-aberto { width: 100%; transform: rotate(-3deg); }
.nota-mao { margin-top: 26px; font-family: var(--serif); font-weight: 700; font-size: 26px; line-height: 1.2; }
.linha-tempo li { display: grid; grid-template-columns: 132px 1fr; gap: 6px 22px; padding: 18px 0; border-top: 1.5px dashed var(--linha); }
.linha-tempo li:first-child { border-top: 0; padding-top: 0; }
.lt-ano { font-family: var(--num); font-size: 26px; line-height: 1; color: var(--vinho); padding-top: 3px; letter-spacing: .02em; }
.lt-tipo { margin: 0; font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--suave); }
.lt-curso { margin: 2px 0 0; font-weight: 900; font-size: 20px; line-height: 1.25; }
.selo-andamento { display: inline-block; margin-top: 8px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; background: var(--vinho); color: var(--areia); padding: 3px 9px 2px; border-radius: 3px; }
@media (max-width: 520px) { .linha-tempo li { grid-template-columns: 1fr; } }

/* 05 cursos e conteúdo */
.curso-destaque { position: relative; display: grid; grid-template-columns: minmax(200px, 34%) 1fr; gap: clamp(24px, 4vw, 52px); align-items: center; padding: clamp(24px, 4vw, 44px); background: var(--papel-2); border: 2.5px solid var(--tinta); border-radius: var(--raio); box-shadow: 7px 7px 0 var(--tinta); }
.curso-destaque .notebook { width: 100%; max-width: 320px; margin: 0 auto; transform: rotate(-4deg); }
.etiqueta { display: inline-block; font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; border: 2px solid var(--tinta); border-radius: var(--raio); padding: 4px 10px 3px; margin-bottom: 14px; }
.curso-tit { font-weight: 900; text-transform: uppercase; font-size: clamp(30px, 3.6vw, 48px); letter-spacing: -.015em; line-height: .95; margin-bottom: 14px; }
.curso-destaque p { font-size: 1.0625rem; }
@media (max-width: 760px) { .curso-destaque { grid-template-columns: 1fr; } .curso-destaque .notebook { max-width: 220px; } }
.redes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }

/* redes */
.redes-bloco { display: flex; gap: 22px; align-items: flex-start; margin-top: clamp(40px, 5vw, 64px); max-width: 760px; }
.redes-bloco .balao { width: 120px; flex: none; transform: rotate(-5deg); margin-top: -6px; }
.redes-bloco h3 { font-family: var(--serif); font-weight: 700; font-size: 26px; margin-bottom: 8px; }
@media (max-width: 560px) { .redes-bloco { flex-direction: column; gap: 10px; } .redes-bloco .balao { width: 92px; } }

/* 05 livros */
.livros { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(32px, 5vw, 64px); }
.livro-item { display: grid; grid-template-columns: minmax(120px, 40%) 1fr; gap: clamp(20px, 3vw, 32px); align-items: start; }
.capa { position: relative; margin: 8px 0 0; transform: rotate(-2.5deg); }
.livro-item:nth-child(2) .capa { transform: rotate(2deg); }
.capa img { width: 100%; height: auto; border: 2.5px solid var(--tinta-2); border-radius: 4px; box-shadow: 6px 6px 0 var(--tinta); background: var(--papel-2); }
.capa::before { content: ""; position: absolute; z-index: 2; left: 50%; top: -12px; width: 64px; height: 22px; transform: translateX(-50%) rotate(-5deg); background: rgba(216, 194, 157, .88); border: 1.5px solid rgba(42, 10, 18, .35); }
.livro-tit { font-weight: 900; text-transform: uppercase; font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -.01em; line-height: 1; margin: 6px 0 10px; }
.livro-meta { margin: 0 0 10px; font-family: var(--serif); font-weight: 700; font-size: 17px; line-height: 1.3; }
.livro-cap { margin: 0 0 6px; font-size: 16px; color: var(--suave); }
.livro-cap b { color: var(--tinta); }
@media (max-width: 1000px) { .livros { grid-template-columns: 1fr; max-width: 640px; } }
@media (max-width: 480px) { .livro-item { grid-template-columns: 1fr; } .capa { max-width: 200px; } }

/* 07 contato */
.email-linha { display: flex; align-items: center; gap: 14px; margin: 6px 0 4px; font-family: var(--serif); font-weight: 700; font-size: clamp(19px, 2.4vw, 30px); line-height: 1.2; }
.email-linha a { text-decoration: none; border-bottom: 3px solid var(--vinho); }
@media (max-width: 420px) { .email-linha { font-size: 17px; gap: 10px; } .email-linha .envelope { width: 40px; } }
.email-linha a:hover { color: var(--vinho); }
.email-linha .envelope { width: clamp(52px, 6vw, 72px); flex: none; transform: rotate(-6deg); }
.contato { padding-bottom: 0; }
.contato-grade { align-items: center; }
.contato-texto { padding-bottom: clamp(24px, 4vw, 48px); }
.contato-grade .col-5 { align-self: end; }
.contato-texto p { font-size: 1.1875rem; max-width: 40ch; }
.contato-texto .bts { margin-top: 26px; }
.foto-contato { position: relative; width: 100%; max-width: 400px; margin: 0 auto; aspect-ratio: 609 / 900; overflow: hidden; }
@media (max-width: 900px) { .foto-contato { max-width: 320px; } }
.foto-contato img { position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: 100%; height: auto; }

/* ---------- rodapé ---------- */
.rodape { position: relative; background: var(--tinta); color: var(--areia); padding: 46px 0 40px; }
.rodape .caixa { display: grid; grid-template-columns: 1fr auto; gap: 26px 40px; align-items: start; }
.rodape .marca-ip { border-color: var(--areia); }
.rodape-nav { display: flex; flex-wrap: wrap; gap: 10px 18px; justify-content: flex-end; }
.rodape-nav a { text-decoration: none; font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.rodape-nav a:hover { color: var(--areia-suave); text-decoration: underline; text-decoration-thickness: 2px; }
.rodape-info { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 14px; color: var(--areia-suave); border-top: 1.5px dashed rgba(245, 235, 208, .25); padding-top: 18px; }
@media (max-width: 760px) { .rodape .caixa { grid-template-columns: 1fr; } .rodape-nav { justify-content: flex-start; } }

/* ---------- página de cursos ---------- */
.pag-topo { position: relative; padding: clamp(28px, 5vw, 64px) 0 clamp(36px, 5vw, 56px); }
.pag-topo .caixa { position: relative; }
.pag-desenho { position: absolute; right: var(--lado); top: 8px; width: clamp(160px, 18vw, 230px); transform: rotate(7deg); }
@media (max-width: 820px) { .pag-desenho { display: none; } }
.pag-tit { font-weight: 900; text-transform: uppercase; font-size: clamp(64px, 13vw, 190px); letter-spacing: -.03em; line-height: .8; margin: 10px 0 18px; }
.pag-topo .frase { max-width: 22ch; }
.pag-topo p.intro { font-size: 1.1875rem; max-width: 52ch; }
.curso { display: grid; grid-template-columns: minmax(220px, 32%) 1fr; gap: clamp(28px, 5vw, 64px); padding: clamp(24px, 4vw, 48px); background: var(--papel-2); border: 2.5px solid var(--tinta); border-radius: var(--raio); box-shadow: 7px 7px 0 var(--tinta); margin-bottom: 40px; }
.curso-lado { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; }
.curso-lado .notebook { width: 100%; max-width: 300px; transform: rotate(-4deg); }
.curso h2 { font-weight: 900; text-transform: uppercase; font-size: clamp(34px, 4.4vw, 60px); letter-spacing: -.02em; line-height: .92; margin-bottom: 16px; }
.curso h3 { font-family: var(--serif); font-weight: 700; font-size: 23px; margin: 28px 0 10px; }
.aprende li { position: relative; padding: 8px 0 8px 40px; }
.aprende li .check { position: absolute; left: 0; top: 8px; width: 26px; height: 26px; color: var(--vinho); }
.curso .bts { margin-top: 30px; }
@media (max-width: 820px) { .curso { grid-template-columns: 1fr; } .curso-lado .notebook { max-width: 220px; } }
.proximos { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; padding: 30px 0 clamp(72px, 9vw, 120px); }
.proximos p { margin: 0; font-family: var(--serif); font-weight: 700; font-size: clamp(22px, 2.4vw, 30px); max-width: 30ch; line-height: 1.2; }

/* ---------- 404 ---------- */
.erro { min-height: 62vh; display: grid; align-content: center; justify-items: start; gap: 16px; padding-top: 64px; padding-bottom: 96px; }
.erro .cadeado { width: 120px; transform: rotate(-6deg); }
.erro h1 { font-weight: 900; text-transform: uppercase; font-size: clamp(34px, 11.2vw, 96px); letter-spacing: -.02em; line-height: .9; overflow-wrap: break-word; }

/* ---------- aparecer ao rolar, como se fosse escrito à mão ----------
   A classe .anima entra no <html> por cedo.js (não entra sem JS nem com "reduzir movimento").
   Rede de segurança: se o site.js não rodar, tudo aparece sozinho em 3 s. */
@keyframes mostra-sobe { to { opacity: 1; transform: none; } }
@keyframes mostra-o { to { opacity: 1; } }
@keyframes mostra-clip { to { clip-path: inset(-30% -4% -45% -4%); } }
.anima :is(.hero-a > *, .hero-b > *, .texto > p, .empresa-bloco, .lista-titulo, .lista-atuacao > li, .lista-antes > li, .faixa-escura .intro, .linha-tempo > li, .nota-mao, .livro-item, .curso-destaque, .redes-bloco, .contato-texto > *, .foto-moldura, .foto-contato, .pag-topo .caixa > :not(.pag-desenho), .curso, .proximos, .erro > *) { opacity: 0; transform: translateY(14px); animation: mostra-sobe .01s 3s forwards; }
.anima :is(.numero, .selo, .foto-hero, .nome-primeiro, .sec-num) { opacity: 0; animation: mostra-o .01s 3s forwards; }
.anima :is(.desenho, .sublinhado, .divisoria, .traco-titulo, .check) { opacity: 0; animation: mostra-o .01s 3s forwards; }
.anima .selo .desenho { opacity: 1; animation: none; }
.anima .sec-tit { clip-path: inset(-30% 100% -45% -4%); animation: mostra-clip .01s 3s forwards; }
.anima .nome-svg { clip-path: inset(-20% 100% -20% -2%); animation: mostra-clip .01s 3s forwards; }
.anima.anima-js * { animation: none !important; }

html.anima .visto:is(.hero-a > *, .hero-b > *, .texto > p, .empresa-bloco, .lista-titulo, .lista-atuacao > li, .lista-antes > li, .faixa-escura .intro, .linha-tempo > li, .nota-mao, .livro-item, .curso-destaque, .redes-bloco, .contato-texto > *, .foto-moldura, .foto-contato, .pag-topo .caixa > *, .curso, .proximos, .erro > *) { opacity: 1; transform: none; transition: opacity .7s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
html.anima .visto:is(.numero, .foto-hero, .desenho, .sublinhado, .divisoria, .traco-titulo, .check) { opacity: 1; transition: opacity .35s ease; }
.anima .sec-cab.visto .sec-num { opacity: 1; transition: opacity .5s ease; }
.anima .sec-cab.visto .sec-tit { clip-path: inset(-30% -4% -45% -4%); transition: clip-path 1.1s cubic-bezier(.55, .05, .25, 1) .12s; }
.anima .nome.visto .nome-primeiro { opacity: 1; transition: opacity .6s ease .2s; }
.anima .nome.visto .nome-svg { clip-path: inset(-20% -2% -20% -2%); transition: clip-path 1.3s cubic-bezier(.55, .05, .25, 1) .35s; }
.anima .selo .selo-carimbo { transform: scale(1.2) rotate(-10deg); opacity: 0; animation: mostra-sobe .01s 3s forwards; }
.anima .selo.visto { opacity: 1; transition: opacity .5s ease; }
.anima .selo.visto .selo-carimbo { transform: none; opacity: 1; transition: transform .45s cubic-bezier(.3, 1.6, .5, 1) .3s, opacity .15s ease .3s; }
@media print { .anima * { opacity: 1 !important; transform: none !important; clip-path: none !important; } }

/* desenhos: a fervura troca de semente pelo JS; parado quando o usuário pede menos movimento */
.desenho { overflow: visible; }

@media print {
  .cab .nav, .menu, .bts, .anotacao, .faixa-escura .rasgo { display: none !important; }
  body { background: #fff; }
  .faixa-escura { background: #fff; color: #000; }
}
