/* Focus Flooring · site público (do protótipo aprovado). Fontes servidas pelo próprio site. */
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-latin-var.woff2") format("woff2"); font-weight: 300 800; font-display: swap; }
@font-face { font-family: "DM Mono"; src: url("../fonts/dm-mono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Mono"; src: url("../fonts/dm-mono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

/* Focus Flooring · protótipo da home
   Layout: inset hero card → light editorial sections → dark carded sections (services, footer).
   Brand: walnut #24100F · terracotta #752C1C · sand #EDE5DC · khaki #A39572 */
:root {
  --sand: #EDE5DC;
  --paper: #F5F0EA;
  --walnut: #24100F;
  --walnut-2: #321816;
  --terra: #752C1C;
  --terra-hot: #B8472A;
  --khaki: #A39572;
  --ink: #24100F;
  --muted: #6B5751;
  --on-dark: #EDE5DC;
  --on-dark-muted: #B9A79D;
  --rule-light: #24100F;
  --rule-dark: #EDE5DC;

  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Figtree", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "DM Mono", ui-monospace, Menlo, monospace;

  --container: 1440px;
  --pad: clamp(1rem, 4vw, 4rem);
  --gutter: clamp(.5rem, 1.2vw, 1rem);
  --radius-xl: clamp(18px, 2.4vw, 32px);
  --radius: clamp(12px, 1.4vw, 20px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
body { margin: 0; background: var(--sand); color: var(--ink); font: 400 17px/1.55 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
h1, h2, h3, p, figure, dl, dd, ol, ul, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sr-only:focus { position: fixed; top: 8px; left: 8px; width: auto; height: auto; clip: auto; z-index: 100; background: var(--paper); padding: 8px 12px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--pad); }
.mono { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.label { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--terra); }
.label--light { color: var(--khaki); }
.note { color: var(--muted); margin-top: 12px; font-size: 11px; }

/* type scale: display headings are uppercase Archivo, tight like the brand's poster type */
.t-heading, .t-heading-md, .t-display-sm, .hero__title {
  font-family: var(--f-display); font-weight: 500; font-stretch: 100%; text-transform: uppercase;
  letter-spacing: -.035em; line-height: .92; text-wrap: balance;
}
.t-heading { font-size: clamp(2.6rem, 7vw, 6.5rem); }
.t-heading-md { font-size: clamp(2.1rem, 4.6vw, 4.25rem); }
.t-display-sm { font-size: clamp(2.8rem, 8vw, 7.5rem); }

.mark { font-family: var(--f-display); font-weight: 800; font-stretch: 125%; letter-spacing: -.01em; line-height: 1; }
.mark-sub { font-family: var(--f-body); font-weight: 500; font-size: .5em; letter-spacing: .16em; }

/* dotted rule (1px dot every 9px) */
.rule-dotted { display: block; width: 100%; height: 2px; background-image: repeating-linear-gradient(to right, var(--rule-color, var(--rule-light)) 0 1.5px, transparent 1.5px 9px); opacity: .55; }
.rule-dotted--dark { --rule-color: var(--rule-dark); opacity: .4; }

/* ---------- buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; gap: .6rem; overflow: hidden; isolation: isolate; cursor: pointer; border: 0; white-space: nowrap; }
.btn--pill { border-radius: 999px; padding: .85rem 1.4rem; font-weight: 600; font-size: 15px; }
.btn__fill { position: absolute; inset: 0; z-index: -1; border-radius: inherit; transform: translateY(101%); transition: transform .5s var(--ease); }
.btn:hover .btn__fill, .btn:focus-visible .btn__fill { transform: translateY(0); }
.btn__label { position: relative; }
.btn__arrow { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .4s var(--ease); }
.btn:hover .btn__arrow { transform: translate(2px, -2px); }
.btn--accent { background: var(--terra); color: var(--sand); }
.btn--accent .btn__fill { background: var(--walnut); }
.btn--light { background: rgba(237, 229, 220, .16); color: var(--sand); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--light .btn__fill { background: var(--sand); }
.btn--light:hover { color: var(--walnut); }
.btn--light .btn__label { transition: color .3s; }

/* ---------- loader ---------- */
.loader { display: none; }
.anim-armed .loader { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; background: var(--sand); color: var(--walnut); }
/* Logo-abertura.svg (246x60): "FO" termina em x≈97, "CUS" começa em x≈100, letras até y≈36, "FLOORING" a partir de y≈48 */
.loader__logo { position: relative; width: min(62vw, 600px); aspect-ratio: 246 / 60; }
.loader__part { position: absolute; inset: 0; }
.loader__part img { display: block; width: 100%; height: 100%; }
.loader__part--left { clip-path: inset(0 59.7% 36% 0); }
.loader__part--right { clip-path: inset(0 0 36% 40.5%); }
.loader__part--sub { clip-path: inset(72% 0 0 0); }
.loader__window { position: absolute; left: 40.2%; top: -2%; height: 64%; width: 0; transform: translateX(-50%); border-radius: 8px; overflow: hidden; background: var(--walnut); }
.loader__window img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }

/* ---------- hero ---------- */
.hero { padding: var(--gutter); height: 100svh; min-height: 560px; }
.hero__card { position: relative; height: 100%; border-radius: var(--radius-xl); overflow: hidden; background: var(--walnut); color: var(--sand); display: flex; flex-direction: column; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__scrim { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(36,16,15,.55) 0%, rgba(36,16,15,0) 28%),
  linear-gradient(0deg, rgba(36,16,15,.82) 0%, rgba(36,16,15,.15) 55%, rgba(36,16,15,.05) 100%); }

.nav { position: relative; z-index: 3; display: flex; align-items: center; gap: 2rem; padding: clamp(1rem, 2vw, 1.6rem) clamp(1rem, 2.6vw, 2.25rem); }
.nav__brand { display: flex; align-items: center; }
.nav__brand img { height: clamp(17px, 1.75vw, 24px); width: auto; }
.nav__links { display: flex; gap: 1.8rem; margin-inline: auto; }
.nav__link { position: relative; font-size: 15px; font-weight: 500; padding-block: 6px; }
.nav__link .rule-dotted { position: absolute; left: 0; bottom: 0; --rule-color: var(--sand); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); opacity: .8; }
.nav__link:hover .rule-dotted { transform: scaleX(1); }
.nav__meta { display: flex; align-items: center; gap: 1.2rem; }
.nav__clock { color: rgba(237, 229, 220, .8); font-variant-numeric: tabular-nums; }
.nav__burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(237, 229, 220, .16); backdrop-filter: blur(10px); margin-left: auto; position: relative; }
.nav__burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--sand); transition: transform .35s var(--ease); }
.nav__burger span:first-child { top: 18px; } .nav__burger span:last-child { top: 25px; }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.hero__title { position: relative; z-index: 2; margin-top: auto; padding-inline: clamp(1rem, 2.6vw, 2.25rem); font-size: clamp(3.2rem, 10.4vw, 10.5rem); font-weight: 500; line-height: .86; }
.hero__line { display: block; }
.anim-armed .hero__line { overflow: clip; }
.hero__ink { display: block; padding-bottom: .04em; }
.anim-armed .hero__ink { transform: translate(0, 106%); }
.hero__foot { position: relative; z-index: 2; display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; padding: clamp(1.2rem, 2.4vw, 2rem) clamp(1rem, 2.6vw, 2.25rem) clamp(1rem, 2.6vw, 2.25rem); }
.hero__copy { display: grid; gap: 1rem; max-width: 34rem; }
.hero__lede { font-size: clamp(1.05rem, 1.5vw, 1.35rem); line-height: 1.4; color: rgba(237, 229, 220, .92); }
.hero__trust { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; color: rgba(237, 229, 220, .7); font-size: 11px; }
.hero__trust li { display: flex; align-items: center; gap: .5rem; }
.hero__trust li::before { content: ""; width: 5px; height: 5px; background: var(--terra-hot); border-radius: 50%; }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 1.5rem; row-gap: 3rem; padding-block: clamp(5rem, 11vw, 10rem) clamp(4rem, 8vw, 7rem); }
.about .label { grid-column: 1 / 4; }
.about__intro { grid-column: 7 / 13; font-size: clamp(1.05rem, 1.35vw, 1.25rem); line-height: 1.5; color: var(--ink); text-wrap: pretty; }
.about__heading { grid-column: 1 / 7; align-self: center; }
.about__frame { grid-column: 7 / 13; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--walnut); }
.about__frame img { width: 100%; height: 115%; object-fit: cover; filter: sepia(.25) saturate(.9); }
.about > .rule-dotted { grid-column: 1 / -1; }
.stats { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.stat { display: grid; gap: .5rem; align-content: start; }
.stat dt { color: var(--muted); }
.stat dd { font-family: var(--f-display); font-weight: 500; font-size: clamp(2.4rem, 4.4vw, 4rem); letter-spacing: -.04em; line-height: 1; color: var(--terra); font-variant-numeric: tabular-nums; }
.stat p { font-size: 15px; color: var(--muted); max-width: 22ch; }

/* ---------- carded dark sections ---------- */
.section--carded { padding: var(--gutter); }
.card { position: relative; border-radius: var(--radius-xl); }
.card--dark { background: var(--walnut); color: var(--on-dark); overflow: hidden; }

/* ---------- services ---------- */
.services__card { padding: clamp(1.5rem, 3.2vw, 2.75rem) 0; min-height: calc(100svh - 2 * var(--gutter)); display: flex; flex-direction: column; gap: 1.6rem; }
.services__head, .services__card > .rule-dotted, .services__foot { margin-inline: clamp(1.5rem, 3.2vw, 2.75rem); width: auto; }
.services__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; }
.services__head h2 { max-width: 13ch; }
.services__viewport { overflow-x: clip; overflow-y: visible; flex: 1; display: flex; align-items: center; padding-block: 1.5rem; }
.services__track { display: flex; align-items: flex-end; gap: clamp(1rem, 2vw, 1.75rem); padding-inline: clamp(1.5rem, 3.2vw, 2.75rem); will-change: transform; }
.scard { position: relative; flex: none; display: grid; gap: .9rem; }
.scard--xl { width: clamp(17rem, 36vw, 34rem); }
.scard--lg { width: clamp(16rem, 28vw, 27rem); }
.scard--md { width: clamp(15rem, 22vw, 21rem); }
.scard--sm { width: clamp(14rem, 17vw, 16.5rem); }
.scard__frame { display: block; border-radius: var(--radius); overflow: hidden; background: var(--walnut-2); }
.scard--xl .scard__frame { aspect-ratio: 5 / 3.4; }
.scard--lg .scard__frame { aspect-ratio: 4 / 4.2; }
.scard--md .scard__frame { aspect-ratio: 4 / 3; }
.scard--sm .scard__frame { aspect-ratio: 3 / 3.6; }
.scard__frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.scard:hover .scard__frame img { transform: scale(1.05); }
.scard__badge { position: absolute; top: .8rem; right: .8rem; width: 34px; height: 34px; border-radius: 9px; background: var(--terra-hot); color: var(--sand); display: grid; place-items: center; }
.scard__badge svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.scard__meta { display: grid; gap: .3rem; }
.scard__meta .mono { color: var(--khaki); }
.scard__meta h3 { font-family: var(--f-display); font-weight: 500; text-transform: uppercase; letter-spacing: -.01em; font-size: 1.15rem; line-height: 1.1; }
.scard__meta p { color: var(--on-dark-muted); font-size: 14.5px; max-width: 30ch; }
.services__foot { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.services__foot .mono { color: var(--khaki); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li { border: 1px solid rgba(237, 229, 220, .25); border-radius: 999px; padding: .4rem .9rem; font-size: 14px; }

/* ---------- work ---------- */
.work { padding-block: clamp(5rem, 10vw, 9rem) 0; }
.work__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 1.5rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); align-items: end; }
.work__head .label { grid-column: 1 / 4; padding-bottom: .6rem; }
.work__head h2 { grid-column: 4 / 13; text-align: right; }
.ba { position: relative; aspect-ratio: 16 / 8; border-radius: var(--radius-xl); overflow: hidden; background: var(--walnut); --pos: 50%; touch-action: pan-y; }
.ba__img, .ba__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__before img { filter: grayscale(.35) contrast(.95); }
.ba__tag { position: absolute; top: 1.1rem; padding: .45rem .8rem; border-radius: 999px; background: rgba(36, 16, 15, .7); color: var(--sand); backdrop-filter: blur(8px); }
.ba__tag--l { left: 1.1rem; } .ba__tag--r { right: 1.1rem; }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: var(--sand); transform: translateX(-50%); pointer-events: none; }
.ba__handle svg { position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; padding: 13px; border-radius: 50%; background: var(--sand); color: var(--walnut); transform: translate(-50%, -50%); fill: none; stroke: currentColor; stroke-width: 2; box-shadow: 0 6px 24px rgba(0,0,0,.25); }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba:has(.ba__range:focus-visible) .ba__handle svg { outline: 2px solid var(--terra-hot); outline-offset: 3px; }
.projects { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: clamp(1rem, 2vw, 1.5rem); margin-top: clamp(2rem, 4vw, 3rem); }
.pcard { display: grid; gap: .8rem; }
.pcard__frame { display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3.2; background: var(--walnut); }
.pcard:first-child .pcard__frame { aspect-ratio: 4 / 3.2; }
.pcard__frame img { width: 100%; height: 118%; object-fit: cover; transition: scale .9s var(--ease); }
.pcard:hover .pcard__frame img { scale: 1.04; }
.pcard__meta { display: flex; justify-content: space-between; gap: 1rem; color: var(--muted); }
.pcard__meta .mono:first-child { color: var(--ink); }

/* ---------- process ---------- */
.process { padding-block: clamp(5rem, 11vw, 10rem) 0; display: grid; gap: 2.5rem; }
.process__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 1.5rem; align-items: end; }
.process__head .label { grid-column: 1 / 4; padding-bottom: .6rem; }
.process__head h2 { grid-column: 4 / 13; text-align: right; }
.process__grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: end; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.4rem 2rem; }
.step { display: grid; grid-template-columns: auto 1fr; column-gap: .8rem; row-gap: .4rem; align-content: start; }
.step .mono { color: var(--terra); font-size: 14px; padding-top: .35rem; grid-row: span 2; }
.step h3 { font-size: 1.3rem; font-weight: 600; letter-spacing: -.01em; }
.step p { color: var(--muted); font-size: 15.5px; max-width: 28ch; }
.process__aside { font-size: 16.5px; color: var(--ink); text-align: justify; hyphens: auto; max-width: 34ch; }

/* ---------- promise ---------- */
.promise { padding-block: clamp(5rem, 11vw, 10rem) 0; display: grid; gap: 2.5rem; }
.promise h2 { max-width: 14ch; }
.promise__body { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: end; }
.promise__photo { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1 / 1.05; background: var(--walnut); max-width: 30rem; }
.promise__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.promise__photo figcaption { position: absolute; left: .8rem; bottom: .8rem; padding: .35rem .7rem; border-radius: 999px; background: rgba(237, 229, 220, .85); font-size: 10px; }
.promise__quote { display: grid; gap: 1.4rem; justify-items: end; text-align: right; }
.promise__quote p { font-size: clamp(1.4rem, 2.4vw, 2.2rem); line-height: 1.25; letter-spacing: -.015em; text-wrap: balance; max-width: 30ch; }
.promise__quote footer { color: var(--muted); }

/* ---------- faq ---------- */
.faq { padding-block: clamp(5rem, 11vw, 10rem) 0; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); }
.faq__head { display: grid; gap: 1.2rem; align-content: start; position: sticky; top: 2rem; align-self: start; }
.faq__list { display: grid; }
.qa { border-top: 2px dotted rgba(36, 16, 15, .35); }
.qa:last-child { border-bottom: 2px dotted rgba(36, 16, 15, .35); }
.qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.35rem 0; font-size: clamp(1.05rem, 1.5vw, 1.3rem); font-weight: 600; letter-spacing: -.01em; }
.qa summary::-webkit-details-marker { display: none; }
.qa__icon { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--paper); transition: background .3s, transform .45s var(--ease); }
.qa__icon::before, .qa__icon::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 1.6px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .45s var(--ease), background .3s; }
.qa__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa[open] .qa__icon { background: var(--terra); transform: rotate(180deg); }
.qa[open] .qa__icon::before, .qa[open] .qa__icon::after { background: var(--sand); }
.qa[open] .qa__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.qa summary:hover .qa__icon { background: var(--khaki); }
.qa__a { overflow: hidden; }
.qa__a p { padding: 0 3.5rem 1.5rem 0; color: var(--muted); max-width: 60ch; }

/* ---------- contact ---------- */
.contact { padding-block: clamp(5rem, 11vw, 10rem); display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 5rem); align-items: end; }
.contact__left { display: grid; gap: 1.8rem; }
.contact__info { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem 2rem; }
.contact__info li { display: grid; gap: .25rem; font-size: 16px; }
.contact__info .mono { color: var(--muted); }
.contact__info a { text-decoration: underline; text-decoration-color: rgba(36, 16, 15, .3); text-underline-offset: 4px; }
.contact__info a:hover { text-decoration-color: var(--terra); color: var(--terra); }
.quote { background: var(--paper); border-radius: var(--radius-xl); padding: clamp(1.4rem, 3vw, 2.4rem); display: grid; gap: 1.6rem; box-shadow: 0 1px 0 rgba(36,16,15,.04), 0 30px 60px -40px rgba(36,16,15,.4); }
.quote__label { color: var(--muted); margin-bottom: .8rem; }
.quote__chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.qchip { border: 1px solid rgba(36, 16, 15, .2); background: transparent; border-radius: 999px; padding: .55rem 1rem; font-size: 15px; cursor: pointer; transition: all .25s var(--ease); }
.qchip:hover { border-color: var(--terra); }
.qchip[aria-pressed="true"] { background: var(--walnut); border-color: var(--walnut); color: var(--sand); }
.quote__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.2rem; }
.field { display: grid; gap: .45rem; }
.field .mono { color: var(--muted); font-size: 11px; }
.field input { border: 0; border-bottom: 1.5px solid rgba(36, 16, 15, .25); background: transparent; padding: .5rem 0 .6rem; font-size: 17px; outline: none; transition: border-color .25s; border-radius: 0; }
.field input:focus { border-color: var(--terra); }
.field input::placeholder { color: rgba(107, 87, 81, .6); }
.quote__submit { justify-self: start; }
.quote__done { color: var(--terra); font-weight: 600; }

/* ---------- footer ---------- */
.footer__card { padding: clamp(1.5rem, 3.2vw, 2.75rem); display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); }
.footer__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 2rem; }
.footer__brand { display: grid; gap: 1.1rem; align-content: start; justify-items: start; }
.footer__brand img { height: 26px; width: auto; }
.footer__brand p { font-size: 15px; color: var(--on-dark-muted); max-width: 34ch; }
.footer__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px dashed rgba(237, 229, 220, .25); border-left: 1px dashed rgba(237, 229, 220, .25); }
.footer__grid a { position: relative; padding: .9rem 1rem; border-right: 1px dashed rgba(237, 229, 220, .25); border-bottom: 1px dashed rgba(237, 229, 220, .25); font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; transition: background .3s, color .3s; }
.footer__grid a::after { content: ""; position: absolute; top: 0; right: 0; border-style: solid; border-width: 0 10px 10px 0; border-color: transparent var(--terra-hot) transparent transparent; transition: border-width .35s var(--ease); }
.footer__grid a:hover { background: rgba(237, 229, 220, .06); }
.footer__grid a:hover::after { border-width: 0 16px 16px 0; }
.footer__word img { width: 100%; height: auto; }
.footer__bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; color: var(--on-dark-muted); font-size: 11px; }

/* ---------- header fixo em vidro (aparece depois do hero) ---------- */
.sticky { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 45; padding: .6rem var(--gutter) 0; pointer-events: none; }
.sticky__bar {
  max-width: var(--container); margin: 0 auto; display: flex; align-items: center; gap: 2rem;
  padding: .55rem .55rem .55rem 1.3rem; border-radius: 999px; pointer-events: auto;
  background: rgba(36, 16, 15, .58); color: var(--sand);
  backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5);
  border: 1px solid rgba(237, 229, 220, .14);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset, 0 18px 40px -24px rgba(36, 16, 15, .7);
  transform: translateY(-140%); transition: transform .7s var(--ease);
}
.sticky.is-on .sticky__bar { transform: none; }
.sticky__brand img { height: 20px; width: auto; display: block; }
.sticky__links { display: flex; gap: 1.6rem; margin-inline: auto; }
.sticky__links .nav__link { font-size: 14.5px; }
.sticky__cta { padding: .7rem 1.2rem; font-size: 14px; }
.sticky__burger { display: none; }

/* ---------- barra fixa inferior (mobile) ---------- */
.mbar { display: none; }

/* ---------- menu mobile ---------- */
.mmenu { position: fixed; inset: 0; z-index: 70; background: var(--walnut); color: var(--sand); display: flex; flex-direction: column; gap: 2rem; padding: calc(1.2rem + env(safe-area-inset-top, 0px)) var(--pad) calc(1.5rem + env(safe-area-inset-bottom, 0px)); }
.mmenu__top { display: flex; align-items: center; justify-content: space-between; }
.mmenu__top img { height: 20px; width: auto; }
.mmenu__links { display: grid; margin-top: auto; }
.mmenu__links a { font-family: var(--f-display); text-transform: uppercase; font-weight: 500; font-size: clamp(2.4rem, 11vw, 4rem); letter-spacing: -.03em; line-height: 1.05; border-bottom: 1px dashed rgba(237, 229, 220, .2); padding-block: .35rem; }
.mmenu__cta { justify-content: center; padding-block: 1rem; font-size: 16px; }
.mmenu__close, .modal__close { position: relative; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(237, 229, 220, .14); cursor: pointer; flex: none; }
.mmenu__close span, .modal__close span { position: absolute; left: 14px; right: 14px; top: 50%; height: 1.6px; background: currentColor; color: var(--sand); }
.mmenu__close span:first-child, .modal__close span:first-child { transform: rotate(45deg); }
.mmenu__close span:last-child, .modal__close span:last-child { transform: rotate(-45deg); }

/* ---------- popup de orçamento ---------- */
.modal { padding: 0; border: 0; background: transparent; max-width: none; max-height: none; width: 100%; height: 100%; color: var(--ink); overflow: hidden; }
.modal::backdrop { background: rgba(36, 16, 15, .45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal[open] { display: grid; place-items: center; }
.modal__panel {
  width: min(640px, calc(100% - 2rem)); max-height: calc(100svh - 2rem); overflow-y: auto; overscroll-behavior: contain;
  background: var(--paper); border-radius: var(--radius-xl); padding: clamp(1.4rem, 3vw, 2.2rem);
  box-shadow: 0 40px 80px -30px rgba(36, 16, 15, .55); display: grid; gap: 1.6rem;
}
.modal__head { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; }
.modal__head > div { display: grid; gap: .6rem; }
.modal__title { font-family: var(--f-display); font-weight: 500; text-transform: uppercase; letter-spacing: -.03em; line-height: .95; font-size: clamp(1.9rem, 4vw, 2.6rem); }
.modal__sub { color: var(--muted); font-size: 15px; }
.modal__close { background: var(--sand); }
.modal__close span { background: var(--ink); }
.modal__body .quote { background: none; box-shadow: none; padding: 0; border-radius: 0; }
html.modal-open { overflow: hidden; }

/* ---------- campo de fotos ---------- */
.upload { display: flex; align-items: center; gap: .9rem; padding: .9rem 1rem; border: 1.5px dashed rgba(36, 16, 15, .25); border-radius: 14px; cursor: pointer; transition: border-color .25s, background .25s; }
.upload:hover { border-color: var(--terra); background: rgba(117, 44, 28, .04); }
.upload input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload:focus-within { outline: 2px solid var(--terra); outline-offset: 2px; }
.upload svg { width: 22px; height: 22px; fill: none; stroke: var(--terra); stroke-width: 1.8; flex: none; }
.upload > span { display: grid; font-size: 15px; }
.upload__hint { color: var(--muted); font-size: 13px; }

/* ---------- animation armed states (set before first paint, released by JS) ---------- */
.anim-armed [data-anim="rise"], .anim-armed [data-anim="lines"] { opacity: 0; }
.anim-armed [data-anim="rule"] { transform: scaleX(0); transform-origin: 0 50%; }
.anim-armed [data-anim="pop"] { opacity: 0; transform: scale(.25); }
.split-line { display: block; overflow: clip; padding-bottom: .06em; margin-bottom: -.06em; }
.split-ink { display: block; will-change: transform; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__meta { margin-left: auto; }
  .sticky__links { display: none; }
  .sticky__cta { margin-left: auto; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .nav__meta { display: none; }
  .nav__burger { display: block; }
  .about { grid-template-columns: minmax(0, 1fr); row-gap: 2rem; }
  .about .label, .about__intro, .about__heading, .about__frame, .about > .rule-dotted, .stats { grid-column: 1 / -1; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.2rem; }
  .services__card { min-height: 0; }
  .services__viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .services__viewport::-webkit-scrollbar { display: none; }
  .scard { scroll-snap-align: start; scroll-margin-left: 1.5rem; }
  .scard--xl, .scard--lg, .scard--md, .scard--sm { width: min(78vw, 22rem); }
  .scard .scard__frame { aspect-ratio: 4 / 3.4 !important; }
  .services__head { flex-direction: column-reverse; gap: 1rem; }
  .work__head, .process__head { grid-template-columns: minmax(0, 1fr); row-gap: 1rem; }
  .work__head .label, .work__head h2, .process__head .label, .process__head h2 { grid-column: 1 / -1; text-align: left; }
  .ba { aspect-ratio: 4 / 3.4; }
  .projects { grid-template-columns: minmax(0, 1fr); }
  .process__grid, .promise__body, .faq, .contact, .footer__top { grid-template-columns: minmax(0, 1fr); }
  .process__aside { text-align: left; max-width: none; }
  .promise__quote { justify-items: start; text-align: left; }
  .faq__head { position: static; }
  .sticky__bar { padding: .5rem .5rem .5rem 1.1rem; }
  .sticky__cta { display: none; }
  .sticky__burger { display: block; margin-left: auto; }
  .mbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 44; display: flex; gap: .6rem; align-items: center;
    padding: .6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom, 0px));
    background: rgba(237, 229, 220, .72); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
    border-top: 1px solid rgba(36, 16, 15, .08);
    transform: translateY(110%); transition: transform .6s var(--ease);
  }
  .mbar.is-on { transform: none; }
  .mbar__call { width: 50px; height: 50px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--walnut); color: var(--sand); }
  .mbar__call svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
  .mbar__cta { flex: 1; justify-content: center; padding-block: 1rem; font-size: 16px; }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  .modal[open] { place-items: end center; }
  .modal__panel { width: 100%; max-height: 92svh; border-radius: var(--radius-xl) var(--radius-xl) 0 0; padding-bottom: calc(1.4rem + env(safe-area-inset-bottom, 0px)); }
  .hero { height: auto; min-height: 100svh; }
  .hero__card { height: auto; min-height: calc(100svh - 2 * var(--gutter)); }
  .hero__title { padding-top: 3rem; }
  .hero__foot { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .contact__info, .quote__grid { grid-template-columns: minmax(0, 1fr); }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__trust { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* =====================================================================
   PORTFÓLIO · seção Work da home, vídeos, página de projeto e lightbox
   ===================================================================== */
.work__intro { max-width: 46ch; color: var(--muted); font-size: 17px; margin: -1.5rem 0 2rem; }

/* cards de projeto */
.wcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); margin-top: clamp(2.5rem, 5vw, 4rem); }
.wcard { position: relative; display: grid; gap: 1rem; }
.wcard__frame { display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--walnut); }
.wcard__frame img { width: 100%; height: 116%; object-fit: cover; transition: scale .9s var(--ease); }
.wcard:hover .wcard__frame img { scale: 1.04; }
.wcard__badge { position: absolute; top: .9rem; right: .9rem; width: 40px; height: 40px; border-radius: 11px; background: var(--terra-hot); color: var(--sand); display: grid; place-items: center; transition: transform .5s var(--ease); }
.wcard__badge svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.wcard:hover .wcard__badge { transform: rotate(45deg); }
.wcard__meta { display: grid; gap: .45rem; }
.wcard__num { color: var(--terra); }
.wcard__title { font-family: var(--f-display); font-weight: 500; text-transform: uppercase; letter-spacing: -.02em; font-size: clamp(1.3rem, 2vw, 1.7rem); line-height: 1; }
.wcard__tags { display: flex; flex-wrap: wrap; gap: .35rem; }
.wcard__tags span { font-size: 13px; padding: .25rem .65rem; border-radius: 999px; border: 1px solid rgba(36, 16, 15, .18); color: var(--muted); }

/* vídeos verticais */
.reels { margin-top: clamp(4rem, 8vw, 7rem); }
.reels__card, .case-steps__card { padding: clamp(1.5rem, 3.2vw, 2.75rem); display: grid; gap: 1.6rem; }
.reels__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; }
.reels__head h2 { max-width: 14ch; }
.reels__track { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(13rem, 19vw, 17rem); gap: clamp(.8rem, 1.5vw, 1.2rem); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .6rem; scrollbar-width: thin; scrollbar-color: rgba(237, 229, 220, .25) transparent; }
.reels__track--light { scrollbar-color: rgba(36, 16, 15, .2) transparent; margin-top: 1.2rem; }
.reel { position: relative; scroll-snap-align: start; border-radius: var(--radius); overflow: hidden; aspect-ratio: 9 / 16; background: var(--walnut-2); }
.reel__video { width: 100%; height: 100%; object-fit: cover; }
.reel__cap { position: absolute; inset: auto 0 0 0; padding: 2.4rem .9rem .9rem; display: grid; gap: .25rem; font-size: 14px; line-height: 1.3; color: var(--sand); background: linear-gradient(0deg, rgba(36, 16, 15, .85), transparent); }
.reel__cap .mono { color: var(--khaki); font-size: 10.5px; }
.reel__cap .mono:empty { display: none; }
.reel::after { content: ""; position: absolute; top: .8rem; left: .8rem; width: 8px; height: 8px; border-radius: 50%; background: var(--terra-hot); box-shadow: 0 0 0 4px rgba(184, 71, 42, .25); opacity: 0; transition: opacity .3s; }
.reel.is-playing::after { opacity: 1; }

/* ---------- página de projeto ---------- */
.page-case .sticky__bar { transform: none; }
.page-case main { padding-top: 6rem; }
.case-hero { display: grid; gap: 1.4rem; padding-block: 2rem 0; }
.case-back { color: var(--muted); justify-self: start; }
.case-back:hover { color: var(--terra); }
.case-title { max-width: 16ch; }
.case-specs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem 1.5rem; padding-block: 1.4rem; border-block: 2px dotted rgba(36, 16, 15, .3); margin-top: 1rem; }
.case-specs dt { color: var(--muted); font-size: 11px; margin-bottom: .3rem; }
.case-specs dd { font-weight: 600; font-size: 15.5px; line-height: 1.35; }
.case-cover { border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 16 / 9; background: var(--walnut); margin-top: .6rem; }
.case-cover img { width: 100%; height: 100%; object-fit: cover; }

.case-story { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); padding-block: clamp(4rem, 8vw, 7rem); align-items: start; }
.case-story__cols { display: grid; gap: 2.2rem; }
.case-story__cols > div { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 1.5rem; padding-top: 1.2rem; border-top: 1px solid rgba(36, 16, 15, .14); }
.case-story__cols .mono { color: var(--terra); padding-top: .3rem; }
.case-story__cols p:not(.mono) { font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1.45; letter-spacing: -.005em; text-wrap: pretty; }
.case-story__side { display: grid; gap: 1.4rem; }
.case-exterior { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--walnut); }
.case-exterior img { width: 100%; height: 114%; object-fit: cover; }
.case-scope { display: grid; }
.case-scope li { padding: .7rem 0; border-bottom: 1px dashed rgba(36, 16, 15, .2); font-weight: 600; display: flex; gap: .7rem; align-items: center; }
.case-scope li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--terra); flex: none; }

.case-bas { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 26rem), 1fr)); gap: clamp(1rem, 2vw, 1.5rem); padding-bottom: clamp(4rem, 8vw, 7rem); }
.case-ba .ba { aspect-ratio: 3 / 4; border-radius: var(--radius); }

.csteps { display: grid; }
.cstep { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: clamp(1.5rem, 4vw, 4rem); padding-block: 2rem; border-bottom: 1px dashed rgba(237, 229, 220, .18); align-items: start; }
.cstep:last-child { border-bottom: 0; padding-bottom: 0; }
.cstep__text { display: grid; gap: .5rem; position: sticky; top: 6.5rem; }
.cstep__text .mono { color: var(--khaki); }
.cstep__text h3 { font-family: var(--f-display); font-weight: 500; text-transform: uppercase; letter-spacing: -.02em; font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1; }
.cstep__text p { color: var(--on-dark-muted); max-width: 30ch; }
.cstep__media { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(11rem, 1fr); gap: .8rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .4rem; scrollbar-width: thin; scrollbar-color: rgba(237, 229, 220, .25) transparent; }
.cstep__media > * { scroll-snap-align: start; }
.cstep__media .reel { aspect-ratio: 3 / 4; }
.lb-item { position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: var(--walnut-2); cursor: zoom-in; }
.cstep__media .lb-item { aspect-ratio: 3 / 4; }
.lb-item img { width: 100%; height: 100%; object-fit: cover; transition: scale .8s var(--ease); }
.lb-item:hover img { scale: 1.05; }

.case-reels { padding-top: clamp(4rem, 8vw, 7rem); }
.case-gallery { padding-block: clamp(4rem, 8vw, 7rem) 0; }
.masonry { columns: 3 16rem; column-gap: clamp(.8rem, 1.6vw, 1.2rem); }
.masonry__item { margin-bottom: clamp(.8rem, 1.6vw, 1.2rem); break-inside: avoid; }
.masonry__item img { height: auto; }

.case-cta { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(1rem, 2vw, 1.5rem); padding-block: clamp(4rem, 8vw, 7rem); }
.case-cta__box { background: var(--terra); color: var(--sand); border-radius: var(--radius-xl); padding: clamp(1.6rem, 4vw, 3rem); display: grid; gap: 1.2rem; align-content: end; min-height: 22rem; }
.case-cta__box p { color: rgba(237, 229, 220, .85); max-width: 40ch; }
.case-cta__box .btn { justify-self: start; background: var(--sand); color: var(--walnut); }
.case-cta__box .btn .btn__fill { background: var(--walnut); }
.case-cta__box .btn:hover { color: var(--sand); }
.case-cta__box .btn .btn__label { transition: color .3s; }
.case-next { position: relative; border-radius: var(--radius-xl); overflow: hidden; display: grid; align-content: end; gap: .4rem; padding: 1.6rem; color: var(--sand); min-height: 22rem; isolation: isolate; }
.case-next__img { position: absolute; inset: 0; z-index: -1; }
.case-next__img img { width: 100%; height: 100%; object-fit: cover; transition: scale .9s var(--ease); }
.case-next__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(36, 16, 15, .85), rgba(36, 16, 15, .1) 60%); }
.case-next:hover .case-next__img img { scale: 1.05; }
.case-next .mono { color: var(--khaki); }
.case-next__title { font-family: var(--f-display); font-weight: 500; text-transform: uppercase; letter-spacing: -.02em; font-size: clamp(1.6rem, 2.8vw, 2.4rem); line-height: 1; }

/* ---------- lightbox ---------- */
.lightbox { padding: 0; border: 0; width: 100%; height: 100%; max-width: none; max-height: none; background: rgba(23, 11, 10, .96); color: var(--sand); overflow: hidden; }
.lightbox::backdrop { background: transparent; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox__fig { display: grid; gap: .8rem; justify-items: center; padding: 4.5rem 4.5rem 3rem; max-width: 100%; max-height: 100%; }
.lightbox__img { max-width: 100%; max-height: calc(100svh - 9rem); width: auto; height: auto; border-radius: 10px; object-fit: contain; }
.lightbox__cap { color: var(--on-dark-muted); text-align: center; }
.lightbox__btn { position: absolute; top: 50%; translate: 0 -50%; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(237, 229, 220, .12); color: var(--sand); cursor: pointer; display: grid; place-items: center; transition: background .25s; }
.lightbox__btn:hover { background: rgba(237, 229, 220, .24); }
.lightbox__btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; }
.lightbox__prev { left: 1rem; } .lightbox__next { right: 1rem; }
.lightbox__close { position: absolute; top: 1rem; right: 1rem; background: rgba(237, 229, 220, .14); }
.lightbox__close span { background: var(--sand); }
.lightbox__count { position: absolute; top: 1.6rem; left: 1.4rem; color: var(--on-dark-muted); }

@media (max-width: 860px) {
  .wcards { grid-template-columns: minmax(0, 1fr); }
  .wcard__frame { aspect-ratio: 4 / 4.4; }
  .reels__head { flex-direction: column-reverse; gap: 1rem; }
  .reels__track { grid-auto-columns: 62vw; }
  .page-case main { padding-top: 5rem; }
  .case-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-cover { aspect-ratio: 4 / 5; }
  .case-story { grid-template-columns: minmax(0, 1fr); }
  .case-story__cols > div { grid-template-columns: minmax(0, 1fr); gap: .5rem; }
  .cstep { grid-template-columns: minmax(0, 1fr); gap: 1.2rem; }
  .cstep__text { position: static; }
  .cstep__media { grid-auto-columns: 64vw; }
  .case-cta { grid-template-columns: minmax(0, 1fr); }
  .case-cta__box, .case-next { min-height: 18rem; }
  .masonry { columns: 2; }
  .lightbox__fig { padding: 4rem .8rem 5rem; }
  .lightbox__img { max-height: calc(100svh - 10rem); }
  .lightbox__btn { top: auto; bottom: 1rem; translate: none; }
  .lightbox__prev { left: calc(50% - 60px); } .lightbox__next { right: calc(50% - 60px); }
}
.case-bas--home { padding-bottom: 0; }

/* ---------- troca rápida de projeto (páginas de projeto) ---------- */
.case-switch {
  position: fixed; left: 50%; bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); z-index: 43; translate: -50% 0;
  display: flex; align-items: center; gap: .25rem; padding: .35rem; border-radius: 999px; max-width: calc(100% - 2rem);
  background: rgba(36, 16, 15, .62); color: var(--sand); border: 1px solid rgba(237, 229, 220, .14);
  backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: 0 18px 40px -20px rgba(36, 16, 15, .7);
}
.case-switch svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.case-switch__home { display: flex; align-items: center; gap: .45rem; padding: .55rem .9rem .55rem .75rem; border-radius: 999px; background: var(--sand); color: var(--walnut); font-weight: 600; font-size: 14px; }
.case-switch__home:hover { background: #fff; }
.case-switch__arrow { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; flex: none; transition: background .25s; }
.case-switch__arrow:hover { background: rgba(237, 229, 220, .14); }
.case-switch__list { display: flex; gap: .15rem; overflow-x: auto; scrollbar-width: none; }
.case-switch__item { display: flex; align-items: center; gap: .45rem; padding: .5rem .85rem; border-radius: 999px; font-size: 14px; white-space: nowrap; color: rgba(237, 229, 220, .7); transition: background .25s, color .25s; }
.case-switch__item .mono { font-size: 11px; color: var(--khaki); }
.case-switch__item:hover { color: var(--sand); background: rgba(237, 229, 220, .08); }
.case-switch__item[aria-current="page"] { background: rgba(237, 229, 220, .16); color: var(--sand); }
.page-case .footer { padding-bottom: 5.5rem; }
@media (max-width: 860px) {
  .case-switch { bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
  .case-switch__home span { display: none; }
  .case-switch__home { padding: .55rem; }
  .case-switch__name { display: none; }
  .case-switch__item { padding: .5rem .7rem; }
  .page-case .footer { padding-bottom: 9rem; }
}

/* =====================================================================
   SERVICES · título centralizado, cards clicáveis e página de detalhe
   ===================================================================== */
.services__head { flex-direction: column; align-items: center; text-align: center; gap: 1.1rem; }
.services__head h2 { max-width: 16ch; font-size: clamp(2.4rem, 5.6vw, 5.2rem); }
.services__sub { color: var(--on-dark-muted); max-width: 44ch; font-size: clamp(1rem, 1.3vw, 1.15rem); }
.scard.is-link { cursor: pointer; }
.scard__hit { position: absolute; inset: 0; z-index: 2; border: 0; background: none; border-radius: var(--radius); cursor: pointer; }
.scard__hit:focus-visible { outline: 2px solid var(--sand); outline-offset: 4px; }
.scard__badge { z-index: 1; transition: transform .5s var(--ease), background .3s; }
.scard:hover .scard__badge, .scard:focus-within .scard__badge { transform: rotate(45deg); background: var(--sand); color: var(--walnut); }
.scard__meta h3 { transition: color .3s; }
.scard:hover .scard__meta h3 { color: #fff; }

html.svc-open { overflow: hidden; }
.svc { position: fixed; inset: 0; z-index: 65; background: var(--sand); color: var(--ink); }
.svc__scroll { height: 100%; overflow-y: auto; overscroll-behavior: contain; padding-bottom: 8rem; }
.svc__bar {
  position: sticky; top: 0; z-index: 3; display: flex; align-items: center; gap: 1rem;
  padding: calc(.75rem + env(safe-area-inset-top, 0px)) var(--pad) .75rem;
  background: rgba(237, 229, 220, .84); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid rgba(36, 16, 15, .08);
}
.svc__bar svg, .svc__dock svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.svc__home { display: flex; align-items: center; gap: .45rem; border: 0; cursor: pointer; padding: .6rem 1rem .6rem .8rem; border-radius: 999px; background: var(--walnut); color: var(--sand); font-weight: 600; font-size: 14px; flex: none; }
.svc__tabs { display: flex; gap: .3rem; overflow-x: auto; scrollbar-width: none; margin-inline: auto; padding: .1rem; }
.svc__tabs::-webkit-scrollbar { display: none; }
.svc__tab { border: 1px solid rgba(36, 16, 15, .16); background: transparent; border-radius: 999px; padding: .5rem .95rem; font-size: 14px; white-space: nowrap; cursor: pointer; transition: all .25s var(--ease); }
.svc__tab:hover { border-color: var(--terra); }
.svc__tab[aria-current="true"] { background: var(--terra); border-color: var(--terra); color: var(--sand); }
.svc__nav { display: flex; align-items: center; gap: .4rem; flex: none; }
.svc__count { color: var(--muted); margin-right: .3rem; font-variant-numeric: tabular-nums; }
.svc__arrow { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(36, 16, 15, .18); background: transparent; display: grid; place-items: center; cursor: pointer; transition: background .25s; }
.svc__arrow:hover { background: var(--paper); }
.svc__close { position: relative; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--walnut); cursor: pointer; }
.svc__close span { position: absolute; left: 13px; right: 13px; top: 50%; height: 1.6px; background: var(--sand); }
.svc__close span:first-child { transform: rotate(45deg); } .svc__close span:last-child { transform: rotate(-45deg); }

.svc__content { width: 100%; max-width: var(--container); margin: 0 auto; padding: clamp(1.5rem, 3vw, 2.5rem) var(--pad) 0; }
.svc__hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: end; }
.svc__img { border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 4 / 3.5; background: var(--walnut); }
.svc__img img { width: 100%; height: 100%; object-fit: cover; }
.svc__intro { display: grid; gap: 1.3rem; padding-bottom: .5rem; }
.svc__title { font-family: var(--f-display); font-weight: 500; text-transform: uppercase; letter-spacing: -.035em; line-height: .92; font-size: clamp(2.6rem, 5.4vw, 5.2rem); text-wrap: balance; }
.svc__lede { font-size: clamp(1.05rem, 1.4vw, 1.3rem); line-height: 1.45; max-width: 40ch; text-wrap: pretty; }
.svc__best { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.svc__best .mono { color: var(--muted); margin-right: .4rem; }
.svc__best span:not(.mono) { font-size: 14px; padding: .35rem .8rem; border-radius: 999px; background: var(--paper); }
.svc__intro .btn { justify-self: start; }

.svc__block { margin-top: clamp(3.5rem, 7vw, 6rem); padding-top: 1.6rem; border-top: 2px dotted rgba(36, 16, 15, .28); display: grid; gap: 1.8rem; }
.svc__block-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; }
.svc__block-head h2 { font-family: var(--f-display); font-weight: 500; text-transform: uppercase; letter-spacing: -.03em; line-height: .95; font-size: clamp(1.8rem, 3.4vw, 3rem); }
.svc__methods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.svc__method { background: var(--paper); border-radius: var(--radius); padding: 1.4rem; display: grid; gap: .6rem; align-content: start; }
.svc__method h3 { font-family: var(--f-display); font-weight: 600; text-transform: uppercase; letter-spacing: -.01em; font-size: 1.15rem; }
.svc__method p { color: var(--muted); font-size: 15.5px; }
.svc__diffs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.svc__diff { display: grid; gap: .55rem; align-content: start; }
.svc__diff .mono { color: var(--terra); font-size: 14px; }
.svc__diff h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -.01em; }
.svc__diff p { color: var(--muted); font-size: 15.5px; max-width: 34ch; }
.svc__split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.svc__incl { display: grid; }
.svc__incl li { display: flex; gap: .8rem; align-items: center; padding: .85rem 0; border-bottom: 1px dashed rgba(36, 16, 15, .2); font-weight: 500; }
.svc__incl li::before { content: ""; width: 20px; height: 20px; flex: none; border-radius: 50%; background: var(--terra) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23EDE5DC' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }
.svc__proj { position: relative; display: grid; align-content: end; gap: .35rem; min-height: 19rem; padding: 1.4rem; border-radius: var(--radius-xl); overflow: hidden; color: var(--sand); isolation: isolate; }
.svc__proj img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: scale .9s var(--ease); }
.svc__proj::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(36, 16, 15, .85), rgba(36, 16, 15, .05) 65%); }
.svc__proj:hover img { scale: 1.05; }
.svc__proj .mono { color: var(--khaki); }
.svc__proj strong { font-family: var(--f-display); font-weight: 500; text-transform: uppercase; font-size: clamp(1.4rem, 2.4vw, 2rem); letter-spacing: -.02em; line-height: 1; }
.svc__proj-cta { display: inline-flex; align-items: center; gap: .4rem; font-size: 14px; font-weight: 600; margin-top: .3rem; }
.svc__proj-cta svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.svc__proj-empty { background: var(--walnut); color: var(--sand); }
.svc__proj-empty p { color: var(--on-dark-muted); max-width: 32ch; }

.svc__dock {
  position: fixed; left: 50%; bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); translate: -50% 0; z-index: 4;
  display: flex; align-items: center; gap: .4rem; padding: .4rem; border-radius: 999px; max-width: calc(100% - 2rem);
  background: rgba(36, 16, 15, .7); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 18px 40px -20px rgba(36, 16, 15, .7);
}
.svc__cta { padding: .8rem 1.3rem; }
.svc__next { display: flex; align-items: center; gap: .55rem; border: 0; background: transparent; color: var(--sand); padding: .6rem .9rem; border-radius: 999px; cursor: pointer; font-weight: 600; font-size: 14.5px; white-space: nowrap; }
.svc__next .mono { color: var(--khaki); font-size: 11px; }
.svc__next:hover { background: rgba(237, 229, 220, .1); }
.svc-ghost { position: fixed; z-index: 66; overflow: hidden; pointer-events: none; background: var(--walnut); }
.svc-ghost img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 860px) {
  .services__head { flex-direction: column; }
  .svc__bar { flex-wrap: wrap; gap: .6rem; }
  .svc__home span, .svc__count { display: none; }
  .svc__home { padding: .6rem; }
  .svc__tabs { order: 3; flex-basis: 100%; margin: 0; }
  .svc__nav { margin-left: auto; }
  .svc__hero, .svc__split { grid-template-columns: minmax(0, 1fr); }
  .svc__img { aspect-ratio: 4 / 3.6; }
  .svc__methods, .svc__diffs { grid-template-columns: minmax(0, 1fr); }
  .svc__block-head { flex-direction: column; align-items: start; gap: .6rem; }
  .svc__dock { width: calc(100% - 1.5rem); justify-content: space-between; }
  .svc__cta { flex: 1; justify-content: center; }
  .svc__next-name { display: none; }
}

/* ---------- carrossel infinito de vídeos ---------- */
.reels__head--nav { flex-direction: row; align-items: flex-end; }
.reels__title { display: grid; gap: 1rem; }
.reels__nav { display: flex; gap: .6rem; flex: none; }
.reels__arrow { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; border: 1px solid rgba(237, 229, 220, .28); background: transparent; color: var(--sand); transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease); }
.reels__arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.reels__arrow:hover { background: var(--sand); color: var(--walnut); border-color: var(--sand); }
.reels__arrow:active { transform: scale(.94); }
.reels__arrow:focus-visible { outline: 2px solid var(--sand); outline-offset: 3px; }
.reels__track[data-carousel] { scrollbar-width: none; scroll-behavior: auto; }
.reels__track[data-carousel]::-webkit-scrollbar { display: none; }
@media (max-width: 860px) {
  .reels__head--nav { flex-direction: row; align-items: flex-end; gap: 1rem; }
  .reels__arrow { width: 44px; height: 44px; }
}

/* carrossel vai até a borda do card e some em degradê nas laterais, sem corte seco */
.reels__card { --card-pad: clamp(1.5rem, 3.2vw, 2.75rem); }
.reels__track[data-carousel] {
  margin-inline: calc(-1 * var(--card-pad));
  padding-inline: var(--card-pad);
  scroll-padding-inline: var(--card-pad);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--card-pad), #000 calc(100% - var(--card-pad) * 2.2), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 var(--card-pad), #000 calc(100% - var(--card-pad) * 2.2), transparent 100%);
}

/* ---------- carrossel: 5,5 vídeos no desktop e vídeo em destaque ao clicar ---------- */
.reels__track[data-carousel] {
  --gap: clamp(.8rem, 1.5vw, 1.2rem);
  gap: var(--gap);
  /* largura visível = card inteiro; cabem 5 vídeos e meio */
  grid-auto-columns: calc((100% + 2 * var(--card-pad) - 5 * var(--gap)) / 5.5);
  padding-block: 1.6rem;
  margin-block: -1.6rem;
}
@media (max-width: 1180px) { .reels__track[data-carousel] { grid-auto-columns: calc((100% + 2 * var(--card-pad) - 3 * var(--gap)) / 3.5); } }
@media (max-width: 860px) { .reels__track[data-carousel] { grid-auto-columns: 62vw; } }

.reel { transition: transform .6s var(--ease), filter .5s var(--ease), opacity .5s var(--ease), box-shadow .6s var(--ease); }
.reel__play { position: absolute; inset: 0; z-index: 2; border: 0; padding: 0; background: none; cursor: pointer; display: grid; place-items: center; border-radius: inherit; }
.reel__play > span { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: rgba(237, 229, 220, .9); color: var(--walnut); opacity: 0; transform: scale(.8); transition: opacity .35s, transform .45s var(--ease); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .5); }
.reel__play svg { width: 22px; height: 22px; fill: currentColor; margin-left: 3px; }
.reel:hover .reel__play > span, .reel__play:focus-visible > span { opacity: 1; transform: none; }
.reel__play:focus-visible { outline: 2px solid var(--sand); outline-offset: 3px; }
.reel__cap { z-index: 1; pointer-events: none; }
.reel__bar { position: absolute; left: .9rem; right: .9rem; bottom: .55rem; z-index: 3; height: 3px; border-radius: 3px; background: rgba(237, 229, 220, .25); overflow: hidden; opacity: 0; transition: opacity .3s; pointer-events: none; }
.reel__bar::after { content: ""; position: absolute; inset: 0; background: var(--sand); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform .25s linear; }

.has-focus .reel { filter: blur(5px) brightness(.5) saturate(.8); transform: scale(.94); }
.has-focus .reel.is-focus { filter: none; transform: scale(1.07); z-index: 2; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .8), 0 0 0 1.5px rgba(237, 229, 220, .35); }
.has-focus .reel:hover { filter: blur(3px) brightness(.62); }
.has-focus .reel.is-focus:hover { filter: none; }
.reel.is-focus .reel__bar { opacity: 1; }
.reel.is-focus .reel__play > span { opacity: 0; }
.reel.is-focus:hover .reel__play > span { opacity: 0; }
.reel.is-focus .reel__cap { padding-bottom: 1.4rem; }
.reel.is-focus::after { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .has-focus .reel, .has-focus .reel.is-focus { transform: none; } }
.reels__track[data-carousel].has-focus .reel { scroll-snap-align: center; }

/* =====================================================================
   AJUSTES · menu com seção ativa, About novo e números animados
   ===================================================================== */
/* menu: pílula sólida desliza até a seção em que a pessoa está */
.nav__links, .sticky__links { position: relative; gap: .2rem; align-items: center; }
.nav__links .nav__link, .sticky__links .nav__link {
  position: relative; z-index: 1; padding: .5rem .95rem; border-radius: 999px;
  color: rgba(237, 229, 220, .72); transition: color .35s var(--ease), background-color .35s var(--ease);
}
.nav__links .nav__link .rule-dotted, .sticky__links .nav__link .rule-dotted { display: none; }
.nav__links .nav__link:hover, .sticky__links .nav__link:hover { color: var(--sand); background-color: rgba(237, 229, 220, .1); }
.nav__links .nav__link.is-active, .sticky__links .nav__link.is-active { color: var(--walnut); background-color: transparent; }
.nav__pill {
  position: absolute; z-index: 0; left: 0; top: 50%; height: calc(100% - 2px); border-radius: 999px;
  width: var(--w, 0px); transform: translate(var(--x, 0px), -50%); opacity: var(--o, 0);
  background: var(--sand); box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .45);
  transition: transform .55s var(--ease), width .55s var(--ease), opacity .35s;
  pointer-events: none;
}

/* About: rótulo colado na headline */
.about__lead { grid-column: 1 / 7; grid-row: 1 / span 2; align-self: center; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.1rem; }
.about__kicker { white-space: nowrap; }
.about .about__kicker { grid-column: auto; font-size: 13px; }
.about__intro { grid-row: 1; }
.about__frame { grid-row: 2; }
.about__heading { font-size: clamp(2.2rem, 4.1vw, 4.2rem); line-height: .95; }
.about__frame img { filter: none; object-position: 50% 40%; }
.stat dd { display: block; }
.stat dd [data-count] { font-variant-numeric: tabular-nums; }
@media (max-width: 860px) {
  .about__lead { grid-column: 1 / -1; grid-row: auto; order: -1; }
  .about__intro, .about__frame { grid-row: auto; }
}

/* ---------- ícones dos métodos (Phosphor Light) ---------- */
.svc__method { gap: .75rem; transition: transform .5s var(--ease), box-shadow .5s var(--ease), background-color .4s; }
.svc__method:hover { transform: translateY(-4px); background: #F8F4EF; box-shadow: 0 22px 40px -28px rgba(36, 16, 15, .45); }
.svc__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: .35rem;
  background: rgba(117, 44, 28, .08); color: var(--terra); border: 1px solid rgba(117, 44, 28, .14);
  transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease), transform .5s var(--ease);
}
.svc__icon i { font-size: 28px; line-height: 1; }
.svc__method:hover .svc__icon { background: var(--terra); color: var(--sand); border-color: var(--terra); transform: rotate(-6deg); }

/* ícones nas etapas do processo (mesmo estilo dos métodos de serviço) */
.step__icon { grid-column: 1 / -1; margin-bottom: .6rem; }
.step:hover .step__icon { background: var(--terra); color: var(--sand); border-color: var(--terra); transform: rotate(-6deg); }
.promise__photo img { filter: none; object-position: 50% 30%; }


/* =====================================================================
   CMS · fotos em <picture>, lápis de edição (só para quem está logado no painel)
   ===================================================================== */
picture { display: contents; }
.edit-pencil {
  position: absolute; z-index: 30; top: 1rem; right: 1rem; display: inline-flex; align-items: center; gap: .4rem;
  padding: .45rem .8rem; border-radius: 999px; background: #fff; color: var(--walnut); font: 600 13px/1 var(--f-body);
  box-shadow: 0 8px 20px -10px rgba(36, 16, 15, .6); text-decoration: none; opacity: .9;
}
.edit-pencil:hover { opacity: 1; background: var(--sand); }
.edit-pencil .icon { width: 14px; height: 14px; }
.has-edit { position: relative; }

/* ============ Páginas de serviço e de cidade (CMS) ============ */
.svc-page__tabs { margin: 0 auto; justify-content: flex-start; padding-top: .4rem; }
.svc-page__tabs .svc__tab { text-decoration: none; color: inherit; }
.svc-page .svc__content { padding-top: clamp(1.2rem, 2.5vw, 2rem); }
.svc-page__cities { display: flex; flex-wrap: wrap; gap: .5rem; }
.svc-page__cities a { display: inline-block; padding: .55rem 1rem; border-radius: 999px; background: var(--paper); font-size: 15px; transition: background .25s var(--ease), color .25s var(--ease); }
.svc-page__cities a:hover { background: var(--terra); color: var(--sand); }
.city-body { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); padding-block: clamp(4rem, 8vw, 7rem); align-items: start; }
.city-body__text { display: grid; gap: 1.1rem; font-size: clamp(1.05rem, 1.3vw, 1.2rem); line-height: 1.6; max-width: 62ch; text-wrap: pretty; }
.city-body__side { display: grid; gap: .8rem; position: sticky; top: 7rem; }
.city-body__side > .mono { color: var(--muted); }
.city-services a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .8rem 0; border-bottom: 1px dashed rgba(36, 16, 15, .2); font-weight: 600; transition: color .25s var(--ease); }
.city-services a:hover { color: var(--terra); }
.city-services svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; flex: none; }
.city-cta { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 860px) {
  .city-body { grid-template-columns: minmax(0, 1fr); }
  .city-body__side { position: static; }
}

/* ============ Formulário de orçamento: envio e erros ============ */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field.is-err input { border-color: #b3261e; }
.field__err { color: #b3261e; font-size: 13px; }
.quote__err { color: #b3261e; font-weight: 600; }
.quote__submit:disabled { opacity: .75; cursor: progress; }
.quote.is-sent .quote__submit { cursor: default; opacity: 1; }
.quote.is-sent .qchip, .quote.is-sent input { opacity: .6; }

/* ============ Rodapé: serviços e cidades ============ */
.footer__more { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1.5rem 2rem; margin-top: 2rem; }
.footer__more .mono { color: var(--khaki); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .6rem; }
.footer__more ul { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }
.footer__more a { color: var(--on-dark-muted); font-size: 14px; transition: color .25s; }
.footer__more a:hover { color: var(--sand); }
.footer__cookies { background: none; border: 0; padding: 0; color: inherit; font: inherit; text-transform: inherit; letter-spacing: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* ============ Aviso de cookies ============ */
.consent { position: fixed; left: 1rem; bottom: 1rem; z-index: 80; max-width: 26rem; display: grid; gap: .9rem; padding: 1.1rem 1.2rem; border-radius: var(--radius); background: var(--walnut); color: var(--sand); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .5); font-size: 14px; }
.consent[hidden] { display: none; }
.consent a { text-decoration: underline; text-underline-offset: 3px; }
.consent__actions { display: flex; gap: .5rem; justify-content: flex-end; }
.consent .btn { padding-block: .55rem; }
.consent__no { background: transparent; color: var(--sand); border: 1px solid rgba(237, 229, 220, .35); }
@media (max-width: 860px) {
  .consent { left: .75rem; right: .75rem; max-width: none; bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
}

/* ============ Páginas de texto (privacidade, 404) ============ */
.text-page { padding-block: 1rem clamp(4rem, 8vw, 7rem); max-width: 52rem; }
.text-page__title { margin: 1.2rem 0 2rem; }
.prose { display: grid; gap: 1rem; font-size: clamp(1rem, 1.2vw, 1.1rem); line-height: 1.65; text-wrap: pretty; }
.prose h2 { font-family: var(--f-display); font-weight: 500; text-transform: uppercase; letter-spacing: -.02em; font-size: clamp(1.3rem, 2vw, 1.7rem); margin-top: 1.4rem; }
.prose a { color: var(--terra); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.2rem; display: grid; gap: .4rem; }
.prose ul { list-style: disc; } .prose ol { list-style: decimal; }
.text-page__updated { margin-top: 2.5rem; color: var(--muted); }
