/* =========================================================================
   ENTHEOS CONSULTORIA | Design System
   Identidade visual Entheos (manual de marca) aplicada sobre arquitetura
   de site de consultoria (padrão Falconi): header com mega-menu, hero
   editorial, faixa de indicadores, grid de soluções, método em etapas,
   prova social, banda de CTA e rodapé multi-coluna.
   ========================================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  /* Paleta oficial */
  --navy:        #0C1F32;
  --navy-800:    #12293f;
  --navy-700:    #1b3852;
  --blue:        #326EB6;
  --blue-600:    #2D6DB4;
  --blue-400:    #5b93d4;
  --white:       #FFFFFF;
  --gray-line:   #E8E8E8;
  --gray-bg:     #F5F7FA;
  --gray-text:   #5A6875;
  --ink:         #1A1A1A;

  --grad-inst:   linear-gradient(180deg, #2D6DB4 0%, #0C1F32 100%);
  --grad-diag:   linear-gradient(135deg, #2D6DB4 0%, #0C1F32 70%);

  /* Tipografia */
  --font-head: "Raleway", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Raleway", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;

  /* Escala fluida */
  --fs-display: clamp(1.9rem, 3.9vw, 3.35rem);
  --fs-h1:      clamp(2.2rem, 4.6vw, 3.9rem);
  --fs-h2:      clamp(1.8rem, 3.3vw, 2.9rem);
  --fs-h3:      clamp(1.25rem, 1.7vw, 1.6rem);
  --fs-lead:    clamp(1.05rem, 1.35vw, 1.3rem);
  --fs-body:    1rem;
  --fs-sm:      0.875rem;
  --fs-xs:      0.75rem;

  /* Layout */
  --wrap:       1240px;
  --wrap-narrow: 880px;
  --gutter:     clamp(1.25rem, 4vw, 3.5rem);
  --sec-y:      clamp(4rem, 8vw, 7.5rem);
  --radius:     8px;
  --radius-lg:  15px;
  --radius-xl:  20px;
  --radius-block: clamp(28px, 5vw, 60px); /* cantos arredondados dos blocos de destaque */

  --header-h:   88px;
  --ease:       cubic-bezier(.22,.61,.36,1);
  --shadow-sm:  0 2px 10px rgba(12,31,50,.06);
  --shadow-md:  0 12px 34px rgba(12,31,50,.10);
  --shadow-lg:  0 24px 60px rgba(12,31,50,.16);
}

/* ---------- 2. Reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 56px); }
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
h1,h2,h3,h4,h5 { font-family: var(--font-head); line-height: 1.22; font-weight: 700; letter-spacing: -0.005em; color: var(--navy); }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p  { color: var(--gray-text); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 2px; }

/* ---------- 3. Utilitários ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: var(--wrap-narrow); }
.section { padding-block: var(--sec-y); }
.section--tight { padding-block: clamp(3rem, 5vw, 4.5rem); }
.section--gray { background: var(--gray-bg); }
.section--navy { background: var(--navy); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy p { color: rgba(255,255,255,.76); }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--navy); color: #fff; padding: .75rem 1.25rem;
}
.skip-link:focus { left: 0; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Rótulo de seção (eyebrow): assinatura visual da marca */
.eyebrow {
  display: inline-flex; align-items: center; gap: .7rem;
  font-family: var(--font-head); font-size: var(--fs-xs); font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--blue);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: ""; width: 34px; height: 2px; background: var(--blue); display: block;
}
.section--navy .eyebrow { color: var(--blue-400); }
.section--navy .eyebrow::before { background: var(--blue-400); }

.section-head { max-width: 780px; margin-bottom: clamp(2.5rem, 4vw, 3.75rem); }
.section-head p { font-size: var(--fs-lead); margin-top: 1.1rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

.lead { font-size: var(--fs-lead); line-height: 1.65; }

/* ---------- 4. Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font-family: var(--font-head); font-weight: 700; font-size: var(--fs-sm);
  letter-spacing: .08em; text-transform: uppercase;
  padding: 1.05rem 2.1rem; border-radius: 999px;
  transition: all .3s var(--ease); cursor: pointer; text-align: center;
  border: 2px solid transparent;
}
.btn svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--navy); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--blue); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--blue); color: #fff; }
.btn--ghost { border-color: var(--navy); color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: #fff; }
.btn--ghost-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--ghost-light:hover { background: #fff; color: var(--navy); }
.btn--sm { padding: .8rem 1.6rem; font-size: var(--fs-xs); }

/* Link com seta */
.arrow-link {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-head); font-weight: 700; font-size: var(--fs-sm);
  letter-spacing: .1em; text-transform: uppercase; color: var(--blue);
  transition: gap .3s var(--ease), color .3s var(--ease);
}
.arrow-link svg { width: 15px; height: 15px; }
.arrow-link:hover { gap: 1rem; color: var(--navy); }

/* ---------- 5. Header ---------- */
/* Header sólido em azul profundo, fixo no topo (padrão de consultoria) */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h); background: var(--navy);
  display: flex; align-items: center;
  transition: height .35s var(--ease), box-shadow .35s var(--ease);
}
.site-header.is-solid { height: 74px; box-shadow: 0 4px 24px rgba(12,31,50,.28); }
body { padding-top: var(--header-h); }

.header-inner {
  width: 100%; max-width: var(--wrap); margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  position: relative; z-index: 2;
}
.brand { display: block; flex-shrink: 0; }
.brand img { height: 52px; width: auto; transition: height .35s var(--ease); }
.site-header.is-solid .brand img { height: 44px; }
.brand .logo-light { display: block; }
.brand .logo-dark  { display: none; }

/* Navegação principal */
.nav { display: flex; align-items: center; gap: clamp(1.2rem, 2.4vw, 2.4rem); }
.nav > li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--font-head); font-weight: 600; font-size: .82rem;
  letter-spacing: .12em; text-transform: uppercase; color: #fff;
  padding-block: 1.6rem; transition: color .25s var(--ease); white-space: nowrap;
}
.nav-link .chev { width: 10px; height: 10px; transition: transform .3s var(--ease); }
.nav-link:hover, .nav-link[aria-expanded="true"] { color: var(--blue-400); }
.nav-link[aria-expanded="true"] .chev { transform: rotate(180deg); }
.nav-link.is-current::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 1.15rem;
  height: 2px; background: var(--blue);
}

/* Mega-menu de soluções */
.mega {
  position: absolute; top: 100%; left: 50%; transform: translate(-50%, 12px);
  width: min(760px, calc(100vw - 3rem));
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 1.5rem; opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s;
  border-top: 3px solid var(--blue);
}
.mega.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 6px); }
/* Duas famílias de soluções, lado a lado */
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.mega-col { display: flex; flex-direction: column; }
.mega-col-title {
  font-family: var(--font-head); font-size: var(--fs-xs); font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--blue);
  padding: .35rem 1rem .7rem; display: flex; align-items: center; gap: .6rem;
}
.mega-col-title::after { content: ""; flex: 1; height: 1px; background: var(--gray-line); }
.mega-item {
  display: flex; gap: .85rem; align-items: baseline;
  padding: .6rem 1rem; border-radius: var(--radius);
  transition: background .25s var(--ease);
}
.mega-item:hover { background: var(--gray-bg); }
.mega-item .num {
  font-family: var(--font-head); font-size: .7rem; font-weight: 800;
  color: var(--blue); letter-spacing: .05em; min-width: 18px;
}
.mega-item .t { font-family: var(--font-head); font-weight: 600; font-size: .93rem; color: var(--navy); line-height: 1.35; }
.mega-foot {
  margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--gray-line);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding-inline: 1rem; flex-wrap: wrap;
}
.mega-foot span { font-size: .82rem; color: var(--gray-text); }

/* Ações do header */
.header-actions { display: flex; align-items: center; gap: 1rem; }
.burger {
  display: none; width: 46px; height: 46px; border-radius: 50%;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.burger span {
  display: block; width: 22px; height: 2px; background: #fff;
  transition: transform .3s var(--ease), opacity .25s var(--ease);
}
.burger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-active span:nth-child(2) { opacity: 0; }
.burger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Menu mobile */
.mobile-nav {
  position: fixed; inset: 0; z-index: 99; background: var(--navy);
  padding: calc(var(--header-h) + 1.5rem) var(--gutter) 3rem;
  overflow-y: auto; opacity: 0; visibility: hidden;
  transform: translateY(-14px); transition: all .35s var(--ease);
}
.mobile-nav.is-open { opacity: 1; visibility: visible; transform: none; }
.mobile-nav a { color: #fff; }
.mobile-nav .m-group { border-bottom: 1px solid rgba(255,255,255,.12); padding-block: 1.15rem; }
.mobile-nav .m-title {
  font-family: var(--font-head); font-weight: 700; font-size: 1.25rem;
  letter-spacing: -.01em; display: flex; justify-content: space-between; align-items: center;
  width: 100%; color: #fff;
}
.mobile-nav .m-sub { display: none; padding-top: .9rem; }
.mobile-nav .m-sub.is-open { display: block; }
.mobile-nav .m-sub a {
  display: block; padding: .6rem 0 .6rem 1rem;
  color: rgba(255,255,255,.72); font-size: .95rem; border-left: 2px solid rgba(255,255,255,.18);
}
.mobile-nav .m-sub a:hover { color: #fff; border-color: var(--blue-400); }
.mobile-nav .m-cta { margin-top: 2rem; display: grid; gap: .75rem; }

/* ---------- 6. Hero (home) ----------
   Uma única superfície: o degradê institucional cobre todo o bloco e a
   fotografia é sobreposta à direita, com a borda esquerda dissolvida por
   uma máscara em degradê. O resultado é uma transição contínua entre o
   azul e a imagem, sem linha de corte. */
.hero {
  position: relative; overflow: hidden;
  display: flex; align-items: center;
  min-height: min(76vh, 720px);
  background: var(--grad-diag);
  border-radius: 0 0 var(--radius-block) var(--radius-block);
}
.hero-panel {
  position: relative; z-index: 2; width: 100%;
  padding-block: clamp(3rem, 6vw, 5rem);
}
/* Alinha o texto à mesma coluna da logo e das demais seções da página */
.hero-content {
  width: 100%; max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
/* O texto fica contido na faixa azul, sem alcançar as pessoas da foto */
.hero h1 {
  color: #fff; font-size: var(--fs-display); font-weight: 700;
  letter-spacing: -.01em; line-height: 1.16; max-width: 20ch;
}
.hero h1 .accent { display: block; color: #fff; opacity: .82; }
.hero p {
  color: rgba(255,255,255,.86); font-size: var(--fs-lead);
  margin-top: 1.35rem; max-width: 38ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.5rem; }

/* A fotografia ocupa a direita e desaparece suavemente para a esquerda.
   A máscara faz a dissolução; o véu azul por cima aproxima a temperatura
   de cor da foto à do degradê, para os dois lerem como a mesma superfície. */
.hero-media {
  position: absolute; inset: 0 0 0 auto;
  width: 64%; z-index: 1; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg,
      rgba(0,0,0,0) 0%, rgba(0,0,0,.18) 16%, rgba(0,0,0,.62) 34%,
      rgba(0,0,0,.92) 52%, rgba(0,0,0,1) 66%);
          mask-image: linear-gradient(90deg,
      rgba(0,0,0,0) 0%, rgba(0,0,0,.18) 16%, rgba(0,0,0,.62) 34%,
      rgba(0,0,0,.92) 52%, rgba(0,0,0,1) 66%);
}
/* object-position mais à esquerda desloca as pessoas para a direita do quadro,
   deixando a área da dissolução livre de rostos */
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 30% center;
}
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg,
      rgba(45,109,180,.85) 0%, rgba(45,109,180,.42) 30%,
      rgba(20,52,88,.16) 60%, rgba(12,31,50,.06) 100%);
}

/* ---------- 7. Faixa de indicadores ---------- */
.stats { background: #fff; position: relative; }
.stats-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.stat {
  padding: clamp(1.5rem, 2.6vw, 2.25rem) clamp(1rem, 1.8vw, 1.6rem);
  border-left: 2px solid var(--gray-line);
}
.stat:first-child { border-left-color: var(--blue); }
.stat-num {
  font-family: var(--font-head); font-weight: 700; color: var(--navy);
  font-size: clamp(2rem, 3.3vw, 2.9rem); line-height: 1; letter-spacing: -.025em;
  white-space: nowrap;
}
.stat-num span { color: var(--blue); }
.stat-label {
  margin-top: .8rem; font-size: var(--fs-sm); line-height: 1.5;
  color: var(--gray-text); max-width: 24ch;
}

/* ---------- 8. Sobre ---------- */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem); align-items: center;
}
.about-media { position: relative; }
.about-media > img {
  width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
}
.about-media .badge {
  position: absolute; right: -14px; bottom: 28px;
  background: var(--grad-inst); color: #fff; padding: 1.4rem 1.6rem;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); max-width: 230px;
}
.about-media .badge strong {
  display: block; font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; line-height: 1.25;
}
.about-media .badge span { font-size: .78rem; color: rgba(255,255,255,.72); display: block; margin-top: .35rem; }
.about-text p + p { margin-top: 1.15rem; }
.about-sign {
  margin-top: 2.25rem; padding-top: 1.75rem; border-top: 1px solid var(--gray-line);
  display: flex; align-items: center; gap: 1rem;
}
.about-sign img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; object-position: center top; }
.about-sign .n { font-family: var(--font-head); font-weight: 700; color: var(--navy); line-height: 1.3; }
.about-sign .r { font-size: var(--fs-sm); color: var(--gray-text); }
.about-cta { margin-top: 2rem; }

/* ---------- 9. Grid de soluções ---------- */
/* Duas famílias: Soluções de Gente e Soluções de Gestão */
.family + .family { margin-top: clamp(3.5rem, 6vw, 5.5rem); }
.family-head {
  display: flex; align-items: baseline; gap: 1.25rem; flex-wrap: wrap;
  padding-bottom: 1.4rem; margin-bottom: 2.25rem;
  border-bottom: 1px solid var(--gray-line);
}
.family-tag {
  font-family: var(--font-head); font-size: var(--fs-xs); font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase; color: #fff;
  background: var(--blue); padding: .4rem .9rem; border-radius: 999px;
  flex-shrink: 0;
}
.family-head h3 { font-size: clamp(1.45rem, 2.3vw, 1.95rem); }
.family-head p { flex: 1 1 320px; font-size: .95rem; line-height: 1.6; }

.solutions-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem;
}
/* Família com quatro soluções: uma única fileira no desktop */
.solutions-grid--4 { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.solutions-grid--4 .thumb { aspect-ratio: 16 / 9; }
.solutions-grid--4 .body { padding: 1.4rem 1.3rem 1.6rem; }
.solutions-grid--4 .solution-card p { font-size: .89rem; }
.solution-card {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--gray-line); border-radius: var(--radius-lg);
  overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  height: 100%;
}
.solution-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.solution-card .thumb { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--navy); }
.solution-card .thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s var(--ease); filter: saturate(.92);
}
.solution-card:hover .thumb img { transform: scale(1.06); }
.solution-card .thumb::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12,31,50,0) 45%, rgba(12,31,50,.72) 100%);
}
.solution-card .thumb .idx {
  position: absolute; left: 1.25rem; top: 1.25rem; z-index: 2;
  font-family: var(--font-head); font-size: .72rem; font-weight: 800; letter-spacing: .12em;
  color: #fff; background: rgba(12,31,50,.65); backdrop-filter: blur(6px);
  padding: .35rem .7rem; border-radius: 999px;
}
.solution-card .body { padding: 1.6rem 1.5rem 1.75rem; display: flex; flex-direction: column; flex: 1; }
.solution-card h3 { margin-bottom: .8rem; }
.solution-card p { font-size: .93rem; line-height: 1.65; flex: 1; }
.solution-card .arrow-link { margin-top: 1.5rem; }

/* ---------- 10. Método (etapas) ---------- */
.method-grid { display: grid; grid-template-columns: 380px 1fr; gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
.method-list { border-top: 1px solid rgba(255,255,255,.16); }
.method-item { border-bottom: 1px solid rgba(255,255,255,.16); }
.method-q {
  display: flex; align-items: flex-start; gap: 1.5rem; width: 100%;
  padding: 1.6rem 0; text-align: left;
}
.method-q .n {
  font-family: var(--font-head); font-weight: 800; font-size: .8rem;
  color: var(--blue-400); letter-spacing: .1em; padding-top: .45rem; flex-shrink: 0;
}
.method-q .t {
  font-family: var(--font-head); font-weight: 700; font-size: clamp(1.1rem, 1.7vw, 1.45rem);
  color: #fff; flex: 1; line-height: 1.3; letter-spacing: -.01em;
}
.method-q .ic {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: all .3s var(--ease); color: #fff;
}
.method-q .ic svg { width: 13px; height: 13px; transition: transform .3s var(--ease); }
.method-item.is-open .ic { background: var(--blue); border-color: var(--blue); }
.method-item.is-open .ic svg { transform: rotate(45deg); }
.method-a { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); }
.method-a p { padding: 0 0 1.7rem 3.4rem; color: rgba(255,255,255,.72); max-width: 62ch; }

/* Cards de entregáveis */
.deliverables { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.deliverable {
  background: #fff; border: 1px solid var(--gray-line); border-radius: var(--radius-lg);
  padding: 1.75rem 1.6rem; transition: all .3s var(--ease); position: relative; overflow: hidden;
}
.deliverable::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--blue); transform: scaleY(0); transform-origin: top;
  transition: transform .35s var(--ease);
}
.deliverable:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.deliverable:hover::before { transform: scaleY(1); }
.deliverable h3 { font-size: 1.05rem; margin-bottom: .6rem; }
.deliverable p { font-size: .9rem; line-height: 1.6; }

/* ---------- 11. Clientes ---------- */
.clients-grid {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 1px; background: var(--gray-line);
  border: 1px solid var(--gray-line);
}
.client-cell {
  background: #fff; aspect-ratio: 3/2;
  display: flex; align-items: center; justify-content: center; padding: 1.25rem;
  transition: background .3s var(--ease);
}
.client-cell img {
  max-width: 100%; max-height: 100%; width: auto; object-fit: contain;
  filter: grayscale(1); opacity: .62; transition: all .4s var(--ease); mix-blend-mode: multiply;
}
.client-cell:hover { background: var(--gray-bg); }
.client-cell:hover img { filter: grayscale(0); opacity: 1; }

/* ---------- 12. Citação ---------- */
.quote-block { position: relative; text-align: center; max-width: 900px; margin-inline: auto; }
.quote-block .marks { width: 62px; margin-inline: auto; margin-bottom: 1.75rem; opacity: .9; }
.quote-block blockquote {
  font-family: var(--font-head); font-weight: 600; color: #fff;
  font-size: clamp(1.4rem, 2.6vw, 2.15rem); line-height: 1.35; letter-spacing: -.02em;
}
.quote-block cite {
  display: block; margin-top: 1.75rem; font-style: normal;
  font-size: var(--fs-sm); letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue-400); font-weight: 700; font-family: var(--font-head);
}

/* ---------- 13. Banda de CTA ---------- */
.cta-band { background: var(--grad-diag); position: relative; overflow: hidden; }
.cta-band .grafismo {
  position: absolute; right: -60px; top: 50%; transform: translateY(-50%);
  width: 420px; opacity: .12; pointer-events: none;
}
.cta-band .wrap { position: relative; z-index: 2; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2.5rem; flex-wrap: wrap; }
.cta-inner h2 { color: #fff; max-width: 18ch; }
.cta-inner p { color: rgba(255,255,255,.8); margin-top: 1rem; max-width: 46ch; }
.cta-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---------- 14. Contato ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2.5rem, 5vw, 5rem); }
.contact-info .offices { display: grid; gap: 1.5rem; margin-top: 2.5rem; }
.office {
  border: 1px solid var(--gray-line); border-radius: var(--radius-lg); padding: 1.6rem;
  transition: all .3s var(--ease);
}
.office:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); }
.office h3 {
  font-size: .8rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue); margin-bottom: .9rem; font-weight: 700;
}
.office .row { display: flex; align-items: center; gap: .7rem; font-size: .95rem; color: var(--gray-text); }
.office .row + .row { margin-top: .5rem; }
.office .row svg { width: 16px; height: 16px; color: var(--blue); flex-shrink: 0; }
.office .row a:hover { color: var(--blue); }

/* Formulário */
.form-card {
  background: #fff; border: 1px solid var(--gray-line);
  border-radius: var(--radius-lg); padding: clamp(1.75rem, 3vw, 2.75rem);
  box-shadow: var(--shadow-sm);
}
.field { margin-bottom: 1.25rem; }
.field label {
  display: block; font-family: var(--font-head); font-weight: 600;
  font-size: var(--fs-sm); color: var(--navy); margin-bottom: .5rem;
}
.field label .req { color: var(--blue); }
.field input, .field textarea, .field select {
  width: 100%; padding: .9rem 1rem; border: 1px solid var(--gray-line);
  border-radius: var(--radius); background: #fff; font-size: .95rem;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(50,110,182,.12);
}
.field input:user-invalid, .field textarea:user-invalid { border-color: #c0392b; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-consent { display: flex; gap: .7rem; align-items: flex-start; margin-bottom: 1.5rem; }
.form-consent input { width: 18px; height: 18px; margin-top: .2rem; flex-shrink: 0; accent-color: var(--blue); }
.form-consent label { font-size: .82rem; color: var(--gray-text); line-height: 1.55; font-weight: 400; }
.form-consent a { color: var(--blue); text-decoration: underline; }
.form-status {
  margin-top: 1rem; padding: .9rem 1.1rem; border-radius: var(--radius);
  font-size: .9rem; display: none;
}
.form-status.is-visible { display: block; }
.form-status.ok { background: rgba(50,110,182,.1); color: var(--navy); border: 1px solid rgba(50,110,182,.3); }
.form-status.err { background: rgba(192,57,43,.08); color: #96291c; border: 1px solid rgba(192,57,43,.25); }
.btn[disabled] { opacity: .6; pointer-events: none; }

/* ---------- 15. Páginas internas ---------- */
.page-hero {
  background: var(--navy); position: relative; overflow: hidden;
  padding-block: clamp(3.5rem, 7vw, 6rem) clamp(3.5rem, 7vw, 5.5rem);
  border-radius: 0 0 var(--radius-block) var(--radius-block);
}
.page-hero-media { position: absolute; inset: 0; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.page-hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(12,31,50,.96) 30%, rgba(12,31,50,.6) 100%);
}
.page-hero .wrap { position: relative; z-index: 2; }
.breadcrumb {
  display: flex; align-items: center; gap: .55rem; flex-wrap: wrap;
  font-size: var(--fs-xs); letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.55); margin-bottom: 1.5rem; font-family: var(--font-head); font-weight: 600;
}
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { opacity: .5; }
.breadcrumb [aria-current] { color: var(--blue-400); }
.page-hero h1 { color: #fff; max-width: 18ch; }
.page-hero p { color: rgba(255,255,255,.82); font-size: var(--fs-lead); max-width: 62ch; margin-top: 1.5rem; }
.page-hero .hero-actions { margin-top: 2.25rem; }

/* Sub-navegação por âncora */
.anchor-nav {
  position: sticky; top: 74px; z-index: 50;
  background: #fff; border-bottom: 1px solid var(--gray-line);
  box-shadow: 0 4px 14px rgba(12,31,50,.04);
}
.anchor-nav ul {
  display: flex; gap: 0; overflow-x: auto; scrollbar-width: none;
  max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter);
}
.anchor-nav ul::-webkit-scrollbar { display: none; }
.anchor-nav a {
  display: block; padding: 1.1rem 1.15rem; white-space: nowrap;
  font-family: var(--font-head); font-weight: 600; font-size: .78rem;
  letter-spacing: .1em; text-transform: uppercase; color: var(--gray-text);
  border-bottom: 2px solid transparent; transition: all .25s var(--ease);
}
.anchor-nav a:first-child { padding-left: 0; }
.anchor-nav a:hover { color: var(--navy); }
.anchor-nav a.is-active { color: var(--blue); border-bottom-color: var(--blue); }

/* Duas colunas de texto */
.split { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.split .body-copy p + p { margin-top: 1.15rem; }
.split .body-copy p { font-size: 1.02rem; }

/* Hero de página sem fotografia: degradê institucional */
.page-hero--gradient { background: var(--grad-diag); }

/* Destaque "Por que a Entheos" */
.why-block { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.why-block .why-copy p { color: rgba(255,255,255,.8); font-size: var(--fs-lead); }
.why-block .why-copy p + p { margin-top: 1.15rem; }
.why-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

/* Outras soluções */
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.related-card {
  border: 1px solid var(--gray-line); border-radius: var(--radius-lg);
  padding: 1.6rem 1.5rem; display: flex; flex-direction: column; gap: .7rem;
  transition: all .3s var(--ease); background: #fff;
}
.related-card:hover { border-color: var(--blue); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.related-card .n { font-family: var(--font-head); font-size: .72rem; font-weight: 800; color: var(--blue); letter-spacing: .12em; }
.related-card h3 { font-size: 1.08rem; }
.related-card p { font-size: .88rem; line-height: 1.6; flex: 1; }
.related-card .arrow-link { font-size: var(--fs-xs); margin-top: .4rem; }

/* ---------- 16. Rodapé ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.68); padding-top: clamp(3.5rem, 6vw, 5.5rem); }
.footer-top {
  display: grid; grid-template-columns: 1.5fr 1.05fr 1.05fr .85fr 1.1fr;
  gap: clamp(1.75rem, 3vw, 2.75rem); padding-bottom: 3.5rem;
}
.footer-brand img { height: 66px; width: auto; margin-bottom: 1.5rem; }
.footer-brand p { color: rgba(255,255,255,.62); font-size: .93rem; max-width: 32ch; }
.footer-social { display: flex; gap: .65rem; margin-top: 1.75rem; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.22);
  display: flex; align-items: center; justify-content: center; color: #fff;
  transition: all .3s var(--ease);
}
.footer-social a:hover { background: var(--blue); border-color: var(--blue); transform: translateY(-2px); }
.footer-social svg { width: 17px; height: 17px; }
.footer-col h4 {
  font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
  color: #fff; margin-bottom: 1.25rem; font-weight: 700;
}
.footer-col li + li { margin-top: .7rem; }
.footer-col a { font-size: .93rem; transition: color .25s var(--ease); }
.footer-col a:hover { color: var(--blue-400); }
.footer-office { font-size: .93rem; line-height: 1.75; }
.footer-office + .footer-office { margin-top: 1.4rem; }
.footer-office strong { color: #fff; display: block; font-family: var(--font-head); font-size: .84rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .35rem; }
.footer-office a:hover { color: var(--blue-400); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.13); padding-block: 1.75rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1.25rem; flex-wrap: wrap;
  font-size: .82rem; color: rgba(255,255,255,.5);
}
.footer-bottom a:hover { color: #fff; }

/* WhatsApp flutuante */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 26px rgba(37,211,102,.4);
  transition: transform .3s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; color: #fff; }

/* ---------- 17. Animação de entrada ----------
   As regras são condicionadas à classe .js (adicionada pelo próprio
   documento). Sem JavaScript, todo o conteúdo permanece visível. */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .09s; }
.js .reveal[data-delay="2"] { transition-delay: .18s; }
.js .reveal[data-delay="3"] { transition-delay: .27s; }
.js .reveal[data-delay="4"] { transition-delay: .36s; }
.js .reveal[data-delay="5"] { transition-delay: .45s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- 18. Responsivo ---------- */
@media (max-width: 1080px) {
  .solutions-grid, .related-grid, .solutions-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .mega { width: min(600px, calc(100vw - 3rem)); }
  .clients-grid { grid-template-columns: repeat(4, 1fr); }
  .method-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .nav, .header-actions .btn { display: none; }
  .burger { display: flex; }
  .about-grid, .contact-grid, .split, .why-block { grid-template-columns: 1fr; }
  .about-media { max-width: 480px; }
  .about-media .badge { right: 12px; }
  .why-media { order: -1; max-width: 520px; }

  /* Hero empilha: a foto vem no topo e dissolve para baixo, dentro do azul */
  .hero { display: block; min-height: 0; }
  .hero-media {
    position: relative; inset: auto; width: 100%;
    aspect-ratio: 16 / 11;
    -webkit-mask-image: linear-gradient(180deg,
        rgba(0,0,0,1) 0%, rgba(0,0,0,1) 50%, rgba(0,0,0,.5) 79%, rgba(0,0,0,0) 100%);
            mask-image: linear-gradient(180deg,
        rgba(0,0,0,1) 0%, rgba(0,0,0,1) 50%, rgba(0,0,0,.5) 79%, rgba(0,0,0,0) 100%);
  }
  .hero-media::after {
    background: linear-gradient(180deg,
        rgba(12,31,50,.08) 0%, rgba(45,109,180,.28) 62%, rgba(45,109,180,.7) 100%);
  }
  .hero-panel { padding-block: 0 clamp(2.5rem, 7vw, 3.5rem); margin-top: -13%; }
  .hero-content > * { max-width: none; }
}
@media (max-width: 640px) {
  :root { --header-h: 72px; }
  .solutions-grid, .related-grid, .deliverables, .form-row,
  .solutions-grid--4 { grid-template-columns: 1fr; }
  .family-head { gap: .8rem; }
  .clients-grid { grid-template-columns: repeat(3, 1fr); }
  .hero { min-height: 78vh; }
  .hero-scroll { display: none; }
  .anchor-nav { top: 72px; }
  .footer-top { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .cta-inner h2 { max-width: none; }
  .brand img { height: 44px; }
  .method-q { gap: 1rem; }
  .method-a p { padding-left: 2.4rem; }
  .quote-block blockquote { text-align: left; }
  .quote-block .marks { margin-inline: 0; }
  .quote-block { text-align: left; }
}
@media (max-width: 640px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 420px) {
  .stats-grid { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- 19. Impressão ---------- */
@media print {
  .site-header, .mobile-nav, .wa-float, .anchor-nav, .hero-scroll, .cta-band { display: none !important; }
  body { padding-top: 0; }
  .js .reveal, .reveal { opacity: 1 !important; transform: none !important; }
}
