/* Sowell — tema claro e jurídico: branco/marfim, títulos em serifa, azul da marca como destaque */

:root {
  --white: #ffffff;
  --ivory: #faf9f6;
  --tint: #f1f6fa;
  --line: #e4e7eb;
  --line-strong: #d3d9df;
  --text: #1d2a36;
  --muted: #5d6b78;
  --blue: #3bb8ff;        /* azul da logo: detalhes, linhas, o "S" */
  --blue-ink: #0f6fae;    /* azul para texto e botões (contraste AA) */
  --blue-deep: #0b5a8f;
  --blue-soft: #e8f5fe;
  --radius: 4px;
  --radius-lg: 6px;
  --max: 1160px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-brand: "Montserrat", system-ui, sans-serif;
  --shadow: 0 24px 48px -32px rgba(29, 42, 54, 0.28);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  margin: 0;
  letter-spacing: -0.005em;
  color: var(--text);
}

p { margin: 0; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Marca ---------- */

.brand {
  font-family: var(--font-brand);
  font-weight: 500;
  font-size: 27px;
  letter-spacing: 0.03em;
  color: var(--text);
  line-height: 1;
}
.brand .s { color: var(--blue); }

/* ---------- Header ---------- */

.topbar {
  background: var(--ivory);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 38px;
  gap: 16px;
}
.topbar a:hover { color: var(--blue-ink); }
.topbar-links { display: flex; gap: 24px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav { display: flex; align-items: center; gap: 34px; }
.nav a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
  position: relative;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1.5px;
  background: var(--blue);
}
.nav a.btn-primary, .nav a.btn-primary:hover { color: var(--white); }

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--text);
  padding: 8px;
  cursor: pointer;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  padding: 15px 28px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary { background: var(--blue-ink); color: var(--white); }
.btn-primary:hover { background: var(--blue-deep); }
.btn-ghost { border-color: var(--line-strong); color: var(--text); background: var(--white); }
.btn-ghost:hover { border-color: var(--blue-ink); color: var(--blue-ink); }
.btn-dark { border-color: var(--line-strong); color: var(--text); background: transparent; }
.btn-dark:hover { border-color: var(--blue-ink); color: var(--blue-ink); }
.btn-sm { padding: 10px 18px; font-size: 14px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  color: var(--blue-ink);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.2s; }
.link-arrow:hover svg { transform: translateX(3px); }

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

.section { padding: 112px 0; }
.section--tight { padding: 80px 0; }
.section--ivory { background: var(--ivory); }
.section--tint { background: var(--tint); }
.section--rule { border-top: 1px solid var(--line); }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-ink);
}
.kicker::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--blue);
}

.h-xl { font-size: clamp(2.7rem, 5.6vw, 4.4rem); font-weight: 500; }
.h-lg { font-size: clamp(2.1rem, 3.8vw, 3rem); font-weight: 500; }
.h-md { font-size: 1.55rem; font-weight: 600; }
.accent { color: var(--blue-ink); font-style: italic; }

.lead { font-size: 1.12rem; color: var(--muted); max-width: 640px; }
.muted { color: var(--muted); }

.section-head { max-width: 700px; margin-bottom: 60px; }
.section-head h2 { margin-top: 18px; }
.section-head .lead { margin-top: 18px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .lead { margin-left: auto; margin-right: auto; }
.section-head--center .kicker::after { content: ""; width: 32px; height: 1px; background: var(--blue); }

/* ---------- Hero (início) ---------- */

.hero {
  position: relative;
  background: var(--white);
  padding: 96px 0 104px;
  overflow: hidden;
}
.hero::before {
  /* linhas finas de fundo, como papel pautado técnico */
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(29, 42, 54, 0.045) 1px, transparent 1px);
  background-size: calc((min(100vw, 1160px) - 48px) / 6) 100%;
  background-position: center;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 90%);
  mask-image: linear-gradient(to bottom, #000, transparent 90%);
  pointer-events: none;
}
.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 72px;
  align-items: center;
}
.hero h1 { margin-top: 26px; }
.hero .lead { margin-top: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

/* Cartão ilustrativo de "certificado de registro" */
.certificate {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 36px 34px 30px;
  box-shadow: var(--shadow);
}
.certificate::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid var(--line);
  border-radius: 3px;
  pointer-events: none;
}
.certificate-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.certificate-head small {
  display: block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.certificate-head strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  margin-top: 4px;
}
.seal {
  flex: none;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 1px solid var(--blue);
  display: grid;
  place-items: center;
  color: var(--blue-ink);
}
.seal svg { width: 28px; height: 28px; }
.certificate dl { margin: 18px 0 0; display: grid; gap: 0; }
.certificate dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14.5px;
}
.certificate dt { color: var(--muted); }
.certificate dd { margin: 0; font-weight: 600; text-align: right; }
.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #12805c;
}
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.certificate-foot {
  margin-top: 18px;
  font-size: 12.5px;
  color: var(--muted);
  font-style: italic;
}

/* Faixa de fatos técnicos */
.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--ivory); }
.facts .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 34px 28px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--blue-ink);
  line-height: 1.1;
}
.fact span { display: block; margin-top: 6px; font-size: 14px; color: var(--muted); line-height: 1.5; }

/* ---------- Hero das páginas internas ---------- */

.page-hero {
  position: relative;
  background: var(--ivory);
  border-bottom: 1px solid var(--line);
  padding: 96px 0 84px;
}
.page-hero h1 { margin-top: 22px; max-width: 820px; }
.page-hero .lead { margin-top: 22px; }
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 28px; }
.breadcrumb a:hover { color: var(--blue-ink); }

/* ---------- Cards ---------- */

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

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 2px solid var(--blue);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: box-shadow 0.25s;
}
.card:hover { box-shadow: var(--shadow); }
.card h3 { margin-top: 22px; }
.card p { margin-top: 12px; color: var(--muted); font-size: 15.5px; }

.icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--blue-soft);
  color: var(--blue-ink);
  flex: none;
}
.icon svg { width: 22px; height: 22px; }

/* ---------- Bloco dividido ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.split h2 { margin-top: 18px; }
.split .lead { margin-top: 20px; }

.checklist { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist svg { flex: none; width: 20px; height: 20px; color: var(--blue-ink); margin-top: 4px; }

/* Lista numerada de diferenciais */
.numbered { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.numbered li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.numbered .n { font-family: var(--font-display); font-size: 1.5rem; color: var(--blue-ink); line-height: 1.2; }
.numbered h3 { font-size: 1.35rem; }
.numbered p { margin-top: 6px; color: var(--muted); font-size: 15.5px; }

/* ---------- Processo ---------- */

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-strong); }
.step { position: relative; padding: 34px 28px 10px 0; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--line); }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 500;
  color: var(--blue);
  line-height: 1;
}
.step h3 { margin-top: 18px; font-size: 1.35rem; }
.step p { margin-top: 10px; font-size: 15px; color: var(--muted); }

.timeline { display: grid; max-width: 820px; }
.timeline-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 26px;
  padding-bottom: 38px;
  position: relative;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: 31px;
  top: 64px;
  bottom: 0;
  width: 1px;
  background: var(--line-strong);
}
.timeline-item:last-child::before { display: none; }
.timeline-num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  background: var(--white);
  border: 1px solid var(--blue);
  color: var(--blue-ink);
}
.timeline-item h3 { font-size: 1.4rem; margin-top: 10px; }
.timeline-item p { margin-top: 8px; color: var(--muted); }

/* ---------- Equipe ---------- */

.team-teaser { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.person-card {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 28px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  transition: box-shadow 0.25s;
}
.person-card:hover { box-shadow: var(--shadow); }
.person-card img { width: 150px; height: 170px; object-fit: cover; object-position: top; border-radius: 2px; }
.person-card .role { color: var(--blue-ink); font-weight: 600; font-size: 14px; margin-top: 6px; }
.person-card .cred { color: var(--muted); font-size: 14px; margin-top: 2px; }
.person-card .link-arrow { margin-top: 14px; font-size: 14px; }

.profile {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 72px;
  align-items: start;
  padding: 96px 0;
  border-bottom: 1px solid var(--line);
}
.profile:last-of-type { border-bottom: 0; }
.profile--reverse { grid-template-columns: 1fr 360px; }
.profile--reverse .profile-photo { order: 2; }
.profile-photo { position: sticky; top: 120px; }
.profile-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top;
  border-radius: 2px;
  background: var(--ivory);
}
.profile-photo .badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.badge {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 2px;
  border: 1px solid var(--line-strong);
  color: var(--text);
  background: var(--white);
}
.profile h2 { font-size: clamp(2.2rem, 3.4vw, 2.9rem); font-weight: 500; }
.profile .role { font-weight: 600; color: var(--blue-ink); margin-top: 8px; }
.profile .bio { margin-top: 22px; color: var(--muted); }
.profile .bio + .bio { margin-top: 14px; }
.cv { margin-top: 40px; display: grid; gap: 32px; }
.cv h3 {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.cv ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 16px; }
.cv li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; }
.cv li .when { font-weight: 600; font-size: 14px; color: var(--blue-ink); }
.cv li strong { font-weight: 600; display: block; }
.cv li span { color: var(--muted); font-size: 15px; }
.cv--simple li { grid-template-columns: 1fr; gap: 2px; }

/* Texto ainda a preencher */
.todo {
  background: #fff5d1;
  border-radius: 2px;
  padding: 0 4px;
  color: #6b5200;
}

/* ---------- Valores ---------- */

.values { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-strong); }
.value { padding: 34px 32px 0 0; }
.value + .value { padding-left: 32px; border-left: 1px solid var(--line); }
.value h3 { font-size: 1.45rem; }
.value p { margin-top: 10px; color: var(--muted); font-size: 15.5px; }

/* ---------- Detalhe do terno ---------- */

.emblem {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 36px;
  align-items: center;
  max-width: 760px;
  margin: 0 auto;
  padding: 32px 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.emblem img { width: 150px; filter: grayscale(0.15); }
.emblem h3 { font-size: 1.45rem; }
.emblem p { margin-top: 8px; color: var(--muted); font-size: 15.5px; }

.terno-feature { margin: 44px 0 0; max-width: 320px; }
.terno-feature img { width: 100%; filter: grayscale(0.1); }
.terno-feature figcaption {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--muted);
}

@media (max-width: 760px) { .terno-feature { max-width: 240px; margin-top: 36px; } }

.footer-emblem { width: 64px; opacity: 0.85; margin-top: 22px; }

/* ---------- Serviços ---------- */

.service {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 28px;
  align-items: start;
  padding: 40px 0;
  border-top: 1px solid var(--line);
}
.service:last-child { border-bottom: 1px solid var(--line); }
.service .icon { width: 56px; height: 56px; }
.service .icon svg { width: 26px; height: 26px; }
.service h3 { font-size: 1.7rem; font-weight: 500; }
.service p { margin-top: 10px; color: var(--muted); max-width: 640px; }
.service ul { margin: 14px 0 0; padding-left: 18px; color: var(--muted); font-size: 15.5px; }
.service ul li::marker { color: var(--blue); }
.service ul li + li { margin-top: 4px; }
.service .btn { align-self: center; }

/* ---------- Trabalhos ---------- */

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line); }
.stat { padding: 34px 28px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat:first-child { padding-left: 0; }
.stat strong { font-family: var(--font-display); font-weight: 500; font-size: 3rem; color: var(--blue-ink); display: block; line-height: 1.1; }
.stat span { color: var(--muted); font-size: 15px; }

.client-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.client {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 24px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 170px;
}
.client .seg { font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--muted); font-weight: 600; }
.client h3 { font-size: 1.45rem; font-weight: 500; }
.client p { font-size: 14.5px; color: var(--muted); margin-top: auto; }

.case {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  padding: 48px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
}
.case + .case { margin-top: 24px; }
.case h3 { font-size: 1.85rem; font-weight: 500; margin-top: 16px; }
.case dl { margin: 0; display: grid; gap: 20px; }
.case dt { font-weight: 600; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue-ink); }
.case dd { margin: 4px 0 0; color: var(--muted); }

.quote {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 34px 30px;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.quote::before {
  content: "\201C";
  font-family: var(--font-display);
  font-size: 84px;
  line-height: 0.6;
  color: var(--blue);
  height: 36px;
}
.quote blockquote { margin: 0; font-family: var(--font-display); font-size: 1.3rem; line-height: 1.5; color: var(--text); flex: 1; }
.quote figcaption { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); font-weight: 600; font-size: 15px; }
.quote figcaption span { display: block; font-weight: 400; font-size: 14px; color: var(--muted); margin-top: 2px; }

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

.faq { max-width: 820px; border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--blue-ink);
  transition: transform 0.2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; color: var(--muted); max-width: 720px; }

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

.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 12px; }
.contact-list a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color 0.2s;
}
.contact-list a:hover { border-color: var(--blue); }
.contact-list small { display: block; color: var(--muted); font-size: 13px; }
.contact-list strong { font-weight: 600; }

.form {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
  display: grid;
  gap: 18px;
}
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-weight: 600; font-size: 14px; }
.field input, .field select, .field textarea {
  font: inherit;
  font-size: 16px;
  padding: 13px 15px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue-ink);
  box-shadow: 0 0 0 3px rgba(59, 184, 255, 0.2);
}
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 13.5px; color: var(--muted); }

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

.cta {
  position: relative;
  border-radius: var(--radius);
  background: var(--tint);
  border: 1px solid #d7e6f1;
  padding: 64px;
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 40px;
  align-items: center;
}
.cta::before {
  content: "";
  position: absolute;
  left: 64px;
  top: 0;
  width: 64px;
  height: 2px;
  background: var(--blue);
}
.cta p { color: var(--muted); margin-top: 16px; max-width: 560px; }
.cta .actions { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }

/* ---------- Footer ---------- */

.site-footer { background: var(--ivory); border-top: 1px solid var(--line); color: var(--muted); padding: 76px 0 32px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
.footer-grid h4 {
  font-family: var(--font-body);
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid a:hover { color: var(--blue-ink); }
.footer-grid .tagline { margin-top: 18px; max-width: 340px; }
.footer-bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13.5px;
}

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

.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 28px -10px rgba(29, 42, 54, 0.45);
  transition: transform 0.2s;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 28px; height: 28px; }

/* ---------- Animação de entrada ---------- */

.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}

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

@media (max-width: 1000px) {
  .grid-4, .client-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero .container, .split, .contact-grid, .cta { grid-template-columns: 1fr; }
  .hero .container { gap: 56px; }
  .certificate { max-width: 480px; }
  .facts .container { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(3) { border-left: 0; padding-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .profile, .profile--reverse { grid-template-columns: 1fr; gap: 40px; }
  .profile--reverse .profile-photo { order: 0; }
  .profile-photo { position: static; max-width: 360px; }
  .case { grid-template-columns: 1fr; gap: 28px; }
  .team-teaser { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .section { padding: 80px 0; }
  .topbar { display: none; }
  .menu-toggle { display: block; }
  .nav {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 8px 16px 20px;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; font-size: 16px; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"]::after { display: none; }
  .nav a[aria-current="page"] { color: var(--blue-ink); }
  .nav .btn { margin-top: 16px; border-bottom: 0; }
  .grid-2, .grid-3, .grid-4, .steps, .client-grid, .stat-row, .values, .footer-grid { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 28px 0 8px; border-left: 0; border-bottom: 1px solid var(--line); }
  .value, .value + .value { padding: 28px 0 0; border-left: 0; }
  .stat, .stat + .stat { padding: 24px 0; border-left: 0; }
  .stat + .stat { border-top: 1px solid var(--line); }
  .hero { padding: 64px 0 72px; }
  .fact { padding: 22px 12px; min-width: 0; }
  .fact strong { font-size: 1.55rem; }
  .person-card { grid-template-columns: 96px 1fr; gap: 18px; padding: 14px; }
  .person-card img { width: 96px; height: 116px; }
  .service { grid-template-columns: 1fr; gap: 18px; }
  .service .btn { justify-self: start; }
  .form { padding: 24px; }
  .form .row { grid-template-columns: 1fr; }
  .cta { padding: 44px 24px; }
  .cta::before { left: 24px; }
  .case { padding: 28px 22px; }
  .cv li { grid-template-columns: 1fr; gap: 2px; }
  .emblem { grid-template-columns: 1fr; padding: 24px; gap: 20px; }
  .emblem img { width: 120px; }
  .certificate { padding: 28px 22px 24px; }
}

/* ---------- Marca d'água do hero ---------- */

.hero--guilloche::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/guilloche.svg") center / cover no-repeat;
  opacity: 0.09;
  pointer-events: none;
}
/* conteúdo do hero (texto e cartão) fica por cima da gravura */
.hero--guilloche .container { z-index: 1; }
