/* ==========================================================================
   Ponto Modular — folha de estilos
   Paleta e tipografia conforme o Guia de Marca (Edição 01, set/2026).
   Mulish substitui a Avenir Next na web (fonte licenciada não é distribuída).
   ========================================================================== */

@font-face {
  font-family: "Mulish";
  src: url("../fonts/mulish-latin-var.woff2") format("woff2");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Cores da marca */
  --laranja: #F56613;
  --laranja-hover: #FF7B30;
  --grafite: #191C1E;
  --grafite-2: #202427;
  --grafite-3: #2C3135;
  --grafite-4: #121416;
  --branco: #FFFFFF;
  --marfim: #F4F2EC;
  --tinta: #202321;
  --cinza: #656A66;
  --cinza-dark: #BEC2C2;
  --linha: #DEDBD3;
  --linha-dark: #33393D;

  /* Contexto (sobrescrito por tema de seção) */
  --bg: var(--branco);
  --fg: var(--tinta);
  --fg-2: var(--cinza);
  --rule: var(--linha);
  --focus: var(--tinta);

  --font: "Mulish", "Avenir Next", "Avenir", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --header-h: 80px;
  --section-y: clamp(80px, 10vw, 148px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --radius: 2px;
}

@media (max-width: 899px) {
  :root { --header-h: 72px; }
}

/* ---------- 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);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  color: var(--fg);
  background: var(--branco);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; line-height: 1.1; letter-spacing: -.02em; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
::selection { background: var(--laranja); color: var(--grafite); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 200;
  background: var(--laranja); color: var(--grafite); padding: 12px 18px; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

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

/* ---------- Temas de seção ---------- */
.theme-dark { --bg: var(--grafite); --fg: var(--branco); --fg-2: var(--cinza-dark); --rule: var(--linha-dark); --focus: var(--laranja); background: var(--bg); color: var(--fg); }
.theme-marfim { --bg: var(--marfim); background: var(--bg); color: var(--fg); }
.theme-light { --bg: var(--branco); background: var(--bg); color: var(--fg); }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }

/* ---------- Tipografia ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  margin: 0 0 1.5rem;
  font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--fg-2);
}
.eyebrow::before { content: ""; flex: none; width: 3px; height: 1.15em; background: var(--laranja); }

/* Limitado também pela altura da tela, para o hero caber na primeira dobra */
.display {
  font-size: clamp(2.5rem, min(3.9vw + .25rem, 8vh), 4.75rem);
  font-weight: 350; line-height: 1.02; letter-spacing: -.035em;
}
.h2 { font-size: clamp(2.1rem, 2.6vw + 1.1rem, 3.6rem); font-weight: 350; line-height: 1.06; letter-spacing: -.03em; }
.h3 { font-size: clamp(1.25rem, .5vw + 1.1rem, 1.5rem); font-weight: 600; line-height: 1.25; letter-spacing: -.01em; }
.lead { font-size: clamp(1.125rem, .6vw + 1rem, 1.375rem); line-height: 1.5; color: var(--fg); font-weight: 400; }
.muted { color: var(--fg-2); }
.tagline { color: var(--laranja); font-weight: 500; }
.theme-light .tagline, .theme-marfim .tagline { color: var(--tinta); }
.theme-light .tagline::after, .theme-marfim .tagline::after { content: ""; display: block; width: 48px; height: 3px; margin-top: .6rem; background: var(--laranja); }
.caption { font-size: .75rem; line-height: 1.4; color: var(--fg-2); letter-spacing: .01em; }

.section-head { display: grid; gap: 1.25rem 4rem; margin-bottom: clamp(40px, 5vw, 72px); }
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; }
}
.section-head .h2 { max-width: 18ch; }
.section-head p { max-width: 46ch; color: var(--fg-2); margin: 0; }

.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(1.5rem, 1vw + 1.2rem, 2rem); font-weight: 400; margin: 2.2em 0 .7em; }
.prose h3 { font-size: 1.2rem; font-weight: 700; margin: 1.8em 0 .5em; letter-spacing: 0; }
.prose ul { margin: 0 0 1.2em; padding-left: 1.2em; list-style: disc; }
.prose li { margin-bottom: .4em; }
.prose a { color: var(--fg); text-decoration-color: var(--laranja); text-decoration-thickness: 2px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .65em;
  min-height: 52px; padding: 0 1.5rem;
  font-size: .95rem; font-weight: 700; letter-spacing: .01em; line-height: 1.2;
  text-decoration: none; border-radius: var(--radius); border: 1.5px solid transparent;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .3s var(--ease); }
.btn:hover svg.icon-arrow { transform: translateX(4px); }
.btn--primary { background: var(--laranja); color: var(--grafite); }
.btn--primary:hover { background: var(--laranja-hover); }
.btn--ghost { border-color: color-mix(in srgb, var(--fg) 35%, transparent); color: var(--fg); background: transparent; }
.btn--ghost:hover { border-color: var(--fg); }
.btn--dark { background: var(--grafite); color: var(--branco); }
.btn--dark:hover { background: #2A2F33; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-weight: 700; font-size: .95rem; text-decoration: none; color: var(--fg);
}
.link-arrow svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow span { background: linear-gradient(var(--laranja), var(--laranja)) 0 100% / 0 2px no-repeat; transition: background-size .35s var(--ease); padding-bottom: 2px; }
.link-arrow:hover span { background-size: 100% 2px; }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  color: var(--branco);
  --fg: var(--branco); --fg-2: var(--cinza-dark); --focus: var(--laranja);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
/* O desfoque fica num pseudo-elemento: backdrop-filter no próprio cabeçalho
   prenderia o menu mobile (position: fixed) dentro da altura do cabeçalho. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: color-mix(in srgb, var(--grafite) 92%, transparent);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  transition: background-color .3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--linha-dark); }
.site-header.is-scrolled::before { background: color-mix(in srgb, var(--grafite) 97%, transparent); }
.menu-open .site-header::before { background: var(--grafite); }
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: block; flex: none; padding-block: 8px; }
.brand img { width: 184px; height: auto; }
@media (max-width: 899px) { .brand img { width: 180px; } }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 34px); }
.nav__link {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 0; font-size: .9rem; font-weight: 600; text-decoration: none; color: var(--cinza-dark);
  transition: color .2s var(--ease);
}
.nav__link:hover, .nav__link[aria-current="page"], .nav__item:focus-within > .nav__link { color: var(--branco); }
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px;
  background: var(--laranja); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link svg { width: 12px; height: 12px; }
.site-header__cta { flex: none; min-height: 44px; padding: 0 1.15rem; font-size: .875rem; }

/* Submenu de aplicações */
.nav__item { position: relative; }
.submenu {
  position: absolute; top: calc(100% + 14px); left: 50%; width: 560px;
  transform: translate(-50%, 8px); opacity: 0; visibility: hidden;
  background: var(--grafite-2); border: 1px solid var(--linha-dark); border-top: 3px solid var(--laranja);
  padding: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}
.submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
.nav__item--has-sub:hover .submenu, .nav__item--has-sub:focus-within .submenu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.submenu a { display: block; padding: 12px 14px; text-decoration: none; border-radius: var(--radius); transition: background-color .2s; }
.submenu a:hover { background: var(--grafite-3); }
.submenu strong { display: block; font-size: .9rem; font-weight: 700; color: var(--branco); }
.submenu span { display: block; font-size: .78rem; line-height: 1.4; color: var(--cinza-dark); margin-top: 2px; }
.submenu .submenu__all { grid-column: 1 / -1; border-top: 1px solid var(--linha-dark); margin-top: 6px; padding-top: 14px; }
.submenu .submenu__all strong { color: var(--laranja); }

.menu-toggle {
  display: none; margin-left: auto; width: 48px; height: 48px; border: 0; background: transparent; color: var(--branco);
  align-items: center; justify-content: center; margin-right: -10px;
}
.menu-toggle span { position: relative; display: block; width: 24px; height: 2px; background: currentColor; transition: background-color .2s; }
.menu-toggle span::before, .menu-toggle span::after {
  content: ""; position: absolute; left: 0; width: 24px; height: 2px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease);
}
.menu-toggle span::before { top: -7px; }
.menu-toggle span::after { top: 7px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { top: 0; transform: rotate(45deg); }
.menu-open .menu-toggle span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1099px) {
  .menu-toggle { display: inline-flex; }
  .site-header__cta { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0; margin: 0;
    background: var(--grafite); overflow-y: auto; overscroll-behavior: contain;
    padding: 24px var(--gutter) 40px;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  .menu-open .nav { opacity: 1; visibility: visible; transform: none; }
  .menu-open { overflow: hidden; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { border-bottom: 1px solid var(--linha-dark); }
  .nav__link { width: 100%; padding: 18px 0; font-size: 1.35rem; font-weight: 400; color: var(--branco); }
  .nav__link::after { display: none; }
  .nav__link svg { display: none; }
  .submenu {
    position: static; width: auto; transform: none; opacity: 1; visibility: visible;
    background: transparent; border: 0; box-shadow: none; padding: 0 0 16px; grid-template-columns: 1fr;
  }
  .submenu::before { display: none; }
  .nav__item--has-sub:hover .submenu, .nav__item--has-sub:focus-within .submenu { transform: none; }
  .submenu a { padding: 9px 0; }
  .submenu span { display: none; }
  .submenu strong { font-weight: 500; color: var(--cinza-dark); font-size: 1rem; }
  .submenu .submenu__all { border: 0; margin: 0; padding-top: 9px; }
  .nav__mobile-cta { display: grid !important; gap: 12px; margin-top: 32px; }
}
.nav__mobile-cta { display: none; }

/* ---------- Hero da página inicial (assinatura: o mesmo módulo, vários negócios) ---------- */
.hero { position: relative; padding-top: var(--header-h); overflow: hidden; }
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 1fr);
}
.hero__copy { padding: clamp(40px, 7vw, 72px) var(--gutter) 40px; display: flex; flex-direction: column; }
.hero .eyebrow { margin-bottom: clamp(1rem, 2.5vh, 1.5rem); }
.hero__title { margin-bottom: clamp(1rem, 2.5vh, 1.75rem); }
.hero__title .line { display: block; }
.hero__lead { max-width: 36ch; margin-bottom: clamp(1.5rem, 3.5vh, 2.25rem); color: var(--cinza-dark); }
.hero__tagline { margin-top: auto; padding-top: 40px; margin-bottom: 0; }
.hero__media { position: relative; aspect-ratio: 4 / 3; background: var(--grafite-2); overflow: hidden; }
.hero__frames { position: absolute; inset: 0; }
.hero__frame { position: absolute; inset: 0; opacity: 0; visibility: hidden; }
.hero__frame.is-active { opacity: 1; visibility: visible; z-index: 2; }
.hero__frame.is-leaving { opacity: 1; visibility: visible; z-index: 1; }
.hero__frame img { width: 100%; height: 100%; object-fit: cover; }
.hero__frame.is-entering { animation: wipe 1.05s var(--ease) both; }
.hero__frame.is-entering img { animation: settle 1.6s var(--ease) both; }
.hero__edge {
  position: absolute; top: 0; bottom: 0; left: 0; width: 4px; z-index: 3;
  background: var(--laranja); opacity: 0; pointer-events: none;
}
.hero__edge.is-running { animation: edge 1.05s var(--ease) both; }
@keyframes wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes settle { from { transform: scale(1.06); } to { transform: scale(1); } }
@keyframes edge { 0% { left: 0; opacity: 1; } 88% { opacity: 1; } 100% { left: calc(100% - 4px); opacity: 0; } }

.hero__meta {
  position: absolute; z-index: 4; left: 0; right: 0; bottom: 0;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
  padding: 64px 24px 20px;
  background: linear-gradient(to top, rgba(18, 20, 22, .78), rgba(18, 20, 22, 0));
  color: var(--branco);
}
.hero__meta .caption { color: rgba(255, 255, 255, .78); }
.hero__meta-app { display: flex; flex-direction: column; gap: 2px; }
.hero__meta-app .kicker { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: rgba(255, 255, 255, .72); }
.hero__meta-app a { font-size: 1.15rem; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: .5em; }
.hero__meta-app a svg { width: 18px; height: 18px; color: var(--laranja); transition: transform .3s var(--ease); }
.hero__meta-app a:hover svg { transform: translateX(4px); }

.hero__switch { border-top: 1px solid var(--linha-dark); }
.hero__switch-inner { display: flex; align-items: stretch; gap: 0; }
.hero__switch-label {
  flex: none; display: none; align-items: center; padding-right: 28px; margin-right: 8px;
  font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--cinza-dark);
  border-right: 1px solid var(--linha-dark);
}
.tabs { display: flex; flex: 1; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  position: relative; flex: 1 0 auto; scroll-snap-align: start;
  padding: 20px 18px 22px; border: 0; background: transparent;
  font-size: .875rem; font-weight: 600; color: var(--cinza-dark); white-space: nowrap; text-align: left;
  transition: color .2s var(--ease);
}
.tab:hover, .tab[aria-selected="true"] { color: var(--branco); }
.tab__bar { position: absolute; left: 18px; right: 18px; top: -1px; height: 2px; background: transparent; overflow: hidden; }
.tab__bar::after { content: ""; position: absolute; inset: 0; background: var(--laranja); transform: scaleX(0); transform-origin: left; }
.tab[aria-selected="true"] .tab__bar::after { transform: scaleX(1); }
.is-autoplay .tab[aria-selected="true"] .tab__bar::after { animation: progress var(--slide-ms, 6000ms) linear both; }
.is-paused .tab[aria-selected="true"] .tab__bar::after { animation-play-state: paused; }
@keyframes progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (min-width: 1000px) {
  /* O hero inteiro (cabeçalho, texto, imagem e abas) ocupa a altura visível */
  .hero { min-height: clamp(560px, 100svh, 940px); display: flex; flex-direction: column; }
  .hero__grid {
    flex: 1;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    padding-left: max(0px, calc((100% - var(--container) - var(--gutter) * 2) / 2));
  }
  .hero__copy { padding: clamp(28px, 5vh, 72px) clamp(32px, 4vw, 64px) clamp(28px, 5vh, 56px) var(--gutter); justify-content: center; }
  .hero__tagline { margin-top: clamp(24px, 5vh, 56px); padding-top: 0; }
  .hero__media { aspect-ratio: auto; min-height: 0; }
  .hero__switch-label { display: flex; }
  .tab { padding: 16px 16px 18px; }
  .tab__bar { left: 16px; right: 16px; }
}
@media (min-width: 1000px) and (max-height: 720px) {
  .hero__tagline { display: none; }
}

/* Animação de entrada */
.reveal-load { animation: rise .9s var(--ease) both; }
.reveal-load.d1 { animation-delay: .08s; }
.reveal-load.d2 { animation-delay: .16s; }
.reveal-load.d3 { animation-delay: .24s; }
.reveal-load.d4 { animation-delay: .34s; }
.reveal-load.d5 { animation-delay: .44s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Revelação ao rolar (ativada por JS) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-d1 { transition-delay: .08s; }
.js .reveal-d2 { transition-delay: .16s; }
.js .reveal-d3 { transition-delay: .24s; }

/* ---------- Hero das páginas internas ---------- */
.page-hero { padding-top: var(--header-h); }
.page-hero__grid { display: grid; gap: 40px; padding-block: clamp(40px, 6vw, 88px) clamp(48px, 7vw, 104px); align-items: center; }
.page-hero__title { font-size: clamp(2.4rem, 3.6vw + 1rem, 4.6rem); font-weight: 350; line-height: 1.04; letter-spacing: -.033em; margin-bottom: 1.5rem; }
.page-hero__lead { color: var(--cinza-dark); max-width: 40ch; margin-bottom: 2rem; }
.page-hero__media { position: relative; }
.page-hero__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.page-hero__media .caption { margin-top: 12px; }
.page-hero__media::before { content: ""; position: absolute; left: -1px; top: 12%; bottom: 12%; width: 4px; background: var(--laranja); z-index: 1; }
.page-hero--simple .page-hero__grid { padding-bottom: clamp(48px, 6vw, 88px); }
.page-hero--simple .page-hero__title { max-width: 16ch; }
@media (min-width: 1000px) {
  .page-hero__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; }
  .page-hero--simple .page-hero__grid { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); align-items: end; }
}

.breadcrumb { margin-bottom: 28px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: .8rem; color: var(--cinza-dark); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--linha-dark); }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--branco); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--branco); }

/* ---------- Blocos editoriais ---------- */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 6vw, 96px); }
  .split--reverse > :first-child { order: 2; }
  .split--even { grid-template-columns: 1fr 1fr; }
}
.split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split__media .caption { margin-top: 12px; }
.split__media--tall img { aspect-ratio: 4 / 5; }
.statement { font-size: clamp(1.4rem, 1.2vw + 1rem, 2rem); line-height: 1.3; font-weight: 400; letter-spacing: -.015em; margin: 1.5rem 0; max-width: 24ch; }

/* ---------- Cards de aplicações ---------- */
.apps-grid { display: grid; gap: clamp(28px, 3vw, 40px) clamp(20px, 2vw, 28px); grid-template-columns: 1fr; }
@media (min-width: 640px) { .apps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .apps-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .apps-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.app-card { display: flex; flex-direction: column; text-decoration: none; color: var(--fg); }
.app-card__media { position: relative; overflow: hidden; background: var(--grafite-2); }
.app-card__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1s var(--ease); }
.app-card__media::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 100%;
  background: var(--laranja); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.app-card:hover .app-card__media img { transform: scale(1.045); }
.app-card:hover .app-card__media::after, .app-card:focus-visible .app-card__media::after { transform: scaleX(1); }
.app-card__body { padding-top: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.app-card__title { font-size: 1.25rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.25; }
.app-card__text { font-size: .95rem; color: var(--fg-2); line-height: 1.55; margin: 0; }
.app-card__more { margin-top: auto; padding-top: 8px; font-size: .85rem; font-weight: 700; display: inline-flex; align-items: center; gap: .5em; }
.app-card__more svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.app-card:hover .app-card__more svg { transform: translateX(4px); }
@media (max-width: 639px) {
  .apps-grid { gap: 0; border-top: 1px solid var(--rule); }
  .app-card { display: grid; grid-template-columns: 38% minmax(0, 1fr); gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--rule); }
  .app-card__media img { aspect-ratio: 1 / 1; }
  .app-card__body { padding-top: 0; gap: 4px; }
  .app-card__title { font-size: 1.05rem; }
  .app-card__text { font-size: .85rem; line-height: 1.45; }
  .app-card__more { padding-top: 4px; font-size: .8rem; }
}

/* ---------- Módulo (imagem ampla sobre marfim) ---------- */
.module__stage img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
@media (max-width: 639px) { .module__stage img { aspect-ratio: 4 / 3; } }
.module__caption { margin-top: 12px; }
.spec-list { display: grid; gap: 28px; margin-top: clamp(40px, 5vw, 64px); }
@media (min-width: 760px) { .spec-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; } }
.spec { border-top: 1px solid var(--rule); padding-top: 20px; }
.spec h3 { font-size: 1.05rem; font-weight: 700; letter-spacing: 0; margin-bottom: .5rem; }
.spec p { color: var(--fg-2); font-size: .98rem; margin: 0; }

/* ---------- Detalhes (dark) ---------- */
.details__list { display: grid; gap: 28px; margin-top: 40px; }
.details__item { display: grid; gap: 6px; padding-left: 22px; border-left: 1px solid var(--linha-dark); position: relative; }
.details__item::before { content: ""; position: absolute; left: -1px; top: 4px; width: 3px; height: 26px; background: var(--laranja); }
.details__item h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -.01em; }
.details__item p { color: var(--cinza-dark); margin: 0; }

/* ---------- Públicos ---------- */
.audiences { display: grid; gap: 40px; }
.audience { border-top: 1px solid var(--rule); padding-top: 24px; display: flex; flex-direction: column; }
/* Rótulo, título, texto e tags compartilham linhas entre as colunas (subgrid),
   para as tags começarem na mesma altura nos três cards */
@media (min-width: 900px) {
  .audiences { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(4, auto); column-gap: clamp(28px, 3vw, 48px); row-gap: 0; }
  .audience { display: grid; grid-row: span 4; grid-template-rows: subgrid; align-content: start; }
}
.audience__label { font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-2); margin-bottom: 18px; }
.audience h3 { font-size: clamp(1.4rem, 1vw + 1rem, 1.75rem); font-weight: 400; letter-spacing: -.02em; line-height: 1.2; margin-bottom: 14px; }
.audience p { color: var(--fg-2); }
.chips { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 8px; padding-top: 8px; }
.chip {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px;
  border: 1px solid var(--rule); border-radius: 999px; font-size: .82rem; font-weight: 600; text-decoration: none;
  transition: border-color .2s, background-color .2s;
}
.chip:hover { border-color: var(--fg); }

/* ---------- Escopo ---------- */
.scope { display: grid; gap: 48px; }
@media (min-width: 1000px) { .scope { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 6vw, 112px); } }
.scope__note { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; font-weight: 700; font-size: .95rem; }
.scope__note::before { content: ""; width: 24px; height: 3px; background: var(--laranja); }
.scope__grid { display: grid; gap: 0; border-top: 1px solid var(--rule); }
@media (min-width: 640px) { .scope__grid { grid-template-columns: 1fr 1fr; } }
.scope__item { padding: 28px 0; border-bottom: 1px solid var(--rule); }
@media (min-width: 640px) {
  .scope__item { padding: 32px 32px 32px 0; }
  .scope__item:nth-child(even) { padding: 32px 0 32px 32px; border-left: 1px solid var(--rule); }
}
.scope__item h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; margin-bottom: 8px; }
.scope__item p { color: var(--fg-2); margin: 0; }

/* ---------- Etapas (sequência real) ---------- */
.steps { display: grid; gap: 0; counter-reset: step; }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.step { position: relative; padding: 0 0 36px 44px; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 0; font-size: .8rem; font-weight: 800; letter-spacing: .06em; color: var(--fg);
}
.step::after { content: ""; position: absolute; left: 8px; top: 30px; bottom: 6px; width: 1px; background: var(--rule); }
.step:last-child::after { display: none; }
.step h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; margin-bottom: 8px; line-height: 1.3; }
.step p { color: var(--fg-2); font-size: .97rem; margin: 0; }
@media (min-width: 1000px) {
  .step { padding: 56px 28px 0 0; }
  .step::before { top: 0; }
  .step::after { left: 0; right: 0; top: 34px; bottom: auto; width: auto; height: 1px; }
  .step:last-child::after { display: block; right: 28px; }
  .step .step__dot { position: absolute; left: 0; top: 30px; width: 9px; height: 9px; background: var(--laranja); z-index: 1; }
}
.step__dot { display: none; }
@media (min-width: 1000px) { .step__dot { display: block; } }

/* Etapas detalhadas (Como funciona) */
.etapas { border-top: 1px solid var(--rule); }
.etapa { display: grid; gap: 14px 48px; padding: clamp(28px, 3vw, 40px) 0; border-bottom: 1px solid var(--rule); }
@media (min-width: 900px) { .etapa { grid-template-columns: 120px minmax(0, 1fr) minmax(0, 300px); align-items: start; } }
.etapa__num { margin: 0; font-size: clamp(2rem, 2vw + 1rem, 2.75rem); font-weight: 300; line-height: 1; letter-spacing: -.03em; color: var(--fg); }
.etapa__num::after { content: ""; display: block; width: 24px; height: 3px; margin-top: 14px; background: var(--laranja); }
.etapa h3 { margin-bottom: 10px; }
.etapa p.muted { max-width: 56ch; }
.etapa__itens { display: grid; gap: 8px; font-size: .95rem; color: var(--fg-2); }
.etapa__itens li { padding-left: 18px; position: relative; }
.etapa__itens li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 1px; background: var(--fg-2); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 48px; }
@media (min-width: 1000px) { .faq { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(48px, 6vw, 112px); } }
.faq__list { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0; font-size: clamp(1.05rem, .4vw + .95rem, 1.2rem); font-weight: 600; line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { position: relative; flex: none; width: 18px; height: 18px; }
.faq summary .plus::before, .faq summary .plus::after {
  content: ""; position: absolute; left: 0; top: 8px; width: 18px; height: 2px; background: var(--laranja); transition: transform .3s var(--ease);
}
.faq summary .plus::after { transform: rotate(90deg); }
.faq details[open] summary .plus::after { transform: rotate(0); }
.faq__answer { padding: 0 48px 28px 0; color: var(--fg-2); max-width: 68ch; }

/* ---------- Contato / formulário ---------- */
.contact { display: grid; gap: 56px; }
@media (min-width: 1000px) { .contact { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 6vw, 112px); } }
.contact__channels { display: grid; gap: 4px; margin-top: 40px; border-top: 1px solid var(--rule); }
.channel { display: flex; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.channel svg { width: 22px; height: 22px; flex: none; color: var(--laranja); }
.channel small { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--fg-2); }
.channel span { font-size: 1.05rem; font-weight: 600; }
a.channel:hover span { text-decoration: underline; text-decoration-color: var(--laranja); text-decoration-thickness: 2px; }

.form { background: var(--grafite-2); border: 1px solid var(--linha-dark); padding: clamp(24px, 4vw, 48px); display: grid; gap: 20px; }
.theme-light .form, .theme-marfim .form { background: var(--branco); border-color: var(--linha); }
.form__row { display: grid; gap: 20px; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; align-content: start; }
.field label { font-size: .85rem; font-weight: 700; }
.field label .opt { font-weight: 400; color: var(--fg-2); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px;
  background: transparent; border: 1px solid color-mix(in srgb, var(--fg) 28%, transparent); border-radius: var(--radius);
  font-size: 1rem; transition: border-color .2s, box-shadow .2s;
}
.field select { appearance: none; -webkit-appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23F56613' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.field select option { color: var(--tinta); background: var(--branco); }
.field textarea { min-height: 112px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: color-mix(in srgb, var(--fg) 45%, transparent); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--laranja); box-shadow: 0 0 0 1px var(--laranja); }
.field.has-error input, .field.has-error select { border-color: #FF8A80; }
.theme-light .field.has-error input, .theme-light .field.has-error select, .theme-marfim .field.has-error input { border-color: #B3261E; }
.field__error { font-size: .8rem; color: #FFB4AB; min-height: 0; }
.theme-light .field__error, .theme-marfim .field__error { color: #B3261E; }
.form__note { font-size: .8rem; color: var(--fg-2); margin: 0; }
.form__note a { color: var(--fg); }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.form__actions .btn { flex: 1 1 260px; }
.form__alt { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 700; color: var(--fg); background: none; border: 0; padding: 8px 0; text-decoration: underline; text-decoration-color: var(--laranja); text-underline-offset: .25em; }
.form__alt svg { width: 18px; height: 18px; flex: none; color: var(--laranja); }
.form__fields { display: grid; gap: 20px; }
.form__fields[hidden], .form__success[hidden] { display: none; }
.form [aria-busy="true"] { opacity: .75; cursor: progress; }
.form__status { font-size: .9rem; margin: 0; }
.form__status:empty { display: none; }
.form__status.is-error { padding: 12px 14px; border-left: 3px solid #FF8A80; background: rgba(255, 138, 128, .08); }
.theme-light .form__status.is-error, .theme-marfim .form__status.is-error { border-left-color: #B3261E; background: rgba(179, 38, 30, .06); }
.form__status a { color: var(--fg); font-weight: 700; text-decoration-color: var(--laranja); }
.contact > .form { align-self: start; align-content: start; }
.form__success { display: grid; gap: 16px; align-content: start; justify-items: start; padding: clamp(8px, 2vw, 24px) 0; outline: none; }
.form__success-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--laranja); color: var(--grafite); }
.form__success-icon svg { width: 26px; height: 26px; }
.form__success-title { font-size: clamp(1.6rem, 1.5vw + 1rem, 2.1rem); font-weight: 400; letter-spacing: -.02em; }
.form__success p { color: var(--fg-2); max-width: 44ch; margin: 0; }
.form__success .btn-row { align-items: center; margin-top: 8px; }
/* Campo anti-spam: invisível para pessoas, preenchido só por robôs */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Galeria / portfólio ---------- */
.gallery { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; } }
.gallery__item { display: flex; flex-direction: column; gap: 12px; }
.gallery__open { position: relative; display: block; padding: 0; border: 0; background: var(--grafite-2); overflow: hidden; cursor: zoom-in; }
.gallery__open img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 1s var(--ease); }
.gallery__open:hover img { transform: scale(1.04); }
.gallery__open::after { content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; background: var(--laranja); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.gallery__open:hover::after, .gallery__open:focus-visible::after { transform: scaleX(1); }
.gallery__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.gallery__meta h2 { font-size: 1.1rem; font-weight: 600; letter-spacing: -.01em; }
.gallery__meta a { font-size: .85rem; font-weight: 700; white-space: nowrap; }

.lightbox { position: fixed; inset: 0; z-index: 300; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(12, 14, 15, .96); color: var(--branco); --fg: var(--branco); --fg-2: var(--cinza-dark); --focus: var(--laranja); }
.lightbox::backdrop { background: rgba(12, 14, 15, .96); }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; }
.lightbox__top { display: flex; justify-content: space-between; align-items: center; padding: 16px var(--gutter); }
.lightbox__count { font-size: .85rem; font-weight: 700; letter-spacing: .1em; color: var(--cinza-dark); }
.lightbox__stage { position: relative; display: grid; place-items: center; padding: 0 clamp(8px, 7vw, 96px); min-height: 0; }
.lightbox__stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.lightbox__bottom { padding: 16px var(--gutter) 24px; text-align: center; }
.lightbox__bottom h2 { font-size: 1.1rem; font-weight: 600; margin-bottom: 4px; }
.icon-btn {
  display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--linha-dark); background: rgba(25, 28, 30, .7); color: var(--branco);
  transition: border-color .2s, background-color .2s;
}
.icon-btn:hover { border-color: var(--laranja); }
.icon-btn svg { width: 20px; height: 20px; }
.lightbox__prev, .lightbox__next { position: absolute; top: 50%; transform: translateY(-50%); z-index: 1; }
.lightbox__prev { left: clamp(8px, 2vw, 28px); }
.lightbox__next { right: clamp(8px, 2vw, 28px); }

/* ---------- Faixa de chamada ---------- */
.cta-band { position: relative; overflow: hidden; }
.cta-band__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .cta-band__grid { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); } }
.cta-band__symbol { justify-self: end; width: min(260px, 60%); opacity: .95; }
@media (max-width: 899px) { .cta-band__symbol { display: none; } }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--grafite-4); color: var(--branco); --fg: var(--branco); --fg-2: var(--cinza-dark); --rule: var(--linha-dark); --focus: var(--laranja); padding: clamp(64px, 8vw, 104px) 0 32px; }
.footer__grid { display: grid; gap: 48px; }
@media (min-width: 900px) { .footer__grid { grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2.4fr)); gap: 40px; } }
.footer__brand img { width: 200px; margin-bottom: 24px; }
.footer__brand p { color: var(--cinza-dark); font-size: .95rem; max-width: 34ch; }
.footer__brand .tagline { color: var(--laranja); }
.footer__title { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--cinza-dark); margin-bottom: 18px; }
.footer__links { display: grid; gap: 10px; }
.footer__links a { text-decoration: none; font-size: .95rem; color: #E6E8E8; }
.footer__links a:hover { color: var(--branco); text-decoration: underline; text-decoration-color: var(--laranja); }
.footer-agency a { color: #E6E8E8; text-decoration: none; font-weight: 700; }
.footer-agency a:hover { color: var(--branco); text-decoration: underline; text-decoration-color: var(--laranja); }
.footer__bottom { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--linha-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; font-size: .8rem; color: var(--cinza-dark); }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: clamp(16px, 2.5vw, 28px); bottom: clamp(16px, 2.5vw, 28px); z-index: 90;
  display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 20px 0 16px;
  background: var(--laranja); color: var(--grafite); border-radius: 999px; text-decoration: none; font-weight: 800; font-size: .9rem;
  box-shadow: 0 14px 36px rgba(0, 0, 0, .28);
  transition: transform .3s var(--ease), background-color .2s, opacity .3s var(--ease);
}
.wa-float:hover { background: var(--laranja-hover); transform: translateY(-2px); }
.wa-float svg { width: 26px; height: 26px; }
.wa-float.is-hidden { opacity: 0; pointer-events: none; transform: translateY(12px); }
@media (max-width: 639px) { .wa-float { padding: 0; width: 56px; justify-content: center; } .wa-float span { display: none; } }

/* ---------- Utilitários ---------- */
.mt-0 { margin-top: 0; }
.stack-sm > * + * { margin-top: .75rem; }
.stack > * + * { margin-top: 1.25rem; }
.hr { border: 0; border-top: 1px solid var(--rule); margin: 0; }
.center { text-align: center; }
.max-40 { max-width: 40ch; }
.max-56 { max-width: 56ch; }

/* 404 */
.notfound { min-height: 72vh; display: grid; align-items: center; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .wa-float, .hero__switch, .form { display: none !important; }
  .hero, .page-hero { padding-top: 0; }
}
