/* ==========================================================================
   Giovanna Licciarde · Portfólio
   Design system: Poppins · roxo #7C3AED · limão #CED629 · laranja #F27825
   rosa #EB1763 · card #FAFAFF · raio 16px
   ========================================================================== */

:root {
  --purple: #7C3AED;
  --purple-dark: #4F11B7;
  --purple-light: #AD7DFF;
  --lime: #CED629;
  --lime-soft: #F0F4C3;
  --olive: #6B700D;
  --orange: #F27825;
  --orange-ink: #D96114;
  --orange-soft: #FEEBE0;
  --pink: #EB1763;
  --pink-ink: #D1145A;
  --pink-soft: #FDE7EF;
  --lav: #EDE9FE;
  --card: #FAFAFF;
  --white: #FFFFFF;
  --ink: #1A1A1F;
  --gray: #6B6B78;
  --line: rgba(26, 26, 51, .08);
  --shadow: 0 8px 24px rgba(77, 51, 153, .06);
  --shadow-lg: 0 20px 48px rgba(51, 13, 128, .22);
  --radius: 16px;
  --container: 1200px;
  --gutter: 24px;
  --header-h: 80px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-back: cubic-bezier(.34, 1.4, .64, 1);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-soft: cubic-bezier(.45, 0, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  color-scheme: light;
  font-family: 'Poppins', system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
em { font-style: normal; color: var(--purple); }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 8px; }

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

/* ---------- Pills & botões ---------- */
.pill { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 500; white-space: nowrap; }
.pill--soft, .pill--lav { background: var(--lav); color: var(--purple); }
.pill--lime { background: var(--lime-soft); color: var(--olive); }
.pill--area { background: var(--purple); color: var(--white); font-weight: 600; }
.pill--skill { background: var(--lav); color: var(--purple); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 28px; border-radius: 999px; font-size: 16px; font-weight: 600; white-space: nowrap; transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), background .35s var(--ease-soft), color .35s var(--ease-soft); }
.btn:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(77, 51, 153, .16); }
.btn:active { transform: translateY(-1px); transition-duration: .15s; }
.btn--sm { padding: 9px 18px; font-size: 13px; }
.btn--purple { background: var(--purple); color: var(--white); box-shadow: 0 8px 20px rgba(124, 58, 237, .28); }
.btn--outline { background: var(--white); border: 1px solid rgba(26, 26, 51, .1); }
.btn--lime { background: var(--lime); color: var(--ink); }
.btn--lime.btn--sm { background: #EEF2BC; border: 1px solid var(--lime); }
.btn--glass { background: rgba(255, 255, 255, .16); color: var(--white); }
.btn--glass:hover { background: rgba(255, 255, 255, .24); }
.js-copy { transition: width .45s var(--ease-out), background .35s var(--ease-soft), color .35s var(--ease-soft); overflow: hidden; }
.copy-slot { display: inline-flex; justify-content: center; }
.js-copy.is-copied { background: var(--white); color: var(--purple); }
.js-copy.is-copied span { animation: fadeIn .3s ease .15s both; }
.copy-check { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 16; stroke-dashoffset: 16; animation: checkDraw .45s var(--ease-out) .1s forwards; }
@keyframes checkDraw { to { stroke-dashoffset: 0; } }
/* CV no card roxo: limão suave, preenche no hover (igual ao do header) */
.contact .btn--lime { background: #EEF2BC; }
/* chamada de orçamento no fim do Design Gráfico */
.quote { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 32px; padding: 20px 20px 20px 28px; border-radius: var(--radius); background: rgba(255, 255, 255, .1); }
.quote__text { font-size: 18px; font-weight: 500; color: var(--white); }
.btn--soft-lime { background: #EEF2BC; color: var(--ink); flex-shrink: 0; }
.btn--soft-lime:hover { background: var(--lime); }
/* selo do hero leva ao contato */
a.status { transition: background .3s var(--ease-soft), transform .4s var(--ease-out); }
.chip svg { width: 14px; height: 14px; flex-shrink: 0; fill: none; stroke: var(--purple); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.chip { display: inline-flex; align-items: center; gap: 6px; }
.status__arrow { display: inline-block; margin-left: 2px; opacity: 0; transform: translateX(-4px); transition: opacity .3s, transform .4s var(--ease-out); }
a.status:hover .status__arrow { opacity: 1; transform: none; }
.contact .js-cv { --fill: var(--lime); }

/* ---------- Eyebrow & headings ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; color: var(--purple); }
.eyebrow::before { content: ''; width: 4px; height: 20px; border-radius: 2px; background: linear-gradient(var(--purple), var(--lime)); }
.eyebrow--light { color: var(--lime); }
.eyebrow--light::before { background: linear-gradient(var(--white), var(--lime)); }
.section__head { margin-bottom: 40px; }
.section__head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.section__title { margin-top: 12px; font-size: clamp(34px, 4.2vw, 56px); line-height: 1.1; font-weight: 700; letter-spacing: -.5px; }
.section__title--light { color: var(--white); }
.section__sub { margin-top: 12px; max-width: 720px; font-size: 17px; line-height: 1.6; color: var(--gray); }
.section__sub--light { color: rgba(255, 255, 255, .8); }


/* ==========================================================================
   Header
   ========================================================================== */
.header { position: fixed; inset: 0 0 auto; height: calc(var(--header-h) + env(safe-area-inset-top, 0px)); padding-top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(255, 255, 255, .7); -webkit-backdrop-filter: blur(18px) saturate(170%); backdrop-filter: blur(18px) saturate(170%); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px rgba(26, 26, 51, .04); }
.header__inner { height: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand__name { font-size: 18px; font-weight: 600; }
.nav { display: flex; gap: 28px; }
.nav__link { position: relative; display: inline-block; font-size: 15px; font-weight: 500; padding: 4px 0; transition: transform .55s var(--ease-back), color .4s var(--ease-soft); }
.nav__link::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 1px; background: var(--purple); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out) .05s; }
.nav__link:hover { color: var(--purple); transform: translateY(-2px); }
.nav__link:hover::after { transform: scaleX(1); }
.header__actions { display: flex; align-items: center; gap: 16px; }
.lang { display: flex; gap: 4px; padding: 4px; border-radius: 999px; border: 1px solid rgba(124, 58, 237, .18); background: var(--white); }
.lang__opt { padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 500; transition: background .4s var(--ease-soft), color .4s var(--ease-soft); }
.lang__opt.is-active { background: var(--purple); color: var(--white); font-weight: 600; }
.menu-btn { display: none; width: 40px; height: 40px; border-radius: 12px; background: var(--lav); position: relative; }
.menu-btn span { position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 2px; background: var(--purple); transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-btn span:first-child { top: 15px; }
.menu-btn span:last-child { top: 23px; }
.menu-open .menu-btn span:first-child { top: 19px; transform: rotate(45deg); }
.menu-open .menu-btn span:last-child { top: 19px; transform: rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero-wrap { padding: calc(var(--header-h) + 24px) var(--gutter) 72px; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; }
.hero { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 32px; padding: 56px 72px 56px 64px; border-radius: 32px; background: var(--card); border: 1px solid rgba(26, 26, 51, .06); }
.hero__dots { position: absolute; top: 12px; right: 0; bottom: 0; width: 46%; background-image: radial-gradient(rgba(124, 58, 237, .22) 1.2px, transparent 1.4px); background-size: 24px 24px; pointer-events: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%); mask-image: linear-gradient(90deg, transparent, #000 18%); }
.hero__text { position: relative; display: flex; flex-direction: column; gap: 20px; max-width: 620px; }
.status { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--white); font-size: 13px; font-weight: 500; }
.status i { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(206, 214, 41, .6); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(206, 214, 41, .6); } 80%, 100% { box-shadow: 0 0 0 8px rgba(206, 214, 41, 0); } }
.hero__title { font-size: clamp(44px, 6vw, 72px); line-height: 1.05; font-weight: 700; letter-spacing: -1px; }
.hero__role { font-size: 22px; font-weight: 500; }
.hero__bio { font-size: 17px; line-height: 1.6; color: var(--gray); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 7px 13px; border-radius: 999px; background: var(--white); border: 1px solid rgba(26, 26, 51, .08); font-size: 13px; font-weight: 500; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }

/* Foto selecionada, estilo Figma */
.photo { position: relative; width: 320px; height: 320px; margin: 40px 24px 48px; }
.photo__frame { width: 100%; height: 100%; border-radius: 28px; overflow: hidden; outline: 2px solid var(--purple); background: var(--lav); }
.photo__frame img { width: 100%; height: 100%; object-fit: cover; color: transparent; }
.photo__handle { position: absolute; width: 12px; height: 12px; background: var(--white); border: 2px solid var(--purple); }
.h-tl { top: -6px; left: -6px; } .h-tr { top: -6px; right: -6px; } .h-bl { bottom: -6px; left: -6px; } .h-br { bottom: -6px; right: -6px; }
.photo__badge { position: absolute; left: 50%; bottom: -40px; transform: translateX(-50%); padding: 4px 10px; border-radius: 6px; background: var(--purple); color: var(--white); font-size: 12px; font-weight: 500; white-space: nowrap; }

/* Cursores multiplayer */
.cursor { position: absolute; display: inline-flex; align-items: flex-start; pointer-events: none; z-index: 3; }
.cursor svg { width: 16px; height: 24px; stroke: var(--white); stroke-width: 1.5; stroke-linejoin: round; }
.cursor b { margin: 18px 0 0 -2px; padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--white); white-space: nowrap; }
.cursor--gi svg { fill: var(--pink); } .cursor--gi b { background: var(--pink); }
.cursor--you svg { fill: var(--orange); } .cursor--you b { background: var(--orange); }
.photo .cursor--gi { right: -18px; top: 62%; }
.photo .cursor--you { left: -52px; top: -40px; }
.cursor--float-a { animation: floatA 5s ease-in-out infinite; }
.cursor--float-b { animation: floatB 6s ease-in-out infinite; }
@keyframes floatA { 0%, 100% { transform: translate(0, 0); } 35% { transform: translate(-34px, 26px); } 70% { transform: translate(-10px, -18px); } }
@keyframes floatB { 0%, 100% { transform: translate(0, 0); } 40% { transform: translate(30px, 26px); } 75% { transform: translate(8px, 44px); } }

/* ==========================================================================
   Marcas (marquee)
   ========================================================================== */
.brands { padding: 28px 0 24px; background: linear-gradient(100deg, var(--purple-dark) 0%, var(--purple) 45%, var(--purple-light) 100%); color: var(--white); overflow: hidden; }
.brands__label { text-align: center; font-size: 12px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; opacity: .9; }
.marquee { margin-top: 18px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__set { display: flex; align-items: center; gap: 64px; padding-right: 64px; height: 56px; }
.marquee__set img { width: auto; height: calc(var(--h) * var(--ls, 1)); filter: brightness(0) invert(1); opacity: .95; }
.marquee__name { font-weight: 600; font-size: 20px; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   Seções
   ========================================================================== */
.section { position: relative; padding: 96px 0; overflow: hidden; }
.section--purple { background: var(--purple); }
.section--soft { background: var(--card); }
.glow { position: absolute; border-radius: 50%; filter: blur(110px); pointer-events: none; }
.glow--a { width: 560px; height: 560px; top: -220px; right: -140px; background: rgba(173, 125, 255, .55); }
.glow--b { width: 520px; height: 520px; bottom: -260px; left: -200px; background: rgba(206, 214, 41, .28); }
.glow--c { width: 600px; height: 600px; top: 35%; left: 35%; background: rgba(173, 125, 255, .45); }
.glow--d { width: 620px; height: 620px; top: -160px; right: -120px; background: rgba(124, 58, 237, .14); }
.glow--e { width: 560px; height: 560px; bottom: -260px; left: -180px; background: rgba(206, 214, 41, .2); }
.dotgrid { position: absolute; top: 60px; right: var(--gutter); width: 420px; height: 220px; background-image: radial-gradient(rgba(124, 58, 237, .2) 1.2px, transparent 1.4px); background-size: 24px 24px; pointer-events: none; }
.section > .container { position: relative; }

/* ==========================================================================
   Cases (esteira)
   ========================================================================== */
.arrows { display: flex; gap: 8px; flex-shrink: 0; }
.arrow { width: 48px; height: 48px; border-radius: 50%; background: var(--white); border: 1px solid rgba(26, 26, 51, .12); font-size: 18px; transition: background .35s var(--ease-soft), color .35s var(--ease-soft), transform .5s var(--ease-out); }
.arrow:hover:not(:disabled) { background: var(--purple); color: var(--white); transform: translateY(-2px); }
.arrow:disabled { opacity: .35; cursor: default; }
.case-dots { display: none; justify-content: center; gap: 8px; }
.case-dots i { width: 8px; height: 8px; border-radius: 999px; background: rgba(124, 58, 237, .2); transition: width .4s var(--ease-out), background .3s var(--ease-soft); }
.case-dots i.is-on { width: 24px; background: var(--purple); }
.carousel { --edge: max(var(--gutter), calc((100vw - var(--container)) / 2)); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge); scrollbar-width: none; padding: 8px 0 32px; cursor: grab; }
.carousel::-webkit-scrollbar { display: none; }
.carousel.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.carousel.is-dragging .case { pointer-events: none; }
.carousel__track { display: flex; gap: 24px; width: max-content; padding: 0 var(--edge); }
.case { flex: 0 0 min(520px, 82vw); scroll-snap-align: start; display: flex; flex-direction: column; gap: 20px; padding: 16px 16px 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); text-align: left; transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out); }
.case:hover { transform: translateY(-6px); box-shadow: 0 16px 36px rgba(77, 51, 153, .12); }
.case__cover { position: relative; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: linear-gradient(135deg, #FAFAFF, var(--lav) 50%, #F0F4C3); }
.case__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.case:hover .case__cover img { transform: scale(1.04); }
.case__hover { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 32px; text-align: center; background: rgba(124, 58, 237, .92); color: var(--white); opacity: 0; transform: translateY(20px); transition: opacity .5s var(--ease-soft), transform .6s var(--ease-out); }
.case__hover p { font-size: clamp(22px, 2.4vw, 32px); font-weight: 700; line-height: 1.2; }
.case__hover span { color: var(--lime); font-weight: 500; }
.case:hover .case__hover, .case:focus-visible .case__hover { opacity: 1; transform: none; }
.case__placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.case__placeholder strong { font-size: 40px; color: var(--purple); }
.case__placeholder span { font-size: 16px; }
.case__body { display: flex; flex-direction: column; gap: 12px; padding: 0 8px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.case__title { font-size: 22px; font-weight: 600; line-height: 1.3; }
.case__desc { font-size: 15px; line-height: 1.55; color: var(--gray); }
.case__body { flex: 1; }
.case__cta { margin-top: auto; padding-top: 4px; font-size: 15px; font-weight: 600; color: var(--purple); }
.case__cta.is-muted { color: var(--gray); }
.case--soon { cursor: default; }
/* desktop: esteira presa na largura do conteúdo; com até 3 cases, cabem todos lado a lado */
@media (min-width: 1025px) {
  .carousel { --edge: var(--gutter); max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; }
  .case { flex-basis: calc((min(100vw, var(--container) + 2 * var(--gutter)) - 2 * var(--gutter) - 48px) / 3); }
  .case .tags { min-height: 64px; align-content: flex-start; }
  .case__title { font-size: 21px; }
}
.arrows.is-hidden { visibility: hidden; }
/* case bloqueado: a capa aparece bem clarinha, com o aviso por cima */
.case--soon .case__cover img { opacity: .22; filter: saturate(.6); }
.case--soon .case__placeholder { background: radial-gradient(closest-side, rgba(250, 250, 255, .85), rgba(250, 250, 255, 0)); }
.case--soon .case__placeholder span { color: var(--ink); }
.case--soon:hover .case__cover img { transform: none; opacity: .3; }

/* ==========================================================================
   Design gráfico (bento)
   ========================================================================== */
.pen { position: absolute; top: 36px; right: max(24px, calc((100vw - var(--container)) / 2 - 40px)); width: 540px; height: 200px; overflow: visible; pointer-events: none; }
.pen path, .pen line { fill: none; stroke: rgba(255, 255, 255, .55); stroke-width: 2; }
.pen line { stroke-width: 1; stroke: rgba(255, 255, 255, .5); }
.pen circle, .pen rect { fill: var(--white); }
.pen rect { stroke: var(--white); }
.pen .pen__active { fill: var(--lime); }
.pen__curve { stroke-dasharray: 700; stroke-dashoffset: 700; animation: draw 2.4s var(--ease) .4s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.pen-tag { position: absolute; top: 80px; right: max(170px, calc((100vw - var(--container)) / 2 + 130px)); display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 6px; background: rgba(255, 255, 255, .16); color: var(--white); font-size: 12px; font-weight: 500; pointer-events: none; }
.pen-tag svg { width: 14px; height: 14px; fill: var(--white); }

.bento { display: flex; flex-direction: column; gap: 24px; }
.bento__top { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.bento__col { display: grid; grid-template-rows: 1fr 1fr; gap: 24px; }
.bento__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.work { position: relative; display: block; overflow: hidden; border-radius: var(--radius); background: var(--lav); text-align: left; color: var(--white); isolation: isolate; }
.work--big { height: 560px; }
.work--mid { height: 100%; min-height: 268px; }
.work--small { aspect-ratio: 1 / 1; }
.work img, .work .img-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.work:hover img { transform: scale(1.05); }
.work__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26, 26, 31, 0) 35%, rgba(26, 26, 31, .78) 100%); transition: opacity .5s var(--ease-soft); }
.work__info { position: absolute; left: 24px; right: 150px; bottom: 24px; display: flex; flex-direction: column; gap: 4px; transition: transform .6s var(--ease-out); }
.work__cat { font-size: 13px; font-weight: 500; color: var(--lime); }
.work__name { font-size: 24px; font-weight: 600; line-height: 1.25; }
.work__btn { position: absolute; right: 24px; bottom: 24px; display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 999px; background: var(--white); color: var(--purple); font-size: 13px; font-weight: 600; transition: background .4s var(--ease-soft), color .4s var(--ease-soft), transform .5s var(--ease-out); }
.work:hover .work__btn { background: var(--lime); color: var(--ink); }
/* card pequeno: botão redondo que abre */
.work--mid img { object-position: center bottom; } /* esconde a faixa de texto do topo das pranchas */
.work--small .work__shade { background: linear-gradient(180deg, rgba(26, 26, 31, 0) 25%, rgba(26, 26, 31, .55) 60%, rgba(26, 26, 31, .9) 100%); }
.work--small:hover .work__shade { background: linear-gradient(180deg, rgba(26, 26, 31, .05) 10%, rgba(26, 26, 31, .6) 45%, rgba(26, 26, 31, .92) 100%); }
.work__line { display: block; }
.work--small .work__info { left: 20px; right: 20px; bottom: 20px; gap: 6px; }
.work--small .work__line { white-space: nowrap; }
.work--small .work__name { font-size: 20px; padding-right: 0; }
.work--small .work__btn { right: 20px; bottom: 16px; width: 34px; height: 34px; padding: 0; justify-content: center; font-size: 16px; overflow: hidden; transition: width .55s var(--ease-out), background .4s var(--ease-soft), color .4s var(--ease-soft); }
.work--small .work__label { display: none; white-space: nowrap; font-size: 13px; }
.work--small:hover .work__btn { width: 128px; }
.work--small:hover .work__arrow { display: none; }
.work--small:hover .work__label { display: inline; }
.work--small:hover .work__info { transform: translateY(-46px); }
.work--small:hover .work__name { padding-right: 0; }

.img-fallback { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, #FAFAFF, var(--lav) 50%, #F0F4C3); }

/* ==========================================================================
   Trajetória
   ========================================================================== */
.timeline { position: relative; --count: 10; padding: 56px 0 8px; }
.timeline__line { position: absolute; left: 0; right: 0; top: calc(56px + 170px); height: 4px; }
.timeline__fill { position: absolute; left: 0; top: 0; height: 4px; width: 88%; border-radius: 2px; background: linear-gradient(90deg, rgba(124, 58, 237, .12), rgba(124, 58, 237, .5) 60%, var(--purple)); box-shadow: 0 0 12px rgba(124, 58, 237, .35); transform: scaleX(0); transform-origin: left; transition: transform 1.8s var(--ease); }
.timeline__future { position: absolute; left: 89%; right: 2%; top: 1px; height: 2px; background: repeating-linear-gradient(90deg, rgba(124, 58, 237, .35) 0 5px, transparent 5px 10px); opacity: 0; transition: opacity .6s 1.8s; }
.timeline.is-in .timeline__fill { transform: scaleX(1); }
.timeline.is-in .timeline__future { opacity: 1; }
.timeline__list { position: relative; display: grid; grid-template-columns: repeat(9, 1fr) 1.1fr; height: 400px; }
.tl { position: relative; }
.tl__dot { position: absolute; left: 14px; top: 161px; width: 18px; height: 18px; border-radius: 50%; border: 3px solid var(--white); background: var(--purple); transform: scale(0); transition: transform .45s var(--ease-back); transition-delay: calc(var(--i) * .16s + .2s); }
.tl--edu .tl__dot { background: var(--lime); }
.tl--now .tl__dot { width: 24px; height: 24px; left: 11px; top: 158px; box-shadow: 0 0 0 0 rgba(124, 58, 237, .5); }
.timeline.is-in .tl__dot { transform: scale(1); }
.timeline.is-in .tl--now .tl__dot { animation: halo 2.2s 2s infinite; }
@keyframes halo { 0% { box-shadow: 0 0 0 0 rgba(124, 58, 237, .5); } 80%, 100% { box-shadow: 0 0 0 14px rgba(124, 58, 237, 0); } }
.tl__stem { position: absolute; left: 22px; width: 1px; height: 36px; background: rgba(124, 58, 237, .3); opacity: 0; transition: opacity .4s var(--ease); transition-delay: calc(var(--i) * .16s + .25s); }
.timeline.is-in .tl__stem { opacity: 1; }
.tl--exp .tl__stem { top: 116px; }
.tl--edu .tl__stem { top: 188px; }
.tl__box { position: absolute; left: 18px; width: 112px; display: flex; flex-direction: column; gap: 4px; opacity: 0; transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: calc(var(--i) * .16s + .3s); }
.tl--exp .tl__box { bottom: calc(400px - 108px); transform: translateY(10px); }
.tl--edu .tl__box { top: 232px; transform: translateY(-10px); }
.timeline.is-in .tl__box { opacity: 1; transform: none; }
.tl__date { font-size: 11px; text-transform: uppercase; letter-spacing: .3px; white-space: nowrap; color: var(--purple); }
.tl--edu .tl__date { color: var(--olive); }
.tl__title { font-size: 15px; font-weight: 600; line-height: 1.25; }
.tl__sub { font-size: 12px; line-height: 1.4; color: var(--gray); }
.timeline__badge { position: absolute; top: 0; left: calc(7 / 10.1 * 100% + 23px); transform: translateX(-50%); padding: 6px 12px; border-radius: 999px; background: var(--purple); color: var(--white); font-size: 12px; font-weight: 600; opacity: 0; transition: opacity .5s 1.4s; white-space: nowrap; }
.timeline.is-in .timeline__badge { opacity: 1; }
/* chave ligando o selo aos 3 cargos da Aposta Premia */
.timeline__group { position: absolute; top: 40px; left: calc(6 / 10.1 * 100% + 23px); width: calc(2 / 10.1 * 100%); height: 12px; border: 1.5px solid rgba(124, 58, 237, .35); border-bottom: 0; border-radius: 8px 8px 0 0; opacity: 0; transition: opacity .5s 1.4s; }
.timeline__group::before { content: ''; position: absolute; left: 50%; top: -12px; width: 1.5px; height: 11px; background: rgba(124, 58, 237, .35); }
.timeline.is-in .timeline__group { opacity: 1; }
.tl-badge { display: none; }
.timeline__next { position: absolute; right: 0; top: calc(56px + 158px); display: flex; flex-direction: column; align-items: flex-end; opacity: 0; transition: opacity .6s 2.2s; }
.timeline.is-in .timeline__next { opacity: 1; }
.timeline__nextdot { width: 22px; height: 22px; border-radius: 50%; border: 2px dashed var(--purple); background: var(--white); }
.timeline__next p { margin-top: 18px; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.timeline__next small { font-size: 12px; text-transform: uppercase; letter-spacing: .4px; }
.timeline__next strong { font-size: 16px; color: var(--pink); }
.cursor--static { position: absolute; right: -46px; top: -8px; transform: translateX(40px); opacity: 0; transition: transform 1s var(--ease) 2.6s, opacity .4s 2.6s; }
.timeline.is-in .cursor--static { transform: none; opacity: 1; }
.legend { display: flex; gap: 24px; margin-top: 24px; font-size: 13px; font-weight: 500; }
.legend > span { display: inline-flex; align-items: center; gap: 8px; }
.dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.dot--purple { background: var(--purple); } .dot--lime { background: var(--lime); }

/* ==========================================================================
   Skills
   ========================================================================== */
.panel { position: relative; background: var(--white); border: 1px solid rgba(26, 26, 51, .1); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.panel__top { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; background: var(--card); border-bottom: 1px solid var(--line); font-size: 13px; color: var(--gray); }
.panel__top b { color: var(--ink); font-weight: 600; }
.dots3 { width: 36px; height: 8px; background: radial-gradient(circle, rgba(26, 26, 51, .15) 4px, transparent 4.5px) 0 0 / 12px 8px repeat-x; }
.groups { padding: 24px 24px 28px; }
.groups__stack { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.group-tabs { display: none; }
.group__title { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 14px; font-weight: 600; }
.group__title i { width: 10px; height: 10px; border-radius: 50%; }
.group__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.skill { padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 500; transition: transform .5s var(--ease-out); }
.skill:hover { transform: translateY(-2px); }
.group--purple i { background: var(--purple); } .group--purple .skill { background: var(--lav); color: var(--purple); }
.group--olive i { background: var(--olive); } .group--olive .skill { background: var(--lime-soft); color: var(--olive); }
.group--orange i { background: var(--orange-ink); } .group--orange .skill { background: var(--orange-soft); color: var(--orange-ink); }
.group--pink i { background: var(--pink-ink); } .group--pink .skill { background: var(--pink-soft); color: var(--pink-ink); }
.panels { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.vars__head { display: flex; justify-content: space-between; padding: 12px 20px; font-size: 12px; color: var(--gray); font-weight: 500; }
.vars__row { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-top: 1px solid rgba(26, 26, 51, .06); }
.vars__name { flex: 1; font-size: 16px; font-weight: 500; }
.sq { width: 28px; height: 28px; border-radius: 7px; display: grid; place-items: center; font-size: 14px; }
.sq--lav { background: var(--lav); } .sq--lime { background: var(--lime-soft); }
.vars__tip { padding: 16px 20px 20px; font-size: 13px; line-height: 1.5; color: var(--gray); }
.tools { display: grid; grid-template-columns: 1fr 1fr; padding: 8px; }
.tool { display: flex; align-items: center; gap: 12px; padding: 9px 12px; }
.tool__icon { width: 28px; height: 28px; border-radius: 7px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(26, 26, 51, .08); flex-shrink: 0; }
.tool__icon { position: relative; }
.tool__icon::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(26, 26, 51, .1); pointer-events: none; }
.tool__icon img { width: 100%; height: 100%; object-fit: cover; }
.tool__letter { display: grid; place-items: center; width: 100%; height: 100%; background: var(--lav); color: var(--purple); font-size: 11px; font-weight: 600; }
.tool__name { flex: 1; font-size: 15px; font-weight: 500; }
.tool__short { display: none; }
@keyframes tabIn { from { opacity: 0; transform: translateY(6px); } }
.toggle { position: relative; width: 30px; height: 18px; border-radius: 9px; background: rgba(26, 26, 51, .18); transition: background .4s var(--ease-soft); flex-shrink: 0; }
.toggle::after { content: ''; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--white); transition: transform .45s var(--ease-back); }
.toggle.is-on { background: var(--purple); }
.toggle.is-on::after { transform: translateX(12px); }

/* ==========================================================================
   Contato
   ========================================================================== */
.contact { position: relative; display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: center; padding: 64px; border-radius: 32px; color: var(--white); background: linear-gradient(120deg, var(--purple-dark) 0%, var(--purple) 50%, var(--purple-light) 100%); }
.contact__text { display: flex; flex-direction: column; gap: 20px; }
.contact__title { font-size: clamp(44px, 6vw, 80px); line-height: 1; font-weight: 700; letter-spacing: -2px; }
.contact__sub { max-width: 560px; font-size: 18px; line-height: 1.5; color: rgba(255, 255, 255, .92); }
.contact__btns { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.icon-btn { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; transition: transform .55s var(--ease-back); overflow: hidden; }
.icon-btn:hover { transform: translateY(-3px) rotate(-6deg); }
.icon-btn { background: rgba(255,255,255,.16); }
.icon-btn img { width: 100%; height: 100%; object-fit: contain; color: transparent; }
.contact__info { font-size: 14px; color: rgba(255, 255, 255, .8); }

.comment { position: relative; justify-self: end; }
.comment__card { width: 340px; padding: 16px 18px; border-radius: 16px; background: var(--white); color: var(--ink); box-shadow: 0 16px 40px rgba(51, 13, 128, .25); transform: translateY(12px) scale(.96); opacity: 0; transition: transform .6s var(--ease-back) .3s, opacity .4s .3s; }
.contact.is-in .comment__card { transform: none; opacity: 1; }
.comment__msg { display: flex; gap: 10px; }
.comment__who { font-size: 13px; }
.comment__who span { margin-left: 6px; color: var(--gray); font-size: 12px; }
.comment__txt { margin-top: 4px; font-size: 14px; line-height: 1.45; }
.comment__reply { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(26, 26, 31, .06); }
.comment__typing { font-size: 12px; font-weight: 500; color: var(--gray); }
.avatar { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 600; color: var(--white); flex-shrink: 0; }
.avatar--orange { background: var(--orange); } .avatar--pink { background: var(--pink); }
.typing { display: inline-flex; gap: 4px; padding: 8px 10px; border-radius: 999px; background: var(--lav); }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--purple); animation: typing 1.2s infinite ease-in-out; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .35; } 30% { transform: translateY(-4px); opacity: 1; } }
.comment__pin { position: absolute; left: -18px; bottom: -18px; width: 36px; height: 36px; border-radius: 18px 18px 18px 2px; background: var(--orange); border: 3px solid var(--white); transform: scale(0); transition: transform .4s var(--ease-back) .8s; }
.contact.is-in .comment__pin { transform: scale(1); }
.cursor--arrive { left: -26px; bottom: -84px; transform: translate(-80px, 60px); opacity: 0; transition: transform 1.2s var(--ease) 1s, opacity .4s 1s; }
.contact.is-in .cursor--arrive { transform: none; opacity: 1; }

/* ---------- Footer & toast ---------- */
.footer { padding: 32px 0 48px; font-size: 13px; color: var(--gray); }
.footer__inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer__top { font-weight: 600; color: var(--purple); }
.toast { position: fixed; left: 50%; bottom: 32px; z-index: 60; transform: translate(-50%, 20px); opacity: 0; padding: 12px 20px; border-radius: 999px; background: var(--ink); color: var(--white); font-size: 14px; font-weight: 500; pointer-events: none; transition: opacity .3s, transform .3s var(--ease-back); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ==========================================================================
   Responsivo
   ========================================================================== */
@media (max-width: 1180px) {
  .nav { gap: 20px; }
  .brand .pill { display: none; }
  .pen, .pen-tag { display: none; }
}

@media (max-width: 1024px) {
  :root { --header-h: 68px; }
  .menu-btn { display: block; }
  .nav { position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px var(--gutter) 20px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(26, 26, 51, .06); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: transform .3s var(--ease), opacity .25s; }
  .menu-open .nav { transform: none; opacity: 1; pointer-events: auto; }
  .nav__link { padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  .nav__link::after { display: none; }
  .header .btn--sm { display: none; }
  .hero { grid-template-columns: 1fr; padding: 40px 32px 56px; }
  .hero__dots { width: 100%; top: auto; height: 60%; -webkit-mask-image: linear-gradient(transparent, #000 40%); mask-image: linear-gradient(transparent, #000 40%); }
  .photo { justify-self: center; }
  .bento__top { grid-template-columns: 1fr; }
  .work--big { height: 440px; }
  .bento__row { grid-template-columns: 1fr 1fr; }
  .groups__stack { grid-template-columns: 1fr 1fr; }
  .panels { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; padding: 48px 32px 96px; }
  .comment { justify-self: start; margin-left: 24px; }

  /* trajetória vertical */
  .timeline { padding: 8px 0 0; }
  .timeline__line { left: 22px; right: auto; top: 0; bottom: 120px; width: 4px; height: auto; }
  .timeline__fill { width: 4px; height: 100%; background: linear-gradient(180deg, rgba(124, 58, 237, .12), var(--purple)); transform: scaleY(0); transform-origin: top; }
  .timeline.is-in .timeline__fill { transform: scaleY(1); }
  .timeline__future { display: none; }
  .timeline__badge, .timeline__group { display: none; }
  .tl-badge { display: block; margin: 6px 0 0 56px; }
  .tl-badge span { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--purple); color: var(--white); font-size: 12px; font-weight: 600; }
  .timeline__list { display: flex; flex-direction: column; gap: 22px; height: auto; }
  /* celular compacto: título e data na mesma linha, local embaixo */
  .tl { min-height: 0 !important; }
  .tl__box, .tl--exp .tl__box, .tl--edu .tl__box { display: grid !important; grid-template-columns: 1fr auto; column-gap: 12px; row-gap: 1px; align-items: baseline; flex: 1; min-width: 0; }
  .tl__title { grid-column: 1; grid-row: 1; font-size: 15px; }
  .tl__date, .tl--edu .tl__date { grid-column: 2; grid-row: 1; font-size: 10.5px; text-align: right; color: #9A9AAB; }
  .tl__sub { grid-column: 1 / -1; grid-row: 2; }
  .tl { display: flex; min-height: 56px; }
  .tl__dot, .tl--now .tl__dot { top: 2px; left: 14px; }
  .tl--now .tl__dot { left: 11px; }
  .tl__stem { display: none; }
  .tl__box, .tl--exp .tl__box, .tl--edu .tl__box { position: static; width: auto; margin-left: 56px; transform: translateX(10px); }
  .timeline__next { position: relative; top: auto; right: auto; align-items: flex-start; flex-direction: row; gap: 18px; margin-top: 28px; padding-left: 12px; }
  .timeline__next p { margin-top: 0; align-items: flex-start; }
  .cursor--static { right: auto; left: 150px; top: 20px; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .section { padding: 72px 0; }
  .section__head--row { flex-direction: column; align-items: flex-start; }
  .brand__name { font-size: 16px; }
  .lang__opt { padding: 6px 10px; font-size: 12px; }
  .hero { padding: 32px 20px 56px; border-radius: 24px; }
  .hero-wrap { padding-left: var(--gutter); padding-right: var(--gutter); }
  .hero__role { font-size: 18px; }
  .photo { width: 240px; height: 240px; margin: 48px auto 40px; }
  .photo .cursor--you { left: -24px; }
  .photo .cursor--gi { right: -8px; }
  .marquee__set { gap: 36px; padding-right: 36px; height: 40px; }
  .marquee { --ls: .8; margin-top: 12px; }
  .brands { padding: 18px 0 16px; }
  .brands__label { font-size: 11px; }
  .work--big { height: 210px; }
  .work--mid { height: 210px; min-height: 0; }
  .work--small .work__line { white-space: normal; }
  .work__name { font-size: 18px; }
  .work:not(.work--small) .work__info { left: 18px; bottom: 60px; }
  .work:not(.work--small) .work__btn { height: 34px; right: 16px; bottom: 16px; }
  .bento, .bento__top, .bento__col { gap: 16px; }
  .bento__row { grid-template-columns: 1fr 1fr; gap: 12px; }
  .work__info { right: 24px; bottom: 76px; }
  /* celular: projetos pequenos em grade 2x2, só com o nome e a setinha */
  .work--small { aspect-ratio: 4 / 5; border-radius: 14px; }
  .work--small .work__info { left: 14px; right: 14px; bottom: 58px; }
  .work--small .work__cat { display: none; }
  .work--small .work__name { font-size: 15px; line-height: 1.3; padding-right: 0; }
  .work--small .work__btn { left: 14px; right: auto; bottom: 14px; width: 32px; height: 32px; font-size: 14px; }
  .work--small:hover .work__btn { width: 32px; }
  .work--small:hover .work__arrow { display: inline; }
  .work--small:hover .work__label { display: none; }
  .work--small:hover .work__info { transform: none; }
  /* competências em abas: um grupo por vez, o painel acompanha o tamanho do grupo aberto */
  .groups { padding: 16px 16px 20px; }
  .group-tabs { display: flex; gap: 2px; margin-bottom: 16px; padding: 3px; border-radius: 12px; background: rgba(26, 26, 51, .05); }
  .group-tab { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 5px; padding: 8px 2px; border-radius: 9px; font-size: 12.5px; font-weight: 500; color: var(--gray); white-space: nowrap; transition: background .3s var(--ease-soft), color .3s var(--ease-soft), box-shadow .3s var(--ease-soft); }
  .group-tab i { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
  .group-tab.is-active { background: var(--white); color: var(--ink); font-weight: 600; box-shadow: 0 1px 3px rgba(26, 26, 51, .12); }
  .groups__stack { grid-template-columns: 1fr; }
  .groups__stack .group { display: none; }
  .groups__stack .group.is-active { display: block; animation: tabIn .4s var(--ease-out); }
  .groups__stack .group__title { font-size: 13px; color: var(--gray); font-weight: 500; }
  .groups__stack .group__title i { display: none; }
  /* idiomas mais discretos */
  .vars__name { font-size: 14px; }
  .vars__row { padding: 12px 20px; }
  /* ferramentas em 2 colunas */
  .tool__full { display: none; }
  .tool__short { display: inline; }
  .tools { grid-template-columns: 1fr 1fr; padding: 6px 4px; }
  .tool { gap: 8px; padding: 8px 8px; }
  .tool__icon { width: 24px; height: 24px; border-radius: 6px; }
  .tool__name { font-size: 14px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .toggle { width: 26px; height: 16px; }
  .toggle::after { width: 12px; height: 12px; }
  .toggle.is-on::after { transform: translateX(10px); }
  .contact { padding: 40px 20px 84px; border-radius: 24px; gap: 32px; }
  /* botões: CV + LinkedIn + Behance numa linha, e-mail inteiro embaixo */
  .contact__btns { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; }
  .contact__btns .btn--lime { justify-content: center; }
  .contact__btns .copy-slot { grid-column: 1 / -1; order: -1; }
  .quote { flex-direction: column; align-items: stretch; text-align: center; gap: 14px; margin-top: 20px; padding: 20px; }
  .quote__text { font-size: 16px; text-wrap: balance; }
  .contact__btns .js-copy { justify-content: center; font-size: 14px; width: 100%; }
  .contact__btns .icon-btn { width: 46px; height: 46px; }
  .contact__info { font-size: 13px; text-wrap: balance; }
  .comment { justify-self: center; margin-left: 12px; }
  .comment__card { width: min(300px, 78vw); }
  .footer__inner { flex-direction: column; align-items: center; text-align: center; gap: 10px; text-wrap: balance; }
}

@media (prefers-reduced-motion: reduce) {
  /* movimento contínuo e grandes deslocamentos param; transições curtas de hover continuam */
  html { scroll-behavior: auto; }
  .status i, .timeline.is-in .tl--now .tl__dot { animation: none !important; }
  .marquee__track { animation-duration: 90s; }
  .pen__curve { animation: none; stroke-dashoffset: 0; }
  .reveal.is-pending { transform: none; }
  .hero__text > * { animation: none !important; }
}

/* ---------- Entrada suave ---------- */
.reveal { transition: opacity .9s var(--ease-soft), transform 1s var(--ease-out); transition-delay: var(--d, 0s); }
.reveal.is-pending { opacity: 0; transform: translateY(28px); }
.hero__text > * { animation: heroIn .9s var(--ease-out) both; }
.hero__text > *:nth-child(2) { animation-delay: .08s; } .hero__text > *:nth-child(3) { animation-delay: .16s; }
.hero__text > *:nth-child(4) { animation-delay: .24s; } .hero__text > *:nth-child(5) { animation-delay: .32s; }
.hero__text > *:nth-child(6) { animation-delay: .4s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(18px); } }

/* ---------- Cursor "Você" estilo Figma ---------- */
.fx-on, .fx-on * { cursor: none !important; }
.fx-cursor { position: fixed; left: 0; top: 0; z-index: 9999; pointer-events: none; display: flex; align-items: flex-start; opacity: 0; transition: opacity .3s var(--ease-soft); will-change: transform; }
.fx-cursor.is-visible { opacity: 1; }
.fx-cursor svg { width: 18px; height: 26px; fill: var(--orange); stroke: var(--white); stroke-width: 1.6; stroke-linejoin: round; filter: drop-shadow(0 2px 3px rgba(26, 26, 31, .25)); transition: transform .35s var(--ease-back); transform-origin: 0 0; }
.fx-cursor b { margin: 20px 0 0 -2px; padding: 4px 11px; border-radius: 999px; background: var(--orange); color: var(--white); font-size: 13px; font-weight: 600; white-space: nowrap; box-shadow: 0 4px 10px rgba(242, 120, 37, .3); transition: transform .35s var(--ease-back), background .3s var(--ease-soft); transform-origin: 0 0; }
.fx-cursor.is-link svg { transform: scale(1.12); }
.fx-cursor.is-link b { transform: scale(1.06); }
.fx-cursor.is-down svg, .fx-cursor.is-down b { transform: scale(.92); }
/* com o cursor real do visitante na tela, o "Você" decorativo sai de cena */
.fx-on .photo .cursor--you, .fx-on .cursor--arrive { display: none; }

/* ---------- Botões: preenchimento do CV e clique do "Ver cases" ---------- */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.js-cv { --fill: #B4BC12; }
.js-cv.btn--outline { --fill: var(--lime); }
.js-cv.btn--lime.btn--sm { --fill: var(--lime); }
.js-cv::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--fill); transform: scaleX(0); transform-origin: left center; transition: transform .6s var(--ease-out); }
.js-cv:hover::before { transform: scaleX(1); }
.js-cv.btn--outline:hover { border-color: var(--lime); }
.btn--purple:hover { background: #6D2FE0; }
.btn--purple:active { background: #5520BF; box-shadow: 0 4px 10px rgba(124, 58, 237, .25); }

/* ---------- Hero no celular: título, texto, foto com pills por cima, botões ---------- */
@media (max-width: 1024px) {
  .hero { display: flex; flex-direction: column; align-items: stretch; gap: 16px; }
  .hero__text { display: contents; }
  .status { order: 1; }
  .hero__title { order: 2; }
  .hero__role { order: 3; }
  .hero__bio { order: 4; }
  .photo { order: 5; align-self: center; margin: 24px auto 0; }
  .photo__badge { display: none; }
  .chips { order: 6; justify-content: center; margin-top: 8px; }
  .chip:nth-child(1) { order: 1; } .chip:nth-child(3) { order: 2; } .chip:nth-child(2) { order: 3; }
  .hero__ctas { order: 7; margin-top: 12px; }
}
@media (max-width: 640px) {
  .hero__ctas .btn { flex: 1 1 auto; }
}

/* ---------- Foto: o frame é "desenhado" como no Figma ---------- */
.photo { --ps: 320px; }
.photo__frame { outline: none; box-shadow: inset 0 0 0 2px var(--purple); animation: frameDraw 1.2s var(--ease-soft) .35s both; }
.photo__frame img { animation: photoFade .8s var(--ease-soft) 1.25s both; }
.photo__frame::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 2px var(--purple); pointer-events: none; }
.photo__frame { position: relative; }
.h-tr { animation: handleX 1.2s var(--ease-soft) .35s both; }
.h-bl { animation: handleY 1.2s var(--ease-soft) .35s both; }
.h-br { animation: handleXY 1.2s var(--ease-soft) .35s both; }
.h-tl { animation: fadeIn .2s linear .35s both; }
.photo__badge { animation: badgeIn .5s var(--ease-back) 1.55s both; }
.photo .photo__drawer { position: absolute; left: -2px; top: -2px; right: auto; animation: drawerMove 1.2s var(--ease-soft) .35s both, drawerOut .4s var(--ease-soft) 1.7s forwards; }
.photo .cursor--gi.cursor--float-a { animation: fadeIn .4s var(--ease-soft) 1.9s both, floatA 5s ease-in-out 2.3s infinite; }
@keyframes frameDraw { from { clip-path: inset(0 100% 100% 0 round 28px); } to { clip-path: inset(0 0 0 0 round 28px); } }
@keyframes photoFade { from { opacity: 0; transform: scale(1.06); } }
@keyframes handleX { from { transform: translateX(calc(-1 * var(--ps))); } }
@keyframes handleY { from { transform: translateY(calc(-1 * var(--ps))); } }
@keyframes handleXY { from { transform: translate(calc(-1 * var(--ps)), calc(-1 * var(--ps))); } }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes badgeIn { from { opacity: 0; transform: translate(-50%, 8px) scale(.9); } }
@keyframes drawerMove { from { transform: translate(0, 0); } to { transform: translate(var(--ps), var(--ps)); } }
@keyframes drawerOut { to { opacity: 0; } }

/* ---------- Celular: tipografia e respiro entre seções ---------- */
@media (max-width: 640px) {
  .photo { --ps: 240px; }
  .hero__title { font-size: 40px; }
  .hero__role { font-size: 16px; }
  .hero__bio { font-size: 15px; }
  .hero { gap: 14px; padding-bottom: 40px; }
  .hero-wrap { padding-bottom: 32px; }
  .section { padding: 56px 0; }
  .section__head { margin-bottom: 28px; }
  .section__title { font-size: 30px; }
  .section__sub { font-size: 15px; }
  .case__title { font-size: 19px; }
  .case__desc { font-size: 14px; }
  .work__name { font-size: 20px; }
  .contact__title { font-size: 40px; }
  .contact__sub { font-size: 16px; }
  .btn { padding: 12px 22px; font-size: 15px; }
  .carousel { padding-bottom: 20px; }
  .section#cases .arrows { display: none; }
  .case-dots { display: flex; }
  /* cards mais baixos e sempre do mesmo tamanho, pra esteira + bolinhas caberem na tela */
  .case { flex: 0 0 80vw; width: 80vw; min-width: 0; gap: 14px; padding: 12px 12px 18px; }
  .case .tags .pill:nth-child(3) { display: none; } /* no celular: área + 1 skill, pra caber numa linha */
  .case__cover { aspect-ratio: 16 / 10; }
  .case__body { gap: 8px; padding: 0 6px; }
  .case .tags { flex-wrap: nowrap; gap: 6px; overflow: hidden; }
  .case .pill { font-size: 11px; padding: 5px 10px; white-space: nowrap; }
  .case__desc { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .case__placeholder strong { font-size: 30px; }
  .case__placeholder span { font-size: 14px; }
  .legend { margin-top: 40px; }
  .footer { padding: 24px 0 32px; }
}
