/* Instituto Cordada · versão elegante (26/11/2026)
   Off-white, grafite e um só fio de cor (terracota escuro).
   Cormorant Garamond leve nos títulos, Hanken Grotesk fina no texto.
   Muito espaço, linhas finas, nada de sombra. */

:root {
  --paper: #F6F3EE;
  --paper-2: #EEEAE2;
  --ink: #1C1D1B;
  --muted: #4F4D48;
  --line: #DCD7CD;
  --accent: #D9572B;
  --accent-dark: #B8451D;
  --max: 1240px;
  --display: "Newsreader", Georgia, "Times New Roman", serif;
  --body: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.22,.8,.2,1);
}

* { box-sizing: border-box; }

body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-weight: 400; font-size: 17px; line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 40px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: -0.01em; line-height: 1.04; margin: 0; }
h1 em, h2 em, h3 em { font-style: italic; color: inherit; }
.kicker { font-size: 11.5px; font-weight: 400; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin: 0 0 28px; }

/* ---------- cabeçalho: uma linha fina, sem caixa ---------- */
.top { position: fixed; z-index: 50; inset: 0 0 auto 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0 40px; padding: 18px 40px 0;
  transition: background-color .5s, padding .5s var(--ease), box-shadow .5s; }
.top.scrolled { background: color-mix(in srgb, var(--paper) 90%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding-top: 12px; }
/* barra de status: campanha, altitude e as duas horas, sob o menu */
.statusbar { flex: 1 0 100%; display: flex; gap: 34px; align-items: center; height: 34px; margin-top: 16px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); white-space: nowrap; overflow: hidden; transition: margin .5s var(--ease); }
.top.scrolled .statusbar { margin-top: 12px; border-top-color: transparent; }
.statusbar b { font-weight: 400; color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: .08em; margin-left: 6px; }
.statusbar .alt b { color: var(--accent); }
.statusbar span:nth-last-child(2) { margin-left: auto; }
.statusbar .live { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); margin-right: 10px; vertical-align: 1px; animation: pulse 2s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 50%, transparent); } 100% { box-shadow: 0 0 0 8px transparent; } }

/* cursor: mira fina com as coordenadas */
.crosshair { position: fixed; left: 0; top: 0; width: 0; height: 0; pointer-events: none; z-index: 80; opacity: 0; transition: opacity .25s; mix-blend-mode: difference; }
.crosshair::before, .crosshair::after { content: ""; position: absolute; background: #fff; transition: transform .45s var(--ease); }
.crosshair::before { width: 24px; height: 1px; left: -12px; top: 0; }
.crosshair::after { width: 1px; height: 24px; left: 0; top: -12px; }
.crosshair span { position: absolute; left: 14px; top: 10px; font-family: var(--body); font-size: 9.5px; letter-spacing: .14em; color: #fff; white-space: nowrap; font-variant-numeric: tabular-nums; }
.crosshair.hot::before { transform: scaleX(1.8); }
.crosshair.hot::after { transform: scaleY(1.8); }
@media (pointer: fine) {
  .has-crosshair, .has-crosshair a, .has-crosshair button { cursor: none; }
  .crosshair.on { opacity: 1; }
}
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.logo svg { width: 30px; height: 30px; }
.logo span { display: flex; flex-direction: column; line-height: 1; }
.logo small { font-size: 9.5px; letter-spacing: .32em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.logo b { font-family: var(--display); font-weight: 400; font-size: 25px; letter-spacing: .01em; }
.nav { display: flex; gap: 34px; font-size: 13.5px; letter-spacing: .02em; }
.nav a, .lang a { text-decoration: none; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.lang { display: flex; gap: 12px; font-size: 11.5px; letter-spacing: .14em; }
.lang a { color: var(--muted); }
.lang a[aria-current] { color: var(--ink); }

/* ---------- BOTÕES (motivo cordada) ----------
   Regra única: o botão principal fica SEMPRE embaixo do texto, alinhado à esquerda (ou centralizado no fecho).
   Principal = contorno fino de corda. Ao passar o mouse, a corda terracota dá a volta no botão
   e o fio depois do texto se amarra num nó. No clique, o botão é puxado, como uma corda que se tensiona.
   Secundário = só texto com um fio que se desenha. */
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 36px; margin-top: 44px; }
.actions.center { justify-content: center; }
.btn { --line-c: var(--ink); --run-c: var(--accent); position: relative; display: inline-flex; align-items: center; justify-content: center; height: 54px; padding: 0 30px 0 34px; color: var(--ink);
  font: 400 12px/1 var(--body); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; white-space: nowrap; transition: transform .5s var(--ease); }
.btn > span { display: inline-flex; align-items: center; gap: 14px; position: relative; }
.btn .frame { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.btn .frame rect { fill: none; vector-effect: non-scaling-stroke; }
.btn .frame .base { stroke: var(--line-c); stroke-width: 1; opacity: .85; transition: opacity .6s; }
.btn .frame .run { stroke: var(--run-c); stroke-width: 1.6; stroke-dasharray: 0 100; stroke-dashoffset: 0; stroke-linecap: round; transition: stroke-dasharray 1s var(--ease); }
.btn:hover .frame .run, .btn:focus-visible .frame .run { stroke-dasharray: 100 0; }
.btn:hover .frame .base { opacity: .25; }
.btn .tail { width: 34px; height: 16px; overflow: visible; flex: none; }
.btn .tail path { fill: none; stroke-width: 1; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.btn .tail .straight { stroke: currentColor; transition: opacity .3s .1s, stroke-dashoffset .5s var(--ease); stroke-dasharray: 100; stroke-dashoffset: 0; }
.btn .tail .knot { stroke: var(--run-c); stroke-width: 1.4; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset .9s var(--ease) .15s; }
.btn:hover .tail .straight { stroke-dashoffset: -100; }
.btn:hover .tail .knot { stroke-dashoffset: 0; }
.btn:active { transform: translateX(3px) scale(.985); transition-duration: .12s; }
.btn.sm { height: 40px; padding: 0 22px; font-size: 11px; }
.btn.light { --line-c: rgba(246,243,238,.75); --run-c: #D08A6F; color: var(--paper); }

.link { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; position: relative; padding: 6px 0; color: var(--ink); }
.link::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; background: currentColor; transform: scaleX(.3); transform-origin: left; transition: transform .6s var(--ease); }
.link:hover::after, .prog:hover .link::after { transform: scaleX(1); }

/* ---------- ESCALADA ---------- */
.climb { position: relative; height: 380vh; }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--paper); }
.scene { position: absolute; inset: 0; width: 100%; height: 100%; }
.scene .lbl { font-family: var(--body); font-size: 10.5px; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; fill: var(--ink); paint-order: stroke; stroke: var(--paper); stroke-width: 6px; stroke-linejoin: round; }
.scene .lbl.alt { fill: var(--muted); letter-spacing: .08em; }

.hero-copy { position: absolute; left: max(40px, calc((100vw - var(--max)) / 2 + 40px)); top: 22vh; max-width: 600px; transition: opacity .7s, transform .9s var(--ease); }
.hero-copy h1 { font-size: clamp(56px, 7.6vw, 118px); line-height: .98; }
.hero-copy h1 .w { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero-copy h1 .w > span { display: inline-block; transform: translateY(110%); animation: up 1.4s var(--ease) .2s forwards; }
@keyframes up { to { transform: none; } }
.hero-copy .lead { font-size: 17.5px; max-width: 42ch; margin: 34px 0 0; color: var(--muted); opacity: 0; animation: fade 1.2s ease .8s forwards; }
.hero-copy .kicker, .hero-copy .actions { opacity: 0; animation: fade 1.2s ease .5s forwards; }
.hero-copy .actions { animation-delay: 1s; }
@keyframes fade { to { opacity: 1; } }
.climb.past-hero .hero-copy { opacity: 0; transform: translateY(-24px); pointer-events: none; }

/* cartão = só texto sobre o papel, com um fio fino à esquerda */
.card { position: absolute; left: max(40px, calc((100vw - var(--max)) / 2 + 40px)); top: 24vh; width: 380px; padding-left: 28px; border-left: 1px solid var(--line);
  opacity: 0; transform: translateY(20px); transition: opacity .7s, transform .9s var(--ease); pointer-events: none; }
.climb.past-hero .card { opacity: 1; transform: none; pointer-events: auto; }
.card .alt { font-family: var(--display); font-weight: 300; font-size: 22px; color: var(--accent); font-variant-numeric: lining-nums tabular-nums; margin-bottom: 26px; }
.card .alt small { font-size: 15px; margin-left: 4px; }
.card h2 { font-size: 60px; text-wrap: balance; }
.card p { margin: 18px 0 0; color: var(--muted); font-size: 16.5px; max-width: 32ch; }
.card .actions { margin-top: 30px; }
.card .swap > * { animation: rise .9s var(--ease) both; }
.card .swap > *:nth-child(2) { animation-delay: .07s; }
.card .swap > *:nth-child(3) { animation-delay: .14s; }
.card .swap > *:nth-child(4) { animation-delay: .21s; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
.steps { list-style: none; padding: 0; margin: 40px 0 0; display: flex; gap: 8px; }
.steps li { width: 28px; height: 1px; background: var(--line); transition: background .6s; }
.steps li.on { background: var(--ink); }

.hint { position: absolute; left: 50%; bottom: 28px; width: 1px; height: 56px; background: var(--line); overflow: hidden; transition: opacity .5s; }
.hint i { position: absolute; left: 0; top: 0; width: 1px; height: 22px; background: var(--ink); animation: drip 2.2s var(--ease) infinite; }
@keyframes drip { from { transform: translateY(-24px); } to { transform: translateY(60px); } }
.climb.past-hero .hint { opacity: 0; }

/* ---------- seções ---------- */
.s { padding: 180px 0; }
.s.tight { padding-top: 40px; }
.head { max-width: 760px; margin-bottom: 90px; }
.s h2 { font-size: clamp(42px, 5.2vw, 76px); }
.sub { font-size: 17.5px; color: var(--muted); max-width: 52ch; margin: 28px 0 0; }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.fact { padding: 40px 32px 0 0; }
.fact + .fact { padding-left: 32px; border-left: 1px solid var(--line); }
.fact .big { display: block; font-family: var(--display); font-weight: 300; font-size: 72px; line-height: 1; font-variant-numeric: lining-nums; margin-bottom: 30px; }
.fact .big em { font-style: italic; }
.fact h3 { font-family: var(--body); font-size: 12px; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 14px; }
.fact p { margin: 0; color: var(--ink); opacity: .82; font-size: 16.5px; line-height: 1.6; }

.programs { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.programs .prog:nth-child(2) { margin-top: 120px; }
.prog { text-decoration: none; display: block; }
.prog .ph { display: block; aspect-ratio: 4 / 3; margin-bottom: 30px; }
.prog .tag { display: block; font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.prog h3 { font-size: 40px; margin-bottom: 14px; }
.prog p { margin: 0 0 22px; color: var(--muted); max-width: 44ch; }
.prog.prize { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 40px; display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 24px 64px; align-items: end; }
.prog.prize .big { font-family: var(--display); font-weight: 300; font-size: 160px; line-height: .8; color: var(--accent); }
.prog.prize h3 { margin: 0; font-size: 48px; }
.prog.prize p { margin: 0; }
.prog.soon { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 34px; display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 24px 64px; align-items: baseline; }
.prog.soon .tag, .prog.soon h3, .prog.soon p { margin: 0; }
.prog.soon h3 { color: var(--muted); }

.ph { position: relative; overflow: hidden; background: var(--paper-2); }
.ph img { width: 100%; height: 116%; object-fit: cover; transform: translateY(-7%); filter: grayscale(.25) contrast(1.02); transition: filter 1s; will-change: transform; }
.ph:hover img, .prog:hover .ph img { filter: none; }
/* a foto se revela de baixo para cima (o recorte fica na imagem: o observador precisa ver o quadro) */
.wipe { background: transparent; }
.wipe img { clip-path: inset(100% 0 0 0); transition: clip-path 1.6s var(--ease), filter 1s; }
.wipe.in img { clip-path: inset(0 0 0 0); }

.dark { background: var(--ink); color: var(--paper); }
.dark .kicker { color: rgba(246,243,238,.72); }
.dark .sub { color: rgba(246,243,238,.86); }
.band { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.band .num { display: block; font-family: var(--display); font-weight: 300; font-size: clamp(140px, 17vw, 240px); line-height: .85; color: var(--paper); margin-bottom: 10px; }
.band .ph { aspect-ratio: 4 / 5; }

.how { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; }
.how .head { margin: 0; }
.ropelist { list-style: none; margin: 0; padding: 0 0 0 64px; position: relative; }
.ropelist svg.r { position: absolute; left: -2.5px; top: 0; width: 24px; height: 100%; overflow: visible; }
.ropelist .base { stroke: var(--line); }
.ropelist .fill { stroke: var(--accent); }
.ropelist li { position: relative; padding: 0 0 64px; }
.ropelist li::before { content: ""; position: absolute; left: -59px; top: 14px; width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); transition: background .5s, border-color .5s, transform .6s var(--ease); }
.ropelist li.tied::before { background: var(--accent); border-color: var(--accent); transform: scale(1.25); }
.ropelist .n { display: block; font-family: var(--display); font-style: italic; font-size: 18px; color: var(--muted); margin-bottom: 6px; }
.ropelist h3 { font-size: 36px; margin-bottom: 8px; }
.ropelist p { margin: 0; color: var(--muted); }

.people { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.people .ph { aspect-ratio: 4 / 5; }
.who { margin: 56px 0 0; }
.who div { border-top: 1px solid var(--line); padding: 22px 0; display: grid; grid-template-columns: 1fr 1.4fr; gap: 24px; }
.who dt { font-family: var(--display); font-size: 24px; line-height: 1.2; }
.who dd { margin: 0; color: var(--muted); font-size: 15.5px; }
.note { font-size: 14px; color: var(--muted); margin: 24px 0 0; padding-top: 22px; border-top: 1px solid var(--line); }

.final { padding: 120px 0 200px; text-align: center; }
.final .knot { width: 120px; height: 40px; color: var(--accent); margin: 0 auto 50px; display: block; }
.final h2 { font-size: clamp(52px, 7vw, 108px); }

footer { border-top: 1px solid var(--line); padding: 56px 0 64px; font-size: 13.5px; }
footer .wrap { display: grid; grid-template-columns: auto 1fr; gap: 26px 40px; align-items: center; }
footer .mark { font-family: var(--display); font-size: 24px; }
footer nav { display: flex; gap: 28px; justify-content: flex-end; flex-wrap: wrap; }
footer a { text-decoration: none; color: var(--muted); }
footer a:hover { color: var(--ink); }
footer .small { grid-column: 1 / -1; color: var(--muted); font-size: 12px; letter-spacing: .04em; }

/* entradas */
[data-r] { opacity: 0; transform: translateY(18px); transition: opacity 1.1s ease, transform 1.2s var(--ease); }
[data-r].in { opacity: 1; transform: none; }
.facts .fact:nth-child(2) { transition-delay: .1s; }
.facts .fact:nth-child(3) { transition-delay: .2s; }
.facts .fact:nth-child(4) { transition-delay: .3s; }

@media (max-width: 1000px) {
  .nav { display: none; }
  .statusbar .hide-md { display: none; }
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .fact:nth-child(n+3) { margin-top: 40px; border-top: 1px solid var(--line); }
  .programs, .band, .how, .people { grid-template-columns: 1fr; gap: 64px; }
  .programs .prog:nth-child(2) { margin-top: 0; }
  .prog.soon, .prog.prize { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 22px; }
  .top { padding: 16px 22px; gap: 18px; }
  .top.scrolled { padding-block: 10px; }
  .lang, .hint { display: none; }
  .statusbar { gap: 18px; justify-content: space-between; margin-top: 12px; }
  .statusbar .hide-sm { display: none; }
  .statusbar span:nth-last-child(2) { margin-left: 0; }
  .hero-copy { left: 22px; right: 22px; top: calc(15vh + 40px); }
  .hero-copy h1 { font-size: 54px; }
  .hero-copy .lead { font-size: 16px; margin-top: 24px; }
  .hero-copy .actions { margin-top: 30px; }
  .card { left: 22px; right: 22px; width: auto; top: calc(11vh + 40px); padding: 0 0 26px 20px; background: linear-gradient(var(--paper) 78%, color-mix(in srgb, var(--paper) 0%, transparent)); }
  .card .alt { margin-bottom: 16px; }
  .card .steps { margin-top: 26px; }
  .card h2 { font-size: 44px; }
  .card p { font-size: 15.5px; }
  .s { padding: 110px 0; }
  .head { margin-bottom: 56px; }
  .facts { grid-template-columns: 1fr; }
  .fact, .fact + .fact { padding: 32px 0 0; border-left: 0; }
  .fact + .fact, .fact:nth-child(n+3) { margin-top: 36px; border-top: 1px solid var(--line); }
  .fact .big { font-size: 60px; margin-bottom: 20px; }
  .ropelist { padding-left: 48px; }
  .ropelist li::before { left: -43px; }
  .who div { grid-template-columns: 1fr; gap: 6px; }
  footer .wrap { grid-template-columns: 1fr; }
  footer nav { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .crosshair { display: none; }
  [data-r] { opacity: 1; transform: none; }
  .wipe img { clip-path: none; }
  .hero-copy h1 .w > span { transform: none; }
  .hero-copy .lead, .hero-copy .kicker, .hero-copy .actions { opacity: 1; }
}

/* ---------- programas: uma linha por programa, com as datas ---------- */
.plist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.plist li { display: grid; grid-template-columns: 70px 1.1fr 1.6fr 1fr; gap: 24px 48px; align-items: baseline; padding: 34px 0; border-bottom: 1px solid var(--line); position: relative; }
.plist li::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease); }
.plist li:hover::after { transform: scaleX(1); }
.plist .n { font-family: var(--display); font-style: italic; font-size: 22px; color: var(--muted); }
.plist .tag { display: block; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.plist h3 { font-size: 38px; }
.plist p { margin: 0; color: var(--muted); font-size: 16px; }
.plist .when { font-size: 13px; letter-spacing: .04em; color: var(--ink); }
.plist .when b { display: block; font-weight: 400; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.plist li.next .n { color: var(--accent); font-style: normal; }
.plist li.next h3 { color: var(--muted); }
@media (max-width: 1000px) { .plist li { grid-template-columns: 50px 1fr; } .plist li > p { grid-column: 2; } }

/* ---------- página de campanhas ---------- */
.page-head { padding: 220px 0 100px; }
.page-head h1 { font-size: clamp(56px, 8vw, 120px); line-height: .98; }
.page-head .sub { margin-top: 34px; }
.cal { list-style: none; margin: 0; padding: 0; }
.cal li { display: grid; grid-template-columns: 220px 1fr; gap: 12px 48px; padding: 26px 0; border-top: 1px solid var(--line); align-items: baseline; }
.cal .d { font-family: var(--display); font-size: 30px; line-height: 1.1; font-variant-numeric: lining-nums; }
.cal .d small { display: block; font-family: var(--body); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.cal h3 { font-family: var(--body); font-size: 12px; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 6px; color: var(--accent); }
.cal p { margin: 0; color: var(--muted); }
.cal li.past .d { color: var(--muted); }
.camp { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px 100px; padding: 90px 0; border-top: 1px solid var(--line); }
.camp:first-of-type { border-top: 0; }
.camp .tag { display: block; font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.camp h2 { font-size: clamp(44px, 5vw, 72px); }
.camp p { margin: 0 0 18px; color: var(--muted); max-width: 56ch; }
.facts-list { margin: 30px 0 0; border-top: 1px solid var(--line); }
.facts-list div { display: grid; grid-template-columns: 1fr 1.4fr; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.facts-list dt { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.facts-list dd { margin: 0; }
@media (max-width: 1000px) { .camp { grid-template-columns: 1fr; gap: 30px; padding: 70px 0; } .cal li { grid-template-columns: 1fr; } .page-head { padding: 170px 0 70px; } }

/* ---------- riqueza: papel com textura e curvas de nível ---------- */
/* grão de papel, bem leve, sobre todo o site */
body::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 60; opacity: .5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45  0 0 0 0 .4  0 0 0 0 .33  0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
/* curvas de nível desenhadas pelo script nas seções com data-topo */
[data-topo] { position: relative; isolation: isolate; }
[data-topo] > .wrap { position: relative; z-index: 1; }
.topo { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; overflow: hidden; }
.topo path { fill: none; stroke: var(--ink); stroke-width: 1; vector-effect: non-scaling-stroke; opacity: .045; }
.topo path.idx { opacity: .08; }
.dark .topo path { stroke: var(--paper); opacity: .04; }
#ciencia .topo path { opacity: .028; }
#ciencia .topo path.idx { opacity: .05; }
.topo path { stroke-dasharray: var(--l) var(--l); stroke-dashoffset: var(--l); transition: stroke-dashoffset 3.2s var(--ease); }
.topo.in path { stroke-dashoffset: 0; }
/* faixa de tom mais quente para dar ritmo entre as seções */
.s.tone { background: var(--paper-2); }
@media (prefers-reduced-motion: reduce) { .topo path { stroke-dasharray: none; } }

/* ---------- quebra de ritmo: foto de ponta a ponta com a frase da cordada ---------- */
.bleed { position: relative; height: 92vh; min-height: 560px; overflow: hidden; color: var(--paper); background: var(--ink); }
.bleed .bleed-img { position: absolute; inset: 0; overflow: hidden; }
.bleed .bleed-img img { width: 100%; height: 116%; object-fit: cover; transform: translateY(-7%); filter: grayscale(.2) brightness(.62); }
.bleed::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28,29,27,0) 35%, rgba(28,29,27,.7) 100%); }
.bleed .pull { position: absolute; z-index: 1; left: max(40px, calc((100vw - var(--max)) / 2 + 40px)); right: 40px; bottom: 12vh; margin: 0; }
.bleed .pull p { font-family: var(--display); font-weight: 300; font-size: clamp(46px, 7vw, 112px); line-height: 1; margin: 0; max-width: 16ch; text-wrap: balance; }
.bleed .pull cite { display: block; margin-top: 30px; font-style: normal; font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; color: rgba(246,243,238,.8); }
.bleed .pull cite::before { content: ""; display: inline-block; width: 34px; height: 1px; background: var(--accent); vertical-align: middle; margin-right: 14px; }
@media (max-width: 640px) { .bleed { height: 78vh; } .bleed .pull { left: 22px; right: 22px; } }

/* fotos com legenda (geradas por IA) */
.shot { margin: 0; }
.shot .ph { aspect-ratio: 4 / 5; }
.shot.wide .ph { aspect-ratio: 21 / 9; }
.shot figcaption { margin-top: 10px; font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
#programas .shot.wide { margin-bottom: 70px; }
.camp > div:first-child .shot { margin-top: 36px; max-width: 420px; }
.camp > div:first-child .shot .ph { aspect-ratio: 4 / 3; }
.pair { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: end; }
.pair .shot .ph { aspect-ratio: 4 / 5; }
.pair > div:last-child .shot .ph { aspect-ratio: 3 / 2; }
@media (max-width: 1000px) { .pair { grid-template-columns: 1fr; } .camp > div:first-child .shot { max-width: none; } }
.pair.mountains { grid-template-columns: 1fr 1fr; align-items: start; }
.pair.mountains > div:last-child { margin-top: 120px; }
.pair.mountains .shot .ph, .pair.mountains > div:last-child .shot .ph { aspect-ratio: 4 / 5; }
.pair.mountains figcaption { font-size: 11px; letter-spacing: .16em; }
.pair.mountains figcaption b { display: block; font-family: var(--display); font-size: 26px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--ink); margin-bottom: 4px; }
@media (max-width: 1000px) { .pair.mountains > div:last-child { margin-top: 0; } }

/* ---------- tipografia mais firme e neutra (26/11): Newsreader no lugar da Cormorant, sem itálico de enfeite ---------- */
.hero-copy h1, .page-head h1, .page-hero h1 { font-weight: 400; letter-spacing: -0.02em; }
h2, .s h2 { letter-spacing: -0.015em; }
.fact .big, .band .num, .card .alt, .wiz-q, .bleed .pull p { font-weight: 400; }
.fact .big em, .ropelist .n, .plist .n, .step::before, .who dt { font-style: normal; }
.dark h2 em, .dark h1 em { color: rgba(246,243,238,.62); }
.bleed .pull p em { font-style: normal; color: rgba(246,243,238,.78); }
.prog.soon h3 em, .plist li.next h3 em { color: inherit; }
.fact h3 { font-size: 12.5px; color: var(--ink); }
.hero-copy h1 { font-size: clamp(50px, 6.2vw, 98px); }
.hero-copy { max-width: 640px; }

/* ---------- meio-termo (26/11, 2ª): Newsreader leve, com itálico de volta ---------- */
h1, h2, h3 { font-weight: 300; }
.hero-copy h1, .page-head h1, .page-hero h1 { font-weight: 300; letter-spacing: -0.025em; }
h2, .s h2 { letter-spacing: -0.02em; }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 300; color: inherit; }
.fact .big, .band .num, .card .alt, .wiz-q, .bleed .pull p { font-weight: 300; }
.fact .big em { font-style: italic; }
.dark h2 em, .dark h1 em { color: inherit; }
.bleed .pull p em { font-style: italic; color: inherit; }
.plist h3, .ropelist h3, .camp h2, .step h3, .way h3 { font-weight: 350; }

/* ---------- Duas montanhas, uma corda: montagem animada (Sobre nós) ---------- */
.duo { position: relative; height: 100vh; min-height: 640px; overflow: hidden; background: var(--ink); color: var(--paper); }
.duo-stage { position: absolute; inset: 0; transform-origin: 50% 45%; animation: duoKB 28s ease-in-out infinite alternate; }
.duo-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.82) contrast(1.04); }
@keyframes duoKB { from { transform: scale(1.08) translateY(-1%); } to { transform: scale(1) translateY(0); } }
.duo-mist { position: absolute; left: -30%; width: 160%; height: 30%; pointer-events: none; filter: blur(28px); opacity: .32;
  background: radial-gradient(40% 60% at 30% 50%, #fff, transparent 70%), radial-gradient(35% 50% at 75% 60%, #fff, transparent 70%); }
.duo-mist.m1 { top: 58%; animation: duoMist 46s linear infinite alternate; }
.duo-mist.m2 { top: 70%; opacity: .22; animation: duoMist 64s linear infinite alternate-reverse; }
@keyframes duoMist { from { transform: translateX(-8%); } to { transform: translateX(8%); } }
.duo-rope { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.duo-rope .rope { fill: none; stroke: #C9744F; stroke-width: 2; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1 1; stroke-dashoffset: 1; transition: stroke-dashoffset 3.6s cubic-bezier(.6,0,.2,1) .3s; }
.duo.in .duo-rope .rope { stroke-dashoffset: 0; }
.duo-rope .anchor { fill: #C9744F; opacity: 0; transition: opacity .8s .2s; }
.duo-rope .trav { fill: var(--paper); stroke: #C9744F; stroke-width: 2; vector-effect: non-scaling-stroke; opacity: 0; transition: opacity 1s 3.6s; }
.duo-rope .trav.b { fill: #C9744F; }
.duo.in .duo-rope .anchor, .duo.in .duo-rope .trav { opacity: 1; }
.duo-rope .peak { font-family: var(--body); font-size: 15px; letter-spacing: .2em; text-transform: uppercase; fill: rgba(246,243,238,.92); opacity: 0; transition: opacity 1.2s 1.2s; }
.duo.in .duo-rope .peak { opacity: 1; }
.duo::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(28,29,27,.25) 0%, rgba(28,29,27,0) 30%, rgba(28,29,27,0) 50%, rgba(28,29,27,.78) 100%); }
.duo-copy { position: absolute; left: 0; right: 0; bottom: 9vh; z-index: 2; }
.duo-copy h2 { font-size: clamp(44px, 6vw, 92px); color: var(--paper); max-width: 14ch; }
.duo-copy .kicker { color: rgba(246,243,238,.8); }
.duo-copy .sub { color: rgba(246,243,238,.9); max-width: 62ch; }
.duo-copy .sub b { font-weight: 500; color: var(--paper); }
@media (max-width: 760px) {
  .duo { height: auto; min-height: 0; }
  .duo-stage { position: relative; aspect-ratio: 16 / 10; }
  .duo::after { display: none; }
  .duo-copy { position: static; padding: 44px 0 70px; }
  .duo-rope .peak { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) { .duo-stage, .duo-mist { animation: none; } .duo-rope .rope { transition: none; stroke-dashoffset: 0; } }

.duo { height: 92vh; }
.duo-copy { bottom: 7vh; }
.duo-copy h2 { font-size: clamp(40px, 4.8vw, 74px); max-width: 16ch; }
.duo::after { background: linear-gradient(180deg, rgba(28,29,27,.2) 0%, rgba(28,29,27,0) 26%, rgba(28,29,27,0) 62%, rgba(28,29,27,.72) 100%); }
.duo-text { background: var(--ink); color: var(--paper); padding: 10px 0 110px; }
.duo-text .sub { color: rgba(246,243,238,.88); font-size: 19px; max-width: 64ch; margin: 0; }
.duo-text .sub b { font-weight: 500; color: var(--paper); }
@media (max-width: 760px) { .duo { height: auto; } .duo-text { padding: 0 0 70px; } }

/* ---------- 26/11, 3ª: laranja de volta, botões cheios, títulos mais encorpados ---------- */
h1, h2, h3, .hero-copy h1, .page-head h1, .page-hero h1 { font-weight: 400; }
h1 em, h2 em, h3 em { font-weight: 300; }
.plist h3, .ropelist h3, .camp h2, .step h3, .way h3 { font-weight: 400; }
/* botão principal: laranja cheio; ao passar o mouse escurece e a corda clara dá a volta por dentro */
.btn { --line-c: transparent; --run-c: rgba(255,255,255,.85); background: var(--accent); color: #fff; font-weight: 500; transition: background-color .4s, transform .5s var(--ease); }
.btn:hover { background: var(--accent-dark); }
.btn .frame { inset: 4px; width: calc(100% - 8px); height: calc(100% - 8px); }
.btn .tail .straight { stroke: #fff; }
.btn .tail .knot { stroke: #fff; }
.btn.sm { background: var(--accent); }
.btn.light { --run-c: var(--accent); background: var(--paper); color: var(--ink); }
.btn.light:hover { background: #fff; }
.btn.light .tail .straight { stroke: var(--ink); }
.btn.light .tail .knot { stroke: var(--accent); }
.link { font-weight: 500; }
.duo-rope .rope, .duo-rope .anchor, .duo-rope .trav.b { stroke: #E0683A; }
.duo-rope .anchor, .duo-rope .trav.b { fill: #E0683A; }
.duo-rope .trav { stroke: #E0683A; }

/* montagem 2: a corda está na própria foto; movimento só de névoa e luz */
.duo-stage { animation-duration: 40s; }
@keyframes duoKB { from { transform: scale(1.05); } to { transform: scale(1); } }
.duo-stage img { filter: brightness(.9) contrast(1.03); }
.duo-mist { opacity: .22; filter: blur(34px); }
.duo-mist.m2 { opacity: .16; }
.duo-glow { position: absolute; left: 45.6%; top: 58%; width: 46vw; height: 46vw; margin: -23vw 0 0 -23vw; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255,250,240,.38), rgba(255,250,240,0)); mix-blend-mode: screen; animation: duoGlow 9s ease-in-out infinite; }
@keyframes duoGlow { 0%, 100% { opacity: .55; transform: scale(.96); } 50% { opacity: 1; transform: scale(1.04); } }
.duo-cap { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(246,243,238,.62); margin: 0 0 26px; padding-top: 28px; white-space: pre-wrap; }
@media (prefers-reduced-motion: reduce) { .duo-glow { animation: none; } }

/* jogo de câmera: a seção fica presa enquanto a câmera percorre a corda */
.duo { height: 340vh; overflow: visible; background: var(--ink); }
.duo::after { display: none; }
.duo-pin { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.duo-pin::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1; background: linear-gradient(180deg, rgba(28,29,27,.25) 0%, rgba(28,29,27,0) 26%, rgba(28,29,27,0) 60%, rgba(28,29,27,.7) 100%); opacity: var(--shade, 0); }
.duo.cam .duo-stage { animation: none; transform-origin: 0 0; will-change: transform; }
.duo.cam .duo-copy { opacity: 0; transform: translateY(24px); transition: opacity 1s, transform 1.2s var(--ease); }
.duo.cam.reveal .duo-copy { opacity: 1; transform: none; }
@media (max-width: 760px) { .duo { height: auto; } .duo-pin { position: relative; height: auto; } .duo-pin::after { display: none; } }

/* colaboração: o que cada lado traz */
.duo-copy h2 { max-width: 18ch; }
.duo-text { padding-bottom: 130px; }
.duo-lead { font-family: var(--display); font-weight: 300; font-size: clamp(26px, 2.6vw, 38px); line-height: 1.25; color: var(--paper); max-width: 34ch; margin: 10px 0 70px; }
.duo-cols { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(246,243,238,.22); }
.duo-cols > div { padding: 34px 34px 0 0; }
.duo-cols > div + div { padding-left: 34px; border-left: 1px solid rgba(246,243,238,.22); }
.duo-cols .kicker { color: var(--accent); margin-bottom: 14px; }
.duo-cols h3 { font-size: 34px; color: var(--paper); margin-bottom: 12px; }
.duo-cols p { color: rgba(246,243,238,.82); margin: 0; font-size: 16px; }
@media (max-width: 900px) { .duo-cols { grid-template-columns: 1fr; } .duo-cols > div, .duo-cols > div + div { padding: 28px 0; border-left: 0; border-bottom: 1px solid rgba(246,243,238,.22); } }

.duo { height: 300vh; }
.duo-mist { opacity: .12; } .duo-mist.m2 { opacity: .09; }
.duo-pin::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(120% 90% at 50% 50%, transparent 60%, rgba(10,10,10,.35) 100%); }
.duo-copy h2 { max-width: 22ch; font-size: clamp(40px, 4.4vw, 68px); }

/* abertura da Sobre nós: a corda acende enquanto a câmera passa, e o texto aparece em etapas */
.duo-grey { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(.9) contrast(1.03); clip-path: inset(0 0 0 calc(var(--rx, .17) * 100%)); }
.duo-step { position: absolute; left: 0; right: 0; bottom: 12vh; z-index: 2; opacity: 0; transform: translateY(18px); transition: opacity .9s, transform 1.1s var(--ease); pointer-events: none; }
.duo-step.on { opacity: 1; transform: none; }
.duo-step .kicker { color: var(--paper); opacity: .85; margin-bottom: 14px; }
.duo-step .line { font-family: var(--display); font-weight: 300; font-size: clamp(30px, 3.4vw, 52px); line-height: 1.12; color: var(--paper); max-width: 20ch; margin: 0; text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.duo-step.big .line { font-size: clamp(40px, 4.6vw, 72px); max-width: 16ch; }
.duo-step[data-step="2"] .wrap { text-align: right; }
.duo-step[data-step="2"] .line { margin-left: auto; }
.duo:not(.cam) .duo-step, .duo:not(.cam) .duo-grey { display: none; }
.duo .duo-pin::after { opacity: max(var(--shade, 0), .55); }
.duo-stage img.duo-grey { filter: grayscale(1) brightness(.9) contrast(1.03); }

/* véu escuro com desfoque atrás do texto branco da abertura (legibilidade) */
.duo-step::before, .duo-copy::before { content: ""; position: absolute; z-index: -1; left: 0; right: 0; bottom: -14vh; height: 62vh; pointer-events: none;
  background: linear-gradient(0deg, rgba(10,10,10,.78) 0%, rgba(10,10,10,.55) 45%, rgba(10,10,10,0) 100%);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  -webkit-mask-image: linear-gradient(0deg, #000 50%, transparent); mask-image: linear-gradient(0deg, #000 50%, transparent); }
.duo-step, .duo-copy { isolation: isolate; }
.duo-step .line { text-shadow: 0 1px 2px rgba(0,0,0,.4); }

/* sem desfoque: só um gradiente escuro por trás do texto branco */
.duo-step::before, .duo-copy::before { -webkit-backdrop-filter: none; backdrop-filter: none; -webkit-mask-image: none; mask-image: none;
  bottom: -14vh; height: 70vh; background: linear-gradient(0deg, rgba(8,8,8,.82) 0%, rgba(8,8,8,.6) 38%, rgba(8,8,8,.22) 72%, rgba(8,8,8,0) 100%); }
/* corda ainda apagada: o cinza usa mais o canal vermelho, então a corda laranja fica quase da cor do céu */
.duo-stage img.duo-grey { filter: url(#corda-apagada) brightness(.9) contrast(1.03); }

/* ---------- botão escolhido (26/11): "Cordada" — pílula laranja com as três pessoas do logo; no hover elas sobem ---------- */
.btn { height: 56px; padding: 0 30px 0 22px; gap: 12px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 600; letter-spacing: .18em; }
.btn:hover { background: var(--accent-dark); }
.btn .frame, .btn .tail { display: none; }
.btn > span { gap: 0; }
.btn .cordada { width: 40px; height: 27px; flex: none; overflow: visible; }
.btn .cordada .r { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.btn .cordada circle { fill: currentColor; transition: transform .45s var(--ease); }
.btn .cordada circle:nth-of-type(1) { transition-delay: .16s; }
.btn .cordada circle:nth-of-type(2) { transition-delay: .08s; }
.btn:hover .cordada circle, .btn:focus-visible .cordada circle { transform: translate(3px, -4px); }
.btn.sm { height: 40px; padding: 0 18px 0 14px; gap: 8px; }
.btn.sm .cordada { width: 28px; height: 19px; }
.btn.light { background: var(--paper); color: var(--ink); }
.btn.light .cordada { color: var(--accent); }
.btn.light:hover { background: #fff; }
@media (prefers-reduced-motion: reduce) { .btn .cordada circle { transition: none; } }

/* o que é uma cordada: definição, princípio e colaboração */
.duo-k { color: rgba(246,243,238,.7); margin: 0 0 18px; }
.duo-lead { margin-bottom: 34px; }
.duo-rule { font-family: var(--display); font-style: italic; font-weight: 300; font-size: clamp(36px, 4.2vw, 64px); line-height: 1.08; color: var(--accent); margin: 0 0 34px; max-width: 22ch; }
.duo-rule::before { content: "“"; } .duo-rule::after { content: "”"; }
.duo-lead2 { font-size: 19px; color: rgba(246,243,238,.88); max-width: 58ch; margin: 0 0 70px; }
.founders-k { margin: 44px 0 10px; }
.facts-list.founders { margin-top: 0; }
#por-que .steps { margin-top: 10px; }
.logo .en-name small { margin: 3px 0 0; }

/* celular: sem câmera; a foto aparece inteira e o título vem logo abaixo, sem espaço vazio */
@media (max-width: 760px) {
  .duo { height: auto; }
  .duo-pin { position: relative; height: auto; }
  .duo-pin::before, .duo-pin::after, .duo-copy::before { display: none; }
  .duo-stage { position: relative; aspect-ratio: 16 / 11; animation: none; }
  .duo-copy { position: static; padding: 34px 0 10px; opacity: 1; transform: none; }
  .duo-copy h2 { font-size: 40px; }
  .duo-text { padding-top: 0; }
  .duo-rule { font-size: 34px; }
  .duo-lead { font-size: 24px; }
}
@media (max-width: 640px) {
  .plist li, .plist.apply li { grid-template-columns: 1fr; gap: 12px; padding: 30px 0; }
  .plist li > p { grid-column: auto; }
  .plist .n { font-size: 18px; }
  .plist h3 { font-size: 34px; }
}

h1, h2, h3, .cal .d { overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; }
