/* MMGT Consultor Legal — protótipo estático (rascunho, não publicado)
   Paleta e tipografia: guia de identidade de 12/11/2026 e Análise Mark de 22/11/2026.
   Grade de 8px. Contraste conferido no guia (WCAG 2.2, 1.4.3). */

:root {
  --navy: #003366;
  --navy-deep: #012C57;
  --accent: #005B99;
  --ink: #0D141A;
  --line: #B8C0CC;
  --mist: #F0F0F0;
  --white: #FFFFFF;
  --pending-bg: #EEF3F8;
  --max: 1120px;
  --pad-x: 40px;
  --radius: 6px;
  --header-h: 72px;
  --shadow: 0 1px 0 rgba(13, 20, 26, 0.06);
  --focus: 0 0 0 3px rgba(0, 91, 153, 0.35);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy-deep); }

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

.skip {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 200;
  background: var(--navy);
  color: var(--white);
  padding: 8px 16px;
  border-radius: var(--radius);
}
.skip:focus { top: 16px; }

/* —— Protótipo —— */
.prototype-bar {
  background: var(--navy-deep);
  color: var(--white);
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
  padding: 8px 16px;
}

/* —— Layout —— */
.wrap {
  width: min(var(--max), 100% - (var(--pad-x) * 2));
  margin-inline: auto;
}

.section {
  padding: 80px 0;
}
.section--mist { background: var(--mist); }
.section--navy { background: var(--navy); color: var(--white); }
.section--navy a { color: #D6E6F5; }
.section--navy a:hover { color: var(--white); }

.section-kicker {
  font-family: Outfit, Inter, sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 12px;
}
.section--navy .section-kicker { color: #9EC4E0; }

h1, h2, h3, .logo-mark, .btn, .nav a, .drop-toggle {
  font-family: Outfit, Inter, sans-serif;
  font-weight: 600;
  line-height: 1.25;
  color: inherit;
}

h1 {
  font-weight: 700;
  font-size: 48px;
  line-height: 1.15;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}
h2 { font-size: 32px; margin: 0 0 16px; letter-spacing: -0.015em; }
h3 { font-size: 24px; margin: 0 0 12px; }

p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }

.lead { font-size: 20px; line-height: 1.55; max-width: 42rem; }
.muted { color: #3A4650; }
.small { font-size: 14px; line-height: 1.5; }

/* —— Header —— */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s ease;
}
.header.is-scrolled { box-shadow: 0 8px 24px rgba(1, 44, 87, 0.08); }

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 10px;
  text-decoration: none;
  color: var(--navy);
  flex-shrink: 0;
}
.logo:hover { color: var(--navy-deep); }
.logo-mark {
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.04em;
  line-height: 1;
}
.logo-text {
  font-family: Outfit, Inter, sans-serif;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.01em;
  color: var(--accent);
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav a, .drop-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  background: none;
  border: 0;
  cursor: pointer;
  border-radius: var(--radius);
}
.nav a:hover, .drop-toggle:hover { color: var(--accent); }
.nav a[aria-current="page"] {
  color: var(--accent);
  box-shadow: inset 0 -2px 0 var(--accent);
  border-radius: 0;
}

.nav-drop { position: relative; }
.drop-menu {
  display: none;
  position: absolute;
  top: calc(100% - 4px);
  left: 0;
  min-width: 280px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(1, 44, 87, 0.1);
  padding: 8px;
  z-index: 120;
}
.nav-drop.is-open .drop-menu,
.nav-drop:hover .drop-menu { display: block; }
.drop-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 4px;
  box-shadow: none;
}
.drop-menu a:hover { background: var(--mist); color: var(--navy); }
.drop-toggle svg { width: 12px; height: 12px; }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}
.menu-toggle svg { width: 22px; height: 22px; color: var(--navy); }

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn--primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn--primary:hover { background: var(--navy-deep); color: var(--white); border-color: var(--navy-deep); }
.btn--secondary {
  background: var(--white);
  color: var(--navy);
  border-color: var(--navy);
}
.btn--secondary:hover { background: var(--mist); color: var(--navy); }
.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}
.btn--ghost:hover { background: rgba(255,255,255,0.1); color: var(--white); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* —— Hero —— */
.hero {
  background: var(--navy);
  color: var(--white);
  padding: 96px 0 88px;
}
.hero .lead { color: #E8EEF4; }
.hero h1 { max-width: 16ch; }
.hero-meta {
  font-size: 15px;
  color: #C5D5E4;
  margin: 0 0 20px;
}
.hero--page { padding: 72px 0 56px; }
.hero--page h1 { max-width: 22ch; }

/* —— Cards —— */
.grid {
  display: grid;
  gap: 24px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
}
.section--mist .card { border-color: transparent; box-shadow: 0 1px 0 rgba(13,20,26,0.04); }
.card h3 { margin: 0; font-size: 20px; color: var(--navy); }
.card p { margin: 0; font-size: 16px; color: #2A333B; flex: 1; }
.card .more {
  font-family: Outfit, Inter, sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--accent);
  text-decoration: none;
  margin-top: 8px;
}
.card .more:hover { color: var(--navy-deep); }
.card-icon {
  width: 40px;
  height: 40px;
  color: var(--accent);
  margin-bottom: 4px;
}
.card-icon svg { width: 40px; height: 40px; }

.steps { counter-reset: step; display: grid; gap: 16px; }
.step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: start;
  padding: 8px 0;
}
.step-n {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-family: Outfit, Inter, sans-serif;
  font-weight: 600;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step h3 { margin: 4px 0 6px; font-size: 20px; color: var(--navy); }
.step p { margin: 0; font-size: 16px; }

.list-plain, .list-check {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}
.list-plain li, .list-check li {
  position: relative;
  padding: 8px 0 8px 28px;
  font-size: 17px;
}
.list-plain li::before, .list-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.list-check li::before {
  width: 12px;
  height: 6px;
  border-radius: 0;
  background: none;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
  top: 16px;
}

/* —— Area pages —— */
.crumb {
  font-size: 14px;
  margin: 0 0 20px;
  color: #5A6670;
}
.crumb a { color: #5A6670; text-decoration: none; }
.crumb a:hover { color: var(--accent); }
.crumb span { margin: 0 8px; color: var(--line); }

.prose { max-width: 46rem; }
.prose h2 { margin-top: 40px; color: var(--navy); }
.prose h3 { margin-top: 28px; color: var(--navy-deep); }
.prose ul { margin: 0 0 20px; padding-left: 1.2em; }
.prose li { margin: 0 0 8px; }

.faq { margin-top: 16px; border-top: 1px solid var(--line); }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}
.faq summary {
  font-family: Outfit, Inter, sans-serif;
  font-weight: 600;
  font-size: 18px;
  cursor: pointer;
  padding: 16px 0;
  list-style: none;
  color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  float: right;
  font-weight: 500;
  color: var(--accent);
}
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 16px; margin: 0; font-size: 17px; }

.office-box {
  margin-top: 48px;
  padding: 28px;
  background: var(--mist);
  border-radius: 8px;
}
.office-box h2 { margin-top: 0; font-size: 22px; }

/* —— Forms —— */
.form {
  display: grid;
  gap: 16px;
  max-width: 36rem;
}
.field { display: grid; gap: 6px; }
.field label {
  font-size: 14px;
  font-weight: 500;
}
.field .hint { font-size: 14px; color: #5A6670; }
.field input, .field select, .field textarea {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 12px;
  background: var(--white);
  width: 100%;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: var(--focus);
}
.consent {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 14px;
  line-height: 1.5;
}
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--navy); }
.form-note, .form-warn {
  font-size: 14px;
  color: #3A4650;
  margin: 0;
}
.form-warn { padding: 12px 14px; background: var(--mist); border-radius: var(--radius); }
.form-ok {
  display: none;
  padding: 20px;
  background: var(--mist);
  border-left: 3px solid var(--navy);
  border-radius: var(--radius);
}
.form-ok.is-visible { display: block; }
.form.is-sent .form-fields { display: none; }

.pending {
  display: inline;
  background: var(--pending-bg);
  color: var(--navy);
  border-bottom: 1px dashed var(--accent);
  padding: 0 4px;
  font-weight: 500;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.address p { margin: 0 0 8px; }
.address h2, .address h3 { margin-top: 28px; }

/* —— Landing —— */
.path-cards .card { min-height: 180px; }
.tool-list { display: grid; gap: 12px; }
.tool {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px 24px;
  align-items: start;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.tool h3 { margin: 0 0 6px; font-size: 20px; }
.tool p { margin: 0; font-size: 16px; }
.tool a { font-size: 14px; font-family: Outfit, Inter, sans-serif; font-weight: 600; text-decoration: none; white-space: nowrap; }
.signals { display: grid; gap: 16px; }
.signal {
  padding: 20px 24px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--white);
}
.signal h3 { margin: 0 0 8px; font-size: 18px; }
.signal p, .signal ul { margin: 0; font-size: 16px; }
.signal--info { border-left: 3px solid var(--accent); }
.signal--note { border-left: 3px solid var(--line); background: var(--mist); }

.sources {
  font-size: 14px;
  color: #3A4650;
}
.sources ul { padding-left: 1.15em; margin: 8px 0 0; }
.sources a { color: var(--accent); }

/* —— Blog placeholder —— */
.empty {
  padding: 48px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  text-align: center;
  background: var(--white);
}
.empty h2 { font-size: 24px; }

/* —— Footer —— */
.footer {
  background: var(--navy-deep);
  color: #E8EEF4;
  padding: 56px 0 32px;
  font-size: 14px;
  line-height: 1.55;
}
.footer a { color: #D6E6F5; text-decoration: none; }
.footer a:hover { color: var(--white); text-decoration: underline; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer h2 {
  font-size: 16px;
  margin: 0 0 12px;
  color: var(--white);
}
.footer p { margin: 0 0 8px; }
.footer-nav { display: grid; gap: 6px; }
.footer-copy {
  border-top: 1px solid rgba(184, 192, 204, 0.25);
  padding-top: 20px;
  display: grid;
  gap: 8px;
  color: #C5D5E4;
}

/* —— Responsive —— */
@media (max-width: 900px) {
  :root { --pad-x: 24px; }
  h1 { font-size: 32px; }
  h2 { font-size: 26px; }
  h3 { font-size: 20px; }
  body { font-size: 16px; }
  .lead { font-size: 18px; }
  .section { padding: 48px 0; }
  .hero { padding: 64px 0 56px; }
  .hero--page { padding: 48px 0 40px; }
  .grid-3, .grid-4, .grid-2, .split, .footer-grid {
    grid-template-columns: 1fr;
  }
  .tool { grid-template-columns: 1fr; }
  .menu-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    top: calc(var(--header-h) + 1px);
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 24px 20px;
    gap: 0;
    box-shadow: 0 16px 32px rgba(1, 44, 87, 0.08);
  }
  body.nav-open .nav { display: flex; }
  .nav-drop { width: 100%; }
  .drop-menu {
    position: static;
    display: block;
    border: 0;
    box-shadow: none;
    padding: 0 0 8px 12px;
    min-width: 0;
  }
  .header { position: sticky; }
  .header-inner { position: relative; }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .nav a, .drop-toggle { padding: 10px 8px; font-size: 14px; }
}
