
:root {
  --navy: #041630;
  --navy-2: #071D3E;
  --blue: #0F4FA8;
  --blue-soft: #4A86D4;
  --white: #FFFFFF;
  --off: #F5F8FC;
  --line: #DCE6F2;
  --text: #1F2937;
  --muted: #637083;
  --whatsapp: #1C884B;
  --shadow: 0 22px 70px rgba(4, 22, 48, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.62;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
.container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }

.topline {
  background: var(--navy);
  color: rgba(255,255,255,.72);
  font-size: 13px;
}
.topline-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
}
.topline a:hover { color: #fff; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand { display: inline-flex; align-items: center; gap: 14px; }
.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .08em;
}
.brand-mark.light { background: rgba(255,255,255,.1); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong {
  font-family: Montserrat, sans-serif;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--navy);
  font-size: 18px;
}
.brand-text small {
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 10px;
  color: var(--blue);
  font-weight: 700;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  font-weight: 700;
}
.main-nav a:hover { color: var(--blue); }
.nav-button {
  background: var(--navy);
  color: #fff !important;
  padding: 11px 16px;
}
.menu-toggle {
  display: none;
  border: 0;
  background: var(--navy);
  color: #fff;
  width: 42px;
  height: 42px;
  font-size: 21px;
}

.hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}
.hero-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.01);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4,22,48,.92), rgba(4,22,48,.72) 48%, rgba(4,22,48,.18)),
    linear-gradient(0deg, rgba(4,22,48,.18), rgba(4,22,48,0));
}
.hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .75fr;
  gap: 72px;
  align-items: center;
  padding: 110px 0;
}
.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 12px;
  font-weight: 800;
  color: var(--blue);
}
.eyebrow-light { color: rgba(255,255,255,.78); }
h1, h2, h3 {
  margin: 0 0 20px;
  font-family: Montserrat, sans-serif;
  line-height: 1.08;
  color: var(--navy);
}
h1 {
  max-width: 820px;
  color: #fff;
  font-size: clamp(42px, 6vw, 76px);
  letter-spacing: -.045em;
}
h2 {
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: -.035em;
}
h3 { font-size: 21px; }
p { margin: 0 0 18px; color: var(--muted); }
.hero-copy p {
  max-width: 680px;
  color: rgba(255,255,255,.84);
  font-size: 20px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}
.actions.center { justify-content: center; }
.btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  font-weight: 800;
  font-size: 15px;
  transition: .2s ease;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: #0b3f88; transform: translateY(-1px); }
.btn-ghost { border: 1px solid rgba(255,255,255,.38); color: #fff; background: rgba(255,255,255,.08); }
.btn-light { background: #fff; color: var(--navy); }
.btn-outline-light { border: 1px solid rgba(255,255,255,.42); color: #fff; }

.hero-panel {
  background: rgba(255,255,255,.95);
  box-shadow: var(--shadow);
  padding: 34px;
  border-left: 4px solid var(--blue);
}
.hero-panel strong {
  display: block;
  font-family: Montserrat, sans-serif;
  color: var(--navy);
  font-size: 22px;
  margin-bottom: 18px;
}
.hero-panel ul, .control-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.hero-panel li, .control-card li {
  position: relative;
  padding-left: 24px;
  color: var(--text);
}
.hero-panel li::before, .control-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 800;
}

.segment-bar { background: var(--navy); }
.segment-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.segment-grid a {
  color: rgba(255,255,255,.82);
  border-right: 1px solid rgba(255,255,255,.12);
  padding: 24px;
  font-weight: 800;
}
.segment-grid a:hover { color: #fff; background: rgba(255,255,255,.06); }

.section { padding: 98px 0; }
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.wide-gap { gap: 96px; }
.text-block p { font-size: 18px; }
.lead-line {
  font-weight: 800;
  color: var(--navy);
  font-size: 20px;
}

.services, .showcase, .method, .ad-pages { background: var(--off); }
.section-head { max-width: 820px; margin-bottom: 52px; }
.service-list {
  border-top: 1px solid var(--line);
}
.service-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 28px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}
.service-row span {
  color: var(--blue);
  font-weight: 800;
  font-family: Montserrat, sans-serif;
}
.service-row h3 { margin-bottom: 8px; }
.service-row:hover h3 { color: var(--blue); }

.showcase-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 26px;
}
.showcase-card {
  background: #fff;
  box-shadow: 0 12px 40px rgba(4,22,48,.08);
}
.showcase-card.large { grid-row: span 2; }
.showcase-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.showcase-card.large img { aspect-ratio: 4 / 4.15; }
.showcase-card div { padding: 28px; }
.showcase-card span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 12px;
  font-weight: 800;
}

.dark-section {
  background: var(--navy);
  color: #fff;
}
.dark-section h2, .dark-section p { color: #fff; }
.dark-section p { color: rgba(255,255,255,.78); }
.control-card {
  background: #fff;
  color: var(--text);
  padding: 36px;
  box-shadow: var(--shadow);
}
.control-card h3 { color: var(--navy); }
.control-card ul {
  grid-template-columns: 1fr 1fr;
  gap: 14px 18px;
}

.profile-card {
  background: var(--navy);
  color: #fff;
  padding: 42px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.profile-initial {
  display: inline-flex;
  width: 76px;
  height: 76px;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  margin-bottom: 22px;
  font-family: Montserrat, sans-serif;
}
.profile-card h3, .profile-card p { color: #fff; }

.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.method-grid article {
  background: #fff;
  border: 1px solid var(--line);
  padding: 28px;
}
.method-grid span {
  display: block;
  color: var(--blue);
  font-family: Montserrat, sans-serif;
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 18px;
}

.ad-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.ad-grid a {
  background: #fff;
  border: 1px solid var(--line);
  padding: 28px;
  min-height: 170px;
}
.ad-grid strong {
  display: block;
  font-family: Montserrat, sans-serif;
  color: var(--navy);
  margin-bottom: 12px;
}
.ad-grid span { color: var(--muted); }

.final-cta {
  background: var(--blue);
  padding: 96px 0;
  text-align: center;
  color: #fff;
}
.final-inner { max-width: 850px; }
.final-cta h2, .final-cta p { color: #fff; }
.final-cta p { color: rgba(255,255,255,.85); font-size: 19px; }

.footer {
  background: var(--navy);
  color: #fff;
  padding-top: 72px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 56px;
}
.footer h3, .footer h4 { color: #fff; }
.footer p, .footer a { color: rgba(255,255,255,.72); }
.footer a { display: block; margin-bottom: 10px; }
.footer-bottom {
  margin-top: 48px;
  padding: 22px;
  border-top: 1px solid rgba(255,255,255,.12);
  text-align: center;
  color: rgba(255,255,255,.62);
  font-size: 14px;
}
.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 120;
  padding: 14px 18px;
  background: var(--whatsapp);
  color: #fff;
  font-weight: 800;
  box-shadow: var(--shadow);
}

/* Subpáginas */
.subhero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}
.subhero-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .46;
}
.subhero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4,22,48,.92), rgba(4,22,48,.62));
}
.subhero-grid {
  position: relative;
  z-index: 2;
  max-width: 980px;
}
.subhero h1 {
  font-size: clamp(40px, 5vw, 66px);
}
.subhero p {
  color: rgba(255,255,255,.84);
  font-size: 20px;
  max-width: 760px;
}
.light-card {
  background: var(--off);
}
.compact .method-grid {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1060px) {
  .topline { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .main-nav {
    position: absolute;
    top: 86px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: #fff;
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--line);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 12px 0; }
  .nav-button { margin-top: 8px; }
  .hero-layout, .split, .showcase-grid {
    grid-template-columns: 1fr;
  }
  .hero-layout { gap: 42px; }
  .segment-grid, .method-grid, .ad-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  .segment-grid a {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.12);
  }
  .showcase-card.large { grid-row: auto; }
  .showcase-card.large img { aspect-ratio: 4 / 3; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 32px, 1180px); }
  .header-inner { min-height: 76px; }
  .main-nav { top: 76px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-text strong { font-size: 15px; }
  .brand-text small { font-size: 8px; letter-spacing: .1em; }
  .hero { min-height: auto; }
  .hero-layout { padding: 80px 0 64px; }
  h1 { font-size: 42px; }
  .hero-copy p, .subhero p { font-size: 17px; }
  .hero-panel { padding: 26px; }
  .section { padding: 74px 0; }
  .actions { flex-direction: column; }
  .btn { width: 100%; }
  .service-row { grid-template-columns: 1fr; gap: 10px; }
  .control-card ul { grid-template-columns: 1fr; }
  .floating-whatsapp {
    left: 14px;
    right: 14px;
    text-align: center;
  }
}


/* ================================
   PATCH V5.1 — cache e acabamento
================================ */

/* Garante que nenhuma fonte serifada antiga permaneça no hero */
body, button, input, textarea, select,
h1, h2, h3, h4, h5, h6,
.hero h1, .subhero h1 {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

h1, h2, h3, .brand-text strong,
.hero h1, .subhero h1 {
  font-family: Montserrat, Inter, system-ui, sans-serif !important;
}

/* Topbar com separação mais elegante */
.topline-inner > * + * {
  position: relative;
}

.topline-inner > * + *::before {
  content: "•";
  margin-right: 20px;
  color: rgba(255,255,255,.34);
}

/* Capa mais visual: imagem mais presente, sem virar fundo apagado */
.hero-overlay {
  background:
    linear-gradient(90deg, rgba(4,22,48,.88), rgba(4,22,48,.66) 44%, rgba(4,22,48,.25) 76%, rgba(4,22,48,.12)),
    linear-gradient(0deg, rgba(4,22,48,.10), rgba(4,22,48,.04));
}

.hero-copy p {
  max-width: 720px;
}

.hero-panel {
  color: var(--text);
  border-left: 0;
  border-top: 4px solid var(--blue);
}

.hero-panel strong,
.hero-panel li {
  opacity: 1;
}

/* Corrige qualquer link secundário invisível em fundo escuro */
.btn-ghost,
.btn-ghost:visited {
  color: #fff !important;
  opacity: 1;
}

/* Espaçamento superior do hero abaixo do cabeçalho */
.hero-layout {
  min-height: 650px;
}

/* Mobile: evita headline quebrada demais */
@media (max-width: 640px) {
  h1 {
    font-size: 38px !important;
    line-height: 1.08;
  }
}


/* ================================
   PATCH V5.2 — correções VOE
================================ */

/* Nome e logo corretos */
.brand {
  gap: 12px;
}

.brand img.logo-img {
  display: block;
  width: 218px;
  max-height: 62px;
  object-fit: contain;
}

.brand-mark,
.brand-text {
  display: none !important;
}

.footer-logo {
  display: block;
  width: 210px;
  max-width: 100%;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
}

/* Topline com texto correto e mais legível */
.topline-inner {
  justify-content: flex-end;
  gap: 18px;
  flex-wrap: wrap;
}

/* Evita área de hero invisível por cache/estilos antigos */
.hero-panel {
  background: rgba(255,255,255,.96);
}

.hero-panel strong,
.hero-panel li,
.hero-panel ul {
  color: var(--text) !important;
}

.hero-panel li::before {
  color: var(--blue) !important;
}

.btn-ghost {
  color: #fff !important;
  border-color: rgba(255,255,255,.45);
  background: rgba(255,255,255,.10);
}

.btn-ghost:hover {
  background: rgba(255,255,255,.18);
}

/* Prova social e credenciais */
.testimonial-blueprint {
  background: #fff;
}

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

.testimonial-card {
  border: 1px solid var(--line);
  background: var(--off);
  padding: 28px;
}

.testimonial-card span {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
}

.testimonial-card p {
  color: var(--text);
  font-weight: 600;
}

.testimonial-card small {
  color: var(--muted);
  font-weight: 700;
}

.footer-legal {
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.14);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.footer-legal p {
  margin: 0;
  color: rgba(255,255,255,.72);
  font-size: 14px;
}

/* Investidores: cards extras */
.scope-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 12px;
}

.scope-list li {
  position: relative;
  padding-left: 24px;
  color: var(--text);
}

.scope-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 800;
}

@media (max-width: 1060px) {
  .testimonial-grid,
  .footer-legal {
    grid-template-columns: 1fr;
  }

  .brand img.logo-img {
    width: 190px;
  }
}

@media (max-width: 640px) {
  .brand img.logo-img {
    width: 165px;
  }
}


/* ================================
   PATCH V5.3 — dados institucionais
================================ */

.company-card p {
  color: rgba(255,255,255,.82);
  margin-bottom: 8px;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.72);
  font-size: 14px;
}

.footer-legal p {
  margin: 0;
  color: rgba(255,255,255,.72);
}

.footer-legal strong {
  color: #fff;
}


/* ================================
   PATCH V5.4 — rodapé e responsabilidade técnica
================================ */

/* Remove qualquer marca quadrada antiga no rodapé */
.footer .brand-mark.light {
  display: none !important;
}

/* Rodapé textual mais limpo */
.footer-brand-text h3,
.footer-brand h3 {
  margin-bottom: 14px;
  font-family: Montserrat, Inter, system-ui, sans-serif;
  font-size: 20px;
  letter-spacing: 0.02em;
  text-transform: none;
}

.footer-brand-text p,
.footer-brand p {
  max-width: 420px;
}

/* Linha institucional do rodapé mais legível */
.footer-legal {
  align-items: center;
}

.footer-legal p {
  line-height: 1.5;
}


/* ================================
   PATCH V5.5 — GTM + rodapé
================================ */

/* Remove a imagem de logo do rodapé para evitar distorção visual */
.footer-logo {
  display: none !important;
}

/* Marca textual do rodapé mais limpa e institucional */
.footer-brand h3 {
  font-family: Montserrat, Inter, system-ui, sans-serif;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-transform: none;
  margin-bottom: 14px;
}

.footer-brand p {
  max-width: 430px;
}


/* ================================
   PATCH V5.6 — gestão como carro-chefe
================================ */

.position h2 {
  max-width: 620px;
}

.hero-panel strong {
  color: var(--navy);
}

.service-row:first-child h3::after {
  content: "Carro-chefe";
  display: inline-flex;
  margin-left: 12px;
  padding: 4px 8px;
  vertical-align: middle;
  background: rgba(15,79,168,.10);
  color: var(--blue);
  font-family: Inter, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

@media (max-width: 640px) {
  .service-row:first-child h3::after {
    display: table;
    margin-left: 0;
    margin-top: 8px;
  }
}


/* PATCH V5.7 — nova arquitetura */
.main-nav{gap:22px}.nav-button{white-space:nowrap}.four-pillars a:first-child{background:rgba(255,255,255,.08);color:#fff}.floating-whatsapp{border-radius:0}.showcase-card img{object-position:center}.logo-img{display:block;width:auto;height:auto;max-width:245px;max-height:72px;object-fit:contain}@media(max-width:1060px){.logo-img{max-width:205px;max-height:58px}}@media(max-width:640px){.logo-img{max-width:175px;max-height:50px}}

/* PATCH V5.8 — limpeza + obras industriais */
.clean-who .split, .clean-who .container.split { grid-template-columns: minmax(0, 820px); justify-content: center; }
.clean-who .profile-card, .clean-who .company-card { display: none !important; }
.testimonial-blueprint { display: none !important; }
.industrial { background: var(--white); }
.industrial .image-frame { overflow: hidden; box-shadow: var(--shadow); background: var(--off); }
.industrial .image-frame img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.industrial-grid { align-items: center; }
.industrial .lead-line { margin-top: 6px; }
@media (max-width: 1060px) {
  .clean-who .split, .clean-who .container.split { grid-template-columns: 1fr; }
}
