/* ITAPORANGA — catálogo institucional */
:root {
  --green: #0D2D1E;
  --terra: #9D4515;
  --beige: #DECEB1;
  --white: #FFFFFF;

  --green-80: rgba(13, 45, 30, .8);
  --green-60: rgba(13, 45, 30, .62);
  --line: rgba(13, 45, 30, .12);
  --line-soft: rgba(13, 45, 30, .07);
  --beige-soft: #F4EEE3;

  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --radius: 16px;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1280px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--green);
  font: 400 16px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; border-radius: 6px; }

.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--green); color: #fff; padding: 10px 16px; border-radius: 10px; transition: top .2s; }
.skip:focus { top: 12px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font: 600 12px/1 var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--terra);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.section-title { font-size: clamp(32px, 5vw, 56px); line-height: 1.05; font-weight: 600; margin-top: 16px; }

/* ── Botões ─────────────────────────────── */
.btn {
  --bg: var(--green); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  background: var(--bg); color: var(--fg); text-decoration: none; cursor: pointer;
  font: 600 15px/1 var(--font-body); letter-spacing: .01em;
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .3s, color .3s, border-color .3s;
}
.btn::after { /* varredura terracota */
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--terra);
  transform: translateY(101%); transition: transform .5s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -12px rgba(13, 45, 30, .5); }
.btn:hover::after { transform: translateY(0); }
.btn:active { transform: translateY(0) scale(.98); transition-duration: .1s; }
.btn svg { font-size: 18px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateY(3px); }
.btn--ghost { --bg: transparent; --fg: var(--green); border-color: var(--line); }
.btn--ghost:hover { color: #fff; border-color: var(--terra); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 14px; }

.link-arrow { font-weight: 600; font-size: 15px; text-decoration: none; position: relative; padding: 6px 0; }
.link-arrow::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--terra); transform: scaleX(.35); transform-origin: left; transition: transform .45s var(--ease); }
.link-arrow:hover::after { transform: scaleX(1); }

.icon-btn {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .92); color: var(--green);
  cursor: pointer; font-size: 20px; backdrop-filter: blur(6px);
  transition: transform .3s var(--ease), background-color .25s, color .25s, border-color .25s, opacity .25s;
}
.icon-btn:hover { background: var(--green); color: #fff; border-color: var(--green); transform: scale(1.06); }
.icon-btn:active { transform: scale(.94); }

/* ── Progresso e cabeçalho ──────────────── */
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--green), var(--terra)); transform-origin: left; transform: scaleX(var(--p, 0)); }

.header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .4s, box-shadow .4s;
}
.header.is-scrolled { border-color: var(--line-soft); box-shadow: 0 10px 30px -24px rgba(13, 45, 30, .45); }
.header__inner { max-width: var(--max); height: 100%; margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.header__brand img { height: 34px; width: auto; transition: transform .5s var(--ease); }
.header.is-scrolled .header__brand img { transform: scale(.92); transform-origin: left center; }
.header__nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 500; }
.header__nav > a:not(.btn) { text-decoration: none; position: relative; padding: 6px 0; }
.header__nav > a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--terra); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.header__nav > a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }

/* ── Hero ──────────────────────────────── */
.hero { position: relative; padding: clamp(28px, 6vw, 72px) var(--gutter) 0; overflow: hidden; }
.hero__weave { /* trama sutil inspirada no símbolo */
  position: absolute; top: 0; right: 0; width: min(46vw, 620px); height: 100%; z-index: -1; opacity: .5;
  background:
    repeating-linear-gradient(90deg, transparent 0 46px, rgba(157, 69, 21, .07) 46px 48px),
    repeating-linear-gradient(0deg, transparent 0 46px, rgba(13, 45, 30, .05) 46px 48px);
  mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%);
}
.hero__inner { max-width: var(--max); margin: 0 auto; display: grid; gap: clamp(28px, 4vw, 64px); align-items: center; }
.hero__title { font-size: clamp(40px, 7.4vw, 92px); line-height: .98; font-weight: 600; margin: 20px 0 22px; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero__title .line > span { display: inline-block; }
.hero__title em { font-style: normal; color: var(--terra); }
.hero__lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--green-80); max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 28px; margin-top: 32px; }

.hero__media { margin: 0; position: relative; perspective: 1200px; }
.hero__frame {
  position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 16 / 10;
  background: var(--beige-soft);
  box-shadow: 0 40px 80px -40px rgba(13, 45, 30, .45);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .8s var(--ease);
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; transform: scale(1.04) translate3d(var(--px, 0), var(--py, 0), 0); transition: transform 1s var(--ease); }
.hero__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(13, 45, 30, .35)); pointer-events: none; }
.hero__badge {
  position: absolute; left: 16px; bottom: 16px; z-index: 2;
  display: grid; gap: 2px; padding: 12px 16px; border-radius: 12px;
  background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px -14px rgba(13, 45, 30, .5);
}
.hero__badge-k { font: 600 11px/1.2 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--terra); }
.hero__badge-v { font: 600 14px/1.3 var(--font-display); }

.hero__stats {
  max-width: var(--max); margin: clamp(36px, 6vw, 72px) auto 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.stat { padding: 20px 8px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat__n { font: 600 clamp(26px, 4vw, 40px)/1 var(--font-display); }
.stat__l { margin-top: 6px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--green-60); }

/* Sequência de entrada do hero */
.js .hero__seq { opacity: 0; transform: translateY(24px); }
.js .hero__title .hero__seq { transform: translateY(105%); opacity: 1; }
.js .hero__frame { clip-path: inset(14% 10% 14% 10% round 22px); }
.js .hero__frame img { scale: 1.18; }
.js .hero__badge { opacity: 0; transform: translateY(12px); }
.is-ready .hero__seq, .is-ready .hero__title .hero__seq { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--d) * 110ms + 120ms); }
.is-ready .hero__frame { clip-path: inset(0 0 0 0 round 22px); transition: clip-path 1.4s var(--ease-in-out) .15s, transform .8s var(--ease); }
.is-ready .hero__frame img { scale: 1; transition: scale 1.8s var(--ease) .15s, transform 1s var(--ease); }
.is-ready .hero__badge { opacity: 1; transform: none; transition: opacity .8s var(--ease) 1.1s, transform .8s var(--ease) 1.1s; }
.js .header__brand img { opacity: 0; }
.is-ready .header__brand img { opacity: 1; transition: opacity 1s var(--ease), transform .5s var(--ease); }

/* ── Reveal ao rolar ───────────────────── */
.js .reveal { opacity: 0; transform: translateY(28px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }

/* ── Institucional ─────────────────────── */
.about { background: var(--beige-soft); padding: clamp(72px, 11vw, 140px) var(--gutter); margin-top: clamp(56px, 8vw, 110px); position: relative; }
.about::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: linear-gradient(90deg, var(--green) 0 60%, var(--terra) 60% 80%, var(--beige) 80%); }
.about__inner { max-width: var(--max); margin: 0 auto; display: grid; gap: 28px 64px; }
.about__lead { font: 300 clamp(22px, 2.8vw, 34px)/1.3 var(--font-display); letter-spacing: -.01em; }
.about__note { display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; padding: 10px 16px; border: 1px solid rgba(157, 69, 21, .35); border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--terra); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pillars { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 16px; grid-column: 1 / -1; }
.pillar {
  background: var(--white); border-radius: var(--radius); padding: 28px; border: 1px solid var(--line-soft);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), opacity .9s var(--ease);
}
.pillar:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -28px rgba(13, 45, 30, .4); }
.pillar__n { font: 600 13px/1 var(--font-display); color: var(--terra); letter-spacing: .1em; }
.pillar h3 { font-size: 24px; font-weight: 600; margin: 18px 0 8px; }
.pillar p { color: var(--green-80); font-size: 15px; }

/* ── Catálogo ──────────────────────────── */
.catalog { padding: clamp(72px, 11vw, 140px) var(--gutter); }
.catalog__inner { max-width: var(--max); margin: 0 auto; }
.catalog__head { max-width: 640px; }
.catalog__desc { margin-top: 16px; font-size: 17px; color: var(--green-80); }

.filters { display: grid; gap: 16px; margin-top: 40px; }
.search {
  display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 18px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--white);
  transition: border-color .25s, box-shadow .25s;
}
.search:focus-within { border-color: var(--green); box-shadow: 0 0 0 4px rgba(13, 45, 30, .08); }
.search svg { font-size: 20px; color: var(--green-60); flex: none; }
.search input { border: 0; outline: 0; flex: 1; min-width: 0; height: 100%; font: 400 16px var(--font-body); color: var(--green); background: transparent; }
.search input::placeholder { color: var(--green-60); }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 2px var(--gutter); }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; min-height: 42px; padding: 0 18px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: var(--white); font-size: 14px; font-weight: 500;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .2s;
}
.chip:hover { border-color: var(--green); }
.chip:active { transform: scale(.96); }
.chip[aria-pressed="true"] { background: var(--terra); border-color: var(--terra); color: #fff; }
.chip__n { font-size: 12px; opacity: .65; }
.results { margin: 24px 0 18px; font-size: 14px; color: var(--green-60); }
.results strong { color: var(--green); }

.grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }

.card {
  position: relative; background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0));
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .4s;
}
.card:hover { --ty: -4px; box-shadow: 0 30px 50px -30px rgba(13, 45, 30, .45); border-color: var(--line); }
.js .card.reveal { transform: translateY(32px); }
.card.reveal.is-in { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0)); transition: opacity .8s var(--ease), transform .8s var(--ease), box-shadow .6s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.card.reveal.is-in.is-settled { transition-delay: 0s; }

.card__media { position: relative; aspect-ratio: 4 / 3; background: var(--beige-soft); overflow: hidden; }
.card__track {
  display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  overscroll-behavior-x: contain; touch-action: pan-x pan-y;
}
.card__track::-webkit-scrollbar { display: none; }
.card__slide { flex: 0 0 100%; height: 100%; scroll-snap-align: start; position: relative; }
.card__slide img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity .6s; }
.card:hover .card__slide img { transform: scale(1.04); }
.img-fade { opacity: 0; }
.img-fade.is-loaded { opacity: 1; }
.card__open { position: absolute; inset: 0; z-index: 1; cursor: zoom-in; background: none; border: 0; }
.card__badge {
  position: absolute; top: 12px; left: 12px; z-index: 2; pointer-events: none;
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .92); font-size: 12px; font-weight: 600; backdrop-filter: blur(6px);
}
.card__badge svg { font-size: 14px; color: var(--terra); }
.card__nav { position: absolute; top: 50%; z-index: 2; translate: 0 -50%; width: 38px; height: 38px; font-size: 16px; opacity: 0; }
.card__nav--prev { left: 10px; } .card__nav--next { right: 10px; }
.card:hover .card__nav, .card__nav:focus-visible { opacity: 1; }
.card__nav[disabled] { opacity: 0 !important; pointer-events: none; }
.dots { position: absolute; bottom: 12px; left: 0; right: 0; z-index: 2; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.dots span { width: 6px; height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .65); box-shadow: 0 0 0 1px rgba(13, 45, 30, .15); transition: width .4s var(--ease), background-color .3s; }
.dots span.is-active { width: 20px; background: #fff; }

.card__body { padding: 20px 20px 22px; display: grid; gap: 6px; flex: 1; }
.card__cat { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--terra); }
.card__name { font: 600 19px/1.25 var(--font-display); }
.card__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 4px; font-size: 13px; color: var(--green-60); }
.card__meta b { font-weight: 600; color: var(--green); font-variant-numeric: tabular-nums; }
.card__more { margin-top: 12px; justify-self: start; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; background: none; border: 0; padding: 4px 0; cursor: pointer; }
.card__more svg { transition: transform .35s var(--ease); color: var(--terra); }
.card__more:hover svg { transform: translateX(4px); }

.img-error { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 8px; text-align: center; color: var(--green-60); font-size: 13px; background: repeating-linear-gradient(45deg, var(--beige-soft) 0 12px, #efe6d6 12px 24px); }
.img-error svg { font-size: 26px; color: var(--terra); }

.empty { text-align: center; padding: 64px 16px; display: grid; justify-items: center; gap: 10px; color: var(--green-80); }
.empty__title { font: 600 22px var(--font-display); color: var(--green); }
.empty .btn { margin-top: 12px; }

/* ── Modal / galeria ───────────────────── */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 0; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(8, 26, 17, .78); backdrop-filter: blur(6px); opacity: 0; transition: opacity .35s var(--ease); }
.modal__dialog {
  position: relative; width: 100%; height: 100%; background: var(--white); display: grid; grid-template-rows: minmax(0, 1fr) auto;
  opacity: 0; transform: translateY(24px) scale(.98); transition: opacity .35s var(--ease), transform .45s var(--ease); outline: none;
}
.modal.is-open .modal__backdrop { opacity: 1; }
.modal.is-open .modal__dialog { opacity: 1; transform: none; }
.modal__close { position: absolute; top: max(12px, env(safe-area-inset-top)); right: 12px; z-index: 5; }
.modal__stage { position: relative; overflow: hidden; background: #0f1a14; touch-action: pan-y; user-select: none; }
.modal__track { position: absolute; inset: 0; }
.m-slide { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 16px; transition: transform .5s var(--ease), opacity .45s var(--ease); }
.m-slide img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; transition: transform .45s var(--ease); cursor: zoom-in; }
.m-slide.is-zoomed img { cursor: zoom-out; }
.m-slide.enter-next { transform: translateX(8%); opacity: 0; }
.m-slide.enter-prev { transform: translateX(-8%); opacity: 0; }
.m-slide.leave-next { transform: translateX(-8%); opacity: 0; }
.m-slide.leave-prev { transform: translateX(8%); opacity: 0; }
.modal__arrow { position: absolute; top: 50%; translate: 0 -50%; z-index: 3; }
.modal__arrow--prev { left: 12px; } .modal__arrow--next { right: 12px; }
.modal__zoom { position: absolute; right: 12px; bottom: 12px; z-index: 3; }
.modal__zoom[aria-pressed="true"] { background: var(--terra); color: #fff; border-color: var(--terra); }
.modal__counter { position: absolute; left: 12px; bottom: 16px; z-index: 3; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .92); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.modal__info { padding: 20px var(--gutter) max(20px, env(safe-area-inset-bottom)); display: grid; gap: 8px; align-content: start; border-top: 1px solid var(--line-soft); }
.modal__title { font-size: clamp(22px, 3vw, 32px); font-weight: 600; line-height: 1.15; }
.specs { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 8px 0 4px; font-size: 14px; }
.specs dt { color: var(--green-60); }
.specs dd { margin: 0; font-weight: 600; }
.thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 6px; scrollbar-width: thin; scroll-snap-type: x proximity; }
.thumb { flex: none; width: 72px; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; padding: 0; border: 2px solid transparent; cursor: pointer; opacity: .55; scroll-snap-align: start; transition: opacity .25s, border-color .25s, transform .25s var(--ease); background: var(--beige-soft); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { opacity: .9; }
.thumb[aria-selected="true"] { opacity: 1; border-color: var(--terra); transform: translateY(-2px); }
.modal__cta { margin-top: 8px; }
.modal__cta::before { content: none; }
body.is-locked { overflow: hidden; }

/* ── WhatsApp ──────────────────────────── */
.wa {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 70;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #25D366; color: #fff; box-shadow: 0 14px 30px -10px rgba(13, 45, 30, .55);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), opacity .5s var(--ease);
}
.wa svg { width: 30px; height: 30px; stroke: none; }
.wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; opacity: 0; }
.js .wa { opacity: 0; transform: translateY(20px) scale(.8); }
.wa.is-in { opacity: 1; transform: none; }
.wa.is-in::before { animation: wa-ring 1.6s var(--ease) .4s 2; }
.wa:hover { transform: translateY(-3px); box-shadow: 0 18px 34px -10px rgba(13, 45, 30, .6); }
.wa__tip { position: absolute; right: calc(100% + 12px); white-space: nowrap; padding: 8px 12px; border-radius: 10px; background: var(--green); color: #fff; font-size: 13px; font-weight: 600; opacity: 0; transform: translateX(6px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease); }
.wa:hover .wa__tip, .wa:focus-visible .wa__tip { opacity: 1; transform: none; }
@keyframes wa-ring { 0% { opacity: .7; transform: scale(1); } 100% { opacity: 0; transform: scale(1.6); } }
body.modal-open .wa { opacity: 0; pointer-events: none; }

/* ── Rodapé ────────────────────────────── */
.footer { background: var(--green); color: #fff; padding: clamp(56px, 8vw, 96px) var(--gutter) 28px; position: relative; overflow: hidden; }
.footer::before { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; opacity: .08; background: repeating-linear-gradient(90deg, transparent 0 20px, var(--beige) 20px 24px), repeating-linear-gradient(0deg, transparent 0 20px, var(--terra) 20px 24px); border-radius: 50%; }
.footer__inner { max-width: var(--max); margin: 0 auto; display: grid; gap: 40px; position: relative; }
.footer__brand img { width: min(320px, 80%); height: auto; }
.footer__brand p { margin-top: 18px; color: var(--beige); font-size: 14px; letter-spacing: .04em; }
.footer__nav { display: grid; grid-template-columns: repeat(2, max-content); gap: 12px 40px; font-size: 15px; }
.footer__nav a { text-decoration: none; opacity: .85; transition: opacity .2s, color .2s; cursor: pointer; }
.footer__nav a:hover { opacity: 1; color: var(--beige); }
.footer__base { max-width: var(--max); margin: 48px auto 0; padding-top: 20px; border-top: 1px solid rgba(222, 206, 177, .2); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 13px; color: rgba(255, 255, 255, .7); }
.footer__muted { color: rgba(222, 206, 177, .7); }

/* ── Breakpoints ───────────────────────── */
@media (max-width: 639px) {
  :root { --header-h: 64px; }
  .header__brand img { height: 28px; }
  .header__nav > a:not(.btn) { display: none; }
  .hero { padding-top: 16px; }
  .hero__inner { gap: 24px; }
  .hero__media { order: -1; }
  .hero__frame { aspect-ratio: 16 / 11; border-radius: 18px; }
  .hero__title { margin-top: 14px; }
  .hero__actions { margin-top: 24px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .stat__l { font-size: 10px; letter-spacing: .08em; }
  .card__nav { display: none; }
  .modal__arrow { width: 40px; height: 40px; }
}
@media (min-width: 640px) {
  .pillars { grid-template-columns: repeat(3, 1fr); }
  .filters { grid-template-columns: minmax(240px, 360px) 1fr; align-items: center; }
  .chips { margin: 0; padding: 2px; flex-wrap: wrap; }
}
@media (min-width: 960px) {
  .hero__inner { grid-template-columns: 11fr 12fr; }
  .hero__title { font-size: clamp(48px, 5.6vw, 84px); }
  .about__inner { grid-template-columns: 5fr 7fr; align-items: end; }
  .footer__inner { grid-template-columns: 1fr auto; align-items: end; }
  .grid { gap: 24px; }
  .modal { padding: 32px; }
  .modal__dialog { max-width: 1200px; height: min(780px, 100%); border-radius: 20px; overflow: hidden; grid-template-rows: none; grid-template-columns: minmax(0, 1fr) 340px; box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .6); }
  .modal__info { border-top: 0; border-left: 1px solid var(--line-soft); padding: 72px 28px 28px; }
  .thumbs { flex-wrap: wrap; overflow: visible; }
  .thumb { width: 88px; }
  .modal__close { top: 16px; right: 16px; }
}

/* ── Movimento reduzido ────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal, .js .hero__seq, .js .hero__badge, .js .wa { opacity: 1; transform: none; }
  .js .hero__frame { clip-path: none; }
  .js .hero__frame img { scale: 1; }
  .card, .hero__frame { transform: none !important; }
}
