/* ════════════════════════════════════════════════════════
   AGÊNCIA DDM — v2 "SIGNAL"
   Dark · cinematográfico · Schibsted Grotesk / IBM Plex Mono
   Cores da marca: azul #1A6BC8 + laranja #E8692A
   Inspiração de layout: creative agency landing (Fluxora)
   ════════════════════════════════════════════════════════ */

:root {
  --bg: #0B0B0E;
  --bg-2: #111114;
  --bg-3: #17171C;
  --card: #141418;
  --card-2: #1B1B21;
  --ink: #F4F3F0;
  --muted: #9A9AA4;
  --muted-2: #82828C;
  --line: rgba(244, 243, 240, 0.09);
  --line-2: rgba(244, 243, 240, 0.16);

  --blue: #359DD7;          /* azul da marca (logo) */
  --blue-deep: #2585BD;
  --blue-soft: rgba(53, 157, 215, 0.12);
  --orange: #F4742B;
  --orange-deep: #E8692A;
  --grad: linear-gradient(100deg, var(--blue-deep) 0%, var(--orange) 78%);
  --grad-warm: linear-gradient(120deg, #FF8A45 0%, #E8692A 60%, #C24A1C 100%);

  --font: 'Schibsted Grotesk', sans-serif;
  --mono: 'IBM Plex Mono', monospace;

  --container: 1280px;
  --gutter: clamp(20px, 4vw, 56px);
  --radius: 22px;
  --radius-lg: 32px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--orange); color: #1a0e06; }

img { display: block; max-width: 100%; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ── NAV ───────────────────────────────────────────────── */
#nav {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 800;
  width: min(calc(100% - 36px), 1320px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 27px 20px 43px;
  border-radius: 100px;
  background: rgba(18, 18, 22, 0.55);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: background 0.4s, border-color 0.4s, top 0.4s var(--ease);
}
#nav.scrolled {
  background: rgba(13, 13, 17, 0.85);
  border-color: var(--line-2);
}
.nav-logo { position: relative; display: inline-flex; align-items: center; }
.nav-logo img { height: 48px; display: block; transition: opacity 0.3s var(--ease); }
.nav-logo .logo-color { position: absolute; top: 0; left: 0; opacity: 0; }
.nav-logo:hover .logo-white { opacity: 0; }
.nav-logo:hover .logo-color { opacity: 1; }
/* hover no logo: cinza atrás do logo + faixa de "loading" varrendo até o preto */
#nav:has(.nav-logo:hover) {
  border-color: var(--line-2);
  background-image:
    linear-gradient(100deg, transparent 0%, rgba(220, 220, 226, 0.16) 50%, transparent 100%),
    linear-gradient(90deg, #dcdce2 0%, #dcdce2 14%, transparent 32%, transparent 100%);
  background-repeat: no-repeat;
  background-size: 55% 100%, 100% 100%;
  background-position: -65% 0, 0 0;
  animation: navLoadSweep 1.5s linear infinite;
}
@keyframes navLoadSweep {
  to { background-position: 165% 0, 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  #nav:has(.nav-logo:hover) { animation: none; background-position: 0 0, 0 0; }
}
.nav-pills {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-pills a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 9px 16px;
  border-radius: 100px;
  transition: color 0.25s, background 0.25s;
}
.nav-pills a:hover { color: var(--ink); background: rgba(244, 243, 240, 0.06); }

/* ── DROPDOWN DE SERVIÇOS ──────────────────────────────── */
.nav-dd { position: relative; display: flex; }
.nav-dd-trigger { display: inline-flex; align-items: center; gap: 6px; }
.nav-chevron { transition: transform 0.3s var(--ease); margin-top: 1px; }
.nav-dd:hover .nav-chevron,
.nav-dd:focus-within .nav-chevron { transform: rotate(180deg); }
.nav-dd-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 16px;            /* ponte invisível trigger → menu */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s var(--ease), visibility 0.25s;
}
.nav-dd:hover .nav-dd-menu,
.nav-dd:focus-within .nav-dd-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.nav-dd-inner {
  width: 326px;
  background: rgba(17, 17, 21, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line-2);
  border-radius: 22px;
  padding: 8px;
  box-shadow: 0 26px 64px -22px rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  gap: 1px;
  transform: translateY(8px);
  transition: transform 0.28s var(--ease);
}
.nav-dd:hover .nav-dd-inner,
.nav-dd:focus-within .nav-dd-inner { transform: translateY(0); }
.nav-dd-inner .dd-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  background: transparent;
  transition: background 0.2s, color 0.2s, transform 0.2s var(--ease);
}
.nav-dd-inner .dd-item:hover {
  background: rgba(244, 243, 240, 0.06);
  color: var(--ink);
  transform: none;
}
.dd-ico {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: rgba(244, 116, 43, 0.1);
  color: var(--orange);
  display: grid; place-items: center;
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s;
}
.dd-txt { display: flex; flex-direction: column; line-height: 1.25; }
.dd-txt small { color: var(--muted-2); font-size: 11px; font-weight: 400; margin-top: 1px; }
.dd-item--feat { color: var(--ink); }
.dd-item--feat .dd-ico { background: var(--grad-warm); color: #fff; }
.dd-item--feat:hover .dd-ico { color: #fff; }
.dd-div { height: 1px; background: var(--line); margin: 6px 10px; }

/* serviços no menu mobile */
.menu-services { margin-top: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px; }
.menu-services-title {
  grid-column: 1 / -1;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-2);
  margin-bottom: 4px;
}
.menu-services a {
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  padding: 9px 0;
  min-height: 24px;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}
.menu-services a:hover { color: var(--blue); }

.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-clock {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--muted-2);
}
.btn-white {
  background: var(--ink);
  color: #111;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  padding: 12px 22px;
  border-radius: 100px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
  white-space: nowrap;
}
.btn-white:hover { box-shadow: 0 8px 30px rgba(244, 243, 240, 0.18); }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}
.nav-burger span {
  width: 22px; height: 1.6px;
  background: var(--ink);
  transition: transform 0.35s var(--ease), opacity 0.3s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(3.3px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { transform: translateY(-3.3px) rotate(-45deg); }

/* menu mobile */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 790;
  background: var(--bg-2);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 var(--gutter) 56px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}
.menu-overlay.open { opacity: 1; pointer-events: auto; }
.menu-links { display: flex; flex-direction: column; gap: 2px; }
.menu-links a {
  font-weight: 600;
  font-size: clamp(32px, 9vw, 54px);
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.2;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease) calc(var(--i) * 0.05s),
              transform 0.5s var(--ease) calc(var(--i) * 0.05s),
              color 0.2s;
}
.menu-overlay.open .menu-links a { opacity: 1; transform: none; }
.menu-links a:hover { color: var(--blue); }
.menu-foot {
  position: absolute;
  bottom: 30px; left: var(--gutter); right: var(--gutter);
  display: flex; justify-content: space-between;
  font-family: var(--mono); font-size: 12px; color: var(--muted-2);
}

/* ── BOTÃO CTA (pílula + círculo) ──────────────────────── */
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 7px 7px 7px 26px;
  border-radius: 100px;
  background: var(--grad-warm);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 15.5px;
  border: none;
  cursor: pointer;
  transition: box-shadow 0.35s, transform 0.35s var(--ease);
  box-shadow: 0 10px 36px -10px rgba(232, 105, 42, 0.6);
}
.btn-cta:hover { box-shadow: 0 14px 48px -8px rgba(232, 105, 42, 0.75); }
.btn-cta-circle {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: #fff;
  color: #E8692A;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 0.4s var(--ease);
}
.btn-cta:hover .btn-cta-circle { transform: rotate(45deg); }
.btn-cta--sm { font-size: 14px; padding: 6px 6px 6px 20px; }
.btn-cta--sm .btn-cta-circle { width: 36px; height: 36px; }
.btn-cta--lg { font-size: 17px; padding: 9px 9px 9px 32px; }
.btn-cta--lg .btn-cta-circle { width: 50px; height: 50px; }

/* ── SEÇÕES base ───────────────────────────────────────── */
.section { padding: clamp(80px, 11vw, 70px) 0; position: relative; }

/* ── DECORAÇÃO DE FUNDO DAS SEÇÕES ─────────────────────── */
/* textura de pontos sutil */
.section > .container { position: relative; z-index: 1; }
.section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(244, 243, 240, 0.05) 1px, transparent 1.6px);
  background-size: 34px 34px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent);
  opacity: 0.5;
}
/* glyph grande em outline que remete ao serviço */
.section.has-deco { overflow: hidden; }
.sec-deco {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  color: var(--orange);
  opacity: 0.08;
}
.sec-deco svg {
  width: clamp(230px, 32vw, 460px);
  height: auto;
  stroke-width: 0.9;
}
.sec-deco--tr { top: -7%; right: -3%; transform: rotate(8deg); }
.sec-deco--bl { bottom: -9%; left: -3%; transform: rotate(-6deg); color: var(--blue); opacity: 0.09; }
@media (max-width: 768px) {
  .sec-deco { display: none; }
  .section::before { background-size: 28px 28px; }
}

.section-head {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: end;
  margin-bottom: clamp(44px, 6vw, 72px);
}
.section-head--center {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
  margin-bottom: 40px;
}
.section-title {
  font-weight: 600;
  font-size: clamp(34px, 5.2vw, 62px);
  line-height: 1.04;
  letter-spacing: -0.03em;
}
.section-title .dim { color: var(--muted-2); }
.section-side {
  color: var(--muted);
  font-size: 16px;
  max-width: 380px;
}

/* ── HERO ──────────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 130px 0 0;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 70% 48%;
}
/* crossfade puro em CSS entre as duas imagens da hero: cada <img> fica
   empilhada (position:absolute) e alterna opacidade com o mesmo ciclo,
   defasado pela metade da duração — assim uma sempre está subindo
   enquanto a outra desce, sem precisar de JS */
.hero-bg-img {
  position: absolute;
  inset: 0;
  animation: heroCrossfade 16s ease-in-out infinite;
}
.hero-bg-img--a { animation-delay: 0s; }
.hero-bg-img--b { animation-delay: -8s; }
@keyframes heroCrossfade {
  0%, 40% { opacity: 1; }
  55%, 95% { opacity: 0; }
  100% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg-img { animation: none; }
  .hero-bg-img--a { opacity: 1; }
  .hero-bg-img--b { opacity: 0; }
}
.hero-tint {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,11,14,0.55) 0%, rgba(11,11,14,0.2) 35%, rgba(11,11,14,0.85) 100%),
    linear-gradient(95deg, rgba(11,11,14,0.92) 0%, rgba(11,11,14,0.55) 38%, rgba(232,105,42,0.18) 100%);
  mix-blend-mode: normal;
}
.hero-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 80% 20%, transparent 40%, rgba(11,11,14,0.6) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--gutter);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.35;
  margin-bottom: 30px;
  animation: fadeUp 0.9s var(--ease) 0.1s both;
}
.hero-eyebrow svg { color: var(--blue); flex-shrink: 0; }
.eyebrow-divider { width: 1px; height: 28px; background: var(--line-2); }
.hero-title {
  font-weight: 600;
  font-size: clamp(42px, 8vw, 104px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin-bottom: 26px;
}
.hero-title em {
  font-style: italic;
  font-weight: 400;
  background: var(--grad-warm);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-title { animation: fadeUp 0.9s var(--ease) 0.2s both; }
.hero-sub {
  max-width: 480px;
  color: var(--muted);
  font-size: 18px;
  margin-bottom: 38px;
  animation: fadeUp 0.9s var(--ease) 0.32s both;
}
.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  animation: fadeUp 0.9s var(--ease) 0.42s both;
}
.hero-proof { display: flex; align-items: center; gap: 14px; }
.proof-avatars { display: flex; }
.avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  border: 2px solid var(--bg);
  margin-left: -12px;
  overflow: hidden;
}
.avatar:first-child { margin-left: 0; }
.avatar--img { padding: 0; }
.avatar--img img { width: 100%; height: 100%; object-fit: cover; }
.avatar--blue { background: var(--blue); }
.avatar--orange { background: var(--orange); }
.proof-text { font-size: 14px; font-weight: 600; line-height: 1.25; }
.proof-text small { font-weight: 400; color: var(--muted); }

.hero-cards {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeUp 0.9s var(--ease) 0.52s both;
}
.glass-card {
  background: rgba(20, 20, 24, 0.5);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius);
  padding: 20px 26px;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.glass-icon { color: var(--blue); font-size: 16px; }
.glass-num { font-size: 34px; font-weight: 600; line-height: 1; color: var(--blue); }
.glass-label { font-size: 13px; color: var(--muted); }
.glass-label small { color: var(--muted-2); }

/* faixa inferior do hero */
.hero-band {
  position: relative;
  z-index: 2;
  margin-top: clamp(40px, 6vh, 64px);
  border-top: 1px solid var(--line);
  background: rgba(11, 11, 14, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 18px var(--gutter);
  animation: fadeIn 1s var(--ease) 0.7s both;
}
.band-est {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
}
.band-est strong { color: var(--ink); font-weight: 700; }
.band-est i { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }
.band-partners { overflow: hidden; }
.band-title {
  display: block;
  font-family: var(--mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-2);
  margin-bottom: 6px;
}
.band-logos {
  display: flex;
  gap: 28px;
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  flex-wrap: wrap;
}
.band-scroll {
  position: absolute;
  left: 50%;
  bottom: 100%;
  transform: translateX(-50%);
  margin-bottom: clamp(16px, 2.4vw, 28px);
  z-index: 3;
  display: grid; place-items: center;
  padding: 6px 14px;
  color: var(--muted);
  transition: color 0.3s;
}
.band-scroll:hover { color: var(--blue); }

@keyframes fadeUp { from { opacity: 0; transform: translateY(26px); } }
@keyframes fadeIn { from { opacity: 0; } }

/* ── SERVIÇOS ──────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.scard {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s, background 0.4s, transform 0.45s var(--ease), filter 0.45s var(--ease), opacity 0.45s var(--ease);
}
.scard::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s;
}
.scard:hover { background: var(--card-2); }
.scard:hover::after { opacity: 1; }

/* spotlight: no hover, o card voa pro centro da tela e amplia; os demais
   ficam embaçados/esmaecidos. Controlado via JS (site.js) porque um
   :hover nativo "quebra" assim que o elemento se afasta do cursor —
   o translate/scale usa variáveis calculadas no mouseover.
   Especificidade .services-grid.reveal-group .scard (0,3,0) é proposital:
   precisa bater a regra de reveal-on-scroll ".reveal-group.in > *" (0,2,0),
   que senão zera este transform assim que o card "revela" no scroll. */
.services-grid.reveal-group .scard {
  --sx: 0px; --sy: 0px; --sscale: 1;
  transform: translate(var(--sx), var(--sy)) scale(var(--sscale));
  will-change: transform;
}
.scard.scard--zoom {
  z-index: 850; /* acima da nav (800), pra nunca ficar escondido atrás dela */
  background: var(--card-2);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5);
}
.scard.scard--zoom::after { opacity: 1; }
/* ".section > .container" cria seu próprio contexto de empilhamento
   (position:relative + z-index:1), o que "prende" o z-index do card lá
   dentro — sem isso, o 850 acima nunca chega a competir com a nav (800),
   que está em outro ramo da árvore. Elevamos só o container específico
   que tem um card em spotlight, e só enquanto isso durar. */
.section > .container:has(.services-grid.is-spotlight) { z-index: 900; }
.services-grid.is-spotlight .scard:not(.scard--zoom),
.services-grid.is-spotlight .scard-filler {
  filter: blur(3px);
  opacity: 0.45;
  transform: translate(0, 0) scale(0.97);
}
/* efeito é só de desktop: abaixo de 1025px o JS nem liga os listeners,
   e este bloco garante que nada fica preso ampliado/borrado se a tela
   mudar de tamanho (ex.: girar um tablet) com o efeito no meio */
@media (prefers-reduced-motion: reduce), (hover: none), (max-width: 1024px) {
  .scard { transform: none !important; }
  .services-grid.is-spotlight .scard:not(.scard--zoom),
  .services-grid.is-spotlight .scard-filler { filter: none; opacity: 1; }
}

/* preenche o buraco do grid 3x3 (7 serviços + featured ocupando 2 linhas
   deixam 1 vaga sobrando) só com uma citação, sem o box do card — sem
   link, sem CTA, sem hover-zoom */
.scard-filler {
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  transition: filter 0.45s var(--ease), opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.scard-filler p {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 17px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0;
}
.scard-filler p strong { color: var(--ink); font-weight: 600; }
.scard-filler cite {
  font-family: var(--mono);
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted-2);
}
.scard-icon {
  width: 50px; height: 50px;
  border-radius: 14px;
  background: rgba(244, 116, 43, 0.1);
  color: var(--orange);
  display: grid; place-items: center;
  transition: background 0.4s, color 0.4s;
}
.scard:hover .scard-icon, .scard.scard--zoom .scard-icon { background: var(--grad-warm); color: #fff; }
.scard h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.scard p { color: var(--muted); font-size: 14.5px; flex-grow: 1; }

.scard--featured {
  grid-column: span 1;
  grid-row: span 2;
  background: linear-gradient(165deg, #1c1410 0%, var(--card) 55%);
  padding: 36px;
}
.scard--featured::before {
  content: '';
  position: absolute;
  top: -40%; right: -30%;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(244,116,43,0.18), transparent 65%);
  pointer-events: none;
}
.scard-badge {
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--orange);
  background: rgba(244, 116, 43, 0.12);
  border: 1px solid rgba(244, 116, 43, 0.25);
  padding: 6px 12px;
  border-radius: 100px;
}
.scard--featured h3 { font-size: 30px; }
.scard--featured .scard-icon { width: 56px; height: 56px; }
.scard-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.scard-tags span {
  font-size: 12.5px;
  color: var(--muted);
  border: 1px solid var(--line-2);
  border-radius: 100px;
  padding: 6px 13px;
}
.scard-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--orange);
  margin-top: 4px;
}
.scard-link svg { transition: transform 0.35s var(--ease); }
.scard:hover .scard-link svg, .scard.scard--zoom .scard-link svg { transform: translate(3px, -3px); }

/* ── PROCESSO (cards lado a lado) ───────────────────────── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.pcard {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: border-color 0.4s, transform 0.4s var(--ease), background 0.4s;
}
.pcard:hover { border-color: var(--line-2); transform: translateY(-5px); background: var(--card-2); }
.pcard-photo {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.pcard-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.3);
  transition: transform 0.6s var(--ease), filter 0.6s;
}
.pcard:hover .pcard-photo img { transform: scale(1.05); filter: grayscale(0); }
.pcard-body {
  padding: clamp(20px, 1.7vw, 26px);
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex-grow: 1;
}
.pcard-step {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
}
.pcard-title {
  font-size: clamp(20px, 1.6vw, 24px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.pcard-desc { color: var(--muted); font-size: 14px; line-height: 1.58; }
.pcard-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: auto;
  padding-top: 16px;
}
.pcard-list li {
  position: relative;
  padding-left: 18px;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.4;
  transition: color 0.3s;
}
.pcard-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 7px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--grad-warm);
}
.pcard:hover .pcard-list li { color: var(--ink); }

/* conector de passo a passo: círculo laranja + seta branca + anéis pulsantes */
.pcard-arrow {
  display: none;
  position: absolute;
  z-index: 5;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--grad-warm);
  color: #fff;
  place-items: center;
  box-shadow: 0 8px 24px -8px rgba(232, 105, 42, 0.65);
}
.pcard-arrow svg { position: relative; z-index: 2; }
.pcard-arrow::before, .pcard-arrow::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid var(--orange);
  z-index: 1;
  animation: pcardPulse 2.6s ease-out infinite;
}
.pcard-arrow::after { animation-delay: 1.3s; }
@keyframes pcardPulse {
  0%   { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.9); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .pcard-arrow::before, .pcard-arrow::after { animation: none; opacity: 0; }
}
@media (min-width: 1025px) {
  .pcard:not(:last-child) .pcard-arrow {
    display: grid;
    left: 100%;
    top: 50%;
    margin-left: 8px;
    transform: translate(-50%, -50%);
  }
}
@media (max-width: 1024px) { .process-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
  .process-grid { grid-template-columns: 1fr; }
  .pcard:not(:last-child) .pcard-arrow {
    display: grid;
    top: 100%;
    left: 50%;
    margin-top: 8px;
    transform: translate(-50%, -50%);
  }
  .pcard:not(:last-child) .pcard-arrow svg { transform: rotate(90deg); }
}

/* ── BENTO ─────────────────────────────────────────────── */
.bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: minmax(220px, auto);
  gap: 16px;
}
.bento-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.bento-card--photo {
  padding: 0;
  min-height: 420px;
}
.bento-card--photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.2) brightness(0.85);
}
.bento-photo-overlay {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 32px;
  background: linear-gradient(180deg, transparent, rgba(11,11,14,0.92));
}
.bento-photo-overlay h3 { font-size: 24px; font-weight: 600; margin-bottom: 8px; }
.bento-photo-overlay p { color: var(--muted); font-size: 14.5px; max-width: 360px; }

.bento-card--center {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  background: linear-gradient(160deg, var(--card-2), var(--card));
  gap: 16px;
}
.orbit {
  position: relative;
  width: 120px; height: 120px;
  margin-bottom: 6px;
}
.orbit-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 54px; height: 54px;
  border-radius: 16px;
  background: var(--grad-warm);
  color: #fff;
  display: grid; place-items: center;
  z-index: 2;
  box-shadow: 0 8px 30px -6px rgba(232,105,42,0.6);
}
.orbit-dot {
  position: absolute;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--bg-3);
  border: 1px solid var(--line-2);
  display: grid; place-items: center;
  font-size: 11px;
  color: var(--blue);
  animation: orbitFloat 4s ease-in-out infinite;
}
.od-1 { top: 0; left: 50%; transform: translateX(-50%); }
.od-2 { top: 50%; right: 0; transform: translateY(-50%); color: var(--orange); animation-delay: 0.5s; }
.od-3 { bottom: 0; left: 50%; transform: translateX(-50%); animation-delay: 1s; }
.od-4 { top: 50%; left: 0; transform: translateY(-50%); color: var(--orange); animation-delay: 1.5s; }
@keyframes orbitFloat { 0%,100% { translate: 0 0; } 50% { translate: 0 -6px; } }
.bento-card--center h3 { font-size: 23px; font-weight: 600; }
.bento-card--center p { color: var(--muted); font-size: 14.5px; max-width: 320px; }
.bento-card--center .btn-cta { margin-top: 8px; }

.bento-card--wide {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.improve-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--grad-warm);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  padding: 16px 22px;
  border-radius: var(--radius);
}
.improve-body {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}
.improve-left h3 { font-size: 22px; font-weight: 600; margin-bottom: 8px; }
.improve-left p { color: var(--muted); font-size: 14.5px; max-width: 460px; margin-bottom: 16px; }
.improve-list { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.improve-list li {
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
  color: var(--ink);
}
.improve-list li::before {
  content: '✓';
  position: absolute; left: 0; top: 0;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(244,116,43,0.15);
  color: var(--orange);
  font-size: 11px;
  display: grid; place-items: center;
}
.improve-gauge {
  position: relative;
  width: 150px;
  text-align: center;
  flex-shrink: 0;
}
.improve-gauge svg { width: 100%; }
.improve-gauge strong {
  position: absolute;
  top: 52%; left: 0; right: 0;
  font-size: 28px;
  font-weight: 600;
}
.improve-gauge span { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.gauge-arc { transition: stroke-dashoffset 1.4s var(--ease); }

/* ── CLIENTES (logos) ──────────────────────────────────── */
.section--clients { padding-bottom: clamp(24px, 4vw, 32px); }
.section--quotes { padding-top: clamp(40px, 6vw, 48px); }

.logo-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.logo-cell {
  display: grid;
  place-items: center;
  aspect-ratio: 2 / 1;
  padding: 10px 16px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
/* todo logo vem numa moldura 300x100 com área óptica equivalente,
   por isso aqui basta escalar a moldura — o respiro já vem no asset */
.logo-cell img {
  width: 100%;
  height: auto;
  /* alguns logos trazem fundo branco chapado; o multiply funde no card */
  mix-blend-mode: multiply;
  filter: saturate(0.9);
  transition: filter 0.4s var(--ease);
}
.logo-cell:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}
.logo-cell:hover img { filter: saturate(1.1); }

@media (max-width: 1000px) {
  .logo-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; }
}
@media (max-width: 620px) {
  .logo-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .logo-cell { padding: 10px; border-radius: 12px; }
}

/* ── DEPOIMENTOS ───────────────────────────────────────── */
.gscore {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  text-decoration: none;
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.gscore:hover { border-color: var(--line-2); transform: translateY(-2px); }
.gscore-num { font-size: 17px; font-weight: 700; color: var(--blue); }
.gscore-stars { color: var(--orange); font-size: 13px; letter-spacing: 1.5px; }
.gscore-txt { font-size: 13px; color: var(--muted); }
@media (max-width: 480px) {
  .gscore { gap: 8px; padding: 8px 13px; }
  .gscore-txt { font-size: 12px; }
}

/* trilho arrastável: mostra ~3 e desliza para os demais */
.quotes-rail { position: relative; }
.quotes {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  /* respiro p/ o hover (translateY) e a sombra não serem cortados pelo overflow */
  padding: 6px 2px 14px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.quotes::-webkit-scrollbar { display: none; }
.quotes > .qcard {
  flex: 0 0 calc((100% - 32px) / 3);
  scroll-snap-align: start;
}
@media (hover: hover) and (min-width: 1025px) {
  .quotes { cursor: grab; }   /* sinaliza o arrasto no desktop */
}
.quotes.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.quotes.is-dragging * { pointer-events: none; }

/* setas (afordância no desktop; o arrasto/scroll continua sendo o principal) */
.rail-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: var(--card-2);
  color: var(--ink);
  cursor: pointer;
  transition: opacity 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.rail-btn:hover { background: var(--bg-3); border-color: var(--muted-2); }
.rail-btn--prev { left: -14px; }
.rail-btn--next { right: -14px; }
.rail-btn[disabled] { opacity: 0; pointer-events: none; }
@media (max-width: 1024px) { .rail-btn { display: none; } }
.qcard {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: border-color 0.4s, transform 0.4s var(--ease);
}
.qcard:hover { border-color: var(--line-2); transform: translateY(-4px); }
.qcard-stars { color: var(--orange); font-size: 15px; letter-spacing: 2px; }
.qcard blockquote { font-size: 17px; line-height: 1.5; font-weight: 500; flex-grow: 1; }
.qcard figcaption { display: flex; align-items: center; gap: 12px; }
.qcard figcaption .avatar { margin-left: 0; }
.qcard figcaption strong { display: block; font-size: 14.5px; font-weight: 600; }
.qcard figcaption small { color: var(--muted); font-size: 12.5px; }

/* ── CTA ───────────────────────────────────────────────── */
#cta {
  position: relative;
  padding: clamp(100px, 14vw, 180px) 0 0;
  overflow: hidden;
  text-align: center;
}
.cta-float {
  position: absolute;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  width: 92px; height: 92px;
  opacity: 0.9;
  z-index: 1;
}
.cta-float img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.3); }
.cta-float--1 { top: 16%; left: 8%; transform: rotate(-8deg); animation: floaty 7s ease-in-out infinite; }
.cta-float--2 { top: 24%; right: 10%; transform: rotate(7deg); width: 76px; height: 76px; animation: floaty 6s ease-in-out infinite 0.5s; }
.cta-float--3 { bottom: 34%; left: 14%; transform: rotate(6deg); width: 70px; height: 70px; animation: floaty 8s ease-in-out infinite 1s; }
.cta-float--4 { bottom: 30%; right: 12%; transform: rotate(-6deg); animation: floaty 6.5s ease-in-out infinite 0.8s; }
@keyframes floaty { 0%,100% { translate: 0 0; } 50% { translate: 0 -14px; } }

.cta-inner { position: relative; z-index: 3; max-width: 760px; }
.cta-title {
  font-size: clamp(38px, 6.5vw, 80px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}
.cta-title .dim { color: var(--muted-2); }
.cta-title em {
  font-style: italic;
  font-weight: 400;
  background: var(--grad-warm);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cta-sub { color: var(--muted); font-size: 18px; max-width: 520px; margin: 0 auto 36px; }
.cta-alt { margin-top: 22px; font-size: 14px; color: var(--muted); }
.cta-alt a { color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--blue); }

.horizon {
  position: relative;
  z-index: 2;
  height: 280px;
  margin-top: 60px;
  background: radial-gradient(120% 200% at 50% 100%, rgba(244,116,43,0.5) 0%, rgba(232,105,42,0.12) 30%, transparent 55%);
}
.horizon::before {
  content: '';
  position: absolute;
  left: 8%; right: 8%;
  bottom: 70px;
  height: 2px;
  border-radius: 50%;
  background: linear-gradient(90deg, transparent, #FF8A45, #FFB37A, #FF8A45, transparent);
  box-shadow: 0 0 60px 12px rgba(244,116,43,0.55);
}

/* ── FOOTER ────────────────────────────────────────────── */
footer {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding: clamp(56px, 8vw, 88px) 0 34px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: clamp(28px, 5vw, 56px);
  padding-bottom: 52px;
}
.footer-brand p {
  color: var(--muted);
  font-size: 15px;
  max-width: 320px;
  margin: 20px 0 24px;
}
.footer-logo { height: 34px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col-title {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-2);
  margin-bottom: 6px;
}
.footer-col a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14.5px;
  transition: color 0.25s, transform 0.25s var(--ease);
  width: fit-content;
}
.footer-col a:hover { color: var(--ink); transform: translateX(4px); }
.footer-col a.soc-link { display: inline-flex; align-items: center; gap: 10px; }
.footer-col a.soc-link svg { width: 17px; height: 17px; flex-shrink: 0; color: var(--blue); }
.footer-note { color: var(--muted-2); font-size: 14px; }

/* botões circulares de rede social */
.footer-socials { display: flex; gap: 10px; margin-top: 22px; }
.footer-social {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  display: grid;
  place-items: center;
  color: var(--muted);
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}
.footer-social:hover {
  background: var(--grad-warm);
  color: #fff;
  border-color: transparent;
  transform: translateY(-3px);
}
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted-2);
}

/* ── REVEAL ────────────────────────────────────────────── */
.reveal, .reveal-group > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}
.reveal.in, .reveal-group.in > * { opacity: 1; transform: none; }
.reveal-group.in > *:nth-child(2) { transition-delay: 0.05s; }
.reveal-group.in > *:nth-child(3) { transition-delay: 0.1s; }
.reveal-group.in > *:nth-child(4) { transition-delay: 0.15s; }
.reveal-group.in > *:nth-child(5) { transition-delay: 0.2s; }
.reveal-group.in > *:nth-child(6) { transition-delay: 0.25s; }
.reveal-group.in > *:nth-child(7) { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
  }
}

/* ── RESPONSIVO ────────────────────────────────────────── */
@media (max-width: 1024px) {
  .nav-pills { display: none; }
  .nav-burger { display: flex; }
  .nav-clock { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .scard--featured { grid-column: span 2; grid-row: span 1; }
  .bento { grid-template-columns: 1fr; }
  .bento-card--photo { min-height: 360px; grid-row: span 1; }
  .bento-card--wide { grid-column: span 1; }
  .quotes > .qcard { flex: 0 0 calc((100% - 16px) / 2); }
  .section-head { grid-template-columns: 1fr; gap: 20px; }
  .section-side { max-width: 540px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-band { grid-template-columns: 1fr auto; }
  .band-partners { display: none; }
}

@media (max-width: 768px) {
  #nav { padding: 8px 8px 8px 18px; }
  /* 88% deixa o próximo card "espiando" = sinal de que dá pra arrastar */
  .quotes > .qcard { flex: 0 0 88%; }
  .hero-cta-row { gap: 20px; }
  .improve-body { grid-template-columns: 1fr; }
  .improve-gauge { margin: 0 auto; }
  .services-grid { grid-template-columns: 1fr; }
  .scard--featured { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-float { display: none; }
  .hero-band { grid-template-columns: 1fr; gap: 14px; text-align: left; }
  .band-scroll { display: none; }
}

/* ════════════════════════════════════════════════════════
   PÁGINAS INTERNAS
   ════════════════════════════════════════════════════════ */

/* nav em página interna: fundo sólido desde o topo */
#nav.nav--page {
  background: rgba(13, 13, 17, 0.85);
  border-color: var(--line);
}

/* ── PAGE HERO ─────────────────────────────────────────── */
.page-hero {
  position: relative;
  padding: clamp(140px, 18vw, 140px) 0 clamp(60px, 8vw, 96px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -120px;
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(244,116,43,0.16), transparent 65%);
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(244,243,240,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244,243,240,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 30% 0%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 30% 0%, black 20%, transparent 70%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }

/* page hero com imagem de fundo (páginas de serviço) */
.page-hero--photo::before,
.page-hero--photo::after { display: none; }
.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(11,11,14,0.94) 26%, rgba(11,11,14,0.6) 52%, rgba(11,11,14,0.2) 82%, rgba(11,11,14,0.38) 100%),
    linear-gradient(180deg, rgba(11,11,14,0.92) 0%, transparent 24%),
    linear-gradient(0deg, var(--bg) 0%, transparent 34%);
}
@media (max-width: 768px) {
  .page-hero-bg img { object-position: 70% center; }
  .page-hero-overlay {
    background:
      linear-gradient(180deg, rgba(11,11,14,0.88) 0%, rgba(11,11,14,0.72) 42%, var(--bg) 94%);
  }
}

/* hero da /sobre: imagem mais escura e temática pede overlay mais leve à direita */
.page-hero--sobre .page-hero-bg img { object-position: 76% 48%; }
.page-hero--sobre .page-hero-overlay {
  background:
    linear-gradient(90deg,
      var(--bg) 0%,
      rgba(11, 11, 14, 0.95) 28%,
      rgba(11, 11, 14, 0.66) 48%,
      rgba(11, 11, 14, 0.28) 72%,
      rgba(11, 11, 14, 0.18) 100%),
    linear-gradient(180deg,
      rgba(11, 11, 14, 0.5) 0%,
      transparent 26%,
      transparent 68%,
      rgba(11, 11, 14, 0.9) 100%);
}
@media (max-width: 768px) {
  .page-hero--sobre .page-hero-bg img { object-position: 70% 42%; }
  .page-hero--sobre .page-hero-overlay {
    background:
      linear-gradient(180deg, rgba(11,11,14,0.84) 0%, rgba(11,11,14,0.7) 44%, var(--bg) 95%);
  }
}

/* indicador "role para ver mais": rastro de chevrons escorrendo para baixo */
.page-hero-scroll {
  position: absolute;
  left: 50%;
  bottom: clamp(16px, 2.4vw, 26px);
  transform: translateX(-50%);
  z-index: 2;
  padding: 8px 16px;
  border: none;
  background: none;
  cursor: pointer;
  color: var(--muted);
  transition: color 0.3s;
}
.page-hero-scroll:hover { color: var(--blue); }
.phs-chevs {
  position: relative;
  display: block;
  width: 24px;
  height: 28px;
}
.phs-chevs svg {
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 14px;
  opacity: 0;
  animation: phsTrail 1.8s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}
.phs-chevs svg:nth-child(1) { animation-delay: 0s; }
.phs-chevs svg:nth-child(2) { animation-delay: 0.18s; }
.phs-chevs svg:nth-child(3) { animation-delay: 0.36s; }
@keyframes phsTrail {
  0%   { opacity: 0; transform: translateY(-6px); }
  35%  { opacity: 0.9; }
  70%  { opacity: 0; transform: translateY(12px); }
  100% { opacity: 0; transform: translateY(12px); }
}
@media (prefers-reduced-motion: reduce) {
  .phs-chevs svg { animation: none; opacity: 0.7; }
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--muted-2);
  margin-bottom: 26px;
}
.breadcrumb a { color: var(--muted); text-decoration: none; transition: color 0.25s; }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb span { color: var(--muted-2); }

.page-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--orange);
  background: rgba(244, 116, 43, 0.1);
  border: 1px solid rgba(244, 116, 43, 0.25);
  padding: 7px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.page-title {
  font-weight: 600;
  font-size: clamp(38px, 6vw, 76px);
  line-height: 1.0;
  letter-spacing: -0.035em;
  max-width: 16ch;
  margin-bottom: 24px;
}
.page-title em {
  font-style: italic;
  font-weight: 400;
  background: var(--grad-warm);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.page-lead {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--muted);
  max-width: 620px;
  margin-bottom: 36px;
}
.page-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.page-hero-stats {
  display: flex;
  gap: clamp(28px, 5vw, 56px);
  margin-top: clamp(48px, 6vw, 72px);
  flex-wrap: wrap;
}
.phs { display: flex; flex-direction: column; gap: 4px; }
.phs strong { font-size: clamp(28px, 3.4vw, 40px); font-weight: 600; line-height: 1; color: var(--blue); }
.phs span { font-size: 13.5px; color: var(--muted); }

/* ── SECTION HEADINGS (genérico) ───────────────────────── */
.lead-block { max-width: 760px; margin-bottom: clamp(44px, 6vw, 64px); }

/* ── SEÇÃO DE PROSA (editorial) ────────────────────────── */
.prose-wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.prose-head { position: sticky; top: 108px; }
.prose-head .h2 { margin-top: 18px; }
.prose-aside {
  margin-top: 28px;
  padding: 20px 24px;
  border-left: 2px solid var(--orange);
  background: linear-gradient(100deg, rgba(244,116,43,0.07), transparent);
  border-radius: 0 14px 14px 0;
  font-size: 16px;
  font-style: italic;
  line-height: 1.5;
  color: var(--ink);
}
.prose-body { padding-top: 6px; }
.prose-body p {
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.75;
  margin-bottom: 22px;
  max-width: 640px;
}
.prose-body p:last-child { margin-bottom: 0; }
.prose-body p strong { color: var(--ink); font-weight: 600; }
@media (max-width: 900px) {
  .prose-wrap { grid-template-columns: 1fr; gap: 28px; }
  .prose-head { position: static; }
}
.kicker {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue);
  display: inline-block;
  margin-bottom: 18px;
}
.h2 {
  font-weight: 600;
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.025em;
}
.h2 .dim { color: var(--muted-2); }
.lead-text { color: var(--muted); font-size: 17px; margin-top: 18px; }

/* ── GRID DE ITENS (o que inclui / benefícios) ─────────── */
.incl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.incl-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.incl-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.35s, transform 0.35s var(--ease), background 0.35s;
}
.incl-card:hover { border-color: var(--line-2); transform: translateY(-4px); background: var(--card-2); }
.incl-num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--blue);
}
.incl-ico {
  width: 48px; height: 48px;
  border-radius: 13px;
  background: var(--blue-soft);
  color: var(--blue);
  display: grid; place-items: center;
}
.incl-card h3 { font-size: 19px; font-weight: 600; }
.incl-card p { color: var(--muted); font-size: 14.5px; }
.incl-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 4px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.incl-points li {
  position: relative;
  padding-left: 22px;
  font-size: 13.5px;
  color: var(--ink);
}
.incl-points li::before {
  content: '';
  position: absolute;
  left: 0; top: 7px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--grad-warm);
}

/* ── PARA QUEM É (fit / no-fit) ─────────────────────────── */
.fit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.fit-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  background: var(--card);
}
.fit-card--yes { background: linear-gradient(165deg, rgba(244,116,43,0.07), var(--card) 60%); border-color: rgba(244,116,43,0.22); }
.fit-head {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
}
.fit-badge {
  width: 30px; height: 30px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}
.fit-badge--yes { background: var(--grad-warm); color: #fff; }
.fit-badge--no { background: rgba(244,243,240,0.08); color: var(--muted); border: 1px solid var(--line-2); }
.fit-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.fit-list li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  line-height: 1.45;
}
.fit-list--yes li { color: var(--ink); }
.fit-list--no li { color: var(--muted); }
.fit-list li::before {
  position: absolute;
  left: 0; top: 0;
  font-size: 14px;
}
.fit-list--yes li::before { content: '✓'; color: var(--orange); font-weight: 700; }
.fit-list--no li::before { content: '✕'; color: var(--muted-2); }
@media (max-width: 768px) { .fit-grid { grid-template-columns: 1fr; } }

/* ── CHECKLIST em 2 colunas ────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.split--photo .split-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3.4;
}
.split--photo .split-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.2); }
.check-list { list-style: none; display: flex; flex-direction: column; gap: 16px; margin-top: 28px; }
.check-list li {
  position: relative;
  padding-left: 38px;
  font-size: 15.5px;
}
.check-list li strong { display: block; font-weight: 600; margin-bottom: 2px; }
.check-list li span { color: var(--muted); font-size: 14px; }
.check-list li::before {
  content: '✓';
  position: absolute; left: 0; top: 1px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--grad-warm);
  color: #fff;
  font-size: 12px;
  display: grid; place-items: center;
}

/* ── STEPS numerados ───────────────────────────────────── */
.steps-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.step-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}
.step-card .step-n {
  font-weight: 600;
  font-size: 40px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(244,116,43,0.5);
}
.step-card h3 { font-size: 18px; font-weight: 600; }
.step-card p { color: var(--muted); font-size: 14px; }

/* ── FAQ ───────────────────────────────────────────────── */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--ink);
  font-family: var(--font);
  font-size: 18px;
  font-weight: 600;
  text-align: left;
  padding: 26px 44px 26px 0;
  cursor: pointer;
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  transition: color 0.25s;
}
.faq-q:hover { color: var(--orange); }
.faq-q::after {
  content: '+';
  position: absolute;
  right: 4px; top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 400;
  color: var(--orange);
  transition: transform 0.3s var(--ease);
}
.faq-item.open .faq-q::after { transform: translateY(-50%) rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.faq-a-inner { padding: 0 44px 26px 0; color: var(--muted); font-size: 15.5px; line-height: 1.6; }

/* ── FORMULÁRIO (contato) ──────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: start;
}
.contact-info h2 { margin-bottom: 18px; }
.contact-info p { color: var(--muted); margin-bottom: 30px; max-width: 420px; }
.contact-channels { display: flex; flex-direction: column; gap: 14px; }
.contact-channel {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
  transition: border-color 0.3s, background 0.3s, transform 0.3s var(--ease);
}
.contact-channel:hover { border-color: var(--line-2); background: var(--card); transform: translateX(4px); }
.contact-channel .cc-ico {
  width: 42px; height: 42px;
  border-radius: 11px;
  background: rgba(244,116,43,0.1);
  color: var(--orange);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.contact-channel strong { display: block; font-size: 15px; font-weight: 600; }
.contact-channel small { color: var(--muted); font-size: 13px; }

.form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 40px);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  padding: 13px 16px;
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  transition: border-color 0.25s, background 0.25s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--orange);
  background: var(--bg-3);
}
.field textarea { resize: vertical; min-height: 120px; }
.form .btn-cta { width: 100%; justify-content: center; margin-top: 6px; }
.form-note { font-size: 12.5px; color: var(--muted-2); margin-top: 14px; text-align: center; }

/* ── BLOG LISTING ──────────────────────────────────────── */
.blog-feature {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 48px;
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.35s;
}
.blog-feature:hover { border-color: var(--line-2); }
.blog-feature-thumb {
  aspect-ratio: 16 / 11;
  background: var(--grad-warm);
  position: relative;
  display: grid; place-items: center;
  font-weight: 600;
  font-size: 56px;
  color: rgba(255,255,255,0.85);
}
.blog-feature-body { padding: clamp(28px, 4vw, 48px) clamp(28px,4vw,48px) clamp(28px,4vw,48px) 0; }
.blog-feature-body .bcard-tag { color: var(--blue); }
.blog-feature-body h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 600; line-height: 1.12; margin: 14px 0 16px; letter-spacing: -0.02em; }
.blog-feature-body p { color: var(--muted); margin-bottom: 20px; max-width: 440px; }

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.post-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  transition: border-color 0.35s, transform 0.35s var(--ease);
}
.post-card:hover { border-color: var(--line-2); transform: translateY(-4px); }
.post-thumb {
  aspect-ratio: 16 / 9;
  display: grid; place-items: center;
  font-weight: 600;
  font-size: 30px;
  color: rgba(255,255,255,0.85);
}
.pt-blue { background: linear-gradient(135deg, #2585BD, #359DD7); }
.pt-orange { background: var(--grad-warm); }
.pt-mix { background: linear-gradient(120deg, #359DD7, #F4742B); }
.post-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.post-body .bcard-tag { color: var(--blue); font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; }
.post-body h3 { font-size: 18px; font-weight: 600; line-height: 1.3; flex-grow: 1; }
.post-body .meta { font-family: var(--mono); font-size: 11.5px; color: var(--muted-2); text-transform: uppercase; }

/* imagens de capa preenchem os thumbs (cards + destaque) */
.post-thumb img, .blog-feature-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb-label { font-family: var(--mono); letter-spacing: 0.04em; }
.blog-home-more { text-align: center; margin-top: 44px; }

/* ── PÁGINA DE POST (artigo) ────────────────────────────── */
.post-hero .post-cat {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--orange);
  margin-bottom: 14px;
}
.post-title { max-width: 16ch; }
.post-hero-meta {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted-2);
  margin-top: 18px;
}
.post-wrap.prose { max-width: 720px; margin: 0 auto; }
.prose > * { max-width: 100%; }
.prose p, .prose li {
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.8;
}
.prose p { margin-bottom: 24px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose em { font-style: italic; }
.prose a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 0.25s;
}
.prose a:hover { color: var(--blue-deep); }
.prose h2 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 46px 0 18px;
}
.prose h3 {
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
  margin: 36px 0 14px;
}
.prose h4 {
  font-size: 18px; font-weight: 600; color: var(--ink); margin: 28px 0 12px;
}
.prose ul, .prose ol { margin: 0 0 24px; padding-left: 24px; }
.prose li { margin-bottom: 10px; }
.prose ul li { list-style: none; position: relative; }
.prose ul li::before {
  content: ''; position: absolute; left: -18px; top: 12px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--orange);
}
.prose ol { list-style: decimal; }
.prose ol li::marker { color: var(--blue); font-family: var(--mono); font-weight: 500; }
.prose blockquote {
  margin: 30px 0;
  padding: 4px 0 4px 24px;
  border-left: 3px solid var(--orange);
  color: var(--ink);
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.6;
  font-style: italic;
}
.prose blockquote p { color: var(--ink); margin-bottom: 0; }
.prose img {
  width: 100%; height: auto; display: block;
  border-radius: var(--radius); margin: 32px 0;
  border: 1px solid var(--line);
}
.prose figure { margin: 32px 0; }
.prose figcaption {
  font-family: var(--mono); font-size: 12.5px; color: var(--muted-2);
  text-align: center; margin-top: 10px;
}
.prose hr { border: 0; height: 1px; background: var(--line); margin: 40px 0; }
.prose code {
  font-family: var(--mono); font-size: 0.88em;
  background: var(--bg-3); padding: 2px 6px; border-radius: 6px; color: var(--ink);
}
.prose pre {
  background: var(--bg-3); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 22px; overflow-x: auto; margin: 28px 0;
}
.prose pre code { background: none; padding: 0; font-size: 14px; line-height: 1.6; }
.prose table { width: 100%; border-collapse: collapse; margin: 28px 0; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.prose th { color: var(--ink); font-weight: 600; }
.prose td { color: var(--muted); }
.post-share { max-width: 720px; margin: 40px auto 0; text-align: center; }
.post-faq { max-width: 720px; margin: 52px auto 0; }
.post-faq > .h2 { font-size: clamp(24px, 3vw, 30px); font-weight: 600; letter-spacing: -0.02em; margin-bottom: 20px; }
.post-faq .faq { max-width: 100%; }

/* ── MODO LEITURA (tema + tamanho de fonte, estilo Kindle) ─────────── */
/* Padrão = SÉPIA (fundo claro convida à leitura). O tema escuro do site
   vira um tema explícito via data-read-theme="dark". */
.post-reading {
  --r-bg: #f4ecd8;
  --r-text: #5b4a32;
  --r-strong: #2f2515;
  --r-head: #2f2515;
  --r-link: #9a5a23;
  --r-link-hover: #c0721f;
  --r-accent: #b9701f;
  --r-rule: rgba(70, 50, 20, 0.18);
  --r-scale: 1;
  background: var(--r-bg);
  padding-top: clamp(40px, 6vw, 72px);
  transition: background 0.3s ease, color 0.3s ease;
}
/* O texto do artigo passa a usar as variáveis (escaláveis). */
.post-reading .prose p,
.post-reading .prose li { color: var(--r-text); font-size: calc(clamp(16px, 1.5vw, 18px) * var(--r-scale)); }
.post-reading .prose strong { color: var(--r-strong); }
.post-reading .prose h2 { color: var(--r-head); font-size: calc(clamp(24px, 3vw, 32px) * var(--r-scale)); }
.post-reading .prose h3 { color: var(--r-head); font-size: calc(clamp(20px, 2.2vw, 24px) * var(--r-scale)); }
.post-reading .prose h4 { color: var(--r-head); }
.post-reading .prose a { color: var(--r-link); }
.post-reading .prose a:hover { color: var(--r-link-hover); }
.post-reading .prose blockquote { color: var(--r-strong); border-left-color: var(--r-accent); }
.post-reading .prose blockquote p { color: var(--r-strong); }
.post-reading .prose ul li::before,
.post-reading .prose ol li::marker { background: var(--r-accent); color: var(--r-accent); }
.post-reading .prose hr,
.post-reading .prose th, .post-reading .prose td { border-color: var(--r-rule); }
/* FAQ acompanha o tema de leitura (cores próprias, fora do .prose) */
.post-reading .faq-q { color: var(--r-strong); }
.post-reading .faq-q:hover { color: var(--r-accent); }
.post-reading .faq-q::after { color: var(--r-accent); }
.post-reading .faq-a-inner { color: var(--r-text); }
.post-reading .faq-item { border-bottom-color: var(--r-rule); }

/* Temas (aplicados via atributo em <html>). Sépia = base acima. */
html[data-read-theme="light"] .post-reading {
  --r-bg: #ffffff; --r-text: #33333a; --r-strong: #0b0b0e; --r-head: #0b0b0e;
  --r-link: #1f6fb0; --r-link-hover: #e8692a; --r-accent: #e8692a; --r-rule: rgba(0,0,0,0.12);
}
html[data-read-theme="dark"] .post-reading {
  --r-bg: transparent; --r-text: var(--muted); --r-strong: var(--ink); --r-head: var(--ink);
  --r-link: var(--blue); --r-link-hover: var(--orange); --r-accent: var(--orange); --r-rule: var(--line);
  padding-top: clamp(80px, 11vw, 96px);
}
/* code/pre: base clara (sépia/claro); escuro volta ao tom do site */
.post-reading code { background: rgba(0, 0, 0, 0.06); }
.post-reading pre { background: rgba(0, 0, 0, 0.05); border-color: rgba(0, 0, 0, 0.1); }
html[data-read-theme="dark"] .post-reading code { background: var(--bg-3); }
html[data-read-theme="dark"] .post-reading pre { background: var(--bg-3); border-color: var(--line); }

/* Barra flutuante */
.reader-controls {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 10px 8px;
  background: rgba(20, 20, 24, 0.82);
  border: 1px solid var(--line-2);
  border-radius: 100px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 12px 32px -12px rgba(0, 0, 0, 0.7);
}
.rc-btn {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: none; border-radius: 50%;
  background: transparent; color: var(--ink); cursor: pointer;
  line-height: 1; transition: background 0.2s;
}
.rc-btn span { font-size: 16px; font-weight: 600; }
.rc-btn small { font-size: 11px; margin-left: 1px; color: var(--muted); }
.rc-btn:hover { background: var(--card-2); }
.rc-div { width: 22px; height: 1px; background: var(--line-2); margin: 2px 0; }
.rc-theme {
  width: 26px; height: 26px; border-radius: 50%; cursor: pointer;
  border: 2px solid transparent;
  box-shadow: 0 0 0 1px var(--line-2);
  transition: transform 0.2s, border-color 0.2s;
}
.rc-theme:hover { transform: scale(1.12); }
.rc-theme--dark { background: #0b0b0e; }
.rc-theme--sepia { background: #f4ecd8; }
.rc-theme--light { background: #ffffff; }
.reader-controls .rc-theme[aria-pressed="true"] { border-color: var(--orange); }

@media (max-width: 1100px) {
  /* vira uma barra horizontal flutuante embaixo, centralizada */
  .reader-controls {
    right: 50%; top: auto; bottom: 16px;
    transform: translateX(50%);
    flex-direction: row;
  }
  .rc-div { width: 1px; height: 22px; margin: 0 2px; }
}
@media print { .reader-controls { display: none; } }

/* ── CTA BAND (interna) ────────────────────────────────── */
.cta-band {
  position: relative;
  overflow: hidden;
  text-align: center;
  background: linear-gradient(160deg, #1a1410, var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(48px, 7vw, 80px) clamp(24px, 4vw, 48px);
}
.cta-band::before {
  content: '';
  position: absolute;
  width: 600px; height: 360px;
  background: radial-gradient(circle, rgba(244,116,43,0.2), transparent 60%);
  bottom: -180px; left: 50%; transform: translateX(-50%);
  pointer-events: none;
}
.cta-band-inner { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.cta-band h2 {
  font-weight: 600;
  font-size: clamp(30px, 4.4vw, 50px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}
.cta-band h2 em { font-style: italic; font-weight: 400; background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cta-band p { color: var(--muted); margin-bottom: 30px; }
.cta-band-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── RESPONSIVO páginas internas ───────────────────────── */
@media (max-width: 1024px) {
  .incl-grid, .incl-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
  .steps-row { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split--photo .split-media { order: -1; max-width: 520px; }
  .contact-grid { grid-template-columns: 1fr; }
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-feature { grid-template-columns: 1fr; }
  .blog-feature-body { padding: 0 clamp(24px,4vw,40px) clamp(28px,4vw,40px); }
}
@media (max-width: 768px) {
  .incl-grid, .incl-grid.cols-2 { grid-template-columns: 1fr; }
  .steps-row { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .posts-grid { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════════════
   SOBRE A DDM · institucional + MVV (home)
   ════════════════════════════════════════════════════════ */
.section--about { border-top: 1px solid var(--line); }

/* 1. manifesto + citação */
.about-top {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.about-lead {
  color: var(--muted);
  font-size: clamp(16px, 1.55vw, 18.5px);
  line-height: 1.72;
  margin-top: 22px;
  max-width: 640px;
}
.about-lead strong { color: var(--ink); font-weight: 600; }
.about-quote {
  padding: 26px 28px;
  border-left: 2px solid var(--orange);
  background: linear-gradient(100deg, rgba(244, 116, 43, 0.07), transparent);
  border-radius: 0 16px 16px 0;
  font-size: clamp(16px, 1.6vw, 19px);
  font-style: italic;
  line-height: 1.5;
  color: var(--ink);
}
.about-quote cite {
  display: block;
  margin-top: 16px;
  font-style: normal;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* 2. missão & visão */
.mvv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.mvv-card {
  background: linear-gradient(160deg, var(--card-2), var(--card));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3.4vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.4s, transform 0.4s var(--ease);
}
.mvv-card:hover { border-color: var(--line-2); transform: translateY(-4px); }
.mvv-ico {
  width: 50px; height: 50px;
  border-radius: 14px;
  background: rgba(244, 116, 43, 0.1);
  color: var(--orange);
  display: grid; place-items: center;
}
.mvv-label {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--orange);
}
.mvv-card p {
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.45;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
}
/* pareamento das cores da marca: Visão e Valores em azul, Missão em laranja */
.mvv-card:nth-child(2) .mvv-ico, .mvv-card:nth-child(3) .mvv-ico { background: var(--blue-soft); color: var(--blue); }
.mvv-card:nth-child(2) .mvv-label, .mvv-card:nth-child(3) .mvv-label { color: var(--blue); }

/* 3. valores */
.values { margin-top: clamp(36px, 5vw, 52px); }
.values-title {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-2);
  margin-bottom: 20px;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.value {
  display: flex;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  transition: border-color 0.35s, transform 0.35s var(--ease), background 0.35s;
}
.value:hover { border-color: var(--line-2); transform: translateY(-3px); background: var(--card-2); }
.value-ico {
  width: 40px; height: 40px;
  border-radius: 11px;
  background: rgba(244, 116, 43, 0.1);
  color: var(--orange);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.value h4 { font-size: 16px; font-weight: 600; margin-bottom: 5px; letter-spacing: -0.01em; }
.value p { color: var(--muted); font-size: 14px; line-height: 1.5; }

/* 4. quem dirige (fundador) */
.founder {
  margin-top: clamp(44px, 6vw, 72px);
  padding-top: clamp(40px, 5vw, 60px);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.founder-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 4.3;
  max-width: 380px;
}
.founder-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.2);
  transition: transform 0.6s var(--ease), filter 0.6s;
}
.founder:hover .founder-photo img { transform: scale(1.04); filter: grayscale(0); }
.founder-body h3 {
  font-size: clamp(22px, 2.6vw, 31px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 14px 0 16px;
  max-width: 18ch;
}
.founder-body > p {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.7;
  max-width: 580px;
}
.founder-brands {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 14px;
}
.founder-brands span {
  font-size: 12.5px;
  color: var(--muted);
  border: 1px solid var(--line-2);
  border-radius: 100px;
  padding: 6px 14px;
}
.founder-edu { color: var(--muted-2); font-size: 13.5px; margin-bottom: 24px; max-width: 560px; }

@media (max-width: 900px) {
  .about-top { grid-template-columns: 1fr; align-items: start; }
  .mvv-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .founder { grid-template-columns: 1fr; }
  .founder-photo { order: -1; max-width: 100%; aspect-ratio: 16 / 10; }
}
@media (max-width: 600px) {
  .values-grid { grid-template-columns: 1fr; }
}

/* founder como seção própria (página /sobre): sem divisória de topo */
.founder--solo { margin-top: 0; padding-top: 0; border-top: none; }

/* teaser "Sobre" na home (leva para /sobre) */
.about-teaser {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
}
.about-teaser-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 1163 / 1353; /* proporção real da foto, pra não cortar topo/base */
  max-width: 420px;
}
.about-teaser-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.2);
  transition: transform 0.6s var(--ease), filter 0.6s;
}
.about-teaser:hover .about-teaser-photo img { transform: scale(1.04); filter: grayscale(0); }
.about-teaser-body .section-title { margin-bottom: 20px; }
.about-teaser-body > p {
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.72;
  max-width: 560px;
  margin-bottom: 24px;
}
.about-teaser-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.about-teaser-tags span {
  font-size: 12.5px;
  color: var(--muted);
  border: 1px solid var(--line-2);
  border-radius: 100px;
  padding: 6px 14px;
}
@media (max-width: 900px) {
  .about-teaser { grid-template-columns: 1fr; }
  .about-teaser-photo { order: -1; max-width: 320px; margin: 0 auto; aspect-ratio: 1163 / 1353; }
}

/* ════════════════════════════════════════════════════════
   PÁGINAS LEGAIS (LGPD)
   ════════════════════════════════════════════════════════ */
.legal { max-width: 760px; }
.legal-updated {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--muted-2);
  margin-top: 18px;
}
.legal-sec { padding: 30px 0; border-top: 1px solid var(--line); }
.legal-sec:first-child { padding-top: 0; border-top: none; }
.legal-h2 {
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
  display: flex;
  gap: 14px;
  align-items: baseline;
}
.legal-h2 span { font-family: var(--mono); font-size: 13px; color: var(--blue); flex-shrink: 0; }
.legal p { color: var(--muted); font-size: 15.5px; line-height: 1.75; margin-bottom: 14px; }
.legal p:last-child { margin-bottom: 0; }
.legal strong { color: var(--ink); font-weight: 600; }
.legal a, .legal-cookie-link {
  color: var(--blue);
  text-decoration: none;
  border-bottom: 1px solid rgba(53, 157, 215, 0.4);
  transition: color 0.25s, border-color 0.25s;
}
.legal a:hover, .legal-cookie-link:hover { color: var(--blue-deep); border-color: var(--blue-deep); }
.legal-cookie-link { background: none; border-top: none; border-left: none; border-right: none; padding: 0; font: inherit; cursor: pointer; }
.legal ul { list-style: none; margin: 6px 0 16px; display: flex; flex-direction: column; gap: 10px; }
.legal li { position: relative; padding-left: 22px; color: var(--muted); font-size: 15.5px; line-height: 1.65; }
.legal li::before {
  content: '';
  position: absolute; left: 0; top: 9px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--grad-warm);
}

/* links legais no rodapé */
.footer-legal { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.footer-legal a, .footer-legal button {
  color: var(--muted-2);
  font-family: var(--font);
  font-size: 13px;
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: color 0.25s;
}
.footer-legal a:hover, .footer-legal button:hover { color: var(--ink); }

/* ════════════════════════════════════════════════════════
   COOKIE CONSENT (LGPD)
   ════════════════════════════════════════════════════════ */
.cookie-banner {
  position: fixed;
  left: 24px;
  bottom: 18px;
  transform: translateY(24px);
  z-index: 900;
  width: min(calc(100% - 48px), 560px);
  background: rgba(20, 20, 24, 0.92);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 26px 64px -22px rgba(0, 0, 0, 0.85);
  padding: 22px 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.cookie-banner.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.cookie-banner h2 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.cookie-banner > p { color: var(--muted); font-size: 13.5px; line-height: 1.6; margin-bottom: 16px; }
.cookie-banner > p a { color: var(--blue); text-decoration: none; border-bottom: 1px solid rgba(53, 157, 215, 0.4); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-btn {
  font-family: var(--font);
  font-size: 13.5px;
  font-weight: 600;
  padding: 11px 18px;
  border-radius: 100px;
  cursor: pointer;
  border: 1px solid var(--line-2);
  background: none;
  color: var(--ink);
  transition: background 0.25s, border-color 0.25s, color 0.25s, box-shadow 0.3s;
}
.cookie-btn:hover { border-color: var(--ink); }
.cookie-btn--accept {
  background: var(--grad-warm);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(232, 105, 42, 0.6);
}
.cookie-btn--accept:hover { box-shadow: 0 14px 40px -8px rgba(232, 105, 42, 0.75); border-color: transparent; }
.cookie-btn--ghost { color: var(--muted); }
.cookie-prefs {
  display: none;
  flex-direction: column;
  margin: 2px 0 16px;
  border-top: 1px solid var(--line);
  padding-top: 8px;
}
.cookie-banner.expanded .cookie-prefs { display: flex; }
.cookie-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.cookie-row:last-child { border-bottom: none; }
.cookie-row-txt strong { display: block; font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.cookie-row-txt span { color: var(--muted); font-size: 12.5px; line-height: 1.5; }
.cookie-toggle { position: relative; width: 42px; height: 24px; flex-shrink: 0; }
.cookie-toggle input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.cookie-toggle-track {
  position: absolute; inset: 0;
  border-radius: 100px;
  background: var(--bg-3);
  border: 1px solid var(--line-2);
  transition: background 0.25s, border-color 0.25s;
}
.cookie-toggle-track::after {
  content: '';
  position: absolute; top: 2px; left: 2px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--muted);
  transition: transform 0.25s var(--ease), background 0.25s;
}
.cookie-toggle input:checked + .cookie-toggle-track { background: var(--grad-warm); border-color: transparent; }
.cookie-toggle input:checked + .cookie-toggle-track::after { transform: translateX(18px); background: #fff; }
.cookie-toggle input:disabled { cursor: not-allowed; }
.cookie-toggle input:disabled + .cookie-toggle-track { opacity: 0.55; }
@media (max-width: 520px) {
  .cookie-banner { left: 16px; right: 16px; width: auto; transform: translateY(24px); }
  .cookie-banner.show { transform: translateY(0); }
  .cookie-actions .cookie-btn { flex: 1 1 auto; text-align: center; }
}

/* ════════════════════════════════════════════════════════
   BOTÃO FLUTUANTE + MODAL DE WHATSAPP
   O verde é proposital (fora da paleta laranja/azul da marca):
   é o único jeito de sinalizar "isso abre o WhatsApp" à primeira
   vista, sem depender de texto. Antes do redirect, o formulário
   grava o lead (ver site.js) — assim, se a pessoa fechar antes de
   mandar a mensagem, o contato não se perde.
   ════════════════════════════════════════════════════════ */
.wa-float {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 700;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  border: none;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.wa-float:hover { transform: scale(1.06); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45); }
.wa-float svg { width: 27px; height: 27px; }

.wa-modal {
  position: fixed;
  inset: 0;
  z-index: 950;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.wa-modal.open { opacity: 1; pointer-events: auto; }
.wa-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 11, 14, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.wa-modal-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--bg-2, #101014);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 36px);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.3s var(--ease);
}
.wa-modal.open .wa-modal-panel { transform: translateY(0) scale(1); }
.wa-modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: var(--card);
  color: var(--muted);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: color 0.2s, border-color 0.2s;
}
.wa-modal-close:hover { color: var(--ink); border-color: var(--line-2); }
.wa-modal-title {
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 4px;
  padding-right: 40px;
}
.wa-modal-sub { color: var(--muted); font-size: 14px; margin: 0 0 24px; }
.wa-modal .form { background: transparent; border: none; padding: 0; }
@media (max-width: 520px) {
  .wa-float { right: 14px; bottom: 14px; width: 52px; height: 52px; }
  .wa-float svg { width: 24px; height: 24px; }
}
