/* ============================================================
   FONTES — servidas pelo proprio dominio.
   Vinham do fonts.googleapis.com, que custava 838ms de bloqueio de
   renderizacao: DNS + TLS + CSS externo antes de qualquer texto aparecer.
   Aqui elas saem do mesmo servidor, na mesma conexao ja aberta.
   font-display: swap pinta o texto na fonte de sistema na hora e troca
   quando a fonte chega — o titulo nunca fica invisivel esperando.
   ============================================================ */

/* Fontes recortadas para os caracteres que o site usa, servidas do proprio
   dominio. Arquivo variavel cobre mais de uma espessura: o navegador baixa
   uma vez e instancia o peso pedido. */

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/archivo-var.woff2') format('woff2');
}

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/fonts/archivo-var.woff2') format('woff2');
}

@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/ibm-plex-sans-var.woff2') format('woff2');
}

@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/ibm-plex-sans-var.woff2') format('woff2');
}

@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/ibm-plex-sans-var.woff2') format('woff2');
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/ibm-plex-mono-400.woff2') format('woff2');
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/ibm-plex-mono-600.woff2') format('woff2');
}

/* ============================================================
   ALE DO GOOGLE — sistema visual
   Paleta com cor: sálvia, verde-petróleo e âmbar.
   Nada de branco chapado, nada de base escura.
   ============================================================ */

:root {
  /* superfícies — quatro níveis de faixa, todos com cor */
  --bg:        #dbe6de;   /* sálvia clara: a base do site */
  --bg-2:      #e6eee8;
  --surface:   #f1f6f1;   /* cartões e faixas de respiro */
  --mint:      #c5ddd2;   /* faixa de destaque */
  --deep:      #06322c;   /* verde-petróleo: faixas de contraste */
  --deep-2:    #0c443c;
  --deep-3:    #135048;

  /* tinta */
  --ink:       #07231f;
  --ink-2:     #3b524d;
  --ink-3:     #6a7f79;
  --on-deep:   #eaf5f0;
  --on-deep-2: #9dbdb4;

  /* marca */
  --teal:      #10786c;   /* legível sobre claro */
  --teal-br:   #2bb8a8;   /* o verde da marca */
  --teal-lt:   #6fdcc8;   /* sobre o petróleo */
  --amber:     #e8973a;   /* energia: números, detalhes, dados */
  --amber-dp:  #b8701f;

  /* linhas e sombras */
  --line:      #c2d3c9;
  --line-2:    #a8c0b4;
  --line-dp:   rgba(234, 245, 240, .16);
  --shadow:    0 1px 2px rgba(7, 35, 31, .05), 0 14px 34px -20px rgba(7, 35, 31, .3);
  --shadow-l:  0 2px 6px rgba(7, 35, 31, .07), 0 30px 70px -34px rgba(7, 35, 31, .45);

  /* tipografia */
  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-body:    "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --f-mono:    "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --radius:    14px;
  --measure:   66ch;

  /* trama de pontos — textura de dado, usada nas faixas */
  --dots: radial-gradient(circle at 1px 1px, rgba(7, 35, 31, .13) 1px, transparent 0);
  --dots-deep: radial-gradient(circle at 1px 1px, rgba(111, 220, 200, .16) 1px, transparent 0);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--teal-br); color: #04211d; }

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

.wrap { width: min(1180px, 90vw); margin: 0 auto; position: relative; z-index: 1; }
.wrap-narrow { width: min(820px, 90vw); margin: 0 auto; position: relative; z-index: 1; }

/* ============ TIPOGRAFIA ============ */

h1, h2, h3, h4 {
  font-family: var(--f-display);
  text-transform: uppercase;
  line-height: 1.05;
  letter-spacing: -.018em;
  text-wrap: balance;
  margin: 0;
}
h1 { font-weight: 800; font-size: clamp(2.1rem, 5.2vw, 3.9rem); }
h2 { font-weight: 800; font-size: clamp(1.65rem, 3.5vw, 2.6rem); }
h3 { font-weight: 700; font-size: 1.05rem; letter-spacing: .01em; }
h4 { font-weight: 700; font-size: .82rem; letter-spacing: .09em; }

p { margin: 0 0 18px; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; }

.lede { font-size: 1.12rem; color: var(--ink-2); max-width: 58ch; }
.prose { max-width: var(--measure); }
.prose p { color: var(--ink-2); }
.prose strong { color: var(--ink); }
.prose h2 { font-size: clamp(1.25rem, 2.1vw, 1.6rem); letter-spacing: .005em; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--f-mono);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 22px;
  flex-shrink: 0;
  border-radius: 6px;
  background: var(--teal-br);
  /* seta ascendente da marca, reduzida a um sinal gráfico */
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M4 17 10 11l3.2 3.2L20 7" fill="none" stroke="black" stroke-width="2.6" stroke-linecap="round" stroke-linejoin="round"/><path d="M15 7h5v5" fill="none" stroke="black" stroke-width="2.6" stroke-linecap="round" stroke-linejoin="round"/></svg>') center / 15px no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M4 17 10 11l3.2 3.2L20 7" fill="none" stroke="black" stroke-width="2.6" stroke-linecap="round" stroke-linejoin="round"/><path d="M15 7h5v5" fill="none" stroke="black" stroke-width="2.6" stroke-linecap="round" stroke-linejoin="round"/></svg>') center / 15px no-repeat;
}

.accent { color: var(--teal); }
.amber { color: var(--amber-dp); }

/* ============ FAIXAS ============ */

.band { padding: clamp(66px, 8vw, 112px) 0; position: relative; overflow: hidden; }
.band--paper { background: var(--bg); }
.band--white { background: var(--surface); }
.band--wash  { background: var(--mint); }
.band--dark  { background: var(--deep); color: var(--on-deep); }

/* textura de dados nas faixas claras */
.band--paper::before,
.band--wash::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--dots);
  background-size: 22px 22px;
  opacity: .5;
  pointer-events: none;
}
.band--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--dots-deep);
  background-size: 26px 26px;
  opacity: .45;
  pointer-events: none;
}

/* curva ascendente decorativa — o gráfico que o serviço promete */
.band--dark::after {
  content: "";
  position: absolute;
  right: -6%;
  bottom: -12%;
  width: min(620px, 55%);
  aspect-ratio: 1;
  background: radial-gradient(circle at 70% 70%, rgba(43, 184, 168, .17), transparent 62%);
  pointer-events: none;
}

.band--dark h1, .band--dark h2, .band--dark h3 { color: var(--on-deep); }
.band--dark p, .band--dark .lede { color: var(--on-deep-2); }
.band--dark .eyebrow { color: var(--teal-lt); }
.band--dark .eyebrow::before { background: var(--teal-lt); }
.band--dark .accent { color: var(--teal-lt); }
.band--dark .amber { color: var(--amber); }
.band--dark strong { color: var(--on-deep); }

/* ============ FAIXA CINEMATOGRÁFICA ============ */
/* A foto ocupa a faixa inteira e o texto fica numa coluna sobre um véu opaco.
   O véu não é enfeite: sem ele o texto claro cai em cima das partes iluminadas
   da foto e o contraste desaba justamente onde ela é mais bonita.
   No celular a foto vira uma tira no topo — sobreposição em 380px de largura
   não sobra espaço para nenhum dos dois. */

.band--cine { position: relative; isolation: isolate; }
.band--cine::before, .band--cine::after { display: none; }

.cine-foto { position: absolute; inset: 0; z-index: -2; }
.cine-foto img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 38%); }

.cine-veu {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(to right, var(--deep) 0%, rgba(6, 50, 44, .95) 36%, rgba(6, 50, 44, .58) 64%, rgba(6, 50, 44, .22) 100%),
    linear-gradient(to top, rgba(6, 50, 44, .6), transparent 46%);
}
.cine--dir .cine-veu {
  background:
    linear-gradient(to left, var(--deep) 0%, rgba(6, 50, 44, .95) 36%, rgba(6, 50, 44, .58) 64%, rgba(6, 50, 44, .22) 100%),
    linear-gradient(to top, rgba(6, 50, 44, .6), transparent 46%);
}

.cine-col { max-width: 580px; position: relative; }
.cine--dir .cine-col { margin-left: auto; }

/* assinatura dentro da faixa: substitui a legenda do cartão de foto */
.cine-assina { display: flex; align-items: center; gap: 14px; margin-top: 30px; }
.cine-assina img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid var(--line-dp); }
.cine-assina b { font-family: var(--f-display); font-size: .95rem; text-transform: uppercase; letter-spacing: .02em; color: var(--on-deep); display: block; }
.cine-assina span { font-size: .82rem; color: var(--teal-lt); font-weight: 600; }
.cine-assina a.li {
  width: 40px; height: 40px; margin-left: 6px;
  display: grid; place-items: center;
  border: 1px solid var(--line-dp); border-radius: 10px; color: var(--on-deep);
  transition: border-color .25s, color .25s, background .25s;
}
.cine-assina a.li svg { width: 17px; height: 17px; }
.cine-assina a.li:hover { border-color: var(--teal-lt); color: var(--teal-lt); background: rgba(43, 184, 168, .12); }

@media (max-width: 880px) {
  .band--cine { padding-top: 0; }
  .cine-foto {
    position: relative; z-index: 0; height: clamp(230px, 64vw, 330px);
    margin-bottom: clamp(30px, 6vw, 46px);
    -webkit-mask-image: linear-gradient(to bottom, #000 0 72%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0 72%, transparent 100%);
  }
  .cine-veu { display: none; }
  .cine-col, .cine--dir .cine-col { max-width: none; margin: 0; }
}


.band-head { max-width: 720px; margin-bottom: clamp(38px, 5vw, 60px); }
.band-head p { color: var(--ink-2); margin-top: 16px; font-size: 1.04rem; }
.band--dark .band-head p { color: var(--on-deep-2); }
.band-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.band-head--center .eyebrow { justify-content: center; }

/* ============ BOTÕES ============ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 15px 28px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.btn svg { width: 17px; height: 17px; flex-shrink: 0; }

.btn--primary { background: var(--teal); color: #fff; box-shadow: 0 4px 0 0 var(--deep); }
.btn--primary:hover { background: var(--teal-br); color: var(--deep); box-shadow: 0 6px 0 0 var(--deep); }
.band--dark .btn--primary { background: var(--teal-br); color: var(--deep); box-shadow: 0 4px 0 0 rgba(0,0,0,.35); }
.band--dark .btn--primary:hover { background: var(--teal-lt); }

.btn--ghost { border-color: var(--line-2); color: var(--ink); }
.btn--ghost:hover { border-color: var(--teal); color: var(--teal); background: rgba(43, 184, 168, .1); }
.band--dark .btn--ghost { border-color: var(--line-dp); color: var(--on-deep); }
.band--dark .btn--ghost:hover { border-color: var(--teal-lt); color: var(--teal-lt); background: rgba(43, 184, 168, .12); }

.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }

/* ============ NAVEGAÇÃO ============ */

.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(219, 230, 222, .9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  width: min(1180px, 90vw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 26px;
  height: 70px;
}
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand svg { width: 34px; height: 34px; color: var(--teal); }
.brand span {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: .95rem;
  letter-spacing: -.01em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-menu { display: flex; align-items: center; gap: 2px; margin-left: auto; list-style: none; padding: 0; margin-block: 0; }
.nav-menu > li { list-style: none; position: relative; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .89rem;
  font-weight: 500;
  color: var(--ink-2);
  padding: 9px 13px;
  border-radius: 8px;
  transition: color .2s, background .2s;
}
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--deep); background: rgba(16, 120, 108, .12); }
.nav-link svg { width: 11px; height: 11px; opacity: .55; }

.has-sub > .sub {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 280px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-l);
  padding: 8px;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: .18s ease;
}
.has-sub:hover > .sub, .has-sub:focus-within > .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: 9px 12px; border-radius: 7px; font-size: .88rem; color: var(--ink-2); }
.sub a:hover { background: var(--mint); color: var(--teal); }
.sub .sub-all { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 10px; color: var(--teal); font-weight: 600; }

.nav-cta { flex-shrink: 0; padding: 11px 20px; font-size: .74rem; }

.burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; flex-direction: column; gap: 5px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }

/* ============ HERO ============ */

.hero { padding: clamp(58px, 8vw, 96px) 0 clamp(58px, 7vw, 92px); }
.hero-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(36px, 5vw, 66px); align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero-single { max-width: 980px; }
.hero-single h1 { font-size: clamp(2rem, 4.6vw, 3.5rem); }

/* anel de marca atrás do hero: presença de cor sem competir com o conteúdo */
.hero::after {
  content: "";
  position: absolute;
  top: -26%;
  right: -12%;
  width: min(720px, 64%);
  aspect-ratio: 1;
  border: 2px solid rgba(43, 184, 168, .3);
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 46px rgba(43, 184, 168, .07),
    0 0 0 34px rgba(232, 151, 58, .07);
  pointer-events: none;
  z-index: 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--f-mono);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--deep);
  background: var(--surface);
  border: 1px solid var(--line-2);
  padding: 8px 15px;
  border-radius: 8px;
  margin-bottom: 26px;
}
.badge .pip { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 3px rgba(232, 151, 58, .25); }

/* ============ RESPOSTA DIRETA (GEO) ============ */

.answer {
  border-left: 4px solid var(--amber);
  background: var(--surface);
  padding: 24px 28px;
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow);
  margin: 30px 0 0;
  max-width: 62ch;
}
.answer p { font-size: 1.02rem; color: var(--ink-2); }
.answer strong { color: var(--ink); }
.band--dark .answer { background: var(--deep-2); border-color: var(--amber); box-shadow: none; }
.band--dark .answer p { color: var(--on-deep-2); }

/* ============ MÉTRICAS ============ */

.stats { display: flex; flex-wrap: wrap; gap: clamp(26px, 4vw, 52px); border-top: 2px solid var(--line-2); padding-top: 30px; margin-top: 44px; }
.band--dark .stats { border-color: var(--line-dp); }
.stat b {
  display: block;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  letter-spacing: -.025em;
  color: var(--deep);
  font-variant-numeric: tabular-nums;
}
.band--dark .stat b { color: var(--teal-lt); }
/* #6a7f79 dava 3,33 de contraste em 13px — abaixo do minimo de 4,5.
   #4a615b passa, e e o mesmo tom que ja usamos nos rotulos pequenos. */
.stat span { font-size: .82rem; color: #4a615b; line-height: 1.4; display: block; }
.band--dark .stat span { color: var(--on-deep-2); }

/* ============ CARDS ============ */

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

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
  position: relative;
}
.card:hover { transform: translateY(-4px); border-color: var(--teal-br); box-shadow: var(--shadow); }
.card .ico {
  color: var(--teal);
  margin-bottom: 18px;
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--mint);
}
.card .ico svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 9px; }
.card p { font-size: .93rem; color: var(--ink-2); margin: 0; }
.band--white .card { background: var(--bg-2); }
.band--wash .card { background: var(--surface); border-color: var(--line-2); }
.band--wash .card .ico { background: var(--mint); }
.band--dark .card { background: var(--deep-2); border-color: var(--line-dp); }
.band--dark .card .ico { background: var(--deep-3); color: var(--teal-lt); }
.band--dark .card h3 { color: var(--on-deep); }
.band--dark .card p { color: var(--on-deep-2); }
.band--dark .card:hover { border-color: var(--teal-br); }

a.card { display: block; }
a.card .more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 17px;
  font-family: var(--f-display);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--teal);
}
.band--dark a.card .more { color: var(--teal-lt); }
a.card:hover .more { gap: 12px; }
a.card .more svg { width: 12px; height: 12px; transition: transform .2s; }

/* ============ LISTAS ============ */

.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 34px; color: var(--ink-2); font-size: .97rem; }
.checks li::before {
  content: "";
  position: absolute;
  left: 0; top: .25em;
  width: 20px; height: 20px;
  border-radius: 6px;
  background: var(--teal-br);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="m5 12.5 4.5 4.5L19 7" fill="none" stroke="black" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/></svg>') center / 13px no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="m5 12.5 4.5 4.5L19 7" fill="none" stroke="black" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/></svg>') center / 13px no-repeat;
}
.checks li strong { color: var(--ink); }
.band--dark .checks li { color: var(--on-deep-2); }
.band--dark .checks li::before { background: var(--teal-lt); }
.band--dark .checks li strong { color: var(--on-deep); }

/* buscas reais */
.queries { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.query {
  font-family: var(--f-mono);
  font-size: .8rem;
  color: var(--ink-2);
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 8px 16px 8px 13px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: .25s;
}
.query svg { width: 12px; height: 12px; color: var(--amber-dp); flex-shrink: 0; }
.query:hover { border-color: var(--teal-br); background: var(--mint); }
.band--white .query { background: var(--bg-2); }
.band--dark .query { background: var(--deep-2); border-color: var(--line-dp); color: var(--on-deep-2); }

/* ============ SPLIT ============ */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.split--wide-left { grid-template-columns: 1.2fr .8fr; }
.split--wide-right { grid-template-columns: .8fr 1.2fr; }

/* ============ FOTO DO PROFISSIONAL ============ */

.foto-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 16px;
  box-shadow: var(--shadow-l);
  max-width: 460px;
  position: relative;
}
.foto-card::before {
  content: "";
  position: absolute;
  inset: -18px -18px auto auto;
  width: 120px; height: 120px;
  border-radius: 18px;
  background: var(--amber);
  opacity: .22;
  z-index: -1;
}
.foto-moldura {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4 / 4.5;
  background: var(--mint);
}
.foto-moldura img { width: 100%; height: 100%; object-fit: cover; object-position: center 6%; }
.foto-legenda { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 6px 4px; }
.foto-legenda b { font-family: var(--f-display); font-size: .92rem; text-transform: uppercase; letter-spacing: .02em; display: block; }
.foto-legenda span { font-size: .8rem; color: var(--teal); font-weight: 600; }
.foto-legenda a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--mint);
  color: var(--teal);
  flex-shrink: 0;
  transition: .25s;
}
.foto-legenda a:hover { background: var(--teal); color: #fff; }
.foto-legenda a svg { width: 17px; height: 17px; }

/* ============ PROCESSO ============ */

.steps { display: grid; gap: 2px; counter-reset: s; }
.step {
  counter-increment: s;
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 24px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  align-items: start;
  transition: background .3s, border-color .3s;
}
.step:first-child { border-radius: var(--radius) var(--radius) 0 0; }
.step:last-child { border-radius: 0 0 var(--radius) var(--radius); }
.step:hover { border-color: var(--teal-br); }
.step::before {
  content: counter(s, decimal-leading-zero);
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--amber-dp);
  line-height: 1.1;
  letter-spacing: -.03em;
}
.step h3 { margin-bottom: 7px; }
.step p { font-size: .94rem; color: var(--ink-2); margin: 0; }
.band--white .step { background: var(--bg-2); }
.band--dark .step { background: var(--deep-2); border-color: var(--line-dp); }
.band--dark .step::before { color: var(--amber); }
.band--dark .step h3 { color: var(--on-deep); }
.band--dark .step p { color: var(--on-deep-2); }

/* ============ FAQ ============ */

.faq { border-top: 2px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: .98rem;
  text-transform: none;
  letter-spacing: -.005em;
  transition: color .2s;
}
.faq summary:hover { color: var(--teal); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  width: 26px; height: 26px;
  flex-shrink: 0;
  border-radius: 7px;
  background: var(--mint);
  -webkit-mask: none;
  position: relative;
  transition: transform .3s, background .3s;
  background-image: linear-gradient(var(--teal), var(--teal)), linear-gradient(var(--teal), var(--teal));
  background-size: 11px 2px, 2px 11px;
  background-position: center, center;
  background-repeat: no-repeat;
}
.faq details[open] summary::after { transform: rotate(135deg); }
.faq details p { padding: 0 4px 26px; color: var(--ink-2); font-size: .96rem; max-width: var(--measure); }
.band--dark .faq { border-color: var(--line-dp); }
.band--dark .faq details { border-color: var(--line-dp); }
.band--dark .faq summary { color: var(--on-deep); }
.band--dark .faq details p { color: var(--on-deep-2); }

/* ============ LOGOS ============ */

.logos { display: flex; flex-wrap: wrap; gap: 12px; }
.logos span {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: .76rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ink-2);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 16px;
}
.band--dark .logos span { background: var(--deep-2); border-color: var(--line-dp); color: var(--on-deep-2); }

/* ============ DEPOIMENTOS ============ */

.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.quote {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
}
.quote::before {
  content: "";
  display: block;
  width: 30px; height: 3px;
  background: var(--amber);
  border-radius: 3px;
  margin-bottom: 18px;
}
.quote p { font-size: .96rem; color: var(--ink-2); }
.quote .who { display: flex; flex-direction: column; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.quote .who b { font-family: var(--f-display); font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; }
.quote .who span { font-size: .82rem; color: var(--ink-3); }
.placeholder-note {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(232, 151, 58, .15);
  border: 1px dashed var(--amber-dp);
  color: var(--amber-dp);
  border-radius: 9px;
  padding: 13px 17px;
  font-family: var(--f-mono);
  font-size: .76rem;
  letter-spacing: .03em;
  margin-bottom: 20px;
}

/* ============ TRILHA ============ */

.crumbs { padding: 18px 0 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; font-size: .8rem; color: var(--ink-3); }
.crumbs li::after { content: "/"; margin-left: 8px; opacity: .5; }
.crumbs li:last-child::after { display: none; }
.crumbs a { color: var(--ink-3); }
.crumbs a:hover { color: var(--teal); }

/* ============ CTA FINAL ============ */

.cta-final { text-align: center; }
.cta-final h2 { margin-bottom: 18px; }
.cta-final p { color: var(--on-deep-2); max-width: 52ch; margin: 0 auto 32px; }
.cta-final .btn-row { justify-content: center; }
.cta-note { margin-top: 20px; font-family: var(--f-mono); font-size: .74rem; letter-spacing: .06em; color: var(--on-deep-2); opacity: .85; }

/* ============ RODAPÉ ============ */

.foot { background: var(--deep); color: var(--on-deep-2); padding: 66px 0 34px; position: relative; overflow: hidden; }
.foot::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--dots-deep);
  background-size: 26px 26px;
  opacity: .4;
}
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.foot .foot-h { color: var(--on-deep); margin: 0 0 16px; font-size: .74rem; letter-spacing: .12em; font-family: var(--f-display); font-weight: 700; text-transform: uppercase; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.foot a { font-size: .88rem; color: var(--on-deep-2); }
.foot a:hover { color: var(--teal-lt); }
.foot .brand span { color: var(--on-deep); }
.foot .brand svg { color: var(--teal-lt); }
.foot-about { font-size: .88rem; max-width: 34ch; margin-top: 16px; }
.foot-base { border-top: 1px solid var(--line-dp); margin-top: 46px; padding-top: 24px; display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: .8rem; }

/* ============ WHATSAPP FLUTUANTE ============ */

.wa {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 70;
  width: 56px; height: 56px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #25d366;
  color: #fff;
  box-shadow: 0 8px 26px rgba(37, 211, 102, .4);
  transition: transform .22s;
}
.wa:hover { transform: translateY(-3px) scale(1.04); }
.wa svg { width: 27px; height: 27px; }

/* ============ MOCK DA BUSCA ============ */

.serp {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--shadow-l);
  position: relative;
}
.serp-bar { display: flex; gap: 6px; margin-bottom: 15px; }
.serp-bar i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.serp-bar i:nth-child(1) { background: #ff5f57; }
.serp-bar i:nth-child(2) { background: #febc2e; }
.serp-bar i:nth-child(3) { background: #28c840; }
.serp-search {
  display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--line-2);
  background: var(--bg-2);
  border-radius: 999px;
  padding: 12px 18px;
  font-size: .9rem;
  margin-bottom: 16px;
  color: var(--ink);
}
.serp-search svg { width: 15px; height: 15px; color: var(--ink-3); flex-shrink: 0; }
.serp-caret { width: 2px; height: 15px; background: var(--amber); animation: caret .9s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.serp-ad {
  border: 2px solid var(--teal-br);
  background: var(--mint);
  border-radius: 12px;
  padding: 15px 17px;
  position: relative;
  margin-bottom: 10px;
}
.serp-tag { font-family: var(--f-mono); font-size: .66rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); }
.serp-title { display: block; color: #14449e; font-weight: 600; font-size: .97rem; margin: 3px 0 4px; }
.serp-desc { font-size: .82rem; color: var(--ink-2); }
.serp-flag {
  position: absolute; top: -12px; right: 14px;
  background: var(--amber); color: var(--deep);
  font-family: var(--f-display); font-size: .62rem; font-weight: 800;
  letter-spacing: .07em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 6px;
}
.serp-dim { padding: 12px 17px; opacity: .42; }
.serp-dim .serp-title { font-size: .93rem; }

/* ============ PESSOAS RECORTADAS ============
   A pessoa não fica dentro de card: ela pisa na faixa, com camadas de cor
   atrás formando o eco do próprio recorte. */

.humano {
  position: relative;
  align-self: end;
  justify-self: center;
  width: min(480px, 100%);
  isolation: isolate;
}

/* a base da foto não é cortada: ela se dissolve na faixa.
   Duas máscaras somadas — um esmaecimento contínuo e uma trama de pontos
   que vai rareando, o mesmo grão de dado usado no resto do site. */
.humano-foto { position: relative; z-index: 2; }
.humano-foto img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 22px 30px rgba(6, 50, 44, .18));
  -webkit-mask-image:
    linear-gradient(to bottom, #000 0 58%, rgba(0,0,0,.55) 78%, transparent 97%),
    radial-gradient(circle at 1.6px 1.6px, #000 1.5px, transparent 1.6px);
  -webkit-mask-size: 100% 100%, 7px 7px;
  -webkit-mask-repeat: no-repeat, repeat;
  -webkit-mask-composite: source-over;
  mask-image:
    linear-gradient(to bottom, #000 0 58%, rgba(0,0,0,.55) 78%, transparent 97%),
    radial-gradient(circle at 1.6px 1.6px, #000 1.5px, transparent 1.6px);
  mask-size: 100% 100%, 7px 7px;
  mask-repeat: no-repeat, repeat;
  mask-composite: add;
}
/* partículas na zona de dissolução — recortadas pela própria silhueta,
   via a mesma imagem passada em --foto, para não vazarem como retângulo */
.humano-foto::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 2px 2px, var(--teal-br) 1.7px, transparent 1.8px);
  background-size: 14px 14px;
  -webkit-mask-image: var(--foto), linear-gradient(to bottom, transparent 46%, #000 72%, transparent 100%);
  -webkit-mask-size: 100% 100%, 100% 100%;
  -webkit-mask-repeat: no-repeat, no-repeat;
  -webkit-mask-composite: source-in;
  mask-image: var(--foto), linear-gradient(to bottom, transparent 46%, #000 72%, transparent 100%);
  mask-size: 100% 100%, 100% 100%;
  mask-repeat: no-repeat, no-repeat;
  mask-composite: intersect;
  opacity: .55;
  pointer-events: none;
}
.band--dark .humano-foto::after { background-image: radial-gradient(circle at 2px 2px, var(--teal-lt) 1.7px, transparent 1.8px); opacity: .5; }
.band--dark .humano-foto img { filter: drop-shadow(0 22px 34px rgba(0, 0, 0, .45)); }

/* camada 1: disco atrás da cabeça e do tronco, que também desvanece embaixo */
.humano::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 2%;
  transform: translateX(-50%);
  width: 82%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--teal-br);
  opacity: .2;
  -webkit-mask-image: linear-gradient(to bottom, #000 0 62%, transparent 96%);
  mask-image: linear-gradient(to bottom, #000 0 62%, transparent 96%);
}
/* camada 2: eco deslocado do mesmo círculo, em âmbar */
.humano::after {
  content: "";
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 9%;
  transform: translateX(-50%) translateX(30px);
  width: 72%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid var(--amber);
  opacity: .5;
  -webkit-mask-image: linear-gradient(to bottom, #000 0 58%, transparent 92%);
  mask-image: linear-gradient(to bottom, #000 0 58%, transparent 92%);
}
.band--dark .humano::before { background: var(--teal-lt); opacity: .18; }

/* variação sem uso desde que a base passou a dissolver */
.humano--sangra { width: min(480px, 100%); }

/* faixa com pessoa: o conteúdo respira ao lado, não em volta */
.faixa-humana { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(30px, 5vw, 64px); align-items: end; }
.faixa-humana > div:first-child { padding-bottom: clamp(10px, 3vw, 40px); }
.faixa-humana--esq { grid-template-columns: .85fr 1.15fr; }
.faixa-humana--esq .humano { order: -1; }
/* respiro quando vem grade logo depois da faixa com pessoa */
.faixa-humana + .grid { margin-top: clamp(30px, 4vw, 54px); }

/* ============ FAIXA VISUAL DE MARCA ============ */

.faixa-visual {
  position: relative;
  height: var(--h, 340px);
  overflow: hidden;
  background: var(--deep);
}
.faixa-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
/* funde as bordas da imagem com as faixas vizinhas */
.faixa-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, var(--bg) 0%, transparent 16%, transparent 84%, var(--bg) 100%),
    radial-gradient(circle at 50% 50%, transparent 40%, rgba(6, 50, 44, .28) 100%);
  pointer-events: none;
}

/* imagem emoldurada dentro de uma faixa */
.quadro {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-l);
  position: relative;
}
.quadro img { width: 100%; height: auto; }
.band--dark .quadro { border-color: var(--line-dp); }

/* ============ REVELAR AO ROLAR ============ */

.rv { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.65,.25,1), transform .7s cubic-bezier(.2,.65,.25,1); }
.rv.on { opacity: 1; transform: none; }

/* A primeira faixa nao espera o JavaScript: anima por conta propria assim que
   o CSS e lido. Sem isto, o maior elemento da pagina fica invisivel ate o
   observador de rolagem entrar em acao. */
.hero .rv {
  opacity: 1;
  transform: none;
  transition: none;
  animation: entra-hero .6s cubic-bezier(.2, .65, .25, 1) both;
}
.hero .rv:nth-child(2) { animation-delay: .06s; }
.hero .rv:nth-child(3) { animation-delay: .12s; }

@keyframes entra-hero {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

/* ============ RESPONSIVO ============ */

@media (max-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .quotes { grid-template-columns: 1fr; }
  .hero-grid, .split, .split--wide-left, .split--wide-right { grid-template-columns: 1fr; }
  .foto-card { max-width: 400px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 860px) {
  body { font-size: 16px; }
  .nav-menu { display: none; }
  .nav-cta { display: none; }
  .burger { display: flex; }
  .nav-menu.open {
    display: block;
    position: fixed;
    inset: 70px 0 auto 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: 16px 5vw 26px;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    box-shadow: var(--shadow-l);
  }
  .nav-menu.open > li { margin-bottom: 2px; }
  .nav-menu.open .nav-link { display: flex; justify-content: space-between; padding: 13px 4px; font-size: 1rem; }
  .nav-menu.open .sub {
    position: static;
    opacity: 1; visibility: visible; transform: none;
    box-shadow: none;
    border: 0;
    border-left: 2px solid var(--line-2);
    border-radius: 0;
    margin: 0 0 10px 12px;
    padding: 0 0 0 10px;
    display: none;
  }
  .nav-menu.open .has-sub.open .sub { display: block; }
  .band { padding: 58px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; gap: 10px; padding: 24px; }
  .step::before { font-size: 1.2rem; }
  .stats { gap: 22px 32px; }
  .foto-card { max-width: 100%; }
  .faixa-humana, .faixa-humana--esq { grid-template-columns: 1fr; }
  .faixa-humana--esq .humano { order: 0; }
  .humano { width: min(300px, 78%); margin-top: 30px; }
  .humano--sangra { width: min(300px, 78%); margin-bottom: -58px; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .btn-row { width: 100%; }
  .btn-row .btn { flex: 1 1 100%; }
  .answer { padding: 20px 22px; }
  .faq summary { padding: 20px 2px; font-size: .94rem; }
  .faq details p { padding: 0 2px 22px; }
  .hero::after { top: -12%; right: -30%; width: 90%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; transition-duration: .001s !important; }
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; }
  .hero .rv { animation: none; opacity: 1; transform: none; }
}

/* ============ FORMULÁRIO ============ */

.form-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 68px);
  align-items: start;
}
.form-lado .band-head { margin-bottom: 26px; }

.form-card {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 18px;
  padding: clamp(24px, 3vw, 34px);
  box-shadow: var(--shadow-l);
  display: grid;
  gap: 16px;
}
.campo { display: grid; gap: 7px; }
.campo label {
  font-family: var(--f-display);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.campo input,
.campo textarea {
  font-family: var(--f-body);
  font-size: .97rem;
  color: var(--ink);
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  padding: 13px 15px;
  width: 100%;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.campo textarea { resize: vertical; min-height: 92px; line-height: 1.55; }
.campo input::placeholder,
.campo textarea::placeholder { color: var(--ink-3); }
.campo input:focus,
.campo textarea:focus {
  outline: none;
  border-color: var(--teal);
  background: var(--surface);
  box-shadow: 0 0 0 3px rgba(43, 184, 168, .18);
}
.campo input.erro,
.campo textarea.erro {
  border-color: #c2503a;
  background: rgba(194, 80, 58, .06);
}

.form-enviar { width: 100%; margin-top: 4px; }
.form-enviar.enviando { opacity: .75; pointer-events: none; }
.form-nota {
  font-size: .8rem;
  color: var(--ink-3);
  text-align: center;
  margin: 0;
}

/* ============ RODAPÉ: REDES E ENDEREÇO ============ */

.foot-sociais { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.foot-sociais a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border: 1px solid var(--line-dp);
  border-radius: 10px;
  font-family: var(--f-display);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--on-deep-2);
  transition: .25s;
}
.foot-sociais a:hover { border-color: var(--teal-br); color: var(--teal-lt); background: rgba(43, 184, 168, .1); }
.foot-sociais svg { width: 16px; height: 16px; flex-shrink: 0; }

.foot-nap {
  font-style: normal;
  font-size: .85rem;
  line-height: 1.75;
  color: var(--on-deep-2);
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line-dp);
  max-width: 34ch;
}
.foot-nap a { color: var(--teal-lt); font-weight: 600; }

@media (max-width: 1000px) {
  .form-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .form-card { padding: 22px; }
  .foot-sociais a { flex: 1 1 auto; justify-content: center; }
}

/* ============================================================
   MODAL DE CONTATO
   Abre em qualquer botao de WhatsApp. Fundo petroleo com a trama
   de pontos do site: a mesma linguagem das faixas escuras.
   ============================================================ */

/* Pote de mel: precisa existir no DOM e nao aparecer para ninguem.
   Escondido por recorte, e nao jogado para fora da tela: um campo a -9999px
   cria area rolavel e desalinha o modal no celular. */
.pote-mel {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  pointer-events: none;
}

body.travado { overflow: hidden; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 20px;
  overflow-y: auto;
}
.modal[hidden] { display: none; }

.modal-fundo {
  position: fixed;
  inset: 0;
  background: rgba(6, 32, 28, .62);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity .22s ease;
}
.modal.aberto .modal-fundo { opacity: 1; }

.modal-caixa {
  position: relative;
  width: min(100%, 470px);
  margin: auto;
  padding: 28px 30px 24px;
  border-radius: 18px;
  border: 1px solid var(--line-dp);
  background:
    var(--dots-deep) 0 0 / 16px 16px,
    linear-gradient(168deg, var(--deep-3), var(--deep) 62%);
  box-shadow: 0 40px 90px -30px rgba(3, 20, 17, .75);
  color: var(--on-deep);
  opacity: 0;
  transform: translateY(14px) scale(.985);
  transition: opacity .22s ease, transform .22s cubic-bezier(.2, .7, .3, 1);
}
.modal.aberto .modal-caixa { opacity: 1; transform: none; }

.modal-x {
  position: absolute;
  top: 14px; right: 14px;
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line-dp);
  border-radius: 9px;
  background: rgba(234, 245, 240, .06);
  color: var(--on-deep-2);
  cursor: pointer;
  transition: background .16s ease, color .16s ease;
}
.modal-x svg { width: 17px; height: 17px; }
.modal-x:hover { background: rgba(234, 245, 240, .13); color: var(--on-deep); }

.modal-topo { margin-bottom: 18px; padding-right: 34px; }
.modal-topo .eyebrow { color: var(--teal-lt); }
.modal-topo h2 {
  margin: 9px 0 8px;
  font-family: var(--f-display);
  font-size: clamp(21px, 3.4vw, 25px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: #fff;
}
.modal-topo h2 em { color: var(--teal-lt); font-style: normal; }
.modal-topo p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--on-deep-2);
}

.modal-form { display: grid; gap: 13px; }

/* campos sobre o petroleo */
.modal-form .campo label { color: var(--on-deep-2); }
.modal-form .campo label span {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  opacity: .7;
}
.modal-form .campo input {
  border-color: rgba(234, 245, 240, .18);
  background: rgba(255, 255, 255, .96);
  color: var(--ink);
}
.modal-form .campo input:focus {
  border-color: var(--teal-lt);
  box-shadow: 0 0 0 3px rgba(111, 220, 200, .22);
}
.modal-form .campo input.erro {
  border-color: #ff9c8a;
  box-shadow: 0 0 0 3px rgba(255, 156, 138, .2);
}
.modal-form .form-nota { color: var(--on-deep-2); }

/* Rotulo auxiliar na fonte do corpo. Em Archivo, o peso 400 nao existe
   no site e o navegador baixaria 34 KB de uma variante so para esta palavra. */
.campo label span {
  font-family: var(--f-body);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink-3);
}

/* estado de recebido */
.modal-ok { text-align: center; padding: 8px 0 6px; }
.modal-ok[hidden] { display: none; }
.modal-ok svg { width: 46px; height: 46px; color: var(--teal); }
.modal-caixa .modal-ok svg { color: var(--teal-lt); }
.modal-ok h3 {
  margin: 12px 0 8px;
  font-family: var(--f-display);
  font-size: 21px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--ink);
}
.modal-caixa .modal-ok h3 { color: #fff; }
.modal-ok p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-2);
}
.modal-caixa .modal-ok p { color: var(--on-deep-2); }
.modal-ok a { color: var(--teal); }
.modal-caixa .modal-ok a { color: var(--teal-lt); }

@media (max-width: 520px) {
  .modal { padding: 0; place-items: stretch; }
  .modal-caixa {
    width: 100%;
    min-height: 100%;
    margin: 0;
    padding: 26px 20px 30px;
    border: 0;
    border-radius: 0;
  }
  .modal-topo h2 { font-size: 21px; }
}

@media (prefers-reduced-motion: reduce) {
  .modal-fundo,
  .modal-caixa { transition: none; }
}

/* Notebook de tela baixa: a caixa inteira precisa caber sem rolar,
   senao o botao de enviar fica abaixo da dobra. */
@media (min-width: 521px) and (max-height: 830px) {
  .modal-caixa { padding: 22px 28px 20px; }
  .modal-topo { margin-bottom: 14px; }
  .modal-topo h2 { font-size: 22px; }
  .modal-topo p { font-size: 14px; }
  .modal-form { gap: 10px; }
  .modal-form .campo { gap: 5px; }
  .modal-form .campo input { padding: 10px 14px; }
}

/* No celular a camada de particulas sai de cena. Ela usa a propria foto como
   mascara (--foto, sempre a versao de 900px); mantida, o navegador baixaria
   duas imagens em vez da menor que o srcset escolheu. O esmaecimento da base
   continua — ele vem da mascara do proprio <img>, nao desta camada. */
@media (max-width: 720px) {
  .humano-foto::after { display: none; }
}

/* Card de "veja também": não é clicável inteiro, só o título leva ao destino.
   Precisa da mesma moldura do .card sem o comportamento de link. */
.card--vizinho h3 { margin-bottom: 6px; }
.card--vizinho h3 a { color: var(--ink); text-decoration: none; }
.card--vizinho h3 a:hover { color: var(--teal); text-decoration: underline; }
.card--vizinho h3 a:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 3px; }

/* ---------- autoria do artigo ---------- */
.assina {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 16px 0 4px;
}
.assina img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; object-position: center 12%; border: 2px solid var(--line-2); }
.assina div { display: grid; gap: 1px; }
.assina a { color: var(--ink); text-decoration: none; }
.assina a:hover b { color: var(--teal); }
.assina b { font-family: var(--f-display); font-size: .96rem; font-weight: 700; }
.assina span { font-size: .82rem; color: var(--ink-3); }

.bio {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--teal);
  border-radius: var(--radius);
  background: var(--surface);
}
.bio img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: center 12%; }
.bio h3 { margin: 6px 0 8px; font-family: var(--f-display); font-size: 1.08rem; font-weight: 800; text-transform: uppercase; }
.bio p { margin: 0 0 10px; font-size: .93rem; color: var(--ink-2); line-height: 1.6; }
.bio-links { display: flex; flex-wrap: wrap; gap: 16px; margin: 0 !important; }
.bio-links a { font-family: var(--f-mono); font-size: .8rem; font-weight: 600; color: var(--teal); }

@media (max-width: 560px) {
  .bio { grid-template-columns: 1fr; gap: 12px; }
}

/* ============================================================
   ACESSIBILIDADE
   Medido contra WCAG 2.1 AA: sete padroes de texto reprovavam,
   entre 3,73 e 4,17 quando o minimo e 4,5. Sao todos rotulo
   pequeno em caixa alta, onde a cor clara custa mais caro.
   ============================================================ */

/* --ink-3 sobre as faixas claras dava 3,9. Este tom passa de 4,5
   mantendo a hierarquia: continua mais leve que o corpo do texto. */
.eyebrow,
.serp-tag,
.form-nota,
.campo label span,
.assina span,
.foot-nap,
.num-label { color: #4a615b; }

.band--dark .eyebrow,
.band--deep .eyebrow,
.modal-topo .eyebrow { color: var(--teal-lt); }
.modal-form .campo label span { color: var(--on-deep-2); }
.modal-form .form-nota { color: var(--on-deep-2); }

/* Alvo de toque: 24px de lado e o minimo do WCAG 2.2. Vinte e tres
   links e botoes ficavam abaixo — quase todos em linha, dentro de
   texto, onde o padding vertical nao afeta o fluxo. */
.foot a,
.crumbs a,
.bio-links a,
.serp a,
.faq summary { display: inline-block; min-height: 24px; }
.foot ul a,
.foot-base a { padding-block: 3px; }
.nav-link { min-height: 24px; }
.query { min-height: 24px; }

/* Trilha de navegacao: ficava em 3,33 contra o fundo. */
.crumbs a,
.crumbs span,
.crumbs li { color: #4a615b; }
.crumbs a:hover { color: var(--teal); }

/* ---------- aviso de consentimento ---------- */
.consent {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  max-width: 760px;
  margin: 0 auto;
  padding: 16px 20px;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow-l);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .24s ease, transform .24s ease;
}
.consent.aberto { opacity: 1; transform: none; }
.consent[hidden] { display: none; }
.consent p { flex: 1 1 320px; margin: 0; font-size: .87rem; line-height: 1.5; color: var(--ink-2); }
.consent a { color: var(--teal); }
.consent-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.consent-btns .btn { padding: 9px 16px; font-size: .78rem; }

@media (max-width: 560px) {
  .consent { left: 10px; right: 10px; bottom: 10px; padding: 14px 16px; }
  .consent-btns { width: 100%; }
  .consent-btns .btn { flex: 1; justify-content: center; }
}

/* a bolha do WhatsApp sobe enquanto o aviso esta na tela */
body.com-aviso .wa { bottom: 132px; transition: bottom .24s ease; }
@media (max-width: 560px) { body.com-aviso .wa { bottom: 154px; } }

/* ---------- foto no hero ----------
   O hero passou a segurar a foto do Alexandre no lugar do mock de busca.
   A dissolução da base só lê como "afundando na faixa" se a coluna estiver
   alinhada embaixo — com o align-items:center do hero-grid, a foto flutuava. */
.hero .hero-grid { align-items: end; }
.hero .hero-grid > div:first-child { padding-bottom: clamp(12px, 3vw, 44px); }
.hero .humano { width: min(430px, 100%); justify-self: center; }

/* a faixa "Por que Google Ads" agora carrega o mock de busca, que é um cartão
   e pede alinhamento ao centro, não à base como uma pessoa recortada. */
.faixa-humana:has(.serp) { align-items: center; }
.faixa-humana:has(.serp) > div:first-child { padding-bottom: 0; }

@media (max-width: 860px) {
  .hero .hero-grid { align-items: start; }
  .hero .humano { width: min(340px, 82%); margin-top: 8px; }
}

/* No hero a foto é mais curta e a dissolução padrão (58%) comia os braços
   cruzados, que são a pose. Aqui ela começa mais embaixo. */
.hero .humano-foto img {
  -webkit-mask-image:
    linear-gradient(to bottom, #000 0 72%, rgba(0,0,0,.55) 87%, transparent 99%),
    radial-gradient(circle at 1.6px 1.6px, #000 1.5px, transparent 1.6px);
  mask-image:
    linear-gradient(to bottom, #000 0 72%, rgba(0,0,0,.55) 87%, transparent 99%),
    radial-gradient(circle at 1.6px 1.6px, #000 1.5px, transparent 1.6px);
}
.hero .humano-foto::after {
  -webkit-mask-image: var(--foto), linear-gradient(to bottom, transparent 62%, #000 84%, transparent 100%);
  mask-image: var(--foto), linear-gradient(to bottom, transparent 62%, #000 84%, transparent 100%);
}

/* ============ PORTFÓLIO DE TRABALHOS ============ */
/* A imagem é o argumento desta página, então ela ocupa a largura do cartão e
   fica ancorada no topo — é a primeira tela do site que interessa, não o meio. */

.grid-trab { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 32px); }

.trab {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .3s, box-shadow .3s;
}
.trab:hover { border-color: var(--teal-br); box-shadow: var(--shadow-l); }

.trab-foto { aspect-ratio: 4 / 3; background: var(--mint); border-bottom: 1px solid var(--line); }
.trab-foto img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }

.trab-corpo { padding: clamp(20px, 2.4vw, 28px); display: flex; flex-direction: column; gap: 10px; flex: 1; }
.trab-meta {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-family: var(--f-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .09em;
  color: #4a615b; margin: 0;
}
.trab-meta b { color: var(--teal); font-weight: 700; }
.trab-meta span::after { content: "·"; margin-left: 10px; color: var(--line-2); }
.trab h3 { font-size: 1.16rem; margin: 0; }
.trab-resumo { font-weight: 600; color: var(--ink); margin: 0; }
.trab-corpo p { font-size: .95rem; color: var(--ink-2); margin: 0; }

.trab-link {
  margin-top: auto; padding-top: 8px;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: .78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--teal); text-decoration: none;
  min-height: 24px;
}
.trab-link svg { width: 15px; height: 15px; transition: transform .25s; }
.trab-link:hover svg { transform: translateX(4px); }
.trab-nota {
  margin-top: auto; padding-top: 8px;
  font-family: var(--f-mono); font-size: .74rem; letter-spacing: .05em; color: var(--ink-3);
}

@media (max-width: 820px) {
  .grid-trab { grid-template-columns: 1fr; }
}

/* ============ PROJETO EM DESTAQUE ============ */
/* Uma coluna de imagem e uma de argumento. Fica visualmente separado da grade
   de cartões porque é outro formato de trabalho, não um projeto "maior". */

.destaque {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(24px, 3.5vw, 46px);
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.destaque-foto { align-self: stretch; background: var(--mint); border-right: 1px solid var(--line); }
.destaque-foto img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; object-position: top center; display: block; }

.destaque-corpo { padding: clamp(26px, 3vw, 44px) clamp(26px, 3vw, 44px) clamp(26px, 3vw, 44px) 0; display: flex; flex-direction: column; gap: 12px; }
/* no destaque a coluna é estreita e a meta quebra em duas linhas: sem o
   separador, para não sobrar um ponto órfão no fim da primeira */
.destaque .trab-meta { gap: 4px 12px; }
.destaque .trab-meta span::after { content: none; }
.destaque-corpo h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); margin: 0; }
.destaque-corpo p { font-size: .97rem; color: var(--ink-2); margin: 0; }
.destaque-corpo .trab-resumo { font-weight: 600; color: var(--ink); }

.destaque-num { display: flex; flex-wrap: wrap; gap: clamp(20px, 3vw, 40px); margin: 10px 0 0; padding-top: 18px; border-top: 1px solid var(--line); }
.destaque-num div { display: grid; gap: 2px; }
.destaque-num dt { font-family: var(--f-display); font-size: clamp(1.35rem, 2.4vw, 1.8rem); font-weight: 800; color: var(--teal); font-variant-numeric: tabular-nums; }
.destaque-num dd { margin: 0; font-size: .8rem; color: var(--ink-3); line-height: 1.35; }

@media (max-width: 900px) {
  .destaque { grid-template-columns: 1fr; }
  .destaque-foto { border-right: 0; border-bottom: 1px solid var(--line); }
  .destaque-foto img { min-height: 0; aspect-ratio: 4 / 3; height: auto; }
  .destaque-corpo { padding: clamp(24px, 5vw, 34px); }
}

/* em tela estreita a meta do cartão quebra em duas linhas e o separador fica
   sobrando no fim da primeira — melhor não ter separador nenhum */
@media (max-width: 620px) {
  .trab-meta { gap: 3px 12px; }
  .trab-meta span::after { content: none; }
}

/* ============ PULAR PARA O CONTEUDO ============ */
/* Fica fora da tela ate receber foco pelo teclado. Quem navega por Tab
   nao precisa atravessar o menu inteiro em toda pagina. */
.pula {
  position: absolute; left: 8px; top: -60px; z-index: 200;
  background: var(--deep); color: var(--on-deep);
  padding: 12px 18px; border-radius: 0 0 10px 10px;
  font-family: var(--f-mono); font-size: .82rem; font-weight: 600;
  text-decoration: none; transition: top .18s;
}
.pula:focus { top: 0; outline: 3px solid var(--teal-br); outline-offset: 2px; }
main:focus { outline: none; }
