/* Jequitibá Rosa Produções — página de projeto como um jardim: a cor da página muda com a seção (rosa, marfim, turquesa, verde),
   uma trepadeira cresce com a leitura e as imagens se movem em ritmos diferentes, como folhas. Cores da marca: #C7847E, #408992,
   #C7BC7E, #ECE7D3, #ECD4D2. Títulos em Fraunces (itálico forte, como o logotipo); frases de cartaz em Archivo Black. */
@font-face { font-family: "Fraunces"; src: url(fonts/fraunces-latin-soft-normal.woff2) format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url(fonts/fraunces-latin-wght-italic.woff2) format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }

html[data-morph] { --bg: #ecd4d2; --fg: #5b2f2c; background: var(--bg); color: var(--fg); }
html.morph { transition: background-color .9s ease, color .9s ease; }
body.jq { --rose: #c7847e; --teal: #408992; --green: #c7bc7e; --ivory: #ece7d3; --root: #ecd4d2; --paper: #fcfaf3; --disp: "Fraunces", Georgia, serif; --poster: "Archivo Black", "Arial Black", Impact, sans-serif; --body: "DM Sans", system-ui, sans-serif;
  --cx-accent: #408992; --cx-focus: #0b4a52; background: transparent; color: inherit; font: 400 1.0625rem/1.7 var(--body); }
html.fx { scroll-behavior: smooth; }
:where(.jq) :is(h1, h2, h3, p, ul, figure) { margin: 0; }
:where(.jq) ul { padding: 0; list-style: none; }
.jq-sec { position: relative; padding: clamp(70px, 10vw, 150px) clamp(20px, 8vw, 140px); background: var(--sbg); color: var(--sfg); }
html.morph .jq-sec { background: transparent; color: inherit; }
.jq-h2 { font: italic 800 clamp(2rem, 4.8vw, 4.2rem)/1.03 var(--disp); letter-spacing: -.012em; }
.jq-kick { font: 700 .8rem/1.2 var(--body); letter-spacing: .18em; text-transform: uppercase; opacity: .85; margin-bottom: 16px; }
.jq-sec p { max-width: 54ch; }
.jq-sec :is(figcaption, .jq-fine) { font-size: .86rem; line-height: 1.45; opacity: .85; margin-top: 10px; }

/* trepadeira */
.jq-vine { position: fixed; z-index: 6; right: clamp(0px, 1vw, 16px); top: 0; width: 50px; height: 100vh; pointer-events: none; color: var(--fg, #5b2f2c); overflow: visible; }
.jq-vine .stem { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-opacity: .6; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--pp, 0)); }
.jq-vine .leaves * { fill: currentColor; opacity: calc(clamp(0, (var(--pp, 0) - var(--t)) * 16, 1) * .5); }
@media (max-width: 860px) { .jq-vine { display: none; } }

/* abertura */
.jq-hero { min-height: 100svh; display: grid; grid-template-rows: 1fr auto; place-items: center; padding: clamp(80px, 10vh, 120px) 0 clamp(36px, 6vh, 70px); overflow: hidden; }
.jq-hero-logo { display: flex; justify-content: center; width: 100%; overflow: hidden; align-self: center; }
.jq-hero-logo img { flex: none; width: max(750px, min(1180px, 104vw)); max-width: none; height: auto; transform: translate3d(0, calc(var(--c, 0) * -50px), 0) scale(calc(1 - var(--c, 0) * .1)); }
html.fx [data-reveal="pop"]:not(.in) { transform: scale(.82) rotate(-2.5deg); }
html.fx [data-reveal="pop"] { transition: opacity 1s ease var(--d, 0ms), transform 1.5s cubic-bezier(.3, 1.4, .5, 1) var(--d, 0ms); }
.jq-float { position: absolute; z-index: 1; height: auto; pointer-events: none; transform: translate3d(0, calc(var(--c, 0) * var(--sp, -140px)), 0) rotate(calc(var(--c, 0) * var(--rot, 90deg))); }
.f1 { width: clamp(46px, 7vw, 100px); left: 7%; top: 17%; --sp: -170px; --rot: 120deg; }
.f2 { width: clamp(54px, 8vw, 120px); right: 8%; top: 22%; --sp: -90px; --rot: -30deg; }
.f3 { width: clamp(64px, 9vw, 130px); left: 13%; bottom: 25%; --sp: -240px; --rot: 160deg; }
.f4 { width: clamp(40px, 6vw, 84px); right: 14%; bottom: 20%; --sp: -120px; --rot: -80deg; }
.jq-hero-foot { position: relative; z-index: 2; text-align: center; padding: 0 clamp(20px, 8vw, 140px); display: grid; gap: 12px; justify-items: center; }
.jq-sum { font: italic 600 clamp(1.35rem, 2.6vw, 2.2rem)/1.22 var(--disp); max-width: 30ch; }
.jq-meta { font-size: .9rem; opacity: .85; }

/* a ideia */
.jq-idea { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 6vw, 100px); align-items: center; }
.jq-idea-text { display: grid; gap: 1.2em; }
.jq-mosaic { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0; position: relative; }
.jq-mosaic i { display: block; aspect-ratio: 16 / 27; background-size: auto 100%; background-repeat: no-repeat; box-shadow: 0 30px 50px -34px rgba(60, 30, 28, .6); }
.jq-mosaic .s1 { background-position: 0 0; border-radius: 999px 999px 10px 10px; transform: translateY(calc(var(--c, 0) * -34px)); }
.jq-mosaic .s2 { background-position: 50% 0; border-radius: 26px; transform: translateY(calc(var(--c, 0) * 56px)); }
.jq-mosaic .s3 { background-position: 100% 0; border-radius: 999px 999px 10px 10px; transform: translateY(calc(var(--c, 0) * -80px)); }
.jq-mosaic figcaption { grid-column: 1 / -1; margin-top: 18px; }
@media (max-width: 860px) { .jq-idea { grid-template-columns: 1fr; } .jq-float.f3, .jq-float.f4 { display: none; } .f1 { top: 11%; } .f2 { top: 13%; } }

/* o logotipo: a tela fica presa e a câmera chega perto da flor */
.jq-logo { height: 270vh; padding: 0; }
.jq-pin { position: sticky; top: 0; height: 100svh; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 5vw, 80px); align-items: center; padding: 0 clamp(20px, 8vw, 140px); }
.jq-logo-copy { display: grid; }
.jq-copy { grid-area: 1 / 1; display: grid; gap: 14px; align-content: center; opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .9s var(--ease); pointer-events: none; }
.jq-copy.on { opacity: 1; transform: none; pointer-events: auto; }
.jq-diagram { margin: 0; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 28px; background: var(--paper); box-shadow: 0 50px 80px -50px rgba(60, 30, 28, .7); }
.jq-diagram img { width: 100%; height: 100%; object-fit: cover; transform-origin: 51% 33%; transition: transform 1.8s var(--ease); }
.jq-logo[data-active="1"] .jq-diagram img { transform: scale(2.4); }
html:not(.fx) .jq-logo { height: auto; }
html:not(.fx) .jq-pin { position: static; height: auto; padding-block: clamp(70px, 10vw, 140px); }
html:not(.fx) .jq-copy { grid-area: auto; opacity: 1; transform: none; margin-bottom: 18px; }
@media (max-width: 860px) {
  .jq-pin { grid-template-columns: 1fr; align-content: center; gap: 22px; padding-top: 70px; }
  .jq-diagram { order: -1; border-radius: 18px; }
  .jq-copy p { font-size: .98rem; line-height: 1.6; }
  .jq-copy .jq-h2 { font-size: 1.8rem; }
}

/* cores */
.jq-colors-head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(20px, 5vw, 80px); align-items: end; }
.jq-cols { display: flex; gap: 12px; height: clamp(340px, 62vh, 560px); margin-top: clamp(30px, 5vw, 60px); }
.jq-col { flex: 1; position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; padding: 22px 18px; border-radius: 200px 200px 18px 18px; background: var(--c); color: #2a1412; min-width: 0; overflow: hidden; transition: flex .8s var(--ease); cursor: default; }
.jq-col:first-child { flex: 2; }
.jq-col.light { color: #fff; }
.jq-cols:hover .jq-col:not(:hover), .jq-cols:focus-within .jq-col:not(:focus) { flex: 1; }
.jq-cols:hover .jq-col:hover, .jq-col:focus { flex: 2.4; outline-offset: 4px; }
.jq-col svg { position: absolute; left: 50%; top: 18%; width: clamp(54px, 7vw, 96px); margin-left: calc(clamp(54px, 7vw, 96px) / -2); fill: currentColor; opacity: .35; transition: transform 1s var(--ease); }
.jq-col .eye { fill: var(--c); }
.jq-col:hover svg, .jq-col:focus svg { transform: rotate(40deg) scale(1.2); }
.jq-col b { font: italic 700 clamp(1.05rem, 1.7vw, 1.5rem)/1.1 var(--disp); }
.jq-col span { font: 500 .9rem/1.2 var(--body); letter-spacing: .06em; font-variant-numeric: tabular-nums; }
html.fx [data-reveal="grow"] { transform-origin: 50% 100%; transition: opacity .6s ease var(--d, 0ms), transform 1.4s var(--ease) var(--d, 0ms), flex .8s var(--ease); }
html.fx [data-reveal="grow"]:not(.in) { transform: scaleY(.05); }
@media (max-width: 760px) {
  .jq-colors-head { grid-template-columns: 1fr; }
  .jq-cols { flex-direction: column; height: auto; }
  .jq-col, .jq-col:first-child { flex: none; min-height: 84px; border-radius: 999px 18px 18px 999px; flex-direction: row; align-items: center; justify-content: space-between; padding: 16px 24px 16px 28px; }
  .jq-cols:hover .jq-col:hover, .jq-col:focus { flex: none; }
  .jq-col svg { display: none; }
}

/* faixa de ornamentos: anda de lado com a rolagem */
.jq-band { position: relative; height: 96px; overflow: hidden; }
html:not(.morph) .jq-band { background: linear-gradient(#fcfaf3 50%, #c7bc7e 50%); }
.jq-band svg { position: absolute; left: 0; top: 0; width: 2400px; height: 96px; max-width: none; transform: translate3d(calc(var(--c, 0) * -420px), 0, 0); }

/* vocabulário */
.jq-vocab { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(16px, 2vw, 30px); }
.jq-vocab-text { grid-column: 1 / 8; display: grid; gap: 1.1em; margin-bottom: clamp(20px, 4vw, 50px); }
.jq-img { margin: 0; }
.jq-frame { overflow: hidden; border-radius: 22px; box-shadow: 0 40px 70px -46px rgba(30, 40, 10, .7); aspect-ratio: 16 / 9; background: var(--paper); }
.jq-frame img { width: 100%; height: 100%; object-fit: cover; transform: translate3d(0, calc(var(--c, 0) * -34px), 0) scale(1.1); }
.jq-img-a { grid-column: 1 / 9; }
.jq-img-b { grid-column: 6 / 13; margin-top: calc(-1 * clamp(10px, 5vw, 80px)); position: relative; z-index: 2; }
.jq-img-b .jq-frame img { transform: translate3d(0, calc(var(--c, 0) * 44px), 0) scale(1.1); }
html.fx [data-reveal="rise"]:not(.in) { transform: translateY(70px) scale(.97); }
@media (max-width: 860px) { .jq-vocab-text, .jq-img-a, .jq-img-b { grid-column: 1 / -1; } .jq-img-b { margin-top: 10px; } }

/* espaço e a segunda voz */
.jq-space { display: grid; gap: clamp(36px, 6vw, 90px); overflow-x: clip; }
.jq-space-head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(20px, 5vw, 80px); align-items: end; }
.jq-wide { margin: 0; }
.jq-wide .jq-frame { aspect-ratio: 16 / 9; }
.jq-posters { width: min(100%, 880px); margin-left: auto; }
.jq-voice { display: grid; gap: 18px; padding-block: clamp(10px, 3vw, 40px); }
.jq-voice-intro { max-width: 52ch; }
.jq-lines { display: grid; gap: .1em; }
.jq-lines p { max-width: none; font: 400 clamp(1.8rem, 6vw, 5.6rem)/1 var(--poster); text-transform: uppercase; color: #fcfaf3; }
.jq-lines .l2 { color: #ecd4d2; }
.jq-lines .l1 { transform: translate3d(calc(var(--c, 0) * -5vw), 0, 0); } .jq-lines .l2 { transform: translate3d(calc(var(--c, 0) * 5vw), 0, 0); } .jq-lines .l3 { transform: translate3d(calc(var(--c, 0) * -5vw), 0, 0); }
@media (max-width: 760px) { .jq-space-head { grid-template-columns: 1fr; } .jq-lines p { font-size: 1.7rem; } }

/* sistema aplicado */
.jq-system { display: grid; gap: clamp(30px, 5vw, 70px); }
.jq-system-head { display: grid; gap: 1em; max-width: 60ch; }
.jq-deck { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2.4vw, 34px); align-items: start; padding-bottom: 90px; }
.jq-deck figure { margin: 0; }
.jq-deck img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 16px; box-shadow: 0 36px 50px -34px rgba(60, 30, 28, .7); }
.jq-deck .k1 { transform: translate3d(0, calc(var(--c, 0) * -50px), 0) rotate(-1.6deg); }
.jq-deck .k2 { transform: translate3d(0, calc(var(--c, 0) * 36px), 0) rotate(1.2deg); }
.jq-deck .k3 { transform: translate3d(0, calc(var(--c, 0) * -100px), 0) rotate(-.8deg); }
@media (max-width: 860px) { .jq-deck { grid-template-columns: 1fr; padding-bottom: 20px; } .jq-deck figure { transform: none !important; } }

/* posicionamento */
.jq-final { display: grid; justify-items: center; text-align: center; gap: 16px; padding-block: clamp(90px, 13vw, 200px); overflow: hidden; }
.jq-h2-final { margin-bottom: 4px; }
.jq-final-text { max-width: 46ch; margin-inline: auto; }
.jq-stmt { max-width: none !important; margin-top: clamp(18px, 4vw, 54px); font: 400 clamp(2.5rem, 9.4vw, 8.6rem)/.96 var(--poster); text-transform: uppercase; overflow: hidden; padding: .06em .02em; }
.jq-stmt span { display: block; }
html.fx [data-reveal="word"]:not(.in) { transform: translateY(70%) skewY(5deg); }
html.fx [data-reveal="word"] { transition: opacity .7s ease var(--d, 0ms), transform 1.2s var(--ease) var(--d, 0ms); }
.jq-bloom { width: clamp(110px, 15vw, 210px); height: auto; margin-top: clamp(10px, 3vw, 40px); overflow: visible; transform: rotate(calc(var(--p, 0) * 120deg)); }
.jq-bloom g { transform-origin: 100px 100px; }
html.fx .jq-bloom ellipse, html.fx .jq-bloom circle { transform-origin: 100px 100px; transition: transform 1.5s cubic-bezier(.3, 1.4, .5, 1); }
html.fx .jq-bloom g:not(.in) ellipse { transform: scale(0); }
html.fx .jq-bloom g:not(.in) circle { transform: scale(0); }
html.fx .jq-bloom g[data-reveal]:not(.in) { opacity: 1; transform: none; }
