/* ---- Lato — SIL Open Font License 1.1 — arquivos locais (subset latin) ---- */
@font-face {
  font-family: "Lato";
  src: url("../fonts/lato-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lato";
  src: url("../fonts/lato-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lato";
  src: url("../fonts/lato-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* ---- STIX Two Text — SIL Open Font License 1.1 — arquivos locais (subset latin) ---- */
@font-face {
  font-family: "STIX Two Text";
  src: url("../fonts/stixtwo-regular.woff2")
    format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "STIX Two Text";
  src: url("../fonts/stixtwo-medium.woff2")
    format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "STIX Two Text";
  src: url("../fonts/stixtwo-bold.woff2")
    format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "STIX Two Text";
  src: url("../fonts/stixtwo-italic.woff2")
    format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
:root {
  /* Paleta monocromática baseada na cor da marca, RGB(89, 95, 117)
     (#595f75) — um cinza-azulado. O logo mantém as cores originais. */
  --ink: #2b2e3a;
  --ink-rgb: 43 46 58;
  --ink-2: #23262f;
  --ink-3: #363a48;
  --slate: #6c7183;
  --line: #e3e5ec;
  --bg: #f7f8fb;
  --white: #ffffff;
  --brand: #595f75;
  --brand-dark: #464b5c;
  --brand-light: #9aa0b5;
  --brand-rgb: 89 95 117;
  --accent: #6c7183;
  --accent-rgb: 108 113 131;
  --accent-soft: #c6c9d4;
  --gold: #6c7183;
  --grad-brand: #595f75;
  --shadow-sm:
    0 1px 2px rgba(16, 24, 40, 0.06), 0 1px 3px rgba(16, 24, 40, 0.1);
  --shadow-md: 0 10px 25px -8px rgba(16, 24, 40, 0.18);
  --shadow-lg: 0 30px 60px -20px rgba(16, 24, 40, 0.35);
  --radius: 16px;
  --container: 1180px;
  --font-display:
    "STIX Two Text", "Times New Roman", Georgia, serif;
  --font-body:
    "Lato", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-padding-top: 88px;
}
/* Rolagem suave apenas para quem não pediu menos movimento. */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
}

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

h1,
h2,
h3,
.stat-num {
  font-family: var(--font-display);
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.14;
  font-weight: 500;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  justify-content: center;
  font-family: "Lato", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.5rem;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: 0.25s ease;
  white-space: nowrap;
}
.btn svg {
  width: 18px;
  height: 18px;
}
.btn-primary {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 10px 22px -10px rgb(var(--brand-rgb) / 0.85);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -12px rgb(var(--brand-rgb) / 0.95);
}
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}
.btn-outline {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.btn-outline:hover {
  border-color: var(--brand);
  color: var(--brand);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: 0.3s ease;
  padding: 14px 0;
  background: transparent;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  padding: 8px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo {
  display: block;
  flex: none;
  color: #fff;
}
/* O logo.svg é um SVG com o texto já convertido em contornos (paths),
   então não depende de fontes externas. */
.brand .logo {
  height: 46px;
  width: auto;
}
/* Sobre o fundo escuro do hero o logo fica branco; no restante do site
   (header rolado) volta às cores originais do logo. */
.site-header:not(.scrolled) .brand .logo {
  filter: brightness(0) invert(1);
}
/* Fora do hero: logo nas cores originais (sem nenhum filtro). */
.site-header.scrolled .brand .logo {
  filter: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav .nav-cta {
  display: none;
}
.nav a {
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  color: var(--slate);
  transition: 0.2s;
  position: relative;
}
.site-header:not(.scrolled) .nav a {
  color: rgba(255, 255, 255, 0.82);
}
.nav a:hover {
  color: var(--brand);
}
.site-header:not(.scrolled) .nav a:hover {
  color: #fff;
}
.nav a.active {
  color: var(--brand);
}
.site-header:not(.scrolled) .nav a.active {
  color: #fff;
}
.nav a.active::after {
  content: "";
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 2px;
  height: 2px;
  background: var(--grad-brand);
  border-radius: 2px;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}
/* Sobre o hero (header transparente) o botão vira branco para contraste */
.site-header:not(.scrolled) .btn-primary {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}
.site-header:not(.scrolled) .btn-primary svg {
  color: var(--ink);
}
.site-header:not(.scrolled) .nav a.active::after {
  background: #fff;
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.site-header.scrolled .burger {
  border-color: var(--line);
}
.burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s;
}
.site-header.scrolled .burger span {
  background: var(--ink);
}
.burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger.open span:nth-child(2) {
  opacity: 0;
}
.burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  padding: 170px 0 110px;
  overflow: hidden;
  background: var(--ink);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../assets/hero-bg.webp");
  background-size: cover;
  background-position: center;
  opacity: 0.5;
  filter: grayscale(0.15) contrast(1.03);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(var(--ink-rgb) / 0.72);
}
.hero .container {
  position: relative;
  z-index: 2;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.hero h1 {
  font-size: clamp(2.7rem, 5.4vw, 4.6rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.08;
}
.hero h1 .fire {
  color: var(--brand-light);
}
.hero p.lead {
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 1.4rem 0 2rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 2.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.hero-badges div {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}
.hero-badges svg {
  width: 20px;
  height: 20px;
  color: var(--accent-soft);
  flex: none;
}

.hero-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 26px;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-lg);
}
.hero-card h2 {
  font-size: 1.35rem;
  margin-bottom: 0.4rem;
  color: #fff;
}
.hero-card p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.2rem;
}
.hero-card ul {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.hero-card li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.88);
}
.hero-card li svg {
  width: 18px;
  height: 18px;
  color: var(--accent-soft);
  flex: none;
  margin-top: 3px;
}

/* ---------- Stats ---------- */
.stats {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 44px 0;
}
.stat {
  text-align: center;
  position: relative;
}
.stat + :not(:first-child)::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12%;
  height: 76%;
  width: 1px;
  background: var(--line);
}
.stat-num {
  font-size: 3.1rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.stat-num .unit {
  color: var(--brand);
}
.stat-label {
  font-size: 0.86rem;
  color: var(--slate);
  margin-top: 2px;
}
.stat-ic {
  width: 46px;
  height: 46px;
  margin: 0 auto 12px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: rgb(var(--brand-rgb) / 0.08);
  color: var(--brand);
}
.stat-ic svg {
  width: 23px;
  height: 23px;
}
.stat-title {
  font-family: "Lato", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  line-height: 1.25;
}
.stat-sub {
  font-size: 0.82rem;
  color: var(--slate);
  margin-top: 5px;
  line-height: 1.5;
}

/* ---------- Section base ---------- */
section {
  padding: 96px 0;
}
.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head.left {
  margin-left: 0;
  text-align: left;
}
.kicker {
  color: var(--brand);
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 700;
  font-size: 1rem;
}
.section-head h2 {
  font-size: clamp(2.1rem, 3.6vw, 3rem);
  font-weight: 500;
  margin: 0.4rem 0 0.8rem;
  letter-spacing: -0.01em;
}
.section-head p {
  color: var(--slate);
  font-size: 1.05rem;
}

.bg-white {
  background: var(--white);
}
.bg-ink {
  background: var(--ink);
  color: #fff;
}
.bg-ink .kicker {
  color: var(--accent-soft);
}
.bg-ink .section-head p {
  color: rgba(255, 255, 255, 0.72);
}

/* ---------- About ---------- */
.about-head {
  max-width: 780px;
}
.about-head .lead {
  font-size: 1.12rem;
}
.about-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.about-pillar {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
}
.about-pillar .pillar-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--grad-brand);
  color: #fff;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
.about-pillar .pillar-icon svg {
  width: 22px;
  height: 22px;
}
.about-pillar h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.2rem;
  margin: 0 0 0.4rem;
}
.about-pillar p {
  font-size: 0.9rem;
  color: var(--slate);
  line-height: 1.55;
  margin: 0;
}
.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  justify-content: center;
  align-items: center;
  margin-top: 38px;
}

/* ---------- Services ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: 0.28s ease;
  position: relative;
  overflow: hidden;
}
.card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 3px;
  width: 0;
  background: var(--grad-brand);
  transition: 0.35s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.card:hover::after {
  width: 100%;
}
.card .icon {
  width: 54px;
  height: 54px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: rgb(var(--brand-rgb) / 0.08);
  color: var(--brand);
}
.card .icon svg {
  width: 26px;
  height: 26px;
}
.card h3 {
  font-size: 1.32rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  letter-spacing: 0;
}
.card p {
  font-size: 0.92rem;
  color: var(--slate);
}

/* ---------- Norms ---------- */
.norms-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.norm {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--ink-2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 20px 22px;
  transition: 0.25s;
}
.norm:hover {
  background: var(--ink-3);
  border-color: rgb(var(--accent-rgb) / 0.4);
  transform: translateX(4px);
}
.norm .code {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  color: #fff;
  background: var(--grad-brand);
  padding: 6px 12px;
  border-radius: 8px;
  white-space: nowrap;
  flex: none;
}
.norm p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
}
.norm strong {
  display: block;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 2px;
}

/* ---------- Process ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  counter-reset: step;
}
.step {
  position: relative;
  padding-top: 52px;
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  background: var(--ink);
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: grid;
  place-items: center;
}
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 20px;
  left: 56px;
  right: -4px;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    var(--line) 0 8px,
    transparent 8px 16px
  );
}
.step h3 {
  font-size: 1.14rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
}
.step p {
  font-size: 0.88rem;
  color: var(--slate);
}

/* ---------- Portfolio ---------- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.project {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-sm);
  background: var(--ink-3);
}
.project img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s ease;
}
.project:hover img {
  transform: scale(1.07);
}
.project .overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: #fff;
  background: linear-gradient(
    to top,
    rgb(var(--ink-rgb) / 0.92) 0%,
    rgb(var(--ink-rgb) / 0.35) 55%,
    transparent 100%
  );
}
.project .tag {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--grad-brand);
  padding: 5px 11px;
  border-radius: 6px;
  margin-bottom: 12px;
}
.project h3 {
  font-size: 1.3rem;
  font-weight: 500;
}
.project p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
}

/* ---------- Segments ---------- */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  transition: 0.2s;
}
.chip:hover {
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-2px);
}
.chip svg {
  width: 16px;
  height: 16px;
  color: var(--brand);
}

/* ---------- Testimonials ---------- */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.quote {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.quote .mark {
  font-family: var(--font-display);
  font-size: 4.2rem;
  line-height: 0.6;
  color: var(--brand);
  opacity: 0.25;
  position: absolute;
  top: 22px;
  right: 24px;
}
.quote p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.08rem;
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: 1.4rem;
}
.quote .who {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.quote .who .av {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad-brand);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  flex: none;
}
.quote .who strong {
  display: block;
  font-size: 0.92rem;
}
.quote .who span {
  font-size: 0.8rem;
  color: var(--slate);
}
.stars {
  color: var(--gold);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.8rem;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: start;
}
.contact-info .item {
  display: flex;
  gap: 16px;
  margin-bottom: 26px;
}
.contact-info .ic {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgb(var(--brand-rgb) / 0.08);
  color: var(--brand);
  display: grid;
  place-items: center;
  flex: none;
}
.contact-info .ic svg {
  width: 22px;
  height: 22px;
}
.contact-info strong {
  display: block;
  font-size: 1rem;
}
.contact-info span {
  font-size: 0.92rem;
  color: var(--slate);
}

/* ---------- Card de CTA do WhatsApp ---------- */
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow-md);
}
.contact-card .wa-ic {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: rgb(37 211 102 / 0.16);
  color: #128c7e;
  margin-bottom: 18px;
}
.contact-card .wa-ic svg {
  width: 28px;
  height: 28px;
}
.contact-card h3 {
  font-size: 1.5rem;
  font-weight: 500;
  margin: 0 0 0.5rem;
  letter-spacing: 0;
}
.contact-card p {
  font-size: 0.95rem;
  color: var(--slate);
  margin-bottom: 22px;
}
/* Verde do WhatsApp com texto escuro: contraste 6,2:1 (AA),
   o branco sobre esse verde não atingiria 4,5:1. */
.btn-wa {
  background: #25d366;
  color: #0b3d1f;
  width: 100%;
  font-size: 1.02rem;
  padding: 1rem 1.5rem;
}
.btn-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px -12px rgb(37 211 102 / 0.9);
}
.contact-card-note {
  display: block;
  margin-top: 14px;
  font-size: 0.8rem;
  color: var(--slate);
  text-align: center;
}

/* ---------- CTA band ---------- */
.cta-section {
  padding-top: 0;
}
.cta-band {
  background: var(--grad-brand);
  color: #fff;
  border-radius: 22px;
  padding: 56px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}
.cta-band h2 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 500;
}
.cta-band p {
  color: rgba(255, 255, 255, 0.9);
  margin-top: 0.3rem;
}
.cta-band .btn {
  position: relative;
  z-index: 2;
}
.cta-band .btn-outline {
  background: #fff;
  border-color: #fff;
}
.cta-band .btn-outline:hover {
  color: var(--brand);
}

/* ---------- Footer ---------- */
.site-footer {
  background: #f2f2f2;
  color: var(--slate);
  border-top: 1px solid var(--line);
  padding: 70px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}
.footer-brand .logo {
  height: 82px;
  width: auto;
  margin-bottom: 20px;
  /* Cores originais do logo (azul + bordô), sem filtro. */
  filter: none;
}
.footer-brand p {
  font-size: 0.9rem;
  max-width: 300px;
}
.footer-col h3 {
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: var(--font-display);
}
.footer-col li {
  margin-bottom: 9px;
}
.footer-col a {
  font-size: 0.9rem;
  transition: 0.2s;
}
.footer-col a:hover {
  color: var(--brand);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 22px 0;
  font-size: 0.8rem;
  color: var(--slate);
}

/* ---------- Floating ---------- */
.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  border: none;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 90;
}
.to-top.show {
  opacity: 1;
  visibility: visible;
}
.to-top svg {
  width: 22px;
  height: 22px;
}
.to-top:hover {
  background: var(--brand);
  transform: translateY(-3px);
}
.wa {
  position: fixed;
  right: 24px;
  bottom: 84px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25d366;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-lg);
  z-index: 90;
  transition: 0.25s;
}
.wa:hover {
  transform: translateY(-3px) scale(1.04);
}
.wa svg {
  width: 28px;
  height: 28px;
  color: #fff;
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 1;
  transform: none;
}
html.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
html.js .reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- Acessibilidade ---------- */
@media (prefers-reduced-motion: reduce) {
  html.js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
:where(a, button):focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
}
.site-header:not(.scrolled) :where(a, button):focus-visible {
  outline-color: #fff;
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 24px;
  }
  .step::after {
    display: none;
  }
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 24px;
  }
  .stat:nth-child(3)::before {
    display: none;
  }
}
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-card {
    order: -1;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .about-pillars {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto;
  }
  .quotes {
    grid-template-columns: 1fr;
  }
  .norms-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .header-cta .btn {
    display: none;
  }
}
@media (max-width: 820px) {
  .burger {
    display: flex;
  }
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: min(320px, 84vw);
    background: var(--ink);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 100px 24px 24px;
    transition: right 0.35s ease, visibility 0.35s;
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.4);
    z-index: 99;
    /* Fora da tela o menu não deve ser alcançável por teclado/leitor de tela. */
    visibility: hidden;
  }
  .nav.open {
    right: 0;
    visibility: visible;
  }
  .nav a {
    color: rgba(255, 255, 255, 0.85) !important;
    padding: 0.9rem 1rem;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }
  .nav a.active::after {
    display: none;
  }
  .nav a.active {
    color: var(--accent) !important;
  }
  .nav .nav-cta {
    margin-top: 16px;
    display: flex;
  }
}
@media (max-width: 640px) {
  section {
    padding: 70px 0;
  }
  .hero {
    padding: 140px 0 80px;
  }
  .cards-grid,
  .portfolio-grid,
  .process {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .stat::before {
    display: none !important;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .contact-card {
    padding: 24px;
  }
  .cta-band {
    padding: 36px 26px;
  }
}