/* ==========================================================
   Gabriela Ramos — portfólio
   Colagem em rosa: papel amassado, rasgos, adesivos e polaroids
   ========================================================== */

:root {
  --pink: #C92A66;
  --pink-deep: #A81E52;
  --berry: #7A1240;
  --night: #2A0A18;
  --cream: #FCEFE7;
  --paper-white: #FFF9F4;
  --ink: #140A0E;
  --lilac: #C9C2FF;
  --lilac-deep: #8F84F0;
  --text-on-pink: #FFF4F7;
  --muted-on-pink: #FFD9E5;

  --display: "Bowlby One", "Arial Black", Impact, sans-serif;
  --hand: "Patrick Hand SC", "Comic Sans MS", cursive;
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease: cubic-bezier(.2, .7, .1, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);

  /* texturas geradas por SVG */
  --crumple: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='700' height='700'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.006 .011' numOctaves='5' seed='11' stitchTiles='stitch'/%3E%3CfeDiffuseLighting lighting-color='%23fff' surfaceScale='4'%3E%3CfeDistantLight azimuth='225' elevation='48'/%3E%3C/feDiffuseLighting%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E");
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --dashes: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='150'%3E%3Cg fill='%237A1240' transform='rotate(-28 75 75)'%3E%3Cellipse cx='10' cy='18' rx='28' ry='7'/%3E%3Cellipse cx='92' cy='8' rx='30' ry='7'/%3E%3Cellipse cx='52' cy='52' rx='30' ry='8'/%3E%3Cellipse cx='132' cy='56' rx='26' ry='7'/%3E%3Cellipse cx='14' cy='96' rx='30' ry='7'/%3E%3Cellipse cx='92' cy='104' rx='28' ry='8'/%3E%3Cellipse cx='150' cy='134' rx='26' ry='7'/%3E%3Cellipse cx='40' cy='150' rx='28' ry='7'/%3E%3C/g%3E%3Cg fill='%23C9C2FF'%3E%3Ccircle cx='44' cy='30' r='2.2'/%3E%3Ccircle cx='118' cy='86' r='2.2'/%3E%3Ccircle cx='64' cy='128' r='2'/%3E%3Ccircle cx='130' cy='22' r='1.7'/%3E%3Ccircle cx='18' cy='70' r='1.7'/%3E%3C/g%3E%3C/svg%3E");
  --dashes-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='150'%3E%3Cg fill='%23C92A66' transform='rotate(-28 75 75)'%3E%3Cellipse cx='10' cy='18' rx='28' ry='7'/%3E%3Cellipse cx='92' cy='8' rx='30' ry='7'/%3E%3Cellipse cx='52' cy='52' rx='30' ry='8'/%3E%3Cellipse cx='132' cy='56' rx='26' ry='7'/%3E%3Cellipse cx='14' cy='96' rx='30' ry='7'/%3E%3Cellipse cx='92' cy='104' rx='28' ry='8'/%3E%3Cellipse cx='150' cy='134' rx='26' ry='7'/%3E%3Cellipse cx='40' cy='150' rx='28' ry='7'/%3E%3C/g%3E%3Cg fill='%23FCEFE7'%3E%3Ccircle cx='44' cy='30' r='2.2'/%3E%3Ccircle cx='118' cy='86' r='2.2'/%3E%3Ccircle cx='64' cy='128' r='2'/%3E%3C/g%3E%3C/svg%3E");
  --tear: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='28' preserveAspectRatio='none'%3E%3Cpath d='M0 28V14l9-6 7 7 11-9 6 5 10-8 8 10 7-4 12 6 9-9 8 4 6-6 11 8 8-3 9 7 6-9 10 5 7-8 9 9 12-6 6 4 9-8 8 6 10-5 7 7 11-6 4 3L240 14V28Z' fill='%23000'/%3E%3C/svg%3E");

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--pink);
  color: var(--text-on-pink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
strong { font-weight: 700; }
::selection { background: var(--lilac); color: var(--ink); }
:focus-visible { outline: 3px solid var(--lilac); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .container { padding: 0 32px; } }
.hand { font-family: var(--hand); letter-spacing: .04em; }

/* ---------- papel amassado ---------- */
.paper { --bg: var(--pink); position: relative; background-color: var(--bg); isolation: isolate; }
.paper::before, .paper::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: -1; }
.paper::before { background-image: var(--crumple); background-size: 700px; mix-blend-mode: soft-light; opacity: .75; }
.paper::after { background-image: var(--grain); background-size: 200px; opacity: .14; mix-blend-mode: multiply; }
.paper--deep { --bg: var(--pink-deep); }
.paper--cream { --bg: var(--cream); color: var(--ink); }
.paper--cream::before { opacity: .55; mix-blend-mode: multiply; filter: contrast(.6) brightness(1.18); }
.paper--night { --bg: var(--night); }
.paper--night::before { opacity: .35; }

/* rasgo no topo das seções */
.tear--top {
  position: absolute; left: 0; right: 0; top: 1px; height: 28px; transform: translateY(-100%); z-index: 2;
  background: var(--bg);
  -webkit-mask: var(--tear) repeat-x 0 0 / 240px 28px; mask: var(--tear) repeat-x 0 0 / 240px 28px;
}
.tear--top:nth-child(1) { -webkit-mask-position: 37px 0; mask-position: 37px 0; }

/* padrão de traços */
.pattern { position: absolute; pointer-events: none; z-index: -1; background-image: var(--dashes); background-size: 150px; }
.pattern--hero {
  top: 0; right: 0; width: 46%; height: 72%; background-color: var(--lilac);
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 76% 92%, 62% 98%, 48% 84%, 30% 88%, 22% 70%, 10% 64%, 14% 44%, 4% 30%, 12% 16%);
}
.pattern--side { left: 0; top: 0; bottom: 0; width: 70px; background-image: var(--dashes-light); opacity: .9; }
.pattern--corner {
  right: 0; top: 0; width: 34%; height: 380px; opacity: .55;
  -webkit-mask: radial-gradient(circle at 100% 0, #000 30%, transparent 70%); mask: radial-gradient(circle at 100% 0, #000 30%, transparent 70%);
}
.pattern--contact {
  left: 0; top: 0; width: 38%; height: 280px; opacity: .8;
  -webkit-mask: radial-gradient(circle at 0 0, #000 30%, transparent 72%); mask: radial-gradient(circle at 0 0, #000 30%, transparent 72%);
}
@media (max-width: 719px) { .pattern--side { width: 26px; } .pattern--hero { width: 62%; height: 300px; } }

.squiggle { position: absolute; pointer-events: none; z-index: -1; fill: none; stroke: var(--berry); stroke-width: 7; stroke-linecap: round; opacity: .55; }
.squiggle--hero { width: 380px; left: -60px; bottom: 6%; transform: rotate(-8deg); }
.squiggle--about { width: 420px; right: -80px; top: 40px; transform: rotate(10deg); }

/* ---------- caixas de título (estilo colagem) ---------- */
.stack-title { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; font-weight: 400; }
.tag-box {
  display: inline-block; font-family: var(--display); text-transform: uppercase; color: var(--ink);
  background: var(--cream); padding: .12em .38em .02em; line-height: 1.05; letter-spacing: -.01em;
  font-size: clamp(2.2rem, 6vw, 4.6rem); transform: rotate(-2deg);
  box-shadow: 0 10px 24px -14px rgba(20, 10, 14, .55);
}
.tag-box--offset { margin-left: .9em; transform: rotate(1.4deg); }
.tag-box--pink { background: var(--pink); color: var(--cream); }
.stack-title--md .tag-box { font-size: clamp(2rem, 4.6vw, 3.4rem); }

.kicker { font-size: 1.35rem; color: var(--muted-on-pink); margin-top: 18px; line-height: 1.3; }
.kicker--ink { color: var(--berry); }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; padding: 14px 0; background: rgba(122, 18, 64, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: padding .3s, background .3s, box-shadow .3s; }
.nav.is-scrolled { padding: 10px 0; background: rgba(122, 18, 64, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 10px 30px -18px rgba(20, 10, 14, .7); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { font-family: var(--display); font-size: 1.35rem; text-decoration: none; color: var(--cream); letter-spacing: -.01em; }
.logo span { color: var(--lilac); }
.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links a { text-decoration: none; padding: 8px 14px; border-radius: 999px; font-weight: 500; color: var(--text-on-pink); transition: background .2s; }
.nav__links a:hover, .nav__links a.is-active { background: rgba(255, 255, 255, .14); }
.nav__links .nav__cta { background: var(--cream); color: var(--ink); font-weight: 700; margin-left: 8px; box-shadow: 3px 3px 0 var(--ink); transition: transform .2s, box-shadow .2s; }
.nav__links .nav__cta:hover { background: var(--lilac); transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 12px; background: var(--cream); flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav__toggle span { width: 20px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
@media (max-width: 859px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: absolute; top: calc(100% + 8px); left: 16px; right: 16px; flex-direction: column; align-items: stretch;
    background: var(--berry); border-radius: 18px; padding: 10px; box-shadow: 0 20px 40px -16px rgba(20,10,14,.8);
    opacity: 0; pointer-events: none; transform: translateY(-8px); transition: opacity .25s, transform .25s;
  }
  .nav__links.is-open { opacity: 1; pointer-events: auto; transform: none; }
  .nav__links a { padding: 12px 16px; }
  .nav__links .nav__cta { margin: 6px 0 0; text-align: center; }
}

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px;
  font-weight: 700; text-decoration: none; border: 2px solid var(--ink);
  transition: transform .25s var(--spring), box-shadow .25s, background .2s, color .2s;
}
.btn--cream { background: var(--cream); color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.btn--cream:hover { background: var(--lilac); transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn--ghost { border-color: var(--cream); color: var(--cream); }
.btn--ghost:hover { background: var(--cream); color: var(--ink); }
.btn--small { padding: 9px 16px; font-size: .9rem; align-self: flex-start; background: var(--ink); color: var(--cream); margin-top: auto; }
.btn--small:hover { background: var(--pink); border-color: var(--pink); transform: translateY(-2px); }

/* ---------- hero ---------- */
.hero { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 110px; overflow: hidden; }
.hero__grid { display: grid; gap: 64px; align-items: center; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .hero__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } }
.hero__hello { font-size: 1.6rem; color: var(--muted-on-pink); margin-bottom: 10px; }
.hero h1 .tag-box { font-size: clamp(3rem, 9vw, 6.4rem); }
.hero h1 .tag-box--offset { background: var(--lilac); }
.hero__role { margin-top: 26px; font-size: clamp(1.3rem, 2.6vw, 1.7rem); color: var(--cream); min-height: 1.5em; }
.hero__chev { color: var(--lilac); }
.caret { color: var(--lilac); animation: blink 1s steps(1) infinite; margin-left: 2px; }
.hero__desc { margin-top: 14px; max-width: 34em; color: var(--muted-on-pink); font-size: 1.05rem; }
.hero__desc strong { color: var(--cream); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero__social { display: flex; gap: 10px; margin-top: 28px; }
.hero__social a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: rgba(255,255,255,.12); border: 1.5px solid rgba(255,255,255,.3); transition: background .2s, transform .25s var(--spring); }
.hero__social a:hover { background: var(--cream); color: var(--ink); transform: translateY(-3px) rotate(-4deg); }
.hero__social svg { width: 19px; height: 19px; }

@media (max-width: 719px) { .hero { min-height: 0; padding-top: 110px; } }

/* polaroid + balões */
.hero__visual { position: relative; justify-self: center; width: min(380px, 82%); margin: 10px 0 40px; }
.polaroid { background: var(--paper-white); padding: 14px 14px 54px; box-shadow: 0 30px 50px -24px rgba(20, 10, 14, .7), 0 2px 0 rgba(0,0,0,.04); position: relative; }
.polaroid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.polaroid figcaption { position: absolute; left: 0; right: 0; bottom: 12px; text-align: center; color: var(--ink); font-size: 1.35rem; }
.polaroid--hero { transform: rotate(3.5deg); animation: settle 1s var(--spring) both; }
.polaroid--hero::before {
  content: ""; position: absolute; top: -16px; left: 50%; width: 120px; height: 32px; transform: translateX(-50%) rotate(-4deg);
  background: rgba(201, 194, 255, .75); box-shadow: 0 2px 6px rgba(0,0,0,.08); z-index: 1;
}

.float-card {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 13px 18px 13px 13px;
  background: rgba(24, 12, 20, .84); color: #fff; border: 1px solid rgba(255, 255, 255, .14); border-radius: 16px;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .6);
  animation: float 6s ease-in-out infinite;
}
.float-card__icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 11px; background: rgba(255, 255, 255, .1); font-size: 1.15rem; flex: none; }
.float-card strong { display: block; font-size: .95rem; line-height: 1.3; }
.float-card small { display: block; font-size: .8rem; color: rgba(255, 255, 255, .65); }
.float-card--1 { top: 9%; right: -22%; }
.float-card--2 { bottom: 22%; left: -24%; animation-delay: -3s; }
@media (max-width: 560px) {
  .float-card { padding: 9px 12px 9px 9px; gap: 9px; border-radius: 13px; }
  .float-card__icon { width: 32px; height: 32px; font-size: .95rem; }
  .float-card strong { font-size: .82rem; }
  .float-card small { font-size: .7rem; }
  .float-card--1 { right: -12%; top: 5%; }
  .float-card--2 { left: -12%; bottom: 20%; }
  .blob--hero { right: -10%; bottom: -46px; font-size: 1.15rem; padding: 16px 18px; }
}

.blob {
  position: absolute; z-index: 4; display: grid; place-items: center; text-align: center; color: var(--ink);
  background: var(--lilac); line-height: 1.05; padding: 22px 26px;
  border-radius: 58% 42% 55% 45% / 48% 58% 42% 52%;
  box-shadow: 0 10px 24px -12px rgba(20, 10, 14, .6);
}
.blob--hero { right: -8%; bottom: -26px; font-size: 1.45rem; transform: rotate(-9deg); animation: wobble 5s ease-in-out infinite; }
.blob--contact { left: -26px; bottom: -18px; font-size: 1.3rem; transform: rotate(-7deg); }

/* ---------- sumário ---------- */
.contents { padding: 90px 0; }
.contents__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 860px) { .contents__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 80px; } }
.contents__head { position: relative; }
.donut {
  position: absolute; right: 8%; top: -36px; width: 96px; height: 96px; border-radius: 50%;
  background: var(--lilac) var(--dashes) center / 70px; -webkit-mask: radial-gradient(circle, transparent 26%, #000 27%); mask: radial-gradient(circle, transparent 26%, #000 27%);
  transform: rotate(-18deg); animation: spin 22s linear infinite;
}
@media (max-width: 859px) { .donut { right: 4%; top: -20px; width: 72px; height: 72px; } }
.contents__list a {
  display: grid; grid-template-columns: 60px 1fr; gap: 16px; padding: 16px 4px; text-decoration: none; font-size: 1.45rem;
  border-bottom: 2px solid rgba(252, 239, 231, .6); transition: padding .3s var(--ease), color .2s;
}
.contents__list li:first-child a { border-top: 2px solid rgba(252, 239, 231, .6); }
.contents__list a:hover { padding-left: 16px; color: var(--lilac); }

/* ---------- seções ---------- */
.section { padding: 120px 0; }
@media (max-width: 719px) { .section { padding: 90px 0; } }
.section__head { margin-bottom: 56px; }

/* sobre */
.about { display: grid; gap: 64px; align-items: center; }
@media (min-width: 960px) { .about { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 80px; } }
.about__text { display: flex; flex-direction: column; gap: 16px; color: var(--muted-on-pink); }
.about__text .stack-title { margin-bottom: 6px; }
.about__text strong, .about__text em { color: var(--cream); }
.about__side { position: relative; }
.cutout { position: relative; width: 190px; height: 190px; margin: 0 0 28px 24px; }
.cutout img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; border-radius: 50%; border: 8px solid var(--cream); box-shadow: 0 16px 30px -16px rgba(20,10,14,.7); filter: saturate(.9) contrast(1.05); }
.spark { position: absolute; right: -44px; top: -16px; width: 60px; fill: none; stroke: var(--cream); stroke-width: 4; stroke-linecap: round; }
.stats li { display: grid; grid-template-columns: 120px 1fr; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 2px solid rgba(252, 239, 231, .55); font-size: 1.2rem; color: var(--muted-on-pink); }
.stats__num { font-size: 2.8rem; line-height: 1; color: var(--cream); }

/* skills */
.skills { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .skills { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .skills { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.note {
  position: relative; background: var(--paper-white); border: 2px solid var(--ink); border-radius: 4px; padding: 30px 24px 24px;
  box-shadow: 6px 6px 0 var(--pink); transform: rotate(-1deg); transition: transform .35s var(--spring), box-shadow .3s;
}
.note:nth-child(even) { transform: rotate(1.2deg); }
.note:nth-child(3n) { transform: rotate(-.4deg); }
.note:hover { transform: rotate(0) translateY(-6px); box-shadow: 9px 9px 0 var(--berry); }
.note::before { content: ""; position: absolute; top: -13px; left: 50%; width: 86px; height: 24px; transform: translateX(-50%) rotate(-3deg); background: rgba(201, 194, 255, .8); }
.note__icon { font-size: 1.7rem; margin-bottom: 8px; }
.note h3 { font-family: var(--display); font-weight: 400; font-size: 1.15rem; text-transform: uppercase; line-height: 1.15; margin-bottom: 8px; }
.note p { color: #4A3540; font-size: .96rem; margin-bottom: 14px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font-size: .78rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--cream); color: var(--berry); border: 1.5px solid var(--berry); }

.extras { display: grid; gap: 28px; margin-top: 56px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) { .extras { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } }
.extras__box { background: var(--pink); color: var(--cream); border-radius: 22px 26px 18px 24px; padding: 28px; box-shadow: 6px 6px 0 var(--ink); }
.extras__box h3 { font-size: 1.6rem; font-weight: 400; margin-bottom: 14px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills li { background: var(--cream); color: var(--ink); padding: 6px 14px; border-radius: 999px; font-weight: 500; font-size: .92rem; transition: transform .25s var(--spring), background .2s; }
.pills li:nth-child(odd) { transform: rotate(-2deg); }
.pills li:nth-child(even) { transform: rotate(1.5deg); }
.pills li:hover { background: var(--lilac); transform: rotate(0) scale(1.06); }
.certs li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 16px; padding: 10px 0; border-bottom: 1.5px dashed rgba(252, 239, 231, .45); }
.certs li:last-child { border-bottom: 0; }
.certs span { font-weight: 700; }
.certs small { color: var(--muted-on-pink); font-size: .85rem; }

/* trajetória */
.shapes { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.shape { position: absolute; background: var(--pink) var(--dashes) center / 90px; opacity: .55; }
.shape--1 { width: 170px; height: 110px; right: 6%; top: 12%; border-radius: 60% 40% 55% 45% / 55% 45% 60% 40%; transform: rotate(14deg); }
.shape--2 { width: 120px; height: 120px; left: 3%; bottom: 10%; border-radius: 50%; background-color: var(--lilac); }
.shape--3 { width: 200px; height: 80px; right: 12%; bottom: 8%; border-radius: 40px; transform: rotate(-10deg); }
.shape--4 { width: 90px; height: 140px; left: 44%; top: 6%; border-radius: 50% 50% 40% 60%; background-color: var(--lilac); opacity: .35; }
.timeline { position: relative; display: grid; gap: 28px; padding-left: 36px; max-width: 860px; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 8px; bottom: 8px; border-left: 3px dashed rgba(252, 239, 231, .45); }
.tl { position: relative; background: var(--cream); color: var(--ink); padding: 24px 26px; border-radius: 6px; box-shadow: 6px 6px 0 var(--pink); }
.tl:nth-child(even) { transform: rotate(.6deg); }
.tl:nth-child(odd) { transform: rotate(-.5deg); }
.tl__dot { position: absolute; left: -36px; top: 26px; width: 22px; height: 22px; border-radius: 50%; background: var(--night); border: 4px solid var(--cream); }
.tl__dot--live { background: var(--pink); box-shadow: 0 0 0 0 rgba(201, 42, 102, .7); animation: pulse 2s infinite; }
.tl__date { display: inline-block; font-size: 1.15rem; color: var(--pink-deep); }
.tl h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.1rem, 2.4vw, 1.4rem); line-height: 1.15; margin: 4px 0 2px; }
.tl__org { font-weight: 700; color: var(--berry); margin-bottom: 10px; }
.tl > ul:not(.tags) { display: grid; gap: 4px; margin-bottom: 14px; color: #4A3540; }
.tl > ul:not(.tags) li { padding-left: 18px; position: relative; }
.tl > ul:not(.tags) li::before { content: "✦"; position: absolute; left: 0; color: var(--pink); font-size: .8rem; top: 3px; }

/* projetos */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter { font-family: var(--hand); font-size: 1.25rem; padding: 6px 20px; border-radius: 999px; border: 2px solid var(--cream); color: var(--cream); transition: background .2s, color .2s, transform .25s var(--spring); }
.filter:hover { transform: rotate(-3deg); }
.filter.is-active { background: var(--cream); color: var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.projects { display: grid; gap: 36px 32px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) { .projects { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.project {
  position: relative; display: flex; flex-direction: column; gap: 12px; padding: 28px 26px 26px;
  background: var(--paper-white); color: var(--ink); border: 2px solid var(--ink); border-radius: 6px;
  box-shadow: 7px 7px 0 var(--berry); transform: rotate(-.7deg);
  transition: transform .35s var(--spring), box-shadow .3s, opacity .3s;
}
.project:nth-child(even) { transform: rotate(.8deg); }
.project:hover { transform: rotate(0) translateY(-6px); box-shadow: 10px 10px 0 var(--ink); }
.project.is-hidden { display: none; }
.project--featured { background: var(--cream); }
.project--featured::after {
  content: ""; position: absolute; right: -14px; top: -14px; width: 64px; height: 64px; border-radius: 50%;
  background: var(--lilac) var(--dashes-light) center / 46px; border: 2px solid var(--ink); transform: rotate(12deg);
}
.project__top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.project__num { font-family: var(--display); font-size: 2.4rem; line-height: 1; color: var(--pink); -webkit-text-stroke: 1.5px var(--ink); }
.project__label { font-size: 1.12rem; color: var(--berry); }
.project__status { display: inline-flex; align-items: center; gap: 6px; font-size: 1rem; background: #DDF6E5; color: #155C33; padding: 1px 10px; border-radius: 999px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #22A35A; animation: pulse-g 2s infinite; }
.project h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.3rem, 2.6vw, 1.65rem); line-height: 1.1; }
.project__tagline { font-weight: 700; color: var(--pink-deep); }
.project > p:not(.project__tagline):not(.project__note) { color: #4A3540; font-size: .97rem; }
.project__features { display: grid; gap: 5px; font-size: .94rem; color: #3A2A32; }
.project__features li { padding-left: 24px; position: relative; }
.project__features li::before { content: "✓"; position: absolute; left: 0; font-weight: 700; color: var(--pink); }
.project__note { font-size: 1.05rem; color: #6E5A63; }

/* contato */
.contact { padding-bottom: 130px; }
.contact__grid { display: grid; gap: 56px 64px; grid-template-columns: minmax(0, 1fr); align-items: center; }
.contact__text { margin-top: 22px; max-width: 30em; color: var(--muted-on-pink); font-size: 1.08rem; }
.contact__photo { position: relative; justify-self: center; width: min(250px, 70%); }
.polaroid--small { padding: 12px 12px 40px; transform: rotate(-4deg); background: #111; }
.polaroid--small img { filter: grayscale(1) contrast(1.05) sepia(.18); }
.contact__rows { display: grid; gap: 0 56px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) { .contact__rows { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.contact__rows a { display: flex; flex-direction: column; padding: 16px 2px; text-decoration: none; border-bottom: 2px solid rgba(252, 239, 231, .6); font-size: clamp(1.15rem, 2.4vw, 1.45rem); overflow-wrap: anywhere; transition: color .2s, padding .3s var(--ease); }
.contact__rows small { font-size: .95rem; color: var(--lilac); }
.contact__rows a:hover { color: var(--lilac); padding-left: 12px; }

/* footer */
.footer { background: var(--night); color: var(--muted-on-pink); padding: 36px 0; position: relative; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 28px; }
.footer .hand { font-size: 1.15rem; }
.footer__copy { font-size: .88rem; opacity: .8; }

/* ---------- revelar ao rolar ---------- */
.js .reveal { opacity: 0; translate: 0 26px; transition: opacity .8s var(--ease), translate .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; translate: 0 0; }

/* ---------- animações ---------- */
@keyframes blink { 50% { opacity: 0; } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes wobble { 0%, 100% { transform: rotate(-9deg) scale(1); } 50% { transform: rotate(-4deg) scale(1.05); } }
@keyframes settle { from { opacity: 0; transform: rotate(14deg) translateY(30px) scale(.94); } }
@keyframes spin { to { transform: rotate(342deg); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(201, 42, 102, .7); } 70% { box-shadow: 0 0 0 12px rgba(201, 42, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(201, 42, 102, 0); } }
@keyframes pulse-g { 0% { box-shadow: 0 0 0 0 rgba(34, 163, 90, .6); } 70% { box-shadow: 0 0 0 8px rgba(34, 163, 90, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 163, 90, 0); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* ---------- foto do início (modelo da 1ª versão) ---------- */
.photo {
  position: relative; border-radius: 30px; padding: 5px;
  background: linear-gradient(140deg, var(--lilac), #FF8FBF 45%, var(--cream) 70%, var(--lilac));
  background-size: 220% 220%; animation: settle 1s var(--spring) both, shimmer 8s ease-in-out infinite;
  box-shadow: 0 0 0 1px rgba(255,255,255,.25), 0 30px 60px -24px rgba(20, 10, 14, .75), 0 0 70px -10px rgba(201, 194, 255, .65);
}
.photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 25px; }
@keyframes shimmer { 50% { background-position: 100% 100%; } }

/* ---------- experiência ---------- */
.paper--lilac { --bg: var(--lilac); color: var(--ink); }
.paper--lilac::before { opacity: .6; }
.exp__head { display: grid; gap: 36px 64px; align-items: end; margin-bottom: 48px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .exp__head { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } }
.exp__role { background: var(--paper-white); border: 2px solid var(--ink); border-radius: 6px; padding: 24px 26px; box-shadow: 7px 7px 0 var(--pink); transform: rotate(.6deg); }
.exp__when { display: inline-flex; align-items: center; gap: 8px; font-size: 1.15rem; color: #155C33; background: #DDF6E5; padding: 1px 12px; border-radius: 999px; }
.exp__role h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 1.5rem; line-height: 1.1; margin: 10px 0 8px; }
.exp__role p:not(.exp__when) { color: #4A3540; margin-bottom: 14px; }

.impact { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); margin-bottom: 56px; }
@media (min-width: 760px) { .impact { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.impact li { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px; background: var(--paper-white); border: 2px solid var(--ink); border-radius: 6px; box-shadow: 5px 5px 0 var(--pink); }
.impact__what { font-weight: 700; font-size: .98rem; color: var(--ink); }
.impact__row { display: flex; align-items: baseline; gap: 12px; }
.impact__label { flex: 0 0 52px; font-size: 1rem; color: #6E5A63; }
.impact__label--now { color: var(--pink-deep); }
.impact s { font-size: 1.1rem; color: #6E5A63; text-decoration-thickness: 1.5px; }
.impact b { font-family: var(--display); font-weight: 400; font-size: 1.6rem; line-height: 1.1; color: var(--pink-deep); }

.cases { display: grid; gap: 40px; }
.case {
  position: relative; background: var(--paper-white); color: var(--ink); border: 2px solid var(--ink); border-radius: 6px;
  padding: 30px 28px 26px; box-shadow: 9px 9px 0 var(--ink); display: flex; flex-direction: column; gap: 14px;
  transform: rotate(-.4deg); transition: transform .35s var(--spring);
}
.case:nth-child(even) { transform: rotate(.5deg); }
.case:hover { transform: rotate(0); }
.case__top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.case h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.4rem, 3.2vw, 2.1rem); line-height: 1.05; }
.case__lead { font-weight: 700; color: var(--pink-deep); font-size: 1.05rem; }
.ba { display: grid; gap: 14px; align-items: stretch; grid-template-columns: minmax(0, 1fr); margin: 6px 0; }
@media (min-width: 860px) { .ba { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); } }
.ba__col { border-radius: 14px; padding: 18px 20px; }
.ba__col--before { background: #EFE8EB; color: #5E4E55; }
.ba__col--after { background: #FFE0EC; color: var(--ink); border: 2px solid var(--pink); }
.ba__tag { display: inline-block; font-size: 1.25rem; padding: 0 12px; border-radius: 999px; margin-bottom: 10px; }
.ba__col--before .ba__tag { background: #D9CFD4; color: #4A3540; }
.ba__col--after .ba__tag { background: var(--pink); color: var(--cream); }
.ba ul { display: grid; gap: 8px; font-size: .96rem; }
.ba li { position: relative; padding-left: 24px; }
.ba__col--before li::before { content: "✕"; position: absolute; left: 0; color: #9A7F8A; font-weight: 700; }
.ba__col--after li::before { content: "✓"; position: absolute; left: 0; color: var(--pink); font-weight: 700; }
.ba__arrow { align-self: center; justify-self: center; font-family: var(--display); font-size: 2.4rem; line-height: 1; color: var(--pink); }
@media (max-width: 859px) { .ba__arrow { transform: rotate(90deg); font-size: 2rem; } }
.case__how { color: #4A3540; font-size: .97rem; }
.case__how b { color: var(--ink); }

/* nav com 6 itens: menu vira hambúrguer mais cedo */
@media (min-width: 860px) and (max-width: 1019px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: absolute; top: calc(100% + 8px); left: 32px; right: 32px; flex-direction: column; align-items: stretch;
    background: var(--berry); border-radius: 18px; padding: 10px; box-shadow: 0 20px 40px -16px rgba(20,10,14,.8);
    opacity: 0; pointer-events: none; transform: translateY(-8px); transition: opacity .25s, transform .25s;
  }
  .nav__links.is-open { opacity: 1; pointer-events: auto; transform: none; }
  .nav__links a { padding: 12px 16px; }
  .nav__links .nav__cta { margin: 6px 0 0; text-align: center; }
}
.tag-box { white-space: nowrap; }
.exp__head .tag-box { font-size: clamp(2.1rem, 4.6vw, 3.7rem); }
@media (max-width: 480px) { .tag-box--offset { margin-left: .35em; } .tag-box { font-size: clamp(1.9rem, 9.4vw, 2.6rem); } .hero h1 .tag-box { font-size: clamp(2.4rem, 12vw, 3.2rem); } }
.ba strong { font-weight: 700; color: inherit; }
.ba__col--after strong { color: var(--pink-deep); }
