/* Escola Pequeno Príncipe: rebranding no universo da marca (verde, azul, laranja e mostarda; serifa Fraunces; órbitas e estrelas).
   O desenho vem do arquivo de referência enviado pela equipe; aqui ele vive dentro da moldura do site (barra da Claven, próximo projeto,
   rodapé e botão de reduzir movimento ficam em case-base.css). Os tipos são DM Sans e Fraunces, hospedados no próprio site (a CSP não aceita fontes de fora).
   A camada "ao vivo" no fim do arquivo usa o motor de rolagem (case.js): --c (posição na tela, -1…1) e --p (progresso). Com movimento
   reduzido (html sem .fx), tudo fica parado no lugar. */
@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; }
body.principe{--green:#0f6445;--deep:#073d35;--blue:#103d70;--orange:#ec8528;--cream:#f6f1e6;--paper:#fffaf0;--mustard:#e9b94b;--sage:#bac7ac;--pink:#ca8875;--ink:#17352f;--round:24px}
:where(body.principe) *{box-sizing:border-box}
body.principe{margin:0;background:var(--cream);color:var(--ink);font-family:'DM Sans',Arial,sans-serif;overflow-x:hidden}
:where(body.principe) button,:where(body.principe) a{font:inherit}
:where(body.principe) a{text-decoration:none;color:inherit}
:where(body.principe) button{cursor:pointer}
:where(body.principe) ::selection{background:var(--mustard);color:var(--deep)}
:where(body.principe) .hero{position:relative;height:100svh;min-height:640px;display:flex;align-items:flex-end;background:var(--deep);color:white;overflow:hidden}
@keyframes pp-heroZoom{to{transform:scale(1)}}
:where(body.principe) .hero:after{content:'';position:absolute;inset:auto 0 0;height:40%;background:linear-gradient(transparent,rgba(0,30,23,.38));pointer-events:none}
:where(body.principe) .hero-content{position:relative;z-index:2;padding:0 clamp(22px,8vw,145px) clamp(70px,10vh,120px);max-width:1100px}
:where(body.principe) .eyebrow{font-size:11px;letter-spacing:.24em;text-transform:uppercase;font-weight:700;display:flex;gap:15px;align-items:center}
:where(body.principe) .eyebrow:before{content:'';width:32px;height:1px;background:currentColor;opacity:.6}
:where(body.principe) h1,:where(body.principe) h2,:where(body.principe) h3,:where(body.principe) p{margin-top:0}
:where(body.principe) .hero h1{font-family:Fraunces,Georgia,serif;font-weight:600;font-size:clamp(66px,9.5vw,158px);letter-spacing:-.065em;line-height:.91;margin:25px 0 25px}
:where(body.principe) .hero h1 em{font-weight:600;color:#f2bd69;font-style:italic}
:where(body.principe) .hero p{font-size:clamp(15px,1.5vw,19px);line-height:1.6;max-width:460px;color:#f0f7f0}
:where(body.principe) .hero-bottom{display:flex;gap:28px;align-items:center;margin-top:38px}
:where(body.principe) .pbtn{border-radius:60px;padding:16px 25px;border:0;background:var(--orange);color:#123c30;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.09em;display:inline-flex;align-items:center;gap:28px;transition:transform .3s,background .3s}
:where(body.principe) .pbtn:hover{transform:translateY(-4px);background:#ffd086}
:where(body.principe) .hero-scroll{font-size:11px;letter-spacing:.16em;opacity:.8;text-transform:uppercase}
:where(body.principe) .spark{position:absolute;z-index:3;pointer-events:none;color:#f4be64;animation:pp-float 5s ease-in-out infinite}
:where(body.principe) .spark.a{top:20%;right:18%;font-size:55px}
:where(body.principe) .spark.b{top:40%;right:7%;font-size:25px;animation-delay:-2s}
:where(body.principe) .spark.c{top:21%;right:40%;font-size:21px;animation-delay:-1s}
@keyframes pp-float{50%{transform:translateY(-18px) rotate(14deg)}}
:where(body.principe) .chapter{padding:clamp(90px,11vw,180px) clamp(22px,8vw,145px)}
:where(body.principe) .chapter-intro{background:var(--cream);position:relative;overflow:hidden}
:where(body.principe) .intro-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:8vw;align-items:center;max-width:1400px;margin:auto}
:where(body.principe) .section-tag{font-size:11px;letter-spacing:.2em;font-weight:700;text-transform:uppercase;color:var(--green);margin-bottom:28px}
:where(body.principe) .display{font-family:Fraunces,Georgia,serif;font-weight:600;font-size:clamp(47px,6vw,94px);line-height:1.04;letter-spacing:-.045em}
:where(body.principe) .display em{font-style:italic;color:var(--green)}
:where(body.principe) .bodycopy{max-width:540px;font-size:clamp(15px,1.35vw,18px);line-height:1.85;color:#51645d}
:where(body.principe) .intro-side{display:grid;gap:26px}
:where(body.principe) .quote{border-left:2px solid var(--orange);padding-left:25px;font-family:Fraunces,Georgia,serif;font-size:clamp(25px,2.9vw,43px);line-height:1.22;color:var(--deep)}
:where(body.principe) .tiny{font-size:11px;letter-spacing:.15em;text-transform:uppercase;color:#688178}
:where(body.principe) .orbit-section{background:#0d543f;color:#fff;position:relative;overflow:hidden;min-height:750px;display:grid;place-items:center;padding:110px 22px}
:where(body.principe) .orbit-section:before{content:'';position:absolute;inset:0;background-image:radial-gradient(#ffffff22 1px,transparent 1px);background-size:38px 38px;opacity:.5}
:where(body.principe) .orbit-section .section-tag{color:#e4bb79}
:where(body.principe) .orbit-copy{position:relative;z-index:2;text-align:center;max-width:670px}
:where(body.principe) .orbit-copy .display{font-size:clamp(54px,7vw,107px)}
:where(body.principe) .orbit-copy .display em{color:#f9be70}
:where(body.principe) .orbit-copy p{line-height:1.8;color:#cbded1;max-width:450px;margin:24px auto}
:where(body.principe) .ring{position:absolute;width:min(92vw,1040px);aspect-ratio:1;border:1px solid #cbdcd040;border-radius:50%;animation:pp-spin 50s linear infinite}
:where(body.principe) .ring.two{width:min(72vw,730px);animation-direction:reverse;animation-duration:35s}
:where(body.principe) .ring.three{width:min(47vw,460px);animation-duration:26s}
:where(body.principe) .ring span{position:absolute;top:13%;left:13%;width:24px;height:24px;background:var(--orange);border-radius:50%;box-shadow:0 0 0 10px #ffffff11}
:where(body.principe) .ring.two span{top:82%;left:82%;background:#d1bf6b}
:where(body.principe) .ring.three span{top:10%;left:60%;background:#afc9d7}
@keyframes pp-spin{to{transform:rotate(360deg)}}
:where(body.principe) .section-top{max-width:1320px;margin:0 auto 58px;display:flex;align-items:end;justify-content:space-between;gap:50px}
:where(body.principe) .section-top .display{max-width:700px;margin-bottom:0}
:where(body.principe) .section-top .bodycopy{max-width:370px;margin-bottom:0}
:where(body.principe) .wide-photo{width:100%;display:block;object-fit:cover}
:where(body.principe) .media-rounded{border-radius:26px;overflow:hidden}
:where(body.principe) .symbol-section{background:#faf7ef}
:where(body.principe) .symbol-grid{max-width:1350px;margin:auto;display:grid;grid-template-columns:.95fr 1.05fr;gap:8vw;align-items:center}
:where(body.principe) .logo-panel{min-height:520px;border-radius:32px;background:#e8eee0;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden}
:where(body.principe) .logo-panel:before{content:'';position:absolute;width:390px;height:390px;border:1px solid #0f64453a;border-radius:50%}
:where(body.principe) .logo-panel:after{content:'';position:absolute;width:530px;height:530px;border:1px dashed #0f64452e;border-radius:50%;animation:pp-spin 50s linear infinite}
:where(body.principe) .symbol-mark{position:relative;z-index:1;width:190px;height:210px;color:var(--green)}
:where(body.principe) .symbol-mark svg{width:100%;height:100%}
:where(body.principe) .small-star{position:absolute;top:22%;right:17%;font-size:34px;color:var(--orange);animation:pp-float 4s infinite}
:where(body.principe) .chapter-graphic{background:#f9ead1;overflow:hidden}
:where(body.principe) .graphic-layout{display:grid;grid-template-columns:1fr 1fr;gap:20px;max-width:1400px;margin:auto}
:where(body.principe) .graphic-tile{min-height:480px;border-radius:30px;overflow:hidden;position:relative}
:where(body.principe) .graphic-tile img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0;transition:transform .7s}
:where(body.principe) .graphic-tile:hover img{transform:scale(1.06)}
:where(body.principe) .graphic-tile.text-tile{background:var(--blue);color:white;padding:48px;display:flex;flex-direction:column;justify-content:space-between}
:where(body.principe) .text-tile .big-num{font-family:Fraunces,serif;font-size:100px;color:#f4bb69}
:where(body.principe) .text-tile h3{font-family:Fraunces,serif;font-size:clamp(38px,4vw,62px);line-height:1.06;letter-spacing:-.035em}
:where(body.principe) .marquee{padding:26px 0;background:var(--mustard);color:var(--deep);overflow:hidden;white-space:nowrap;font-family:Fraunces,serif;font-size:clamp(28px,4vw,60px);letter-spacing:-.04em}
:where(body.principe) .marquee-track{display:flex;gap:45px;width:max-content;animation:pp-marquee 27s linear infinite}
:where(body.principe) .marquee i{font-style:normal;color:#fff;font-size:.8em}
@keyframes pp-marquee{to{transform:translateX(-50%)}}
:where(body.principe) .uniform-section{background:#f7f2e7}
:where(body.principe) .uniform-full{position:relative;overflow:hidden;border-radius:30px;max-width:1400px;margin:auto}
:where(body.principe) .uniform-full img{display:block;width:100%;height:clamp(380px,63vw,810px);object-fit:cover}
:where(body.principe) .image-pill{position:absolute;right:22px;bottom:24px;padding:13px 19px;border-radius:30px;background:#f8f4eae8;backdrop-filter:blur(8px);font-size:12px;font-weight:700;color:var(--green)}
:where(body.principe) .two-media{display:grid;grid-template-columns:1fr 1fr;gap:22px;max-width:1400px;margin:22px auto 0}
:where(body.principe) .two-media .media-rounded img{width:100%;height:420px;object-fit:cover}
:where(body.principe) .captionline{font-size:12px;margin-top:13px;color:#72827c;letter-spacing:.02em}
:where(body.principe) .paper-section{background:#e7eee9}
:where(body.principe) .paper-art{display:grid;grid-template-columns:1fr 1fr;gap:24px;max-width:1400px;margin:auto}
:where(body.principe) .paper-art article{position:relative;background:#f7f9f7;border-radius:28px;overflow:hidden}
:where(body.principe) .paper-art img{display:block;width:100%;height:440px;object-fit:cover}
:where(body.principe) .paper-art .card-caption{padding:24px 28px 30px}
:where(body.principe) .card-caption h3{font-family:Fraunces,serif;font-size:27px;margin:0 0 8px}
:where(body.principe) .card-caption p{color:#6e8278;font-size:14px;line-height:1.6;margin:0}
:where(body.principe) .space-section{background:#fffaf1}
:where(body.principe) .space-feature{max-width:1400px;margin:0 auto 25px;display:grid;grid-template-columns:.8fr 1.2fr;gap:0;background:var(--deep);border-radius:30px;overflow:hidden;color:#fff}
:where(body.principe) .space-feature .space-copy{padding:clamp(35px,5vw,78px);display:flex;flex-direction:column;justify-content:center}
:where(body.principe) .space-feature .space-copy h3{font:600 clamp(38px,4vw,64px)/1.04 Fraunces,serif;letter-spacing:-.04em}
:where(body.principe) .space-feature .space-copy p{line-height:1.8;color:#c5d9cd;max-width:360px}
:where(body.principe) .space-feature img{height:570px;width:100%;object-fit:cover}
:where(body.principe) .space-alt{background:#f0b34d;color:var(--deep);grid-template-columns:1.2fr .8fr}
:where(body.principe) .space-alt .space-copy p{color:#17352f}
:where(body.principe) .space-alt .section-tag{color:#073d35}
:where(body.principe) .space-alt img{height:490px}
:where(body.principe) .summary{background:#f1cc88;position:relative;overflow:hidden}
:where(body.principe) .summary .display{max-width:1000px}
:where(body.principe) .summary .display em{color:#0c6749}
:where(body.principe) .closing{background:#093c33;color:white;text-align:center;padding:140px 24px 55px;position:relative;overflow:hidden}
:where(body.principe) .closing:before{content:'✦';position:absolute;font-size:250px;color:#ffffff0a;top:20px;right:10%}
:where(body.principe) .closing .display{max-width:920px;margin:0 auto 40px}
:where(body.principe) .closing .display em{color:#f1be67}
:where(body.principe) .closing p{max-width:580px;line-height:1.8;color:#ccdbd4;margin:0 auto 35px}
:where(body.principe) .footerline{display:flex;justify-content:space-between;align-items:center;gap:20px;border-top:1px solid #ffffff2c;margin-top:110px;padding-top:26px;font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:#c0d1c8}
:where(body.principe) .float-stamp{display:inline-flex;align-items:center;gap:10px;font-size:11px;text-transform:uppercase;letter-spacing:.16em;color:#658376}
:where(body.principe) .float-stamp b{font-size:24px;color:var(--orange)}
:where(body.principe) .side-nav{position:fixed;right:28px;top:50%;z-index:12;display:flex;flex-direction:column;gap:12px;transform:translateY(-50%)}
:where(body.principe) .side-nav a{width:7px;height:7px;border-radius:50%;background:#ffffffba;box-shadow:0 0 0 1px #225d3d44;transition:all .3s}
:where(body.principe) .side-nav a.active{height:23px;border-radius:6px;background:var(--orange)}
:where(body.principe) .tag-bar{display:flex;gap:12px;flex-wrap:wrap;margin-top:35px}
:where(body.principe) .tag-bar span{font-size:10px;letter-spacing:.13em;text-transform:uppercase;border:1px solid #38756240;padding:10px 13px;border-radius:25px}
:where(body.principe) .scroll-hint{position:absolute;right:8vw;bottom:72px;z-index:4;font-size:10px;letter-spacing:.18em;writing-mode:vertical-rl;text-transform:uppercase;color:white}
:where(body.principe) .hover-lift{transition:transform .6s cubic-bezier(.2,.8,.2,1)}
:where(body.principe) .hover-lift:hover{transform:translateY(-7px)}
:where(body.principe) .mobile-note{display:none}
@media(max-width:800px){:where(body.principe) .hero{min-height:700px}
:where(body.principe) .hero h1{font-size:clamp(58px,12vw,95px)}
:where(body.principe) .hero-content{padding:0 24px 105px}
:where(body.principe) .hero-scroll{display:none}
:where(body.principe) .intro-grid,:where(body.principe) .symbol-grid,:where(body.principe) .graphic-layout,:where(body.principe) .paper-art,:where(body.principe) .space-feature,:where(body.principe) .space-alt{grid-template-columns:1fr}
:where(body.principe) .section-top{display:block}
:where(body.principe) .section-top .bodycopy{margin-top:24px}
:where(body.principe) .chapter{padding:90px 22px}
:where(body.principe) .orbit-section{min-height:620px}
:where(body.principe) .ring{width:110vw}
:where(body.principe) .ring.two{width:85vw}
:where(body.principe) .ring.three{width:54vw}
:where(body.principe) .logo-panel{min-height:400px}
:where(body.principe) .graphic-tile{min-height:370px}
:where(body.principe) .two-media{grid-template-columns:1fr}
:where(body.principe) .two-media .media-rounded img{height:320px}
:where(body.principe) .paper-art img{height:330px}
:where(body.principe) .space-feature img,:where(body.principe) .space-alt img{height:350px}
:where(body.principe) .space-alt .space-img{order:2}
:where(body.principe) .space-alt .space-copy{order:1}
:where(body.principe) .footerline{flex-direction:column;text-align:center;line-height:1.7}
:where(body.principe) .side-nav{display:none}
:where(body.principe) .scroll-hint{display:none}
:where(body.principe) .hero p{max-width:390px}
:where(body.principe) .graphic-tile.text-tile{min-height:350px}}
@media(prefers-reduced-motion:reduce){:where(body.principe) *,:where(body.principe) *:before,:where(body.principe) *:after{animation-duration:.001ms!important;scroll-behavior:auto!important}}
/* ---- integração com a moldura do site ---- */
body.principe { --cx-accent: #ec8528; --cx-focus: #ec8528; overflow-x: clip; }
html:has(body.principe) { scroll-padding-top: 20px; }
body.principe figure { margin: 0; }

/* abertura: sem cabeçalho próprio, a fachada ocupa a tela inteira (a imagem vira <img>, para ter descrição e prioridade de carga) */
body.principe .hero { min-height: 100svh; }
body.principe .hero-content { padding-top: 120px; }
body.principe .hero .ln { display: block; }
body.principe .hero-bg { position: absolute; inset: 0; overflow: hidden; background: var(--deep); }
body.principe .hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; max-width: none; }
body.principe .hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3, 40, 34, .86), rgba(3, 40, 34, .43) 50%, rgba(3, 40, 34, .08)); }
@media (max-width: 800px) { body.principe .hero-bg img { object-position: 63% 18%; } }
body.principe .pbtn:focus-visible, body.principe .side-nav a:focus-visible { outline: 3px solid #ec8528; outline-offset: 3px; }

/* peças que o original deixava sem moldura própria: o corte arredondado não pode comer a legenda, e a imagem que se move precisa de uma caixa que a recorte */
body.principe .paper-fig, body.principe .space-img { overflow: hidden; min-height: 0; }
body.principe .space-img img { display: block; width: 100%; object-fit: cover; }

/* índice lateral (pontos): o motor marca o link da seção atual com .on e põe .idle fora das seções ou no fim */
body.principe .side-nav { transition: opacity .35s ease, transform .35s ease; }
body.principe .side-nav a { position: relative; box-shadow: 0 0 0 1px rgba(34, 93, 61, .5), 0 1px 5px rgba(0, 0, 0, .22); }
body.principe .side-nav a::before { content: ""; position: absolute; inset: -8px -10px; }
body.principe .side-nav a.on { height: 23px; border-radius: 6px; background: var(--orange); }
body.principe .side-nav.idle { opacity: 0; pointer-events: none; transform: translate(14px, -50%); }
@media (prefers-reduced-motion: reduce) { body.principe .side-nav { transition: none; } }

/* contraste: legendas pequenas do original ficavam abaixo do mínimo sobre os fundos claros; escurecidas sem mudar o clima */
body.principe .tiny { color: #55695f; }
body.principe .captionline { color: #55695f; }
body.principe .card-caption p { color: #4f645a; }
body.principe .float-stamp { color: #4b6f61; }
body.principe .orbit-section .float-stamp { color: #e7e7cf; }

/* sem movimento (botão do rodapé ou preferência do sistema): nada gira, flutua ou se afasta */
html:not(.fx) body.principe .spark, html:not(.fx) body.principe .ring, html:not(.fx) body.principe .logo-panel::after, html:not(.fx) body.principe .small-star,
html:not(.fx) body.principe .marquee-track { animation: none; }

/* entrada: usa a propriedade translate (e não transform), para não brigar com a elevação dos cartões */
html.fx body.principe [data-reveal] { transition: opacity .9s var(--ease) var(--d, 0ms), translate 1.05s var(--ease) var(--d, 0ms), transform .45s var(--ease), background-color .3s !important; }
html.fx body.principe [data-reveal]:not(.in) { transform: none !important; translate: 0 34px; }
html.fx body.principe [data-reveal="fade"]:not(.in) { translate: 0 0; }
html.fx body.principe [data-reveal].in { translate: 0 0; }

/* ---- camada ao vivo (só com movimento ligado) ---- */
/* abertura: a fachada se aproxima devagar, o texto entra em sequência e tudo se afasta quando a rolagem começa */
html.fx body.principe .hero-bg img { transform: scale(1.06); animation: pp-heroZoom 14s ease-out forwards; }
html.fx body.principe .hero .eyebrow, html.fx body.principe .hero .ln, html.fx body.principe .hero p, html.fx body.principe .hero-bottom { animation: pp-in 1.05s var(--ease) both; animation-delay: calc(var(--i, 0) * 140ms + 160ms); }
@keyframes pp-in { from { opacity: 0; translate: 0 40px; } to { opacity: 1; translate: 0 0; } }
html.fx body.principe .hero { --q: clamp(0, calc(var(--c, 0) * -1), 1); }
html.fx body.principe .hero-bg { scale: calc(1 + var(--q) * .12); translate: 0 calc(var(--q) * 8vh); }
html.fx body.principe .hero-content { translate: 0 calc(var(--q) * 60px); opacity: calc(1 - var(--q) * 1.1); }
html.fx body.principe .spark.a { translate: calc(var(--q) * -40px) calc(var(--q) * -150px); }
html.fx body.principe .spark.b { translate: calc(var(--q) * 50px) calc(var(--q) * -230px); }
html.fx body.principe .spark.c { translate: calc(var(--q) * -70px) calc(var(--q) * -90px); }
html.fx body.principe .scroll-hint { opacity: calc(1 - var(--q) * 4); }

/* universo: as órbitas crescem quando a seção chega ao centro da tela e deslocam-se, cada uma de um jeito, com o cursor (o JS informa --mx e --my, de -0,5 a 0,5) */
html.fx body.principe .orbit-section { --o: clamp(0, calc(1.1 - var(--c, 0) * var(--c, 0) * 2.4), 1); }
html.fx body.principe .ring { scale: calc(.78 + var(--o) * .22); translate: calc(var(--mx, 0) * 16px) calc(var(--my, 0) * 16px); transition: translate .5s ease-out; }
html.fx body.principe .ring.two { translate: calc(var(--mx, 0) * 32px) calc(var(--my, 0) * 32px); }
html.fx body.principe .ring.three { translate: calc(var(--mx, 0) * 52px) calc(var(--my, 0) * 52px); }

/* símbolo: o traço é desenhado à medida que o painel chega ao centro da tela, uma parte depois da outra */
html.fx body.principe .logo-panel { --g: clamp(0, calc(1.15 - var(--c, 0) * 1.5), 1); }
html.fx body.principe .symbol-mark path { stroke-dasharray: 1; stroke-dashoffset: calc(1 - clamp(0, var(--g) * 4 - var(--k, 0), 1)); opacity: clamp(0, calc((var(--g) * 4 - var(--k, 0)) * 30), 1); }

/* linguagem visual: a estampa anda dentro do quadro e a estrela do cartão azul gira com a rolagem */
body.principe .text-tile .big-num { align-self: flex-start; line-height: 1; transform-origin: 50% 54%; }
html.fx body.principe .graphic-tile img { scale: 1.12; translate: calc(var(--c, 0) * -4%) calc(var(--c, 0) * -3%); transition: transform .7s, translate .3s ease-out; }
html.fx body.principe .graphic-tile:hover img { transform: scale(1.03); }
html.fx body.principe .text-tile .big-num { rotate: calc(var(--p, 0) * 240deg); }

/* faixa mostarda: anda para o lado junto com a rolagem, além do movimento contínuo (só para a esquerda, para nunca deixar vão) */
html.fx body.principe .marquee-track { translate: calc((var(--c, 0) - 1) * 80px) 0; }

/* uniformes, papelaria e espaços: as imagens andam dentro das molduras com a rolagem (cada uma para o seu lado) */
html.fx body.principe .uniform-full img, html.fx body.principe .media-rounded img, html.fx body.principe .paper-art img, html.fx body.principe .space-img img { scale: 1.1; translate: 0 calc(var(--c, 0) * -3.5%); }
html.fx body.principe .two-media .media-fig:nth-child(2) .media-rounded img, html.fx body.principe .paper-art article:nth-child(2) img { translate: 0 calc(var(--c, 0) * 3.5%); }

/* espaços: cada imagem é "revelada" de lado quando o bloco chega ao centro da tela */
html.fx body.principe .space-feature { --w: clamp(0, calc((var(--c, 0) - .12) * 1.5), 1); }
html.fx body.principe .space-feature .space-img { clip-path: inset(0 0 0 calc(var(--w) * 100%)); }
html.fx body.principe .space-feature.space-alt .space-img { clip-path: inset(0 calc(var(--w) * 100%) 0 0); }

/* síntese: o sublinhado da frase final se desenha com a rolagem */
html.fx body.principe .summary .display em { background: linear-gradient(currentColor, currentColor) no-repeat 0 96% / calc(clamp(0, (.6 - var(--c, 0)) * 1.8, 1) * 100%) 3px; }

/* encerramento: a estrela de fundo gira devagar */
html.fx body.principe .closing:before { rotate: calc(var(--p, 0) * 160deg); }
