/* ==========================================================================
   e-Laborando — Folha de estilos
   Sumário:
   01. Variáveis da marca      07. Aplicativos
   02. Base                    08. Sobre
   03. Utilitários e botões    09. Processo
   04. Cabeçalho e menu        10. Chamada para ação (CTA)
   05. Hero                    11. Contato e formulário
   06. Serviços                12. Rodapé, WhatsApp flutuante
                               13. Animações e movimento reduzido
   ========================================================================== */

/* 01. VARIÁVEIS DA MARCA ------------------------------------------------- */
:root {
  /* Paleta oficial */
  --navy: #131629;
  --orange: #FB5200;
  --white: #FFFFFF;

  /* Derivados da paleta (tons do próprio azul-marinho) */
  --text: var(--navy);
  --text-soft: #4A4E63;      /* navy suavizado — contraste AA sobre branco */
  --text-faint: #6B6F82;
  --line: #E4E6EE;
  --line-strong: #CFD2DE;
  --surface: #F6F7FA;        /* fundo levemente acinzentado para alternar seções */
  --navy-2: #1D2140;
  --navy-line: rgba(255,255,255,.12);
  --orange-soft: #FFF1EA;
  --error: #C2261B;
  --success: #12704A;

  /* Tipografia */
  --font: "Sora", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  /* Medidas */
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --header-h: 76px;
  --section-y: clamp(80px, 11vw, 150px);

  --shadow-sm: 0 1px 2px rgba(19,22,41,.06), 0 2px 8px rgba(19,22,41,.04);
  --shadow: 0 2px 4px rgba(19,22,41,.04), 0 12px 32px rgba(19,22,41,.08);

  --ease: cubic-bezier(.2,.7,.2,1);
}

/* 02. BASE --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
section[id], [id^="app-"] { scroll-margin-top: calc(var(--header-h) + 8px); }

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}

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

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

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--navy); color: var(--white);
  padding: 10px 16px; border-radius: var(--radius-sm);
  text-decoration: none; font-weight: 600;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.noscript {
  position: fixed; bottom: 0; left: 0; right: 0; margin: 0;
  background: var(--navy); color: var(--white); padding: 12px; text-align: center; font-size: .9rem;
}

/* 03. UTILITÁRIOS, TÍTULOS E BOTÕES -------------------------------------- */
.dot-accent { color: var(--orange); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .8125rem; font-weight: 500; letter-spacing: .04em;
  color: var(--text-soft);
  margin-bottom: 22px;
}
.eyebrow-code {
  font-weight: 600; color: var(--navy);
  padding: 4px 9px; border: 1px solid var(--line-strong); border-radius: 6px;
  font-size: .75rem; letter-spacing: .06em;
  position: relative;
}
.eyebrow-code::before {
  content: ""; position: absolute; left: -1px; top: -1px; width: 6px; height: 6px;
  background: var(--orange); border-radius: 2px 0 2px 0;
}
.eyebrow-light { color: rgba(255,255,255,.72); }
.eyebrow-light .eyebrow-code { color: var(--white); border-color: var(--navy-line); }

.section { padding-block: var(--section-y); }
.section-head { max-width: 760px; margin-bottom: clamp(48px, 6vw, 80px); }
.section-title {
  font-size: clamp(2rem, 4.4vw, 3.5rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.section-lead {
  margin-top: 22px;
  font-size: clamp(1.02rem, 1.4vw, 1.15rem);
  color: var(--text-soft);
  max-width: 600px;
  font-weight: 300;
}

.btn {
  --btn-bg: var(--navy); --btn-fg: var(--white); --btn-bd: var(--navy);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  border-radius: 999px; border: 1.5px solid var(--btn-bd);
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 600; font-size: .975rem; letter-spacing: -0.01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .25s, border-color .25s, color .25s, box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: .875rem; }

/* Laranja com texto azul-marinho: contraste 5,4:1 (WCAG AA) */
.btn-primary { --btn-bg: var(--orange); --btn-fg: var(--navy); --btn-bd: var(--orange); }
.btn-primary:hover { box-shadow: 0 10px 24px -10px rgba(251,82,0,.65); }
.btn-dark:hover { --btn-bg: var(--navy-2); }
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--navy); --btn-bd: var(--line-strong); }
.btn-ghost:hover { --btn-bd: var(--navy); }
.btn-ghost-light { --btn-bg: transparent; --btn-fg: var(--white); --btn-bd: rgba(255,255,255,.3); }
.btn-ghost-light:hover { --btn-bd: var(--white); }

.btn-arrow { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(3px); }
.btn .ico { width: 18px; height: 18px; }

.btn .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }

.btn.is-disabled {
  --btn-bg: transparent; --btn-fg: var(--text-faint); --btn-bd: var(--line-strong);
  cursor: default; border-style: dashed;
}
.btn.is-disabled:hover { transform: none; }

/* 04. CABEÇALHO E MENU --------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  background: rgba(255,255,255,0);
  border-bottom: 1px solid transparent;
  transition: background-color .3s, border-color .3s, height .3s, backdrop-filter .3s;
}
.site-header.is-scrolled {
  --header-h: 66px;
  background: rgba(255,255,255,.88);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  backdrop-filter: saturate(1.6) blur(14px);
  border-bottom-color: var(--line);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand {
  display: inline-flex; align-items: center; gap: 11px;
  text-decoration: none; color: var(--navy);
  position: relative; z-index: 2;
}
.brand-symbol { width: 30px; height: auto; }
.brand-name { font-weight: 600; font-size: 1.22rem; letter-spacing: -0.035em; }
.brand-e { color: var(--orange); font-weight: 700; }
.brand-light { color: var(--white); }

.main-nav { display: flex; align-items: center; gap: 36px; }
.nav-list { display: flex; gap: 6px; }
.nav-link {
  position: relative; display: inline-block;
  padding: 8px 12px; text-decoration: none;
  font-size: .9rem; font-weight: 500; color: var(--text-soft);
  transition: color .2s;
}
.nav-link::after {
  content: ""; position: absolute; left: 50%; bottom: 0;
  width: 5px; height: 5px; border-radius: 50%; background: var(--orange);
  transform: translateX(-50%) scale(0); transition: transform .3s var(--ease);
}
.nav-link:hover { color: var(--navy); }
.nav-link.is-active { color: var(--navy); }
.nav-link.is-active::after { transform: translateX(-50%) scale(1); }

.nav-toggle {
  display: none; position: relative; z-index: 2;
  width: 46px; height: 46px; border-radius: 50%;
  background: transparent; border: 1px solid var(--line-strong); cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 6px;
}
.nav-toggle-bar { display: block; width: 18px; height: 1.8px; background: var(--navy); border-radius: 2px; transition: transform .35s var(--ease); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:first-child { transform: translateY(3.9px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:last-child { transform: translateY(-3.9px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; align-items: stretch; justify-content: center; gap: 40px;
    padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
    background: var(--white);
    opacity: 0; visibility: hidden;
    clip-path: inset(0 0 100% 0);
    transition: clip-path .5s var(--ease), opacity .3s, visibility 0s .5s;
  }
  .main-nav.is-open {
    opacity: 1; visibility: visible; clip-path: inset(0 0 0 0);
    transition: clip-path .5s var(--ease), opacity .3s, visibility 0s;
  }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list li { border-bottom: 1px solid var(--line); }
  .nav-link {
    display: flex; justify-content: space-between; align-items: center;
    padding: 18px 0; font-size: clamp(1.5rem, 6vw, 2rem); font-weight: 600;
    color: var(--navy); letter-spacing: -0.03em;
    opacity: 0; transform: translateY(12px);
    transition: opacity .4s, transform .4s var(--ease), color .2s;
  }
  .main-nav.is-open .nav-link { opacity: 1; transform: none; }
  .main-nav.is-open li:nth-child(2) .nav-link { transition-delay: .05s; }
  .main-nav.is-open li:nth-child(3) .nav-link { transition-delay: .1s; }
  .main-nav.is-open li:nth-child(4) .nav-link { transition-delay: .15s; }
  .main-nav.is-open li:nth-child(5) .nav-link { transition-delay: .2s; }
  .nav-link::after { position: static; transform: scale(0); width: 9px; height: 9px; }
  .nav-link.is-active::after { transform: scale(1); }
  .nav-cta { min-height: 54px; font-size: 1rem; }
  body.menu-open { overflow: hidden; }
  .site-header.menu-is-open { background: var(--white); }
}

/* 05. HERO --------------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(40px, 7vw, 96px));
  padding-bottom: clamp(40px, 5vw, 64px);
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(19,22,41,.13) 1px, transparent 0);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 72% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 70% at 72% 40%, #000 20%, transparent 75%);
}
.hero-e {
  position: absolute; right: -2vw; top: 50%;
  transform: translateY(-50%);
  font-size: clamp(260px, 42vw, 640px);
  font-weight: 800; line-height: .8; letter-spacing: -0.08em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(19,22,41,.075);
  user-select: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero-title {
  font-size: clamp(2.6rem, 5.6vw, 4.75rem);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.05em;
  margin-bottom: 30px;
}
.hero-title .line { display: block; }
.hero-title .muted { font-weight: 300; letter-spacing: -0.045em; }
.hero-lead {
  max-width: 520px;
  font-size: clamp(1.04rem, 1.4vw, 1.17rem);
  color: var(--text-soft); font-weight: 300;
  margin-bottom: 40px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Composição visual */
.hero-visual { position: relative; }
.build { position: relative; aspect-ratio: 1 / .92; max-width: 560px; margin-left: auto; }

.build-window {
  position: absolute; left: 4%; top: 9%; width: 86%;
  background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  animation: rise .9s var(--ease) .35s both;
}
.bw-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: #FBFBFD; }
.bw-bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); }
.bw-bar i:first-child { background: var(--orange); }
.bw-url { margin-left: 12px; font-size: .68rem; color: var(--text-faint); background: var(--white); border: 1px solid var(--line); border-radius: 99px; padding: 2px 12px; }
.bw-body { padding: 18px; display: grid; gap: 18px; }

.wf { display: block; border-radius: 4px; background: var(--surface); transform-origin: left center; animation: draw .7s var(--ease) both; }
.wf-nav { display: flex; align-items: center; gap: 8px; background: none; animation-delay: .7s; }
.wf-nav b { width: 22px; height: 10px; border-radius: 3px; background: var(--navy); margin-right: auto; }
.wf-nav span { width: 28px; height: 6px; border-radius: 3px; background: var(--line); }
.wf-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; align-items: center; }
.wf-text { display: grid; gap: 8px; }
.wf-h { height: 14px; background: var(--navy); }
.wf-h.w1 { width: 92%; animation-delay: .85s; }
.wf-h.w2 { width: 64%; animation-delay: .95s; }
.wf-p { height: 6px; background: var(--line); }
.wf-p.w3 { width: 100%; margin-top: 6px; animation-delay: 1.05s; }
.wf-p.w4 { width: 78%; animation-delay: 1.12s; }
.wf-btn { width: 64px; height: 18px; border-radius: 99px; background: var(--orange); margin-top: 8px; animation-delay: 1.2s; }
.wf-media { aspect-ratio: 4/3; border: 1px dashed var(--line-strong); background: var(--surface); animation-delay: 1s; }
.wf-media svg { width: 100%; height: 100%; }
.wf-media path { stroke: var(--line-strong); stroke-width: .6; fill: none; vector-effect: non-scaling-stroke; }
.wf-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.wf-card { height: 46px; border: 1px solid var(--line); background: var(--white); }
.wf-card:nth-child(1) { animation-delay: 1.3s; }
.wf-card:nth-child(2) { animation-delay: 1.38s; }
.wf-card:nth-child(3) { animation-delay: 1.46s; }

.chip {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 12px 14px;
  animation: rise .8s var(--ease) both;
}
.chip-label { font-size: .66rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 8px; }
.chip-palette { right: 0; top: 0; animation-delay: 1.5s; }
.swatches { display: flex; gap: 6px; }
.swatches span { width: 28px; height: 28px; border-radius: 8px; background: var(--c); border: 1px solid var(--line); }

.chip-type { left: -2%; bottom: 14%; display: flex; align-items: center; gap: 12px; animation-delay: 1.65s; }
.type-aa { font-size: 2rem; font-weight: 700; letter-spacing: -0.05em; line-height: 1; }
.type-meta { display: grid; line-height: 1.2; font-size: .8rem; }
.type-meta small { color: var(--text-faint); font-size: .68rem; }

.chip-code {
  right: 2%; bottom: 0;
  background: var(--navy); border-color: var(--navy); color: #C9CCDB;
  display: grid; gap: 3px; padding: 14px 16px;
  animation-delay: 1.8s;
}
.chip-code code { font-family: var(--mono); font-size: .72rem; white-space: nowrap; }
.chip-code .k { color: #8E93B5; }
.chip-code .f { color: var(--orange); }
.chip-code .status { display: flex; align-items: center; gap: 7px; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--navy-line); font-size: .68rem; color: var(--white); }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 0 rgba(251,82,0,.6); animation: pulse 2s infinite; }

.hero-strip {
  margin-top: clamp(56px, 7vw, 96px);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  font-size: .875rem; font-weight: 500; color: var(--text-soft);
}
.hero-strip li { display: flex; align-items: center; gap: 10px; }
.hero-strip li::before { content: ""; width: 6px; height: 6px; background: var(--navy); transform: rotate(45deg); }
.hero-strip li:first-child::before { background: var(--orange); }

/* Animação de entrada do texto */
.hero-anim { animation: fadeUp .8s var(--ease) both; animation-delay: calc(var(--d, 0) * .09s + .1s); }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .build { margin: 16px auto 0; max-width: 520px; }
  .hero-e { top: 22%; right: -8vw; }
}
@media (max-width: 520px) {
  .chip-palette { top: -2%; }
  .chip-type { left: 0; bottom: 18%; padding: 10px 12px; }
  .type-aa { font-size: 1.5rem; }
  .chip-code code { font-size: .64rem; }
  .bw-body { padding: 14px; gap: 14px; }
  .hero-strip { justify-content: flex-start; }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* 06. SERVIÇOS ----------------------------------------------------------- */
.services { background: var(--white); }
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}
.svc {
  position: relative;
  display: flex; flex-direction: column;
  padding: clamp(28px, 3vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  overflow: hidden;
  transition: transform .4s var(--ease), border-color .3s, box-shadow .4s var(--ease);
}
.svc::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 48px;
  background: var(--orange);
  transition: width .5s var(--ease);
}
.svc:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.svc:hover::before { width: 100%; }

.svc-a { grid-column: span 7; }
.svc-b { grid-column: span 5; }
.svc-c { grid-column: span 5; }
.svc-d { grid-column: span 7; background: var(--navy); border-color: var(--navy); color: var(--white); }

.svc-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: clamp(32px, 5vw, 64px); }
.svc-num { font-size: .8rem; font-weight: 600; color: var(--text-faint); letter-spacing: .06em; }
.svc-icon { width: 52px; height: 52px; fill: none; stroke: var(--navy); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease); }
.svc-icon .fill { fill: var(--navy); stroke: none; }
.svc-icon .accent { fill: var(--orange); stroke: var(--orange); }
.svc-icon .accent-stroke { stroke: var(--orange); stroke-width: 2.2; }
.svc:hover .svc-icon { transform: translateY(-3px) rotate(-4deg); }

.svc-title { font-size: clamp(1.4rem, 2.2vw, 1.85rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.15; margin-bottom: 14px; }
.svc-text { color: var(--text-soft); font-weight: 300; max-width: 46ch; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 30px; }
.svc-tags li { font-size: .75rem; font-weight: 500; padding: 5px 11px; border-radius: 99px; background: var(--surface); color: var(--text-soft); }

.svc-link {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 10px; align-self: flex-start;
  font-weight: 600; font-size: .9rem; text-decoration: none;
  padding-bottom: 4px;
  background: linear-gradient(var(--orange), var(--orange)) left bottom / 0 1.5px no-repeat;
  transition: background-size .35s var(--ease);
}
.svc-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.svc-link:hover, .svc:hover .svc-link { background-size: 100% 1.5px; }
.svc-link:hover svg { transform: translateX(4px); }

.svc-d .svc-num { color: rgba(255,255,255,.55); }
.svc-d .svc-icon { stroke: var(--white); }
.svc-d .svc-text { color: rgba(255,255,255,.75); }
.svc-d .svc-tags li { background: rgba(255,255,255,.08); color: rgba(255,255,255,.85); }
.svc-d:hover { box-shadow: 0 20px 40px -20px rgba(19,22,41,.6); }

@media (max-width: 900px) {
  .svc-a, .svc-b, .svc-c, .svc-d { grid-column: span 12; }
  .svc-top { margin-bottom: 32px; }
}
@media (min-width: 640px) and (max-width: 900px) {
  .svc-a, .svc-b { grid-column: span 6; }
  .svc-c, .svc-d { grid-column: span 6; }
}

/* 07. APLICATIVOS -------------------------------------------------------- */
.apps { background: var(--surface); position: relative; }
.eco-index {
  display: flex; align-items: center; gap: 16px;
  font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-faint);
  margin: -32px 0 48px;
}
.eco-index i { flex: 1; max-width: 80px; height: 1px; background: var(--line-strong); }

.app {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: clamp(28px, 5vw, 72px);
  margin-bottom: 24px;
  transition: box-shadow .4s var(--ease);
}
.app:hover { box-shadow: var(--shadow); }
.app-rev .app-copy { order: 2; }
.app-rev .app-visual { order: 1; }

.app-kicker { font-size: .85rem; font-weight: 500; color: var(--text-soft); margin-bottom: 6px; }
.app-name { font-size: clamp(3.4rem, 8vw, 6.2rem); font-weight: 800; letter-spacing: -0.06em; line-height: .95; margin-bottom: 22px; }
.app-desc { color: var(--text-soft); font-weight: 300; font-size: 1.05rem; margin-bottom: 26px; }
.app-features { display: grid; gap: 12px; margin-bottom: 28px; }
.app-features li { position: relative; padding-left: 28px; font-weight: 500; font-size: .95rem; }
.app-features li::before {
  content: ""; position: absolute; left: 0; top: .45em;
  width: 14px; height: 9px; border-left: 2px solid var(--orange); border-bottom: 2px solid var(--orange);
  transform: rotate(-45deg) scale(.8); transform-origin: left;
}
.app-audience { font-size: .875rem; color: var(--text-soft); padding: 14px 16px; border-left: 2px solid var(--orange); background: var(--orange-soft); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: -4px 0 28px; }

.app-visual { position: relative; }
.app-visual figcaption { margin-top: 12px; font-size: .72rem; color: var(--text-faint); text-align: center; letter-spacing: .02em; }

.mock {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(18px, 3vw, 28px);
  display: grid; gap: 14px;
  min-height: 340px;
}

/* BIP */
.mock-bip { grid-template-columns: 1fr 1fr; align-content: start; }
.bip-clock {
  grid-column: span 2;
  display: grid; justify-items: start; gap: 4px;
  background: var(--navy); color: var(--white);
  border-radius: 16px; padding: 22px 24px;
  position: relative; overflow: hidden;
}
.bip-day { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.bip-time { font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.bip-btn { position: absolute; right: 20px; bottom: 22px; background: var(--orange); color: var(--navy); font-size: .75rem; font-weight: 600; padding: 9px 16px; border-radius: 99px; }
.bip-timeline, .bip-team { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.bip-timeline { display: grid; gap: 10px; }
.bip-timeline li { display: flex; justify-content: space-between; align-items: center; font-size: .8rem; color: var(--text-soft); padding-left: 16px; position: relative; }
.bip-timeline li::before { content: ""; position: absolute; left: 0; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--line-strong); }
.bip-timeline li.done::before { background: var(--navy); border-color: var(--navy); }
.bip-timeline b { color: var(--navy); font-variant-numeric: tabular-nums; }
.bip-team p { font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 12px; }
.bip-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.bip-row i { width: 22px; height: 22px; border-radius: 50%; background: var(--line); flex: none; }
.bip-row .bar { height: 6px; border-radius: 3px; flex: 1; background: linear-gradient(90deg, var(--navy) var(--w), var(--line) var(--w)); }

/* Agendô */
.ag-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.ag-head b { font-size: 1.05rem; letter-spacing: -0.02em; }
.ag-days { display: flex; gap: 4px; }
.ag-days i { font-style: normal; font-size: .72rem; font-weight: 500; padding: 6px 10px; border-radius: 8px; color: var(--text-soft); }
.ag-days i.on { background: var(--navy); color: var(--white); }
.ag-slots { display: grid; gap: 8px; }
.ag-slots li { display: grid; grid-template-columns: 52px 1fr; gap: 12px; align-items: center; }
.ag-slots time { font-size: .75rem; font-weight: 600; color: var(--text-faint); font-variant-numeric: tabular-nums; }
.slot { display: grid; border-radius: 10px; padding: 10px 14px; font-size: .8rem; line-height: 1.3; }
.slot small { font-size: .7rem; opacity: .75; }
.slot.busy { background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--navy); }
.slot.busy.alt { border-left-color: var(--line-strong); }
.slot.free { border: 1.5px dashed var(--line-strong); color: var(--text-faint); }
.slot.new { background: var(--navy); color: var(--white); border-left: 3px solid var(--orange); position: relative; }
.slot.new::after { content: ""; position: absolute; right: 14px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--orange); animation: pulse 2s infinite; }

/* PIN */
.mock-pin { grid-template-columns: 1fr 1fr; align-content: start; }
.pin-fin, .pin-kanban, .pin-agenda { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.pin-fin p, .kb-col p { font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-faint); }
.pin-fin { grid-column: span 2; }
.pin-bars { display: flex; align-items: flex-end; gap: 8%; height: 86px; margin-top: 14px; }
.pin-bars span { flex: 1; height: var(--h); background: var(--line); border-radius: 5px 5px 2px 2px; }
.pin-bars span.hi { background: var(--orange); }
.pin-bars span:nth-child(2), .pin-bars span:nth-child(6) { background: var(--navy); }
.pin-kanban { grid-column: span 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kb-col { display: grid; align-content: start; gap: 8px; }
.kb-col p { margin-bottom: 2px; }
.kb-card { height: 30px; border-radius: 7px; background: var(--surface); border: 1px solid var(--line); }
.kb-card.short { width: 70%; }
.kb-card.accent { border-left: 3px solid var(--orange); }
.kb-card.done { background: var(--navy); border-color: var(--navy); opacity: .9; }
.pin-agenda { grid-column: span 2; display: flex; align-items: center; gap: 14px; }
.pin-date { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; background: var(--navy); color: var(--white); font-size: .66rem; text-transform: uppercase; line-height: 1.05; }
.pin-date b { font-size: 1.25rem; }
.pin-ev { display: grid; font-size: .85rem; }
.pin-ev small { color: var(--text-faint); font-size: .72rem; }

@media (max-width: 900px) {
  .app { grid-template-columns: 1fr; border-radius: 22px; }
  .app-rev .app-copy { order: 0; }
  .app .app-visual, .app-rev .app-visual { order: -1; }
  .mock { min-height: 0; }
}
@media (max-width: 420px) {
  .bip-btn { position: static; margin-top: 12px; }
  .mock-bip { grid-template-columns: 1fr; }
  .bip-clock { grid-column: auto; }
  .ag-slots li { grid-template-columns: 44px 1fr; gap: 8px; }
}

/* 08. SOBRE -------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 48px 24px;
}
.about-head { grid-column: 1 / span 6; }
.about-body { grid-column: 8 / span 5; align-self: end; display: grid; gap: 18px; color: var(--text-soft); font-weight: 300; }
.about-statement { font-size: clamp(1.15rem, 1.7vw, 1.35rem); color: var(--navy); font-weight: 400; line-height: 1.5; }
.about-statement em { font-style: normal; font-weight: 600; background: linear-gradient(transparent 62%, var(--orange-soft) 62%); }
.pillars {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--navy);
  margin-top: 24px;
}
.pillar { padding: 32px 32px 8px 0; position: relative; }
.pillar + .pillar { padding-left: 32px; border-left: 1px solid var(--line); }
.pillar-n { display: inline-block; font-size: .78rem; font-weight: 600; color: var(--orange); margin-bottom: 40px; }
.pillar h3 { font-size: 1.6rem; font-weight: 600; letter-spacing: -0.035em; margin-bottom: 10px; }
.pillar p { color: var(--text-soft); font-weight: 300; max-width: 32ch; }

@media (max-width: 900px) {
  .about-head, .about-body { grid-column: 1 / -1; }
  .pillars { grid-template-columns: 1fr; }
  .pillar, .pillar + .pillar { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .pillar-n { margin-bottom: 14px; }
}

/* 09. PROCESSO ----------------------------------------------------------- */
.process { background: var(--surface); }
.steps {
  --progress: 0;
  position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  counter-reset: step;
}
.steps::before, .steps::after {
  content: ""; position: absolute; left: 0; right: 0; top: 27px; height: 2px;
  background: var(--line-strong);
}
.steps::after {
  background: var(--orange);
  transform-origin: left;
  transform: scaleX(var(--progress));
  transition: transform .2s linear;
}
.step { position: relative; z-index: 1; padding-right: 12px; }
.step-mark {
  display: grid; place-items: center;
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--white);
  border: 1.5px solid var(--line-strong);
  font-weight: 700; font-size: .95rem;
  margin-bottom: 28px;
  transition: background-color .4s, border-color .4s, color .4s, transform .4s var(--ease);
}
.step.is-on .step-mark { background: var(--navy); border-color: var(--navy); color: var(--white); transform: rotate(-6deg); }
.step.is-on .step-mark span { transform: rotate(6deg); display: block; }
.step h3 { font-size: 1.35rem; font-weight: 600; letter-spacing: -0.03em; margin-bottom: 8px; }
.step p { color: var(--text-soft); font-weight: 300; font-size: .95rem; }

@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 40px; padding-left: 0; }
  .steps::before, .steps::after { left: 27px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .steps::after { transform-origin: top; transform: scaleY(var(--progress)); }
  .step { display: grid; grid-template-columns: 56px 1fr; column-gap: 24px; }
  .step-mark { grid-row: span 2; margin-bottom: 0; }
}

/* 10. CTA ---------------------------------------------------------------- */
.cta { background: var(--navy); color: var(--white); position: relative; overflow: hidden; }
.cta::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--navy-line) 1px, transparent 1px), linear-gradient(90deg, var(--navy-line) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: .35;
  -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000 90%);
  mask-image: linear-gradient(90deg, transparent 20%, #000 90%);
}
.cta-inner { position: relative; padding-block: clamp(96px, 12vw, 160px); }
.cta-symbol {
  position: absolute; right: var(--gutter); top: 50%;
  width: clamp(180px, 26vw, 340px); height: auto;
  transform: translateY(-50%);
}
.cta-copy { max-width: 760px; position: relative; }
.cta-title { font-size: clamp(2.3rem, 5.6vw, 4.6rem); font-weight: 700; letter-spacing: -0.05em; line-height: 1.02; margin-bottom: 24px; text-wrap: balance; }
.cta-lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: rgba(255,255,255,.75); font-weight: 300; max-width: 540px; margin-bottom: 40px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 900px) {
  .cta-symbol { position: relative; right: auto; top: auto; transform: none; width: 96px; margin-bottom: 36px; }
}

/* 11. CONTATO E FORMULÁRIO ---------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact-info { position: sticky; top: calc(var(--header-h) + 32px); }
.contact-channels { display: grid; gap: 10px; margin-top: 40px; }
.channel {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; font-weight: 500;
  transition: border-color .25s, transform .3s var(--ease);
}
.channel:hover { border-color: var(--navy); transform: translateX(4px); }
.channel small { display: block; font-size: .72rem; color: var(--text-faint); font-weight: 500; letter-spacing: .04em; }
.channel > span:last-child { line-height: 1.35; overflow-wrap: anywhere; }
.channel-ico { width: 42px; height: 42px; border-radius: 12px; background: var(--surface); display: grid; place-items: center; flex: none; transition: background-color .25s, color .25s; }
.channel-ico svg { width: 20px; height: 20px; }
.channel:hover .channel-ico { background: var(--navy); color: var(--white); }
.contact-note { margin-top: 28px; font-size: .85rem; color: var(--text-faint); }

.proposal {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(24px, 4vw, 48px);
  box-shadow: var(--shadow-sm);
}
.form-required-note { font-size: .8rem; color: var(--text-faint); margin-bottom: 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 18px; }
.field { display: grid; gap: 8px; align-content: start; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: .875rem; font-weight: 500; }
.req { color: var(--orange); font-weight: 700; }
.opt { color: var(--text-faint); font-weight: 400; font-size: .8rem; }

.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  border: 1.5px solid var(--line-strong);
  border-radius: 12px;
  background: var(--white);
  font-size: 1rem;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 150px; line-height: 1.55; }
.field input::placeholder, .field textarea::placeholder { color: #9A9DAD; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #A9ADBE; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(19,22,41,.08);
}
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--error); }
.field.has-error input:focus, .field.has-error select:focus, .field.has-error textarea:focus { box-shadow: 0 0 0 4px rgba(194,38,27,.1); }
.field.is-valid input, .field.is-valid select, .field.is-valid textarea { border-color: #8FB8A4; }

.select-wrap { position: relative; }
.select-wrap::after {
  content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; margin-top: -6px;
  border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(45deg);
  pointer-events: none;
}
.select-wrap select { padding-right: 44px; cursor: pointer; }

.field-error { font-size: .8rem; color: var(--error); font-weight: 500; min-height: 0; }
.field-error:empty { display: none; }
.field-foot { display: flex; justify-content: space-between; gap: 12px; }
.counter { margin-left: auto; font-size: .75rem; color: var(--text-faint); font-variant-numeric: tabular-nums; }

.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.consent { display: grid !important; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: .875rem !important; font-weight: 400 !important; color: var(--text-soft); cursor: pointer; line-height: 1.55; }
.consent input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; }
.consent .check { width: 22px; height: 22px; border: 1.5px solid var(--line-strong); border-radius: 6px; display: grid; place-items: center; margin-top: 1px; transition: background-color .2s, border-color .2s; }
.consent .check svg { width: 14px; height: 14px; fill: none; stroke: var(--white); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 16; stroke-dashoffset: 16; transition: stroke-dashoffset .3s var(--ease); }
.consent input:checked + .check { background: var(--navy); border-color: var(--navy); }
.consent input:checked + .check svg { stroke-dashoffset: 0; }
.consent input:focus-visible + .check { outline: 2px solid var(--orange); outline-offset: 3px; }
.field.has-error .consent .check { border-color: var(--error); }
.consent a { color: var(--navy); font-weight: 500; text-underline-offset: 3px; }

.form-actions { margin-top: 32px; }
.btn-submit { width: 100%; min-height: 56px; font-size: 1rem; position: relative; }
.spinner { display: none; width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid rgba(19,22,41,.25); border-top-color: var(--navy); animation: spin .8s linear infinite; }
.btn-submit.is-loading { pointer-events: none; opacity: .92; }
.btn-submit.is-loading .spinner { display: inline-block; }

.form-status {
  margin-top: 20px; padding: 16px 18px; border-radius: 12px;
  font-size: .925rem; line-height: 1.55;
  display: flex; gap: 12px; align-items: flex-start;
}
.form-status:focus { outline: none; }
.form-status[hidden] { display: none; }
.form-status.is-success { background: #EAF6F0; color: var(--success); border: 1px solid #BFE3D0; }
.form-status.is-error { background: #FDF0EF; color: var(--error); border: 1px solid #F3C9C5; }
.form-status strong { display: block; color: inherit; }
.form-status a { color: inherit; font-weight: 600; }

@media (max-width: 960px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info { position: static; }
}
@media (max-width: 600px) {
  .form-grid { grid-template-columns: 1fr; }
}

/* 12. RODAPÉ E WHATSAPP FLUTUANTE --------------------------------------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.72); padding-top: clamp(64px, 8vw, 96px); font-size: .925rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.footer-brand p { max-width: 320px; margin-top: 18px; font-weight: 300; }
.footer-brand .signature { color: var(--white); font-weight: 500; font-size: .85rem; }
.footer-title { font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--white); margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { text-decoration: none; transition: color .2s; display: inline-flex; align-items: center; gap: 10px; overflow-wrap: anywhere; }
.footer-col a:hover { color: var(--white); }
.footer-col a:hover::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--orange); }
.footer-contact svg { width: 18px; height: 18px; flex: none; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; border-top: 1px solid var(--navy-line); padding-block: 24px; font-size: .825rem; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--white); }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 56px; height: 56px; border-radius: 18px;
  background: var(--navy); color: var(--white);
  display: grid; place-items: center;
  box-shadow: 0 10px 30px -8px rgba(19,22,41,.5);
  transition: transform .3s var(--ease), background-color .3s;
  animation: rise .6s var(--ease) 1.2s both;
}
.wa-float[hidden] { display: none; }
.wa-float svg { width: 26px; height: 26px; }
.wa-float::after { content: ""; position: absolute; top: 10px; right: 10px; width: 9px; height: 9px; border-radius: 50%; background: var(--orange); border: 2px solid var(--navy); }
.wa-float:hover { transform: translateY(-3px) rotate(-4deg); background: var(--navy-2); }

/* 13. ANIMAÇÕES ---------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(30px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes draw { from { transform: scaleX(0); opacity: 0; } to { transform: scaleX(1); opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(251,82,0,.55); }
  70% { box-shadow: 0 0 0 8px rgba(251,82,0,0); }
  100% { box-shadow: 0 0 0 0 rgba(251,82,0,0); }
}

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

/* ---------- Página de política de privacidade ---------- */
.legal { padding: calc(var(--header-h) + 64px) 0 var(--section-y); }
.legal-inner { max-width: 760px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 700; letter-spacing: -0.045em; line-height: 1.05; margin-bottom: 16px; }
.legal .updated { color: var(--text-faint); font-size: .875rem; margin-bottom: 48px; }
.legal h2 { font-size: 1.3rem; font-weight: 600; letter-spacing: -0.02em; margin: 44px 0 12px; }
.legal p, .legal li { color: var(--text-soft); font-weight: 300; }
.legal p + p { margin-top: 12px; }
.legal ul { list-style: disc; padding-left: 22px; display: grid; gap: 6px; margin-top: 12px; }
.legal .notice { background: var(--orange-soft); border-left: 3px solid var(--orange); padding: 16px 18px; border-radius: 0 10px 10px 0; color: var(--navy); font-size: .9rem; margin-bottom: 40px; }
.legal a { color: var(--navy); font-weight: 500; }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9rem; text-decoration: none; margin-bottom: 40px; }
.back-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transform: rotate(180deg); }
