/* ==========================================================================
   Ideia·App — Blog
   Identidade da casa em claro: papel branco, tinta azul-noite,
   gradiente violeta→ciano como acento. Space Grotesk + Inter.
   ========================================================================== */

@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-2.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-1.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2-variations"),
       url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* Tokens ------------------------------------------------------------------- */
:root {
  --void: #f7f8fc;
  --bg: #ffffff;
  --bg-2: #f4f6fc;
  --surface: #ffffff;
  --surface-2: #eef1f9;
  --text: #0a1226;
  --text-2: #333d59;
  --muted: #5f6a86;
  --violet: #5a45f0;
  --violet-deep: #392ac0;
  --cyan: #00869f;
  --magenta: #b82cb6;
  --violet-soft: #7b5cf5;
  --sand: #8a5a2b;
  --line: rgba(10, 18, 38, .11);
  --line-soft: rgba(10, 18, 38, .065);
  --line-strong: rgba(10, 18, 38, .18);
  --grad: linear-gradient(112deg, #6d55ff 0%, #5a45f0 45%, #0093ad 100%);
  --grad-warm: linear-gradient(112deg, #c22fc0 0%, #5a45f0 55%, #0093ad 100%);

  --f-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --f-sans: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --wrap: 1200px;
  --wrap-text: 730px;
  --gutter: clamp(1.15rem, 4.5vw, 2.9rem);
  --radius: 20px;
  --radius-lg: 30px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  overflow-x: clip;
  min-height: 100svh;
  background: var(--void);
  color: var(--text);
  font-family: var(--f-sans);
  font-size: clamp(1rem, .95rem + .18vw, 1.07rem);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1;
}

h1, h2, h3, h4 {
  margin: 0 0 .4em;
  font-family: var(--f-display);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -.035em;
  text-wrap: balance;
  color: var(--text);
}

p { margin: 0 0 1.15em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 1.15em; padding-left: 1.2em; }
li { margin-bottom: .5em; }
li:last-child { margin-bottom: 0; }
li::marker { color: var(--violet-soft); }

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

a {
  color: inherit;
  text-decoration-thickness: 1.5px;
  text-underline-offset: .2em;
  transition: color .18s ease;
}

a:hover { text-decoration-thickness: 2px; }

button, input { font: inherit; color: inherit; }
button { cursor: pointer; }

::selection { background: var(--violet); color: #fff; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -5rem;
  left: 1rem;
  z-index: 400;
  padding: .7rem 1.1rem;
  border-radius: 999px;
  background: var(--text);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: top .18s ease;
}

.skip-link:focus { top: 1rem; }

.wrap {
  width: min(100% - (var(--gutter) * 2), var(--wrap));
  margin-inline: auto;
}

.wrap--text {
  width: min(100% - (var(--gutter) * 2), var(--wrap-text));
  margin-inline: auto;
}

/* Texto com gradiente ------------------------------------------------------ */
.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.grad--warm { background-image: var(--grad-warm); }

/* ==========================================================================
   Atmosfera: aurora, grelha, grão e cursor
   ========================================================================== */

.aurora {
  position: fixed;
  inset: -25% -10%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: .55;
}

.aurora span {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(90px);
  will-change: transform;
}

.aurora .a1 {
  top: -6%;
  left: 4%;
  width: 46vw;
  height: 46vw;
  background: radial-gradient(circle at 30% 30%, rgba(109, 85, 255, .34), transparent 68%);
  animation: drift-a 26s var(--ease) infinite alternate;
}

.aurora .a2 {
  top: 18%;
  right: -6%;
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle at 60% 40%, rgba(0, 147, 173, .26), transparent 66%);
  animation: drift-b 32s var(--ease) infinite alternate;
}

.aurora .a3 {
  bottom: -14%;
  left: 28%;
  width: 42vw;
  height: 42vw;
  background: radial-gradient(circle at 50% 50%, rgba(194, 47, 192, .2), transparent 68%);
  animation: drift-c 38s var(--ease) infinite alternate;
}

@keyframes drift-a {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(8vw, 6vh, 0) scale(1.16); }
}

@keyframes drift-b {
  from { transform: translate3d(0, 0, 0) scale(1.08); }
  to   { transform: translate3d(-7vw, 9vh, 0) scale(.94); }
}

@keyframes drift-c {
  from { transform: translate3d(0, 0, 0) scale(.96); }
  to   { transform: translate3d(5vw, -7vh, 0) scale(1.12); }
}

.grid-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(10, 18, 38, .05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10, 18, 38, .05) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 0%, rgba(0, 0, 0, .35) 55%, transparent 100%);
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 0%, rgba(0, 0, 0, .35) 55%, transparent 100%);
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  z-index: 2;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(109, 85, 255, .14), rgba(0, 147, 173, .05) 45%, transparent 66%);
  transform: translate3d(-50%, -50%, 0);
  pointer-events: none;
  opacity: 0;
  transition: opacity .4s ease;
  mix-blend-mode: multiply;
}

@media (pointer: coarse), (prefers-reduced-motion: reduce) {
  .cursor-glow { display: none; }
}

.page { position: relative; z-index: 3; }

/* Barra de progresso ------------------------------------------------------- */
.progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 200;
  height: 2px;
  pointer-events: none;
}

.progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--grad-warm);
  transform: scaleX(0);
  transform-origin: 0 50%;
  box-shadow: 0 0 18px rgba(6, 219, 242, .7);
  will-change: transform;
}

/* ==========================================================================
   Cabeçalho
   ========================================================================== */

.topbar {
  position: sticky;
  top: 0;
  z-index: 150;
  padding: 14px 0;
  transition: padding .35s var(--ease), background-color .35s ease, backdrop-filter .35s ease;
}

.topbar__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: min(100% - (var(--gutter) * 2), var(--wrap));
  margin-inline: auto;
  padding: 10px 12px 10px 16px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(255, 255, 255, .74);
  backdrop-filter: blur(18px) saturate(1.15);
  transition: background-color .35s ease, border-color .35s ease, box-shadow .35s ease;
}

.topbar.is-stuck { padding: 8px 0; }

.topbar.is-stuck .topbar__inner {
  background: rgba(255, 255, 255, .93);
  border-color: var(--line);
  box-shadow: 0 24px 60px -44px rgba(10, 18, 38, .45);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  flex: none;
}

.brand__logo {
  height: 30px;
  width: auto;
  transition: height .35s var(--ease);
}

.topbar.is-stuck .brand__logo { height: 25px; }

.brand__tag {
  padding: .22rem .55rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--f-display);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-2);
}

.topbar__nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  margin-left: auto;
  font-size: .84rem;
  font-weight: 500;
}

.topbar__nav a {
  position: relative;
  color: var(--muted);
  text-decoration: none;
  padding: .2rem 0;
}

.topbar__nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -.18em;
  height: 1.5px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .28s var(--ease);
}

.topbar__nav a:hover { color: var(--text); }
.topbar__nav a:hover::after,
.topbar__nav a.is-current::after { transform: scaleX(1); }

.topbar__nav a.is-current { color: var(--text); }

.topbar__links { display: none; }

@media (min-width: 900px) {
  .topbar__links { display: flex; }
}

.topbar__cta { flex: none; }

@media (max-width: 899px) {
  .topbar__cta { margin-left: auto; }
}

/* ==========================================================================
   Botões
   ========================================================================== */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  min-height: 46px;
  padding: .74em 1.35em;
  border: 0;
  border-radius: 999px;
  background: var(--grad);
  color: #06102a;
  font-family: var(--f-display);
  font-size: .92rem;
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.1;
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), filter .3s ease;
  box-shadow: 0 10px 30px -12px rgba(107, 91, 255, .8);
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(112deg, var(--cyan) 0%, var(--violet) 60%, var(--magenta) 100%);
  opacity: 0;
  transition: opacity .35s ease;
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 44px -14px rgba(6, 219, 242, .7); }
.btn:hover::after { opacity: 1; }

.btn svg { width: 1em; height: 1em; flex: none; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translate(3px, -3px); }

.btn--ghost {
  background: rgba(255, 255, 255, .92);
  border: 1px solid var(--line-strong);
  color: var(--text);
  box-shadow: 0 10px 30px -22px rgba(10, 18, 38, .35);
  backdrop-filter: blur(8px);
}

.btn--ghost::after { background: rgba(10, 18, 38, .06); }
.btn--ghost:hover { box-shadow: 0 20px 46px -26px rgba(10, 18, 38, .45); }

.btn--sm { min-height: 40px; padding: .55em 1.05em; font-size: .82rem; }
.btn--lg { min-height: 56px; padding: .95em 1.7em; font-size: 1rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  font-family: var(--f-display);
  font-weight: 600;
  text-decoration: none;
  background-image: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.link-arrow svg { width: .95em; height: .95em; transition: transform .25s var(--ease); color: var(--cyan); -webkit-text-fill-color: var(--cyan); }
.link-arrow:hover svg { transform: translate(3px, -3px); }

/* ==========================================================================
   Etiquetas
   ========================================================================== */

.kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem;
  margin: 0 0 1rem;
  font-family: var(--f-display);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .18em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--muted);
}

.kicker__dot {
  width: .42rem;
  height: .42rem;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  flex: none;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .26rem .62rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--f-display);
  font-size: .63rem;
  font-weight: 600;
  letter-spacing: .12em;
  line-height: 1.35;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--text-2);
}

.pill--grad {
  border: 0;
  background: var(--grad);
  color: #06102a;
}

.pill--sand { border-color: rgba(240, 230, 212, .42); color: var(--sand); }

/* ==========================================================================
   Hero do índice
   ========================================================================== */

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: min(78svh, 720px);
  padding: clamp(2.4rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem);
  overflow: hidden;
}

.hero__inner {
  width: min(100% - (var(--gutter) * 2), var(--wrap));
  margin-inline: auto;
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
}

@media (min-width: 980px) {
  .hero__inner { grid-template-columns: 1.25fr .75fr; align-items: end; }
}

.hero__title {
  margin: 0 0 1.4rem;
  font-size: clamp(2.6rem, 7.6vw, 5.6rem);
  font-weight: 600;
  line-height: .94;
  letter-spacing: -.05em;
}

.hero__title .word {
  display: inline-block;
  margin-right: .22em;
  animation: word-in .95s var(--ease-out) backwards;
  animation-delay: calc(var(--i, 0) * 70ms + 120ms);
}

@keyframes word-in {
  from { opacity: 0; transform: translateY(.55em) rotate(1.5deg); filter: blur(10px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}

.hero__lede {
  max-width: 46ch;
  margin: 0 0 1.8rem;
  font-size: clamp(1rem, 1.5vw, 1.14rem);
  line-height: 1.65;
  color: var(--text-2);
}

.hero__actions { display: flex; flex-wrap: wrap; gap: .7rem; }

/* Painel de índice em vidro */
.hero__panel {
  position: relative;
  padding: 1.15rem 1.15rem 1rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(160deg, #ffffff 0%, rgba(255, 255, 255, .78) 100%);
  backdrop-filter: blur(16px) saturate(1.1);
  box-shadow: 0 40px 90px -60px rgba(10, 18, 38, .45);
  overflow: hidden;
}

.hero__panel::before {
  content: "";
  position: absolute;
  inset: -60% -30% auto auto;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 147, 173, .16), transparent 65%);
  filter: blur(24px);
  pointer-events: none;
}

.hero__panel-label {
  position: relative;
  display: flex;
  align-items: center;
  gap: .5rem;
  margin: 0 0 .7rem;
  font-family: var(--f-display);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero__panel-label::before {
  content: "";
  width: .38rem;
  height: .38rem;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
}

.hero__list {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .1rem;
}

.hero__list li { margin: 0; }

.hero__list a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: .8rem;
  padding: .62rem .55rem;
  border-radius: 12px;
  text-decoration: none;
  transition: background-color .25s ease;
}

.hero__list a:hover { background: rgba(10, 18, 38, .045); }

.hero__num {
  font-family: var(--f-display);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--cyan);
}

.hero__name {
  font-family: var(--f-display);
  font-size: .94rem;
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: -.02em;
  color: var(--text);
}

.hero__arrow {
  font-family: var(--f-display);
  font-size: .9rem;
  color: var(--cyan);
  opacity: 0;
  transform: translate(-4px, 4px);
  transition: opacity .25s ease, transform .25s var(--ease);
}

.hero__list a:hover .hero__arrow { opacity: 1; transform: none; }

.hero__panel-foot {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: .8rem;
  padding-top: .75rem;
  border-top: 1px solid var(--line-soft);
  font-family: var(--f-display);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ==========================================================================
   Faixa de tópicos
   ========================================================================== */

.ticker {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--line-soft);
  padding: 1rem 0;
  background: rgba(255, 255, 255, .7);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.ticker__track {
  display: flex;
  width: max-content;
  gap: 3rem;
  animation: ticker 44s linear infinite;
}

.ticker__track span {
  display: inline-flex;
  align-items: center;
  gap: 3rem;
  font-family: var(--f-display);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-2);
  white-space: nowrap;
}

.ticker__track span::after { content: "◆"; color: var(--violet-soft); font-size: .7em; }

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.ticker:hover .ticker__track { animation-play-state: paused; }

/* ==========================================================================
   Grelha de artigos
   ========================================================================== */

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-bottom: clamp(1.6rem, 3.5vw, 2.6rem);
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  letter-spacing: -.04em;
}

.section-head p {
  margin: 0;
  max-width: 42ch;
  font-size: .9rem;
  color: var(--muted);
}

/* Cartão com moldura em gradiente */
.gcard {
  position: relative;
  border-radius: var(--radius-lg);
  background: #ffffff;
  border: 1px solid var(--line-soft);
  box-shadow: 0 26px 60px -46px rgba(10, 18, 38, .4);
  overflow: hidden;
  isolation: isolate;
  transform-style: preserve-3d;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s ease;
}

.gcard::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(150deg, rgba(166, 107, 234, .75), rgba(6, 219, 242, .45) 42%, transparent 72%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .45s ease;
  pointer-events: none;
}

.gcard:hover::before { opacity: 1; }

.gcard:hover {
  border-color: transparent;
  box-shadow: 0 40px 90px -50px rgba(90, 69, 240, .55);
}

/* Destaque */
.feature {
  display: grid;
  gap: 0;
  margin-bottom: clamp(1.4rem, 3vw, 2rem);
  text-decoration: none;
  color: inherit;
}

@media (min-width: 860px) {
  .feature { grid-template-columns: 1.08fr .92fr; }
}

.feature__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

@media (min-width: 860px) {
  .feature__media { aspect-ratio: auto; height: 100%; min-height: 400px; }
}

.feature__media img,
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform .9s var(--ease), filter .6s ease;
  filter: saturate(.95);
}

.feature:hover .feature__media img,
.card:hover .card__media img { transform: scale(1.07); filter: saturate(1.08); }

.feature__num {
  position: absolute;
  top: .9rem;
  left: 1.2rem;
  z-index: 2;
  padding: .1rem .7rem .2rem;
  border-radius: 999px;
  font-family: var(--f-display);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  color: #fff;
  background: var(--grad);
  box-shadow: 0 8px 24px -10px rgba(0, 134, 159, .8);
}

.feature__body {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  padding: clamp(1.5rem, 3.6vw, 2.7rem);
  z-index: 3;
}

.feature__body h3 {
  margin: 0;
  font-size: clamp(1.55rem, 2.7vw, 2.15rem);
  line-height: 1.03;
  letter-spacing: -.042em;
}

.feature__body p {
  margin: 0;
  font-size: .96rem;
  line-height: 1.65;
  color: var(--text-2);
}

.feature__specs {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1rem;
  margin: .2rem 0 0;
  padding: 0;
  list-style: none;
  font-family: var(--f-display);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--muted);
}

.feature__specs li {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin: 0;
}

.feature__specs li:not(:first-child)::before {
  content: "·";
  color: var(--cyan);
}

.feature__more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--f-display);
  font-size: .86rem;
  font-weight: 600;
  color: var(--cyan);
}

.feature__more svg { width: .9em; height: .9em; transition: transform .25s var(--ease); }
.feature:hover .feature__more svg { transform: translate(4px, -4px); }

/* Grelha de cartões */
.cards {
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
  grid-template-columns: 1fr;
  margin-bottom: clamp(3rem, 7vw, 5rem);
}

@media (min-width: 720px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1080px) {
  .cards--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transform-style: preserve-3d;
}

.card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.card__tag {
  position: absolute;
  top: .85rem;
  left: .85rem;
  z-index: 2;
  padding: .28rem .6rem;
  border-radius: 999px;
  background: rgba(6, 16, 40, .72);
  border: 1px solid var(--line-strong);
  color: #fff;
  font-family: var(--f-display);
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.card__body {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  padding: 1.35rem 1.45rem 1.55rem;
  z-index: 3;
}

.card__body h3 {
  margin: 0;
  font-size: clamp(1.12rem, 1.8vw, 1.32rem);
  line-height: 1.14;
  letter-spacing: -.03em;
}

.card__body p {
  margin: 0;
  font-size: .88rem;
  line-height: 1.6;
  color: var(--muted);
}

.card__meta {
  margin-top: .4rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--f-display);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

.card__meta::before {
  content: "";
  width: .34rem;
  height: .34rem;
  border-radius: 50%;
  background: var(--grad);
}

/* ==========================================================================
   Faixa de chamada
   ========================================================================== */

.cta-band {
  position: relative;
  overflow: hidden;
  margin-bottom: clamp(3rem, 7vw, 5rem);
  border-radius: var(--radius-lg);
  background: linear-gradient(130deg, #f1ecff 0%, #e9f9fc 55%, #fdeafb 100%);
  border: 1px solid var(--line);
  isolation: isolate;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto auto;
  width: 60%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 147, 173, .22), transparent 65%);
  filter: blur(30px);
  z-index: -1;
}

.cta-band::after {
  content: "";
  position: absolute;
  inset: auto auto -50% -10%;
  width: 48%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(194, 47, 192, .18), transparent 68%);
  filter: blur(30px);
  z-index: -1;
}

.cta-band__inner {
  display: grid;
  gap: 1.4rem;
  padding: clamp(1.9rem, 5vw, 3.5rem);
}

@media (min-width: 800px) {
  .cta-band__inner { grid-template-columns: 1.3fr auto; align-items: center; gap: 2.5rem; }
}

.cta-band h2 {
  margin: 0 0 .55rem;
  font-size: clamp(1.6rem, 3.4vw, 2.5rem);
  letter-spacing: -.042em;
}

.cta-band p {
  margin: 0;
  max-width: 48ch;
  font-size: .94rem;
  color: var(--text-2);
}

.cta-band__actions { display: flex; flex-wrap: wrap; gap: .7rem; }

/* ==========================================================================
   Rodapé
   ========================================================================== */

.foot {
  position: relative;
  z-index: 3;
  overflow: hidden;
  border-top: 1px solid var(--line-soft);
  padding: clamp(2.4rem, 5vw, 3.4rem) 0 2.2rem;
  background: #ffffff;
}

.foot__grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.2rem;
}

@media (min-width: 760px) {
  .foot__grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 2.5rem; }
}

.foot__logo { height: 30px; width: auto; margin-bottom: 1rem; }

.foot h3 {
  margin: 0 0 .8rem;
  font-family: var(--f-display);
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}

.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.foot li { margin: 0; }
.foot a { text-decoration: none; font-size: .9rem; color: var(--text-2); }
.foot a:hover { color: var(--cyan); }

.foot__note { margin: 0; max-width: 36ch; font-size: .88rem; line-height: 1.65; color: var(--muted); }

.foot__credits {
  margin: 0 0 1.5rem;
  max-width: 74ch;
  font-size: .76rem;
  line-height: 1.6;
  color: rgba(95, 106, 134, .8);
}

.foot__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .6rem 1.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line-soft);
  font-size: .78rem;
  color: var(--muted);
}

/* Wordmark gigante */
.foot__giant {
  margin: 0;
  padding: .06em clamp(1rem, 4vw, 3rem) .18em;
  font-family: var(--f-display);
  font-size: clamp(3.4rem, 15vw, 12rem);
  font-weight: 600;
  line-height: .92;
  letter-spacing: -.06em;
  text-align: center;
  color: transparent;
  background: linear-gradient(180deg, rgba(10, 18, 38, .16), rgba(10, 18, 38, 0) 82%);
  -webkit-background-clip: text;
  background-clip: text;
  user-select: none;
  pointer-events: none;
}

/* ==========================================================================
   Artigo
   ========================================================================== */

.post-hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: min(80svh, 720px);
  overflow: hidden;
  padding: clamp(6rem, 14vw, 9rem) 0 clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: clamp(2rem, 5vw, 3.4rem);
}

.post-hero__media {
  position: absolute;
  inset: -12% 0;
  z-index: 0;
  will-change: transform;
}

.post-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.92) contrast(1.02);
}

.post-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(5, 11, 28, .62) 0%, rgba(5, 11, 28, .35) 38%, rgba(5, 11, 28, .94) 100%),
    radial-gradient(90% 70% at 88% 100%, rgba(67, 49, 216, .42), transparent 62%);
}

.post-hero__inner {
  position: relative;
  z-index: 2;
  width: min(100% - (var(--gutter) * 2), var(--wrap));
  margin-inline: auto;
}

.post-hero h1 {
  max-width: 26ch;
  margin: 0 0 1.1rem;
  font-size: clamp(2.05rem, 5.4vw, 4.1rem);
  line-height: .98;
  letter-spacing: -.045em;
}

.post-hero__lede {
  max-width: 54ch;
  margin: 0;
  font-size: clamp(1rem, 1.5vw, 1.14rem);
  line-height: 1.62;
  color: var(--text-2);
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem 1.1rem;
  margin-top: 1.6rem;
  font-family: var(--f-display);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

.post-meta__sep { width: 3px; height: 3px; border-radius: 50%; background: var(--line-strong); }

/* Abertura do artigo ------------------------------------------------------- */
.post-open { margin-bottom: 1.5rem; }

.post-open__rule {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--violet), var(--cyan), transparent);
  opacity: .5;
}

/* Corpo -------------------------------------------------------------------- */
.prose {
  counter-reset: secao;
  font-size: clamp(1.03rem, 1.1rem + .12vw, 1.14rem);
  line-height: 1.78;
  color: var(--text-2);
}

.prose > * { max-width: var(--wrap-text); margin-inline: auto; }
.prose > figure,
.prose > .wide { max-width: min(100%, calc(var(--wrap-text) + 150px)); }

.prose p { margin-bottom: 1.4em; }
.prose strong { color: var(--text); font-weight: 600; }

.prose > p:first-of-type { font-size: 1.12em; color: var(--text); }

.prose > p:first-of-type::first-letter {
  float: left;
  margin: .02em .1em 0 0;
  font-family: var(--f-display);
  font-size: 3.4em;
  font-weight: 600;
  line-height: .82;
  letter-spacing: -.04em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.prose h2 {
  position: relative;
  margin: 2.2em auto .7em;
  padding-top: 1em;
  font-size: clamp(1.42rem, 2.6vw, 1.95rem);
  letter-spacing: -.038em;
  counter-increment: secao;
  border-top: 1px solid var(--line-soft);
}

.prose h2::before {
  content: counter(secao, decimal-leading-zero);
  display: block;
  margin-bottom: .55rem;
  font-family: var(--f-display);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .2em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.prose h3 {
  margin: 1.8em auto .5em;
  font-size: clamp(1.1rem, 1.8vw, 1.28rem);
  letter-spacing: -.025em;
  color: var(--text);
}

.prose ul, .prose ol { padding-left: 1.25em; }

.prose a:not(.btn):not(.link-arrow) {
  color: var(--violet-deep);
  text-decoration-color: rgba(57, 42, 192, .35);
}

.prose a:not(.btn):not(.link-arrow):hover { color: var(--violet); text-decoration-color: var(--violet); }

.prose blockquote {
  position: relative;
  margin: 2.2em auto;
  padding: 1.5rem 1.7rem 1.5rem 2.6rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(140deg, rgba(109, 85, 255, .09), rgba(0, 147, 173, .06));
  font-family: var(--f-display);
  font-size: clamp(1.18rem, 2.2vw, 1.5rem);
  font-weight: 500;
  line-height: 1.42;
  letter-spacing: -.025em;
  color: var(--text);
}

.prose blockquote::before {
  content: "“";
  position: absolute;
  top: .05em;
  left: .55rem;
  font-family: var(--f-display);
  font-size: 2.4em;
  line-height: 1;
  color: rgba(0, 134, 159, .4);
}

.prose blockquote p { margin: 0; }

.prose figure { margin: 2.2em auto; }

.prose figure img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.prose figcaption {
  margin-top: .75rem;
  font-size: .76rem;
  line-height: 1.55;
  color: var(--muted);
}

/* Tabela ------------------------------------------------------------------- */
.tablewrap {
  margin: 2.2em auto;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 20px 50px -44px rgba(10, 18, 38, .4);
  -webkit-overflow-scrolling: touch;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: .89rem;
  line-height: 1.5;
}

.prose caption {
  caption-side: bottom;
  padding: .9rem 1.1rem;
  font-size: .76rem;
  text-align: left;
  color: var(--muted);
}

.prose th,
.prose td {
  padding: .85rem 1.05rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line-soft);
  color: var(--text-2);
}

.prose thead th {
  font-family: var(--f-display);
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(10, 18, 38, .035);
  white-space: nowrap;
}

.prose tbody tr:last-child th,
.prose tbody tr:last-child td { border-bottom: 0; }

.prose tbody th {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: -.01em;
  color: var(--text);
}

/* Números ------------------------------------------------------------------ */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  margin: 2.2em auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--line-soft);
}

.stats div { padding: 1.2rem 1.25rem; background: #ffffff; }

.stats strong {
  display: block;
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 3.4vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.stats span {
  display: block;
  margin-top: .5rem;
  font-size: .76rem;
  line-height: 1.45;
  color: var(--muted);
}

/* Caixas ------------------------------------------------------------------- */
.callout {
  position: relative;
  margin: 2.2em auto;
  padding: 1.25rem 1.4rem 1.25rem 1.55rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    linear-gradient(120deg, rgba(6, 219, 242, .1), rgba(107, 91, 255, .07));
  font-size: .94rem;
  line-height: 1.65;
  color: var(--text-2);
  overflow: hidden;
}

.callout::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--grad);
}

.callout__label {
  display: block;
  margin-bottom: .45rem;
  font-family: var(--f-display);
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cyan);
}

.callout p { margin: 0; }

.callout--accent { background: linear-gradient(120deg, rgba(236, 79, 224, .13), rgba(107, 91, 255, .08)); }
.callout--accent .callout__label { color: var(--magenta); }

/* Perguntas ---------------------------------------------------------------- */
.faq {
  margin: 2.2em auto 0;
  border-top: 1px solid var(--line-soft);
}

.faq details { border-bottom: 1px solid var(--line-soft); }

.faq summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 1.1rem 0;
  font-family: var(--f-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.4;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  transition: color .2s ease;
}

.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--cyan); }

.faq summary::after {
  content: "+";
  flex: none;
  width: 1.6rem;
  height: 1.6rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-family: var(--f-display);
  font-size: .95rem;
  font-weight: 500;
  line-height: 1;
  transition: transform .3s var(--ease), background .25s ease, color .25s ease, border-color .25s ease;
}

.faq details[open] summary::after {
  content: "−";
  transform: rotate(180deg);
  background: var(--grad);
  border-color: transparent;
  color: #fff;
}

.faq details > p,
.faq details > div {
  margin: 0 0 1.2rem;
  padding-right: 2.4rem;
  font-size: .94rem;
  line-height: 1.7;
  color: var(--text-2);
}

/* Assinatura --------------------------------------------------------------- */
.signoff {
  max-width: var(--wrap-text);
  margin: 2.6em auto 0;
  padding: 1.35rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
  border-color: var(--line-soft);
  box-shadow: 0 20px 50px -44px rgba(10, 18, 38, .35);
  font-size: .92rem;
  line-height: 1.65;
  color: var(--text-2);
}

.signoff strong {
  display: block;
  margin-bottom: .25rem;
  font-family: var(--f-display);
  font-size: 1rem;
  letter-spacing: -.02em;
  color: var(--text);
}

.signoff p { margin: 0; }

/* Próximos artigos --------------------------------------------------------- */
.more {
  margin: clamp(3rem, 7vw, 4.5rem) 0;
  padding-top: clamp(2rem, 4vw, 2.8rem);
  border-top: 1px solid var(--line-soft);
}

.more h2 {
  margin: 0 0 1.6rem;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  letter-spacing: -.038em;
}

/* ==========================================================================
   Movimento
   ========================================================================== */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  transition-delay: var(--d, 0s);
}

.js [data-reveal].is-in { opacity: 1; transform: none; }

.js [data-reveal="fade"] { transform: none; }

.js [data-reveal="clip"] {
  opacity: 1;
  transform: none;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.1s var(--ease-out);
  transition-delay: var(--d, 0s);
}

.js [data-reveal="clip"].is-in { clip-path: inset(0 0 0 0); }

[data-tilt] {
  transform: perspective(900px) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)) translateY(var(--lift, 0px));
  transition: transform .45s var(--ease);
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .js [data-reveal],
  .js [data-reveal].is-in {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
    transition: none !important;
  }

  .aurora span,
  .ticker__track,
  .hero__title .word,
  .hero__scroll i {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  [data-tilt] { transform: none !important; }

  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 640px) {
  .post-hero { min-height: 68svh; }
  .foot__giant { font-size: clamp(2.8rem, 17vw, 6rem); }
  .brand__tag { display: none; }
}

/* ==========================================================================
   Tema claro: texto sobre fotografia, ofertas, carrossel, barras, medalhas
   ========================================================================== */

.post-hero h1 { color: #fff; }
.post-hero__lede { color: rgba(255, 255, 255, .86); }
.post-meta { color: rgba(255, 255, 255, .74); }
.post-hero .kicker { color: rgba(255, 255, 255, .8); }
.post-hero .post-meta__sep { background: rgba(255, 255, 255, .45); }

/* Botão de loja ------------------------------------------------------------ */
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  min-height: 58px;
  padding: .5rem 1.25rem .55rem 1rem;
  border-radius: 15px;
  background: var(--text);
  color: #fff;
  text-decoration: none;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  box-shadow: 0 16px 36px -20px rgba(10, 18, 38, .85);
}

.store-btn:hover { transform: translateY(-2px); box-shadow: 0 22px 46px -20px rgba(10, 18, 38, .7); }
.store-btn svg { width: 26px; height: 26px; flex: none; }
.store-btn span { display: grid; line-height: 1.15; }
.store-btn small { font-family: var(--f-display); font-size: .56rem; letter-spacing: .18em; text-transform: uppercase; opacity: .72; }
.store-btn strong { font-family: var(--f-display); font-size: .98rem; font-weight: 600; letter-spacing: -.01em; }

/* Cartão de oferta da app -------------------------------------------------- */
.app-cta {
  display: grid;
  gap: 1.3rem;
  max-width: var(--wrap-text);
  margin: 2.4em auto;
  padding: clamp(1.4rem, 3.2vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(140deg, #ffffff 0%, #f6f3ff 52%, #eafafd 100%);
  box-shadow: 0 34px 80px -62px rgba(10, 18, 38, .55);
}

@media (min-width: 740px) {
  .app-cta { grid-template-columns: 1fr auto; align-items: center; gap: 2rem; }
}

.app-cta h3 {
  margin: .75rem 0 .45rem;
  font-size: clamp(1.22rem, 2.1vw, 1.52rem);
  letter-spacing: -.03em;
}

.app-cta p { margin: 0; font-size: .92rem; line-height: 1.6; color: var(--text-2); }
.app-cta__actions { display: flex; flex-wrap: wrap; gap: .65rem; }

/* Chamada para a Montra Viva ---------------------------------------------- */
.mv-cta {
  position: relative;
  display: grid;
  gap: .3rem;
  max-width: var(--wrap-text);
  margin: 2.4em auto;
  padding: 1.4rem 1.6rem 1.45rem 1.85rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  text-decoration: none;
  overflow: hidden;
  box-shadow: 0 26px 60px -54px rgba(10, 18, 38, .45);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

.mv-cta::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--grad);
}

.mv-cta:hover { transform: translateY(-3px); box-shadow: 0 34px 74px -52px rgba(90, 69, 240, .5); }

.mv-cta__eyebrow {
  font-family: var(--f-display);
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}

.mv-cta__title {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--f-display);
  font-size: clamp(1.04rem, 1.9vw, 1.24rem);
  font-weight: 600;
  letter-spacing: -.025em;
  color: var(--text);
}

.mv-cta__title svg { width: .82em; height: .82em; color: var(--violet); transition: transform .3s var(--ease); }
.mv-cta:hover .mv-cta__title svg { transform: translate(3px, -3px); }
.mv-cta__text { font-size: .88rem; line-height: 1.55; color: var(--text-2); }

/* Carrossel de ecrãs ------------------------------------------------------- */
.shots {
  position: relative;
  max-width: min(100%, calc(var(--wrap-text) + 130px));
  margin: 2.4em auto;
}

.shots__viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: .3rem 0 .6rem;
  mask-image: linear-gradient(90deg, transparent 0, #000 2%, #000 96%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 2%, #000 96%, transparent 100%);
}

.shots__viewport::-webkit-scrollbar { display: none; }

.shots__track { display: flex; gap: 1rem; width: max-content; }

.shots figure {
  margin: 0;
  width: clamp(196px, 44vw, 228px);
  flex: none;
  scroll-snap-align: center;
}

.shots img {
  width: 100%;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 28px 60px -44px rgba(10, 18, 38, .6);
  transition: transform .5s var(--ease);
}

.shots figure:hover img { transform: translateY(-6px) scale(1.015); }

.shots figcaption {
  margin-top: .7rem;
  font-family: var(--f-display);
  font-size: .72rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--muted);
}

.shots__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: .9rem;
}

.shots__dots { display: flex; align-items: center; gap: .38rem; }

.shots__dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: var(--line-strong);
  transition: width .3s var(--ease), background .3s ease;
}

.shots__dots button[aria-current="true"] { width: 22px; background: var(--violet); }

.shots__arrows { display: flex; gap: .45rem; }

.shots__arrows button {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--text);
  font-size: 1rem;
  line-height: 1;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s var(--ease);
}

.shots__arrows button:hover { background: var(--text); color: #fff; border-color: var(--text); transform: translateY(-2px); }

/* Barras de hábitos -------------------------------------------------------- */
.bars {
  display: grid;
  gap: .95rem;
  max-width: var(--wrap-text);
  margin: 2.2em auto;
  padding: 1.45rem 1.55rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 26px 60px -54px rgba(10, 18, 38, .42);
}

.bars__row {
  display: grid;
  grid-template-columns: 5.2rem 1fr auto;
  align-items: center;
  gap: .85rem;
}

.bars__label {
  font-family: var(--f-display);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

.bars__track {
  height: 10px;
  border-radius: 99px;
  background: rgba(10, 18, 38, .07);
  overflow: hidden;
}

.bars__track i {
  display: block;
  height: 100%;
  width: 100%;
  border-radius: 99px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 1.5s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 1s + .15s);
}

.bars.is-in .bars__track i,
html:not(.js) .bars__track i { transform: scaleX(var(--v, 0)); }

@media (prefers-reduced-motion: reduce) {
  .bars__track i { transition: none; }
}

.bars__val {
  font-family: var(--f-display);
  font-size: .84rem;
  font-weight: 600;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.bars__foot {
  margin: .35rem 0 0;
  padding-top: .85rem;
  border-top: 1px solid var(--line-soft);
  font-size: .72rem;
  line-height: 1.5;
  color: var(--muted);
}

/* Medalhas ----------------------------------------------------------------- */
.medals {
  display: grid;
  gap: .9rem;
  grid-template-columns: repeat(auto-fit, minmax(178px, 1fr));
  max-width: var(--wrap-text);
  margin: 2em auto;
}

.medal {
  padding: 1.2rem 1.2rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s ease;
}

.medal:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: 0 32px 64px -48px rgba(90, 69, 240, .6);
}

.medal__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: .85rem;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  box-shadow: 0 12px 26px -14px rgba(90, 69, 240, .9);
}

.medal__icon svg { width: 21px; height: 21px; }

.medal strong {
  display: block;
  margin-bottom: .3rem;
  font-family: var(--f-display);
  font-size: .96rem;
  letter-spacing: -.02em;
  color: var(--text);
}

.medal p { margin: 0; font-size: .83rem; line-height: 1.55; color: var(--muted); }

/* Três fotografias pequenas ------------------------------------------------ */
.mini-figs {
  display: grid;
  gap: .9rem;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  max-width: min(100%, calc(var(--wrap-text) + 120px));
  margin: 2.2em auto;
}

.mini-figs figure { margin: 0; }
.mini-figs img { width: 100%; border-radius: 14px; border: 1px solid var(--line); }
.mini-figs figcaption { margin-top: .5rem; font-size: .72rem; line-height: 1.5; color: var(--muted); }

@media (max-width: 640px) {
  .bars__row { grid-template-columns: 1fr auto; row-gap: .45rem; }
  .bars__track { grid-column: 1 / -1; order: 3; }
}
/* ==========================================================================
   Temas por projeto
   Cada artigo herda a cor do projeto de que fala: Evolumi (verde), custos
   (indigo), menus (cobre), festas (vermelho quente), Montra Viva (areia).
   ========================================================================== */

.t-evolumi {
  --violet: #2f6b4f;
  --violet-deep: #1d4635;
  --cyan: #4f7f52;
  --magenta: #a97b1f;
  --violet-soft: #4d8f68;
  --grad: linear-gradient(112deg, #2f6b4f 0%, #46876a 45%, #a9cf8b 100%);
  --grad-warm: linear-gradient(112deg, #a97b1f 0%, #2f6b4f 55%, #7fae6b 100%);
}

.t-custo {
  --violet: #4338ca;
  --violet-deep: #2e2597;
  --cyan: #0e7f92;
  --magenta: #7c3aed;
  --violet-soft: #6366f1;
  --grad: linear-gradient(112deg, #4338ca 0%, #5b54e8 45%, #0e9fb5 100%);
  --grad-warm: linear-gradient(112deg, #7c3aed 0%, #4338ca 55%, #0e9fb5 100%);
}

.t-menu {
  --violet: #a8491c;
  --violet-deep: #7d3512;
  --cyan: #8f6413;
  --magenta: #b03a0c;
  --violet-soft: #d97706;
  --grad: linear-gradient(112deg, #a8491c 0%, #d97706 45%, #eab308 100%);
  --grad-warm: linear-gradient(112deg, #b03a0c 0%, #a8491c 55%, #eab308 100%);
}

.t-festas {
  --violet: #ab2f29;
  --violet-deep: #7f211d;
  --cyan: #a2541d;
  --magenta: #8e2f8a;
  --violet-soft: #d9534f;
  --grad: linear-gradient(112deg, #ab2f29 0%, #cf4a3f 45%, #f0a03c 100%);
  --grad-warm: linear-gradient(112deg, #8e2f8a 0%, #ab2f29 55%, #f0a03c 100%);
}

.t-montra {
  --violet: #7d5126;
  --violet-deep: #5e3a19;
  --cyan: #8a6a12;
  --magenta: #a1662f;
  --violet-soft: #b07c3e;
  --grad: linear-gradient(112deg, #7d5126 0%, #b07c3e 45%, #d9b45a 100%);
  --grad-warm: linear-gradient(112deg, #a1662f 0%, #7d5126 55%, #d9b45a 100%);
}

/* aurora com a cor de cada projeto */
.t-evolumi .aurora .a1 { background: radial-gradient(circle at 30% 30%, rgba(47, 107, 79, .3), transparent 68%); }
.t-evolumi .aurora .a2 { background: radial-gradient(circle at 60% 40%, rgba(169, 207, 139, .38), transparent 66%); }
.t-evolumi .aurora .a3 { background: radial-gradient(circle at 50% 50%, rgba(169, 123, 31, .16), transparent 68%); }

.t-custo .aurora .a1 { background: radial-gradient(circle at 30% 30%, rgba(67, 56, 202, .3), transparent 68%); }
.t-custo .aurora .a2 { background: radial-gradient(circle at 60% 40%, rgba(14, 159, 181, .26), transparent 66%); }
.t-custo .aurora .a3 { background: radial-gradient(circle at 50% 50%, rgba(124, 58, 237, .2), transparent 68%); }

.t-menu .aurora .a1 { background: radial-gradient(circle at 30% 30%, rgba(168, 73, 28, .3), transparent 68%); }
.t-menu .aurora .a2 { background: radial-gradient(circle at 60% 40%, rgba(234, 179, 8, .3), transparent 66%); }
.t-menu .aurora .a3 { background: radial-gradient(circle at 50% 50%, rgba(176, 58, 12, .18), transparent 68%); }

.t-festas .aurora .a1 { background: radial-gradient(circle at 30% 30%, rgba(171, 47, 41, .3), transparent 68%); }
.t-festas .aurora .a2 { background: radial-gradient(circle at 60% 40%, rgba(240, 160, 60, .34), transparent 66%); }
.t-festas .aurora .a3 { background: radial-gradient(circle at 50% 50%, rgba(142, 47, 138, .18), transparent 68%); }

.t-montra .aurora .a1 { background: radial-gradient(circle at 30% 30%, rgba(125, 81, 38, .28), transparent 68%); }
.t-montra .aurora .a2 { background: radial-gradient(circle at 60% 40%, rgba(217, 180, 90, .34), transparent 66%); }
.t-montra .aurora .a3 { background: radial-gradient(circle at 50% 50%, rgba(161, 102, 47, .18), transparent 68%); }

/* Marca de água do projeto no hero --------------------------------------- */
.post-hero__ghost {
  position: absolute;
  right: 2%;
  bottom: 4%;
  z-index: 2;
  margin: 0;
  font-family: var(--f-display);
  font-size: clamp(4rem, 15vw, 14rem);
  font-weight: 600;
  line-height: .78;
  letter-spacing: -.06em;
  color: rgba(255, 255, 255, .08);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

/* Recorte: imagem com máscara suave e sombra, a flutuar ------------------ */
.cutout {
  position: relative;
  float: right;
  width: min(40%, 300px);
  margin: .4rem 0 1.6rem 1.8rem;
}

.cutout img {
  width: 100%;
  height: auto;
  border: 0;
  border-radius: 0;
  filter: drop-shadow(0 30px 38px rgba(10, 18, 38, .26));
  -webkit-mask-image: radial-gradient(76% 80% at 50% 46%, #000 58%, transparent 92%);
  mask-image: radial-gradient(76% 80% at 50% 46%, #000 58%, transparent 92%);
  animation: cutout-bob 8s ease-in-out infinite alternate;
}

@keyframes cutout-bob {
  from { transform: translateY(-6px) rotate(-2deg); }
  to   { transform: translateY(8px) rotate(-.5deg); }
}

.cutout figcaption {
  margin-top: .6rem;
  font-family: var(--f-display);
  font-size: .7rem;
  line-height: 1.45;
  color: var(--muted);
}

@media (max-width: 640px) {
  .cutout { float: none; width: min(72%, 260px); margin: 1.6rem auto; }
  .post-hero__ghost { font-size: 4.6rem; opacity: .7; }
}

@media (prefers-reduced-motion: reduce) {
  .cutout img, .mesh, .beam { animation: none !important; }
}

/* Cartão de projeto: o que existe no site Ideia·App --------------------- */
.proj-cta {
  position: relative;
  display: grid;
  gap: .8rem;
  max-width: var(--wrap-text);
  margin: 2.4em auto;
  padding: clamp(1.35rem, 3vw, 1.9rem) clamp(1.35rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 32px 74px -58px rgba(10, 18, 38, .5);
  overflow: hidden;
}

.proj-cta::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--grad);
}

.proj-cta__eyebrow {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin: 0;
  font-family: var(--f-display);
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}

.proj-cta__eyebrow::before {
  content: "";
  width: .4rem;
  height: .4rem;
  border-radius: 50%;
  background: var(--grad);
}

.proj-cta h3 {
  margin: 0;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  letter-spacing: -.032em;
}

.proj-cta p {
  margin: 0;
  font-size: .93rem;
  line-height: 1.6;
  color: var(--text-2);
}

.proj-cta__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem 1.1rem;
  margin-top: .35rem;
}

.proj-cta__all {
  font-family: var(--f-display);
  font-size: .84rem;
  font-weight: 600;
  color: var(--text-2);
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 1px;
}

.proj-cta__all:hover { color: var(--violet-deep); border-color: var(--violet-deep); }

/* Cartão da app repetido (compacto) ------------------------------------- */
.app-cta--compact { padding: clamp(1.15rem, 2.4vw, 1.5rem); }
.app-cta--compact h3 { font-size: clamp(1.05rem, 1.8vw, 1.28rem); margin-top: .5rem; }

/* Botões de loja legíveis dentro do texto ------------------------------- */
.prose a.store-btn,
.prose a.store-btn:visited,
.prose a.store-btn:hover,
.prose a.store-btn strong,
.prose a.store-btn small {
  color: #fff;
  text-decoration: none;
}

.prose a.store-btn { text-underline-offset: 0; }

.app-cta .btn--ghost {
  background: var(--grad);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 16px 40px -22px rgba(10, 18, 38, .5);
}

.app-cta .btn--ghost::after { background: rgba(255, 255, 255, .18); }

/* Fundo do índice: mais camadas e movimento ----------------------------- */
.mesh {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(58% 48% at 10% 6%, rgba(109, 85, 255, .13), transparent 62%),
    radial-gradient(52% 44% at 92% 18%, rgba(0, 147, 173, .13), transparent 62%),
    radial-gradient(56% 46% at 48% 102%, rgba(194, 47, 192, .1), transparent 66%);
  animation: mesh-shift 26s ease-in-out infinite alternate;
}

@keyframes mesh-shift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(-2%, 1.6%, 0) scale(1.07); }
}

.dots {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .55;
  background-image: radial-gradient(rgba(10, 18, 38, .11) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(72% 62% at 50% 26%, #000 0%, transparent 78%);
  mask-image: radial-gradient(72% 62% at 50% 26%, #000 0%, transparent 78%);
}

.beam {
  position: fixed;
  top: -30%;
  left: -40%;
  z-index: 0;
  width: 46%;
  height: 170%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(109, 85, 255, .07) 45%, rgba(0, 147, 173, .05) 55%, transparent);
  transform: rotate(14deg);
  animation: beam-sweep 22s linear infinite;
}

@keyframes beam-sweep {
  from { transform: translateX(-10%) rotate(14deg); }
  to   { transform: translateX(320%) rotate(14deg); }
}

/* Etiqueta do projeto no cartão do índice ------------------------------- */
.hero__panel-tag {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: .5rem;
  padding: .22rem .6rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-family: var(--f-display);
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Botões de loja: vencer a especificidade dos links do texto */
.prose .app-cta a.store-btn,
.prose .app-cta a.store-btn:visited,
.prose .app-cta a.store-btn:hover { color:#fff; text-decoration:none; }
.prose .app-cta a.store-btn small,
.prose .app-cta a.store-btn strong { color:#fff; }
/* ==========================================================================
   Logo com duas ligações, voltar ao blog e cor por artigo
   ========================================================================== */

.brand__home {
  display: inline-flex;
  align-items: center;
  flex: none;
  text-decoration: none;
}

.brand__tag {
  text-decoration: none;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}

.brand__tag:hover,
.brand__tag:focus-visible {
  background: var(--text);
  border-color: var(--text);
  color: #fff;
}

/* Botão de volta ao blog -------------------------------------------------- */
.back {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  width: max-content;
  margin: 0 0 1.1rem;
  padding: .5rem .95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  font-family: var(--f-display);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--text);
  text-decoration: none;
  transition: transform .25s var(--ease), border-color .25s ease, color .25s ease, background .25s ease;
}

.back:hover {
  transform: translateX(-3px);
  border-color: var(--violet);
  color: var(--violet-deep);
}

.post-hero .back {
  border-color: rgba(255, 255, 255, .38);
  background: rgba(255, 255, 255, .16);
  color: #fff;
  backdrop-filter: blur(8px);
}

.post-hero .back:hover {
  background: rgba(255, 255, 255, .28);
  color: #fff;
  border-color: rgba(255, 255, 255, .6);
}

.back--inline {
  display: flex;
  margin: 1.9rem auto .8rem;
}

/* Faixa de cor do artigo -------------------------------------------------- */
.article-rule {
  width: 100%;
  height: 6px;
  background: var(--grad);
}

/* Cor do projeto visível -------------------------------------------------- */
:root {
  --scrim: 67, 49, 216;
  --tint: 109, 85, 255;
}

.t-evolumi { --scrim: 42, 96, 71; --tint: 47, 107, 79; }
.t-custo { --scrim: 67, 56, 202; --tint: 79, 70, 229; }
.t-menu { --scrim: 150, 66, 26; --tint: 168, 73, 28; }
.t-festas { --scrim: 152, 42, 37; --tint: 171, 47, 41; }
.t-montra { --scrim: 110, 72, 32; --tint: 125, 81, 38; }

.post-hero__scrim {
  background:
    linear-gradient(180deg, rgba(5, 11, 28, .66) 0%, rgba(5, 11, 28, .36) 38%, rgba(5, 11, 28, .94) 100%),
    radial-gradient(95% 75% at 86% 100%, rgba(var(--scrim), .58), transparent 64%);
}

.prose blockquote {
  background: linear-gradient(140deg, rgba(var(--tint), .13), rgba(var(--tint), .04));
  border-color: rgba(var(--tint), .22);
}

.prose blockquote::before { color: rgba(var(--tint), .45); }

.callout {
  background: linear-gradient(120deg, rgba(var(--tint), .11), rgba(var(--tint), .035));
  border-color: rgba(var(--tint), .18);
}

.prose h2 { border-top-color: rgba(var(--tint), .22); }

.prose > p:first-of-type::first-letter {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
}

.stats,
.tablewrap,
.signoff { border-color: rgba(var(--tint), .16); }

.signoff { background: linear-gradient(145deg, #ffffff, rgba(var(--tint), .05)); }

/* Seletor de idioma */
.langs{display:inline-flex;align-items:center;gap:.15rem;padding:.2rem;border:1px solid var(--line);border-radius:999px;background:rgba(255,255,255,.7)}
.langs a{display:inline-flex;align-items:center;justify-content:center;min-width:2.1rem;height:1.75rem;padding:0 .45rem;border-radius:999px;font-family:var(--f-display);font-size:.68rem;font-weight:700;letter-spacing:.06em;color:var(--muted);text-decoration:none;transition:background .2s ease,color .2s ease}
.langs a:hover{color:var(--text);background:rgba(10,18,38,.06)}
.langs a.is-current{background:var(--text);color:#fff}
@media (max-width:760px){.langs{order:9}.topbar__inner{flex-wrap:wrap}}
