/* ==========================================================
   EXACTA CONTABILIDADE — folha de estilos
   Identidade extraída do logo e das artes do Instagram:
   preto absoluto, âmbar da seta, branco, Montserrat.
   ========================================================== */

/* Fonte hospedada no próprio site (sem requisições ao Google — mais privacidade e segurança) */
@font-face {
  font-family: "Montserrat"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/montserrat-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Montserrat"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/montserrat-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/montserrat-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Montserrat"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/montserrat-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Montserrat"; font-style: normal; font-weight: 800; font-display: swap;
  src: url("../fonts/montserrat-latin-800-normal.woff2") format("woff2");
}

:root {
  /* Cores da marca */
  --black: #000000;
  --surface: #121212;        /* cards sobre fundo preto */
  --surface-2: #1c1c1c;
  --line-dark: rgba(255, 255, 255, 0.12);
  --amber: #ffb64e;          /* bloco âmbar das artes */
  --arrow: #ffbd59;          /* cor exata da seta do logo */
  --amber-deep: #e8912a;     /* fundo do degradê / hover */
  --white: #ffffff;
  --mist: #f4f4f4;           /* seções claras alternadas */
  --line: #e4e4e4;
  --text: #111111;
  --muted: #5d5d5d;
  --muted-dark: #b3b3b3;

  --font: "Montserrat", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;
  --wrap: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --header-h: 76px;

  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -0.02em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sprite { display: none; }
.wrap-front { position: relative; }
.section.section-tight { padding-top: clamp(4rem, 8vw, 6rem); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute; left: 1rem; top: -100px;
  background: var(--amber); color: var(--black);
  padding: .75rem 1rem; border-radius: var(--radius-sm);
  font-weight: 700; z-index: 200;
}
.skip-link:focus { top: 1rem; }

:focus-visible {
  outline: 3px solid var(--arrow);
  outline-offset: 3px;
  border-radius: 6px;
}

.hl { color: var(--amber); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  font-family: inherit; font-weight: 700; font-size: .98rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--amber); color: var(--black); }
.btn-primary:hover { background: var(--arrow); box-shadow: 0 10px 28px -10px rgba(255, 182, 78, .7); }

.btn-ghost { border-color: rgba(255,255,255,.35); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); }

.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: #262626; }

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

/* ---------- Cabeçalho ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0;
  z-index: 100;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background-color .3s ease, box-shadow .3s ease;
}
.site-header.is-solid {
  background: rgba(0, 0, 0, .92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line-dark);
}
.header-inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}

.brand {
  display: inline-flex; align-items: center; gap: .7rem;
  text-decoration: none; color: var(--white);
}
.brand-symbol { width: 44px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-weight: 600; font-size: 1.15rem; letter-spacing: .32em; }
.brand-sub  { font-weight: 500; font-size: .56rem; letter-spacing: .38em; margin-top: .4rem; opacity: .85; }

.main-nav ul { display: flex; align-items: center; gap: .35rem; }
.main-nav a {
  display: block; padding: .5rem .95rem; white-space: nowrap;
  color: rgba(255,255,255,.82);
  text-decoration: none; font-size: .88rem; font-weight: 500;
  border-radius: 8px;
  transition: color .2s ease;
  position: relative;
}
.main-nav a::after {
  content: ""; position: absolute; left: .95rem; right: .95rem; bottom: .2rem;
  height: 2px; background: var(--amber);
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.main-nav a:hover, .main-nav a.is-active { color: var(--white); }
.main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); }

.header-cta { min-height: 44px; padding: .6rem 1.2rem; font-size: .9rem; white-space: nowrap; flex-shrink: 0; }

.menu-toggle {
  display: none;
  width: 48px; height: 48px;
  border: 0; border-radius: 12px;
  background: transparent; color: var(--white);
  cursor: pointer;
  align-items: center; justify-content: center;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 24px; height: 2px; background: currentColor;
  border-radius: 2px; position: relative; transition: transform .25s ease, background-color .2s;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.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 { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle span::after  { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Padrão de triângulos das artes ---------- */
.pattern {
  position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='104' viewBox='0 0 120 104'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.06' stroke-width='1.5'%3E%3Cpath d='M0 52 30 0 60 52M60 52 90 0 120 52M30 104 60 52 90 104'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 120px 104px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
          mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  background: var(--black);
  color: var(--white);
  overflow: hidden;
  padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  isolation: isolate;
}
.hero .pattern {
  -webkit-mask-image: radial-gradient(ellipse at 20% 30%, #000 0%, transparent 70%);
          mask-image: radial-gradient(ellipse at 20% 30%, #000 0%, transparent 70%);
}
.hero::after { /* brilho âmbar da base, igual ao rodapé das artes */
  content: ""; position: absolute; inset: auto 0 0 0; height: 38%;
  background: linear-gradient(180deg, rgba(232,145,42,0) 0%, rgba(232,145,42,.28) 70%, rgba(255,182,78,.55) 100%);
  z-index: -1; pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  min-height: min(760px, calc(100svh - var(--header-h)));
  gap: 2rem;
}
.hero-copy { padding-block: clamp(3rem, 8vh, 6rem) clamp(3.5rem, 10vh, 7rem); align-self: center; }

.hero-kicker {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .9rem; font-weight: 600; color: var(--amber);
  margin-bottom: 1.4rem;
}
.hero-kicker svg { width: 26px; height: auto; }

.hero h1 .hl { display: block; }
.hero h1 {
  font-size: clamp(2.5rem, 5.6vw, 4.6rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
  max-width: 13ch;
}
.hero-lead {
  margin-top: 1.6rem;
  max-width: 40rem;
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  color: rgba(255,255,255,.8);
  max-width: 34rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.2rem; }

.hero-points {
  display: flex; flex-wrap: wrap; gap: .5rem 1.4rem;
  margin-top: 2.6rem;
  font-size: .88rem; color: rgba(255,255,255,.75);
}
.hero-points li { display: inline-flex; align-items: center; gap: .5rem; }
.hero-points svg { width: 16px; height: 16px; color: var(--amber); }

.hero-visual {
  position: relative;
  align-self: stretch;
  display: flex; align-items: flex-end; justify-content: center;
  min-height: 460px;
}
.hero-block { /* o bloco âmbar alto com canto arredondado das artes */
  position: absolute;
  right: calc(-1 * var(--gutter) - 40vw);
  left: 16%;
  top: 12%; bottom: 0;
  background: linear-gradient(180deg, var(--arrow) 0%, var(--amber) 55%, var(--amber-deep) 100%);
  border-top-left-radius: 56px;
}
.hero-emblem { /* o símbolo sobre fundo preto, como no logo oficial */
  position: relative; z-index: 1;
  width: min(68%, 330px); aspect-ratio: 1;
  margin: 0;
  background: var(--black);
  border-radius: 40px 40px 40px 0;
  display: grid; place-items: center;
  overflow: hidden; isolation: isolate;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.6);
}
.hero-emblem .pattern { z-index: -1; -webkit-mask-image: linear-gradient(160deg, #000, transparent 75%); mask-image: linear-gradient(160deg, #000, transparent 75%); }
.hero-emblem svg { width: 58%; height: auto; }
.hero-tags {
  position: relative; z-index: 2;
  margin-top: 1.4rem;
  display: grid; gap: .6rem; justify-items: end;
}
.hero-visual { flex-direction: column; justify-content: center; align-items: flex-end; padding: 18% 4% 10% 0; }
.hero-tags li {
  display: inline-flex; align-items: center; gap: .55rem;
  background: var(--white); color: var(--black);
  font-size: .9rem; font-weight: 700;
  padding: .65rem 1.05rem; border-radius: 999px;
  box-shadow: 0 12px 30px -12px rgba(0,0,0,.45);
}
.hero-tags svg { width: 16px; height: 16px; color: var(--amber-deep); }

/* orquestração de entrada do hero */
@media (prefers-reduced-motion: no-preference) {
  .js .hero-block  { animation: rise 1s cubic-bezier(.2,.8,.2,1) both .1s; }
  .js .hero-emblem { animation: rise 1s cubic-bezier(.2,.8,.2,1) both .3s; }
  .js .hero-emblem svg { animation: arrowIn 1s cubic-bezier(.2,.8,.2,1) both .75s; }
  .js .hero-tags li { animation: fadeUp .7s ease both; }
  .js .hero-tags li:nth-child(1) { animation-delay: .9s; }
  .js .hero-tags li:nth-child(2) { animation-delay: 1s; }
  .js .hero-tags li:nth-child(3) { animation-delay: 1.1s; }
  .js .hero-copy > * { animation: fadeUp .8s ease both; }
  .js .hero-copy > *:nth-child(2) { animation-delay: .1s; }
  .js .hero-copy > *:nth-child(3) { animation-delay: .2s; }
  .js .hero-copy > *:nth-child(4) { animation-delay: .3s; }
  .js .hero-copy > *:nth-child(5) { animation-delay: .4s; }
}
@keyframes rise { from { transform: translateY(60px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes arrowIn { from { transform: translate(-30px, 30px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fadeUp { from { transform: translateY(18px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Seções ---------- */
.section { position: relative; padding-block: clamp(4.5rem, 10vw, 8rem); }
.section-dark { background: var(--black); color: var(--white); overflow: hidden; }
.section-mist { background: var(--mist); }

.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-tag {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .92rem; font-weight: 700; color: var(--amber-deep);
  margin-bottom: 1rem;
}
.section-dark .section-tag { color: var(--amber); }
.section-tag::before {
  content: ""; width: 22px; height: 3px; border-radius: 3px; background: currentColor;
}
.section-title {
  font-size: clamp(2rem, 4.2vw, 3.3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.section-intro { margin-top: 1.2rem; font-size: 1.08rem; color: var(--muted); max-width: 40rem; }
.section-head.center .section-intro { margin-inline: auto; }
.section-dark .section-intro { color: var(--muted-dark); }

/* ---------- Sobre ---------- */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.about-title { font-size: clamp(2rem, 4.2vw, 3.3rem); font-weight: 800; letter-spacing: -0.03em; }
.about-text p { font-size: 1.1rem; color: #2b2b2b; }
.about-text p + p { margin-top: 1.1rem; color: var(--muted); font-size: 1.02rem; }

.reach {
  margin-top: 2.2rem;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 2px solid var(--black);
}
.reach li { padding: 1.1rem 1rem 0 0; }
.reach strong { display: block; font-size: 1.02rem; font-weight: 800; }
.reach span { font-size: .88rem; color: var(--muted); }

/* ---------- Segmentos ---------- */
.segments { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.segment {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  min-height: 460px;
  padding: clamp(1.75rem, 3vw, 2.6rem);
  display: flex; flex-direction: column;
  isolation: isolate;
}
.segment-a { background: var(--amber); color: var(--black); }
.segment-b { background: var(--black); color: var(--white); }
.segment .unit-tag {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .8rem; font-weight: 700;
  padding: .45rem .85rem; border-radius: 999px;
}
.segment-a .unit-tag { background: var(--black); color: var(--amber); }
.segment-b .unit-tag { background: var(--amber); color: var(--black); }
.unit-tag svg { width: 14px; height: 14px; }
.segment h3 {
  margin-top: 1.4rem;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 800;
  max-width: 12ch;
}
.segment p { margin-top: .9rem; max-width: 22rem; font-size: 1rem; }
.segment h3 { max-width: 14ch; }
.segment-a p { color: #2a1d06; }
.segment-b p { color: var(--muted-dark); }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.4rem; max-width: 20rem; }
.chips li {
  font-size: .82rem; font-weight: 600;
  padding: .38rem .8rem; border-radius: 999px;
  border: 1.5px solid currentColor;
}
.segment-a .chips li { border-color: rgba(0,0,0,.55); }
.segment-b .chips li { border-color: rgba(255,255,255,.35); }
.segment .segment-cta { margin-top: auto; padding-top: 2rem; position: relative; z-index: 2; }
.segment-link {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 700; text-decoration: none; font-size: .95rem;
  border-bottom: 2px solid currentColor; padding-bottom: 2px;
}
.segment-link svg { width: 18px; height: 18px; transition: transform .2s ease; }
.segment-link:hover svg { transform: translate(3px, -3px); }

.segment-mark {
  position: absolute; z-index: -1; pointer-events: none;
  right: -6%; bottom: -10%; width: 58%; height: auto;
  opacity: .16;
}
.segment-a .segment-mark { filter: brightness(0); opacity: .1; }
.segment-b .pattern { -webkit-mask-image: linear-gradient(200deg, #000, transparent 60%); mask-image: linear-gradient(200deg, #000, transparent 60%); z-index: -2; }

/* ---------- Serviços ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.service {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-md);
  padding: 1.8rem 1.6rem 1.7rem;
  transition: border-color .25s ease, background-color .25s ease;
}
.service:hover { border-color: rgba(255,182,78,.55); background: var(--surface-2); }
.service-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center;
  background: rgba(255,182,78,.12); color: var(--amber);
  margin-bottom: 1.3rem;
  transition: background-color .25s ease, color .25s ease;
}
.service:hover .service-icon { background: var(--amber); color: var(--black); }
.service-icon svg { width: 26px; height: 26px; }
.service h3 { font-size: 1.18rem; font-weight: 700; letter-spacing: -0.01em; }
.service p { margin-top: .6rem; color: var(--muted-dark); font-size: .95rem; }
.service { display: flex; flex-direction: column; }
.service .partner-note { display: inline-block; align-self: flex-start; margin-top: auto; padding-top: .9rem; font-size: .78rem; font-weight: 600; color: var(--amber); }
.service-wide {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: auto 1fr auto; gap: 1.2rem 1.6rem; align-items: center;
}
.service-wide .service-icon { margin-bottom: 0; }
.service-wide p { max-width: 44rem; }
.service-link {
  position: absolute; inset: 0; border-radius: inherit;
}

.app-strip {
  margin-top: 1rem;
  display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem; align-items: center;
  background: linear-gradient(100deg, var(--amber) 0%, var(--arrow) 100%);
  color: var(--black);
  border-radius: var(--radius-md);
  padding: 1.6rem 1.8rem;
}
.app-strip .service-icon { background: var(--black); color: var(--amber); margin: 0; }
.app-strip h3 { font-size: 1.18rem; font-weight: 800; }
.app-strip p { font-size: .95rem; margin-top: .25rem; color: #2a1d06; }
.store-list { display: flex; gap: .6rem; flex-wrap: wrap; }
.store-list li {
  display: inline-flex; align-items: center; gap: .45rem;
  background: var(--black); color: var(--white);
  padding: .55rem .95rem; border-radius: 999px; font-size: .82rem; font-weight: 600;
}
.store-list svg { width: 16px; height: 16px; }

.app-strip .btn { white-space: nowrap; }

/* Parceiros — ecossistema com a Exacta ao centro */
.partners {
  margin-top: clamp(3.5rem, 7vw, 5.5rem);
  padding: clamp(2rem, 4vw, 3.5rem);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line-dark);
}
.partners-head { max-width: 40rem; margin: 0 auto; text-align: center; }
.partners-head .section-tag { justify-content: center; }
.partners-head h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 800; }
.partners-head p:last-child { margin-top: .9rem; color: var(--muted-dark); }

.eco {
  position: relative;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  display: grid;
  grid-template-columns: 1fr 200px 1fr;
  grid-template-rows: auto auto;
  column-gap: 3.5rem; row-gap: 1.25rem;
  align-items: center;
}
.eco-list { display: contents; }
.eco-hub {
  grid-column: 2; grid-row: 1 / span 2;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--black);
  border: 2px solid var(--amber);
  box-shadow: 0 0 0 10px rgba(255,182,78,.08), 0 0 0 22px rgba(255,182,78,.04);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; z-index: 1;
}
.eco-hub svg { width: 64px; height: auto; margin-bottom: .6rem; }
.eco-hub strong { font-size: 1.05rem; font-weight: 700; letter-spacing: .28em; margin-right: -.28em; }
.eco-hub span { font-size: .6rem; letter-spacing: .32em; margin-top: .3rem; color: var(--muted-dark); margin-right: -.32em; }

.eco-item {
  position: relative;
  display: flex; align-items: center; gap: 1rem;
  min-height: 88px;
  padding: 1.1rem 1.3rem;
  background: var(--black);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-md);
  transition: border-color .25s ease;
}
.eco-item:hover { border-color: rgba(255,182,78,.6); }
.eco-item strong { font-size: 1rem; font-weight: 700; line-height: 1.3; }
.eco-icon {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--amber); color: var(--black);
}
.eco-icon svg { width: 24px; height: 24px; }
/* posições: 2 à esquerda, 2 à direita do centro */
.eco-item:nth-child(1) { grid-column: 1; grid-row: 1; }
.eco-item:nth-child(2) { grid-column: 3; grid-row: 1; }
.eco-item:nth-child(3) { grid-column: 1; grid-row: 2; }
.eco-item:nth-child(4) { grid-column: 3; grid-row: 2; }
/* linhas de conexão até o centro */
.eco-item::after {
  content: ""; position: absolute; top: 50%; width: 3.5rem; height: 0;
  border-top: 2px dashed rgba(255,182,78,.45);
}
.eco-item:nth-child(odd)::after { left: 100%; }
.eco-item:nth-child(even)::after { right: 100%; }
.eco-item:nth-child(even) { flex-direction: row-reverse; text-align: right; }
.eco-note { margin-top: 2rem; text-align: center; font-size: .82rem; color: #8b8b8b; }

/* ---------- Diferenciais ---------- */
.diffs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--black); }
.diff { padding: 2rem 2rem 0 0; }
.diff + .diff { padding-left: 2rem; border-left: 1px solid var(--line); }
.diff-num {
  font-size: clamp(3.4rem, 6vw, 5rem); font-weight: 800; line-height: 1;
  color: transparent; -webkit-text-stroke: 2px var(--amber-deep);
  letter-spacing: -0.04em;
}
.diff h3 { margin-top: 1.2rem; font-size: 1.3rem; font-weight: 800; }
.diff p { margin-top: .6rem; color: var(--muted); }
.diffs-cta { margin-top: 3rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; }
.diffs-cta p { font-weight: 600; }

/* ---------- Certificado digital ---------- */
.cert { background: var(--black); color: var(--white); overflow: hidden; }
.cert-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem);
  align-items: stretch;
}
.cert-copy { padding-block: 1rem; }
.cert-copy h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 800; letter-spacing: -0.035em; max-width: 14ch; }
.cert-copy .section-intro { margin-top: 1.4rem; color: var(--muted-dark); }
.cert-badges { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2rem; }
.cert-badges li {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .6rem 1rem; border-radius: 999px;
  border: 1px solid var(--line-dark); background: var(--surface);
  font-size: .88rem; font-weight: 600;
}
.cert-badges li strong { color: var(--black); background: var(--amber); padding: .1rem .5rem; border-radius: 6px; font-weight: 800; }
.cert-badges svg { width: 16px; height: 16px; color: var(--amber); }

.cert-times { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; max-width: 30rem; }
.cert-times div { border-left: 3px solid var(--amber); padding-left: 1rem; }
.cert-times strong { display: block; font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; }
.cert-times span { font-size: .88rem; color: var(--muted-dark); }
.cert-footnote { margin-top: 1rem; font-size: .78rem; color: #8b8b8b; }

.cert-panel {
  position: relative;
  background: linear-gradient(170deg, var(--arrow) 0%, var(--amber) 50%, var(--amber-deep) 100%);
  color: var(--black);
  border-radius: 56px 0 56px 0;
  padding: clamp(2rem, 4vw, 3rem);
  display: flex; flex-direction: column;
  overflow: hidden; isolation: isolate;
}
.cert-panel::before { /* seta da marca em marca d'água */
  content: ""; position: absolute; right: -40px; top: -30px; width: 260px; height: 240px; z-index: -1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='146 60 95.5 87'%3E%3Cpath fill='%23000' fill-opacity='.08' d='M241.008 60.344l-31.391 6.297 11.145 5.277c-26.575 26.574-46.946 46.945-74.508 74.504h17.718c.739-.739 69.473-69.473 65.645-65.645l5.277 11.141z'/%3E%3C/svg%3E") no-repeat center / contain;
}
.cert-panel h3 { font-size: 1.05rem; font-weight: 800; }
.steps { margin: 1.4rem 0 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: .8rem; }
.steps li {
  display: grid; grid-template-columns: 52px 1fr; gap: 1rem; align-items: center;
  background: rgba(255,255,255,.35);
  border-radius: var(--radius-md);
  padding: 1rem 1.1rem;
}
.steps li::before {
  counter-increment: step; content: counter(step);
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--black); color: var(--amber);
  font-weight: 800; font-size: 1.3rem;
}
.steps strong { display: block; font-weight: 800; font-size: 1.02rem; }
.steps span { font-size: .9rem; color: #3a2a0c; }
.cert-panel .btn { margin-top: 1.8rem; align-self: flex-start; }

/* ---------- Equipe ---------- */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.member {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 0;
  padding: 2rem 1.8rem 2.1rem;
  overflow: hidden;
}
.member::before { /* barra âmbar da identidade */
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 5px;
  background: linear-gradient(90deg, var(--amber-deep), var(--arrow));
}
.member-symbol {
  width: 56px; height: 56px; padding: 11px 10px;
  background: var(--black); border-radius: 16px 16px 16px 0;
}
.member-info { padding: 1.4rem 0 0; }
.member-info h3 { font-size: 1.22rem; font-weight: 800; letter-spacing: -0.01em; }
.member-role { margin-top: .35rem; font-weight: 600; color: var(--amber-deep); font-size: .95rem; }
.member-info ul { margin-top: 1rem; display: grid; gap: .45rem; }
.member-info li { display: flex; gap: .6rem; font-size: .93rem; color: var(--muted); }
.member-info li::before {
  content: ""; flex-shrink: 0; width: 7px; height: 7px; margin-top: .55rem;
  background: var(--amber); transform: rotate(45deg);
}
/* ---------- Missão, visão, valores (proposta) ---------- */
.draft-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  margin-top: 1rem;
  padding: .5rem .9rem; border-radius: 8px;
  background: #fff4e0; border: 1px dashed var(--amber-deep); color: #7a4a0c;
  font-size: .82rem; font-weight: 600;
}
.mvv { display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: 1.2rem; }
.mvv article {
  background: var(--white); border-radius: var(--radius-md); padding: 2rem 1.8rem;
  border: 1px solid var(--line);
}
.mvv h3 { font-size: 1.15rem; font-weight: 800; display: flex; align-items: center; gap: .6rem; }
.mvv h3 svg { width: 22px; height: 22px; color: var(--amber-deep); }
.mvv p { margin-top: .8rem; color: var(--muted); }
.values { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1rem; }
.values li { font-size: .85rem; font-weight: 600; padding: .4rem .8rem; border-radius: 999px; background: var(--mist); }

/* ---------- Onde estamos ---------- */
.units { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.unit {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  display: flex; flex-direction: column;
}
.unit-map {
  position: relative; height: 220px;
  background: var(--black);
  overflow: hidden; isolation: isolate;
}
.unit-map svg.map-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.unit-map .pin {
  position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%);
  width: 58px; height: auto;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.5));
}
.unit-map .city {
  position: absolute; left: 1.4rem; bottom: 1.2rem;
  color: var(--white); font-weight: 800; font-size: 1.6rem; letter-spacing: -0.02em;
}
.unit-map .city span { color: var(--amber); }
.unit-body { padding: 1.6rem 1.6rem 1.8rem; display: flex; flex-direction: column; gap: 1rem; flex: 1; }
.unit address { font-style: normal; font-size: 1.02rem; line-height: 1.55; }
.unit address strong { font-weight: 700; }
.unit-focus { font-size: .9rem; color: var(--muted); }
.unit-focus b { color: var(--text); }
.unit .btn { align-self: flex-start; margin-top: auto; }
.remote-note {
  margin-top: 1.5rem;
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  padding: 1.3rem 1.6rem; border-radius: var(--radius-md);
  background: var(--black); color: var(--white);
}
.remote-note > svg { width: 28px; height: 28px; color: var(--amber); flex-shrink: 0; }
.remote-note p { flex: 1; min-width: 14rem; }
.remote-note strong { color: var(--amber); }

/* ---------- Contato ---------- */
.contact { isolation: isolate; }
.contact::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 55%;
  background: linear-gradient(180deg, rgba(232,145,42,0) 0%, rgba(232,145,42,.22) 60%, rgba(255,182,78,.5) 100%);
  z-index: -1; pointer-events: none;
}
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.contact .contact-list { margin-top: 2rem; }

/* Formulário de contato */
.contact-form {
  background: var(--white); color: var(--text);
  border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 0;
  padding: clamp(1.6rem, 3.5vw, 2.6rem);
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.8);
  position: relative; overflow: hidden;
}
.contact-form::before {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 5px;
  background: linear-gradient(90deg, var(--amber-deep), var(--arrow));
}
.contact-form h3 { font-size: 1.4rem; font-weight: 800; }
.form-help { margin-top: .3rem; font-size: .85rem; color: var(--muted); }
.field { margin-top: 1.1rem; display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.field label { font-size: .88rem; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit; font-size: 1rem; color: var(--text);
  background: var(--white);
  border: 1.5px solid #cfcfcf; border-radius: var(--radius-sm);
  padding: .75rem .9rem; min-height: 48px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { resize: vertical; min-height: 110px; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 2.4rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .8rem center; background-size: 18px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--amber-deep); box-shadow: 0 0 0 3px rgba(255,182,78,.35);
}
.field [aria-invalid="true"] { border-color: #c62828; }
.field-error { font-size: .82rem; font-weight: 600; color: #c62828; }
.field-check { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: .7rem; }
.field-check input { width: 20px; height: 20px; min-height: 0; margin: .15rem 0 0; accent-color: var(--amber-deep); flex-shrink: 0; }
.field-check label { flex: 1; font-weight: 500; color: var(--muted); }
.field-check label a { color: var(--amber-deep); font-weight: 700; }
.field-check .field-error { flex-basis: 100%; }
.form-submit { width: 100%; margin-top: 1.5rem; }
.form-submit:disabled { opacity: .65; cursor: default; transform: none; }
.form-note { margin-top: .8rem; font-size: .82rem; color: var(--muted); text-align: center; }
.form-status { font-size: .88rem; font-weight: 600; text-align: center; color: #1b7a3a; }
.form-status:empty { display: none; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
.contact h2 { font-size: clamp(2.3rem, 5vw, 4rem); font-weight: 800; letter-spacing: -0.035em; max-width: 16ch; }
.contact .hero-actions { margin-top: 2rem; }
.contact-list {
  background: rgba(18,18,18,.85);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  padding: .6rem 1.6rem;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 0; }
.contact-list li + li { border-top: 1px solid var(--line-dark); }
.contact-list svg { width: 22px; height: 22px; color: var(--amber); flex-shrink: 0; margin-top: .15rem; }
.contact-list span { display: block; font-size: .82rem; color: var(--muted-dark); }
.contact-list a, .contact-list strong { font-weight: 700; font-size: 1.02rem; text-decoration: none; word-break: break-word; }
.contact-list a:hover { color: var(--amber); }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--black); color: var(--white); padding: 4rem 0 2rem; border-top: 1px solid var(--line-dark); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer-brand p { margin-top: 1.2rem; color: var(--muted-dark); font-size: .92rem; max-width: 20rem; }
.footer-brand .cnpj { margin-top: .8rem; font-size: .85rem; }
.site-footer h4 { font-size: .95rem; font-weight: 700; color: var(--amber); margin-bottom: 1rem; letter-spacing: 0; }
.site-footer li { font-size: .92rem; color: var(--muted-dark); }
.site-footer li + li { margin-top: .55rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.legal-links { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.legal-links li + li { margin-top: 0; }
.legal-links a { color: var(--muted-dark); text-decoration: underline; text-underline-offset: 3px; }
.legal-links a:hover { color: var(--white); }
.footer-bottom {
  margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--line-dark);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  font-size: .82rem; color: #8b8b8b;
}
.social-link { display: inline-flex; align-items: center; gap: .5rem; }
.social-link svg { width: 18px; height: 18px; }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 1.2rem; bottom: calc(1.2rem + env(safe-area-inset-bottom, 0px));
  z-index: 90;
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25d366; color: #fff;
  box-shadow: 0 12px 30px -8px rgba(0,0,0,.45);
  transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 32px; height: 32px; }
.wa-float .wa-label {
  position: absolute; right: 72px; white-space: nowrap;
  background: var(--black); color: var(--white);
  font-size: .85rem; font-weight: 600;
  padding: .5rem .85rem; border-radius: 8px;
  opacity: 0; transform: translateX(8px); pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.wa-float:hover .wa-label, .wa-float:focus-visible .wa-label { opacity: 1; transform: none; }

/* ---------- Revelação suave nas seções ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ==========================================================
   PÁGINA CERTIFICADOS
   ========================================================== */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--black); color: var(--white);
  padding: calc(var(--header-h) + env(safe-area-inset-top, 0px) + clamp(3rem, 7vw, 5rem)) 0 clamp(4rem, 8vw, 6rem);
}
.page-hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 45%; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(232,145,42,0) 0%, rgba(232,145,42,.22) 70%, rgba(255,182,78,.45) 100%);
}
.page-hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.page-hero h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.04; max-width: 15ch; }
.page-hero h1 .hl { display: block; }
.crumbs { display: flex; gap: .6rem; font-size: .88rem; color: var(--muted-dark); margin-bottom: 1.6rem; }
.crumbs a { color: var(--amber); text-decoration: none; font-weight: 600; }
.crumbs a:hover { text-decoration: underline; }

.cert-card {
  position: relative; overflow: hidden; isolation: isolate;
  aspect-ratio: 1.58;
  border-radius: 28px 28px 28px 0;
  background: linear-gradient(150deg, var(--arrow) 0%, var(--amber) 50%, var(--amber-deep) 100%);
  color: var(--black);
  padding: clamp(1.4rem, 3vw, 2rem);
  display: flex; flex-direction: column;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.7);
  transform: rotate(-3deg);
}
.cert-card-top { display: flex; justify-content: space-between; align-items: center; }
.cert-card-top svg { width: 54px; height: auto; background: var(--black); border-radius: 12px; padding: 8px 9px; }
.cert-card-top span { font-size: .78rem; font-weight: 700; letter-spacing: .08em; }
.cert-card-type { margin-top: auto; font-size: clamp(3.5rem, 7vw, 5rem); font-weight: 800; line-height: .9; letter-spacing: -0.04em; }
.cert-card-label { font-weight: 700; margin-top: .4rem; }
.cert-card-meta { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: .9rem; font-size: .82rem; font-weight: 600; }
.cert-card-meta li { display: inline-flex; align-items: center; gap: .35rem; }
.cert-card-meta svg { width: 15px; height: 15px; }
@media (prefers-reduced-motion: no-preference) {
  .js .cert-card { animation: cardIn 1s cubic-bezier(.2,.8,.2,1) both .2s; }
}
@keyframes cardIn { from { opacity: 0; transform: rotate(-9deg) translateY(40px); } to { opacity: 1; transform: rotate(-3deg); } }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.fact { border: 1px solid var(--line); border-radius: var(--radius-md); padding: 1.8rem 1.6rem; }
.fact-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--black); color: var(--amber); }
.fact-icon svg { width: 26px; height: 26px; }
.fact h3 { margin-top: 1.2rem; font-size: 1.15rem; font-weight: 800; }
.fact p { margin-top: .5rem; color: var(--muted); }

.times {
  margin-top: 1.2rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  background: var(--black); color: var(--white);
  border-radius: var(--radius-md); overflow: hidden;
}
.time { padding: 1.8rem 2rem; }
.time + .time { border-left: 1px solid var(--line-dark); }
.time strong { display: block; font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; color: var(--amber); letter-spacing: -0.03em; line-height: 1.1; }
.time span { color: var(--muted-dark); }
.times-note { grid-column: 1 / -1; padding: .9rem 2rem; font-size: .8rem; color: #8b8b8b; border-top: 1px solid var(--line-dark); }

.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; counter-reset: none; }
.flow li {
  position: relative;
  background: var(--surface); border: 1px solid var(--line-dark);
  border-radius: var(--radius-md); padding: 2rem 1.7rem;
}
.flow li:not(:last-child)::after { /* seta entre as etapas */
  content: ""; position: absolute; top: 3.1rem; right: -1.2rem; width: 1.2rem; height: 2px;
  background: var(--amber);
}
.flow-num {
  display: grid; place-items: center;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--amber); color: var(--black);
  font-size: 1.5rem; font-weight: 800;
}
.flow h3 { margin-top: 1.4rem; font-size: 1.2rem; font-weight: 800; }
.flow p { margin-top: .5rem; color: var(--muted-dark); }

.cert-cta { background: var(--amber); padding-block: clamp(3.5rem, 7vw, 5rem); }
.cert-cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; }
.cert-cta h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); font-weight: 800; letter-spacing: -0.03em; }
.cert-cta p { margin-top: .6rem; color: #2a1d06; }

@media (max-width: 980px) {
  .page-hero-grid { grid-template-columns: 1fr; }
  .cert-card { max-width: 420px; }
  .facts, .flow { grid-template-columns: 1fr; }
  .flow li:not(:last-child)::after { top: auto; bottom: -1.2rem; right: auto; left: 3.6rem; width: 2px; height: 1.2rem; }
}
@media (max-width: 600px) {
  .times { grid-template-columns: 1fr; }
  .time + .time { border-left: 0; border-top: 1px solid var(--line-dark); }
  .cert-cta .btn, .page-hero .btn { width: 100%; }
  .cert-card { transform: rotate(-2deg); }
}

/* ==========================================================
   PÁGINA APLICATIVO
   ========================================================== */
.app-kicker { font-weight: 700; color: var(--amber); font-size: .92rem; margin-bottom: 1rem; }
.store-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }
.btn-store {
  background: var(--white); color: var(--black);
  border-radius: 14px; min-height: 58px; padding: .6rem 1.4rem .6rem 1.1rem;
  text-align: left; line-height: 1.1; font-size: 1.1rem; font-weight: 800;
}
.btn-store svg { width: 28px; height: 28px; }
.btn-store small { display: block; font-size: .72rem; font-weight: 600; color: var(--muted); }
.btn-store:hover { background: var(--amber); }
.btn-store:hover small { color: #2a1d06; }
.app-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-top: 1.6rem; font-size: .9rem; color: rgba(255,255,255,.8); }
.app-meta li { display: inline-flex; align-items: center; gap: .5rem; }
.app-meta svg { width: 16px; height: 16px; color: var(--amber); }
.app-official { margin-top: .8rem; font-size: .82rem; color: var(--muted-dark); letter-spacing: .01em; }
.app-official strong { color: var(--white); font-weight: 700; letter-spacing: .04em; }

.app-visual { position: relative; display: flex; justify-content: flex-start; align-items: center; min-height: 560px; padding-block: 2rem; }
.app-block {
  position: absolute; left: 18%; right: calc(-1 * var(--gutter) - 20vw); top: 6%; bottom: -12%;
  background: linear-gradient(180deg, var(--arrow) 0%, var(--amber) 55%, var(--amber-deep) 100%);
  border-top-left-radius: 56px;
}
.app-phone { position: relative; z-index: 1; width: min(78%, 360px); height: auto; margin-left: 4%; }
.app-float { position: absolute; z-index: 2; right: 0; bottom: 12%; display: grid; gap: .6rem; justify-items: end; }
.app-float li {
  display: inline-flex; align-items: center; gap: .55rem;
  background: var(--black); color: var(--white);
  border: 1px solid rgba(255,182,78,.45);
  font-size: .86rem; font-weight: 700;
  padding: .6rem 1rem; border-radius: 999px;
  box-shadow: 0 14px 30px -12px rgba(0,0,0,.6);
}
.app-float li:nth-child(2) { margin-right: 1.5rem; }
.app-float li:nth-child(3) { margin-right: .5rem; }
.app-float svg { width: 17px; height: 17px; color: var(--amber); }
@media (prefers-reduced-motion: no-preference) {
  .js .app-phone { animation: rise 1s cubic-bezier(.2,.8,.2,1) both .2s; }
  .js .app-float li { animation: fadeUp .7s ease both; }
  .js .app-float li:nth-child(1) { animation-delay: .7s; }
  .js .app-float li:nth-child(2) { animation-delay: .85s; }
  .js .app-float li:nth-child(3) { animation-delay: 1s; }
}

.app-features { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.2rem; }
.app-feature {
  grid-column: span 2;
  border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 1.8rem 1.6rem; transition: border-color .25s ease, transform .25s ease;
}
.app-feature:nth-child(4), .app-feature:nth-child(5) { grid-column: span 3; }
.app-feature:hover { border-color: var(--amber-deep); transform: translateY(-3px); }
.app-feature h3 { margin-top: 1.2rem; font-size: 1.15rem; font-weight: 800; }
.app-feature p { margin-top: .5rem; color: var(--muted); }

.app-routine { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.app-routine .section-intro { color: var(--muted-dark); }
.app-routine .hl { display: block; }
.app-info {
  margin: 0; background: var(--surface); border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 0; padding: .6rem 1.6rem;
}
.app-info div { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; }
.app-info div + div { border-top: 1px solid var(--line-dark); }
.app-info dt { color: var(--muted-dark); font-size: .88rem; }
.app-info dd { margin: 0; font-weight: 700; text-align: right; font-size: .92rem; }

@media (max-width: 980px) {
  .app-visual { min-height: 460px; margin-top: 1rem; }
  .app-block { left: 25%; bottom: -30%; }
  .app-features { grid-template-columns: 1fr 1fr; }
  .app-feature, .app-feature:nth-child(4) { grid-column: span 1; }
  .app-feature:nth-child(5) { grid-column: 1 / -1; }
  .app-routine { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .app-features { grid-template-columns: 1fr; }
  .app-feature:nth-child(5) { grid-column: auto; }
  .app-phone { width: 250px; margin-left: 0; }
  .app-visual { min-height: 380px; }
  .app-float li { font-size: .78rem; padding: .5rem .8rem; }
  .btn-store { width: 100%; justify-content: center; }
  .app-info div { flex-direction: column; gap: .2rem; }
  .app-info dd { text-align: left; }
}

/* ==========================================================
   PÁGINAS LEGAIS (Privacidade / Termos)
   ========================================================== */
.page-hero.page-hero-sm { padding-bottom: clamp(3rem, 6vw, 4.5rem); }
.page-hero-sm h1 { max-width: 20ch; }
.updated { margin-top: 1.2rem; color: var(--muted-dark); font-size: .92rem; }
.legal-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.legal-toc {
  position: sticky; top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 1.5rem);
  border-left: 3px solid var(--amber); padding-left: 1.2rem;
}
.legal-toc p { font-weight: 800; font-size: .95rem; margin-bottom: .8rem; }
.legal-toc ol { margin: 0; padding: 0; list-style: none; display: grid; gap: .5rem; counter-reset: toc; }
.legal-toc li { counter-increment: toc; font-size: .88rem; }
.legal-toc a { text-decoration: none; color: var(--muted); }
.legal-toc a::before { content: counter(toc) ". "; color: var(--amber-deep); font-weight: 700; }
.legal-toc a:hover { color: var(--text); }
.legal-body { max-width: 70ch; counter-reset: sec; }
.legal-body section + section { margin-top: 2.6rem; padding-top: 2.6rem; border-top: 1px solid var(--line); }
.legal-body h2 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); font-weight: 800; counter-increment: sec; }
.legal-body h2::before { content: counter(sec) ". "; color: var(--amber-deep); }
.legal-body p, .legal-body li { color: #333; line-height: 1.75; }
.legal-body p { margin-top: 1rem; }
.legal-body ul { margin-top: 1rem; padding-left: 0; display: grid; gap: .55rem; }
.legal-body ul li { position: relative; padding-left: 1.4rem; }
.legal-body ul li::before { content: ""; position: absolute; left: 0; top: .72rem; width: 7px; height: 7px; background: var(--amber); transform: rotate(45deg); }
.legal-body a { color: var(--amber-deep); font-weight: 600; }
.legal-body strong { color: var(--text); }
.legal-card {
  margin-top: 1.2rem; padding: 1.3rem 1.5rem; border-radius: var(--radius-md);
  background: var(--mist); border: 1px solid var(--line);
}
.legal-card p { margin-top: .3rem; }
.legal-card p:first-child { margin-top: 0; }
@media (max-width: 980px) {
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
}

/* ==========================================================
   RESPONSIVO
   ========================================================== */
@media (max-width: 1320px) {
  .main-nav a { padding: .5rem .6rem; font-size: .86rem; }
  .main-nav a::after { left: .6rem; right: .6rem; }
}

@media (max-width: 1180px) {
  .menu-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .main-nav {
    position: fixed; inset: calc(var(--header-h) + env(safe-area-inset-top, 0px)) 0 0 0;
    background: var(--black);
    padding: 1.5rem var(--gutter) calc(2rem + env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
  }
  .menu-open .main-nav { opacity: 1; transform: none; visibility: visible; }
  .menu-open .site-header { background: var(--black); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav a { font-size: 1.35rem; font-weight: 700; padding: 1rem 0; border-bottom: 1px solid var(--line-dark); border-radius: 0; }
  .main-nav a::after { display: none; }
  .main-nav .nav-cta { display: flex; margin-top: 1.5rem; width: 100%; font-size: 1rem; font-weight: 700; color: var(--black); border-radius: 999px; border-bottom: 0; padding: .85rem 1.6rem; }

}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; gap: 0; }
  .hero-copy { padding-bottom: 2rem; }
  .hero-visual { min-height: 0; height: auto; padding: 2.5rem 0 3rem; align-items: flex-end; }
  .hero-block { left: 18%; top: 0; }
  .hero-emblem { width: 240px; }

  .about-grid, .partners, .cert-grid, .contact-grid { grid-template-columns: 1fr; }
  .eco { grid-template-columns: 1fr 1fr; column-gap: 1rem; row-gap: 1rem; }
  .eco-hub { grid-column: 1 / -1; grid-row: 1; width: 170px; justify-self: center; margin-bottom: 1rem; }
  .eco-item:nth-child(1) { grid-column: 1; grid-row: 2; }
  .eco-item:nth-child(2) { grid-column: 2; grid-row: 2; }
  .eco-item:nth-child(3) { grid-column: 1; grid-row: 3; }
  .eco-item:nth-child(4) { grid-column: 2; grid-row: 3; }
  .eco-item::after { display: none; }
  .eco-item:nth-child(even) { flex-direction: row; text-align: left; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .team { grid-template-columns: 1fr 1fr; }
  .mvv { grid-template-columns: 1fr 1fr; }
  .mvv article:last-child { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .app-strip { grid-template-columns: auto 1fr; }
  .app-strip .btn { grid-column: 1 / -1; justify-self: start; }
  .service-wide { grid-template-columns: auto 1fr; }
  .service-wide .btn { grid-column: 1 / -1; justify-self: start; }
}

@media (min-width: 1181px) {
  .main-nav .nav-cta { display: none; }
}

@media (max-width: 760px) {
  :root { --header-h: 68px; }
  .brand-symbol { width: 38px; }
  .brand-name { font-size: 1rem; }
  .segments, .units { grid-template-columns: 1fr; }
  .segment { min-height: 440px; }
  .diffs { grid-template-columns: 1fr; border-top: 0; }
  .diff, .diff + .diff { padding: 1.8rem 0; border-left: 0; border-top: 2px solid var(--black); }
  .diff + .diff { border-top: 1px solid var(--line); }
  .reach { grid-template-columns: 1fr; }
  .reach li { padding: 1rem 0; }
  .reach li + li { border-top: 1px solid var(--line); }
  .eco { grid-template-columns: 1fr; }
  .eco-item:nth-child(n) { grid-column: 1; grid-row: auto; }
  .eco-hub { grid-row: auto; }
}

@media (max-width: 600px) {
  .hero h1 .hl { display: block; }
.hero h1 { font-size: clamp(2.3rem, 10.5vw, 3rem); }
  .hero-actions .btn, .contact .hero-actions .btn { width: 100%; }
  .hero-emblem { width: 200px; border-radius: 28px 28px 28px 0; }
  .hero-tags li { font-size: .82rem; padding: .55rem .9rem; }
  .services-grid, .team, .mvv { grid-template-columns: 1fr; }
  .mvv article:last-child { grid-column: auto; }
  .team { max-width: 26rem; margin-inline: auto; }
  .cert-times { grid-template-columns: 1fr 1fr; }
  .cert-panel { border-radius: 36px 0 36px 0; }
  .cert-panel .btn { width: 100%; }
  .app-strip { grid-template-columns: 1fr; }
  .app-strip .btn, .service-wide .btn { width: 100%; padding-inline: 1rem; }
  .service-wide { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .wa-float .wa-label { display: none; }
}

/* Link "Conheça a equipe" na seção Sobre */
.about-link {
  display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.8rem;
  font-weight: 700; text-decoration: none; color: var(--text);
  border-bottom: 2px solid var(--amber); padding-bottom: 2px;
}
.about-link svg { width: 18px; height: 18px; color: var(--amber-deep); transition: transform .2s ease; }
.about-link:hover svg { transform: translate(3px, -3px); }

/* Botões lado a lado nas faixas de CTA */
.cta-buttons { display: flex; flex-wrap: wrap; gap: .8rem; }
@media (max-width: 600px) { .cta-buttons, .cta-buttons .btn { width: 100%; } }

/* Foto da equipe */
.team { align-items: start; }
.member-photo {
  position: relative; margin: -2rem -1.8rem 0; aspect-ratio: 4 / 5; overflow: hidden;
  background: var(--mist);
}
.member-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block; }
.member-has-photo::before { z-index: 1; }
.member-photo-badge {
  position: absolute; left: 1rem; bottom: 1rem; width: 50px; height: 50px; padding: 10px 9px;
  background: var(--black); border-radius: 14px 14px 14px 0;
  box-shadow: 0 10px 24px -10px rgba(0,0,0,.6);
}
