/* ==========================================================================
   FIX Consulting — folha de estilos
   Identidade: azul-marinho + azul FIX + branco · Montserrat
   ========================================================================== */

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Cores */
  --ink: #071a2c;
  --ink-2: #0b2540;
  --ink-3: #12365a;
  --accent: #3ac4e4;
  --accent-soft: #a3e3f2;
  --accent-deep: #00789a;
  --paper: #f1f5f9;
  --white: #ffffff;
  --text: #15222e;
  --muted: #52606d;
  --line: #d8e2ea;
  --line-dark: rgba(163, 227, 242, 0.18);
  --on-dark: #e5edf4;
  --on-dark-muted: #9fb3c4;

  /* Tipografia */
  --font-display: "Montserrat", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-body: "Montserrat", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  /* Espaçamento (base 8px) */
  --s1: 0.5rem;
  --s2: 1rem;
  --s3: 1.5rem;
  --s4: 2rem;
  --s5: 3rem;
  --s6: 4rem;
  --s7: 6rem;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(7, 26, 44, 0.05), 0 12px 32px -12px rgba(7, 26, 44, 0.18);
  --header-h: 76px;
  --container: 1200px;
}

/* Base ------------------------------------------------------------------ */

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent-deep); text-underline-offset: 3px; }
a:hover { color: var(--ink); }

h1, h2, h3, h4 { margin: 0 0 var(--s2); line-height: 1.2; color: var(--ink); letter-spacing: -0.01em; }

p { margin: 0 0 var(--s2); }

ul, ol { padding-left: 1.25rem; }

strong { font-weight: 600; }

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

::selection { background: var(--accent-soft); color: var(--ink); }

.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;
}

.skip-link {
  position: absolute; left: var(--s2); top: -100px; z-index: 100;
  background: var(--accent); color: var(--ink); padding: var(--s1) var(--s2);
  border-radius: var(--radius-sm); font-weight: 600;
}
.skip-link:focus { top: var(--s2); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; }
.container--narrow { max-width: 880px; }

.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; }
.icon--xs { width: 0.9em; height: 0.9em; }
.icon--lg { width: 2.25rem; height: 2.25rem; }

.text-accent { color: var(--accent); }

/* Tipografia de seção ---------------------------------------------------- */

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.75rem;
  margin: 0 0 var(--s2);
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent-deep);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow--light { color: var(--accent); }

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.75rem, 1.2rem + 2vw, 2.6rem);
  letter-spacing: 0.01em;
}
.section-title--light { color: var(--white); }

.section-lead { font-size: 1.075rem; color: var(--muted); max-width: 72ch; }

.section-head { margin-bottom: var(--s5); max-width: 820px; }
.section-head--center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head--center .eyebrow::before { display: none; }

/* Botões ------------------------------------------------------------------ */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 52px; padding: 0.85rem 1.6rem;
  font: 600 0.9rem/1 var(--font-body); letter-spacing: 0.04em;
  text-decoration: none; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--sm { min-height: 42px; padding: 0.6rem 1.15rem; font-size: 0.85rem; }

.btn--accent { background: var(--accent); color: var(--ink); }
.btn--accent:hover { background: var(--accent-soft); color: var(--ink); }

.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: var(--ink-3); color: var(--white); }

.btn--outline-light { border-color: rgba(239, 231, 218, 0.4); color: var(--on-dark); }
.btn--outline-light:hover { border-color: var(--accent); color: var(--accent-soft); }

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

.btn--ghost { background: transparent; border-color: var(--line-dark); color: var(--on-dark); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-soft); }

/* Barra regulatória -------------------------------------------------------- */

.regbar {
  background: #04111e;
  color: var(--on-dark-muted);
  font-size: 0.78rem;
  line-height: 1.5;
  border-bottom: 1px solid var(--line-dark);
}
.regbar__inner { display: flex; align-items: flex-start; gap: 0.6rem; padding-top: 0.6rem; padding-bottom: 0.6rem; }
.regbar__icon { color: var(--accent); margin-top: 0.1rem; }
.regbar p { margin: 0; }
.regbar strong { color: var(--on-dark); font-weight: 600; }
.regbar a { color: var(--accent); font-weight: 600; white-space: nowrap; }
.regbar a:hover { color: var(--accent-soft); }

/* Cabeçalho ---------------------------------------------------------------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 26, 44, 0.94);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line-dark);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.brand__logo { width: 172px; height: auto; }
.brand__name {
  display: flex; flex-direction: column;
  font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; line-height: 1;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent);
}
.brand__name small { font-size: 0.62rem; letter-spacing: 0.5em; color: var(--on-dark-muted); margin-top: 0.35rem; font-weight: 500; }

.nav { display: flex; align-items: center; gap: var(--s3); }
.nav__list { display: flex; gap: 0.25rem; list-style: none; margin: 0; padding: 0; }
.nav__link {
  display: block; padding: 0.5rem 0.75rem; border-radius: 999px;
  color: var(--on-dark); text-decoration: none; font-size: 0.875rem; font-weight: 500;
  transition: color .2s ease, background-color .2s ease;
}
.nav__link:hover { color: var(--accent-soft); background: rgba(255, 255, 255, 0.04); }
.nav__link.is-active { color: var(--accent); }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 12px;
  background: transparent; border: 1px solid var(--line-dark); color: var(--on-dark); cursor: pointer;
}
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: inline-flex; }

@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: var(--s2);
    padding: var(--s2) 1.25rem var(--s3);
    background: var(--ink); border-bottom: 1px solid var(--line-dark);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav__list { flex-direction: column; }
  .nav__link { padding: 0.85rem 0.5rem; border-radius: 0; border-bottom: 1px solid var(--line-dark); font-size: 1rem; }
  .nav__cta { align-self: flex-start; }
}

/* Hero --------------------------------------------------------------------- */

.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 90% at 85% 10%, #123d63 0%, var(--ink-2) 45%, var(--ink) 100%);
  color: var(--on-dark);
  padding: var(--s6) 0 var(--s7);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(163, 227, 242, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(163, 227, 242, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(80% 70% at 70% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(80% 70% at 70% 30%, #000 20%, transparent 75%);
}
.hero__glow {
  position: absolute; width: 620px; height: 620px; right: -120px; top: -160px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 146, 185, 0.32), transparent 65%);
  pointer-events: none;
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.25fr 0.9fr; gap: var(--s6); align-items: center; }

.hero__title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2rem, 1.2rem + 2.6vw, 3.1rem);
  line-height: 1.12; color: var(--white); margin-bottom: var(--s3);
}
.hero__lead { font-size: 1.1rem; color: var(--on-dark-muted); max-width: 60ch; margin-bottom: var(--s4); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s2); margin-bottom: var(--s4); }
.hero__facts { display: flex; flex-wrap: wrap; gap: 0.75rem 1.75rem; list-style: none; padding: 0; margin: 0; font-size: 0.9rem; }
.hero__facts li { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--on-dark); }
.hero__facts .icon { color: var(--accent); }

.hero__panel { display: flex; flex-direction: column; align-items: center; gap: var(--s3); }
.hero__logo { width: min(300px, 70%); filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5)); }
.hero__panel-box {
  width: 100%; padding: var(--s3);
  border: 1px solid var(--line-dark); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
}
.hero__panel-label { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin-bottom: var(--s2); font-weight: 600; }
.hero__inst { list-style: none; margin: 0 0 var(--s2); padding: 0; }
.hero__inst li { display: flex; flex-direction: column; padding: 0.7rem 0; border-top: 1px solid var(--line-dark); }
.hero__inst li:first-child { border-top: 0; padding-top: 0; }
.hero__inst strong { color: var(--white); font-weight: 600; }
.hero__inst span { font-size: 0.82rem; color: var(--on-dark-muted); }
.hero__verify { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; font-weight: 600; color: var(--accent); text-decoration: none; }
.hero__verify:hover { color: var(--accent-soft); }

/* Hero interno (páginas) ------------------------------------------------- */

.page-hero {
  position: relative; overflow: hidden;
  background: radial-gradient(100% 120% at 90% 0%, #0f3558 0%, var(--ink-2) 50%, var(--ink) 100%);
  color: var(--on-dark); padding: var(--s6) 0 var(--s5);
}
.page-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: 0.5;
}
.page-hero__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); color: var(--white); margin-bottom: var(--s2); }
.page-hero__lead { max-width: 70ch; color: var(--on-dark-muted); font-size: 1.05rem; margin: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; padding: 0; margin: 0 0 var(--s3); font-size: 0.8rem; color: var(--on-dark-muted); }
.breadcrumb a { color: var(--accent); text-decoration: none; }
.breadcrumb li + li::before { content: "/"; margin-right: 0.4rem; opacity: 0.5; }

/* Seções -------------------------------------------------------------------- */

.section { padding: var(--s7) 0; }
.section--paper { background: var(--paper); }
.section--dark { background: var(--ink); color: var(--on-dark); }
.section--tight { padding: var(--s6) 0; }

.note {
  display: flex; gap: 0.75rem; align-items: flex-start;
  margin: var(--s4) 0 0; padding: var(--s2) var(--s3);
  border-left: 3px solid var(--accent); background: var(--white); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.92rem; color: var(--muted);
}
.note .icon { color: var(--accent-deep); margin-top: 0.2rem; }

/* Cartões de instituição ---------------------------------------------------- */

.inst-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s3); }
.inst-card {
  display: flex; flex-direction: column; gap: var(--s2);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--s4); box-shadow: var(--shadow);
}
.inst-card__head { padding-bottom: var(--s2); border-bottom: 1px solid var(--line); }
.inst-card__tag { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-deep); }
.inst-card__name { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; margin: 0.4rem 0 0; }
.inst-card__legal { margin: 0 0 0.25rem; font-weight: 600; color: var(--text); }
.inst-card__meta { font-size: 0.85rem; color: var(--muted); margin: 0; }
.inst-card__services { font-size: 0.92rem; color: var(--muted); margin: 0; }
.inst-card__services strong { color: var(--text); }
.inst-card__channels { margin: 0; display: grid; gap: 0.5rem; }
.inst-card__channels div { display: grid; grid-template-columns: 11rem 1fr; gap: var(--s2); padding: 0.55rem 0; border-top: 1px dashed var(--line); font-size: 0.9rem; }
.inst-card__channels dt { color: var(--muted); }
.inst-card__channels dd { margin: 0; font-weight: 600; color: var(--text); overflow-wrap: anywhere; }
.inst-card__channels .is-ouvidoria { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0.75rem; }
.inst-card__channels .is-ouvidoria dt { color: var(--accent-deep); font-weight: 600; }
.inst-card__channels .is-ouvidoria dd { font-size: 1.05rem; }
.inst-card__channels small { display: block; font-size: 0.78rem; font-weight: 400; color: var(--muted); }
.inst-card__links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; margin: auto 0 0; font-size: 0.88rem; font-weight: 600; }
.inst-card__links a { display: inline-flex; align-items: center; gap: 0.35rem; }

/* Custos -------------------------------------------------------------------- */

.cost { padding: var(--s6) 0; background: linear-gradient(135deg, var(--ink) 0%, var(--ink-3) 100%); }
.cost__inner { display: grid; grid-template-columns: 0.8fr 1.6fr; gap: var(--s5); align-items: center; }
.cost .section-title { margin: 0; }
.cost__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); }
.cost__item { padding: var(--s3); border: 1px solid var(--line-dark); border-radius: var(--radius); background: rgba(255, 255, 255, 0.02); }
.cost__num { display: block; font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--accent); margin-bottom: var(--s1); line-height: 1.1; }
.cost__item p { font-size: 0.9rem; color: var(--on-dark-muted); margin: 0; }
.cost__item strong { color: var(--white); }

/* Cartões ------------------------------------------------------------------- */

.cards { display: grid; gap: var(--s3); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  position: relative; display: flex; flex-direction: column;
  padding: var(--s4); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.card:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-2px); }
.card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; margin-bottom: var(--s3); border-radius: 16px;
  background: var(--ink); color: var(--accent);
}
.card__icon .icon { width: 26px; height: 26px; }
.card__title { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; }
.card p { color: var(--muted); font-size: 0.95rem; }
.card ul { color: var(--muted); font-size: 0.95rem; padding-left: 1.1rem; margin: 0 0 var(--s2); }
.card ul li + li { margin-top: 0.35rem; }
.card__link { margin-top: auto; display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600; font-size: 0.9rem; text-decoration: none; }
.card__link .icon { transition: transform .2s ease; }
.card__link:hover .icon { transform: translateX(3px); }

/* Passos -------------------------------------------------------------------- */

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s3); counter-reset: none; }
.step { position: relative; padding: var(--s4) var(--s3) var(--s3); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.step__n { display: block; font-family: var(--font-display); font-size: 2.25rem; font-weight: 700; color: var(--accent); line-height: 1; margin-bottom: var(--s2); }
.step__title { font-size: 1.05rem; font-weight: 700; }
.step p { font-size: 0.92rem; color: var(--muted); margin: 0; }

/* Split / equipe ------------------------------------------------------------ */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s6); align-items: center; }
.checklist { list-style: none; padding: 0; margin: var(--s3) 0 var(--s4); }
.checklist li { display: flex; gap: 0.6rem; align-items: flex-start; padding: 0.35rem 0; }
.checklist .icon { color: var(--accent-deep); margin-top: 0.25rem; }

.team-mini { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); }
.team-mini__item { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--ink); aspect-ratio: 3 / 4; }
.team-mini__item:nth-child(2) { transform: translateY(var(--s4)); }
.team-mini__item img { width: 100%; height: 100%; object-fit: cover; }
.team-mini__item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: var(--s3) var(--s2) var(--s2);
  background: linear-gradient(transparent, rgba(7, 26, 44, 0.92)); color: var(--white);
  display: flex; flex-direction: column; line-height: 1.3;
}
.team-mini__item figcaption span { font-size: 0.8rem; color: var(--accent-soft); }

.team { display: grid; gap: var(--s4); }
.member { display: grid; grid-template-columns: 300px 1fr; gap: var(--s4); align-items: start; padding: var(--s4); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.member__photo { border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 3 / 4; background: var(--ink); }
.member__photo img { width: 100%; height: 100%; object-fit: cover; }
.member__role { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 0.25rem; }
.member__name { font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; margin-bottom: 0.25rem; }
.member__spec { color: var(--muted); font-style: italic; margin-bottom: var(--s2); }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); }
.value { padding: var(--s3); border-top: 2px solid var(--accent); background: var(--white); border-radius: 0 0 var(--radius-sm) var(--radius-sm); }
.value h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; }
.value p { font-size: 0.93rem; color: var(--muted); margin: 0; }

/* FAQ ----------------------------------------------------------------------- */

.faq { display: grid; gap: 0.75rem; }
.faq__item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); transition: border-color .2s ease; }
.faq__item[open] { border-color: var(--accent); }
.faq__item summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 1.1rem 3.25rem 1.1rem 1.35rem; font-weight: 600; color: var(--ink);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; position: absolute; right: 1.35rem; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--accent-deep); border-bottom: 2px solid var(--accent-deep);
  transform: rotate(45deg); transition: transform .2s ease;
}
.faq__item[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq__item p { padding: 0 1.35rem 1.2rem; margin: 0; color: var(--muted); }

/* Faixa CTA ----------------------------------------------------------------- */

.cta-band { background: linear-gradient(120deg, #3ac4e4 0%, #74d5ec 50%, #b9eaf5 100%); color: var(--ink); padding: var(--s5) 0; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); flex-wrap: wrap; }
.cta-band__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.1rem); margin-bottom: 0.25rem; }
.cta-band p { margin: 0; font-weight: 500; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: var(--s2); }

/* Conteúdo textual (políticas) ---------------------------------------------- */

.prose { max-width: 820px; }
.prose h2 { font-family: var(--font-display); font-weight: 600; font-size: 1.45rem; margin-top: var(--s5); padding-top: var(--s2); border-top: 1px solid var(--line); }
.prose h2:first-of-type { margin-top: 0; border-top: 0; padding-top: 0; }
.prose h3 { font-size: 1.08rem; font-weight: 700; margin-top: var(--s4); }
.prose p, .prose li { color: #2b3947; overflow-wrap: break-word; }
.prose a { overflow-wrap: anywhere; }
.prose ul, .prose ol { margin: 0 0 var(--s2); }
.prose li + li { margin-top: 0.4rem; }
.prose table { width: 100%; border-collapse: collapse; margin: var(--s2) 0 var(--s3); font-size: 0.92rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 0.75rem; border: 1px solid var(--line); }
.prose th { background: var(--paper); font-weight: 600; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.updated { display: inline-block; font-size: 0.85rem; color: var(--muted); background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 0.35rem 0.9rem; margin-bottom: var(--s4); }

.doc-layout { display: grid; grid-template-columns: 260px 1fr; gap: var(--s6); align-items: start; }
.doc-layout > * { min-width: 0; }
.doc-spacer { min-height: 1px; }
.toc { position: sticky; top: calc(var(--header-h) + var(--s3)); font-size: 0.88rem; padding: var(--s3); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.toc p { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: var(--s1); }
.toc ol { margin: 0; padding-left: 1.1rem; }
.toc li + li { margin-top: 0.35rem; }
.toc a { color: var(--text); text-decoration: none; }
.toc a:hover { color: var(--accent-deep); text-decoration: underline; }

.callout { display: flex; gap: var(--s2); padding: var(--s3); border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); margin: var(--s3) 0; }
.callout .icon { color: var(--accent-deep); width: 1.5rem; height: 1.5rem; margin-top: 0.15rem; }
.callout p:last-child { margin: 0; }
.callout--warn { background: #fbf3e0; border-color: #ecd49d; }

/* Contato ------------------------------------------------------------------- */

.contact-layout { display: grid; grid-template-columns: 1.3fr 0.9fr; gap: var(--s5); align-items: start; }
.form { display: grid; gap: var(--s3); padding: var(--s4); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label, .field legend { font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.field .req { color: #a2361f; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 0.75rem 0.95rem;
  font: 400 1rem/1.4 var(--font-body); color: var(--text);
  background: var(--white); border: 1px solid #c2cfdb; border-radius: var(--radius-sm);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent-deep); box-shadow: 0 0 0 3px rgba(0, 146, 185, 0.25); }
.field__hint { font-size: 0.8rem; color: var(--muted); }
.consent { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 0.88rem; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin-top: 0.15rem; accent-color: var(--accent-deep); flex-shrink: 0; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.alert { display: flex; gap: 0.75rem; padding: var(--s2) var(--s3); border-radius: var(--radius-sm); font-size: 0.95rem; margin-bottom: var(--s3); }
.alert p { margin: 0; }
.alert--ok { background: #eef6ec; border: 1px solid #b9d9b1; color: #1f4d1a; }
.alert--erro { background: #fbeeea; border: 1px solid #eab9ab; color: #7a2413; }

.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s2); }
.info-list li { display: flex; gap: var(--s2); align-items: flex-start; padding: var(--s2) var(--s3); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.info-list .icon { color: var(--accent-deep); margin-top: 0.2rem; }
.info-list strong { display: block; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.info-list span, .info-list a { font-weight: 500; }

.channels { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s3); counter-reset: ch; }
.channel { position: relative; padding: var(--s4) var(--s3) var(--s3); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.channel__n { position: absolute; top: -14px; left: var(--s3); display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--accent); font-weight: 700; font-size: 0.8rem; }
.channel h3 { font-size: 1.05rem; font-weight: 700; }
.channel p { font-size: 0.9rem; color: var(--muted); }
.channel p:last-child { margin: 0; }

/* Rodapé -------------------------------------------------------------------- */

.site-footer { background: var(--ink); color: var(--on-dark-muted); padding: var(--s6) 0 var(--s4); font-size: 0.9rem; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 0.8fr 1fr 1.3fr; gap: var(--s5); padding-bottom: var(--s5); border-bottom: 1px solid var(--line-dark); }
.footer-brand img { width: 150px; margin-bottom: var(--s3); }
.footer-id { margin: 0; display: grid; gap: 0.5rem; }
.footer-id dt { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.footer-id dd { margin: 0; color: var(--on-dark); font-weight: 500; }
.footer-title { font-family: var(--font-body); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin-bottom: var(--s2); }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.footer-links a, .footer-contact a { color: var(--on-dark); text-decoration: none; }
.footer-links a:hover, .footer-contact a:hover { color: var(--accent-soft); text-decoration: underline; }
.footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.85rem; }
.footer-contact li { display: flex; gap: 0.65rem; align-items: flex-start; }
.footer-contact .icon { color: var(--accent); margin-top: 0.2rem; }
.footer-legal { padding-top: var(--s4); font-size: 0.8rem; line-height: 1.7; }
.footer-legal a { color: var(--accent); }
.footer-copy { margin: var(--s2) 0 0; color: #8398aa; }

/* WhatsApp flutuante ------------------------------------------------------- */

.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  display: inline-flex; align-items: center; justify-content: center;
  width: 58px; height: 58px; border-radius: 50%;
  background: #1f8f4e; color: #fff; box-shadow: 0 10px 24px -6px rgba(0, 0, 0, 0.45);
  transition: transform .2s ease, background-color .2s ease;
}
.wa-float:hover { transform: scale(1.06); background: #177a41; color: #fff; }
.wa-float .icon { width: 30px; height: 30px; }

/* Aviso de cookies ---------------------------------------------------------- */

.cookie-banner {
  position: fixed; left: 20px; bottom: 20px; z-index: 70; max-width: 460px;
  padding: var(--s3); border-radius: var(--radius);
  background: var(--ink-2); color: var(--on-dark); border: 1px solid var(--line-dark);
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.5); font-size: 0.88rem;
}
.cookie-banner a { color: var(--accent); }
.cookie-banner__actions { display: flex; gap: 0.75rem; justify-content: flex-end; }

/* Responsivo ---------------------------------------------------------------- */

@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: var(--s5); }
  .hero__panel { flex-direction: row; align-items: center; }
  .hero__logo { width: 180px; }
  .cost__inner { grid-template-columns: 1fr; gap: var(--s4); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .channels { grid-template-columns: repeat(2, 1fr); row-gap: var(--s4); }
  .doc-layout { grid-template-columns: 1fr; gap: var(--s4); }
  .toc { position: static; }
  .doc-spacer { display: none; }
  .member { grid-template-columns: 220px 1fr; }
}

@media (max-width: 860px) {
  :root { --header-h: 68px; }
  .section { padding: var(--s6) 0; }
  .inst-grid, .cards--3, .cards--2, .cost__grid, .values { grid-template-columns: 1fr; }
  .split, .contact-layout { grid-template-columns: 1fr; gap: var(--s5); }
  .team-mini__item:nth-child(2) { transform: none; }
  .member { grid-template-columns: 1fr; }
  .member__photo { max-width: 280px; }
}

@media (max-width: 640px) {
  .container { padding: 0 1rem; }
  .regbar { font-size: 0.72rem; }
  .brand__logo { width: 140px; }
  .brand__name { font-size: 1.15rem; }
  .hero { padding: var(--s5) 0 var(--s6); }
  .hero__panel { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .steps, .channels { grid-template-columns: 1fr; }
  .form { padding: var(--s3); }
  .form__row { grid-template-columns: 1fr; }
  .inst-card { padding: var(--s3); }
  .inst-card__channels div { grid-template-columns: 1fr; gap: 0.15rem; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--s4); }
  .cta-band__actions, .cta-band__actions .btn { width: 100%; }
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; max-width: none; }
  .wa-float { width: 52px; height: 52px; right: 14px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

@media print {
  .regbar, .site-header, .wa-float, .cookie-banner, .cta-band, .toc { display: none !important; }
  .page-hero { background: none; color: #000; padding: 0 0 1rem; }
  .page-hero__title { color: #000; }
}
