/* Identidade do Ronnin: vinho, rosa, preto e o xadrez que já era dele. */
:root {
  color-scheme: dark;
  --wine-950: #21000b;
  --wine-900: #2b000f;
  --wine-850: #330012;
  --wine-800: #390014;
  --wine-750: #460018;
  --wine-700: #590323;
  --wine-600: #710a32;
  --rose-500: #e0005f;
  --rose-400: #ff176f;
  --rose-300: #ff5a95;
  --ink: #15030b;
  --white: #fff8fb;
  --soft: #ead3dc;
  --quiet: #c49aa9;
  --line: rgba(255, 23, 111, .42);
  --checker-a: #430016;
  --checker-b: #350012;
  --font-body: "DM Sans", sans-serif;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --page-width: 1280px;
  --ease: cubic-bezier(.2, .75, .25, 1);
  --board-x: 0px;
  --board-y: 0px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; background: var(--wine-800); }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background-color: var(--wine-800);
  background-image: conic-gradient(var(--checker-a) 25%, var(--checker-b) 0 50%, var(--checker-a) 0 75%, var(--checker-b) 0);
  background-size: 76px 76px;
  background-position: var(--board-x) var(--board-y);
  background-attachment: fixed;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { color: var(--white); background: var(--rose-500); }
button, input, textarea { color: inherit; font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; text-underline-offset: .22em; }
button { border: 0; }
:focus-visible { outline: 3px solid var(--rose-300); outline-offset: 4px; }
img { max-width: 100%; }
.section-wrap { width: min(calc(100% - 64px), var(--page-width)); margin-inline: auto; }
.section-space { padding-block: 126px; }
.skip-link { position: fixed; z-index: 9999; top: 12px; left: 12px; padding: 12px 18px; border: 2px solid var(--rose-400); border-radius: 8px; background: var(--wine-950); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.scroll-playhead { position: fixed; z-index: 1000; inset: 0 0 auto; height: 3px; background: rgba(18, 0, 8, .2); pointer-events: none; }
.scroll-playhead span { display: block; width: 100%; height: 100%; background: var(--rose-400); box-shadow: 0 0 14px rgba(255, 23, 111, .7); transform: scaleX(0); transform-origin: left; }

/* Abertura curta, sem esconder o conteúdo de quem prefere pouco movimento. */
.preloader { position: fixed; z-index: 2000; inset: 0; display: grid; place-content: center; justify-items: center; gap: 16px; background: var(--wine-800); transition: opacity .45s ease, visibility .45s ease; }
.preloader::before { position: absolute; inset: 0; content: ""; background-image: conic-gradient(var(--checker-a) 25%, var(--checker-b) 0 50%, var(--checker-a) 0 75%, var(--checker-b) 0); background-size: 72px 72px; opacity: .7; }
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader > * { z-index: 1; }
.preloader-skip { position: absolute; top: 24px; right: 30px; min-height: 44px; padding: 0 13px; color: var(--soft); background: transparent; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.loader-mark { position: relative; width: 78px; height: 78px; }
.loader-mark img { width: 100%; height: 100%; object-fit: cover; border: 2px solid var(--rose-400); border-radius: 50%; }
.loader-ring { position: absolute; inset: -8px; border: 1px solid transparent; border-top-color: var(--rose-400); border-radius: 50%; animation: turn 1s linear infinite; }
.loader-wordmark { margin: 8px 0 0; font: 700 13px var(--font-display); letter-spacing: .22em; }
.loader-wordmark i { color: var(--rose-400); font-style: normal; }
.loader-track { width: 148px; height: 2px; margin-top: 5px; background: rgba(255,255,255,.16); overflow: hidden; }
.loader-track span { display: block; width: 100%; height: 100%; background: var(--rose-400); transform: scaleX(0); transform-origin: left; animation: loadbar 1.3s var(--ease) forwards; }
@keyframes turn { to { transform: rotate(1turn); } }
@keyframes loadbar { to { transform: scaleX(1); } }

/* Navegação: translúcida por função, com contraste e alvos de toque claros. */
.site-header { position: sticky; z-index: 50; top: 0; padding: 15px 32px 0; }
.nav-shell { display: flex; align-items: center; justify-content: space-between; width: min(100%, 1440px); min-height: 72px; margin: auto; padding: 10px 20px 10px 15px; border: 1px solid rgba(255, 23, 111, .28); border-radius: 17px; background: rgba(55, 0, 20, .88); box-shadow: 0 12px 34px rgba(17,0,7,.17); backdrop-filter: blur(16px); }
.brand { display: flex; align-items: center; gap: 11px; font: 800 15px/1 var(--font-display); letter-spacing: .18em; }
.brand-mark { display: grid; width: 43px; height: 43px; overflow: hidden; place-items: center; border: 1px solid var(--rose-400); border-radius: 50%; background: var(--wine-950); }
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand-sub { display: block; margin-top: 5px; color: var(--rose-300); font-size: 9px; letter-spacing: .3em; }
.nav-links { display: flex; align-items: center; gap: clamp(19px, 3vw, 42px); }
.nav-links > a:not(.nav-cta) { color: var(--soft); font-size: 13px; transition: color .2s ease; }
.nav-links > a:not(.nav-cta):hover { color: var(--rose-300); }
.nav-cta { display: inline-flex; min-height: 44px; align-items: center; gap: 16px; padding: 0 17px; border: 1px solid var(--rose-400); border-radius: 9px; color: var(--white); font-size: 12px; font-weight: 700; }
.nav-cta span { color: var(--rose-300); font-size: 16px; }
.language-switch { display: flex; align-items: center; gap: 5px; color: var(--quiet); font-size: 11px; }
.language-switch button { min-width: 40px; min-height: 40px; padding: 0 7px; border-radius: 6px; background: transparent; color: var(--quiet); font-size: 11px; font-weight: 700; cursor: pointer; }
.language-switch button[aria-pressed="true"] { color: var(--white); background: rgba(255, 23, 111, .14); }
.menu-toggle { display: none; }

/* Hero com foco dividido entre a voz e o retrato real do portfólio. */
.hero { position: relative; display: grid; min-height: min(780px, calc(100svh - 92px)); grid-template-columns: 1.05fr .95fr; align-items: center; gap: 36px; padding-block: 65px 112px; }
.hero-copy { position: relative; z-index: 2; max-width: 650px; padding: 30px 0; }
.hero h1 { display: flex; flex-direction: column; align-items: flex-start; margin: 0; font-family: var(--font-display); font-size: clamp(4.3rem, 8vw, 7.8rem); font-weight: 700; letter-spacing: .015em; line-height: .84; }
.hero-name { position: relative; color: #f2dce3; font: 700 clamp(13px,1.4vw,17px)/1.2 var(--font-body); letter-spacing: .34em; text-transform: uppercase; text-shadow: 0 10px 40px rgba(224,0,95,.12); }
.hero-name::after { position: absolute; inset: 0; content: attr(data-glitch); color: var(--rose-300); opacity: 0; pointer-events: none; }
.hero-name:hover::after { animation: title-glitch .38s steps(2,end); }
@keyframes title-glitch {
  0%,100% { opacity: 0; clip-path: inset(0 0 0 0); transform: translateX(0); }
  18% { opacity: .9; clip-path: inset(23% 0 57% 0); transform: translateX(4px); }
  40% { opacity: .7; clip-path: inset(58% 0 18% 0); transform: translateX(-3px); }
  66% { opacity: .85; clip-path: inset(40% 0 35% 0); transform: translateX(2px); }
}
.hero-role { max-width: 100%; margin: 9px 0 0; color: var(--rose-400); font-size: 1em; font-weight: 600; letter-spacing: .015em; line-height: .88; text-transform: uppercase; text-wrap: balance; }
.hero-bio { max-width: 50ch; margin: 30px 0 26px; color: var(--soft); font-size: clamp(17px, 1.7vw, 21px); line-height: 1.56; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 20px; padding: 0 19px; border: 1px solid transparent; border-radius: 9px; font-size: 13px; font-weight: 700; transition: transform .25s var(--ease), background .25s ease, border .25s ease, box-shadow .25s ease; }
.button:hover { transform: translateY(-3px); }
.button-primary { border-color: var(--rose-400); background: var(--rose-500); color: #fff; box-shadow: 0 8px 25px rgba(224,0,95,.17); }
.button-primary:hover { background: var(--rose-400); box-shadow: 0 13px 34px rgba(224,0,95,.25); }
.button-primary > span:last-child, .button-quiet > span:last-child { color: inherit; font-size: 18px; }
.button-quiet { border-color: rgba(255,248,251,.29); background: rgba(25,0,10,.12); color: var(--white); }
.button-quiet:hover { border-color: var(--rose-300); background: rgba(255,23,111,.08); }
.hero-footnote { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 47px; color: var(--quiet); font-size: 9px; font-weight: 600; letter-spacing: .13em; }
.hero-code { padding-left: 13px; border-left: 1px solid var(--rose-500); color: var(--rose-300); font-variant-numeric: tabular-nums; letter-spacing: .08em; }
.hero-portrait-wrap { --parallax-x: 0px; --parallax-y: 0px; position: relative; display: grid; min-height: 490px; place-items: center; isolation: isolate; transform: translate3d(var(--parallax-x),var(--parallax-y),0); transition: transform .36s var(--ease); }
.hero-portrait { position: relative; z-index: 2; width: min(100%, 420px); aspect-ratio: 1; padding: 10px; overflow: visible; border: 1px solid rgba(255,23,111,.48); border-radius: 50%; background: var(--wine-950); box-shadow: 0 18px 62px rgba(15,0,8,.3), 0 0 55px rgba(224,0,95,.12); cursor: pointer; transition: transform .45s var(--ease), box-shadow .45s ease; }
.hero-portrait:hover { transform: translateY(-5px) rotate(-1deg); box-shadow: 0 22px 70px rgba(15,0,8,.36), 0 0 65px rgba(224,0,95,.22); }
.hero-portrait img { display: block; width: 100%; height: 100%; border: 3px solid var(--rose-500); border-radius: 50%; object-fit: cover; }
.hero-portrait.is-winking { animation: wink .65s var(--ease); }
@keyframes wink { 30% { transform: rotate(-8deg) scale(.96); } 62% { transform: rotate(4deg) scale(1.03); } }
.portrait-orbit { position: absolute; z-index: 1; width: min(100%, 448px); aspect-ratio: 1; border: 1px solid rgba(255,90,149,.25); border-radius: 50%; transform: rotate(-22deg) scaleY(.81); }
.orbit-two { width: min(91%, 406px); border-color: rgba(255,23,111,.22); transform: rotate(43deg) scaleY(.8); }
.portrait-prompt { position: absolute; right: -31px; bottom: 47px; padding: 8px 11px; border: 1px solid rgba(255,23,111,.5); border-radius: 6px; background: var(--wine-950); color: var(--soft); font-size: 10px; transform: rotate(-5deg); }
.hero-stamp { position: absolute; z-index: 3; padding: 8px 11px; border: 1px solid var(--rose-500); border-radius: 5px; background: var(--wine-950); color: var(--soft); font-size: 9px; font-weight: 700; letter-spacing: .14em; }
.stamp-top { top: 55px; right: 3px; transform: rotate(7deg); }
.stamp-top i { display: inline-block; width: 6px; height: 6px; margin: 0 3px 1px; border-radius: 50%; background: var(--rose-400); }
.stamp-bottom { bottom: 31px; left: -13px; color: var(--rose-300); transform: rotate(-5deg); }
.scroll-cue { position: absolute; bottom: 35px; left: 0; display: flex; align-items: center; gap: 11px; color: var(--quiet); font-size: 9px; font-weight: 600; letter-spacing: .15em; }
.scroll-line { width: 39px; height: 1px; background: var(--rose-400); transform-origin: left; animation: scroll-signal 1.5s ease-in-out infinite alternate; }
@keyframes scroll-signal { to { transform: scaleX(.52); opacity: .55; } }

.marquee { position: relative; overflow: hidden; border-block: 1px solid rgba(255,23,111,.25); background: rgba(46,0,17,.56); }
.marquee-track { display: flex; width: max-content; align-items: center; gap: 27px; padding: 18px 0; color: var(--white); font: 600 13px var(--font-display); letter-spacing: .12em; text-transform: uppercase; animation: marquee 31s linear infinite; }
.marquee-track b { color: var(--rose-400); font-size: 17px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Portfólio: thumbs reais remotos, frames escuros e player carregado só no clique. */
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 42px; }
h2, h3, h4, p { overflow-wrap: break-word; }
.section-heading h2, .about-copy h2, .tools-intro h2, .testimonial-head h2 { margin: 0; font: 700 clamp(2.35rem, 5vw, 4.45rem)/1.02 var(--font-display); letter-spacing: -.025em; }
.section-aside { max-width: 35ch; margin: 0 0 4px; color: var(--soft); font-size: 14px; }
.work-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.filter-tabs { display: flex; flex-wrap: wrap; gap: 7px; }
.filter-tab { display: inline-flex; min-height: 44px; align-items: center; gap: 8px; padding: 0 15px; border: 1px solid transparent; border-radius: 7px; background: transparent; color: var(--quiet); font-size: 12px; cursor: pointer; transition: .2s ease; }
.filter-tab:hover { color: var(--white); }
.filter-tab.is-active { border-color: var(--rose-500); background: rgba(224,0,95,.13); color: var(--white); }
.filter-tab span { color: var(--rose-300); font-size: 10px; }
.work-counter { display: flex; align-items: center; gap: 8px; color: var(--quiet); font-size: 9px; font-weight: 700; letter-spacing: .13em; white-space: nowrap; }
.work-counter i { width: 6px; height: 6px; border-radius: 50%; background: var(--rose-400); }
.work-counter #project-count { color: var(--white); font-variant-numeric: tabular-nums; }
.project-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px 20px; align-items: stretch; }
.project-card { display: flex; min-width: 0; flex-direction: column; animation: card-in .42s var(--ease) both; }
@keyframes card-in { from { opacity: 0; transform: translateY(13px); } to { opacity: 1; transform: translateY(0); } }
.project-open { position: relative; display: block; width: 100%; padding: 0; overflow: hidden; border: 1px solid rgba(255,23,111,.58); border-radius: 13px; background: #21000c; cursor: pointer; isolation: isolate; text-align: left; box-shadow: 0 12px 28px rgba(12,0,5,.2); transition: border-color .25s ease, box-shadow .25s ease; }
.project-open::after { position: absolute; z-index: 1; inset: 0; content: ""; background: linear-gradient(180deg,rgba(13,0,7,.03) 32%,rgba(13,0,7,.68)); transition: background .3s ease; }
.project-open img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; filter: brightness(.82) saturate(.92); transition: filter .3s ease; }
.project-open:hover, .project-open:focus-visible { border-color: var(--rose-300); box-shadow: 0 14px 34px rgba(11,0,5,.35),0 0 24px rgba(255,23,111,.12); }
.project-open:hover img, .project-open:focus-visible img { filter: brightness(.94) saturate(1.04); }
.project-play { position: absolute; z-index: 2; top: 50%; left: 50%; display: grid; width: 62px; aspect-ratio: 1; place-items: center; border: 1px solid rgba(255,248,251,.72); border-radius: 50%; background: rgba(255,248,251,.92); color: var(--wine-950); font-size: 17px; transform: translate(-50%,-50%); transition: transform .28s var(--ease), background .28s ease, color .28s ease; }
.project-play span { margin-left: 3px; }
.project-open:hover .project-play { background: var(--rose-400); color: white; transform: translate(-50%,-50%) scale(1.04); }
.project-meta { position: absolute; z-index: 2; right: 14px; bottom: 13px; left: 14px; display: flex; align-items: end; justify-content: space-between; gap: 8px; color: var(--white); }
.project-kind { display: block; margin-bottom: 4px; color: #ff8db5; font-size: 9px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.project-title { display: block; font: 600 clamp(18px,2vw,25px)/1.15 var(--font-display); }
.project-duration { flex: none; padding: 4px 7px; border: 1px solid rgba(255,248,251,.3); border-radius: 4px; background: rgba(19,0,8,.65); color: var(--white); font-size: 9px; font-variant-numeric: tabular-nums; }
.project-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; padding-top: 11px; }
.project-tags span, .dialog-tags span { padding: 4px 8px; border: 1px solid rgba(255,23,111,.27); border-radius: 999px; color: var(--soft); font-size: 10px; }
.work-endnote { display: flex; align-items: center; justify-content: center; gap: 11px; margin: 40px 0 0; color: var(--soft); font-size: 13px; text-align: center; }
.work-endnote span:first-child { color: var(--rose-400); font-size: 19px; }

/* Bio mosaico: borda escura e relevo do desenho original. */
.about-panel { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(35px,7vw,92px); align-items: center; padding: clamp(25px,5vw,62px); border: 2px solid var(--ink); border-radius: 32px; background: rgba(73,0,27,.7); box-shadow: 0 20px 60px rgba(16,0,7,.16); }
.about-art { position: relative; width: min(100%,380px); justify-self: center; }
.about-art img { display: block; width: 100%; aspect-ratio: 1; border: 2px solid var(--rose-500); border-radius: 50%; object-fit: cover; box-shadow: 0 0 48px rgba(224,0,95,.16); }
.about-art-caption { display: block; margin-top: 17px; color: var(--quiet); font-size: 9px; font-weight: 700; letter-spacing: .18em; text-align: center; }
.about-art-caption i { padding-left: 6px; color: var(--rose-400); font-style: normal; }
.about-copy h2 { margin-bottom: 22px; }
.about-copy > p { max-width: 62ch; margin: 0 0 15px; color: var(--soft); font-size: 14px; line-height: 1.8; }
.about-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255,23,111,.3); }
.about-stats div { display: grid; gap: 2px; }
.about-stats strong { color: var(--rose-300); font: 700 clamp(18px,2.5vw,25px)/1.2 var(--font-display); font-variant-numeric: tabular-nums; }
.about-stats span { color: var(--quiet); font-size: 8px; font-weight: 700; letter-spacing: .12em; }

/* Serviços em lista aberta; o processo usa o próprio playhead como linha. */
.service-list { border-top: 1px solid rgba(255,23,111,.45); }
.service-row { display: grid; grid-template-columns: 45px minmax(210px,1fr) minmax(180px,.85fr) 28px; align-items: center; gap: 20px; min-height: 122px; border-bottom: 1px solid rgba(255,23,111,.3); transition: background .3s ease; }
.service-row:hover { background: rgba(255,23,111,.045); }
.service-index { color: var(--rose-300); font: 600 12px var(--font-display); }
.service-title h3 { margin: 0; font: 600 clamp(21px,2.7vw,31px)/1.2 var(--font-display); }
.service-title p { margin: 5px 0 0; color: var(--quiet); font-size: 12px; }
.service-detail { color: var(--soft); font-size: 11px; }
.service-glyph { color: var(--rose-400); font-size: 18px; transition: transform .2s ease; }
.service-row:hover .service-glyph { transform: translate(3px,-3px); }
.process-block { margin-top: 98px; }
.process-heading { max-width: 760px; margin-bottom: 32px; }
.process-heading h3 { margin: 0; font: 700 clamp(30px,4vw,48px)/1.08 var(--font-display); letter-spacing: -.025em; }
.process-timeline { position: relative; display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.process-timeline::before { position: absolute; top: 16px; right: 12.5%; left: 12.5%; height: 1px; content: ""; background: linear-gradient(90deg,var(--rose-500),rgba(255,23,111,.2)); }
.process-step { position: relative; padding-top: 46px; }
.process-step::before { position: absolute; top: 11px; left: 0; width: 11px; height: 11px; border: 2px solid var(--rose-400); border-radius: 50%; background: var(--wine-800); box-shadow: 0 0 12px rgba(255,23,111,.3); content: ""; }
.process-step > span { color: var(--quiet); font: 600 10px var(--font-display); letter-spacing: .15em; }
.process-step h4 { margin: 8px 0 5px; font: 600 19px var(--font-display); }
.process-step p { max-width: 25ch; margin: 0; color: var(--soft); font-size: 12px; line-height: 1.6; }

.tools-section { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 45px; padding-block: 46px 120px; }
.tools-intro h2 { max-width: 410px; font-size: clamp(34px,4.2vw,56px); }
.tool-list { display: flex; flex-wrap: wrap; justify-content: end; gap: 10px; }
.tool-item { display: flex; min-height: 66px; align-items: center; gap: 9px; padding: 10px 14px; border: 1px solid rgba(255,23,111,.29); border-radius: 9px; background: rgba(49,0,19,.48); color: var(--soft); font-size: 11px; white-space: nowrap; }
.tool-item svg { width: 28px; height: 28px; color: var(--rose-300); }
.tool-editable { border-style: dashed; color: var(--quiet); }
.tool-plus { display: grid; width: 27px; height: 27px; place-items: center; border: 1px solid var(--rose-500); border-radius: 50%; color: var(--rose-300); font-size: 17px; }

.testimonial-head { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 30px; }
.testimonial-head h2 { max-width: 760px; }
.carousel-controls { display: flex; gap: 8px; }
.carousel-controls button { width: 48px; height: 48px; border: 1px solid rgba(255,23,111,.5); border-radius: 50%; background: rgba(48,0,18,.4); color: var(--white); font-size: 20px; cursor: pointer; transition: background .2s ease, transform .2s ease; }
.carousel-controls button:hover { background: var(--rose-500); transform: translateY(-2px); }
.quote-viewport { overflow: hidden; border: 2px solid var(--ink); border-radius: 21px; background: rgba(73,0,27,.56); }
.quote-track { display: flex; transition: transform .5s var(--ease); touch-action: pan-y; }
.quote-slide { flex: 0 0 100%; min-height: 246px; padding: clamp(24px,5vw,55px); }
.quote-mark { color: var(--rose-400); font: 700 60px/.8 Georgia,serif; }
.quote-slide blockquote { max-width: 69ch; min-height: 68px; margin: 12px 0 22px; color: var(--white); font: 500 clamp(18px,2.2vw,24px)/1.48 var(--font-display); }
.quote-slide > p { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin: 0; font-size: 10px; letter-spacing: .12em; }
.quote-slide > p strong { color: var(--rose-300); }
.quote-slide > p span { color: var(--quiet); }
.quote-dots { display: flex; justify-content: center; gap: 7px; margin-top: 16px; }
.quote-dots button { width: 23px; height: 7px; border-radius: 999px; background: rgba(255,248,251,.25); cursor: pointer; transition: background .2s ease,scale .2s ease; }
.quote-dots button[aria-current="true"] { scale: 1.45 1; background: var(--rose-400); }

.contact-section { padding-top: 65px; }
.contact-panel { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 55px; overflow: hidden; padding: clamp(30px,6vw,76px); border: 2px solid var(--ink); border-radius: 31px; background: rgba(74,0,27,.78); box-shadow: 0 24px 65px rgba(12,0,6,.2); }
.contact-panel::before { position: absolute; right: -130px; bottom: -190px; width: 440px; aspect-ratio: 1; border: 1px solid rgba(255,23,111,.2); border-radius: 50%; box-shadow: 0 0 0 27px rgba(255,23,111,.035),0 0 0 56px rgba(255,23,111,.025); content: ""; pointer-events: none; }
.contact-main, .contact-links { position: relative; z-index: 1; }
.contact-main h2 { margin: 0; font: 700 clamp(3rem,6vw,6rem)/.99 var(--font-display); letter-spacing: -.035em; }
.contact-main > p { max-width: 47ch; margin: 22px 0 25px; color: var(--soft); font-size: 14px; }
.contact-links { display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.contact-link { display: flex; min-height: 79px; align-items: center; gap: 15px; padding: 11px 16px; border: 1px solid rgba(255,23,111,.3); border-radius: 11px; background: rgba(38,0,15,.58); transition: transform .25s var(--ease),border-color .25s ease,background .25s ease; }
.contact-link:hover { border-color: var(--rose-400); background: rgba(255,23,111,.1); transform: translateX(4px); }
.contact-icon { display: grid; width: 48px; height: 48px; flex: none; place-items: center; border-radius: 50%; background: #353535; color: var(--rose-400); box-shadow: 0 6px 11px rgba(0,0,0,.22); }
.contact-icon svg { width: 24px; height: 24px; }
.contact-link > span:nth-child(2) { display: grid; gap: 2px; }
.contact-link small { color: var(--quiet); font-size: 8px; font-weight: 700; letter-spacing: .16em; }
.contact-link strong { font: 600 17px var(--font-display); }
.contact-arrow { margin-left: auto; color: var(--rose-300); font-size: 19px; }
.copy-discord { display: flex; min-height: 42px; align-items: center; justify-content: space-between; padding: 0 10px 0 79px; background: transparent; color: var(--soft); font-size: 11px; text-align: left; cursor: pointer; }
.copy-discord span:last-child { color: var(--rose-300); font-size: 17px; }
.copy-discord:hover { color: var(--rose-300); }
.contact-more { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; min-height: 62px; margin-top: 5px; padding: 8px 15px; border-top: 1px solid rgba(255,23,111,.24); color: var(--quiet); font-size: 8px; font-weight: 700; letter-spacing: .1em; }
.contact-more strong { color: var(--rose-300); font-size: 10px; }
.contact-foot { position: relative; z-index: 1; display: flex; grid-column: 1/-1; justify-content: space-between; gap: 20px; margin-top: 13px; padding-top: 17px; border-top: 1px solid rgba(255,23,111,.25); color: var(--quiet); font-size: 8px; font-weight: 700; letter-spacing: .12em; }
.contact-foot span:last-child { color: var(--soft); }
.contact-foot i { color: var(--rose-400); font-style: normal; }

.site-footer { display: grid; grid-template-columns: 1fr 2fr 1fr; align-items: center; gap: 18px 30px; padding-block: 0 30px; }
.footer-brand { display: inline-flex; align-items: center; gap: 9px; font: 700 12px var(--font-display); letter-spacing: .14em; }
.footer-brand img { width: 35px; height: 35px; border: 1px solid var(--rose-400); border-radius: 50%; object-fit: cover; }
.footer-brand small { display: block; color: var(--rose-300); font-size: 8px; letter-spacing: .2em; }
.site-footer > p { margin: 0; color: var(--quiet); font-size: 11px; text-align: center; }
.back-top { display: flex; align-items: center; justify-self: end; gap: 11px; color: var(--soft); font-size: 9px; font-weight: 700; letter-spacing: .12em; }
.back-top span:last-child { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid rgba(255,23,111,.45); border-radius: 50%; color: var(--rose-300); font-size: 15px; }
.copyright { grid-column: 1/-1; padding-top: 17px; border-top: 1px solid rgba(255,23,111,.18); color: var(--quiet); font-size: 8px; letter-spacing: .1em; }

/* Player responsivo e isolado: o iframe nasce somente após ativação. */
.video-dialog { width: min(900px,calc(100% - 28px)); max-width: none; max-height: calc(100dvh - 28px); padding: 0; overflow: auto; border: 1px solid rgba(255,23,111,.6); border-radius: 16px; background: var(--wine-950); color: var(--white); box-shadow: 0 30px 120px rgba(0,0,0,.68); }
.video-dialog::backdrop { background: rgba(13,0,7,.82); backdrop-filter: blur(8px); }
.dialog-inner { position: relative; }
.dialog-close { position: sticky; z-index: 4; top: 9px; float: right; width: 43px; height: 43px; margin: 9px 9px -52px 0; border: 1px solid rgba(255,248,251,.4); border-radius: 50%; background: rgba(21,3,11,.84); color: var(--white); font-size: 25px; cursor: pointer; }
.dialog-player { display: grid; width: 100%; aspect-ratio: 16 / 9; place-items: center; background: #0d0005; }
.dialog-player.is-vertical { width: min(405px,100%); aspect-ratio: 9/16; margin-inline: auto; }
.dialog-player iframe { width: 100%; height: 100%; border: 0; }
.dialog-caption { padding: 22px clamp(19px,4vw,34px) 30px; }
.dialog-caption h2 { margin: 0 0 7px; font: 600 clamp(22px,4vw,34px)/1.1 var(--font-display); }
.dialog-caption > p { margin: 0; color: var(--soft); font-size: 13px; }
.dialog-caption-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 18px; margin-bottom: 7px; }
.dialog-category { color: var(--rose-300); font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.dialog-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 13px; }
.toast { position: fixed; z-index: 1100; right: 20px; bottom: 20px; max-width: min(380px,calc(100% - 40px)); padding: 12px 17px; border: 1px solid var(--rose-400); border-radius: 8px; background: var(--wine-950); color: var(--white); font-size: 12px; box-shadow: 0 9px 35px rgba(0,0,0,.32); opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity .2s ease,transform .2s ease; }
.toast.is-visible { opacity: 1; transform: translateY(0); }

.reveal { opacity: 1; transform: none; }
.js-motion .reveal { opacity: 0; transform: translateY(18px); }
.js-motion .reveal.is-in { opacity: 1; transform: translateY(0); transition: opacity .7s var(--ease),transform .7s var(--ease); }

@media (min-width: 1600px) {
  :root { --page-width: 1400px; }
  .hero { min-height: 790px; }
}
@media (max-width: 1000px) {
  .section-wrap { width: min(calc(100% - 48px), var(--page-width)); }
  .site-header { padding-inline: 20px; }
  .nav-shell { padding-right: 12px; }
  .nav-links { gap: 18px; }
  .nav-links > a:not(.nav-cta) { font-size: 12px; }
  .nav-cta { gap: 8px; padding-inline: 11px; font-size: 11px; }
  .hero { min-height: 650px; grid-template-columns: 1.08fr .92fr; gap: 15px; }
  .hero-portrait { width: min(100%,360px); }
  .hero-portrait-wrap { min-height: 400px; }
  .project-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .portrait-orbit { width: min(100%,390px); }
  .section-space { padding-block: 100px; }
  .about-panel { gap: 35px; }
  .contact-panel { gap: 30px; }
}
@media (max-width: 760px) {
  body { background-size: 52px 52px; background-attachment: scroll; }
  .section-wrap { width: min(calc(100% - 36px), var(--page-width)); }
  .section-space { padding-block: 79px; }
  .site-header { padding: 9px 10px 0; }
  .nav-shell { min-height: 62px; padding: 8px 10px; border-radius: 13px; backdrop-filter: none; }
  .brand { gap: 8px; font-size: 13px; }
  .brand-mark { width: 38px; height: 38px; }
  .menu-toggle { position: relative; z-index: 3; display: grid; width: 46px; height: 46px; align-content: center; justify-items: center; gap: 6px; border: 1px solid rgba(255,23,111,.48); border-radius: 9px; background: rgba(30,0,12,.72); cursor: pointer; }
  .menu-toggle span { display: block; width: 18px; height: 1px; background: var(--white); transition: transform .25s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .nav-links { position: fixed; z-index: 2; inset: 0; display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 9px; padding: 90px 34px 32px; background: rgba(49,0,19,.98); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s ease,visibility .25s ease,transform .25s ease; }
  .nav-links.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-links > a:not(.nav-cta) { min-height: 53px; border-bottom: 1px solid rgba(255,23,111,.2); color: var(--white); font: 600 24px var(--font-display); }
  .nav-cta { min-height: 50px; justify-content: space-between; margin-top: 12px; padding-inline: 14px; font-size: 13px; }
  .language-switch { justify-content: center; margin-top: 12px; }
  .language-switch button { min-width: 64px; min-height: 44px; }
  .hero { min-height: 0; grid-template-columns: 1fr; gap: 8px; padding-block: 56px 82px; }
  .hero-copy { padding: 18px 0 0; }
  .hero h1 { font-size: clamp(3.5rem,13vw,6.3rem); }
  .hero-role { margin-top: 11px; }
  .hero-bio { max-width: 42ch; margin: 23px 0 21px; font-size: 16px; }
  .button { min-height: 49px; gap: 12px; padding-inline: 14px; font-size: 12px; }
  .hero-footnote { margin-top: 27px; font-size: 8px; }
  .hero-portrait-wrap { width: min(100%,420px); min-height: 0; aspect-ratio: 1 / .91; justify-self: center; margin-top: 7px; }
  .hero-portrait { width: min(78%,330px); padding: 7px; }
  .hero-portrait img { border-width: 2px; }
  .portrait-orbit { width: 84%; }
  .orbit-two { width: 77%; }
  .portrait-prompt { right: -17px; bottom: 23px; font-size: 9px; }
  .stamp-top { top: 7px; right: 3%; }
  .stamp-bottom { bottom: -2px; left: 5px; }
  .scroll-cue { bottom: 19px; left: 0; }
  .marquee-track { gap: 20px; padding-block: 14px; font-size: 11px; }
  .section-heading { display: block; margin-bottom: 27px; }
  .section-heading h2, .about-copy h2, .testimonial-head h2 { font-size: clamp(2.3rem,11vw,3.4rem); }
  .section-aside { margin-top: 13px; font-size: 12px; }
  .work-toolbar { display: block; margin-bottom: 18px; }
  .filter-tabs { flex-wrap: nowrap; overflow-x: auto; padding: 1px 0 8px; scrollbar-width: thin; scrollbar-color: var(--rose-500) transparent; }
  .filter-tab { flex: none; min-height: 44px; padding-inline: 12px; font-size: 11px; }
  .work-counter { justify-content: end; margin-top: 5px; }
  .project-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 19px 13px; }
  .project-open { border-radius: 10px; }
  .project-play { width: 48px; font-size: 14px; }
  .project-meta { right: 9px; bottom: 8px; left: 9px; gap: 4px; }
  .project-kind { font-size: 7px; }
  .project-title { font-size: clamp(12px,3.7vw,17px); }
  .project-duration { padding: 3px 5px; font-size: 8px; }
  .project-tags { gap: 4px; margin-top: 7px; }
  .project-tags span { padding: 3px 6px; font-size: 8px; }
  .work-endnote { margin-top: 26px; font-size: 11px; }
  .about-panel { grid-template-columns: 1fr; gap: 27px; padding: 24px 19px; border-radius: 23px; }
  .about-art { width: min(68%,270px); }
  .about-copy h2 { margin-bottom: 16px; }
  .about-copy > p { font-size: 13px; }
  .about-stats { gap: 8px; margin-top: 24px; }
  .about-stats strong { font-size: 18px; }
  .about-stats span { font-size: 7px; letter-spacing: .06em; }
  .service-row { grid-template-columns: 28px 1fr 18px; gap: 10px; min-height: 102px; }
  .service-title h3 { font-size: 20px; }
  .service-title p { max-width: 32ch; font-size: 10px; }
  .service-detail { display: none; }
  .process-block { margin-top: 68px; }
  .process-heading h3 { font-size: 34px; }
  .process-timeline { grid-template-columns: repeat(2,1fr); gap: 24px 18px; }
  .process-timeline::before { top: 17px; right: 24%; bottom: 20px; left: 0; width: 1px; height: auto; background: linear-gradient(var(--rose-500),rgba(255,23,111,.15)); }
  .process-step { padding: 4px 0 0 25px; }
  .process-step::before { top: 9px; left: -5px; }
  .process-step h4 { margin-top: 7px; font-size: 17px; }
  .process-step p { font-size: 11px; }
  .tools-section { grid-template-columns: 1fr; gap: 23px; padding-block: 26px 78px; }
  .tools-intro h2 { max-width: 360px; font-size: 39px; }
  .tool-list { justify-content: start; gap: 7px; }
  .tool-item { min-height: 54px; gap: 6px; padding: 7px 9px; font-size: 9px; }
  .tool-item svg { width: 23px; height: 23px; }
  .tool-plus { width: 22px; height: 22px; }
  .testimonial-head { align-items: end; gap: 10px; }
  .carousel-controls { flex: none; gap: 5px; }
  .carousel-controls button { width: 39px; height: 39px; font-size: 17px; }
  .quote-slide { min-height: 260px; padding: 24px 20px; }
  .quote-slide blockquote { min-height: 110px; font-size: 18px; }
  .contact-section { padding-top: 40px; }
  .contact-panel { grid-template-columns: 1fr; gap: 27px; padding: 27px 20px 19px; border-radius: 22px; }
  .contact-main h2 { font-size: clamp(3rem,13vw,4.5rem); }
  .contact-main > p { margin-block: 17px 19px; font-size: 13px; }
  .contact-links { gap: 6px; }
  .contact-link { min-height: 70px; padding-inline: 10px; }
  .contact-icon { width: 44px; height: 44px; }
  .contact-link strong { font-size: 15px; }
  .copy-discord { padding-left: 67px; }
  .contact-foot { grid-column: 1; flex-direction: column; gap: 6px; font-size: 7px; }
  .site-footer { grid-template-columns: 1fr auto; gap: 12px; padding-bottom: 22px; }
  .site-footer > p { grid-column: 1/-1; grid-row: 2; text-align: left; }
  .back-top { grid-column: 2; grid-row: 1; }
  .copyright { grid-row: 3; }
}
@media (max-width: 390px) {
  .section-wrap { width: calc(100% - 28px); }
  .hero h1 { font-size: clamp(3.25rem,13vw,3.6rem); }
  .hero-actions { gap: 8px; }
  .button { gap: 9px; padding-inline: 11px; }
  .project-grid { gap-inline: 8px; }
  .testimonial-head { display: block; }
  .carousel-controls { margin-top: 14px; }
}
@media (max-width: 480px) {
  .project-grid { grid-template-columns: minmax(0,1fr); gap: 20px; }
}
@media (max-width: 760px) { body.menu-open { overflow: hidden; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero-name:hover::after { animation: none; }
}
