/* =========================================================================
   DataGenesys — folha de estilo única
   Referência visual: consultoria de tecnologia B2B (rfxtech.com.br).
   Decisões documentadas em DESIGN.md.
   ========================================================================= */

/* ── Tokens ────────────────────────────────────────────────────────────── */
:root {
  /* superfícies claras, frias */
  --bg:          oklch(0.985 0.004 255);
  --paper:       oklch(1 0 0);
  --surface:     oklch(0.958 0.010 258);
  --hairline:    oklch(0.895 0.014 260);

  /* tinta */
  --ink:         oklch(0.215 0.040 264);
  --ink-soft:    oklch(0.330 0.040 264);
  --muted:       oklch(0.490 0.030 262);

  /* azuis da marca */
  --navy:        oklch(0.265 0.100 265);   /* faixa escura */
  --navy-deep:   oklch(0.205 0.075 265);   /* rodapé */
  --navy-line:   oklch(0.370 0.090 265);   /* bordas dentro do navy */
  --royal:       oklch(0.440 0.190 265);   /* cartão de destaque */
  --royal-text:  oklch(0.430 0.185 265);   /* azul legível sobre claro */
  --on-dark:     oklch(0.985 0.004 255);
  --on-dark-dim: oklch(0.835 0.045 262);

  /* ocre da DataGenesys: cor única de ação */
  --gold:        oklch(0.800 0.140 78);
  --gold-hover:  oklch(0.850 0.125 82);
  --logo-blue:   oklch(0.520 0.170 258);   /* azul do logo */
  --gold-deep:   oklch(0.540 0.120 68);    /* ocre como ícone sobre claro */

  --err: oklch(0.560 0.200 28);
  --ok:  oklch(0.500 0.130 150);

  /* tipografia */
  --font-sans: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --fs-display: clamp(2.375rem, 1.3rem + 3.4vw, 3.875rem);
  --fs-h2:      clamp(2rem, 1.35rem + 2.1vw, 3.15rem);
  --fs-h3:      clamp(1.15rem, 1.05rem + 0.35vw, 1.35rem);
  --fs-lead:    clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  --fs-body:    1rem;
  --fs-sm:      0.9375rem;
  --fs-xs:      0.8125rem;

  /* espaço e forma */
  --gutter: 1.25rem;
  --maxw:   1200px;
  --sp-1: 0.375rem; --sp-2: 0.625rem; --sp-3: 1rem;   --sp-4: 1.5rem;
  --sp-5: 2.25rem;  --sp-6: 3.25rem;  --sp-7: 5rem;
  --radius-sm: 8px;
  --radius:    12px;
  --radius-lg: 16px;
  --shadow-1: 0 1px 2px oklch(0.2 0.05 264 / 0.06), 0 8px 24px -12px oklch(0.2 0.05 264 / 0.14);
  --shadow-2: 0 2px 4px oklch(0.2 0.05 264 / 0.05), 0 24px 48px -24px oklch(0.2 0.08 264 / 0.28);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --z-header: 100;
  --z-nav-panel: 300;

  --arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8h10M9 4l4 4-4 4'/%3E%3C/svg%3E");
  --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E");
  --pennant: polygon(0 0, 100% 0, 100% 62%, 50% 100%, 0 62%);
}
@media (min-width: 768px) { :root { --gutter: 2rem; } }

/* ── Base ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5.5rem; scrollbar-color: oklch(0.78 0.02 262) var(--bg); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; padding: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-weight: 700; line-height: 1.08; letter-spacing: -0.035em; text-wrap: balance; }
h3 { line-height: 1.25; letter-spacing: -0.02em; }
p { text-wrap: pretty; }
::selection { background: oklch(0.88 0.10 82); color: var(--ink); }
input, textarea { caret-color: var(--royal); }
.mono { font-family: var(--font-mono); font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }

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

.skip-link {
  position: fixed; top: 0.5rem; left: 0.5rem; z-index: 999;
  padding: 0.625rem 1rem;
  background: var(--ink); color: var(--paper);
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm); font-weight: 600;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}
.skip-link:focus-visible { transform: none; }

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

.section { padding-block: clamp(4.5rem, 8.5vw, 8rem); }
.section--surface { background: var(--surface); }
.section__head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section__head--split { max-width: none; display: grid; gap: var(--sp-3) var(--sp-6); align-items: end; }
@media (min-width: 900px) { .section__head--split { grid-template-columns: 1.3fr 1fr; } }
.section__title { font-size: var(--fs-h2); }
.section__intro { margin-top: var(--sp-3); font-size: var(--fs-lead); color: var(--muted); max-width: 40rem; }
.section__head--split .section__intro { margin-top: 0; }

/* ícones em máscara: herdam a cor do texto */
.icon-arrow {
  display: inline-block; flex: none;
  width: 1em; height: 1em;
  background: currentColor;
  -webkit-mask: var(--arrow) center / contain no-repeat; mask: var(--arrow) center / contain no-repeat;
}

/* ── Botões e links de ação ────────────────────────────────────────────── */
.btn {
  --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.625rem;
  min-height: 2.75rem;
  padding: 0.625rem 1.25rem;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1px solid var(--btn-bd);
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm); font-weight: 600; letter-spacing: -0.01em; white-space: nowrap;
  text-decoration: none; cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.16s var(--ease);
}
.btn--lg { min-height: 3.25rem; padding-inline: 1.625rem; font-size: 1rem; }
.btn--block { width: 100%; }
.btn .icon-arrow { width: 1.05em; height: 1.05em; transition: transform 0.24s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(3px); }
.btn:active { transform: scale(0.96); }
.btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }

.btn--gold { --btn-bg: var(--gold); --btn-fg: var(--navy-deep); --btn-bd: var(--gold); }
.btn--gold:hover { --btn-bg: var(--gold-hover); --btn-bd: var(--gold-hover); }
.btn--navy { --btn-bg: var(--navy); --btn-fg: var(--on-dark); --btn-bd: var(--navy); }
.btn--navy:hover { --btn-bg: var(--royal); --btn-bd: var(--royal); }
.btn--ghost { --btn-bd: var(--hairline); --btn-bg: var(--paper); }
.btn--ghost:hover { --btn-bd: var(--ink); }

.link-action {
  display: inline-flex; align-items: center; gap: 0.5rem;
  min-height: 2.75rem;
  font-weight: 600; font-size: var(--fs-sm);
  color: var(--ink);
  text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 0.4em;
  transition: color 0.2s var(--ease);
}
.link-action .icon-arrow { transition: transform 0.24s var(--ease); }
.link-action:hover { color: var(--royal-text); }
.link-action:hover .icon-arrow { transform: translateX(3px); }

/* ── Cabeçalho ─────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: oklch(0.985 0.004 255 / 0.92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--hairline); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); min-height: 4.5rem; }
.site-header__actions { display: flex; align-items: center; gap: var(--sp-3); }

.brand { display: inline-flex; align-items: center; gap: 0.75rem; min-height: 2.75rem; text-decoration: none; flex-shrink: 0; }
.brand__logo { height: 2.25rem; width: auto; flex: none; overflow: visible; }
.logo-d { fill: #1b293b; }
.logo-g { fill: #0d59b5; }
.logo-bar0 { fill: #a2a8b0; }
.logo-bar1 { fill: #888f99; }
.logo-bar2 { fill: #67707a; }
.logo-bar3 { fill: #636c75; }
.brand__text { display: flex; flex-direction: column; justify-content: center; gap: 0.4rem; line-height: 1; }
.brand__name {
  font-family: "Montserrat", var(--font-sans); font-weight: 500;
  font-size: 1.0625rem; letter-spacing: 0.3em; color: var(--ink); white-space: nowrap;
}
.wm-a, .wm-e { display: inline-block; height: 0.7em; margin-right: 0.3em; }
.wm-a {
  width: 0.74em; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 74 70'%3E%3Cpath d='M3 70 37 3l34 67' fill='none' stroke='black' stroke-width='8.4'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 74 70'%3E%3Cpath d='M3 70 37 3l34 67' fill='none' stroke='black' stroke-width='8.4'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.wm-e {
  width: 0.56em;
  background:
    linear-gradient(var(--logo-blue), var(--logo-blue)) top / 100% 0.115em no-repeat,
    linear-gradient(var(--logo-blue), var(--logo-blue)) center / 100% 0.115em no-repeat,
    linear-gradient(var(--logo-blue), var(--logo-blue)) bottom / 100% 0.115em no-repeat;
}
.brand__desc { font-size: 0.5rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.brand__desc b { margin-inline: 0.55em; font-weight: 500; color: var(--logo-blue); }
.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; }

.nav { display: flex; align-items: center; gap: var(--sp-3); }
.nav__list { display: flex; align-items: center; gap: 0.125rem; margin-right: var(--sp-2); }
.nav__list a {
  display: inline-flex; align-items: center; min-height: 2.75rem;
  padding-inline: 0.75rem;
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm); font-weight: 500; white-space: nowrap;
  color: var(--ink-soft); text-decoration: none;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.nav__list a:hover { color: var(--ink); background: var(--surface); }

.lang-switch {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 2.75rem; min-height: 2.75rem; padding-inline: 0.5rem;
  font-family: var(--font-mono); font-size: var(--fs-xs); font-weight: 500;
  color: var(--ink-soft); text-decoration: none;
  border: 1px solid var(--hairline); border-radius: var(--radius-sm);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.lang-switch:hover { color: var(--ink); border-color: var(--ink); }

.nav-toggle {
  display: none;
  width: 2.75rem; height: 2.75rem;
  flex-direction: column; align-items: center; justify-content: center; gap: 0.375rem;
  background: var(--paper); border: 1px solid var(--hairline); border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-toggle__bar { width: 1.125rem; height: 1.5px; background: var(--ink); transition: transform 0.28s var(--ease); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:last-child  { transform: translateY(-3.75px) rotate(-45deg); }

@media (max-width: 1040px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; inset: 4.5rem 0 auto 0; z-index: var(--z-nav-panel);
    flex-direction: column; align-items: stretch; gap: var(--sp-3);
    padding: var(--sp-2) var(--gutter) var(--sp-5);
    background: var(--paper);
    border-bottom: 1px solid var(--hairline);
    box-shadow: var(--shadow-2);
    visibility: hidden; opacity: 0; transform: translateY(-0.75rem);
    transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), visibility 0.28s;
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; margin: 0 0 var(--sp-2); }
  .nav__list a { min-height: 3.25rem; padding-inline: 0; border-radius: 0; border-bottom: 1px solid var(--hairline); font-size: 1.0625rem; }
  .nav__list a:hover { background: none; }
  .nav .lang-switch { align-self: flex-start; }
  .nav .btn { min-height: 3.25rem; }
}

/* ── Herói ─────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(3rem, 7vw, 6.5rem) clamp(4rem, 8vw, 7rem);
  border-bottom: 1px solid var(--hairline);
}
.hero__grid { display: grid; gap: var(--sp-6); align-items: center; }
@media (min-width: 1000px) { .hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--sp-7); } }
.hero__title { font-size: var(--fs-display); letter-spacing: -0.045em; }
.hero__title em { font-style: normal; color: var(--royal-text); }
.hero__lead { margin-top: var(--sp-4); max-width: 36rem; font-size: var(--fs-lead); color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3) var(--sp-5); margin-top: var(--sp-5); }

.hero__aside { display: grid; gap: var(--sp-3); }

.hero__note { margin-top: var(--sp-4); font-size: var(--fs-sm); color: var(--muted); }

.provas {
  display: grid; gap: var(--sp-3);
  margin-top: var(--sp-6); padding-top: var(--sp-4);
  border-top: 1px solid var(--hairline);
}
@media (min-width: 768px) { .provas { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-5); } }
.provas li {
  display: grid; grid-template-columns: 1rem 1fr; gap: 0.625rem;
  font-size: var(--fs-sm); font-weight: 600; line-height: 1.45; color: var(--ink-soft);
}
.provas li::before {
  content: ""; width: 1rem; height: 1rem; margin-top: 0.15rem;
  background: var(--gold-deep);
  -webkit-mask: var(--check) center / contain no-repeat; mask: var(--check) center / contain no-repeat;
}
.frentes {
  background: var(--paper);
  border-radius: var(--radius-lg);
  box-shadow: 0 0 0 1px var(--hairline), var(--shadow-2);
  padding: var(--sp-2) var(--sp-4);
}
.frentes__label { padding-block: var(--sp-2) var(--sp-1); font-size: var(--fs-xs); font-weight: 600; color: var(--muted); }
.frentes li + li { border-top: 1px solid var(--hairline); }
.frentes a {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3);
  min-height: 3.75rem; padding-block: 0.75rem;
  font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.3;
  color: var(--ink); text-decoration: none;
  transition: color 0.2s var(--ease);
}
.frentes a .icon-arrow { width: 1.125rem; height: 1.125rem; color: var(--gold-deep); transition: transform 0.24s var(--ease); }
.frentes a:hover { color: var(--royal-text); }
.frentes a:hover .icon-arrow { transform: translateX(3px); }

.destaque {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  background: var(--royal);
  color: var(--on-dark);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: background-color 0.2s var(--ease), transform 0.16s var(--ease);
}
.destaque:hover { background: oklch(0.40 0.19 265); }
.destaque:active { transform: scale(0.98); }
.destaque:hover .icon-arrow { transform: translateX(3px); }
.destaque strong { display: block; font-size: 1.0625rem; letter-spacing: -0.015em; }
.destaque small { display: block; margin-top: 0.125rem; font-size: var(--fs-sm); color: var(--on-dark-dim); }
.destaque .icon-arrow { width: 1.25rem; height: 1.25rem; color: var(--gold); transition: transform 0.24s var(--ease); }
.destaque:focus-visible { outline-color: var(--gold); }

/* ── Serviços ──────────────────────────────────────────────────────────── */
.services { display: grid; gap: var(--sp-6) var(--sp-5); }
@media (min-width: 720px)  { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1140px) { .services { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-4); } }
.service { display: flex; flex-direction: column; padding-top: var(--sp-4); border-top: 2px solid var(--ink); }
.service__num { display: block; margin-bottom: var(--sp-3); font-family: var(--font-mono); font-size: var(--fs-xs); font-weight: 500; color: var(--gold-deep); }
.service__name { font-size: var(--fs-h3); margin-bottom: var(--sp-2); }
.service__body { display: flex; flex-direction: column; flex: 1; }
.service__body > p { color: var(--muted); font-size: var(--fs-sm); }
.deliverables { display: grid; gap: 0.5rem; margin-top: var(--sp-3); }
.deliverables li { display: grid; grid-template-columns: 1rem 1fr; gap: 0.625rem; font-size: var(--fs-sm); line-height: 1.5; }
.deliverables li::before {
  content: ""; width: 1rem; height: 1rem; margin-top: 0.15rem;
  background: var(--gold-deep);
  -webkit-mask: var(--check) center / contain no-repeat; mask: var(--check) center / contain no-repeat;
}
.service__link { margin-top: auto; padding-top: var(--sp-3); }

/* ── IA aplicada ───────────────────────────────────────────────────────── */
.ia-grid { display: grid; gap: var(--sp-3); }
@media (min-width: 640px)  { .ia-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .ia-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-4); } }
.ia-card {
  padding: var(--sp-4);
  background: var(--paper);
  border-radius: var(--radius-lg);
  box-shadow: 0 0 0 1px var(--hairline), var(--shadow-1);
}
.ia-card__icon {
  width: 2.75rem; height: 2.75rem; padding: 0.65rem; margin-bottom: var(--sp-4);
  border-radius: var(--radius-sm);
  background: oklch(0.44 0.19 265 / 0.08);
  color: var(--royal-text);
}
.ia-card__name { font-size: 1.125rem; margin-bottom: var(--sp-1); }
.ia-card p { font-size: var(--fs-sm); color: var(--muted); }
.ia-cta { margin-top: var(--sp-4); }

/* ── Processo (faixa navy) ─────────────────────────────────────────────── */
.section--navy { background: var(--navy); color: var(--on-dark); }
.section--navy :focus-visible { outline-color: var(--gold); }
.section--navy .section__title { color: var(--on-dark); }
.section--navy .section__intro { color: var(--on-dark-dim); }
.steps { display: grid; gap: var(--sp-3); }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-4); } }
.step {
  padding: var(--sp-5) var(--sp-4) var(--sp-4);
  background: oklch(0.30 0.10 265);
  border: 1px solid var(--navy-line);
  border-radius: var(--radius-lg);
}
.step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; margin-bottom: var(--sp-4);
  border-radius: var(--radius-sm);
  background: oklch(0.80 0.14 78 / 0.14);
  color: var(--gold);
  font-family: var(--font-mono); font-size: var(--fs-sm); font-weight: 500;
}
.step__name { font-size: var(--fs-h3); color: var(--on-dark); margin-bottom: var(--sp-2); }
.step p { color: var(--on-dark-dim); font-size: var(--fs-sm); }

/* ── Oferta: diagnóstico (cartão royal) ────────────────────────────────── */
.oferta {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; gap: var(--sp-6);
  padding: clamp(1.75rem, 5vw, 4rem);
  background: var(--royal);
  color: var(--on-dark);
  border-radius: var(--radius-lg);
}
@media (min-width: 960px) { .oferta { grid-template-columns: 1.05fr 1fr; gap: var(--sp-7); } }
.oferta .section__title { color: var(--on-dark); }
.oferta .section__intro { color: var(--on-dark-dim); margin-bottom: var(--sp-5); }
.oferta :focus-visible { outline-color: var(--gold); }

.ficha { display: grid; }
.ficha__row { display: grid; gap: 0.125rem var(--sp-4); padding-block: var(--sp-3); border-bottom: 1px solid var(--hairline); }
.ficha__row:first-child { padding-top: 0; }
.ficha__row:last-child { border-bottom: 0; padding-bottom: 0; }
@media (min-width: 520px) { .ficha__row { grid-template-columns: 8rem 1fr; } }
.ficha dt { font-size: var(--fs-xs); font-weight: 600; color: var(--muted); padding-top: 0.15em; }
.ficha dd { font-size: var(--fs-sm); }
.ficha dd .deliverables { margin-top: 0; }

.oferta .ficha { align-self: center; padding: var(--sp-4); background: oklch(0.36 0.17 265); border-radius: var(--radius); }
@media (min-width: 520px) { .oferta .ficha { padding: var(--sp-5); } }
.oferta .ficha__row { border-color: oklch(1 0 0 / 0.14); }
.oferta .ficha dt { color: var(--on-dark-dim); }
.oferta .ficha dd { color: var(--on-dark); }
.oferta .deliverables li::before { background: var(--gold); }

/* ── Quem somos ────────────────────────────────────────────────────────── */
.sobre { display: grid; gap: var(--sp-6); align-items: center; }
@media (min-width: 960px) { .sobre { grid-template-columns: 1fr 1fr; gap: var(--sp-7); } }
.sobre__text > p:not(.section__intro) { margin-top: var(--sp-3); color: var(--muted); max-width: 36rem; }
.ficha--empresa {
  padding: var(--sp-4);
  background: var(--paper);
  border-radius: var(--radius-lg);
  box-shadow: 0 0 0 1px var(--hairline), var(--shadow-1);
}
@media (min-width: 520px) { .ficha--empresa { padding: var(--sp-5); } }
.ficha--empresa dd { color: var(--ink); font-weight: 500; }

/* ── Perguntas frequentes ──────────────────────────────────────────────── */
@media (min-width: 960px) {
  .faq-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: var(--sp-7); align-items: start; }
  .faq-wrap .section__head { position: sticky; top: 6.5rem; margin-bottom: 0; }
}
.faq { border-top: 1px solid var(--hairline); }
.faq__item { border-bottom: 1px solid var(--hairline); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
  min-height: 4rem; padding-block: var(--sp-3);
  font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.35;
  cursor: pointer; list-style: none;
  transition: color 0.2s var(--ease);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; flex: none; width: 1.75rem; height: 1.75rem;
  border-radius: 50%;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 0.75rem 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1.5px 0.75rem no-repeat,
    var(--surface);
  transition: transform 0.24s var(--ease), background-color 0.2s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item summary:hover { color: var(--royal-text); }
.faq__item p { padding-bottom: var(--sp-4); max-width: 44rem; color: var(--muted); }

/* ── Contato ───────────────────────────────────────────────────────────── */
.contato__grid { display: grid; gap: var(--sp-5); align-items: start; }
@media (min-width: 960px) { .contato__grid { grid-template-columns: 1fr 1.3fr; gap: var(--sp-7); } }
.contato__title { font-size: var(--fs-h2); }
.contato__intro > p:not(.canais__title) { margin-top: var(--sp-3); font-size: var(--fs-lead); color: var(--muted); max-width: 32rem; }

.form {
  display: grid; gap: var(--sp-4);
  padding: clamp(1.25rem, 3.5vw, 2.5rem);
  background: var(--paper);
  border-radius: var(--radius-lg);
  box-shadow: 0 0 0 1px var(--hairline), var(--shadow-2);
  container-type: inline-size; container-name: form;
}
.field { display: grid; gap: 0.375rem; }
.field-row { display: grid; gap: var(--sp-4); }
@container form (min-width: 460px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label { font-size: var(--fs-sm); font-weight: 600; color: var(--ink); }
.field__opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 0.875rem;
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s var(--ease);
}
.field textarea { resize: vertical; min-height: 8rem; line-height: 1.6; }
.field select {
  appearance: none; cursor: pointer; padding-right: 2.5rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-soft) 50%), linear-gradient(135deg, var(--ink-soft) 50%, transparent 50%);
  background-position: calc(100% - 1.125rem) 52%, calc(100% - 0.75rem) 52%;
  background-size: 0.375rem 0.375rem; background-repeat: no-repeat;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: oklch(0.78 0.02 262); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: none; background-color: var(--paper);
  border-color: var(--royal);
  box-shadow: 0 0 0 3px oklch(0.44 0.19 265 / 0.18);
}
.field__error { font-size: var(--fs-xs); font-weight: 600; color: var(--err); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--err); box-shadow: inset 0 0 0 1px var(--err); }

.field--check { grid-template-columns: 1.25rem 1fr; column-gap: 0.75rem; align-items: start; }
.field--check input { width: 1.25rem; height: 1.25rem; min-height: 0; margin: 0.15rem 0 0; padding: 0; accent-color: var(--royal); cursor: pointer; }
.field--check label { font-weight: 400; font-size: var(--fs-sm); color: var(--muted); line-height: 1.55; }
.field--check label a { color: var(--ink); text-underline-offset: 2px; }
.field--check .field__error { grid-column: 2; }
.field--check.has-error input { outline: 2px solid var(--err); outline-offset: 2px; box-shadow: none; }

.form__status { font-size: var(--fs-sm); font-weight: 600; min-height: 1.4em; }
.form__status:empty { display: none; }
.form__status.is-ok { color: var(--ok); }
.form__status.is-error { color: var(--err); }
.form__note { font-size: var(--fs-xs); color: var(--muted); }

.canais__title { margin-top: var(--sp-6); margin-bottom: var(--sp-3); font-size: var(--fs-sm); font-weight: 600; color: var(--ink); }
.canais { display: grid; gap: var(--sp-2); }
@media (min-width: 560px) and (max-width: 959px) { .canais { grid-template-columns: 1fr 1fr; } }
.canal {
  display: grid; grid-template-columns: 2.5rem 1fr; column-gap: var(--sp-3); align-items: center;
  padding: 0.75rem var(--sp-3);
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: 0 0 0 1px var(--hairline);
}
.canal__icon {
  grid-row: 1 / span 2;
  width: 2.5rem; height: 2.5rem; padding: 0.6rem;
  border-radius: var(--radius-sm);
  background: oklch(0.44 0.19 265 / 0.08);
  color: var(--royal-text);
}
.canal dt { font-size: var(--fs-xs); font-weight: 600; color: var(--muted); line-height: 1.4; }
.canal dd { font-size: var(--fs-sm); font-weight: 600; color: var(--ink); line-height: 1.4; overflow-wrap: anywhere; }
.canal dd a { text-decoration: none; transition: color 0.2s var(--ease); }
.canal dd a:hover { color: var(--royal-text); text-decoration: underline; text-underline-offset: 2px; }

/* ── Rodapé ────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--navy-deep);
  color: var(--on-dark-dim);
  padding-block: clamp(3.5rem, 6vw, 5rem) var(--sp-4);
  font-size: var(--fs-sm);
}
.site-footer :focus-visible { outline-color: var(--gold); }
.site-footer__grid { display: grid; gap: var(--sp-5) var(--sp-5); grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
@media (min-width: 1000px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1.1fr 1.3fr; } }
.site-footer__brand { display: flex; flex-wrap: wrap; align-items: center; align-content: start; gap: 0.75rem; }
.site-footer .logo-d { fill: var(--on-dark); }
.site-footer .logo-g { fill: oklch(0.70 0.14 255); }
.site-footer .brand__name { color: var(--on-dark); }
.site-footer .wm-e { --logo-blue: oklch(0.70 0.14 255); }
.site-footer .brand__desc { color: var(--on-dark-dim); }
.site-footer .brand__desc b { color: oklch(0.70 0.14 255); }
.site-footer .logo-bar0 { fill: oklch(0.45 0.05 262); }
.site-footer .logo-bar1 { fill: oklch(0.52 0.05 262); }
.site-footer .logo-bar2, .site-footer .logo-bar3 { fill: oklch(0.62 0.05 262); }
.site-footer__tagline { flex-basis: 100%; margin-top: var(--sp-2); max-width: 30ch; }
.site-footer__heading { margin-bottom: var(--sp-2); font-size: var(--fs-xs); font-weight: 600; color: var(--gold); }
.site-footer a { display: inline-flex; align-items: center; min-height: 2.5rem; color: var(--on-dark); text-decoration: none; overflow-wrap: anywhere; transition: color 0.2s var(--ease); }
.site-footer a:hover { color: var(--gold); }
.site-footer__col li:not(:has(a)) { padding-block: 0.5rem; }
.site-footer__legal { padding-top: 0.5rem; font-size: var(--fs-xs); line-height: 1.8; }
.site-footer__bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-1) var(--sp-4);
  margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: var(--sp-3);
  border-top: 1px solid var(--navy-line);
  font-size: var(--fs-xs);
}
.site-footer__bottom ul { display: flex; flex-wrap: wrap; gap: 0 var(--sp-4); }

/* ── Página legal (privacidade) ────────────────────────────────────────── */
.legal { padding-block: clamp(3rem, 6vw, 5.5rem); }
.legal__body { max-width: 68ch; }
.legal__body h1 { font-size: var(--fs-h2); }
.legal__meta { margin-top: var(--sp-3); font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--muted); }
.legal__body h2 { font-size: var(--fs-h3); margin-top: var(--sp-6); padding-top: var(--sp-4); border-top: 1px solid var(--hairline); }
.legal__body p, .legal__body ul { margin-top: var(--sp-3); color: var(--ink-soft); }
.legal__body ul { display: grid; gap: 0.375rem; }
.legal__body li { display: grid; grid-template-columns: 1rem 1fr; gap: 0.625rem; }
.legal__body li::before { content: ""; width: 1rem; height: 1rem; margin-top: 0.3rem; background: var(--gold-deep); -webkit-mask: var(--check) center / contain no-repeat; mask: var(--check) center / contain no-repeat; }
.legal__body a { color: var(--royal-text); text-underline-offset: 2px; }
.rule { display: block; width: 2.5rem; height: 3px; border-radius: 2px; background: var(--gold); margin-bottom: var(--sp-4); }

/* ── WhatsApp fixo ──────────────────────────────────────────────────────── */
.whats {
  position: fixed; z-index: 90;
  right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; gap: 0.5rem;
  min-height: 3.25rem; padding: 0 1.25rem 0 1rem;
  border-radius: 999px;
  background: var(--navy); color: var(--on-dark);
  font-size: var(--fs-sm); font-weight: 600; text-decoration: none;
  box-shadow: var(--shadow-2);
  transition: background-color 0.2s var(--ease), transform 0.16s var(--ease);
}
.whats:hover { background: var(--navy-deep); }
.whats:active { transform: scale(0.97); }
.whats:focus-visible { outline-color: var(--gold); }
.whats svg { width: 1.375rem; height: 1.375rem; flex: none; color: #25d366; }
@media (max-width: 599px) {
  .whats { width: 3.25rem; padding: 0; justify-content: center; }
  .whats span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media print { .whats { display: none; } }

/* ── Movimento ─────────────────────────────────────────────────────────────
   Conteúdo visível por padrão. O estado oculto só existe com <html class="anim">,
   que o JS aplica quando não há prefers-reduced-motion.
   ───────────────────────────────────────────────────────────────────────── */
.anim .stagger { opacity: 0; transform: translateY(0.875rem); animation: rise 0.8s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 80ms + 60ms); }
@keyframes rise { to { opacity: 1; transform: none; } }
.anim .reveal { opacity: 0; transform: translateY(1rem); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.anim .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
