/* Base */
:root {
  color-scheme: light;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
html {
  scroll-padding-top: env(safe-area-inset-top, 0px);
}
body {
  margin: 0;
  padding: 0;
  font:
    14px -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  background: #fff;
  color: #000;
}
img {
  max-width: 100%;
}
[hidden]:not([hidden="until-found" i]) {
  display: none !important;
}

/* Layout: hero cinematográfica fixa (sequência de 20 s controlada pelo scroll, com timecode e película de cenas) → clientes → sobre → serviços abertos → formações → portfolio → testemunhos → contacto com formulário; WhatsApp fixo */
:root {
  --bg: #f1f0ed;
  --surface: #ffffff;
  --line: #dedcd6;
  --fg: #2a2a2c;
  --muted: #625f5a;
  --ghost: #b3afa7;
  --gold: #f5c26b;
  --gold-ink: #8a5e0e;
  --gold-soft: #f8e6c2;
  --band: #1c1c1e;
  --band-fg: #f3efe6;
  --band-muted: #b6b1a6;
  --wa: #1f9d55;
  --f-display: "Poppins", system-ui, sans-serif;
  --f-body: "Lato", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --wrap: 1200px;
  --r: 18px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1f1f21;
    --surface: #29292b;
    --line: #3a3a3d;
    --fg: #ece9e2;
    --muted: #a6a29a;
    --ghost: #55534e;
    --gold-ink: #f5c26b;
    --gold-soft: #3d3527;
    --band: #111112;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #1f1f21;
  --surface: #29292b;
  --line: #3a3a3d;
  --fg: #ece9e2;
  --muted: #a6a29a;
  --ghost: #55534e;
  --gold-ink: #f5c26b;
  --gold-soft: #3d3527;
  --band: #111112;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--band);
  color: var(--fg);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: clip;
}
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 60;
  background: var(--band);
}
h1,
h2,
h3 {
  font-family: var(--f-display);
  font-weight: 400;
  line-height: 1.15;
  margin: 0;
  text-wrap: balance;
  letter-spacing: -0.01em;
}
p {
  margin: 0;
}
a {
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
}
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
main {
  position: relative;
  z-index: 1;
  background: var(--bg);
}
section {
  padding-block: clamp(64px, 9vw, 112px);
}
.tag {
  font-family: var(--f-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--fg);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  line-height: 1.2;
  white-space: nowrap;
}
.tag::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-soft);
}
.services .tag,
.story .tag,
.lead-sec .tag,
.c-form .tag {
  background: var(--bg);
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-display);
  font-size: 14px;
  font-weight: 500;
  padding: 12px 20px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.3s var(--ease),
    background 0.2s,
    border-color 0.2s;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-gold {
  background: var(--gold);
  color: #2a2a2c;
}
.btn-ghost {
  border-color: rgba(243, 239, 230, 0.35);
  color: var(--band-fg);
  background: rgba(20, 20, 21, 0.25);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover {
  background: rgba(243, 239, 230, 0.1);
}
.btn-line {
  border-color: var(--line);
  color: var(--fg);
  background: var(--surface);
}
.btn-line:hover {
  border-color: var(--gold);
}
.arrow {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #2a2a2c;
  color: var(--gold);
  display: grid;
  place-items: center;
  font-size: 12px;
  transition: transform 0.3s var(--ease);
}
.btn:hover .arrow {
  transform: rotate(-45deg);
}
.placeholder {
  border: 1.5px dashed var(--ghost);
  border-radius: 14px;
  color: var(--muted);
  font: 500 11px var(--f-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 14px;
}
.note {
  font: 500 11px var(--f-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-ink);
  background: var(--gold-soft);
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-block;
}

/* Header */
header {
  position: fixed;
  top: env(safe-area-inset-top, 0px);
  left: 0;
  right: 0;
  z-index: 50;
  color: var(--band-fg);
  transition: background 0.4s;
}
header.solid {
  background: rgba(24, 24, 26, 0.9);
  backdrop-filter: blur(12px);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 16px;
}
.nav .logo img {
  height: 44px;
  width: auto;
}
.nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
}
.nav ul a {
  text-decoration: none;
  color: var(--band-muted);
  transition: color 0.2s;
}
.nav ul a:hover {
  color: var(--gold);
}
.menu-btn {
  display: none;
  background: none;
  border: 1px solid rgba(243, 239, 230, 0.3);
  color: var(--band-fg);
  border-radius: 999px;
  padding: 8px 14px;
  font: 500 13px var(--f-display);
  cursor: pointer;
}
@media (max-width: 900px) {
  .nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--band);
    padding: 8px max(20px, env(safe-area-inset-right, 0px)) 16px
      max(20px, env(safe-area-inset-left, 0px));
  }
  .nav ul.open {
    display: flex;
  }
  .nav ul a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid rgba(243, 239, 230, 0.08);
  }
  .menu-btn {
    display: block;
  }
  .nav .btn {
    display: none;
  }
}

/* HERO CINEMATOGRÁFICA */
.cine {
  position: relative;
  height: 420vh;
  background: var(--band);
  color: var(--band-fg);
  padding: 0;
}
.cine-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: #0d0d0e url(../img/05-cursos-02.jpg) center 30% / cover;
}
#film {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.cine-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
      90deg,
      rgba(12, 12, 13, 0.86) 0%,
      rgba(12, 12, 13, 0.55) 42%,
      rgba(12, 12, 13, 0) 72%
    ),
    linear-gradient(0deg, rgba(12, 12, 13, 0.9) 0%, rgba(12, 12, 13, 0) 34%);
}
.cine-ui {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: 1fr auto;
  padding-top: calc(76px + env(safe-area-inset-top, 0px));
}
.cine-copy {
  align-self: center;
  display: grid;
  gap: 22px;
  justify-items: start;
  max-width: 620px;
}
.cine h1 {
  font-size: clamp(38px, 5.6vw, 34px);
  font-weight: 300;
  line-height: 1.04;
  max-width: 30ch;
}
.cine h1 em {
  font-style: normal;
  color: var(--gold);
}
.cine h1 .w {
  display: inline-block;
  animation: wordIn 1s var(--ease) both;
  animation-delay: calc(var(--i) * 70ms + 200ms);
}
@keyframes wordIn {
  from {
    opacity: 0;
    filter: blur(12px);
    transform: translateY(0.35em);
  }
  to {
    opacity: 1;
    filter: none;
    transform: none;
  }
}
.fade-in {
  animation: fadeUp 1s var(--ease) both;
  animation-delay: var(--d, 0s);
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.cine .lead {
  max-width: 44ch;
  color: #d9d4c9;
  font-size: 17px;
}
.cine .ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  padding: 6px 6px 6px 14px;
  border-radius: 999px;
  background: rgba(243, 239, 230, 0.1);
  border: 1px solid rgba(243, 239, 230, 0.18);
  backdrop-filter: blur(6px);
}
.pill b {
  background: var(--gold);
  color: #2a2a2c;
  border-radius: 999px;
  padding: 3px 10px;
  font: 500 12px var(--f-display);
}
/* Texto corrido justificado */
.cine .lead,
.split-head p,
.acc-big,
.bio p,
.step-txt p,
.ans p,
.svc .desc,
.next p,
.c-form .fs,
.social p {
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
}
.scene-cap {
  position: absolute;
  right: max(20px, env(safe-area-inset-right, 0px));
  top: 50%;
  transform: translateY(-50%);
  text-align: right;
  pointer-events: none;
  width: min(34vw, 380px);
}
.scene-cap small {
  display: block;
  font: 500 11px var(--f-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
.scene-cap span {
  display: block;
  font: 300 clamp(22px, 2.4vw, 32px) / 1.15 var(--f-display);
  transition:
    opacity 0.5s,
    transform 0.6s var(--ease);
}
.scene-cap span.out {
  opacity: 0;
  transform: translateY(10px);
}
@media (max-width: 900px) {
  .scene-cap {
    display: none;
  }
  .cine-shade {
    background: linear-gradient(
      0deg,
      rgba(12, 12, 13, 0.94) 8%,
      rgba(12, 12, 13, 0.5) 60%,
      rgba(12, 12, 13, 0.35)
    );
  }
}
.cine-bar {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: end;
  padding-bottom: max(22px, env(safe-area-inset-bottom, 0px));
}
.tc {
  font: 500 12px var(--f-mono);
  letter-spacing: 0.06em;
  color: var(--band-muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.tc b {
  color: var(--band-fg);
  font-weight: 500;
}
.strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  min-width: 0;
  margin-right: 150px;
}
@media (max-width: 560px) {
  .strip {
    margin-right: 62px;
  }
}
.thumb {
  all: unset;
  cursor: pointer;
  display: grid;
  gap: 6px;
  min-width: 0;
}
.thumb:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 8px;
}
.thumb .ph {
  height: 54px;
  border-radius: 8px;
  overflow: hidden;
  opacity: 0.5;
  transition: opacity 0.4s;
  outline: 1px solid rgba(243, 239, 230, 0.15);
}
.thumb .ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.thumb .lb {
  font: 500 10px var(--f-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--band-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.thumb .pg {
  height: 2px;
  background: rgba(243, 239, 230, 0.18);
  border-radius: 2px;
  overflow: hidden;
}
.thumb .pg i {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--gold);
  transform: scaleX(var(--f, 0));
  transform-origin: left;
}
.thumb.on .ph {
  opacity: 1;
  outline-color: var(--gold);
}
.thumb.on .lb {
  color: var(--band-fg);
}
@media (max-width: 640px) {
  .cine-bar {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .thumb .ph {
    height: 40px;
  }
  .thumb .lb {
    display: none;
  }
}
@media (max-height: 620px) {
  .thumb .ph {
    display: none;
  }
}

/* Texto que se preenche (apenas em frases-chave) */
.w {
  transition: color 0.35s ease;
}
[data-fill] .w {
  color: var(--ghost);
}
[data-fill] .w.on {
  color: inherit;
}
[data-fill] .hl .w.on {
  color: var(--gold-ink);
}

/* Revelações */

.split-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 60px;
  align-items: end;
  margin-bottom: 44px;
}
.split-head h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  margin-top: 14px;
}
.split-head p {
  color: var(--muted);
  max-width: 52ch;
}
@media (max-width: 800px) {
  .split-head {
    grid-template-columns: 1fr;
  }
}

/* Clientes */
.clients {
  padding-block: 44px;
  border-bottom: 1px solid var(--line);
}
.clients .wrap {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  align-items: center;
}
.clients p {
  font-size: 14px;
  color: var(--muted);
}
.marquee {
  overflow: hidden;
  min-width: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.logos {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee:hover .logos {
  animation-play-state: paused;
}
@keyframes marquee {
  to {
    transform: translateX(calc(-50% - 6px));
  }
}
.logo-tile {
  flex: none;
  width: 220px;
  height: 92px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  overflow: hidden;
}
.logo-tile img {
  max-height: 52px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.7;
  transition:
    filter 0.4s,
    opacity 0.4s,
    transform 0.4s var(--ease);
}
.logo-tile.tall {
  padding: 6px 22px;
}
.logo-tile.tall img {
  max-height: 80px;
}
.logo-tile:hover img {
  filter: none;
  opacity: 1;
  transform: scale(1.04);
}
@media (hover: none) {
  .logo-tile img {
    filter: none;
    opacity: 1;
  }
}
@media (max-width: 800px) {
  .clients .wrap {
    grid-template-columns: 1fr;
  }
  .logo-tile {
    width: 160px;
    height: 72px;
    padding: 10px 12px;
  }
  .logo-tile img {
    max-height: 38px;
  }
  .logo-tile.tall {
    padding: 4px 12px;
  }
  .logo-tile.tall img {
    max-height: 62px;
  }
  .logos {
    animation-duration: 22s;
  }
}
@media (prefers-reduced-motion: reduce) {
  .logos {
    flex-wrap: wrap;
    width: auto;
  }
  .logos [aria-hidden] {
    display: none;
  }
}

/* Sobre */
.statement {
  font: 400 clamp(24px, 3.2vw, 40px) / 1.3 var(--f-display);
  max-width: 30ch;
  margin: 16px 0 clamp(40px, 6vw, 72px);
  text-wrap: balance;
}
.about {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
@media (max-width: 900px) {
  .about {
    grid-template-columns: 1fr;
  }
}
.portrait {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  background: linear-gradient(180deg, #dce2ea, #c9d1dc);
}
.portrait .badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: rgba(28, 28, 30, 0.85);
  color: var(--band-fg);
  backdrop-filter: blur(6px);
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.portrait .badge b {
  font: 300 38px/1 var(--f-display);
  color: var(--gold);
}
.portrait .badge span {
  font-size: 13px;
  line-height: 1.3;
  max-width: 14ch;
}
.about h2 {
  font-size: clamp(30px, 3.6vw, 44px);
  margin: 12px 0 18px;
}
.about .bio {
  display: grid;
  gap: 12px;
  color: var(--muted);
  font-size: 17px;
  max-width: 60ch;
}
.about .bio strong {
  color: var(--fg);
  font-weight: 700;
}
.timeline {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line);
}
.timeline::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 1px;
  width: calc(var(--tp, 1) * 100%);
  background: var(--gold-ink);
}
@media (max-width: 640px) {
  .timeline {
    grid-template-columns: 1fr 1fr;
    row-gap: 24px;
  }
}
.timeline li {
  padding: 18px 16px 0 0;
  position: relative;
}
.timeline li::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px var(--bg);
}
.timeline b {
  font: 500 20px var(--f-display);
  font-variant-numeric: tabular-nums;
}
.timeline span {
  display: block;
  font-size: 14px;
  color: var(--muted);
  margin-top: 4px;
}
.adv {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 32px;
}
@media (max-width: 560px) {
  .adv {
    grid-template-columns: 1fr;
  }
}
.adv div {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px 14px 42px;
  position: relative;
  font-size: 15px;
}
.adv div::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 20px;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: var(--gold);
  transform: rotate(45deg) scale(0.75);
}
.mvv {
  margin-top: clamp(40px, 6vw, 64px);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-top: 1px solid var(--line);
}
.mvv > div {
  padding: 22px 24px 0 0;
}
.mvv p {
  font-size: 15px;
  color: var(--muted);
  margin-top: 8px;
}
@media (max-width: 800px) {
  .mvv {
    grid-template-columns: 1fr;
  }
  .mvv > div {
    padding-right: 0;
  }
}

/* Serviços: cartões que expandem (EllO) */
.services {
  background: var(--surface);
  border-block: 1px solid var(--line);
}
.services .center {
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 14px;
  margin-bottom: 48px;
}
.services .center h2 {
  font-size: clamp(28px, 3.6vw, 44px);
  max-width: 22ch;
}
.ico {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--gold-soft);
  color: var(--gold-ink);
  display: grid;
  place-items: center;
}
.ico svg {
  width: 24px;
  height: 24px;
}
.svc-row {
  display: flex;
  gap: 14px;
  min-height: 380px;
}
.svc {
  all: unset;
  box-sizing: border-box;
  cursor: pointer;
  flex: 1 1 0;
  min-width: 0;
  background: var(--bg);
  border-radius: var(--r);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
  transition:
    flex-grow 0.7s var(--ease),
    background 0.4s,
    color 0.4s;
}
.svc:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.svc .ico {
  background: var(--surface);
}
.svc .num {
  font: 500 12px var(--f-mono);
  color: var(--muted);
}
.svc .top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.svc h3 {
  font-size: 20px;
  font-weight: 500;
  margin-top: auto;
}
.svc .body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.6s var(--ease);
}
.svc .body > div {
  overflow: hidden;
}
.svc ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  font-size: 14px;
  color: #3d3a33;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.4s 0.15s,
    transform 0.5s 0.15s var(--ease);
}
.svc li {
  padding-left: 16px;
  position: relative;
}
.svc li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.5;
}
.svc.active {
  flex-grow: 2.3;
  background: var(--gold);
  color: #2a2a2c;
}
.svc.active .num {
  color: #5a4a2a;
}
.svc.active .ico {
  background: rgba(255, 255, 255, 0.55);
  color: #2a2a2c;
}
.svc.active .body {
  grid-template-rows: 1fr;
}
.svc.active ul {
  opacity: 1;
  transform: none;
}
@media (max-width: 900px) {
  .svc-row {
    flex-direction: column;
    min-height: 0;
  }
  .svc {
    flex: none;
    min-height: 96px;
  }
  .svc h3 {
    margin-top: 0;
  }
}

/* Formações */
.rows {
  border-top: 1px solid var(--line);
}
.row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 24px 48px;
  padding-block: 34px;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
@media (max-width: 800px) {
  .row {
    grid-template-columns: 1fr;
  }
}
.row h3 {
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 400;
}
.row ul {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.row li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 14px;
}
.row .pics {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 10px;
}
.row .pics figure {
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
  height: clamp(170px, 20vw, 240px);
}
.row .pics img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.row:hover .pics img {
  transform: scale(1.04);
}
.next {
  margin-top: 36px;
  background: var(--band);
  color: var(--band-fg);
  border-radius: var(--r);
  padding: clamp(24px, 4vw, 40px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px 40px;
  align-items: center;
}
@media (max-width: 760px) {
  .next {
    grid-template-columns: 1fr;
  }
}
.next h3 {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 400;
  margin-top: 10px;
}
.next p {
  color: var(--band-muted);
  margin-top: 8px;
  max-width: 52ch;
}
.next .tag {
  color: var(--band-fg);
  background: rgba(243, 239, 230, 0.08);
  border-color: rgba(243, 239, 230, 0.18);
}
.next .tag::before {
  box-shadow: 0 0 0 3px rgba(245, 194, 107, 0.25);
}

/* Portfolio */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.filters button {
  font: 500 14px var(--f-display);
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--fg);
  cursor: pointer;
  transition:
    background 0.25s,
    color 0.25s;
}
.filters button[aria-pressed="true"] {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}
.slider-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.nav-btns {
  display: flex;
  gap: 8px;
}
.nav-btns button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--fg);
  font-size: 16px;
  cursor: pointer;
  transition: background 0.25s;
}
.nav-btns button:hover {
  background: var(--gold);
  color: #2a2a2c;
  border-color: var(--gold);
}
.track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 4px;
  cursor: grab;
}
.track::-webkit-scrollbar {
  display: none;
}
.track.drag {
  cursor: grabbing;
  scroll-snap-type: none;
}
.slide {
  all: unset;
  flex: none;
  scroll-snap-align: start;
  cursor: zoom-in;
  display: grid;
  gap: 10px;
  max-width: 80vw;
}
.slide:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 14px;
}
.slide figure {
  margin: 0;
  height: clamp(220px, 28vw, 330px);
  border-radius: 14px;
  overflow: hidden;
}
.slide img {
  height: 100%;
  width: auto;
  max-width: none;
  transition: transform 0.8s var(--ease);
  pointer-events: none;
}
.slide:hover img {
  transform: scale(1.04);
}
.slide .cap {
  display: grid;
  gap: 2px;
}
.slide .cap b {
  font: 500 15px var(--f-display);
}
.slide .cap small {
  font: 500 11px var(--f-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.progress {
  margin-top: 22px;
  height: 2px;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
}
.progress i {
  display: block;
  height: 100%;
  background: var(--gold-ink);
  width: 20%;
  transition: width 0.2s linear;
}

/* Responsabilidade social */
.social {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 900px) {
  .social {
    grid-template-columns: 1fr;
  }
}
.social h2 {
  font-size: clamp(26px, 3.2vw, 40px);
  margin: 14px 0 14px;
}
.social p {
  color: var(--muted);
  max-width: 44ch;
}
.mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, clamp(120px, 14vw, 190px));
  gap: 10px;
}
.mosaic figure {
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
}
.mosaic figure:first-child {
  grid-row: span 2;
}
.mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Testemunhos */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 900px) {
  .quotes {
    grid-template-columns: 1fr;
  }
}
.quotes .placeholder {
  min-height: 180px;
  align-content: center;
  gap: 10px;
}

/* Contacto */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(28px, 5vw, 60px);
  align-items: start;
}
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
.contact-grid h2 {
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 300;
  margin: 14px 0 18px;
}
.contact-grid h2 span {
  color: var(--gold-ink);
}
.direct {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}
.line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 14px;
  padding: 12px 14px;
}
.line small {
  display: block;
  font: 500 11px var(--f-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.line span {
  user-select: all;
  word-break: break-all;
}
.copy {
  flex: none;
  background: var(--bg);
  color: var(--fg);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 12px;
  font: 500 12px var(--f-display);
  cursor: pointer;
}
.copy.ok {
  background: var(--gold);
  color: #2a2a2c;
  border-color: var(--gold);
}
form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: clamp(22px, 3vw, 32px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
form .full {
  grid-column: 1/-1;
}
@media (max-width: 560px) {
  form {
    grid-template-columns: 1fr;
  }
}
label {
  display: grid;
  gap: 6px;
  font: 500 13px var(--f-display);
}
input,
select,
textarea {
  font: 16px var(--f-body);
  color: var(--fg);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  width: 100%;
}
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 0;
  border-color: transparent;
}
textarea {
  min-height: 110px;
  resize: vertical;
}
.form-msg {
  font-size: 14px;
  color: var(--gold-ink);
}

/* WhatsApp fixo */
.wa {
  position: fixed;
  z-index: 55;
  right: calc(18px + env(safe-area-inset-right, 0px));
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--wa);
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 18px 12px 14px;
  font: 500 14px var(--f-display);
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.45);
  transition: transform 0.3s var(--ease);
}
.wa:hover {
  transform: translateY(-3px);
}
.wa svg {
  width: 22px;
  height: 22px;
}
@media (max-width: 560px) {
  .wa span {
    display: none;
  }
  .wa {
    padding: 14px;
  }
}

/* Rodapé revelado */
footer {
  position: sticky;
  bottom: 0;
  z-index: 0;
  background: var(--band);
  color: var(--band-muted);
  overflow: hidden;
}
.foot {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
  padding-block: 64px 32px;
}
@media (max-width: 800px) {
  .foot {
    grid-template-columns: 1fr 1fr;
  }
}
.foot img {
  height: 56px;
  width: auto;
  margin-bottom: 14px;
}
.foot h4 {
  font: 500 13px var(--f-display);
  color: var(--band-fg);
  margin: 0 0 12px;
}
.foot ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  font-size: 14px;
}
.foot a {
  text-decoration: none;
}
.foot a:hover {
  color: var(--gold);
}
.legal {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid rgba(243, 239, 230, 0.1);
  padding-block: 18px;
  font-size: 13px;
}
.watermark {
  font: 300 clamp(60px, 14.5vw, 200px) / 0.8 var(--f-display);
  color: rgba(245, 194, 107, 0.08);
  white-space: nowrap;
  text-align: center;
  letter-spacing: -0.03em;
  transform: translateY(12%);
  user-select: none;
}

dialog {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(92vw, 1100px);
}
dialog::backdrop {
  background: rgba(10, 10, 11, 0.88);
}
dialog img {
  max-height: 84vh;
  width: auto;
  margin: 0 auto;
  border-radius: 12px;
}
dialog button {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--gold);
  border: 0;
  border-radius: 999px;
  width: 36px;
  height: 36px;
  font-size: 18px;
  cursor: pointer;
  color: #2a2a2c;
}

/* ===== Organização de página (secções) ===== */
.sec {
  padding-block: clamp(64px, 8vw, 104px);
}
.center-head {
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 12px;
  margin-bottom: clamp(40px, 6vw, 64px);
}
.center-head h2 {
  font-size: clamp(28px, 3.6vw, 44px);
  max-width: 22ch;
}
.center-head p {
  color: var(--muted);
  max-width: 54ch;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 700px) {
  .stats {
    grid-template-columns: 1fr;
  }
}
.stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 28px;
  display: grid;
  gap: 6px;
  text-align: center;
}
.stat b {
  font: 300 clamp(40px, 4.6vw, 56px) / 1 var(--f-display);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.stat span {
  font-size: 14px;
  color: var(--muted);
}

/* Percurso: linha vertical com marcadores de ano */
.story {
  background: var(--surface);
  border-block: 1px solid var(--line);
}
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  display: grid;
  gap: clamp(40px, 6vw, 72px);
}
.steps::before,
.steps::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  transform: translateX(-50%);
}
.steps::before {
  bottom: 0;
  background: var(--line);
}
.steps::after {
  height: calc(var(--sp, 1) * 100%);
  background: linear-gradient(var(--gold), var(--gold-ink));
}
.step {
  display: grid;
  grid-template-columns: 1fr 90px 1fr;
  align-items: center;
}
.step-year {
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
}
.step-year span {
  background: var(--gold);
  color: #2a2a2c;
  font: 500 13px var(--f-mono);
  padding: 6px 10px;
  border-radius: 8px;
  box-shadow: 0 0 0 6px var(--surface);
}
.step-vis {
  padding-right: clamp(16px, 3vw, 40px);
}
.step-txt {
  padding-left: clamp(16px, 3vw, 40px);
}
.step:nth-child(even) .step-vis {
  order: 3;
  padding: 0 0 0 clamp(16px, 3vw, 40px);
}
.step:nth-child(even) .step-txt {
  order: 1;
  padding: 0 clamp(16px, 3vw, 40px) 0 0;
}
.step:nth-child(even) .step-year {
  order: 2;
}
.step-txt h3 {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 500;
}
.step-txt p {
  color: var(--muted);
  margin-top: 10px;
  max-width: 46ch;
}
.step-txt ul,
.adv-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
  font-size: 15px;
}
.step-txt li,
.adv-list li {
  display: flex;
  gap: 10px;
  align-items: center;
}
.step-txt li svg,
.adv-list li svg {
  width: 16px;
  height: 16px;
  flex: none;
  color: var(--gold-ink);
}
.vis {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r);
  aspect-ratio: 16/10;
  max-width: 100%;
  padding: 22px;
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: start;
  gap: 12px;
}
.vis .mono {
  font: 500 11px var(--f-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.vis-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.vis-row.short {
  grid-template-columns: 2fr 1fr;
  width: 70%;
}
.vis-row i {
  height: 38px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.vis-ico {
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--gold-soft);
  color: var(--gold-ink);
  display: grid;
  place-items: center;
}
.vis-ico svg {
  width: 28px;
  height: 28px;
}
.vis-b {
  place-content: center;
  justify-items: center;
}
.vis-ico.big {
  position: static;
  width: 88px;
  height: 88px;
  border-radius: 24px;
}
.vis-ico.big svg {
  width: 44px;
  height: 44px;
}
.bars {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 100%;
  min-height: 110px;
}
.bars i {
  flex: 1;
  height: var(--h);
  border-radius: 8px 8px 4px 4px;
  background: linear-gradient(var(--gold), var(--gold-soft));
}
.vis-d {
  background: #232325;
  place-content: center;
  justify-items: center;
}
.vis-d img {
  width: 70%;
  max-width: 280px;
}
@media (max-width: 800px) {
  .steps::before,
  .steps::after {
    left: 16px;
  }
  .step {
    grid-template-columns: 34px 1fr;
    row-gap: 16px;
  }
  .step-year {
    grid-row: 1/3;
    align-self: start;
    justify-items: start;
    margin-left: -2px;
  }
  .step-year span {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    padding: 10px 6px;
  }
  .step .step-vis,
  .step:nth-child(even) .step-vis {
    order: 2;
    grid-column: 2;
    padding: 0;
  }
  .step .step-txt,
  .step:nth-child(even) .step-txt {
    order: 1;
    grid-column: 2;
    padding: 0;
  }
}

/* Valores */
.val-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
@media (max-width: 1000px) {
  .val-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 520px) {
  .val-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.val {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px;
  display: grid;
  gap: 18px;
  align-content: space-between;
  min-height: 150px;
  transition:
    border-color 0.3s,
    transform 0.4s var(--ease);
}
.val:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}
.val h3 {
  font-size: 16px;
  font-weight: 500;
}

/* Missão, Visão e Valores */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 760px) {
  .mv-grid {
    grid-template-columns: 1fr;
  }
}
.mv {
  background: var(--gold-soft);
  border-radius: var(--r);
  padding: clamp(24px, 3vw, 36px);
  display: grid;
  gap: 12px;
  align-content: start;
}
.mv p {
  font: 400 clamp(17px, 1.6vw, 20px) / 1.5 var(--f-display);
}
.mv-k {
  font: 500 12px var(--f-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.val-title {
  margin: 36px 0 14px;
  font-size: inherit;
}

/* Sobre nós: acordeão vertical com varrimento dourado */
.accs {
  border-top: 1px solid var(--line);
}
.acc {
  position: relative;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
}
.acc::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #f5c26b;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.8s var(--ease);
}
.acc.open::before {
  transform: scaleX(1);
}
.acc:not(.open):hover::before {
  transform: scaleX(0.06);
}
.acc:not(.open):hover .acc-t {
  transform: translateX(6px);
}
.acc-head {
  all: unset;
  box-sizing: border-box;
  cursor: pointer;
  width: 100%;
  display: grid;
  grid-template-columns: 56px minmax(0, 0.9fr) minmax(0, 1.1fr) 40px;
  align-items: center;
  gap: 16px;
  padding: 26px clamp(12px, 2vw, 28px);
}
.acc-head:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -2px;
}
.acc-n {
  font: 500 12px var(--f-mono);
  color: var(--muted);
  transition: color 0.4s;
}
.acc-t {
  font: 300 clamp(30px, 4.4vw, 56px) / 1 var(--f-display);
  letter-spacing: -0.02em;
  transition:
    transform 0.7s var(--ease),
    color 0.4s;
}
.acc-p {
  color: var(--muted);
  font-size: 15px;
  transition:
    opacity 0.4s,
    transform 0.6s var(--ease);
}
.acc-x {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  position: relative;
  transition:
    transform 0.6s var(--ease),
    background 0.4s,
    border-color 0.4s;
}
.acc-x::before,
.acc-x::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  top: 19px;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
}
.acc-x::after {
  transform: rotate(90deg);
  transition: transform 0.5s var(--ease);
}
.acc.open .acc-x {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
  transform: rotate(180deg);
}
.acc.open .acc-x::after {
  transform: rotate(0);
}
.acc.open .acc-t {
  transform: translateX(10px);
  color: #2a2a2c;
}
.acc.open .acc-n {
  color: #5a4a2a;
}
.acc.open,
.acc.open .acc-big {
  color: #2a2a2c;
}
.acc.open .acc-x {
  background: #2a2a2c !important;
  color: #f5c26b !important;
  border-color: #2a2a2c !important;
}
.acc.open .vchip {
  background: rgba(255, 255, 255, 0.55);
  color: #2a2a2c;
}
.acc.open .vchip .ico {
  background: rgba(255, 255, 255, 0.7);
  color: #2a2a2c;
}
.acc.open .acc-p {
  opacity: 0;
  transform: translateY(-8px);
}
.acc-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.7s var(--ease);
}
.acc-body > div {
  overflow: hidden;
}
.acc.open .acc-body {
  grid-template-rows: 1fr;
}
.acc-in {
  padding: 0 clamp(12px, 2vw, 28px) 32px calc(56px + 16px + clamp(12px, 2vw, 28px));
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.5s 0.1s,
    transform 0.7s 0.1s var(--ease);
}
.acc.open .acc-in {
  opacity: 1;
  transform: none;
}
.acc-in.has-pic {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
}
.acc-big {
  font: 400 clamp(18px, 1.8vw, 24px) / 1.45 var(--f-display);
  max-width: 38ch;
}
.acc-pic {
  margin: 0;
  border-radius: var(--r);
  overflow: hidden;
  height: clamp(180px, 20vw, 250px);
  clip-path: inset(0 0 0 100% round 18px);
  transition: clip-path 1s 0.15s var(--ease);
}
.acc.open .acc-pic {
  clip-path: inset(0 0 0 0 round 18px);
}
.acc-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
  transition: transform 1.4s var(--ease);
}
.acc.open .acc-pic img {
  transform: none;
}
.vchips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.vchip {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border-radius: 14px;
  padding: 12px 14px;
  font: 500 15px var(--f-display);
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.5s,
    transform 0.6s var(--ease);
}
.vchip .ico {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  flex: none;
}
.vchip .ico svg {
  width: 20px;
  height: 20px;
}
.acc.open .vchip {
  opacity: 1;
  transform: none;
}
.acc.open .vchip:nth-child(1) {
  transition-delay: 0.15s;
}
.acc.open .vchip:nth-child(2) {
  transition-delay: 0.21s;
}
.acc.open .vchip:nth-child(3) {
  transition-delay: 0.27s;
}
.acc.open .vchip:nth-child(4) {
  transition-delay: 0.33s;
}
.acc.open .vchip:nth-child(5) {
  transition-delay: 0.39s;
}
.acc.open .vchip:nth-child(6) {
  transition-delay: 0.45s;
}
@media (max-width: 800px) {
  .acc-head {
    grid-template-columns: 36px 1fr 40px;
  }
  .acc-p {
    display: none;
  }
  .acc-in {
    padding: 0 12px 24px 12px;
  }
  .acc-in.has-pic {
    grid-template-columns: 1fr;
  }
  .vchips {
    grid-template-columns: 1fr 1fr;
  }
}

/* Quem lidera */
.lead-sec {
  background: var(--bg);
}
.lead-sec + .story {
  border-top: 0;
}
.lead-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
@media (max-width: 900px) {
  .lead-grid {
    grid-template-columns: 1fr;
  }
}
.lead-grid h2 {
  font-size: clamp(32px, 4vw, 50px);
  margin-top: 12px;
}
.role {
  font: 500 14px var(--f-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-ink);
  margin-top: 6px;
}
.lead-grid .bio {
  display: grid;
  gap: 12px;
  color: var(--muted);
  font-size: 16px;
  margin-top: 20px;
  max-width: 56ch;
}
.lead-grid .bio strong {
  color: var(--fg);
}
.lead-pics {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  height: clamp(380px, 44vw, 540px);
}
.lead-pics figure {
  margin: 0;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--bg);
}
.lead-pics .lp-main {
  grid-row: span 2;
  background: linear-gradient(180deg, #dce2ea, #c9d1dc);
}
.lead-pics img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lead-pics .lp-main img {
  object-position: 50% 15%;
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
@media (max-width: 900px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}
.faq-grid h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  margin: 12px 0 14px;
}
.faq-grid > div > p {
  color: var(--muted);
}
.still {
  margin: 28px 0 12px;
  font-weight: 700;
  color: var(--fg) !important;
}
.faq-list {
  display: grid;
  gap: 10px;
}
details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: border-color 0.3s;
}
details[open] {
  border-color: var(--gold);
}
summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 20px;
  font: 500 16px var(--f-display);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
summary::-webkit-details-marker {
  display: none;
}
.pm {
  flex: none;
  width: 22px;
  height: 22px;
  position: relative;
}
.pm::before,
.pm::after {
  content: "";
  position: absolute;
  left: 5px;
  right: 5px;
  top: 10px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold-ink);
  transition: transform 0.35s var(--ease);
}
.pm::after {
  transform: rotate(90deg);
}
details[open] .pm::after {
  transform: rotate(0);
}
.ans {
  padding: 0 20px 18px;
  color: var(--muted);
  max-width: 64ch;
}

/* Contacto */
.contact-grid .sub {
  color: var(--muted);
  max-width: 44ch;
}
.gt {
  font-size: 18px;
  font-weight: 500;
  margin: 32px 0 4px;
}
.line {
  justify-content: flex-start;
}
.line > div {
  flex: 1;
  min-width: 0;
}
.ci {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--gold-soft);
  color: var(--gold-ink);
  display: grid;
  place-items: center;
  flex: none;
}
.ci svg {
  width: 20px;
  height: 20px;
}
.ft {
  font-size: 22px;
  font-weight: 500;
}
.fs {
  color: var(--muted);
  font-size: 14px;
  margin-top: 4px;
}
.btn.wide {
  width: 100%;
  justify-content: center;
}
.form-msg {
  margin-top: 10px;
}

/* Contacto (estilo da referência) */
.contact-sec .contact-grid {
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
}
.c-left h2 {
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 400;
  margin: 14px 0 0;
  max-width: 16ch;
}
.c-left .gt {
  font-size: 16px;
  font-weight: 500;
  margin: clamp(32px, 5vw, 56px) 0 16px;
}
.c-items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}
.c-items li {
  display: flex;
  gap: 14px;
  align-items: center;
}
.c-items small {
  display: block;
  font: 500 13px var(--f-display);
  color: var(--fg);
}
.c-items span:not(.ci) {
  display: block;
  font-size: 14px;
  color: var(--muted);
  user-select: all;
}
.c-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: clamp(22px, 3vw, 32px);
  gap: 16px 14px;
}
.c-form .ft {
  font-size: 20px;
  font-weight: 500;
}
.c-form label {
  font: 500 13px var(--f-display);
  color: var(--fg);
}
.c-form input,
.c-form select,
.c-form textarea {
  background: var(--bg);
  border-color: transparent;
  font-size: 15px;
}
.c-form ::placeholder {
  color: var(--muted);
  opacity: 0.7;
}
@media (max-width: 900px) {
  .contact-sec .contact-grid {
    grid-template-columns: 1fr;
  }
  .c-left h2 {
    max-width: none;
  }
  .c-items span:not(.ci) {
    overflow-wrap: anywhere;
  }
}

/* ===== Revelação suave ao rolar ===== */
.sr {
  opacity: 0;
  transform: translateY(30px);
  filter: blur(6px);
  transition:
    opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.4s cubic-bezier(0.16, 1, 0.3, 1),
    filter 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--sd, 0s);
  will-change: opacity, transform;
}
.sr.in {
  opacity: 1;
  transform: none;
  filter: none;
}
.sr-img {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.6s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--sd, 0s);
}
.sr-img img {
  scale: 1.08;
  transition:
    scale 2s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s var(--ease);
  transition-delay: var(--sd, 0s), 0s;
}
.sr-img.in {
  opacity: 1;
  transform: none;
}
.sr-img.in img {
  scale: 1;
}
.sw {
  display: inline-block;
  opacity: 0;
  filter: blur(8px);
  transform: translateY(0.32em);
  transition:
    opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
    filter 1s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--wi) * 45ms + var(--sd, 0s));
}
.sr-words.in .sw {
  opacity: 1;
  filter: none;
  transform: none;
}
.svc.sr {
  transition:
    opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.4s cubic-bezier(0.16, 1, 0.3, 1),
    filter 1.2s cubic-bezier(0.16, 1, 0.3, 1),
    flex-grow 0.7s var(--ease),
    background 0.4s,
    color 0.4s;
  transition-delay: var(--sd, 0s), var(--sd, 0s), var(--sd, 0s), 0s, 0s, 0s;
}
details.sr {
  transition:
    opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.4s cubic-bezier(0.16, 1, 0.3, 1),
    filter 1.2s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.3s;
  transition-delay: var(--sd, 0s), var(--sd, 0s), var(--sd, 0s), 0s;
}
@media (prefers-reduced-motion: reduce) {
  .sr,
  .sr-img,
  .sw {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

/* ===== Blog ===== */
.blog-hero {
  position: relative;
  background: var(--band);
  color: var(--band-fg);
  overflow: hidden;
  padding-block: calc(150px + env(safe-area-inset-top, 0px)) clamp(64px, 8vw, 96px);
}
.bh-bg {
  position: absolute;
  inset: 0;
  background: url(../img/07-workshops-masterclass-01.jpg) center/cover;
  opacity: 0.28;
}
.blog-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18, 18, 19, 0.9), rgba(18, 18, 19, 0.4));
}
.blog-hero .wrap {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
  justify-items: start;
}
.blog-hero h1 {
  font-size: clamp(36px, 5.4vw, 68px);
  font-weight: 300;
  line-height: 1.05;
  max-width: 14ch;
}
.blog-hero p {
  color: #d9d4c9;
  font-size: 17px;
  max-width: 46ch;
}
.tag-dark {
  background: rgba(243, 239, 230, 0.08) !important;
  border-color: rgba(243, 239, 230, 0.2) !important;
  color: var(--band-fg) !important;
}
.chip {
  display: inline-block;
  font: 500 12px var(--f-display);
  color: var(--gold-ink);
  background: var(--gold-soft);
  padding: 4px 10px;
  border-radius: 999px;
}
.more-link {
  font: 500 14px var(--f-display);
  color: var(--gold-ink);
  text-decoration: none;
}
.more-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.cp-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.cp-meta small {
  font-size: 13px;
  color: var(--muted);
}
.stories {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}
@media (max-width: 900px) {
  .stories {
    grid-template-columns: 1fr;
  }
}
.feat-post {
  display: grid;
  gap: 14px;
}
.feat-post figure,
.side-post figure,
.card-post figure {
  margin: 0;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--surface);
}
.feat-post figure {
  height: clamp(240px, 30vw, 380px);
}
.feat-post img,
.side-post img,
.card-post img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.feat-post:hover img,
.side-post:hover img,
.card-post:hover img {
  transform: scale(1.04);
}
.feat-post h3 {
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 500;
}
.feat-post p {
  color: var(--muted);
  max-width: 56ch;
}
.side-list {
  display: grid;
  gap: 18px;
}
.side-post {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  align-items: center;
}
.side-post figure {
  height: 118px;
  border-radius: 14px;
}
.side-post > div {
  display: grid;
  gap: 6px;
  justify-items: start;
}
.side-post h3 {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.3;
}
.side-post p {
  font-size: 14px;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 520px) {
  .side-post {
    grid-template-columns: 110px 1fr;
  }
  .side-post figure {
    height: 96px;
  }
  .side-post p {
    display: none;
  }
}
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) {
  .post-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .post-grid {
    grid-template-columns: 1fr;
  }
}
.card-post {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 12px 12px 20px;
  display: grid;
  gap: 12px;
  align-content: start;
  transition: border-color 0.3s;
}
.card-post:hover {
  border-color: var(--gold);
}
.card-post figure {
  height: 200px;
  border-radius: 12px;
}
.card-post .cp-meta,
.card-post h3,
.card-post .more-link {
  margin-inline: 6px;
}
.card-post h3 {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
}
.nav ul a[aria-current="page"] {
  color: var(--gold);
}

/* ===== Artigo ===== */
.pt-link {
  text-decoration: none;
  color: inherit;
}
.pt-link:hover {
  color: var(--gold-ink);
}
.post-hero {
  position: relative;
  background: var(--band);
  color: var(--band-fg);
  overflow: hidden;
  padding-block: calc(140px + env(safe-area-inset-top, 0px)) clamp(110px, 12vw, 170px);
}
.ph-bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  opacity: 0.22;
  filter: blur(2px);
  transform: scale(1.05);
}
.post-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 18, 19, 0.55), rgba(18, 18, 19, 0.92));
}
.ph-wrap {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
  justify-items: start;
  max-width: 880px;
}
.back-link {
  font: 500 14px var(--f-display);
  color: var(--band-muted);
  text-decoration: none;
}
.back-link:hover {
  color: var(--gold);
}
.post-hero h1 {
  font-size: clamp(32px, 4.6vw, 58px);
  font-weight: 300;
  line-height: 1.08;
}
.p-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.35;
}
.p-meta img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(243, 239, 230, 0.08);
  padding: 4px;
}
.p-meta small {
  color: var(--band-muted);
  font-size: 13px;
}
.post-sec {
  padding-top: 0;
}
.p-cover {
  margin: calc(-1 * clamp(80px, 9vw, 130px)) auto 0;
  max-width: 1000px;
  height: clamp(240px, 40vw, 480px);
  border-radius: var(--r);
  overflow: hidden;
  position: relative;
  z-index: 2;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.45);
}
.p-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.p-body {
  max-width: 68ch;
  margin: clamp(40px, 6vw, 64px) auto 0;
  font-size: 18px;
  line-height: 1.75;
}
.p-body .p-lead {
  font: 400 clamp(20px, 2vw, 24px) / 1.5 var(--f-display);
  color: var(--fg);
  margin-bottom: 28px;
}
.p-body h2 {
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 500;
  margin: 40px 0 14px;
}
.p-body p {
  color: var(--muted);
  margin: 0 0 18px;
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
}
.p-body ul {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.p-body li {
  position: relative;
  padding-left: 28px;
  color: var(--fg);
}
.p-body li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.62em;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--gold);
  transform: rotate(45deg);
}
.p-body blockquote {
  margin: 32px 0;
  padding: 22px 26px;
  border-left: 3px solid var(--gold);
  background: var(--gold-soft);
  border-radius: 0 14px 14px 0;
  font: 400 clamp(18px, 1.8vw, 22px) / 1.5 var(--f-display);
  color: var(--fg);
}
.p-cta {
  max-width: 68ch;
  margin: 48px auto 0;
  background: var(--band);
  color: var(--band-fg);
  border-radius: var(--r);
  padding: clamp(22px, 3vw, 32px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.p-cta h3 {
  font-size: 20px;
  font-weight: 500;
}
.p-cta p {
  color: var(--band-muted);
  font-size: 15px;
  margin-top: 4px;
}

/* ===== Painel de gestão (#dashboard) ===== */
:root {
  --c1: #d9982a;
  --c2: #2f63b8;
  --c3: #13917f;
  --c4: #c4573c;
  --c5: #8257c9;
  --c6: #7f8f1a;
  --ok: #1e8e4e;
  --warn: #b7791f;
  --bad: #c0392b;
  --heat0: #f6eedc;
  --heat1: #f1d9a8;
  --heat2: #e8bd6a;
  --heat3: #cf9532;
  --heat4: #9c6a16;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --c1: #bc7f1c;
    --c2: #4f84d6;
    --c3: #1f9c88;
    --c4: #d2603f;
    --c5: #9070d6;
    --c6: #87962a;
    --ok: #43b87a;
    --warn: #e0a84a;
    --bad: #e26a5c;
    --heat0: #2f2b24;
    --heat1: #4a3c22;
    --heat2: #7a5a20;
    --heat3: #b27f26;
    --heat4: #e8b04e;
  }
}
:root[data-theme="dark"] {
  --c1: #bc7f1c;
  --c2: #4f84d6;
  --c3: #1f9c88;
  --c4: #d2603f;
  --c5: #9070d6;
  --c6: #87962a;
  --ok: #43b87a;
  --warn: #e0a84a;
  --bad: #e26a5c;
  --heat0: #2f2b24;
  --heat1: #4a3c22;
  --heat2: #7a5a20;
  --heat3: #b27f26;
  --heat4: #e8b04e;
}

body.in-dash {
  background: var(--bg);
}
body.in-dash > header,
body.in-dash > footer,
body.in-dash > .wa {
  display: none;
}
#dash {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  min-height: 100vh;
  background: var(--bg);
  color: var(--fg);
  font-size: 14px;
}
#dash[hidden] {
  display: none;
}
#dash section.d-panel {
  padding: 0;
}
#pagesTbl {
  min-width: 420px;
}
.d-side {
  position: sticky;
  top: 0;
  height: 100vh;
  background: var(--band);
  color: var(--band-fg);
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 22px 16px max(22px, env(safe-area-inset-bottom, 0px))
    max(16px, env(safe-area-inset-left, 0px));
}
.d-logo img {
  height: 46px;
  width: auto;
  margin: 2px 8px 6px;
}
.d-nav {
  display: grid;
  gap: 4px;
}
.d-nav button {
  all: unset;
  box-sizing: border-box;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 12px;
  color: var(--band-muted);
  font: 500 14px var(--f-display);
  transition:
    background 0.25s,
    color 0.25s;
}
.d-nav button:hover {
  background: rgba(243, 239, 230, 0.06);
  color: var(--band-fg);
}
.d-nav button:focus-visible {
  outline: 2px solid var(--gold);
}
.d-nav button.on {
  background: var(--gold);
  color: #2a2a2c;
}
.d-nav svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.d-badge {
  margin-left: auto;
  background: var(--c4);
  color: #fff;
  font: 600 11px var(--f-display);
  border-radius: 999px;
  padding: 2px 7px;
}
.d-nav button.on .d-badge {
  background: #2a2a2c;
  color: var(--gold);
}
.d-back {
  margin-top: auto;
  position: relative;
  display: grid;
  gap: 2px;
  text-decoration: none;
  background: linear-gradient(135deg, rgba(245, 194, 107, 0.22), rgba(245, 194, 107, 0.06));
  border: 1px solid rgba(245, 194, 107, 0.3);
  border-radius: 16px;
  padding: 16px 44px 16px 16px;
}
.d-back b {
  font: 500 15px var(--f-display);
  color: var(--band-fg);
}
.d-back span {
  font-size: 12px;
  color: var(--band-muted);
}
.d-back i {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--gold);
  color: #2a2a2c;
  display: grid;
  place-items: center;
  font-style: normal;
}
.d-main {
  min-width: 0;
  padding: 18px max(24px, env(safe-area-inset-right, 0px)) 40px 24px;
  display: grid;
  gap: 16px;
  align-content: start;
}
.d-top {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 14px 12px 20px;
}
.d-top h1 {
  font: 500 20px var(--f-display);
  margin-right: auto;
}
.d-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg);
  border-radius: 10px;
  padding: 0 12px;
  width: min(320px, 34vw);
}
.d-search svg,
.d-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  color: var(--muted);
  flex: none;
}
.d-search input {
  border: 0;
  background: transparent;
  padding: 10px 0;
  font-size: 14px;
  outline: none;
}
.d-icon {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.d-icon i {
  position: absolute;
  top: 9px;
  right: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c4);
  box-shadow: 0 0 0 2px var(--surface);
}
.d-user {
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.25;
}
.d-user img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--band);
  padding: 4px;
}
.d-user b {
  display: block;
  font: 500 14px var(--f-display);
}
.d-user small {
  color: var(--muted);
  font-size: 12px;
}
.d-demo {
  font-size: 12.5px;
  color: var(--gold-ink);
  background: var(--gold-soft);
  border-radius: 10px;
  padding: 8px 14px;
}
.d-filters {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.seg {
  display: inline-flex;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 4px;
  gap: 2px;
}
.seg button {
  all: unset;
  cursor: pointer;
  padding: 7px 14px;
  border-radius: 9px;
  font: 500 13px var(--f-display);
  color: var(--muted);
}
.seg button[aria-pressed="true"] {
  background: var(--fg);
  color: var(--bg);
}
.seg button:focus-visible {
  outline: 2px solid var(--gold);
}
.d-upd {
  font-size: 12px;
  color: var(--muted);
}
.d-grid {
  display: grid;
  gap: 16px;
}
.g-over {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}
.g-over .kpis {
  grid-column: 1/10;
}
.g-over .live {
  grid-column: 10/13;
  grid-row: span 2;
}
.c-visits {
  grid-column: 1/6;
}
.c-src {
  grid-column: 6/10;
}
.c-pages {
  grid-column: 1/5;
}
.c-perf {
  grid-column: 5/9;
}
.c-sched {
  grid-column: 9/13;
}
.c-leads {
  grid-column: 1/9;
}
.c-act {
  grid-column: 9/13;
}
.c-city {
  grid-column: 1/6;
}
.c-reads {
  grid-column: 6/13;
}
@media (max-width: 1280px) {
  .g-over .kpis {
    grid-column: 1/-1;
  }
  .g-over .live {
    grid-column: 9/13;
    grid-row: auto;
  }
  .c-visits {
    grid-column: 1/9;
  }
  .c-src {
    grid-column: 1/7;
  }
  .c-pages {
    grid-column: 7/13;
  }
  .c-perf {
    grid-column: 1/7;
  }
  .c-sched {
    grid-column: 7/13;
  }
  .c-leads {
    grid-column: 1/-1;
  }
  .c-act {
    grid-column: 1/7;
  }
  .c-city {
    grid-column: 7/13;
  }
  .c-reads {
    grid-column: 1/-1;
  }
}
@media (max-width: 900px) {
  .g-over > * {
    grid-column: 1/-1 !important;
  }
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  min-width: 0;
}
.c-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.c-head h2 {
  font: 500 16px var(--f-display);
  margin: 0;
  letter-spacing: 0;
}
.cnt {
  color: var(--muted);
  font-weight: 400;
  font-size: 13px;
}
.lnk {
  all: unset;
  cursor: pointer;
  font: 500 13px var(--f-display);
  color: var(--gold-ink);
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.lnk:hover {
  border-color: var(--gold);
}
.muted-s {
  font-size: 12px;
  color: var(--muted);
}
.kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.kpis.k3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 900px) {
  .kpis,
  .kpis.k3 {
    grid-template-columns: 1fr 1fr;
  }
}
.kpi {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px;
  display: grid;
  gap: 8px;
}
.kpi.hl {
  background: var(--gold);
  border-color: var(--gold);
  color: #2a2a2c;
}
.kpi small {
  font-size: 13px;
  color: var(--muted);
}
.kpi.hl small {
  color: #4a3f2a;
}
.kpi .row2 {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.kpi b {
  font: 500 clamp(24px, 2.2vw, 30px) / 1 var(--f-display);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.delta {
  font: 500 11.5px var(--f-display);
  padding: 3px 8px;
  border-radius: 7px;
  white-space: nowrap;
}
.delta.up {
  color: var(--ok);
  background: color-mix(in srgb, var(--ok) 13%, transparent);
}
.delta.down {
  color: var(--bad);
  background: color-mix(in srgb, var(--bad) 13%, transparent);
}
.kpi.hl .delta {
  background: rgba(255, 255, 255, 0.6);
  color: #1d5e36;
}
.live {
  background: var(--gold-soft);
  border-color: transparent;
  display: flex;
  flex-direction: column;
}
.dot-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 500 12px var(--f-display);
  color: var(--ok);
}
.dot-live::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 60%, transparent);
  }
  100% {
    box-shadow: 0 0 0 10px transparent;
  }
}
.live-num {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 10px;
}
.live-num b {
  font: 300 54px/1 var(--f-display);
  font-variant-numeric: tabular-nums;
}
.live-num span {
  color: var(--muted);
  font-size: 13px;
}
.donut-wrap {
  position: relative;
  width: min(190px, 100%);
  margin: 6px auto 14px;
  aspect-ratio: 1;
}
.donut {
  width: 100%;
  height: 100%;
  display: block;
}
.donut-c {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  pointer-events: none;
}
.donut-c b {
  font: 500 22px var(--f-display);
  font-variant-numeric: tabular-nums;
}
.donut-c small {
  font-size: 12px;
  color: var(--muted);
}
.legend {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  font-size: 13px;
}
.legend li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.legend i {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  flex: none;
}
.legend.inline {
  display: flex;
  gap: 14px;
}
.legend.values li b {
  margin-left: auto;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.legend.values li em {
  font-style: normal;
  color: var(--muted);
  width: 44px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.src-wrap {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  align-items: center;
}
.src-wrap .donut-wrap {
  margin: 0;
}
@media (max-width: 520px) {
  .src-wrap {
    grid-template-columns: 1fr;
  }
}
.chart {
  position: relative;
  width: 100%;
}
.chart svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.ax {
  font: 11px var(--f-body);
  fill: var(--muted);
}
.grid-l {
  stroke: var(--line);
  stroke-width: 1;
}
.hit {
  fill: transparent;
  cursor: crosshair;
}
.hbars {
  display: grid;
  gap: 12px;
}
.hb {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 12px;
  font-size: 13px;
}
.hb .tr {
  grid-column: 1/-1;
  height: 8px;
  border-radius: 4px;
  background: var(--bg);
  overflow: hidden;
}
.hb .tr i {
  display: block;
  height: 100%;
  border-radius: 4px;
  background: var(--c1);
  transform-origin: left;
  animation: grow 1s var(--ease) both;
}
@keyframes grow {
  from {
    transform: scaleX(0);
  }
}
.hb b {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}
.vitals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.vt {
  background: var(--bg);
  border-radius: 12px;
  padding: 12px;
  display: grid;
  gap: 4px;
}
.vt small {
  font-size: 12px;
  color: var(--muted);
}
.vt b {
  font: 500 20px var(--f-display);
  font-variant-numeric: tabular-nums;
}
.st {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font: 500 11.5px var(--f-display);
}
.st::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}
.st.ok {
  color: var(--ok);
}
.st.warn {
  color: var(--warn);
}
.st.bad {
  color: var(--bad);
}
.chip-ok {
  font: 500 12px var(--f-display);
  color: var(--ok);
  background: color-mix(in srgb, var(--ok) 13%, transparent);
  padding: 4px 10px;
  border-radius: 999px;
}
.sched {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.sched li {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 10px;
  align-items: start;
}
.sched time {
  font-size: 12px;
  color: var(--muted);
  padding-top: 10px;
  line-height: 1.2;
}
.sched time b {
  display: block;
  color: var(--fg);
  font: 500 13px var(--f-display);
}
.ev {
  border-radius: 12px;
  padding: 10px 12px;
  border-left: 3px solid var(--c1);
  background: var(--bg);
}
.ev b {
  display: block;
  font: 500 13.5px var(--f-display);
}
.ev small {
  color: var(--muted);
  font-size: 12px;
}
.ev.hi {
  background: var(--gold);
  border-color: #2a2a2c;
  color: #2a2a2c;
}
.ev.hi small {
  color: #4a3f2a;
}
.tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.tabs button {
  all: unset;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 9px;
  font: 500 13px var(--f-display);
  color: var(--muted);
}
.tabs button[aria-pressed="true"] {
  background: var(--gold);
  color: #2a2a2c;
}
.tabs button:focus-visible {
  outline: 2px solid var(--gold);
}
.c-head .tabs {
  margin: 0;
}
.tbl-wrap {
  overflow-x: auto;
}
.tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  min-width: 620px;
}
.tbl th {
  text-align: left;
  font: 500 12px var(--f-display);
  color: var(--muted);
  background: var(--bg);
  padding: 10px 12px;
  white-space: nowrap;
}
.tbl th:first-child {
  border-radius: 10px 0 0 10px;
}
.tbl th:last-child {
  border-radius: 0 10px 10px 0;
}
.tbl td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.tbl tr:last-child td {
  border-bottom: 0;
}
.tbl td small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.tbl .num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.pill-s {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 500 12px var(--f-display);
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.pill-s::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.s-novo {
  color: var(--c4);
  background: color-mix(in srgb, var(--c4) 12%, transparent);
}
.s-contacto {
  color: var(--c2);
  background: color-mix(in srgb, var(--c2) 12%, transparent);
}
.s-proposta {
  color: var(--warn);
  background: color-mix(in srgb, var(--warn) 14%, transparent);
}
.s-fechado {
  color: var(--ok);
  background: color-mix(in srgb, var(--ok) 13%, transparent);
}
.s-pub {
  color: var(--ok);
  background: color-mix(in srgb, var(--ok) 13%, transparent);
}
.s-rasc {
  color: var(--muted);
  background: var(--bg);
}
.act-btn {
  all: unset;
  cursor: pointer;
  font: 500 12.5px var(--f-display);
  padding: 6px 12px;
  border-radius: 9px;
  border: 1px solid var(--line);
  white-space: nowrap;
}
.act-btn:hover {
  border-color: var(--gold);
  background: var(--gold-soft);
}
.feed {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.feed li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
}
.feed .fi {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--gold-soft);
  color: var(--gold-ink);
  display: grid;
  place-items: center;
}
.feed .fi svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.feed p {
  font-size: 13px;
  line-height: 1.45;
}
.feed small {
  color: var(--muted);
  font-size: 12px;
}
.reads {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
}
@media (max-width: 700px) {
  .reads {
    grid-template-columns: 1fr;
  }
}
.reads li {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 12px;
  align-items: center;
}
.reads img {
  width: 56px;
  height: 44px;
  border-radius: 9px;
  object-fit: cover;
}
.reads b {
  font: 500 13.5px var(--f-display);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.reads small {
  color: var(--muted);
  font-size: 12px;
}
.reads .v {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  font-size: 13px;
}
.g-traf {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}
.g-traf .kpis {
  grid-column: 1/-1;
}
.t-line {
  grid-column: 1/9;
}
.t-funnel {
  grid-column: 9/13;
}
.t-heat {
  grid-column: 1/8;
}
.t-pages {
  grid-column: 8/13;
}
@media (max-width: 1100px) {
  .g-traf > * {
    grid-column: 1/-1 !important;
  }
}
.funnel {
  display: grid;
  gap: 12px;
}
.fn {
  display: grid;
  gap: 6px;
}
.fn .tp {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}
.fn .tp b {
  font-variant-numeric: tabular-nums;
}
.fn .bar {
  height: 30px;
  border-radius: 8px;
  background: var(--bg);
  overflow: hidden;
}
.fn .bar i {
  display: block;
  height: 100%;
  border-radius: 8px;
  background: var(--c1);
  animation: grow 1s var(--ease) both;
}
.fn small {
  color: var(--muted);
  font-size: 12px;
}
.heat-wrap {
  overflow-x: auto;
}
.heat {
  display: grid;
  grid-template-columns: 38px repeat(24, minmax(14px, 1fr));
  gap: 3px;
  min-width: 520px;
  font-size: 10.5px;
  color: var(--muted);
}
.heat .hc {
  aspect-ratio: 1;
  border-radius: 3px;
}
.heat .hl {
  display: flex;
  align-items: center;
}
.heat .hh {
  text-align: center;
}
.heat-scale {
  display: flex;
  align-items: center;
  gap: 4px;
  justify-content: flex-end;
  margin-top: 10px;
  font-size: 11px;
  color: var(--muted);
}
.heat-scale i {
  width: 14px;
  height: 14px;
  border-radius: 3px;
}
.heat-scale i:nth-of-type(1) {
  background: var(--heat0);
}
.heat-scale i:nth-of-type(2) {
  background: var(--heat1);
}
.heat-scale i:nth-of-type(3) {
  background: var(--heat2);
}
.heat-scale i:nth-of-type(4) {
  background: var(--heat3);
}
.heat-scale i:nth-of-type(5) {
  background: var(--heat4);
}
[data-panel="blog"],
[data-panel="formacoes"] {
  display: grid;
  gap: 16px;
}
[data-panel="blog"][hidden],
[data-panel="formacoes"][hidden],
.d-panel[hidden] {
  display: none;
}
.kpis.k4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 900px) {
  .kpis.k4 {
    grid-template-columns: 1fr 1fr;
  }
}
.btn.sm {
  padding: 8px 14px;
  font-size: 13px;
}
.d-lead {
  color: var(--muted);
  margin-bottom: 16px;
}
.sections {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.sect {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  display: grid;
  transition:
    border-color 0.3s,
    transform 0.4s var(--ease);
}
.sect:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}
.sect figure {
  margin: 0;
  height: 120px;
  background: var(--band);
  overflow: hidden;
}
.sect figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}
.sect .sb {
  padding: 14px 16px;
  display: grid;
  gap: 6px;
}
.sect h3 {
  font: 500 15px var(--f-display);
}
.sect p {
  font-size: 13px;
  color: var(--muted);
}
.sect .sf {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}
.sect .sf small {
  font-size: 12px;
  color: var(--muted);
}
.settings {
  max-width: 820px;
}
.set-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  background: none;
  border: 0;
  padding: 0;
}
.set-form label {
  font: 500 13px var(--f-display);
}
.set-form input {
  background: var(--bg);
  border-color: transparent;
  font-size: 14px;
}
@media (max-width: 640px) {
  .set-form {
    grid-template-columns: 1fr;
  }
}
.d-tip {
  position: fixed;
  z-index: 90;
  pointer-events: none;
  background: var(--band);
  color: var(--band-fg);
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 12.5px;
  line-height: 1.4;
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.5);
  max-width: 220px;
}
.d-tip b {
  font-variant-numeric: tabular-nums;
}
.d-tip .tr {
  display: flex;
  align-items: center;
  gap: 6px;
}
.d-tip .tr i {
  width: 8px;
  height: 8px;
  border-radius: 2px;
}
.d-toast {
  position: fixed;
  z-index: 95;
  left: 50%;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  background: var(--band);
  color: var(--band-fg);
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 13.5px;
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.5);
  max-width: calc(100vw - 32px);
}
.d-panel .card,
.kpi,
.sect {
  animation: dIn 0.7s var(--ease) both;
}
@keyframes dIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}
@media (max-width: 900px) {
  #dash {
    grid-template-columns: 1fr;
  }
  .d-side {
    position: sticky;
    top: 0;
    z-index: 5;
    height: auto;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 10px max(16px, env(safe-area-inset-right, 0px)) 10px
      max(16px, env(safe-area-inset-left, 0px));
    overflow-x: auto;
  }
  .d-logo img {
    height: 34px;
    margin: 0;
  }
  .d-nav {
    display: flex;
    gap: 4px;
  }
  .d-nav button {
    padding: 9px 12px;
    white-space: nowrap;
  }
  .d-back {
    display: none;
  }
  .d-main {
    padding: 14px max(16px, env(safe-area-inset-right, 0px)) 32px
      max(16px, env(safe-area-inset-left, 0px));
  }
  .d-search {
    display: none;
  }
  .d-user span {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .d-panel .card,
  .kpi,
  .sect,
  .hb .tr i,
  .fn .bar i {
    animation: none;
  }
  .dot-live::before {
    animation: none;
  }
}
.nav ul a.nav-dash {
  border: 1px solid rgba(243, 239, 230, 0.25);
  border-radius: 999px;
  padding: 6px 12px;
  margin: -6px 0;
}
@media (max-width: 900px) {
  .nav ul a.nav-dash {
    border: 0;
    padding: 12px 0;
    margin: 0;
  }
}

/* CTA final */
.final {
  padding-block: 0 clamp(64px, 8vw, 96px);
}
.final-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: clamp(36px, 5vw, 56px);
}
.final-bar h2 {
  font-size: clamp(26px, 3.2vw, 40px);
}
.final .ctas {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Rodapé */
.ft-tag {
  max-width: 30ch;
  font-size: 14px;
}
.socs {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}
.soc {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(243, 239, 230, 0.18);
  display: grid;
  place-items: center;
  color: var(--band-fg);
}
.soc svg {
  width: 18px;
  height: 18px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .cine {
    height: auto;
  }
  .cine-pin {
    position: relative;
  }
}
