/* Base V3: eixos comuns, tipografia e atmosfera Amora. */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { font-size: clamp(100%, calc(75% + .25vw), 125%); scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; scrollbar-width: thin; scrollbar-color: rgba(151, 105, 74, .3) transparent; }
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(151, 105, 74, .25); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: rgba(151, 105, 74, .45); }
body { font-family: var(--font-sans); font-size: var(--fs-body); font-weight: 400; line-height: 1.65; color: var(--text); background-color: var(--paper); font-variant-numeric: lining-nums proportional-nums; font-feature-settings: "lnum" 1, "pnum" 1; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: -50%; z-index: var(--z-noise); pointer-events: none; opacity: .05; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E"); }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
::selection { background: var(--bronze); color: var(--cream); }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 400; line-height: 1.04; letter-spacing: -0.015em; color: var(--ink); text-wrap: balance; font-variant-numeric: lining-nums proportional-nums; font-feature-settings: "lnum" 1, "pnum" 1; }
h1 { font-size: var(--fs-display); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.25; letter-spacing: -0.01em; }
p { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
strong { font-weight: 600; color: var(--ink); }
em { font-style: italic; }
:focus-visible { outline: 2px solid var(--bronze-deep); outline-offset: 3px; border-radius: 2px; }
.skip-link { position: fixed; top: 14px; left: 14px; z-index: 500; padding: 12px 20px; background: var(--ink); color: var(--cream-on-dark); font-size: var(--fs-sm); font-weight: 500; border-radius: var(--r-pill); transform: translateY(-200%); transition: transform var(--t-fast) var(--ease-soft); }
.skip-link:focus { transform: translateY(0); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.container { width: min(var(--container), 100% - (var(--gutter) * 2)); margin-inline: auto; }
.section { padding-block: var(--sec); }
.section--tight { padding-block: var(--sec-sm); }
.section--paper2 { background: var(--paper-2); }
.section--dark { background: var(--dark); color: var(--cream-on-dark); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--cream-on-dark); }
.section--dark p { color: var(--muted-on-dark); }
.section--dark .label { color: var(--bronze-soft); }
.section-head { display: grid; grid-template-columns: 1fr; gap: 12px; align-items: start; margin-bottom: clamp(44px, 6vw, 76px); }
.section-head .label { padding-top: 0; }
.section-head h2 { max-width: 24ch; }
.lead { margin-top: 20px; max-width: 58ch; font-size: var(--fs-lead); line-height: 1.6; color: var(--muted); }
.label { display: inline-flex; align-items: flex-start; gap: 10px; font-family: var(--font-sans); font-size: var(--fs-label); font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--bronze-deep); }
.label::before { content: ""; width: 5px; height: 5px; flex: 0 0 5px; border-radius: 50%; background: currentColor; opacity: .75; margin-top: .48em; }
.orn-squiggle { display: block; width: 110px; height: 12px; color: var(--bronze); }
.orn-squiggle path { stroke: currentColor; stroke-width: 1.6; fill: none; stroke-linecap: round; }
.js .orn-squiggle path { stroke-dasharray: 140; stroke-dashoffset: 140; transition: stroke-dashoffset 1.6s var(--ease) .2s; }
.js .is-inview.orn-squiggle path, .js .is-inview .orn-squiggle path { stroke-dashoffset: 0; }
.media { position: relative; overflow: hidden; border-radius: var(--r-l); background: var(--paper-3); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--arch { border-radius: var(--r-arch); }
.media--portrait { aspect-ratio: 4 / 5; }
.media--tall { aspect-ratio: 3 / 4; }
.prose { max-width: 68ch; }
.prose > * + * { margin-top: 1.35em; }
.prose h2 { margin-top: 2.4em; font-size: clamp(1.7rem, 3vw, 2.3rem); }
.prose h3 { margin-top: 2em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .55em; }
.prose li::marker { color: var(--bronze); }
.prose blockquote { margin: 2.2em 0; padding-left: 26px; border-left: 2px solid var(--bronze); font-family: var(--font-serif); font-size: clamp(1.3rem, 2vw, 1.6rem); font-style: italic; line-height: 1.4; color: var(--ink); }
.prose a { color: var(--bronze-deep); text-decoration: underline; text-decoration-color: rgba(122, 82, 54, .4); text-underline-offset: 4px; transition: text-decoration-color var(--t-fast) var(--ease-soft); }
.prose a:hover { text-decoration-color: currentColor; }
.prose a[href^="mailto:"] { overflow-wrap: anywhere; }
.muted { color: var(--muted); }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 40px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
@media (max-width: 600px) {
  .btn-row { flex-direction: column; align-items: stretch; gap: 12px; width: 100%; }
  .btn-row .btn { width: 100%; justify-content: center; text-align: center; }
}
@property --px { syntax: "<length>"; inherits: true; initial-value: -900px; }
@property --py { syntax: "<length>"; inherits: true; initial-value: -900px; }
@property --mx { syntax: "<percentage>"; inherits: true; initial-value: 62%; }
@property --my { syntax: "<percentage>"; inherits: true; initial-value: 26%; }
@property --lr { syntax: "<number>"; inherits: true; initial-value: 1; }
html::after { content: ""; position: fixed; inset: 0; z-index: 390; pointer-events: none; opacity: 1; background: radial-gradient(calc(780px * var(--lr)) circle at var(--px) var(--py), rgba(255, 238, 209, .13), rgba(255, 246, 228, .05) 44%, transparent 70%),
    radial-gradient(calc(270px * var(--lr)) circle at var(--px) var(--py), rgba(255, 252, 243, .16), transparent 64%); transition: --px .6s var(--ease-soft), --py .6s var(--ease-soft), --lr .7s var(--ease-soft), opacity .7s var(--ease-soft); }
html.is-over-dark { --lr: 1.65; }
html.is-over-dark::after { opacity: .3; }
@media (hover: none), (pointer: coarse) {
  html::after { display: none; }
}
html::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(440px at 14% 38%, rgba(37, 28, 19, .045), rgba(37, 28, 19, .02) 58%, transparent 76%) 0 0 / 100% 100% no-repeat,
    radial-gradient(520px at 86% 90%, rgba(151, 105, 74, .05), transparent 74%) 0 0 / 100% 100% no-repeat; }
body::after { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background-image: url("../assets/images/amora-fruto.svg"),
    url("../assets/images/amora-tracos-1.svg"); background-repeat: no-repeat; background-position: left clamp(18px, 2.5vw, 42px) bottom clamp(24px, 5vh, 56px), right -150px bottom -140px; background-size: clamp(62px, 6.4vw, 96px) auto, clamp(420px, 46vw, 680px) auto; mask-image: linear-gradient(rgba(0, 0, 0, .05), rgba(0, 0, 0, .05)),
    radial-gradient(circle 500px at var(--px) var(--py), rgba(0, 0, 0, .08), rgba(0, 0, 0, 0) 70%); -webkit-mask-image: linear-gradient(rgba(0, 0, 0, .05), rgba(0, 0, 0, .05)),
    radial-gradient(circle 500px at var(--px) var(--py), rgba(0, 0, 0, .08), rgba(0, 0, 0, 0) 70%); transition: --px .5s var(--ease-soft), --py .5s var(--ease-soft); animation: amora-respira 24s ease-in-out infinite alternate; }
@keyframes amora-respira {
  from { opacity: .82; }
  to { opacity: 1; }
}
html.amora-live body::after { display: none; }
.amora { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; mask-image: linear-gradient(rgba(0, 0, 0, .05), rgba(0, 0, 0, .05)),
    radial-gradient(circle 500px at var(--px) var(--py), rgba(0, 0, 0, .08), rgba(0, 0, 0, 0) 70%); -webkit-mask-image: linear-gradient(rgba(0, 0, 0, .05), rgba(0, 0, 0, .05)),
    radial-gradient(circle 500px at var(--px) var(--py), rgba(0, 0, 0, .08), rgba(0, 0, 0, 0) 70%); transition: --px .5s var(--ease-soft), --py .5s var(--ease-soft); animation: amora-respira 24s ease-in-out infinite alternate; }
.amora__art { position: absolute; height: auto; }
.amora__art--fruto { left: clamp(18px, 2.5vw, 42px); bottom: clamp(24px, 5vh, 56px); width: clamp(62px, 6.4vw, 96px); aspect-ratio: 132 / 168; transform-origin: 50% 92%; animation: amora-fruto 19s ease-in-out infinite alternate; }
.amora__art--traco1 { right: -150px; top: auto; width: clamp(420px, 46vw, 680px); aspect-ratio: 430 / 560; bottom: -140px; }
@keyframes amora-fruto {
  from { transform: rotate(-1.1deg) translateY(0); }
  to { transform: rotate(1.1deg) translateY(-2px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .amora { animation: none; }
  .amora__art--fruto { animation: none; }
}
