/* ============================================================
   WOOW WEB — sistema visual (ref. Artfolio)
   Backdrop gradiente vívido + container escuro arredondado,
   Inter Tight/Inter + Playfair Display italic alternando,
   liquid glass vivo, cards com blur progressivo.
   ============================================================ */

:root {
  --bg-page: #0b0b0c;
  --bg-card: #131315;
  --bg-card-2: #17171a;
  --ink: #f4f4f2;
  --gray: #a8a8ab;
  --gray-2: #77777b;
  --border: rgba(255, 255, 255, 0.08);
  --border-2: rgba(255, 255, 255, 0.14);
  --chartreuse: #e7edc2;
  --lilac: #dcC9f2;
  --silver: #c3c7cd;
  --glass-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.07) 58%, rgba(255, 255, 255, 0.14));
  --glass-border: rgba(255, 255, 255, 0.3);
  --font-sans: "Inter Tight", "Inter", -apple-system, sans-serif;
  --font-ui: "Inter", -apple-system, sans-serif;
  --font-serif: "Playfair Display", Georgia, serif;
  --pad: clamp(1.1rem, 3.4vw, 3.4rem);
  --radius: clamp(18px, 2.4vw, 28px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }

body {
  font-family: var(--font-ui);
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
::selection { background: rgba(231, 237, 194, 0.28); color: #fff; }

/* ---------- Página container (fundo preto pleno, sem faixas) ---------- */
.page {
  position: relative;
  max-width: 1720px;
  margin: 0 auto;
  width: 100%;
  background: var(--bg-page);
  overflow: clip;
  isolation: isolate;
}
.page::before {
  /* grão global sutil dentro do container */
  content: ""; position: absolute; inset: 0; z-index: 90;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  background-size: 220px 220px;
  opacity: 0.03;
}

/* ---------- Tipografia base ---------- */
.serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
.acc { color: var(--chartreuse); }
.acc--lilac { color: var(--lilac); }
.acc--silver { color: var(--silver); }

.h-display {
  font-family: var(--font-sans);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--ink);
}
.h-display .serif { font-size: 1.02em; }

.s-tag {
  display: flex; align-items: baseline; gap: 10px;
  font-size: 0.85rem; color: var(--gray);
}
.s-tag i { font-style: normal; color: var(--gray-2); font-size: 0.8rem; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 80;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem;
  padding: 14px var(--pad);
  background: rgba(11, 11, 12, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}
.nav .logo { justify-self: start; }
.nav .nav__pill { justify-self: center; }
.nav .nav__right { justify-self: end; }
.logo {
  font-size: 1.5rem; line-height: 1;
  display: inline-flex; align-items: baseline;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.logo em { font-family: var(--font-serif); font-style: italic; font-weight: 500; margin-right: 1px; }
.logo b { font-family: var(--font-sans); font-weight: 600; }

.nav__pill {
  display: flex; align-items: center;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 5px;
  gap: 2px;
}
.nav__pill a {
  font-size: 0.84rem;
  color: var(--gray);
  padding: 8px 16px;
  border-radius: 99px;
  transition: color 0.25s ease, background 0.25s ease;
  white-space: nowrap;
}
.nav__pill a:hover { color: var(--ink); }
.nav__pill a.is-active {
  color: var(--ink);
  background: linear-gradient(180deg, #232326, #161618);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  margin: -1px;
}
.nav__right { display: flex; align-items: center; gap: 18px; }

.btn-pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 0.84rem; font-weight: 500;
  color: var(--ink);
  border: 1px solid var(--border-2);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02));
  border-radius: 99px;
  padding: 10px 22px;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
  white-space: nowrap;
}
.btn-pill:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, 0.32); }
.btn-pill--solid { background: var(--ink); color: #101012; border-color: var(--ink); font-weight: 500; }
.btn-pill--solid:hover { background: #fff; }

.nav__burger { display: none; width: 42px; height: 42px; border: 1px solid var(--border-2); border-radius: 50%; position: relative; flex: none; }
.nav__burger span {
  position: absolute; left: 12px; right: 12px; height: 1.5px;
  background: var(--ink);
  top: calc(50% - 4px);
  transition: transform 0.35s ease;
}
.nav__burger span:last-child { top: calc(50% + 3px); }
.nav__burger.is-open span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__burger.is-open span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.menu-overlay {
  position: fixed; inset: 0; z-index: 75;
  background: rgba(8, 8, 9, 0.9);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  display: grid; place-content: center; gap: 2.6rem;
  opacity: 0; visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.menu-overlay.is-open { opacity: 1; visibility: visible; }
.menu-overlay a.m-link {
  font-family: var(--font-sans);
  font-size: clamp(1.8rem, 8vw, 2.6rem);
  text-align: center;
  display: block;
  color: var(--ink);
  padding: 0.35rem 0;
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.menu-overlay.is-open a.m-link { opacity: 1; transform: none; }
.menu-overlay a.m-link em { font-family: var(--font-serif); font-style: italic; color: var(--chartreuse); }
.menu-overlay a.m-link:nth-child(2) { transition-delay: 0.05s; }
.menu-overlay a.m-link:nth-child(3) { transition-delay: 0.1s; }
.menu-overlay a.m-link:nth-child(4) { transition-delay: 0.15s; }
.menu-overlay a.m-link:nth-child(5) { transition-delay: 0.2s; }

/* ---------- Glass primitives (liquid glass vivo) ---------- */
.glass {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: blur(16px) saturate(185%) brightness(1.1);
  -webkit-backdrop-filter: blur(16px) saturate(185%) brightness(1.1);
  border: 1px solid var(--glass-border);
  box-shadow:
    0 10px 34px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 1px rgba(0, 0, 0, 0.12);
}
.chip-glass {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 500;
  color: #fff;
  border-radius: 99px;
  padding: 8px 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.08)), rgba(12, 12, 14, 0.3);
  backdrop-filter: blur(12px) saturate(170%) brightness(1.08);
  -webkit-backdrop-filter: blur(12px) saturate(170%) brightness(1.08);
  border: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 4px 14px rgba(0, 0, 0, 0.22);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

.circle-glass {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.08) 55%, rgba(255, 255, 255, 0.18));
  backdrop-filter: blur(10px) saturate(180%) brightness(1.14);
  -webkit-backdrop-filter: blur(10px) saturate(180%) brightness(1.14);
  border: 1px solid rgba(255, 255, 255, 0.38);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), inset 0 -6px 14px rgba(255, 255, 255, 0.08), 0 8px 26px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}
.circle-glass:hover { transform: scale(1.05); }

/* botão hero circular — liquid glass grande com "refração" */
.orb {
  position: absolute;
  width: clamp(120px, 12.5vw, 178px); height: clamp(120px, 12.5vw, 178px);
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-ui);
  font-size: 0.95rem; font-weight: 500; color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
  background: radial-gradient(58% 58% at 34% 30%, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.05) 62%),
              radial-gradient(80% 80% at 68% 82%, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.02) 66%);
  backdrop-filter: blur(7px) saturate(160%) brightness(1.08);
  -webkit-backdrop-filter: blur(7px) saturate(160%) brightness(1.08);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow:
    inset 0 2px 3px rgba(255, 255, 255, 0.5),
    inset 0 -14px 26px rgba(255, 255, 255, 0.14),
    inset 12px 22px 34px rgba(255, 255, 255, 0.1),
    0 18px 48px rgba(0, 0, 0, 0.4);
  transition: transform 0.35s cubic-bezier(0.34, 1.4, 0.5, 1);
}
.orb::before {
  content: ""; position: absolute; inset: 7%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-bottom-color: transparent; border-right-color: transparent;
  filter: blur(0.4px);
}
.orb:hover { transform: scale(1.06); }

/* ---------- HERO ---------- */
.hero { padding: clamp(0.5rem, 1.4vw, 1.2rem) var(--pad) 0; }
.hero__frame {
  position: relative;
  border-radius: clamp(14px, 1.8vw, 22px);
  overflow: hidden;
  aspect-ratio: 16 / 8.6;
  max-height: min(76vh, 820px);
  width: 100%;
  isolation: isolate;
}
.hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; }
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.hero__slide::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(185deg, rgba(8, 8, 10, 0.14) 0%, transparent 30%, rgba(8, 8, 10, 0.34) 58%, rgba(8, 8, 10, 0.92) 100%),
    radial-gradient(78% 70% at 16% 92%, rgba(8, 8, 10, 0.88) 0%, rgba(8, 8, 10, 0.52) 44%, rgba(8, 8, 10, 0.18) 66%, transparent 80%);
}
.hero__chip-inline { margin-bottom: 1.1rem; }
.hero__copy {
  position: absolute; left: clamp(1rem, 2.6vw, 2.4rem); bottom: clamp(1.4rem, 4vw, 3rem);
  z-index: 3;
  max-width: min(680px, 72%);
}
.hero__title {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(1.7rem, 4.3vw, 3.7rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}
.hero__title .serif { font-weight: 400; }
.hero__sub {
  margin-top: 1rem;
  font-size: clamp(0.82rem, 1.05vw, 0.95rem);
  color: rgba(255, 255, 255, 0.82);
  max-width: 42ch;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}
.hero .orb { right: clamp(1.6rem, 5%, 5.5rem); bottom: 16%; z-index: 4; }

.hero__author {
  position: absolute; top: clamp(0.9rem, 2vw, 1.6rem); right: clamp(0.9rem, 2vw, 1.6rem);
  z-index: 4;
  width: clamp(128px, 12vw, 168px);
  border-radius: 18px;
  padding: 7px;
}
.hero__author img { border-radius: 12px; aspect-ratio: 1 / 0.92; object-fit: cover; object-position: top center; }
.hero__author-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 6px;
  padding: 8px 4px 3px;
}
.hero__author-bar b { display: block; font-size: 0.76rem; font-weight: 600; color: #fff; line-height: 1.25; }
.hero__author-bar span { display: block; font-size: 0.66rem; color: rgba(255, 255, 255, 0.75); }
.hero__author-bar .circle-glass { width: 30px; height: 30px; flex: none; }
.hero__author-bar svg { width: 11px; height: 11px; }

.hero__dots {
  position: absolute; right: clamp(1rem, 2.4vw, 2.2rem); bottom: clamp(1.2rem, 2.6vw, 2rem);
  z-index: 4;
  display: flex; gap: 7px;
}
.hero__dots button {
  width: 26px; height: 9px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: background 0.3s ease, width 0.3s ease;
}
.hero__dots button.is-active { background: rgba(255, 255, 255, 0.92); width: 34px; }

/* ---------- Seções ---------- */
.section { padding: clamp(4rem, 9vh, 7rem) var(--pad); position: relative; }
.section__head { display: grid; gap: 1.4rem; margin-bottom: clamp(2.2rem, 5vh, 3.6rem); }
.section__head .h-display { font-size: clamp(1.65rem, 3.6vw, 3rem); max-width: 26ch; }
.section__head-row {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 2.5rem; flex-wrap: wrap;
}
.section__desc { font-size: 0.92rem; color: var(--gray); max-width: 46ch; }

/* ---------- SOBRE ---------- */
.about { position: relative; overflow: hidden; }
.about__glow {
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(56% 42% at 76% 92%, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
}
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.5fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.about__label { display: grid; gap: 0.5rem; align-content: start; }
.about__label .num { color: var(--gray-2); font-size: 0.85rem; }
.about__label .name { font-size: 1rem; }
.about__mark {
  margin-top: clamp(3rem, 10vh, 7rem);
  display: flex; align-items: center; gap: 12px;
  color: var(--gray-2); font-size: 0.78rem;
}
.about__mark .mini-logo {
  font-family: var(--font-serif); font-style: italic; font-weight: 500;
  font-size: 1rem; color: var(--gray);
  border-right: 1px solid var(--border-2);
  padding-right: 12px;
}
.about__statement {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(1.45rem, 2.9vw, 2.45rem);
  line-height: 1.3;
  letter-spacing: -0.015em;
  text-align: right;
}
.about__statement .grayed { color: var(--gray); }
.about__social-row {
  margin-top: 2.4rem;
  display: flex; flex-direction: column; align-items: flex-end; gap: 1.1rem;
}
.about__social-row .lbl { font-size: 0.82rem; color: var(--gray); padding-bottom: 1rem; border-bottom: 1px solid var(--border); width: 100%; text-align: left; }
.about__social-bar { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 42px; height: 42px;
  border: 1px solid var(--border-2);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015));
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.socials a:hover { transform: translateY(-3px); border-color: rgba(255, 255, 255, 0.34); }
.socials svg { width: 15px; height: 15px; }

.about__cols {
  margin-top: clamp(3.4rem, 8vh, 5.5rem);
  display: grid;
  grid-template-columns: minmax(0, 0.35fr) minmax(0, 1fr);
  gap: 1.5rem 3rem;
  max-width: 880px;
  margin-inline: auto;
}
.about__cols dt { color: var(--gray-2); font-size: 0.95rem; text-align: right; padding-top: 0.15rem; }
.about__cols dd { color: var(--gray); font-size: 0.95rem; max-width: 58ch; }
.about__cols dd + dt { margin-top: 1.4rem; }
.about__cols dd + dt + dd { margin-top: 1.4rem; }

/* ---------- SERVIÇOS ---------- */
.pillars {
  position: relative;
  border-radius: clamp(16px, 2vw, 26px);
  overflow: hidden;
  padding: clamp(1.6rem, 3.4vw, 3rem);
  isolation: isolate;
}
.pillars::before {
  content: ""; position: absolute; inset: -2%; z-index: -2;
  background:
    radial-gradient(75% 90% at 14% 8%, rgba(196, 214, 156, 0.92) 0%, rgba(124, 158, 96, 0.85) 34%, rgba(72, 106, 58, 0.9) 62%, rgba(38, 62, 34, 0.95) 100%),
    linear-gradient(120deg, #9fb478, #55703f 55%, #2c4423);
  filter: saturate(1.05);
}
.pillars::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    repeating-linear-gradient(112deg, rgba(255, 255, 255, 0.09) 0 2px, transparent 2px 7px, rgba(30, 50, 24, 0.1) 7px 9px, transparent 9px 16px),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23p)'/%3E%3C/svg%3E");
  background-size: auto, 190px 190px;
  opacity: 0.5;
  mix-blend-mode: overlay;
}
.pillars__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; margin-bottom: clamp(1.6rem, 3.5vw, 2.6rem); flex-wrap: wrap; }
.pillars__head .s-tag, .pillars__head .s-tag i { color: rgba(255, 255, 255, 0.85); }
.pillars__title {
  font-family: var(--font-sans); font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1.15; letter-spacing: -0.015em; color: #fff;
  margin-top: 0.5rem;
}
.pillars__title .serif { color: rgba(255, 255, 255, 0.92); }
.pillars__note { font-size: 0.88rem; color: rgba(255, 255, 255, 0.85); text-align: right; max-width: 24ch; }
.pillars__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(0.9rem, 1.8vw, 1.5rem); }
.pillar {
  border-radius: 20px;
  padding: 1.5rem 1.4rem;
  min-height: clamp(240px, 30vw, 330px);
  display: flex; flex-direction: column;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1) 55%, rgba(255, 255, 255, 0.16));
  backdrop-filter: blur(14px) saturate(150%) brightness(1.06);
  -webkit-backdrop-filter: blur(14px) saturate(150%) brightness(1.06);
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 14px 40px rgba(20, 34, 16, 0.25);
}
.pillar__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid; place-items: center;
  color: #fff;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.1));
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.pillar__icon svg { width: 22px; height: 22px; }
.pillar h3 { margin-top: auto; font-family: var(--font-sans); font-weight: 500; font-size: 1.12rem; color: #fff; padding-top: 4rem; }
.pillar p { font-size: 0.82rem; color: rgba(255, 255, 255, 0.85); margin-top: 0.4rem; max-width: 30ch; }

/* Facts (lista + card verde) */
.facts {
  margin-top: clamp(3.2rem, 7vh, 5rem);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.facts__list { list-style: none; }
.facts__intro { font-size: 1rem; color: var(--gray); max-width: 34ch; margin-bottom: 1.6rem; }
.facts__list li {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 1.1rem 0.2rem;
  border-bottom: 1px solid var(--border);
}
.facts__list li:first-of-type { border-top: 1px solid var(--border); }
.facts__list .f-ico {
  width: 34px; height: 34px; flex: none;
  border: 1px solid var(--border-2);
  border-radius: 10px;
  display: grid; place-items: center;
  color: var(--gray);
}
.facts__list .f-ico svg { width: 16px; height: 16px; }
.facts__list b { display: block; font-weight: 500; font-size: 0.98rem; }
.facts__list p { font-size: 0.82rem; color: var(--gray-2); max-width: 52ch; }
.facts__card {
  position: relative;
  border-radius: clamp(22px, 3vw, 40px);
  aspect-ratio: 1 / 0.92;
  overflow: hidden;
  isolation: isolate;
  display: grid; place-items: center;
}
.facts__card::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(70% 60% at 30% 22%, rgba(214, 232, 178, 0.95) 0%, rgba(142, 182, 108, 0.9) 38%, rgba(74, 118, 58, 0.92) 68%, rgba(34, 64, 32, 0.96) 100%);
}
.facts__card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.66' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  opacity: 0.42;
  mix-blend-mode: overlay;
}
.facts__plus {
  position: absolute;
  font-family: var(--font-sans); font-weight: 300;
  color: rgba(255, 255, 255, 0.5);
  filter: blur(10px);
  font-size: clamp(6rem, 12vw, 10rem);
  line-height: 1;
}
.facts__plus--1 { top: -4%; left: 6%; }
.facts__plus--2 { bottom: -8%; right: 8%; transform: rotate(14deg); }
.facts__disc {
  width: 74%; aspect-ratio: 1; border-radius: 50%;
  display: grid; place-content: center; text-align: center;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.12));
  backdrop-filter: blur(10px) brightness(1.06);
  -webkit-backdrop-filter: blur(10px) brightness(1.06);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 22px 60px rgba(24, 44, 18, 0.35);
}
.facts__disc strong {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  letter-spacing: -0.01em; line-height: 1; color: #fff;
}
.facts__disc span { font-size: 0.95rem; color: rgba(255, 255, 255, 0.9); margin-top: 8px; max-width: 18ch; margin-inline: auto; }
.facts__chip {
  position: absolute;
  padding: 7px 13px;
  border-radius: 99px;
  font-size: 0.74rem; font-weight: 500; color: #fff;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.12));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.44);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 8px 22px rgba(20, 40, 16, 0.3);
  white-space: nowrap;
}
.facts__chip small { display: block; font-weight: 400; font-size: 0.62rem; color: rgba(255, 255, 255, 0.78); }
.facts__chip--1 { top: 13%; right: 9%; }
.facts__chip--2 { left: 3%; top: 45%; }
.facts__chip--3 { bottom: 12%; right: 13%; }
.facts__chip--4 { top: 9%; left: 13%; }
.facts__chip--5 { bottom: 9%; left: 11%; }
.facts__chip--6 { top: 42%; right: 2%; }
.facts__chip--7 { bottom: 3%; left: 41%; }

/* ---------- PROJETOS ---------- */
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 1.8vw, 1.6rem); }
.pcard {
  position: relative;
  border-radius: clamp(16px, 1.8vw, 24px);
  overflow: hidden;
  aspect-ratio: 3 / 3.75;
  isolation: isolate;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
}
.pcard--wide { grid-column: span 2; aspect-ratio: auto; }
.pcard:hover { transform: translateY(-6px); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45); }
.pcard__img { position: absolute; inset: 0; z-index: 0; }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1); }
.pcard:hover .pcard__img img { transform: scale(1.045); }
.pcard__scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(190deg, rgba(10, 10, 12, 0.05) 42%, rgba(10, 10, 12, 0.16) 62%, rgba(10, 10, 12, 0.72) 100%);
}
.pcard__blur {
  position: absolute; left: 0; right: 0; bottom: 0; height: 46%;
  z-index: 1; pointer-events: none;
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  mask-image: linear-gradient(to top, black 0%, black 42%, transparent 100%);
  -webkit-mask-image: linear-gradient(to top, black 0%, black 42%, transparent 100%);
}
.pcard__link { position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.pcard__chip { position: absolute; top: 14px; left: 14px; z-index: 3; pointer-events: none; }
.pcard__meta {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  padding: clamp(1rem, 2vw, 1.4rem);
  pointer-events: none;
}
.pcard__meta h3 {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  letter-spacing: -0.01em;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 0.9rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}
.pcard__more {
  pointer-events: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  border-radius: 99px;
  padding: 9px 9px 9px 18px;
  font-size: 0.85rem; font-weight: 500; color: #fff;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.08));
  backdrop-filter: blur(14px) saturate(160%) brightness(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(160%) brightness(1.1);
  border: 1px solid rgba(255, 255, 255, 0.32);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: background 0.3s ease, border-color 0.3s ease;
}
.pcard__more:hover { border-color: rgba(255, 255, 255, 0.55); background: linear-gradient(135deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.12)); }
.pcard__more .circle-glass { width: 32px; height: 32px; }
.pcard__more svg { width: 12px; height: 12px; }

/* ---------- CTA ---------- */
.cta-final {
  position: relative;
  display: grid; justify-items: end; gap: 1rem;
  padding-top: clamp(4rem, 9vh, 7rem);
  padding-bottom: clamp(4rem, 9vh, 7rem);
  overflow: hidden;
}
.cta-final__lead { font-size: clamp(1.1rem, 2vw, 1.6rem); color: var(--gray-2); }
.cta-final .h-display { font-size: clamp(2.2rem, 5.4vw, 4.2rem); text-align: right; }
.cta-final .h-display .serif { color: var(--silver); }
.cta-final__link {
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: 0.8rem;
  font-size: 1rem; color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
  transition: gap 0.3s ease;
}
.cta-final__link:hover { gap: 18px; }
.cta-final__link .circle-glass { width: 34px; height: 34px; border-radius: 50%; }
.cta-final__link svg { width: 12px; height: 12px; }
.cta-final__seal {
  position: absolute; left: var(--pad); bottom: clamp(3rem, 8vh, 6rem);
  width: clamp(96px, 10vw, 140px); height: clamp(96px, 10vw, 140px);
}
.cta-final__seal svg { width: 100%; height: 100%; animation: seal-spin 22s linear infinite; }
.cta-final__seal text { font-size: 10.5px; letter-spacing: 2.6px; fill: var(--gray-2); text-transform: uppercase; }
.cta-final__seal .seal-mid {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--font-serif); font-style: italic; font-weight: 500;
  font-size: 1.5rem; color: var(--gray);
}
@keyframes seal-spin { to { transform: rotate(360deg); } }
.cta-final__mini { position: absolute; left: var(--pad); top: clamp(4rem, 9vh, 7rem); font-size: 0.8rem; color: var(--gray-2); }
.cta-final__mini-b { position: absolute; right: var(--pad); bottom: 1.4rem; font-size: 0.72rem; color: var(--gray-2); }

/* ---------- FOOTER ---------- */
.footer {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
  gap: clamp(0.9rem, 1.6vw, 1.4rem);
  padding: 0 var(--pad) clamp(1.2rem, 2.6vw, 2rem);
}
.footer__card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: clamp(16px, 2vw, 24px);
  padding: clamp(1.5rem, 3vw, 2.6rem);
  overflow: hidden;
  isolation: isolate;
  display: flex; flex-direction: column;
}
.footer__ghost {
  position: absolute; right: -3%; bottom: -22%;
  font-family: var(--font-serif); font-style: italic; font-weight: 500;
  font-size: clamp(9rem, 20vw, 17rem);
  line-height: 0.8;
  color: rgba(255, 255, 255, 0.035);
  pointer-events: none;
  z-index: 0;
}
.footer__card .logo { font-size: 1.4rem; }
.footer__mission {
  margin-top: 1.1rem;
  font-size: 0.95rem; color: var(--gray);
  max-width: 40ch;
  position: relative; z-index: 1;
}
.footer__mission .serif { color: var(--chartreuse); }
.footer__nav {
  margin-top: auto; padding-top: clamp(2.5rem, 6vh, 4rem);
  display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  position: relative; z-index: 1;
}
.footer__nav-pills { display: flex; flex-wrap: wrap; gap: 7px; }
.footer__nav-pills a {
  font-size: 0.78rem; color: var(--gray);
  border: 1px solid var(--border-2);
  border-radius: 99px;
  padding: 7px 15px;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.footer__nav-pills a:hover { color: var(--ink); border-color: rgba(255, 255, 255, 0.32); }
.footer__legal { font-size: 0.74rem; color: var(--gray-2); }
.footer__social-title { font-size: 1.05rem; font-weight: 500; line-height: 1.4; }
.footer__socials { margin-top: 1.2rem; }
.footer__news { margin-top: auto; padding-top: 2.5rem; }
.footer__news .lbl { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; color: var(--gray); margin-bottom: 0.8rem; }
.footer__news .lbl svg { width: 14px; height: 14px; }
.footer__news-form {
  display: flex; align-items: center; gap: 8px;
  border: 1px solid var(--border-2);
  border-radius: 99px;
  padding: 6px 6px 6px 18px;
  background: rgba(255, 255, 255, 0.03);
}
.footer__news-form input {
  flex: 1; min-width: 0;
  background: none; border: 0; outline: 0;
  color: var(--ink); font: inherit; font-size: 0.86rem;
}
.footer__news-form input::placeholder { color: var(--gray-2); }
.footer__news-form button {
  width: 36px; height: 36px; flex: none;
  border-radius: 50%;
  background: var(--ink); color: #101012;
  display: grid; place-items: center;
  transition: transform 0.3s ease;
}
.footer__news-form button:hover { transform: scale(1.08); }
.footer__news-form svg { width: 13px; height: 13px; }
.footer__fine { margin-top: 0.7rem; font-size: 0.68rem; color: var(--gray-2); }
.footer__fine a { text-decoration: underline; }

/* ---------- Página de detalhe (artigo) ---------- */
.article { padding: clamp(2.5rem, 6vh, 4.5rem) var(--pad) clamp(4rem, 8vh, 6rem); }
.crumbs { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--gray-2); flex-wrap: wrap; }
.crumbs a { color: var(--gray); transition: color 0.25s; }
.crumbs a:hover { color: var(--ink); }
.crumbs svg { width: 10px; height: 10px; }
.article__hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
  margin-top: clamp(1.6rem, 4vh, 3rem);
}
.article__title {
  font-family: var(--font-sans); font-weight: 400;
  font-size: clamp(1.9rem, 3.9vw, 3.3rem);
  line-height: 1.12; letter-spacing: -0.02em;
}
.article__author { display: flex; align-items: center; gap: 12px; margin-top: clamp(1.6rem, 4vh, 2.6rem); }
.article__avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  font-family: var(--font-serif); font-style: italic; font-weight: 500; font-size: 1rem;
  background: linear-gradient(150deg, #2a2a2e, #171719);
  border: 1px solid var(--border-2);
}
.article__author b { display: block; font-size: 0.9rem; font-weight: 500; }
.article__author span { display: block; font-size: 0.78rem; color: var(--gray-2); }
.article__cover { border-radius: clamp(14px, 1.8vw, 22px); overflow: hidden; border: 1px solid var(--border); }
.article__cover img { width: 100%; aspect-ratio: 16/10.5; object-fit: cover; object-position: top center; }
.article__body {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  margin-top: clamp(2.6rem, 6vh, 4.2rem);
}
.article__aside { position: sticky; top: 90px; align-self: start; display: grid; gap: 1.6rem; }
.article__share .lbl { font-size: 0.9rem; margin-bottom: 0.8rem; }
.toc {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.3rem 1.4rem;
}
.toc .lbl { font-size: 0.95rem; font-weight: 500; margin-bottom: 0.7rem; }
.toc ol { list-style: none; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a {
  display: flex; gap: 8px;
  font-size: 0.84rem; color: var(--gray);
  padding: 0.35rem 0;
  transition: color 0.25s;
}
.toc a::before { content: counter(toc) "."; color: var(--gray-2); }
.toc a:hover { color: var(--ink); }
.article__visit { width: 100%; justify-content: center; }
.article__content h2 { font-family: var(--font-sans); font-weight: 500; font-size: 1.35rem; letter-spacing: -0.01em; margin-bottom: 1rem; }
.article__content h3 { font-family: var(--font-sans); font-weight: 500; font-size: 1.12rem; margin: 2.2rem 0 0.8rem; }
.article__content p { color: var(--gray); margin-bottom: 1.1rem; font-size: 0.98rem; }
.article__content p .serif { color: var(--chartreuse); }
.article__content figure { margin: 1.8rem 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--border); }
.article__content figure img { width: 100%; object-fit: cover; }
.article__content figcaption { font-size: 0.74rem; color: var(--gray-2); padding: 0.7rem 1rem; background: var(--bg-card); }
.article__foot {
  margin-top: 2.6rem; padding-top: 1.6rem;
  border-top: 1px solid var(--border);
  display: flex; gap: 12px; flex-wrap: wrap;
}

/* ---------- Reveal helper ---------- */
[data-reveal] { will-change: transform, opacity; }

/* ---------- Responsivo ---------- */
@media (max-width: 1120px) {
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pcard--wide { grid-column: span 2; }
  .hero__frame { aspect-ratio: 16/10; }
  .hero .orb { right: 4%; bottom: 26%; }
}

@media (max-width: 900px) {
  .nav__pill { display: none; }
  .nav { grid-template-columns: auto 1fr; }
  .nav .nav__right { justify-self: end; }
  .nav__burger { display: block; }
  .about__grid { grid-template-columns: 1fr; }
  .about__statement { text-align: left; }
  .about__social-row { align-items: flex-start; }
  .about__mark { margin-top: 1.6rem; }
  .pillars__grid { grid-template-columns: 1fr; }
  .pillar { min-height: 0; }
  .pillar h3 { padding-top: 2.2rem; }
  .facts { grid-template-columns: 1fr; }
  .facts__card { max-width: 520px; margin-inline: auto; width: 100%; }
  .footer { grid-template-columns: 1fr; }
  .article__hero { grid-template-columns: 1fr; }
  .article__body { grid-template-columns: 1fr; }
  .article__aside { position: static; }
  .about__cols { grid-template-columns: minmax(0, 0.3fr) minmax(0, 1fr); }
}

@media (max-width: 640px) {
  body { font-size: 14.5px; }
  .hero { padding-top: 0.6rem; }
  .hero__frame { aspect-ratio: 4/5.4; max-height: none; }
  .hero__copy { max-width: 88%; bottom: 2.9rem; }
  .hero__dots { left: 50%; right: auto; transform: translateX(-50%); bottom: 0.8rem; }
  .hero__dots button { width: 14px; height: 7px; }
  .hero__dots button.is-active { width: 22px; }
  .hero__author { display: none; }
  .hero .orb { right: 6%; top: 9%; bottom: auto; width: 100px; height: 100px; font-size: 0.8rem; }
  .pgrid { grid-template-columns: 1fr; }
  .pcard--wide { grid-column: span 1; }
  .pcard { aspect-ratio: 3/3.6; }
  .pcard--wide { aspect-ratio: 3/3.6; }
  .cta-final { justify-items: start; }
  .cta-final .h-display { text-align: left; }
  .cta-final__seal { position: static; margin-top: 2rem; order: 5; }
  .cta-final__mini { position: static; order: -1; margin-bottom: 1rem; }
  .cta-final__mini-b { display: none; }
  .about__cols { grid-template-columns: 1fr; gap: 0.4rem 0; }
  .about__cols dt { text-align: left; }
  .about__cols dd + dt { margin-top: 1.2rem; }
  .footer__nav { flex-direction: column; align-items: flex-start; }
}

/* paisagem baixa */
@media (max-height: 500px) and (orientation: landscape) {
  .hero__frame { aspect-ratio: 16/8.6; max-height: none; }
  .hero__author { display: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cta-final__seal svg { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
