:root {
  --navy: #0D1F3C;
  --navy-light: #162a50;
  --green-dark: #1B4D3E;
  --green-mid: #2D6A4F;
  --green-light: #3a8a68;
  --off-white: #e8eff8;
  --font: 'Plus Jakarta Sans', sans-serif;
  --text: #203042;
  --muted: #5e6c79;
  --line: rgba(13, 31, 60, 0.1);
  --surface: #ffffff;
  --surface-2: #eef2ef;
  --shadow: 0 22px 50px rgba(13, 31, 60, 0.08);
  --radius: 22px;
  --container: 1220px;
  --header-height: 112px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: #ffffff;
  line-height: 1.65;
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.6rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

h3 {
  font-size: 1.15rem;
  line-height: 1.3;
}

p {
  color: var(--muted);
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin: 0 auto;
}

.section {
  padding: 104px 0;
}

.section--light {
  background: var(--off-white);
}

.section--dark {
  background:
    radial-gradient(circle at top right, rgba(58, 138, 104, 0.16), transparent 28%),
    linear-gradient(180deg, #102240 0%, #0a1831 100%);
  color: #fff;
}

/* Seção de clientes/parceiros — fundo branco premium */
.section--clients {
  background:
    radial-gradient(ellipse at 75% 0%, rgba(45, 106, 79, 0.045) 0%, transparent 52%),
    linear-gradient(180deg, #ffffff 0%, #f4f7fc 100%);
  position: relative;
}

.section--clients::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent 0%, rgba(13, 31, 60, 0.09) 50%, transparent 100%);
}

.section--clients::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent 0%, rgba(13, 31, 60, 0.06) 50%, transparent 100%);
}

.section__heading {
  max-width: 820px;
  margin-bottom: 48px;
}

.section__heading h2 {
  margin-top: 12px;
}

.section__heading > p {
  margin-top: 16px;
}

.section__heading--light h2,
.section--dark p {
  color: rgba(255, 255, 255, 0.8);
}

.section__eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--green-mid);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section__eyebrow--light {
  color: rgba(255, 255, 255, 0.72);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  background: linear-gradient(135deg, var(--green-mid) 0%, var(--green-dark) 100%);
  color: #fff;
  box-shadow: 0 8px 24px rgba(45, 106, 79, 0.35), 0 0 0 1px rgba(116, 198, 157, 0.15) inset;
}

.button--primary:hover {
  background: var(--green-light);
  box-shadow: 0 12px 32px rgba(45, 106, 79, 0.48), 0 0 0 1px rgba(116, 198, 157, 0.22) inset;
  transform: translateY(-3px);
}

.button--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.06);
  transition: transform 0.28s cubic-bezier(0.34, 1.3, 0.64, 1),
              border-color 0.25s ease,
              background 0.25s ease,
              box-shadow 0.28s ease;
}

.button--light {
  color: var(--navy);
  background: #fff;
}

/* ─── HEADER ─────────────────────────────────────────────────────── */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.header__topbar {
  background: rgba(9, 22, 44, 0.96);
  color: rgba(255, 255, 255, 0.78);
  overflow: hidden;
  max-height: 46px;
  transition: max-height 0.3s ease, opacity 0.3s ease;
}

.header__topbar-inner {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.84rem;
}

.header__main {
  background: rgba(13, 31, 60, 0.78);
  backdrop-filter: blur(18px);
  /* overflow: visible garante que o logo em position:absolute não seja cortado */
  overflow: visible;
}

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

/* ─── LOGO IMAGEM ─────────────────────────────────────────────────── */

.header__logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  /* Container ocupa exatamente a altura da barra — não empurra layout */
  height: var(--header-height);
  min-width: 240px;
  overflow: visible;
  flex-shrink: 0;
  color: #fff;
  z-index: 3;
}

.header__logo-img {
  position: absolute;
  /* top: 50% + translateY(-32%) = logo começa em y=0 do container.
     Fórmula: translateY(%) = -(container_height/2) / logo_height × 100
     = -(112/2) / 175 × 100 = -32%
     Resultado: sem clipping acima do viewport, overflow de 63px abaixo. */
  top: 50%;
  left: 0;
  transform: translateY(-32%);
  height: 175px;
  width: auto;
  max-width: none;
  object-fit: contain;
  object-position: left center;
  z-index: 3;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.35));
}

.footer__logo-img {
  height: 72px;
  width: auto;
  max-width: 240px;
  display: block;
  object-fit: contain;
  margin-bottom: 18px;
}

.about__brand-logo {
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

/* ── Logo exclusiva do card institucional azul ── */
.about__brand-card-logo {
  height: auto;
  width: 100%;
  max-width: 300px;
  display: block;
  object-fit: contain;
  opacity: 0.92;
  filter: drop-shadow(0 4px 16px rgba(116, 198, 157, 0.18));
}

.about__brand-location {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
}

.hero__panel-logo {
  height: 56px;
  width: auto;
  max-width: 180px;
  display: block;
  object-fit: contain;
  margin-bottom: 12px;
}

.header__logo-mark {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.header__logo-text {
  font-weight: 700;
  line-height: 1.18;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #fff;
}

.header__link {
  position: relative;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}

.header__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: #74c69d;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.header__link:hover {
  color: #74c69d;
}

.header__link.is-active {
  color: #fff;
}

.header__link:hover::after,
.header__link.is-active::after {
  transform: scaleX(1);
}

.header__cta {
  box-shadow: 0 4px 18px rgba(45, 106, 79, 0.3), 0 0 0 1px rgba(116, 198, 157, 0.14) inset;
  font-size: 0.88rem;
  min-height: 46px;
  padding: 0 22px;
  letter-spacing: 0.02em;
}

.header__cta:hover {
  box-shadow: 0 6px 24px rgba(45, 106, 79, 0.44), 0 0 0 1px rgba(116, 198, 157, 0.22) inset;
}

.header__toggle {
  display: none;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.header__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.header.scrolled {
  box-shadow: 0 12px 32px rgba(5, 14, 30, 0.24);
}

.header.scrolled .header__topbar {
  max-height: 0;
  opacity: 0;
}

/* ─── HERO ────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(130deg, var(--navy) 0%, var(--green-dark) 100%);
}

.hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__media-fallback,
.hero__video,
.hero__image,
.hero__overlay {
  position: absolute;
  inset: 0;
}

.hero__media-fallback {
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  transform: scale(1.05);
  filter: saturate(1.04) brightness(0.82) contrast(1.05);
}

/* Slideshow crossfade */
.hero__image--a,
.hero__image--b {
  transition: opacity 1.2s ease-in-out;
}
.hero__image--b {
  opacity: 0;
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__overlay {
  background:
    linear-gradient(105deg,
      rgba(4, 12, 28, 0.97) 0%,
      rgba(4, 13, 30, 0.93) 28%,
      rgba(5, 16, 36, 0.80) 46%,
      rgba(7, 19, 40, 0.42) 64%,
      rgba(9, 23, 46, 0.12) 100%
    ),
    linear-gradient(180deg,
      rgba(4, 12, 28, 0.40) 0%,
      transparent 38%,
      rgba(4, 12, 28, 0.55) 100%
    );
}


.hero__content {
  position: relative;
  z-index: 1;
  padding-top: 170px;
  padding-bottom: 86px;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
  gap: 48px;
  align-items: end;
}

.hero__copy {
  max-width: 760px;
}

.hero__tag {
  display: inline-flex;
  margin-bottom: 26px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
  font-weight: 700;
}

.hero__copy p {
  max-width: 680px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.hero__panel {
  padding: 28px;
  border-radius: 28px;
  background: rgba(9, 24, 47, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 26px 60px rgba(5, 14, 30, 0.28);
  backdrop-filter: blur(12px);
}

.hero__panel-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.hero__panel-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
  flex: 0 0 auto;
}

.hero__panel-brand span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.88rem;
  line-height: 1.5;
}

.hero__panel-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.hero__panel article {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero__panel span {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero__panel strong {
  display: block;
  font-size: 1rem;
  line-height: 1.35;
}


/* ─── CREDENCIAIS ─────────────────────────────────────────────────── */
.credenciais {
  padding: 20px 0;
  background: #0f1d32;
}

.credenciais__list {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0;
  max-width: 1020px;
  margin: 0 auto;
  padding: 0 32px;
}

.credenciais__item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9375rem;
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 0 28px;
  white-space: nowrap;
}

.credenciais__item + .credenciais__item {
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.credenciais__item strong {
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

/* ─── SERVICES SECTION BACKGROUND ──────────────────────────────── */
#servicos {
  background:
    radial-gradient(ellipse at 10% 62%, rgba(45, 106, 79, 0.055) 0%, transparent 46%),
    radial-gradient(ellipse at 88% 18%, rgba(58, 138, 104, 0.04) 0%, transparent 40%),
    linear-gradient(180deg, #FAFCFA 0%, #F4F8F4 100%);
}

/* ─── SERVICES ────────────────────────────────────────────────────── */
.services {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
}

.services--4col {
  grid-template-columns: repeat(4, 1fr);
}

.services__footer {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.services__footer p {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.service-card {
  background: #ffffff;
  border-radius: 24px;
  box-shadow:
    0 1px 3px rgba(13, 31, 60, 0.04),
    0 6px 26px rgba(13, 31, 60, 0.07);
  padding: 32px;
  border: 1px solid rgba(13, 31, 60, 0.07);
  position: relative;
  overflow: hidden;
  transition:
    transform 0.32s cubic-bezier(0.34, 1.3, 0.64, 1),
    box-shadow 0.32s ease,
    border-color 0.32s ease;
  display: flex;
  flex-direction: column;
}

/* Linha de destaque verde no topo — aparece e expande no hover */
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(45, 106, 79, 0.7) 35%,
    rgba(58, 138, 104, 0.85) 50%,
    rgba(45, 106, 79, 0.7) 65%,
    transparent 100%);
  opacity: 0;
  transform: scaleX(0.45);
  transition: opacity 0.3s ease, transform 0.38s cubic-bezier(0.34, 1.3, 0.64, 1);
}

/* Cards de destaque já mostram a linha sutilmente */
.service-card--featured::before {
  opacity: 0.45;
  transform: scaleX(0.72);
}

.service-card:hover::before {
  opacity: 1;
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-7px);
  box-shadow:
    0 2px 8px rgba(13, 31, 60, 0.04),
    0 18px 50px rgba(13, 31, 60, 0.10),
    0 0 0 1px rgba(45, 106, 79, 0.14),
    0 0 40px rgba(45, 106, 79, 0.055);
  border-color: rgba(45, 106, 79, 0.16);
}

/* ── Ícone premium com glow e micro-animação ── */
.service-card__icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 18px;
  color: var(--green-mid);
  background: linear-gradient(135deg,
    rgba(45, 106, 79, 0.10) 0%,
    rgba(58, 138, 104, 0.06) 100%);
  border: 1px solid rgba(45, 106, 79, 0.13);
  position: relative;
  overflow: hidden;
  transition:
    background 0.32s ease,
    border-color 0.32s ease,
    transform 0.32s cubic-bezier(0.34, 1.5, 0.64, 1),
    box-shadow 0.32s ease;
}

/* Glow luminoso interno no hover */
.service-card__icon::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 50% 40%,
    rgba(58, 138, 104, 0.22) 0%,
    transparent 68%);
  opacity: 0;
  transition: opacity 0.32s ease;
}

.service-card:hover .service-card__icon {
  background: linear-gradient(135deg,
    rgba(45, 106, 79, 0.16) 0%,
    rgba(58, 138, 104, 0.10) 100%);
  border-color: rgba(45, 106, 79, 0.28);
  transform: scale(1.12) rotate(-3deg);
  box-shadow: 0 6px 22px rgba(45, 106, 79, 0.18);
}

.service-card:hover .service-card__icon::after {
  opacity: 1;
}

.service-card__icon svg {
  width: 34px;
  height: 34px;
  position: relative;
  z-index: 1;
  transition: transform 0.32s cubic-bezier(0.34, 1.5, 0.64, 1);
}

.service-card:hover .service-card__icon svg {
  transform: scale(1.1);
}

.service-card p {
  margin-top: 12px;
  flex: 1;
}

.service-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  color: var(--green-mid);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.01em;
  transition: color 0.22s ease;
}

.service-card__cta::after {
  content: '→';
  display: inline-block;
  transition: transform 0.24s cubic-bezier(0.34, 1.3, 0.64, 1);
}

.service-card__cta:hover {
  color: var(--green-dark);
}

.service-card__cta:hover::after {
  transform: translateX(5px);
}

/* ─── SECTORS ─────────────────────────────────────────────────────── */
.sectors {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
}

.sector-card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
  border: 1px solid var(--line);
  border-left: 2px solid transparent;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.sector-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 28px 52px rgba(13, 31, 60, 0.11),
    0 0 0 1px rgba(45, 106, 79, 0.1);
  border-left-color: rgba(45, 106, 79, 0.7);
}

.sector-card p {
  margin-top: 12px;
}

/* ─── CLIENTS CAROUSEL ──────────────────────────────────────────── */
@keyframes clients-marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.clients-carousel {
  position: relative;
  overflow: hidden;
  padding: 44px 0 52px;
}

/* fade das bordas — combina com o fundo claro da seção */
.clients-carousel::before,
.clients-carousel::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 200px;
  z-index: 2;
  pointer-events: none;
}

.clients-carousel::before {
  left: 0;
  background: linear-gradient(to right, #F9FBFF 0%, transparent 100%);
}

.clients-carousel::after {
  right: 0;
  background: linear-gradient(to left, #F9FBFF 0%, transparent 100%);
}

.clients-carousel__track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: clients-marquee 38s linear infinite;
  will-change: transform;
}

.clients-carousel:hover .clients-carousel__track {
  animation-play-state: paused;
}

/* ── Card branco premium (logo real) ── */
.clients-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 122px;
  padding: 20px 42px;
  margin: 0 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(248, 251, 255, 0.97) 100%);
  border: 1px solid rgba(13, 31, 60, 0.08);
  border-radius: 20px;
  min-width: 210px;
  box-shadow:
    0 1px 4px rgba(13, 31, 60, 0.04),
    0 8px 24px rgba(13, 31, 60, 0.05);
  transition:
    box-shadow 0.32s ease,
    transform 0.32s ease,
    border-color 0.32s ease,
    background 0.32s ease;
  cursor: default;
  position: relative;
  overflow: hidden;
}

.clients-logo:hover {
  box-shadow:
    0 8px 20px rgba(13, 31, 60, 0.08),
    0 18px 38px rgba(13, 31, 60, 0.1),
    0 0 0 1.5px rgba(45, 106, 79, 0.16),
    0 0 24px rgba(45, 106, 79, 0.06);
  border-color: rgba(45, 106, 79, 0.18);
  background: linear-gradient(180deg, #ffffff 0%, #f7fbf9 100%);
  transform: translateY(-4px);
}

.clients-logo:hover img {
  filter: saturate(1.08) contrast(1.03) brightness(1.01) opacity(1);
  transform: scale(1.015);
}

.clients-logo img {
  max-height: 76px;
  max-width: 176px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: saturate(1.03) contrast(1.02) brightness(0.99) opacity(0.96);
  transition:
    filter 0.32s ease,
    transform 0.32s ease,
    opacity 0.32s ease;
  transform: translateZ(0);
}

.clients-logo::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58);
  pointer-events: none;
}

.clients-logo:hover::after {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    inset 0 0 0 1px rgba(45, 106, 79, 0.05);
}

/* ──────────────────────────────────────────────────────────────────
   Sistema de variantes visuais para logos do carrossel.
   Aplicar na div .clients-logo conforme o tipo de logo:
   --large   → logos que parecem pequenas no card padrão
   --wide    → wordmarks horizontais (largura é a dimensão principal)
   --compact → ícones/logos com bom preenchimento natural
   ──────────────────────────────────────────────────────────────── */

/* Presença ampliada — logo ocupa mais área do card */
.clients-logo--large {
  padding: 12px 28px;
}

.clients-logo--large img {
  max-height: 92px;
  max-width: 198px;
}

/* Wordmark horizontal — logo com grande extensão lateral */
.clients-logo--wide {
  min-width: 242px;
  padding: 20px 24px;
}

.clients-logo--wide img {
  max-height: 60px;
  max-width: 218px;
}

/* Logo compacta — ícone pequeno mas impactante */
.clients-logo--compact {
  min-width: 168px;
}

.clients-logo--compact img {
  max-height: 62px;
  max-width: 140px;
}

/* ── Badge de texto (sem logo) — claramente diferente dos cards ── */
.clients-logo--text {
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  min-width: auto;
  height: auto;
  padding: 4px 40px;
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(13, 31, 60, 0.32);
  white-space: nowrap;
  position: relative;
  transform: none !important;
}

.clients-logo--text::after {
  content: '';
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--green-mid);
  opacity: 0.45;
}

.clients-logo--text:hover {
  box-shadow: none;
  border: none;
  background: none;
  transform: none !important;
  color: rgba(13, 31, 60, 0.6);
}

/* ─── PORTFOLIO / NOTÍCIAS ────────────────────────────────────────── */
.portfolio {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
}

.portfolio-card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition:
    transform 0.3s cubic-bezier(0.34, 1.2, 0.64, 1),
    box-shadow 0.3s ease,
    border-color 0.3s ease;
  border: 1px solid rgba(13, 31, 60, 0.06);
}

.portfolio-card:hover {
  transform: translateY(-5px);
  box-shadow:
    0 28px 52px rgba(13, 31, 60, 0.11),
    0 0 0 1px rgba(45, 106, 79, 0.12);
  border-color: rgba(45, 106, 79, 0.12);
}

/* Cover com foto */
.portfolio-card__cover {
  height: 200px;
  overflow: hidden;
  position: relative;
  background: #0d1f3c;
}

.portfolio-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  filter: brightness(0.92) saturate(0.9);
}

.portfolio-card:hover .portfolio-card__cover img {
  transform: scale(1.06);
  filter: brightness(1) saturate(1.05);
}

.portfolio-card__body {
  padding: 28px;
}

/* Skeleton loading das notícias */
@keyframes skeleton-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.45; }
}
.news-skeleton { pointer-events: none; }
.news-skeleton__img {
  height: 200px;
  background: linear-gradient(90deg, #e8edf2 0%, #f2f5f8 50%, #e8edf2 100%);
  background-size: 200% 100%;
  animation: skeleton-pulse 1.5s ease-in-out infinite;
}
.news-skeleton__line {
  height: 12px;
  border-radius: 6px;
  background: #e8edf2;
  margin-bottom: 10px;
  animation: skeleton-pulse 1.5s ease-in-out infinite;
}
.news-skeleton__line--tag { width: 60px; height: 22px; border-radius: 999px; margin-bottom: 14px; }
.news-skeleton__line--h3  { height: 16px; width: 90%; }

.portfolio-card__tag {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--green-mid);
  background: rgba(58, 138, 104, 0.1);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portfolio-card p {
  margin-top: 10px;
}

/* ─── ABOUT ───────────────────────────────────────────────────────── */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 56px;
  align-items: center;
}

.about__content > p + p {
  margin-top: 18px;
}

.about__content h2 {
  margin-top: 0;
  margin-bottom: 20px;
}

.about__mvv {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
}

.about__mvv-card {
  padding: 24px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.about__mvv-card h3 {
  margin: 6px 0 8px;
}

.about__mvv-card p {
  margin: 0;
}

/* ─── ABOUT VISUAL (imagem institucional) ─────────────────────────── */
.about__visual {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: center;
}

.about__visual-figure {
  position: relative;
  margin: 0;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(13, 31, 60, 0.22);
}

.about__visual-figure::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(10, 22, 44, 0.10) 0%, rgba(10, 22, 44, 0.38) 100%);
  pointer-events: none;
}

.about__visual-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.about__visual-caption {
  position: absolute;
  bottom: 14px;
  left: 14px;
  z-index: 2;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(10, 22, 44, 0.52);
  padding: 4px 10px;
  border-radius: 4px;
  backdrop-filter: blur(6px);
}

.about__mvv-label {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(45, 106, 79, 0.1);
  color: var(--green-mid);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* About Brand Panel */
.about__brand {
  position: sticky;
  top: calc(var(--header-height) + 24px);
}

.about__brand-inner {
  background: linear-gradient(160deg, #1b2e4a 0%, #1e3560 100%);
  border-radius: 18px;
  padding: 28px 30px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.about__brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  margin-bottom: 22px;
}

.about__brand-mark {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(58, 138, 104, 0.3), rgba(45, 106, 79, 0.15));
  border: 1px solid rgba(116, 198, 157, 0.22);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #74c69d;
  flex-shrink: 0;
}

.about__brand-name strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

.about__brand-name span {
  display: block;
  margin-top: 4px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
}

.about__brand-copy {
  margin-bottom: 20px;
}

.about__brand-kicker {
  display: inline-block;
  margin-bottom: 12px;
  color: #74c69d;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.about__brand-copy h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 1.1rem;
  line-height: 1.3;
}

.about__brand-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.about__brand-points {
  display: grid;
  gap: 0;
  margin-bottom: 22px;
}

.about__brand-point {
  padding: 13px 0;
  border-radius: 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.about__brand-point:last-child {
  border-bottom: none;
}

.about__brand-point strong {
  display: block;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.9rem;
}

.about__brand-point span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.82rem;
  line-height: 1.55;
}

.about__brand-cta {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.about__brand-cta .button {
  width: 100%;
}

/* ─── CTA BANNER ──────────────────────────────────────────────────── */
.cta-banner {
  padding: 72px 0;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(13, 31, 60, 0.94), rgba(13, 31, 60, 0.82)),
    url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&w=1600&q=80') center/cover;
}

.cta-banner__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 34px;
  align-items: center;
}

/* ─── CONTACT ─────────────────────────────────────────────────────── */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.contact__info h2 {
  margin-bottom: 16px;
}

.contact__info > p {
  margin-bottom: 0;
}

.contact__list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
}

.contact__list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}

.contact__list li:last-child {
  border-bottom: none;
}

.contact__list a {
  color: var(--green-mid);
  font-weight: 600;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
  text-decoration-color: transparent;
}

.contact__list a:hover {
  color: var(--green-dark);
  text-decoration: underline;
  text-decoration-color: rgba(45, 106, 79, 0.5);
}

/* ─── CONTACT MAP ─────────────────────────────────────────────────── */
.contact__map {
  margin-top: 24px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(13, 31, 60, 0.09);
  box-shadow: 0 2px 12px rgba(13, 31, 60, 0.06), 0 8px 28px rgba(13, 31, 60, 0.05);
}

/* Placeholder: fundo com textura sutil de grid evocando mapa */
.contact__map-placeholder {
  padding: 22px 20px;
  background:
    linear-gradient(180deg, #f0f4f0 0%, #e8efe8 100%),
    repeating-linear-gradient(0deg, transparent, transparent 28px, rgba(13, 31, 60, 0.04) 28px, rgba(13, 31, 60, 0.04) 29px),
    repeating-linear-gradient(90deg, transparent, transparent 28px, rgba(13, 31, 60, 0.04) 28px, rgba(13, 31, 60, 0.04) 29px);
}

.contact__map-info {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.contact__map-pin {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--green-mid);
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 3px 10px rgba(45, 106, 79, 0.32);
}

.contact__map-info strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 3px;
}

.contact__map-info span {
  display: block;
  font-size: 0.82rem;
  color: rgba(13, 31, 60, 0.62);
  line-height: 1.5;
}

.contact__map-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(13, 31, 60, 0.08);
}

.contact__map-gmaps {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--green-mid);
  text-decoration: none;
  transition: color 0.2s ease, gap 0.2s ease;
}

.contact__map-gmaps:hover {
  color: var(--green-dark);
  gap: 7px;
}

.contact__map-load-btn {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 14px;
  border-radius: 8px;
  background: rgba(13, 31, 60, 0.06);
  border: 1px solid rgba(13, 31, 60, 0.12);
  color: rgba(13, 31, 60, 0.72);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.contact__map-load-btn:hover {
  background: rgba(45, 106, 79, 0.08);
  border-color: rgba(45, 106, 79, 0.24);
  color: var(--green-mid);
}

/* Iframe carregado via JS após clique */
.contact__map iframe {
  display: block;
  width: 100%;
  height: 220px;
  border: none;
}

.contact__form {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: 0 32px 64px rgba(13, 31, 60, 0.1);
  padding: 36px;
  border: 1px solid var(--line);
}

.form__title {
  margin-bottom: 24px;
  font-size: 1.25rem;
  color: var(--navy);
}

.form__row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.form__group {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.form__group--full {
  grid-column: 1 / -1;
}

.form__group label {
  margin-bottom: 7px;
  color: var(--navy);
  font-weight: 700;
  font-size: 0.88rem;
}

.form__group input,
.form__group select,
.form__group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid rgba(13, 31, 60, 0.12);
  border-radius: 12px;
  background: var(--off-white);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  color: var(--text);
}

.form__group input::placeholder,
.form__group textarea::placeholder {
  color: var(--muted);
}

.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  border-color: var(--green-mid);
  box-shadow: 0 0 0 4px rgba(58, 138, 104, 0.12);
  background: #fff;
}

.form__submit {
  width: 100%;
  margin-top: 8px;
  font-size: 1rem;
}

.form__note {
  margin-top: 12px;
  font-size: 0.8rem;
  text-align: center;
  color: var(--muted);
}

/* ─── FOOTER ──────────────────────────────────────────────────────── */
/* ══════════════════ GALERIA DE SERVIÇOS ══════════════════ */
.gallery-section {
  background: var(--navy);
}

.gallery-section .section__eyebrow--light {
  color: var(--accent, #74c69d);
}

.gallery-section__title {
  color: #fff;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  margin: 8px 0 0;
}

.gallery-section__sub {
  color: rgba(255,255,255,0.62);
  font-size: 1rem;
  margin-top: 10px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.gallery-item {
  margin: 0;
  padding: 0;
}

.gallery-item__wrap {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: rgba(255,255,255,0.06);
}

.gallery-item__wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.gallery-item:hover .gallery-item__wrap img {
  transform: scale(1.06);
}

.gallery-item figcaption {
  text-align: center;
  margin-top: 12px;
  font-size: 0.88rem;
  font-style: italic;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.01em;
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}
/* ══════════════════════════════════════════════════════════ */

.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.74);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
  padding: 58px 0 40px;
}

.footer__logo {
  display: inline-flex;
  margin-bottom: 18px;
}

.footer h3 {
  margin-bottom: 16px;
  color: #fff;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer p,
.footer a {
  display: block;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
}

.footer a {
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer a:hover {
  color: #74c69d;
  transform: translateX(4px);
}

.footer a + a,
.footer p + p {
  margin-top: 10px;
}

.footer__address {
  margin-top: 16px;
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 10px;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.52);
  line-height: 1.6;
}

.footer__contact-item svg {
  flex-shrink: 0;
  margin-top: 3px;
  opacity: 0.6;
  color: #74c69d;
}

.footer__contact-item a {
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.2s ease;
}

.footer__contact-item a:hover {
  color: #74c69d;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 0;
}

.footer__bottom p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ─── FOOTER SOCIAL ──────────────────────────────────────────────── */
.footer__social-desc {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.44);
  line-height: 1.55;
  margin-top: 0;
  margin-bottom: 20px;
}

.footer__social-link {
  display: flex !important;
  align-items: flex-start;
  gap: 11px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transform: none !important;
  transition: color 0.2s ease;
}

.footer__social-link:last-child {
  border-bottom: none;
}

.footer__social-link:hover {
  color: #74c69d !important;
  transform: none !important;
}

.footer__social-icon {
  flex-shrink: 0;
  margin-top: 1px;
  color: rgba(255, 255, 255, 0.38);
  transition: color 0.2s ease;
}

.footer__social-link:hover .footer__social-icon {
  color: #74c69d;
}

.footer__social-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.footer__social-name {
  font-size: 0.88rem;
  font-weight: 500;
  color: inherit;
  line-height: 1;
}

.footer__social-sub {
  font-size: 0.77rem;
  color: rgba(255, 255, 255, 0.36);
  font-weight: 400;
  line-height: 1.3;
}

/* ─── WHATSAPP FLOAT ──────────────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1100;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #25D366;
  box-shadow: 0 16px 34px rgba(37, 211, 102, 0.35);
  transition: transform 0.25s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
}

.whatsapp-float svg {
  width: 30px;
  fill: currentColor;
}

/* ─── COOKIE BANNER LGPD ──────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(calc(100% + 40px));
  width: calc(100% - 48px);
  max-width: 900px;
  z-index: 9990;
  opacity: 0;
  pointer-events: none;
  transition:
    transform 0.56s cubic-bezier(0.22, 1, 0.36, 1),
    opacity   0.42s ease;
}

.cookie-banner.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.cookie-banner.is-hiding {
  transform: translateX(-50%) translateY(calc(100% + 40px));
  opacity: 0;
  pointer-events: none;
}

.cookie-banner__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 20px;
  background: rgba(8, 18, 40, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  box-shadow:
    0 8px 32px rgba(3, 8, 22, 0.40),
    0 2px 8px  rgba(3, 8, 22, 0.22),
    0 0 0 1px rgba(116, 198, 157, 0.07) inset;
}

.cookie-banner__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(45, 106, 79, 0.18);
  border: 1px solid rgba(116, 198, 157, 0.22);
  color: #74c69d;
}

.cookie-banner__text {
  flex: 1;
  font-size: 0.85rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
}

.cookie-banner__text strong {
  color: rgba(255, 255, 255, 0.96);
  font-weight: 600;
}

.cookie-banner__link {
  color: #74c69d;
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.cookie-banner__link:hover {
  color: #a8e6c5;
}

.cookie-banner__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-banner__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 18px;
  border-radius: 10px;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  transition:
    background   0.22s ease,
    border-color 0.22s ease,
    transform    0.22s cubic-bezier(0.34, 1.3, 0.64, 1),
    box-shadow   0.22s ease;
}

.cookie-banner__btn--secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.78);
}

.cookie-banner__btn--secondary:hover {
  border-color: rgba(116, 198, 157, 0.45);
  color: #74c69d;
  transform: translateY(-1px);
}

.cookie-banner__btn--primary {
  background: linear-gradient(135deg, var(--green-mid) 0%, var(--green-dark) 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(45, 106, 79, 0.38);
}

.cookie-banner__btn--primary:hover {
  background: var(--green-light);
  box-shadow: 0 6px 20px rgba(45, 106, 79, 0.50);
  transform: translateY(-2px);
}

/* Métricas: 2 colunas no mobile */
@media (max-width: 640px) {
  .credenciais {
    padding: 18px 0;
  }

  .credenciais__list {
    flex-wrap: wrap;
    gap: 14px 0;
  }

  .credenciais__item {
    width: 50%;
    font-size: 0.875rem;
    padding: 0 12px;
    justify-content: center;
    border-left: none !important;
  }

  .credenciais__item:nth-child(2n+1) {
    border-right: 1px solid rgba(255, 255, 255, 0.14) !important;
  }
}

/* Responsivo: empilha em mobile */
@media (max-width: 640px) {
  .cookie-banner {
    bottom: 16px;
    width: calc(100% - 32px);
  }

  .cookie-banner__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
  }

  .cookie-banner__actions {
    width: 100%;
  }

  .cookie-banner__btn {
    flex: 1;
    height: 42px;
  }
}

/* ─── FADE IN ─────────────────────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── PAGE HERO (servicos.html) ───────────────────────────────────── */
/* padding-top = topbar(46) + navbar(112) + logo-overflow(20) + breathing(6) */
.page-hero {
  background: linear-gradient(130deg, var(--navy) 0%, #1a3a6e 60%, var(--green-dark) 100%);
  color: #fff;
  padding: 184px 0 80px;
}

.page-hero__content {
  max-width: 820px;
}

.page-hero__back {
  display: inline-block;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.page-hero__back:hover {
  color: #74c69d;
}

.page-hero h1 {
  margin-bottom: 20px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  max-width: 640px;
  margin-bottom: 32px;
}

/* ─── SERVIÇOS CATEGORIA (servicos.html) ──────────────────────────── */
.servicos-categoria__header {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  margin-bottom: 36px;
}

.servicos-categoria__header > div:last-child p {
  margin-top: 10px;
  max-width: 640px;
}

.servicos-categoria__num {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(45, 106, 79, 0.1);
  color: var(--green-mid);
  font-size: 1.1rem;
  font-weight: 800;
  margin-top: 4px;
}

.servicos-lista {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.servico-item {
  padding: 28px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 2px solid transparent;
  box-shadow: 0 8px 24px rgba(13, 31, 60, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}

.servico-item:hover {
  transform: translateY(-3px);
  box-shadow:
    0 18px 40px rgba(13, 31, 60, 0.09),
    0 0 0 1px rgba(45, 106, 79, 0.1);
  border-left-color: rgba(45, 106, 79, 0.65);
}

.servico-item h3 {
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 10px;
  transition: color 0.25s ease;
}

.servico-item:hover h3 {
  color: var(--green-mid);
}

.servico-item p {
  font-size: 0.9rem;
  flex: 1;
}

.servico-item__cta {
  display: inline-block;
  margin-top: 16px;
  color: var(--green-mid);
  font-weight: 700;
  font-size: 0.85rem;
  transition: color 0.2s ease;
}

.servico-item__cta:hover {
  color: var(--green-dark);
}

/* ─── DETALHES VERDES SUTIS ───────────────────────────────────────── */

/* Linha verde muito sutil abaixo do título h2 nas seções */
.section__heading h2 {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(45, 106, 79, 0.1);
}

/* A faixa de credibilidade usa apenas texto e separadores sutis. */

/* Ponto verde antes de cada item da lista de contato */
.contact__list li {
  padding-left: 16px;
  position: relative;
}

.contact__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(45, 106, 79, 0.55);
}

/* Sublinhado verde nos h3 dos títulos de serviço no footer */
.footer h3 {
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(116, 198, 157, 0.25);
}

/* Borda verde esquerda nos cards de Missão/Visão/Valores */
.about__mvv-card {
  border-left: 2px solid rgba(45, 106, 79, 0.45);
  transition:
    box-shadow 0.28s ease,
    border-color 0.28s ease,
    transform 0.28s ease;
}

.about__mvv-card:hover {
  border-left-color: rgba(45, 106, 79, 0.75);
  transform: translateX(4px);
  box-shadow:
    0 22px 50px rgba(13, 31, 60, 0.09),
    0 0 0 1px rgba(45, 106, 79, 0.09);
}

/* ── Sistema de hover verde — títulos de cards ── */
.service-card:hover h3,
.sector-card:hover h3,
.portfolio-card:hover h3,
.about__mvv-card:hover h3 {
  color: var(--green-mid);
}

/* Sublinhado verde nos links do footer ao hover */
.footer a:hover {
  text-decoration: underline;
  text-decoration-color: rgba(116, 198, 157, 0.5);
}

/* Borda verde no topo do painel hero */
.hero__panel {
  border-top: 1px solid rgba(116, 198, 157, 0.32);
}

/* Linha verde sutil no separador do about__brand */
.about__brand-logo,
.about__brand-cta {
  border-color: rgba(116, 198, 157, 0.26);
}



/* Botão ghost: hover com leve preenchimento verde e elevação */
.button--ghost:hover {
  border-color: rgba(116, 198, 157, 0.55);
  background: rgba(116, 198, 157, 0.1);
  box-shadow: 0 6px 20px rgba(45, 106, 79, 0.2);
  transform: translateY(-3px);
}

/* Número da categoria (01, 02...) com borda verde */
.servicos-categoria__num {
  border: 2px solid rgba(45, 106, 79, 0.2);
}

/* Linha verde sutil no topo da seção de contato info */
.contact__info h2 {
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(45, 106, 79, 0.1);
}

/* (service-card__cta:hover definido no bloco principal acima) */

/* ─── RESPONSIVE 1200px ───────────────────────────────────────────── */
@media (max-width: 1200px) {
  .services--4col {
    grid-template-columns: repeat(2, 1fr);
  }

  .servicos-lista {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ─── RESPONSIVE 1024px ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .credenciais__list {
    max-width: 900px;
  }

  .hero__content,
  .about__grid,
  .contact__grid {
    grid-template-columns: 1fr;
  }

  .about__brand {
    position: static;
  }

  .services,
  .portfolio,
  .sectors {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-banner__inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ─── RESPONSIVE 768px ────────────────────────────────────────────── */
@media (max-width: 768px) {
  :root {
    --header-height: 96px;
  }

  .header__logo {
    min-width: 180px;
  }

  .header__logo-img {
    /* 96px container, 120px logo → translateY(-40%) = -(96/2)/120 = -40% */
    height: 120px;
    transform: translateY(-40%);
    max-width: none;
  }

  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .header__toggle {
    display: inline-block;
  }

  .header__nav {
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    padding: 18px;
    border-radius: 20px;
    background: rgba(13, 31, 60, 0.97);
    box-shadow: 0 24px 48px rgba(5, 14, 30, 0.26);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  }

  .header__nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .header__cta {
    width: 100%;
  }

  .header__toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .header__toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .header__toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .header__topbar-inner {
    justify-content: center;
    flex-wrap: wrap;
    padding: 10px 0;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .button {
    width: 100%;
    justify-content: center;
  }

  .services,
  .services--4col,
  .portfolio,
  .sectors,
  .about__mvv,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .hero__panel-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero__panel-brand {
    flex-direction: column;
    align-items: flex-start;
  }

.form__row {
    grid-template-columns: 1fr;
  }

  .services__footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .services__footer .button {
    width: 100%;
    justify-content: center;
  }

  .servicos-lista {
    grid-template-columns: 1fr;
  }

  .servicos-categoria__header {
    flex-direction: column;
    gap: 16px;
  }

  .about__brand-card-logo {
    max-width: 260px;
  }

  .about__brand-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Carousel 768px */
  .clients-carousel::before,
  .clients-carousel::after {
    width: 80px;
  }

  .clients-logo {
    height: 100px;
    padding: 14px 26px;
    min-width: 164px;
    margin: 0 8px;
    border-radius: 14px;
  }

  .clients-logo img {
    max-height: 58px;
    max-width: 136px;
  }

  .clients-logo--large img {
    max-height: 72px;
    max-width: 158px;
  }

  .clients-logo--wide img {
    max-height: 50px;
    max-width: 174px;
  }

  .clients-logo--text {
    font-size: 0.68rem;
    padding: 4px 30px;
  }

  .clients-logo--text::after {
    left: 12px;
  }
}

/* ─── RESPONSIVE 480px ────────────────────────────────────────────── */
@media (max-width: 480px) {
  .section {
    padding: 72px 0;
  }

  .hero__content {
    padding-top: 146px;
    padding-bottom: 60px;
  }

  .header__logo {
    min-width: 140px;
  }

  .header__logo-img {
    /* 96px container, 96px logo → cabe exato, centralizado normalmente */
    height: 96px;
    transform: translateY(-50%);
    max-width: none;
  }

  .hero__panel-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .sector-card,
  .portfolio-card__body,
  .about__mvv-card,
  .contact__form,
  .hero__panel,
  .servico-item {
    padding: 22px;
  }

  .credenciais__list {
    flex-wrap: wrap;
    gap: 14px 0;
  }

  .credenciais__item {
    width: 50%;
    justify-content: center;
    font-size: 0.84rem;
    padding: 0 12px;
    border-left: none !important;
  }

  .credenciais__item:nth-child(2n+1) {
    border-right: 1px solid rgba(255, 255, 255, 0.14) !important;
  }

  .about__brand-inner {
    padding: 24px;
  }

  .about__brand-card-logo {
    max-width: 210px;
  }



  .whatsapp-float {
    width: 56px;
    height: 56px;
    right: 16px;
    bottom: 16px;
  }

  /* padding-top = topbar(46) + navbar(96) + logo-overflow(5) + breathing(5) */
  .page-hero {
    padding: 152px 0 60px;
  }

  /* Carousel 480px */
  .clients-carousel::before,
  .clients-carousel::after {
    width: 48px;
  }

  .clients-logo {
    height: 86px;
    padding: 10px 18px;
    min-width: 116px;
    margin: 0 6px;
    border-radius: 12px;
  }

  .clients-logo img {
    max-height: 50px;
    max-width: 98px;
  }

  .clients-logo--large img {
    max-height: 62px;
    max-width: 112px;
  }

  .clients-logo--wide img {
    max-height: 42px;
    max-width: 124px;
  }

  .clients-logo--text {
    font-size: 0.62rem;
    padding: 4px 22px;
  }

  .clients-logo--text::after {
    left: 8px;
    width: 3px;
    height: 3px;
  }
}

/* ─── TYPOGRAPHY SYSTEM REFINEMENTS ──────────────────────────────── */
:root {
  --heading-max-xl: 12ch;
  --heading-max-lg: 17ch;
  --heading-max-md: 22ch;
  --copy-max: 62ch;
}

h1,
h2,
h3 {
  font-weight: 800;
  color: var(--navy);
  text-wrap: balance;
}

h1 {
  font-size: clamp(3rem, 5.1vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

h2 {
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

h3 {
  font-size: clamp(1.08rem, 1.2vw, 1.32rem);
  line-height: 1.24;
  letter-spacing: -0.02em;
}

p {
  text-wrap: pretty;
}

.section__eyebrow {
  margin-bottom: 16px;
  letter-spacing: 0.16em;
}

.section__heading,
.page-hero__content,
.about__content,
.contact__info {
  max-width: 760px;
}

.section__heading {
  margin-bottom: 56px;
}

.section__heading h2,
.about__content h2,
.contact__info h2,
.cta-banner h2,
.servicos-categoria__header h2 {
  max-width: var(--heading-max-lg);
}

.section__heading h2 {
  margin-top: 10px;
  padding-bottom: 16px;
}

.section__heading > p,
.about__content > p,
.contact__info > p,
.page-hero p,
.hero__copy p,
.servicos-categoria__header > div:last-child p {
  max-width: var(--copy-max);
  font-size: 1.02rem;
  line-height: 1.72;
}

.hero__copy {
  max-width: 720px;
}

.hero__copy h1 {
  max-width: var(--heading-max-xl);
}

.hero__tag {
  margin-bottom: 22px;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.hero__copy p {
  margin-top: 20px;
  font-size: 1.08rem;
}

.hero__actions {
  margin-top: 36px;
}

/* credenciais — estilos definidos no bloco principal acima */

.service-card h3,
.sector-card h3,
.portfolio-card h3,
.about__mvv-card h3,
.servico-item h3 {
  max-width: var(--heading-max-md);
}

.service-card h3,
.sector-card h3 {
  margin-bottom: 10px;
}

.portfolio-card__body h3 {
  margin-bottom: 10px;
}

.about__content h2 {
  margin-bottom: 18px;
}

.about__mvv-card h3 {
  margin: 8px 0 10px;
}

.about__mvv-card p,
.service-card p,
.sector-card p,
.portfolio-card p,
.servico-item p {
  font-size: 0.96rem;
  line-height: 1.68;
}

.cta-banner h2 {
  color: #fff;
  max-width: 18ch;
}

.contact__info h2 {
  margin-bottom: 18px;
}

.form__title {
  font-size: 1.38rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.footer h3 {
  font-size: 0.82rem;
  letter-spacing: 0.14em;
}

.page-hero {
  padding: 170px 0 84px;
}

.page-hero__content {
  max-width: 760px;
}

.page-hero .section__eyebrow {
  margin-bottom: 18px;
}

.page-hero h1 {
  max-width: 13ch;
  margin-bottom: 18px;
}

.page-hero p {
  margin-bottom: 34px;
}

.servicos-categoria__header {
  gap: 24px;
  margin-bottom: 32px;
}

.servicos-categoria__header h2 {
  margin-top: 2px;
}

.servico-item h3 {
  margin-bottom: 12px;
}

.header__logo {
  min-width: auto;
}

.header__logo-img {
  height: 46px;
  transform: none;
  max-width: 180px;
}

@media (max-width: 1024px) {
  .section__heading h2,
  .about__content h2,
  .contact__info h2,
  .cta-banner h2,
  .servicos-categoria__header h2 {
    max-width: 19ch;
  }

  .service-card h3,
  .sector-card h3,
  .portfolio-card h3,
  .about__mvv-card h3,
  .servico-item h3 {
    max-width: none;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 76px;
  }

  h1 {
    font-size: clamp(2.4rem, 9vw, 3.5rem);
    line-height: 1.02;
  }

  h2 {
    font-size: clamp(1.75rem, 6.6vw, 2.45rem);
    line-height: 1.08;
  }

  h3 {
    font-size: 1.08rem;
  }

  .section__heading {
    margin-bottom: 40px;
  }

  .section__heading h2,
  .about__content h2,
  .contact__info h2,
  .cta-banner h2,
  .page-hero h1,
  .hero__copy h1,
  .servicos-categoria__header h2 {
    max-width: none;
  }

  .section__heading > p,
  .about__content > p,
  .contact__info > p,
  .page-hero p,
  .hero__copy p,
  .servicos-categoria__header > div:last-child p {
    font-size: 0.98rem;
    line-height: 1.68;
  }

  .hero__copy p {
    margin-top: 18px;
  }

  .page-hero {
    padding: 154px 0 72px;
  }

  .header__logo-img {
    height: 72px;
  }
}

@media (max-width: 480px) {
  :root {
    --header-height: 72px;
  }

  .section {
    padding: 68px 0;
  }

  .section__eyebrow {
    margin-bottom: 14px;
    font-size: 0.74rem;
  }

  .section__heading {
    margin-bottom: 34px;
  }

  .hero__tag {
    margin-bottom: 18px;
    font-size: 0.76rem;
  }

  .hero__actions {
    margin-top: 30px;
  }

  .form__title {
    font-size: 1.24rem;
  }

  .page-hero {
    padding: 136px 0 56px;
  }

  .header__logo-img {
    height: 68px;
  }
}

/* ─── HERO / HEADER CORRECTIONS ──────────────────────────────────── */
.hero__copy h1 {
  color: #ffffff;
  font-size: clamp(2.3rem, 3.9vw, 3.55rem);
  font-weight: 700;
  line-height: 1.13;
  letter-spacing: -0.033em;
  max-width: 14ch;
  text-shadow: 0 4px 20px rgba(3, 12, 26, 0.32), 0 1px 4px rgba(0,0,0,0.18);
}

.hero__title {
  margin: 0;
}

.hero__title-line {
  display: block;
  opacity: 0;
  transform: translateY(16px);
  will-change: transform, opacity;
}

/* Estado inicial dos demais elementos — ocultados para entrada animada */
.hero__tag,
.hero__copy > p,
.hero__actions,
.hero__meta {
  opacity: 0;
  transform: translateY(14px);
  will-change: transform, opacity;
}

/* Revela sequencial: tag → título → parágrafo → ações → meta */
.hero__copy.visible .hero__tag {
  animation: heroFadeUp 0.68s cubic-bezier(0.22, 1, 0.36, 1) 0s both;
}

.hero__copy.visible .hero__title-line {
  animation: heroTitleReveal 0.74s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}

.hero__copy.visible .hero__title-line:nth-child(2) {
  animation-delay: 0.22s;
}

.hero__copy.visible > p {
  animation: heroFadeUp 0.68s cubic-bezier(0.22, 1, 0.36, 1) 0.34s both;
}

.hero__copy.visible .hero__actions {
  animation: heroFadeUp 0.68s cubic-bezier(0.22, 1, 0.36, 1) 0.48s both;
}

.hero__copy.visible .hero__meta {
  animation: heroFadeUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.62s both;
}

.hero__title-emphasis {
  position: relative;
  z-index: 0;
}

.hero__title-emphasis::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.1em;
  height: 0.2em;
  background: rgba(116, 198, 157, 0.28);
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.34s;
  z-index: -1;
}

.hero__copy.visible .hero__title-emphasis::after {
  transform: scaleX(1);
}

.hero__copy p {
  color: rgba(255, 255, 255, 0.88);
  max-width: 60ch;
  margin-top: 28px;
  font-size: 1rem;
  line-height: 1.8;
  text-shadow: 0 2px 14px rgba(3, 12, 26, 0.22);
}

.hero__tag {
  color: rgba(255, 255, 255, 0.96);
  margin-bottom: 22px;
  padding: 8px 14px 8px 10px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  background: rgba(45, 106, 79, 0.22);
  border-color: rgba(116, 198, 157, 0.32);
  gap: 8px;
}

.hero__tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #74c69d;
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(116, 198, 157, 0.7);
}

.hero__actions {
  margin-top: 28px;
  gap: 14px;
}

.hero__meta {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.84rem;
  line-height: 1.5;
  letter-spacing: 0.04em;
  text-shadow: none;
}

.hero__media {
  filter: saturate(1.01) brightness(0.98);
}

.hero__panel {
  background: rgba(9, 24, 47, 0.48);
}

.header__logo {
  min-width: 220px;
}

.header__logo-img {
  top: 50%;
  left: 0;
  transform: translateY(-34%);
  height: 156px;
  width: auto;
  max-width: none;
}

@media (max-width: 768px) {
  .hero__overlay {
    background:
      linear-gradient(112deg, rgba(8, 20, 38, 0.84) 0%, rgba(9, 24, 47, 0.8) 42%, rgba(20, 52, 45, 0.68) 100%),
      linear-gradient(180deg, rgba(5, 16, 31, 0.24), rgba(5, 16, 31, 0.38));
  }

  .hero__image {
    object-position: 60% 50%;
    transform: none;
  }

  .hero__copy h1 {
    color: #ffffff;
    font-size: clamp(2rem, 6.4vw, 2.9rem);
    max-width: 14ch;
    text-shadow: 0 5px 18px rgba(3, 12, 26, 0.24);
  }

  .hero__copy p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.96rem;
    line-height: 1.72;
  }

  .hero__actions {
    margin-top: 24px;
  }

  .hero__meta {
    margin-top: 14px;
    font-size: 0.8rem;
  }

  .header__logo {
    min-width: 190px;
  }

  .header__logo-img {
    transform: translateY(-20%);
    height: 102px;
    max-width: none;
  }
}

@media (max-width: 480px) {
  .hero__media-fallback,
  .hero__image {
    transform: none;
  }

  .hero__copy h1 {
    font-size: clamp(1.85rem, 8.6vw, 2.45rem);
    max-width: none;
  }

  .hero__tag {
    margin-bottom: 14px;
    font-size: 0.72rem;
  }

  .hero__copy p {
    margin-top: 18px;
    font-size: 0.93rem;
  }

  .hero__actions {
    margin-top: 22px;
  }

  .hero__meta {
    margin-top: 14px;
    font-size: 0.76rem;
  }

  .header__logo {
    min-width: 154px;
  }

  .header__logo-img {
    transform: translateY(-12%);
    height: 82px;
    max-width: none;
  }
}

@keyframes heroTitleReveal {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero__video {
    display: none;
  }

  .hero__title-line,
  .hero__tag,
  .hero__copy > p,
  .hero__actions,
  .hero__meta {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .hero__title-emphasis::after {
    transform: scaleX(1);
    transition: none;
  }
}

/* ─── FINAL UX / UI REFINEMENTS ──────────────────────────────────── */
body {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.section {
  padding: 96px 0;
}

.section__heading {
  margin-bottom: 52px;
}

.section__heading h2 {
  max-width: 15ch;
}

.section__heading > p {
  max-width: 60ch;
  margin-top: 18px;
  font-size: 1rem;
  line-height: 1.76;
}

.button {
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 0.96rem;
  letter-spacing: -0.01em;
}

.button--primary {
  box-shadow: 0 10px 26px rgba(45, 106, 79, 0.24), 0 0 0 1px rgba(116, 198, 157, 0.12) inset;
}

.button--ghost {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.05);
}

.services__footer {
  margin-top: 34px;
  padding: 22px 24px;
  justify-content: space-between;
  border-radius: 18px;
  background: rgba(13, 31, 60, 0.04);
  border: 1px solid rgba(13, 31, 60, 0.08);
}

.services__footer p {
  max-width: 58ch;
  font-size: 0.98rem;
  line-height: 1.65;
  font-weight: 600;
}

.sector-card,
.portfolio-card,
.about__mvv-card,
.contact__form,
.servico-item {
  box-shadow: 0 20px 44px rgba(13, 31, 60, 0.07);
}

.sector-card {
  padding: 30px;
}

.service-card h3,
.sector-card h3,
.portfolio-card h3,
.about__mvv-card h3 {
  color: var(--navy);
  transition: color 0.25s ease;
}

.contact__info h2,
.form__title {
  color: var(--navy);
}

.service-card p,
.sector-card p,
.portfolio-card p,
.about__mvv-card p,
.contact__list li,
.servico-item p {
  line-height: 1.72;
}

.service-card__cta,
.servico-item__cta {
  margin-top: 18px;
  font-size: 0.9rem;
}

.clients__item {
  min-height: 104px;
  padding: 20px;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.portfolio-card__body {
  padding: 26px;
}

.portfolio-card__body h3 {
  margin-bottom: 10px;
}

.about__grid,
.contact__grid {
  gap: 56px;
}

.about__content > p + p {
  margin-top: 16px;
}

.about__mvv {
  margin-top: 34px;
  gap: 16px;
}

.about__mvv-card {
  padding: 22px 24px;
}

.about__brand-inner {
  box-shadow: 0 28px 56px rgba(6, 18, 39, 0.18);
}

.cta-banner {
  padding: 76px 0;
}

.cta-banner__inner {
  gap: 40px;
}

.cta-banner h2 {
  max-width: 17ch;
  line-height: 1.1;
}

.contact__info > p {
  max-width: 58ch;
  line-height: 1.74;
}

.contact__list {
  margin-top: 30px;
}

.contact__list li {
  padding: 16px 0;
}

.contact__form {
  padding: 34px;
}

.form__title {
  margin-bottom: 22px;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

.form__row {
  gap: 18px;
}

.form__group {
  margin-bottom: 18px;
}

.form__group label {
  margin-bottom: 8px;
}

.form__submit {
  margin-top: 10px;
}

.form__note {
  margin-top: 14px;
  font-size: 0.82rem;
}

.footer__grid {
  gap: 36px;
}

.footer h3 {
  margin-bottom: 18px;
}

.footer p,
.footer a {
  line-height: 1.68;
}

.page-hero {
  padding: 174px 0 82px;
}

.page-hero__content {
  max-width: 760px;
}

.page-hero h1 {
  max-width: 13ch;
  line-height: 1.04;
}

.page-hero p {
  max-width: 61ch;
  line-height: 1.76;
}

.servicos-categoria__header {
  gap: 24px;
  margin-bottom: 32px;
}

.servicos-categoria__header h2 {
  max-width: 16ch;
}

.servicos-categoria__header > div:last-child p {
  max-width: 58ch;
  margin-top: 12px;
  line-height: 1.72;
}

.servico-item {
  padding: 26px;
}

.servico-item h3 {
  margin-bottom: 12px;
  line-height: 1.32;
}

@media (max-width: 1024px) {
  .section {
    padding: 88px 0;
  }

  .services__footer,
  .about__grid,
  .contact__grid {
    gap: 28px;
  }

  .section__heading h2,
  .servicos-categoria__header h2,
  .cta-banner h2,
  .page-hero h1 {
    max-width: none;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 78px 0;
  }

  .section__heading {
    margin-bottom: 38px;
  }

  .section__heading > p {
    margin-top: 16px;
    font-size: 0.96rem;
  }

  .services__footer {
    padding: 20px;
  }

  .service-card,
  .sector-card,
  .portfolio-card__body,
  .about__mvv-card,
  .contact__form,
  .servico-item {
    padding: 24px;
  }

  .cta-banner {
    padding: 68px 0;
  }

  .page-hero {
    padding: 156px 0 70px;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 66px 0;
  }

  .button {
    min-height: 50px;
    font-size: 0.94rem;
  }

  .services__footer {
    padding: 18px;
  }

  .service-card,
  .sector-card,
  .portfolio-card__body,
  .about__mvv-card,
  .contact__form,
  .servico-item {
    padding: 22px;
  }

  .page-hero {
    padding: 142px 0 58px;
  }
}

/* ─── PAGE HERO SERVICES REFINEMENT ──────────────────────────────── */
.page-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(13, 31, 60, 0.98) 0%, rgba(20, 43, 79, 0.94) 55%, rgba(27, 77, 62, 0.82) 100%);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(116, 198, 157, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.page-hero__content {
  position: relative;
  z-index: 1;
}

.page-hero__intro {
  max-width: 760px;
  padding: 6px 0;
}

.page-hero__back {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.88rem;
  letter-spacing: 0.01em;
}

.page-hero .section__eyebrow {
  display: inline-flex;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.78);
}

.page-hero h1 {
  color: #ffffff;
  max-width: 12.5ch;
  margin-bottom: 20px;
  font-size: clamp(2.35rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.04em;
  text-shadow: 0 8px 24px rgba(3, 12, 26, 0.2);
}

.page-hero p {
  color: rgba(255, 255, 255, 0.88);
  max-width: 60ch;
  margin-bottom: 34px;
  font-size: 1rem;
  line-height: 1.78;
}

.page-hero .button {
  box-shadow: 0 10px 28px rgba(45, 106, 79, 0.22), 0 0 0 1px rgba(116, 198, 157, 0.1) inset;
}

@media (max-width: 768px) {
  .page-hero__back {
    margin-bottom: 16px;
  }

  .page-hero .section__eyebrow {
    margin-bottom: 16px;
  }

  .page-hero h1 {
    max-width: none;
    font-size: clamp(2rem, 6.3vw, 2.85rem);
    line-height: 1.08;
  }

  .page-hero p {
    font-size: 0.96rem;
    line-height: 1.72;
    margin-bottom: 28px;
  }
}

@media (max-width: 480px) {
  .page-hero__intro {
    padding: 2px 0;
  }

  .page-hero__back {
    font-size: 0.82rem;
  }

  .page-hero h1 {
    font-size: clamp(1.85rem, 8vw, 2.35rem);
    margin-bottom: 18px;
  }

  .page-hero p {
    font-size: 0.93rem;
    margin-bottom: 24px;
  }
}

/* ─── UX CONVERSION REFINEMENTS ──────────────────────────────────── */
.clients__summary {
  display: grid;
  gap: 16px;
  margin-bottom: 28px;
  padding: 22px 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  box-shadow: 0 24px 44px rgba(5, 15, 31, 0.16);
}

.clients__lead {
  max-width: 62ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.98rem;
  line-height: 1.72;
}

.clients__signals {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.clients__signals span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact__assurances {
  display: grid;
  gap: 14px;
  margin: 26px 0 30px;
}

.contact__assurance {
  padding: 16px 18px;
  border: 1px solid rgba(13, 31, 60, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 16px 30px rgba(13, 31, 60, 0.05);
  backdrop-filter: blur(10px);
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.contact__assurance:hover {
  border-color: rgba(45, 106, 79, 0.22);
  box-shadow:
    0 16px 30px rgba(13, 31, 60, 0.07),
    0 0 0 1px rgba(45, 106, 79, 0.1);
  transform: translateX(5px);
}

.contact__assurance strong {
  display: block;
  margin-bottom: 6px;
  color: var(--navy);
  font-size: 0.95rem;
  line-height: 1.45;
  transition: color 0.25s ease;
}

.contact__assurance:hover strong {
  color: var(--green-mid);
}

.contact__assurance span {
  display: block;
  color: var(--text-light);
  font-size: 0.92rem;
  line-height: 1.66;
}

.form__intro {
  max-width: 54ch;
  margin: -6px 0 20px;
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

.services-nav {
  position: relative;
  z-index: 2;
  margin-top: -26px;
  padding-bottom: 8px;
}

.services-nav__inner {
  display: grid;
  gap: 16px;
  padding: 22px 24px;
  border: 1px solid rgba(13, 31, 60, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 44px rgba(13, 31, 60, 0.08);
  backdrop-filter: blur(14px);
}

.services-nav__label {
  color: var(--green-mid);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.services-nav__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.services-nav__links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid rgba(13, 31, 60, 0.1);
  border-radius: 999px;
  background: #ffffff;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: transform var(--transition), border-color var(--transition), color var(--transition), box-shadow var(--transition);
}

.services-nav__links a:hover,
.services-nav__links a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(45, 106, 79, 0.35);
  color: var(--green-mid);
  background: rgba(45, 106, 79, 0.04);
  box-shadow:
    0 8px 20px rgba(13, 31, 60, 0.07),
    0 0 0 1px rgba(45, 106, 79, 0.1);
}

.services-nav__links a.is-active,
.services-nav__links a[aria-current] {
  background: rgba(45, 106, 79, 0.08);
  border-color: rgba(45, 106, 79, 0.4);
  color: var(--green-dark);
  font-weight: 800;
}

.services__footer .button--secondary {
  background: rgba(13, 31, 60, 0.03);
  border-color: rgba(13, 31, 60, 0.1);
  color: var(--navy);
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.services__footer .button--secondary:hover,
.services__footer .button--secondary:focus-visible {
  background: rgba(45, 106, 79, 0.05);
  border-color: rgba(45, 106, 79, 0.35);
  color: var(--green-mid);
  box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.08);
}

@media (max-width: 768px) {
  .services-nav__inner {
    padding: 20px;
    border-radius: 20px;
  }

  .form__intro {
    font-size: 0.93rem;
  }

  .services-nav {
    margin-top: -18px;
  }

  .services-nav__links a {
    min-height: 38px;
    font-size: 0.88rem;
  }
}

@media (max-width: 480px) {
  .services-nav__inner {
    padding: 18px;
    border-radius: 18px;
  }

  .contact__assurances {
    margin: 22px 0 26px;
  }

  .contact__assurance {
    padding: 15px 16px;
  }

  .services-nav {
    margin-top: -14px;
  }

  .services-nav__links {
    gap: 8px;
  }

  .services-nav__links a {
    min-height: 36px;
    padding: 0 13px;
    font-size: 0.84rem;
  }
}

/* ─── HERO SIMPLIFICATION ────────────────────────────────────────── */
.hero__content {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-items: center;
}

.hero__copy {
  max-width: 820px;
}

.hero__copy p {
  max-width: 60ch;
}

@media (max-width: 768px) {
  .hero__content {
    align-items: end;
  }

  .hero__copy {
    max-width: 100%;
  }
}

/* ─── MOBILE PATCH — melhorias gerais mobile ─────────────────────── */

/* 768px: topbar mais limpa — oculta email/telefone, mantém só o slogan */
@media (max-width: 768px) {
  .header__topbar-inner a {
    display: none;
  }

  .header__topbar-inner span {
    text-align: center;
    font-size: 0.78rem;
    line-height: 1.4;
  }
}

/* 480px: melhorias completas de experiência mobile */
@media (max-width: 480px) {

  /* Topbar: oculta completamente — libera espaço valioso no topo */
  .header__topbar {
    display: none !important;
  }

  /* Header height menor — mais compacto e moderno no mobile */
  :root {
    --header-height: 68px;
  }

  /* Logo: substitui a técnica absolute/overflow por posicionamento
     simples e direto — resolve o corte/sumindo em todos os devices */
  .header__logo {
    position: relative;
    height: var(--header-height);
    min-width: 0;
    overflow: visible;
    display: flex;
    align-items: center;
  }

  .header__logo-img {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    height: 54px !important;
    width: auto !important;
    max-width: 170px !important;
    object-fit: contain;
    object-position: left center;
    filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.3));
  }

  /* Header toggle: alinhado verticalmente com a logo */
  .header__toggle {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    flex-shrink: 0;
  }

  /* Hero: recalcula padding sem topbar
     = header(68px) + espaço de respiro(36px) = 104px */
  .hero__content {
    padding-top: 104px !important;
    padding-bottom: 52px;
  }

  /* H1: ligeiramente menor para caber confortavelmente no mobile */
  h1 {
    font-size: clamp(2.3rem, 8vw, 3rem) !important;
    line-height: 1.05;
    letter-spacing: -0.04em;
  }

  /* H2: mais legível em telas pequenas */
  h2 {
    font-size: clamp(1.7rem, 6.5vw, 2.4rem) !important;
  }

  /* Seções: padding reduzido para mobile */
  .section {
    padding: 64px 0 !important;
  }

  /* Botões: tamanho de toque confortável */
  .button {
    min-height: 52px;
    font-size: 0.96rem;
    padding: 0 24px;
  }

  /* Meta text abaixo dos botões do hero */
  .hero__meta {
    font-size: 0.82rem;
    line-height: 1.5;
    margin-top: 18px;
    opacity: 0.85;
  }

  /* CTA banner: centralizado e botão em largura total */
  .cta-banner__inner {
    text-align: center;
    align-items: center;
  }

  .cta-banner__inner .button {
    width: 100%;
    justify-content: center;
    max-width: 340px;
    margin: 0 auto;
  }

  /* Formulário: título mais compacto */
  .contact__form .form__title {
    font-size: 1.25rem;
  }

  /* Contact assurance items: espaçamento adequado */
  .contact__assurances {
    gap: 16px;
  }

  /* Footer: gap entre colunas */
  .footer__grid {
    gap: 28px;
  }

  /* Cookie banner: empilhado e mais compacto */
  .cookie-banner__inner {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    padding: 14px 16px;
  }

  .cookie-banner__actions {
    width: 100%;
    justify-content: flex-end;
  }

  /* Reduz container padding nas bordas */
  .container {
    width: min(calc(100% - 28px), var(--container));
  }
}
