/* Layout: topo com o BG laranja→preto (grão suave) e movimento sensível ao mouse; símbolo + copy agrupados no centro; letreiro;
   cases em colunas espelhadas; seções centralizadas no eixo; fundo branco com gradiente vivo. */
:root {
  --paper: #f3f2ef;
  --ink: #111110;
  --grey: #80807c;
  --line: rgba(17, 17, 16, .14);
  --accent: #ff4b1f;

  --f-main: "Tektur", Arial, sans-serif;
  --f-text: "Arimo", Arial, Helvetica, sans-serif;
  --f-serif: "Instrument Serif", "Times New Roman", serif;

  --gutter: clamp(20px, 2.4vw, 40px);
  --gap: clamp(12px, 1.6vw, 24px);
  --space: clamp(110px, 12vw, 190px);
  --ease: cubic-bezier(.2, .7, .1, 1);

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 70px; }
main, section { position: relative; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--f-text); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
svg { width: 1em; height: 1em; flex: none; }
em { font-family: var(--f-serif); font-style: italic; font-weight: 400; }
[hidden] { display: none !important; }
:focus-visible { outline: 1.5px solid var(--accent); outline-offset: 4px; }
::selection { background: var(--ink); color: var(--paper); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; padding-inline: var(--gutter); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.label { margin: 0; font-family: var(--f-main); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); line-height: 1.5; }
.h2 { margin: 0; font-family: var(--f-serif); font-weight: 400; font-size: clamp(38px, 4.4vw, 68px); letter-spacing: -.02em; line-height: 1; }

/* Botões */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: 50px; padding: 0 24px; border-radius: 999px;
  background: var(--ink); color: var(--paper); font-family: var(--f-text); font-size: 15px; font-weight: 500; white-space: nowrap; border: 0; cursor: pointer;
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, .16) 45%, rgba(255, 75, 31, .3) 56%, transparent 80%); transform: translateX(-110%); transition: transform .9s var(--ease); }
.btn:hover::before { transform: translateX(110%); }
.btn svg { font-size: 15px; transition: transform .5s var(--ease); }
.btn:hover svg { transform: translate(2px, -2px); }
.btn--sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn--lg { height: 60px; padding: 0 32px; font-size: 16px; }
.btn--line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn--line:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.ripple { position: absolute; z-index: -1; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--accent); opacity: .45; pointer-events: none; animation: ripple .7s var(--ease) forwards; }
@keyframes ripple { to { transform: scale(46); opacity: 0; } }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; display: inline-block; }

/* NAV */
.nav {
  position: fixed; z-index: 50; inset: 0 0 auto 0;
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px;
  padding: calc(14px + env(safe-area-inset-top, 0px)) var(--gutter) 14px;
  background: transparent;
  transition: transform .5s var(--ease), background .4s, box-shadow .4s;
}
.nav:not(.is-solid) { color: var(--paper); }
.nav:not(.is-solid) .btn { background: var(--paper); color: var(--ink); }
.nav.is-solid { background: rgba(243, 242, 239, .66); -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%); box-shadow: 0 1px 0 rgba(17, 17, 16, .06); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__handle { justify-self: start; font-family: var(--f-main); font-size: 14px; letter-spacing: .02em; }
.nav__handle sup { font-size: .6em; }
.nav__right { justify-self: end; display: flex; align-items: center; gap: 28px; }
.nav__links { display: flex; gap: 22px; font-family: var(--f-main); font-size: 14px; letter-spacing: .02em; text-transform: uppercase; }
.nav__links a { position: relative; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__burger { display: none; width: 40px; height: 40px; border: 0; background: none; padding: 0; place-items: center; align-content: center; gap: 6px; cursor: pointer; }
.nav__burger span:not(.sr) { display: block; width: 22px; height: 1.4px; background: currentColor; transition: transform .4s var(--ease); }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.7px) rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 45; background: var(--paper); padding: calc(110px + env(safe-area-inset-top, 0px)) var(--gutter) 40px; display: flex; flex-direction: column; gap: 40px; }
.menu__links { display: grid; }
.menu__links a { font-family: var(--f-main); font-size: 40px; letter-spacing: -.02em; text-transform: uppercase; padding: 12px 0; border-bottom: 1px solid var(--line); }
.menu .btn { align-self: flex-start; }

/* ============ HERO ============ */
.hero { position: relative; overflow: hidden; isolation: isolate; color: var(--paper); padding-top: calc(132px + env(safe-area-inset-top, 0px)); padding-bottom: clamp(40px, 4.4vw, 72px); }
.hero__bg { position: absolute; inset: -5%; z-index: -2; transform: translate3d(var(--bx, 0px), var(--by, 0px), 0) scale(1.03); will-change: transform; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; }
.hero__light { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(460px circle at var(--lx, 50%) var(--ly, 35%), rgba(255, 196, 130, .42), rgba(255, 140, 60, .12) 45%, transparent 72%); mix-blend-mode: screen; opacity: var(--lo, 0); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(17, 8, 4, .18), transparent 30%); }
.hero__grid { display: flex; justify-content: center; align-items: flex-start; gap: clamp(26px, 2.8vw, 48px); }
.hero__text { display: grid; justify-items: start; text-align: left; }
.hero__title { margin: 0; font-family: var(--f-serif); font-weight: 400; font-size: clamp(42px, 5vw, 84px); line-height: .98; letter-spacing: -.025em; }
.hero__title em { letter-spacing: -.02em; }
.hero__actions { display: flex; align-items: center; justify-content: flex-start; gap: 24px; margin-top: clamp(28px, 2.6vw, 44px); flex-wrap: wrap; }
.hero__lede { margin: 0; color: rgba(243, 242, 239, .84); font-size: 17px; }
.hero__lede em { color: var(--paper); font-size: 1.25em; }
.hero .btn { background: var(--paper); color: var(--ink); box-shadow: 0 18px 40px -18px rgba(30, 10, 2, .55); }
.hero__title { text-shadow: 0 2px 40px rgba(60, 18, 4, .18); }
.hero__mark { width: var(--mark, 340px); aspect-ratio: 1; padding: 0; border: 0; background: none; color: var(--paper); filter: drop-shadow(0 20px 40px rgba(60, 18, 4, .22)); cursor: pointer; border-radius: 50%; }
.hero__mark svg { width: 100%; height: 100%; overflow: visible; }
.m-b { fill: currentColor; transform-box: fill-box; transform-origin: center; translate: calc(var(--mx, 0) * var(--d) * 1px) calc(var(--my, 0) * var(--d) * 1px); transition: translate 1s var(--ease), fill .4s; }
.m-b--lg { --d: 14; }
.m-b--md { --d: 9; }
.m-b--sm { --d: 20; }
.js .m-b { transform: scale(0); }
.is-ready .m-b { animation: pop-in .9s var(--ease) forwards; }
.is-ready .m-b--sm { animation-delay: .15s; }
.is-ready .m-b--md { animation-delay: .3s; }
.is-ready .m-b--lg { animation-delay: .45s; }
@keyframes pop-in { 0% { transform: scale(0); } 70% { transform: scale(1.08); } 100% { transform: scale(1); } }
.hero__mark.pop .m-b { animation: pop .9s var(--ease) both; }
.hero__mark.pop .m-b--md { animation-delay: .08s; }
.hero__mark.pop .m-b--lg { animation-delay: .16s; }
.hero__mark.pop .m-b--sm { fill: var(--ink); }
@keyframes pop { 0% { transform: scale(1); } 30% { transform: scale(.5); } 65% { transform: scale(1.12); } 100% { transform: scale(1); } }

.js .hero__text { opacity: 0; transform: translateY(20px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.is-ready .hero__text { opacity: 1; transform: none; }

/* Letreiro gigante */
.marquee { overflow: hidden; margin-top: clamp(36px, 4.4vw, 72px); }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee span { font-family: var(--f-main); font-weight: 400; font-stretch: 100%; font-size: 15.4vw; line-height: .78; letter-spacing: -.045em; white-space: nowrap; padding-right: .22em; padding-top: .04em; }
.marquee sup { font-size: .26em; vertical-align: top; position: relative; top: .14em; margin-left: .06em; letter-spacing: 0; }

/* ============ O LAB ============ */
.lab { padding-top: var(--space); }

/* ============ SERVIÇOS ============ */
.services { padding-top: var(--space); }

/* ============ CONTATO (centralizado) ============ */
.contact { padding-block: var(--space) calc(40px + env(safe-area-inset-bottom, 0px)); display: grid; justify-items: center; text-align: center; }
.contact__title { margin: 22px 0 40px; font-family: var(--f-serif); font-weight: 400; font-size: clamp(46px, 6.6vw, 112px); line-height: .96; letter-spacing: -.03em; }
.contact__direct { margin: 34px 0 0; display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; font-size: 18px; }
.contact__direct a { border-bottom: 1px solid var(--line); }
.contact__direct a:hover { border-color: var(--ink); }
.contact__social { margin-top: 26px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 30px; font-family: var(--f-main); font-size: 13.5px; letter-spacing: .08em; text-transform: uppercase; }
.contact__social a { position: relative; }
.contact__social a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: currentColor; transform: scaleX(0); transition: transform .5s var(--ease); }
.contact__social a:hover::after { transform: scaleX(1); }
.badge { position: relative; width: 150px; aspect-ratio: 1; margin-top: clamp(80px, 9vw, 130px); display: grid; place-items: center; }
.badge__text { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 20s linear infinite; }
.badge__text text { font-family: var(--f-main); font-size: 12.5px; fill: var(--ink); }
.badge__mark { width: 52px; height: 52px; transition: transform .8s var(--ease); }
.badge:hover .badge__mark { transform: rotate(-90deg); }
@keyframes spin { to { transform: rotate(360deg); } }
.contact__top { margin-top: 26px; display: grid; justify-items: center; gap: 2px; font-family: var(--f-main); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; }
.contact__top svg { font-size: 22px; }
.contact__copy { margin: 26px 0 0; font-size: 13px; color: var(--grey); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; background: rgba(236, 235, 231, .94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); animation: fade .4s var(--ease); }
.lightbox__img { max-width: min(84vw, 1600px); max-height: 80svh; border-radius: 12px; animation: zoomin .6s var(--ease); }
.lightbox__btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--ink); display: grid; place-items: center; font-size: 20px; cursor: pointer; transition: background .3s; }
.lightbox__btn:hover { background: rgba(17, 17, 16, .06); }
.lightbox__close { top: calc(20px + env(safe-area-inset-top, 0px)); right: var(--gutter); }
.lightbox__prev { left: var(--gutter); top: 50%; translate: 0 -50%; }
.lightbox__next { right: var(--gutter); top: 50%; translate: 0 -50%; }
.lightbox__count { position: absolute; bottom: calc(28px + env(safe-area-inset-bottom, 0px)); left: 50%; translate: -50% 0; font-family: var(--f-main); font-size: 12.5px; letter-spacing: .12em; color: var(--grey); font-variant-numeric: tabular-nums; }
@keyframes fade { from { opacity: 0; } }
@keyframes zoomin { from { opacity: 0; transform: scale(.94); } }

/* CTA fixo mobile */
.dock { position: fixed; z-index: 40; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); display: none; align-items: center; gap: 10px; height: 50px; padding: 0 24px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 15px; font-weight: 500; white-space: nowrap; translate: -50% 0; transform: translateY(160%); transition: transform .5s var(--ease); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .45); }
.dock.on { transform: none; }

/* Reveal */
.js [data-reveal] { transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js [data-reveal].pre { opacity: 0; transform: translateY(24px); }

/* ============ FUNDO VIVO ============ */
.scene { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; display: block; }
.no-gl .scene { display: none; }
.no-gl body { background:
  radial-gradient(40% 50% at 28% 30%, rgba(255, 160, 120, .3), transparent 70%),
  radial-gradient(45% 55% at 75% 65%, rgba(196, 204, 218, .5), transparent 70%),
  radial-gradient(35% 40% at 60% 20%, rgba(220, 212, 236, .45), transparent 70%), var(--paper); }
.link { padding: 0 0 3px; border: 0; background: none; border-bottom: 1px solid currentColor; font-size: 15px; cursor: pointer; color: inherit; }

/* ============ TRABALHOS ============ */
.works { padding-top: clamp(80px, 8vw, 130px); padding-bottom: 21vh; }
.works__head { display: grid; justify-items: center; gap: 18px; text-align: center; margin-bottom: clamp(56px, 7vw, 110px); }
.works__head .h2 { font-size: clamp(44px, 5.4vw, 84px); }
.works__cols { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: var(--gap); align-items: start; }
.col { display: grid; gap: var(--gap); will-change: transform; }
.col--center { margin-top: 18vh; }
.tile { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; background: rgba(17, 17, 16, .04); cursor: zoom-in; isolation: isolate; }
.tile img, .tile video { display: block; width: 100%; height: 124%; margin-top: -12%; object-fit: cover; transform: translateY(var(--iy, 0px)); transition: filter 1.6s var(--ease), opacity 1.2s var(--ease), scale 1.6s var(--ease); }
.js .tile:not(.in) img, .js .tile:not(.in) video { filter: blur(22px) saturate(1.3); opacity: 0; scale: 1.14; }
.tile__plus { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; translate: -50% -50%; border-radius: 50%; display: grid; place-items: center; font-size: 20px; color: var(--paper); background: var(--ink); scale: .4; opacity: 0; transition: scale .6s var(--ease), opacity .4s; z-index: 2; }
.tile:hover .tile__plus { scale: 1; opacity: 1; }
.tile:hover img { scale: 1.04; }

/* ============ QUEM ASSINA ============ */
.author { padding-top: var(--space); }
.author__grid { align-items: end; }
.author__photo { grid-column: 3 / 7; margin: 0; aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; background: #8a8580; }
.author__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.author__text { grid-column: 7 / 11; display: grid; gap: 16px; justify-items: start; padding-bottom: 6px; }
.author__name { margin: 6px 0 0; font-family: var(--f-main); font-weight: 400; font-size: clamp(44px, 4.8vw, 80px); letter-spacing: -.035em; line-height: .92; }
.author__role { margin: 0; font-size: clamp(26px, 2.4vw, 38px); line-height: 1; color: var(--grey); }
.author__bio { margin: 14px 0 0; max-width: 40ch; color: #45453f; font-size: 18px; line-height: 1.55; }
.author__links { display: flex; gap: 28px; margin-top: 12px; }

@media (max-width: 1100px) {
  .author__photo { grid-column: 2 / 7; }
  .author__text { grid-column: 7 / 12; }
}
@media (max-width: 760px) {
  .col--center { margin-top: 16vh; }
  .tile { border-radius: 10px; aspect-ratio: 4 / 5; }
  .author__photo { grid-column: 1 / -1; width: 78%; justify-self: center; }
  .author__text { grid-column: 1 / -1; margin-top: 32px; }
  .works { padding-bottom: 14vh; }
}

/* ============ O LAB (centralizado no eixo) ============ */
.lab { padding-top: clamp(40px, 4vw, 72px); display: grid; justify-items: center; gap: 28px; text-align: center; }
.lab__statement { margin: 0; max-width: 24ch; font-family: var(--f-serif); font-size: clamp(36px, 4.4vw, 72px); line-height: 1.04; letter-spacing: -.025em; text-wrap: balance; }

/* ============ SERVIÇOS: botões ============ */
.services { padding-top: var(--space); display: grid; justify-items: center; text-align: center; gap: 22px; }
.services .h2 { margin-bottom: clamp(20px, 2.5vw, 36px); }
.svc { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 980px; }
.svc__btn {
  position: relative; overflow: hidden; isolation: isolate; height: 54px; padding: 0 26px; border-radius: 999px; border: 0;
  background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(17, 17, 16, .22);
  font-family: var(--f-main); font-size: 15px; letter-spacing: .01em; cursor: pointer; white-space: nowrap;
  transition: color .6s var(--ease), box-shadow .6s var(--ease), transform .6s var(--ease);
}
.svc__btn::before, .svc__btn::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; transition: opacity .7s var(--ease); }
.svc__btn::before { background: var(--ink); opacity: 0; }
.svc__btn::after { background: radial-gradient(130px circle at var(--x, 50%) var(--y, 50%), rgba(255, 75, 31, .95), rgba(255, 110, 60, .35) 45%, rgba(255, 75, 31, 0) 72%); opacity: 0; }
.svc__btn:hover, .svc__btn.is-on { color: var(--paper); box-shadow: inset 0 0 0 1px var(--ink); }
.svc__btn:hover::before, .svc__btn.is-on::before { opacity: 1; }
.svc__btn:hover::after { opacity: 1; }
.svc__btn:active { transform: scale(.98); }
.svc__desc { margin: 18px 0 0; white-space: nowrap; min-height: 1.3em; font-family: var(--f-serif); font-size: clamp(20px, 1.8vw, 27px); line-height: 1.2; color: #3f3f3a; transition: opacity .35s var(--ease), transform .45s var(--ease), filter .45s var(--ease); }
.svc__desc.swap { opacity: 0; transform: translateY(8px); filter: blur(6px); }
.svc__cta { margin-top: 6px; }

/* ============ VÍDEOS ============ */
.videos { padding-top: var(--space); display: grid; justify-items: center; text-align: center; gap: 22px; }
.videos .h2 { margin-bottom: clamp(32px, 4vw, 64px); }
.videos__grid { width: 100%; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: center; }
.vcard { display: grid; gap: 14px; padding: 0; border: 0; background: none; cursor: pointer; text-align: center; }
.vcard--side:first-child { grid-column: 1 / 5; }
.vcard--main { grid-column: 5 / 9; }
.vcard--side:last-child { grid-column: 9 / 13; }
.vcard__frame { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: rgba(17, 17, 16, .06); transform: translateZ(0); transition: transform 1.1s var(--ease), box-shadow 1.1s var(--ease); }
.vcard:hover .vcard__frame { transform: scale(1.045); box-shadow: 0 50px 90px -45px rgba(17, 17, 16, .5); }
.vcard { position: relative; z-index: 0; }
.vcard:hover { z-index: 1; }
.vcard__frame video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; }
.vcard__play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; translate: -50% -50%; border-radius: 50%; display: grid; place-items: center; font-size: 22px; color: var(--ink); background: rgba(243, 242, 239, .82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: scale .6s var(--ease), background .3s; }
.vcard:hover .vcard__play { scale: 1.1; background: var(--paper); }
.vcard__play svg { margin-left: 3px; }
.vcard__cap { font-family: var(--f-main); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); }
.vcard__cap { color: var(--ink); transition: transform 1.1s var(--ease); }
.vcard:hover .vcard__cap { transform: translateY(8px); }

/* Podcast */
.podcast { width: 100%; max-width: 760px; margin-top: clamp(80px, 9vw, 140px); display: grid; justify-items: center; gap: 18px; padding-top: clamp(40px, 4vw, 60px); border-top: 1px solid var(--line); }
.podcast__title { margin: 0; font-family: var(--f-serif); font-size: clamp(30px, 3vw, 46px); line-height: 1.05; letter-spacing: -.02em; }
.podcast__actions { display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap; margin-top: 6px; }
.podcast__player { width: 100%; margin-top: 10px; animation: fade .6s var(--ease); }
.podcast__player iframe { display: block; width: 100%; height: 232px; border: 0; border-radius: 12px; }

/* Modal de vídeo */
.vmodal { position: fixed; inset: 0; z-index: 210; display: grid; place-items: center; background: rgba(17, 17, 16, .9); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); animation: fade .4s var(--ease); }
.vmodal__video { width: min(88vw, calc(80svh * 4 / 3)); aspect-ratio: 4 / 3; border-radius: 12px; background: #000; animation: zoomin .6s var(--ease); }
.vmodal .lightbox__btn { color: var(--paper); border-color: rgba(243, 242, 239, .25); }

@media (max-width: 760px) {
  .videos__grid { grid-template-columns: 1fr; row-gap: 30px; }
  .vcard--main, .vcard--side:first-child, .vcard--side:last-child { grid-column: 1; }
  .vcard--main { order: -1; }
  .svc__desc { white-space: normal; max-width: 30ch; min-height: 2.6em; }
  .vcard__play { width: 52px; height: 52px; font-size: 18px; }
  .svc__btn { height: 48px; padding: 0 20px; font-size: 14px; }
  .lab__statement { font-size: clamp(32px, 9vw, 44px); }
}

/* Topo laranja (o WebGL pinta; isto é o fallback) */
.no-gl .hero__x { background: radial-gradient(60% 80% at 25% 30%, #ff7a45, transparent 70%), radial-gradient(50% 70% at 80% 70%, #e6360c, transparent 70%), var(--accent); }

/* Logotipo no fim */
.end-logo { margin-top: clamp(80px, 9vw, 130px); display: block; transition: transform .8s var(--ease), opacity .4s; }
.end-logo img { width: clamp(180px, 16vw, 250px); height: auto; }
.end-logo:hover { transform: translateY(-4px); }

/* Quem assina em telas verticais (celular e tablet em pé): tudo centralizado no eixo */
@media (max-width: 760px), (max-width: 1100px) and (orientation: portrait) {
  .author .author__grid.grid { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .author .author__photo { grid-column: 1 / -1; width: min(78%, 460px); justify-self: center; }
  .author .author__text { grid-column: 1 / -1; width: 100%; margin-top: 36px; padding-bottom: 0; justify-items: center; text-align: center; }
  .author__bio { margin-inline: auto; }
  .author__links { justify-content: center; }
}

/* ============ RESPONSIVO ============ */
@media (max-width: 1100px) {
  .nav__links { display: none; }
}
@media (max-width: 900px) {
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .nav__handle { font-size: 12px; }
  .nav__right .btn { display: none; }
  .nav__burger { display: grid; }
  .dock { display: inline-flex; }

  .hero { padding-top: calc(104px + env(safe-area-inset-top, 0px)); }
  .hero__grid { flex-direction: column; align-items: center; gap: 30px; }
  .hero__mark { --mark: 42vw !important; }
  .hero__text { justify-items: center; text-align: center; width: 100%; }
  .hero__lede { order: 2; text-align: center; width: 100%; }
  .hero__title { font-size: clamp(40px, 11.6vw, 60px); }
  .hero__actions { flex-direction: column; align-items: stretch; gap: 16px; }
  .hero__actions .btn { width: 100%; }
  .marquee span { font-size: 22vw; }




  .contact__title { font-size: clamp(42px, 12vw, 64px); }
  .contact__direct { flex-direction: column; gap: 10px; }
  .contact__direct span { display: none; }
  .contact .btn--lg { width: 100%; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); translate: none; }
  .lightbox__img { max-width: calc(100vw - 2 * var(--gutter)); max-height: 70svh; }
  .contact { padding-bottom: calc(100px + env(safe-area-inset-bottom, 0px)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .001s !important; animation: none !important; }
  .js .m-b { transform: none; }
  html { scroll-behavior: auto; }
}

/* Variação: elementos do topo em preto sobre o BG laranja→preto */
.hero { color: var(--ink); }
.hero__mark { color: var(--ink); filter: none; }
.hero__mark.pop .m-b--sm { fill: var(--paper); }
.hero__title { text-shadow: none; }
.hero__lede { color: rgba(17, 17, 16, .78); }
.hero__lede em { color: var(--ink); }
.hero .btn { background: var(--ink); color: var(--paper); box-shadow: 0 18px 40px -18px rgba(30, 10, 2, .45); }
.nav:not(.is-solid) { color: var(--ink); }
.nav:not(.is-solid) .btn { background: var(--ink); color: var(--paper); }
