/* =========================================================
   M&Aestro: design system
   Primária: preto  ·  Secundária: branco  ·  Escala de cinzas
   Estrutura de páginas espelhada do SoM&A (somadeals.com)
   ========================================================= */

:root {
  --black: #0a0a0a;
  --ink: #141414;
  --white: #ffffff;

  --g50: #f7f7f7;
  --g100: #f1f1f1;
  --g150: #e9e9e9;
  --g200: #dedede;
  --g300: #cdcdcd;
  --g400: #a3a3a3;
  --g500: #737373;
  --g600: #555555;
  --g700: #3a3a3a;

  --line: rgba(10, 10, 10, 0.1);
  --line-inv: rgba(255, 255, 255, 0.14);

  --radius: 20px;
  --radius-sm: 12px;
  --radius-btn: 10px;

  --font-head: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1200px;
  --gutter: 24px;
  --header-h: 72px;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 16px 40px -16px rgba(0, 0, 0, 0.22);
  --shadow-lg: 0 40px 80px -30px rgba(0, 0, 0, 0.45);

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
ul { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: inherit;
  text-wrap: balance;
}

::selection { background: var(--black); color: var(--white); }

:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 4px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--black);
  color: var(--white);
  padding: 10px 14px;
  border-radius: var(--radius-btn);
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  font: 500 16px/1 var(--font-body);
  padding: 14px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-btn);
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.btn .icon { font-size: 1.15em; transition: transform 0.25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }

.btn--primary { background: var(--black); color: var(--white); }
.btn--primary:hover { background: #2b2b2b; }

.btn--outline { background: var(--white); color: var(--black); border-color: var(--g300); }
.btn--outline:hover { border-color: var(--black); }

.btn--invert { background: var(--white); color: var(--black); }
.btn--invert:hover { background: var(--g150); }

.btn--ghost-inv { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.4); }
.btn--ghost-inv:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.06); }

.btn--sm { font-size: 14px; padding: 10px 14px; }
.btn--lg { font-size: 18px; padding: 18px 22px; }
.btn--block { width: 100%; }

/* ---------- pill / eyebrow ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  font: 600 14px/1 var(--font-head);
  letter-spacing: 0;
  background: var(--black);
  color: var(--white);
}
.pill--light { background: var(--white); color: var(--black); }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -22px rgba(0, 0, 0, 0.35);
}

.header-inner {
  height: var(--header-h);
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: 40px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.brand { justify-self: start; }
.brand img { height: 34px; width: auto; }

/* espaço entre os itens cresce com a tela: ~12px em 1280px, ~15px em 1440px, até 18px */
.nav { display: flex; align-items: center; gap: clamp(4px, 1.6vw - 8px, 18px); }

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  font-size: 16px;
  color: var(--g700);
  background: none;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--black); }
.nav-link.is-active {
  color: var(--black);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 8px;
}
.nav-link .chev { font-size: 15px; transition: transform 0.2s; }

.dropdown { position: relative; }
.dropdown::after { /* ponte de hover entre botão e menu */
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 14px;
}
.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: -12px;
  width: 340px;
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s, transform 0.2s var(--ease), visibility 0.2s;
}
.dropdown:hover .dropdown-menu,
.dropdown.is-open .dropdown-menu { opacity: 1; visibility: visible; transform: none; }
.faq-answer a { color: var(--black); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.dropdown:hover .chev,
.dropdown.is-open .chev { transform: rotate(180deg); }

.dropdown-menu a {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px;
  border-radius: 12px;
  transition: background-color 0.15s;
}
.dropdown-menu a:hover,
.dropdown-menu a.is-active { background: var(--g100); }
.dd-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--black);
  color: var(--white);
  font-size: 17px;
  flex: none;
}
.dd-title { display: block; font-weight: 600; color: var(--black); font-size: 15px; line-height: 1.3; }
.dd-desc { display: block; font-size: 13px; color: var(--g500); line-height: 1.4; margin-top: 2px; }

.header-actions { justify-self: end; display: flex; gap: 10px; }

.menu-toggle {
  display: none;
  justify-self: end;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  place-items: center;
  font-size: 22px;
  cursor: pointer;
}
.menu-toggle .icon-close { display: none; }
.nav-mobile-actions { display: none; }

/* ---------- home: hero ---------- */
.home-hero {
  overflow: hidden;
  /* cinza claro que clareia até o branco dos cards, como no SoM&A */
  background: linear-gradient(180deg, var(--g100) 0%, var(--g100) 58%, var(--white) 100%);
  text-align: center;
  padding: clamp(96px, 12vw, 152px) 0 clamp(40px, 5vw, 64px);
}
.home-hero h1 {
  font-size: clamp(2.25rem, 4.2vw, 3.35rem);
  max-width: 1120px;
  margin-inline: auto;
  color: var(--black);
}
.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.6;
  color: var(--g700);
  max-width: 900px;
  margin: 24px auto 0;
}
.home-hero .btn { margin-top: clamp(40px, 5vw, 64px); }

/* ---------- home: faixa rolante de setores ---------- */
.marquee { margin-top: clamp(64px, 8vw, 104px); }
.marquee-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--g500);
  padding-inline: var(--gutter);
  text-wrap: balance;
}
.marquee-viewport {
  margin-top: 22px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 48s linear infinite;
}
.marquee-viewport:hover .marquee-track { animation-play-state: paused; }
.marquee-list {
  display: flex;
  align-items: center;
  flex: none;
  margin: 0;
  padding: 0;
  list-style: none;
}
.marquee-list li {
  display: flex;
  align-items: center;
  white-space: nowrap;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  letter-spacing: -0.02em;
  color: var(--g400);
}
.marquee-list li::after { /* símbolo da marca como separador */
  content: "";
  width: 26px;
  height: 15px;
  margin-inline: clamp(24px, 3.4vw, 44px);
  background: url("/assets/img/maestro-mark-black.png") no-repeat center / contain;
  opacity: 0.22;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- home: caminhos ---------- */
.paths { padding: clamp(24px, 3vw, 40px) 0 clamp(80px, 9vw, 112px); }
.paths-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.path-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: clamp(40px, 5vw, 56px) clamp(28px, 4vw, 48px) clamp(36px, 4vw, 48px);
  border-radius: var(--radius);
  background: var(--g150);
  color: var(--black);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.path-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.path-card--dark { background: var(--black); color: var(--white); }
.path-card--mid { background: var(--g200); }

.icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--white);
  color: var(--black);
  font-size: 26px;
  flex: none;
}
.path-card h2 { font-size: clamp(1.45rem, 2.3vw, 1.8rem); margin-top: 8px; }
.path-card p { max-width: 46ch; opacity: 0.78; }
.path-card .btn { margin-top: 12px; }
.path-card--dark .btn--outline { border-color: transparent; }

/* ---------- páginas internas: hero dividido ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--hero-bg, var(--g150));
  color: var(--hero-fg, var(--black));
  padding: clamp(64px, 8vw, 104px) 0;
}
.page-hero--dark { --hero-bg: var(--black); --hero-fg: var(--white); }
.page-hero--mid { --hero-bg: var(--g200); }
.page-hero--dark::before {
  content: "";
  position: absolute;
  left: -10%;
  bottom: -40%;
  width: min(820px, 80vw);
  aspect-ratio: 682 / 399;
  background: url("/assets/img/maestro-mark-white.png") no-repeat center / contain;
  opacity: 0.035;
  pointer-events: none;
}

.page-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
}
.page-hero h1 { font-size: clamp(2rem, 3.6vw, 2.75rem); margin-top: 24px; }
.page-hero .sub { margin-top: 22px; font-size: 18px; opacity: 0.82; max-width: 52ch; }
.page-hero .btn { margin-top: 32px; }

/* variante centralizada (Vender e Expandir no SoM&A): texto no meio e o visual
   largo embaixo, encostado na faixa seguinte */
.page-hero--center { text-align: center; padding-bottom: 0; }
.page-hero--center .container { position: relative; }
.page-hero--center .hero-copy { max-width: 1120px; margin-inline: auto; }
.page-hero--center h1 { font-size: clamp(2.1rem, 4.2vw, 3.35rem); }
.page-hero--center .sub { margin-inline: auto; max-width: 60ch; }
.hero-visual { display: flex; justify-content: center; margin-top: clamp(44px, 5.5vw, 64px); }

/* ---------- mockups ilustrativos ---------- */
.mock {
  width: 100%;
  max-width: 500px;
  justify-self: end;
  padding: 28px;
  border-radius: 24px;
  background: var(--white);
  color: var(--black);
  box-shadow: var(--shadow-lg);
}
.mock--dark { background: var(--black); color: var(--white); }
.mock--wide {
  max-width: 900px;
  justify-self: auto;
  text-align: left;
  padding: clamp(24px, 3vw, 36px) clamp(22px, 3.2vw, 40px) clamp(28px, 3.4vw, 44px);
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -24px 70px -40px rgba(0, 0, 0, 0.55);
}
.mock-cols {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 8px clamp(28px, 4vw, 48px);
  align-items: start;
}
.mock-cols .mock-stats { grid-template-columns: 1fr; margin-top: 20px; }
.mock-divider { height: 1px; margin-top: 28px; background: rgba(128, 128, 128, 0.25); }

.mock-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; font-weight: 500; }
.mock-head span:first-child { display: inline-flex; align-items: center; gap: 10px; }
.mock-head .icon { font-size: 18px; }
.mock-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 4px 9px;
  opacity: 0.5;
}
.mock-label { margin-top: 24px; font-size: 14px; opacity: 0.6; }
.mock-big { margin-top: 4px; font: 700 clamp(2.1rem, 3.6vw, 2.8rem)/1.05 var(--font-head); letter-spacing: -0.035em; }
.mock-sub { margin-top: 8px; font-size: 14px; opacity: 0.6; }

.meter { margin-top: 24px; }
.meter-top { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; margin-bottom: 10px; }
.meter-top strong { font-family: var(--font-head); }
.bar { height: 8px; border-radius: 99px; background: rgba(128, 128, 128, 0.2); overflow: hidden; }
.bar i {
  display: block;
  height: 100%;
  width: var(--w, 50%);
  border-radius: inherit;
  background: currentColor;
  transform-origin: left;
  transition: transform 1.2s var(--ease) 0.2s;
}
.js .reveal:not(.is-visible) .bar i { transform: scaleX(0); }

.mock-list { list-style: none; margin-top: 22px; display: grid; gap: 10px; }
.mock-list li { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.mock-list .mk {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  background: currentColor;
  flex: none;
}
.mock-list .mk .icon { color: var(--white); stroke-width: 2.5; }
.mock--dark .mock-list .mk .icon { color: var(--black); }
.mock-list li.is-pending { opacity: 0.55; }
.mock-list li.is-pending .mk { background: transparent; border: 1.5px dashed currentColor; }

.mock-rows { list-style: none; margin-top: 20px; display: grid; gap: 10px; }
.mock-row { padding: 14px 16px; border-radius: 14px; background: rgba(128, 128, 128, 0.12); }
.mock-row-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.mock-row-top b { display: block; font-size: 15px; font-weight: 600; }
.mock-row-top small { display: block; font-size: 13px; opacity: 0.6; }
.mock-row-top strong { font: 700 18px/1 var(--font-head); letter-spacing: -0.02em; }

.mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 22px; }
.mock-stat { padding: 14px; border-radius: 14px; background: rgba(128, 128, 128, 0.12); }
.mock-stat small { display: block; font-size: 12px; opacity: 0.6; }
.mock-stat strong { display: block; margin-top: 4px; font: 700 20px/1.1 var(--font-head); letter-spacing: -0.02em; }

.mock-chart { display: flex; align-items: flex-end; gap: 8px; height: 120px; margin-top: 22px; padding-top: 8px; border-bottom: 1px solid rgba(128, 128, 128, 0.3); }
.mock-chart i {
  flex: 1;
  height: var(--h);
  border-radius: 6px 6px 0 0;
  background: currentColor;
  opacity: var(--o, 0.25);
  transform-origin: bottom;
  transition: transform 1s var(--ease);
}
.js .reveal:not(.is-visible) .mock-chart i { transform: scaleY(0); }
.mock-foot { display: flex; justify-content: space-between; margin-top: 10px; font-size: 12px; opacity: 0.55; }

/* ---------- faixa de declaração ---------- */
.statement {
  background: var(--black);
  color: var(--white);
  text-align: center;
  padding: clamp(72px, 9vw, 112px) 0;
}
.statement--light { background: var(--g100); color: var(--black); }
.statement-mark { width: 64px; margin: 0 auto 28px; opacity: 0.9; }
.statement p {
  max-width: 860px;
  margin-inline: auto;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.55;
  text-wrap: pretty;
}

/* ---------- listas (desafios x solução) ---------- */
.lists { background: var(--g50); padding: clamp(80px, 9vw, 112px) 0; }
.lists--white { background: var(--white); }
.lists-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }

.list-card {
  padding: clamp(32px, 4vw, 48px);
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
}
.list-card--dark { background: var(--black); color: var(--white); border-color: var(--black); }
.list-card h2 { font-size: clamp(1.4rem, 2.3vw, 1.85rem); margin-bottom: 28px; }
.list-card .eyebrow {
  display: block;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.55;
}

.checklist { list-style: none; display: grid; gap: 16px; }
.checklist li { display: flex; align-items: flex-start; gap: 14px; font-size: 16px; line-height: 1.5; }
.checklist .mk {
  width: 26px;
  height: 26px;
  margin-top: -1px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 14px;
  background: var(--black);
  color: var(--white);
  flex: none;
}
.checklist .mk .icon { stroke-width: 2.25; }
.checklist--muted li { color: var(--g700); }
.checklist--muted .mk { background: var(--g150); color: var(--g600); }
.list-card--dark .checklist .mk { background: var(--white); color: var(--black); }
.list-card--dark .checklist li { color: rgba(255, 255, 255, 0.88); }
.checklist--cols { grid-template-columns: 1fr 1fr; column-gap: 40px; }

.cta-line {
  margin-top: clamp(56px, 7vw, 80px);
  text-align: center;
}
.cta-line p {
  max-width: 62ch;
  margin: 0 auto 28px;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  font-weight: 600;
  color: var(--black);
  text-wrap: balance;
}

/* ---------- faixa da marca ---------- */
.brand-band { background: var(--black); color: var(--white); padding: clamp(64px, 8vw, 96px) 0; }
.brand-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.brand-band img { height: clamp(40px, 5vw, 60px); width: auto; }
.brand-band p { margin-top: 14px; font-size: clamp(1.1rem, 1.8vw, 1.35rem); opacity: 0.75; }

/* ---------- títulos centrais (serviços, preços, faq, contato) ---------- */
.center-head { text-align: center; max-width: 900px; margin-inline: auto; }
.center-head h1 { margin-top: 22px; font-size: clamp(2.25rem, 4.5vw, 3.4rem); color: var(--black); }
.center-head .quote { font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.22; letter-spacing: -0.025em; }
.center-head p { margin-top: 18px; font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--g600); text-wrap: pretty; }

/* ---------- serviços ---------- */
.svc-hero { padding: clamp(80px, 9vw, 112px) 0 clamp(40px, 5vw, 56px); }
.svc-list { display: grid; gap: 24px; padding-bottom: clamp(80px, 9vw, 112px); }
.svc-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(20px, 3vw, 32px);
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.svc-card:hover { border-color: var(--g300); box-shadow: var(--shadow); }
.svc-card .icon-circle { background: var(--black); color: var(--white); width: 56px; height: 56px; font-size: 24px; }
.svc-card .eyebrow {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--g500);
}
.svc-card h2 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); margin-bottom: 16px; color: var(--black); }
.svc-card p { color: var(--g600); max-width: 80ch; }
.svc-card p + p { margin-top: 12px; }
.svc-card strong { color: var(--black); font-weight: 600; }
.note {
  margin-top: 18px;
  padding: 14px 18px;
  border-left: 3px solid var(--black);
  background: var(--g100);
  border-radius: 0 10px 10px 0;
  font-size: 15px;
}

.diff { background: var(--black); color: var(--white); padding: clamp(80px, 9vw, 120px) 0; }
.diff .center-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.diff .center-head p { color: rgba(255, 255, 255, 0.72); }
.diff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(48px, 6vw, 64px); }
.diff-item {
  padding: 28px;
  border-radius: 16px;
  border: 1px solid var(--line-inv);
  background: rgba(255, 255, 255, 0.03);
  transition: background-color 0.25s, border-color 0.25s;
}
.diff-item:hover { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.28); }
.diff-num { display: block; font: 600 13px/1 var(--font-head); letter-spacing: 0.06em; opacity: 0.5; }
.diff-item h3 { margin: 14px 0 10px; font-size: 18px; letter-spacing: -0.015em; }
.diff-item p { font-size: 15px; color: rgba(255, 255, 255, 0.7); }

/* ---------- preços ---------- */
.pricing { background: var(--g100); padding: clamp(80px, 9vw, 112px) 0; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: clamp(48px, 6vw, 64px); }
.plan {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
}
.plan--dark { background: var(--black); color: var(--white); border-color: var(--black); }
.plan-top { padding: 32px; border-bottom: 1px solid var(--line); }
.plan--dark .plan-top { border-color: var(--line-inv); }
.plan-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.plan-name { font: 700 20px/1 var(--font-head); letter-spacing: 0.02em; }
.plan-name span { font-weight: 500; opacity: 0.55; }
.plan-badge { padding: 7px 11px; font-size: 14px; font-weight: 500; border: 1px solid var(--line); border-radius: var(--radius-btn); }
.plan--dark .plan-badge { border-color: var(--line-inv); }
.plan-price { margin-top: 32px; min-height: 124px; display: flex; flex-direction: column; justify-content: flex-end; }
.plan-price small { font-size: 16px; font-weight: 600; }
.plan-price strong { font: 700 clamp(2.6rem, 5vw, 3.4rem)/1 var(--font-head); letter-spacing: -0.035em; }
.plan-price .cash { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: 15px; font-weight: 500; }
.plan-price .cash b { padding: 4px 8px; background: var(--black); color: var(--white); border-radius: 4px; font-family: var(--font-head); font-size: 14px; }
.plan-desc { margin-top: 28px; min-height: 3.2em; color: var(--g600); }
.plan--dark .plan-desc { color: rgba(255, 255, 255, 0.72); }
.plan-body { flex: 1; display: flex; flex-direction: column; padding: 32px; }
.plan-body > em { font-size: 14px; color: var(--g500); margin-bottom: 18px; }
.plan--dark .plan-body > em { color: rgba(255, 255, 255, 0.55); }
.plan .checklist { gap: 12px; margin-bottom: 36px; }
.plan .checklist li { font-size: 15px; }
.plan .checklist .mk { width: 22px; height: 22px; font-size: 12px; }
.plan--dark .checklist .mk { background: var(--white); color: var(--black); }
.plan-body .btn { margin-top: auto; }
.price-note { margin-top: 24px; text-align: center; font-size: 14px; color: var(--g500); }

/* ---------- institucional ---------- */
.about-hero {
  position: relative;
  overflow: hidden;
  background: var(--black);
  color: var(--white);
  text-align: center;
  padding: clamp(88px, 10vw, 136px) 0;
}
.about-hero::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(1100px, 110vw);
  aspect-ratio: 682 / 399;
  transform: translate(-50%, -50%);
  background: url("/assets/img/maestro-mark-white.png") no-repeat center / contain;
  opacity: 0.045;
  pointer-events: none;
}
.about-hero .container { position: relative; }
.about-hero h1 { max-width: 23ch; margin: 24px auto 0; font-size: clamp(2.25rem, 4.8vw, 3.6rem); }
.about-hero p { max-width: 780px; margin: 24px auto 0; font-size: clamp(1.02rem, 1.5vw, 1.15rem); color: rgba(255, 255, 255, 0.78); }

.name-story { padding: clamp(64px, 8vw, 96px) 0; border-bottom: 1px solid var(--line); }
.name-story-grid { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: clamp(32px, 6vw, 80px); }
.name-eq { display: flex; align-items: center; gap: 16px; font: 700 clamp(1.6rem, 3.4vw, 2.6rem)/1 var(--font-head); letter-spacing: -0.03em; white-space: nowrap; }
.name-eq span { color: var(--g400); font-weight: 500; }
.name-eq img { height: 1em; width: auto; }
.name-story p { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--g700); max-width: 60ch; }

.promise { padding: clamp(64px, 8vw, 96px) 0; border-bottom: 1px solid var(--line); }
.promise-intro { font-size: 18px; color: var(--g700); }
.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(32px, 5vw, 56px); margin-top: 40px; }
.num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--black);
  color: var(--white);
  font: 600 20px/1 var(--font-head);
}
.promise h2 { margin: 22px 0 12px; font-size: clamp(1.6rem, 2.6vw, 2rem); }
.promise p { color: var(--g600); }

.careers { padding: clamp(64px, 8vw, 104px) 0; }
.careers-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.careers h2 { font-size: clamp(2rem, 3.6vw, 2.75rem); }
.careers p { margin-top: 14px; font-size: 18px; color: var(--g700); }

/* ---------- faq ---------- */
.faq { padding: clamp(80px, 9vw, 112px) 0; }
.faq-list { max-width: 880px; margin: clamp(48px, 6vw, 64px) auto 0; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 4px;
  list-style: none;
  cursor: pointer;
  font: 600 clamp(1.02rem, 1.6vw, 1.15rem)/1.4 var(--font-head);
  letter-spacing: -0.01em;
  color: var(--black);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .plus {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  font-size: 18px;
  flex: none;
  transition: transform 0.3s var(--ease), background-color 0.2s, color 0.2s;
}
.faq-item summary:hover .plus { border-color: var(--black); }
.faq-item[open] .plus { transform: rotate(45deg); background: var(--black); color: var(--white); border-color: var(--black); }
.faq-answer { padding: 0 64px 28px 4px; color: var(--g600); }
.faq-answer p + p { margin-top: 10px; }
.faq-more { margin-top: 48px; text-align: center; color: var(--g600); }
.faq-more a { color: var(--black); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- contato ---------- */
.contact-head { padding: clamp(80px, 9vw, 112px) 0 clamp(48px, 6vw, 64px); }
.contact-head p strong { color: var(--black); }
.contact-form-wrap { background: var(--g100); padding: clamp(48px, 6vw, 72px) 0; }
.form { max-width: 600px; margin-inline: auto; display: grid; gap: 20px; }
.field label { display: block; margin-bottom: 8px; font-size: 15px; font-weight: 500; color: var(--g700); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  font: 400 16px/1.4 var(--font-body);
  color: var(--black);
  background: var(--white);
  border: 1px solid var(--g200);
  border-radius: 10px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: var(--g400); }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--black); box-shadow: 0 0 0 3px rgba(10, 10, 10, 0.1); }
.form .btn { margin-top: 4px; }
.form-legal { font-size: 13px; color: var(--g500); text-align: center; }
.form-legal a { color: var(--g700); text-decoration: underline; text-underline-offset: 3px; }
.form-error {
  padding: 12px 16px;
  border-radius: var(--radius-btn);
  border: 1px solid #f1c4c0;
  background: #fdf2f1;
  color: #9b1c13;
  font-size: 14px;
  text-align: center;
}
.form[aria-busy="true"] [type="submit"] { opacity: 0.6; cursor: progress; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
a[aria-disabled="true"] { cursor: default; }
.form-success {
  display: none;
  max-width: 600px;
  margin-inline: auto;
  padding: 40px 32px;
  border-radius: var(--radius);
  background: var(--black);
  color: var(--white);
  text-align: center;
}
.form-success .icon-circle { margin: 0 auto 20px; }
.form-success h2 { font-size: 26px; }
.form-success p { margin-top: 10px; color: rgba(255, 255, 255, 0.75); }
.is-sent .form { display: none; }
.is-sent .form-success { display: block; }

.socials { padding: clamp(72px, 8vw, 96px) 0; text-align: center; }
.socials h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); }
.social-cards { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px; margin-top: 40px; }
.social-card {
  width: 240px;
  padding: 32px;
  display: grid;
  justify-items: center;
  gap: 14px;
  font-weight: 600;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s, transform 0.3s var(--ease), box-shadow 0.3s;
}
.social-card:hover { border-color: var(--black); transform: translateY(-3px); box-shadow: var(--shadow); }
.social-card .icon-circle { width: 52px; height: 52px; font-size: 22px; background: var(--black); color: var(--white); }

/* ---------- 404 ---------- */
.notfound { padding: clamp(120px, 14vw, 180px) 0; text-align: center; }
.notfound h1 { font-size: clamp(3rem, 8vw, 6rem); }
.notfound p { margin: 16px auto 32px; color: var(--g600); max-width: 44ch; }

/* ---------- páginas legais ---------- */
.legal-head { padding: clamp(80px, 9vw, 112px) 0 clamp(32px, 4vw, 48px); text-align: center; }
.legal-head h1 { margin-top: 20px; font-size: clamp(2.2rem, 4.4vw, 3.4rem); }
.legal-head p { margin-top: 14px; color: var(--g500); font-size: 15px; }
.legal { padding-bottom: clamp(80px, 9vw, 112px); }
.legal-body { max-width: 760px; margin: 0 auto; color: var(--g700); }
.legal-body h2 {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  letter-spacing: -0.02em;
  color: var(--black);
}
.legal-body h2:first-of-type { margin-top: 32px; }
.legal-body p, .legal-body ul { margin-top: 14px; }
.legal-body ul { padding-left: 1.25em; display: grid; gap: 8px; }
.legal-body strong { color: var(--black); }
.legal-body a { color: var(--black); text-decoration: underline; text-underline-offset: 3px; }
.legal-toc {
  margin-top: 32px;
  padding: 24px 28px;
  border-radius: var(--radius-sm);
  background: var(--g100);
  font-size: 15px;
}
.legal-toc ol { margin: 10px 0 0; padding-left: 1.25em; columns: 2; column-gap: 32px; }
.legal-toc li { break-inside: avoid; padding: 3px 0; }
.legal-toc a { text-decoration: none; }
.legal-toc a:hover { text-decoration: underline; }
/* dado que o cliente ainda precisa preencher no src/site.json */
.pending {
  padding: 1px 6px;
  border-radius: 4px;
  background: #fff4c2;
  color: #5c4500;
  font-style: normal;
  -webkit-box-decoration-break: clone;
          box-decoration-break: clone;
}
@media (max-width: 720px) { .legal-toc ol { columns: 1; } }

/* ---------- footer ---------- */
.site-footer { padding: clamp(64px, 7vw, 88px) 0 40px; background: var(--white); border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.footer-brand img { height: 30px; width: auto; }
.footer-brand p { margin-top: 20px; max-width: 30ch; font-size: 15px; color: var(--g600); }
.footer-title { margin-bottom: 14px; font: 600 16px/1.3 var(--font-head); letter-spacing: -0.01em; color: var(--black); }
.footer-title--spaced { margin-top: 26px; }
.footer-title a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-col > a { display: block; padding: 4px 0; font-size: 15px; color: var(--g600); transition: color 0.2s; }
.footer-col > a:hover { color: var(--black); }
.footer-social { display: grid; gap: 10px; margin-top: 28px; }
.footer-social a { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; color: var(--g600); }
.footer-social a:hover { color: var(--black); }
.footer-social .icon { font-size: 18px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: clamp(48px, 6vw, 72px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--g500);
}
.footer-legal { display: flex; gap: 20px; }
.footer-legal a:hover { color: var(--black); }

/* ---------- animação de entrada ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: 0.08s; }
.js .reveal[data-delay="2"] { transition-delay: 0.16s; }
.js .reveal[data-delay="3"] { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .js .reveal:not(.is-visible) .bar i,
  .js .reveal:not(.is-visible) .mock-chart i { transform: none; }
  * { transition-duration: 0.01ms !important; }
  /* sem rolagem: os setores ficam parados, quebrando em linhas */
  .marquee-viewport { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { animation: none; width: 100%; justify-content: center; }
  .marquee-list { flex: 1 1 100%; min-width: 0; flex-wrap: wrap; justify-content: center; row-gap: 10px; padding-inline: var(--gutter); }
  .marquee-list[aria-hidden="true"] { display: none; }
  .marquee-list li:last-child::after { display: none; }
}

/* ---------- responsivo ---------- */
@media (max-width: 1100px) {
  .header-inner { padding-inline: 24px; }
  .nav { gap: 2px; }
  .nav-link { padding: 8px 7px; font-size: 15px; }
  .diff-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .header-inner { grid-template-columns: 1fr auto; }
  .header-actions { display: none; }
  .menu-toggle { display: grid; }
  .menu-toggle[aria-expanded="true"] .icon-menu { display: none; }
  .menu-toggle[aria-expanded="true"] .icon-close { display: block; }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 28px;
    background: var(--white);
    border-top: 1px solid var(--line);
    box-shadow: 0 30px 40px -20px rgba(0, 0, 0, 0.25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s, transform 0.25s var(--ease), visibility 0.2s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav-link { justify-content: space-between; padding: 16px 0; font-size: 17px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-link.is-active { text-decoration: none; }
  .dropdown-toggle { width: 100%; }
  .dropdown::after { display: none; }
  .dropdown-menu {
    position: static;
    width: auto;
    padding: 4px 0 8px;
    border: 0;
    box-shadow: none;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .dropdown.is-open .dropdown-menu { display: block; }
  .dropdown:hover .chev { transform: none; }
  .dropdown.is-open .chev { transform: rotate(180deg); }
  .nav-mobile-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }

  .page-hero-grid { grid-template-columns: 1fr; }
  .mock { justify-self: start; }
  .lists-grid,
  .plans,
  .promise-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }
  .name-story-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  :root { --gutter: 16px; }
  .header-inner { padding-inline: 16px; }
  .brand img { height: 26px; }
  .paths-grid,
  .diff-grid,
  .checklist--cols { grid-template-columns: 1fr; }
  .svc-card { grid-template-columns: 1fr; }
  .faq-answer { padding-right: 4px; }
  .mock { padding: 22px; }
  .mock-stats { grid-template-columns: 1fr 1fr; }
  .mock-cols { grid-template-columns: 1fr; }
  .mock-cols .mock-stats { grid-template-columns: 1fr 1fr; }
  .mock-stats > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .brand-band-inner,
  .careers-inner { flex-direction: column; align-items: flex-start; }
  .plan-top,
  .plan-body { padding: 24px; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 340px) {
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .name-eq { gap: 10px; font-size: clamp(1.3rem, 7vw, 1.6rem); }
  .nav-mobile-actions { grid-template-columns: 1fr; }
  .btn--lg { font-size: 17px; padding: 16px 20px; }
}
