/* A Vallen — tokens e fontes oficiais definidos no index.html. */
body[data-page="vallen"] .top { background: var(--paper); color: var(--ink); border-color: var(--line); }
body[data-page="vallen"] .top-nav a::after { background: var(--gold-d); }
body[data-page="vallen"] .top-menu { color: var(--ink); }
.av-page { background: var(--paper); padding-top: var(--top-h); overflow: clip; }
.av-hero { position: relative; max-width: 1680px; margin: auto; min-height: min(860px, 66vw); display: grid; grid-template-columns: 45% 55%; }
.av-copy { position: relative; z-index: 3; padding: clamp(72px, 8vw, 130px) 0 50px var(--gut); pointer-events: none; }
.av-kicker { display: flex; align-items: center; gap: 12px; color: var(--gold-t); font-size: 11px; letter-spacing: .17em; text-transform: uppercase; }
.av-kicker span { color: var(--muted); }
.av-kicker i { width: 48px; height: 1px; background: var(--gold-d); }
.av-intro { max-width: 440px; font-size: clamp(16px, 1.32vw, 21px); line-height: 1.65; color: var(--muted); }
.av-scroll { display: flex; align-items: center; gap: 24px; margin-top: 65px; font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-t); }
.av-scroll > i { width: 1px; height: 65px; background: var(--gold-d); position: relative; }
.av-scroll > i::before { content: ''; position: absolute; width: 4px; height: 4px; border-radius: 50%; background: var(--gold-t); top: -7px; left: -1.5px; }
.av-scroll small { display: block; font-size: 9px; line-height: 2; color: var(--muted); margin-top: 12px; }
.av-composition { position: relative; min-width: 0; }
.av-lines { position: absolute; inset: 0 -120px 0 12%; opacity: .45; overflow: hidden; background: linear-gradient(115deg, transparent 45%, var(--sand)); border-radius: 36% 0 0 0; }
.av-lines i { position: absolute; width: 75%; height: 130%; border: 1px solid var(--gold-d); border-radius: 48% 48% 0 0; transform: rotate(16deg); top: 0; left: 0; }
.av-lines i:nth-child(2) { left: 58%; top: 12%; }
.av-lines i:nth-child(3) { width: 25%; left: 70%; border-radius: 0; opacity: .3; transform: skewY(-15deg); }
.av-portrait { position: relative; margin: 0; padding-top: 16px; mix-blend-mode: multiply; }
.av-portrait > div { transform: translate3d(0,var(--py,0px),0); }
.av-portrait img { width: 100%; height: auto; display: block; mask-image: linear-gradient(#000 88%, transparent 100%); }
.av-cards { list-style: none; margin: 0; padding: 0; }
.av-card { position: absolute; z-index: 4; width: clamp(150px, 13vw, 205px); }
.av-card-0 { left: -1%; top: 13%; }
.av-card-1 { right: 3%; top: 32%; }
.av-card-2 { left: -8%; bottom: 8%; width: clamp(220px, 19vw, 292px); }
.av-float { background: var(--paper); border: 1px solid #fff; border-radius: 17px; padding: clamp(18px, 2vw, 29px); box-shadow: 0 22px 38px -15px #5f584d40; }
.av-card svg { display: block; width: 30px; height: 30px; fill: none; stroke: var(--gold-t); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 13px; }
.av-card h2 { font-family: var(--font-body); font-weight: 500; font-size: 12px; line-height: 1.35; letter-spacing: .09em; text-transform: uppercase; }
.av-rule { display: block; width: 20px; height: 1px; background: var(--gold-d); margin: 15px 0; }
.av-card p { font-size: 13px; line-height: 1.5; color: var(--muted); }
@media (prefers-reduced-motion: no-preference) {
 .motion .av-reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s ease calc(var(--i,0)*100ms), transform 1.3s var(--e-out) calc(var(--i,0)*100ms); }
 .motion .av-reveal.is-in { opacity: 1; transform: none; }
 /* Trajetórias e ritmos independentes: flutuação contínua após o reveal. */
 .av-card { --float-x: 7px; --float-y: -18px; --float-tilt: 1deg; }
 .av-card-0 { --float-time: 5.6s; --float-delay: -1.2s; }
 .av-card-1 { --float-time: 7.2s; --float-delay: -3.6s; --float-x: -8px; --float-y: -23px; --float-tilt: -1.2deg; }
 .av-card-2 { --float-time: 6.4s; --float-delay: -2.4s; --float-x: 5px; --float-y: -16px; --float-tilt: -.7deg; }
 .av-card.is-in .av-float { animation: av-float-orbit var(--float-time) ease-in-out var(--float-delay) infinite; transform-origin: center; }
 @keyframes av-float-orbit {
   0%, 100% { transform: translate3d(0,0,0) rotate(0deg); }
   35% { transform: translate3d(var(--float-x),var(--float-y),0) rotate(var(--float-tilt)); }
   70% { transform: translate3d(calc(var(--float-x) * -.5),calc(var(--float-y) * .45),0) rotate(calc(var(--float-tilt) * -.4)); }
 }
 @media (max-width: 1100px) {
   .av-card { --float-x: 3px; --float-y: -8px; --float-tilt: .4deg; }
   .av-card-1 { --float-x: -3px; --float-y: -10px; --float-tilt: -.4deg; }
   .av-card-2 { --float-x: 2px; --float-y: -6px; --float-tilt: -.25deg; }
 }
}
}
@media (max-width: 1100px) and (min-width: 701px) {
 .av-hero { grid-template-columns: 46% 54%; }
 .av-copy { padding-top: 65px; }
 .av-intro { padding-right: 20px; font-size: 15px; }
 .av-scroll { margin-top: 30px; }
 .av-card { width: 145px; }
 .av-card-0 { left: 0; top: 3%; }
 .av-card-1 { right: 2%; top: 46%; }
 .av-card-2 { bottom: 0; left: 0; width: 215px; }
 .av-float { padding: 15px; }
 .av-card h2 { font-size: 10px; }
 .av-card p { font-size: 12px; }
}
@media (max-width: 700px) {
 .av-hero { display: flex; flex-direction: column; }
 .av-copy { padding: 44px var(--gut) 22px; }
 .av-intro { max-width: 520px; font-size: 16px; }
 .av-scroll { display: none; }
 .av-composition { margin-top: 8px; }
 .av-portrait { width: 92%; margin-inline: auto; padding: 0; }
 .av-lines { inset: 0 0 0 15%; }
 .av-card { width: 137px; }
 .av-card-0 { left: 4%; top: 3%; }
 .av-card-1 { right: 4%; top: 49%; }
 .av-card-2 { left: 4%; bottom: 1%; width: 215px; }
 .av-float { padding: 15px; border-radius: 13px; }
 .av-card svg { width: 24px; height: 24px; margin-bottom: 9px; }
 .av-card h2 { font-size: 10px; }
 .av-card p { font-size: 12px; }
 .av-rule { margin: 10px 0; }
}
@media (prefers-reduced-motion: reduce) {
 .av-page *, .av-page *::before { animation: none !important; transition: none !important; }
 .av-page [data-parallax] { transform: none !important; }
 .av-reveal { opacity: 1 !important; transform: none !important; }
}
/* A foto conserva toda a área original; linhas contornam a composição. */
.av-portrait { width: 94%; max-width: 680px; margin-inline: auto; }
.av-lines i:first-child { width: 110%; left: -5%; transform: none; }
.av-lines i { opacity: .45; }
body[data-page="vallen"] .top-menu { border-color: var(--line); }
body[data-page="vallen"] .top-menu i { background: var(--ink); }
@media (max-width: 700px) {
 .av-portrait { width: 92%; }
 .av-cards { position: relative; z-index: 4; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: -35px var(--gut) 0; }
 .av-card { position: relative; inset: auto; width: auto; }
 .av-card-2 { grid-column: 1 / -1; }
 .av-float { height: 100%; }
 .av-card-2 .av-float { display: grid; grid-template-columns: 26px 1fr; column-gap: 12px; align-items: center; }
 .av-card-2 svg { grid-row: 1 / 3; margin: 0; }
 .av-card-2 .av-rule { display: none; }
 .av-card-2 p { grid-column: 2; margin-top: 5px; }
}
@media (min-width: 701px) and (max-width: 1100px) {
 .av-cards { position: relative; z-index: 4; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: -30px 15px 25px; }
 .av-card { position: relative; inset: auto; width: auto; }
 .av-card-2 { grid-column: 1 / -1; }
 .av-float { height: 100%; }
 .av-card-2 svg { float: left; margin-right: 14px; }
 .av-card-2 .av-rule { display: none; }
 .av-card-2 p { margin-top: 8px; }
}
/* Mesmo Archivo 700 / 108% das seções .steps-h e .life-t do site. */
.av-copy h1 { margin: 30px 0 26px; font-family: var(--font-body); font-weight: 700; font-stretch: 108%; font-size: clamp(38px,4.5vw,72px); line-height: 1; letter-spacing: -.038em; max-width: 12ch; }
.av-copy h1 span { color: var(--gold-t); }
.av-conversation { position: relative; min-height: 170svh; border-top: 1px solid var(--line); background: var(--bone); }
.av-conversation-sticky { position: sticky; top: var(--top-h); min-height: 650px; height: calc(100svh - var(--top-h)); display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(25px,4vw,65px); max-width: 1500px; margin: auto; padding: 30px var(--gut); }
.av-notebook-scene { margin: 0; perspective: 1400px; padding: 20px; }
.av-notebook { position: relative; max-width: 440px; margin: auto; padding: 10px 10px 15px 20px; background: var(--graphite); border-radius: 6px 18px 18px 6px; transform: rotateX(9deg) rotateY(-13deg) rotateZ(-5deg); transform-style: preserve-3d; box-shadow: -2px 3px 0 #38342d, 2px 8px 0 var(--sand), 3px 12px 0 #cfc3b0, 4px 17px 0 var(--graphite), 15px 35px 45px -18px #17151250; }
.av-notebook::before { content: ''; position: absolute; left: 7px; inset-block: 8px; width: 5px; border-left: 1px solid #ffffff24; border-right: 1px solid #0008; border-radius: 4px; }
.av-book-page { position: relative; padding: clamp(22px,2.8vw,40px) clamp(20px,2.5vw,36px) 30px; background: linear-gradient(90deg,var(--sand),var(--paper) 7%,var(--paper) 97%,var(--bone)); border-radius: 2px 10px 10px 2px; }
.av-book-brand { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 25px; border-bottom: 1px solid var(--line); }
.av-book-brand img { width: 104px; height: auto; }
.av-book-brand > span { font-size: 9px; line-height: 1.6; color: var(--muted); }
.av-book-label { margin: 24px 0 10px; font-size: 9px; text-transform: uppercase; letter-spacing: .14em; color: var(--gold-t); }
.av-book-page h3 { font-family: var(--font-body); font-size: clamp(20px,2vw,28px); font-stretch: 108%; font-weight: 700; letter-spacing: -.035em; line-height: 1.1; }
.av-checklist { list-style: none; padding: 0; margin: 24px 0 0; }
.av-checklist li { display: flex; align-items: center; gap: 16px; padding: 19px 0; border-bottom: 1px solid var(--line); }
.av-check { flex: 0 0 25px; height: 25px; border: 1px solid var(--gold-d); border-radius: 5px; color: var(--paper); background: var(--gold-t); }
.av-check svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.av-check path { stroke-dasharray: 1; stroke-dashoffset: 0; }
.av-checklist b { display: block; font-size: 14px; font-weight: 650; line-height: 1.3; }
.av-checklist li div > span { display: block; font-size: 11px; color: var(--muted); line-height: 1.5; margin-top: 4px; }
.av-book-note { margin-top: 24px; font-size: 10px; color: var(--gold-t); line-height: 1.5; }
.av-book-ribbon { position: absolute; z-index: -1; bottom: -32px; right: 45px; width: 22px; height: 38px; background: var(--gold-d); clip-path: polygon(0 0,100% 0,100% 100%,50% 80%,0 100%); }
.av-notebook-scene figcaption { text-align: center; margin-top: 60px; font-size: 11px; color: var(--muted); letter-spacing: .06em; }
.av-conversation-copy h2 { font-family: var(--font-body); font-stretch: 108%; font-weight: 700; font-size: clamp(32px,4.1vw,62px); line-height: 1.02; letter-spacing: -.035em; margin: 26px 0; }
.av-conversation-copy h2 span { color: var(--gold-t); }
.av-conversation-copy > p:not(.av-kicker) { max-width: 440px; font-size: 17px; line-height: 1.65; color: var(--muted); margin-bottom: 22px; }
.av-conversation-copy .av-conversation-invite { font-size: 15px; }
.av-conversation-copy .btn-dark { margin-top: 8px; }
@media (prefers-reduced-motion: no-preference) {
 .av-conversation.is-scroll-ready .av-notebook { transform: rotateX(calc(9deg - var(--book-progress,0)*7deg)) rotateY(calc(-13deg + var(--book-progress,0)*11deg)) rotateZ(calc(-5deg + var(--book-progress,0)*4deg)); }
 .av-conversation.is-scroll-ready .av-check { background: transparent; transition: background .35s; }
 .av-conversation.is-scroll-ready .av-check path { stroke-dashoffset: 1; transition: stroke-dashoffset .55s var(--e-out); }
 .av-conversation.is-scroll-ready .is-checked .av-check { background: var(--gold-t); }
 .av-conversation.is-scroll-ready .is-checked .av-check path { stroke-dashoffset: 0; }
}
@media (max-width: 1100px) and (min-width: 701px) {
 .av-copy h1 { font-size: 4.7vw; }
 .av-conversation-sticky { gap: 20px; padding-inline: 20px; }
 .av-notebook-scene { padding: 10px; }
 .av-book-page { padding-inline: 22px; }
 .av-conversation-copy > p:not(.av-kicker) { font-size: 15px; }
}
@media (max-width: 700px) {
 .av-copy h1 { font-size: clamp(34px,9vw,58px); margin: 25px 0 20px; max-width: 15ch; }
 .av-conversation { margin-top: 25px; min-height: 190svh; }
 .av-conversation-sticky { min-height: 0; grid-template-columns: 1fr; align-content: center; gap: 22px; padding: 24px var(--gut) 30px; }
 .av-conversation-copy { grid-row: 1; }
 .av-conversation-copy h2 { font-size: clamp(27px,7.4vw,38px); margin: 12px 0; }
 .av-conversation-copy > p:not(.av-kicker) { font-size: 14px; line-height: 1.5; margin-bottom: 10px; }
 .av-conversation-copy .av-conversation-invite { display: none; }
 .av-conversation-copy .btn-dark { min-height: 48px; font-size: 14px; margin-top: 4px; }
 .av-notebook-scene { padding: 0 16px; }
 .av-notebook { max-width: 330px; padding: 6px 6px 10px 14px; }
 .av-book-page { padding: 18px 20px; }
 .av-book-brand { padding-bottom: 12px; }
 .av-book-brand img { width: 85px; }
 .av-book-brand > span { font-size: 8px; }
 .av-book-label { margin: 12px 0 6px; font-size: 8px; }
 .av-book-page h3 { font-size: 20px; }
 .av-checklist { margin-top: 10px; }
 .av-checklist li { padding: 10px 0; gap: 12px; }
 .av-checklist b { font-size: 12px; }
 .av-checklist li div > span { font-size: 10px; }
 .av-book-note { font-size: 9px; margin-top: 12px; }
 .av-notebook-scene figcaption { margin-top: 36px; font-size: 10px; }
}
/* Em telas baixas ou com movimento reduzido, fluxo natural sem prender conteúdo. */
@media (max-height: 750px), (prefers-reduced-motion: reduce) {
 .av-conversation { min-height: 0; }
 .av-conversation-sticky { position: relative; top: auto; height: auto; min-height: 0; padding-block: 60px; }
}
@media (prefers-reduced-motion: reduce) {
 .av-notebook { transform: none; }
}
