/* ============================================================
   BrasilSul Tecnologia — v4 "Estúdio"
   Editorial · Serifado · Paleta terrosa neutra · Linhas finas
   Referências: Foster+Partners, David Chipperfield, Herzog & de Meuron
   ============================================================ */
:root {
  --papel: #F7F4EF;        /* fundo principal — linho claro */
  --papel-alt: #EFEAE1;    /* fundo alternado, mais quente */
  --tinta: #1A1917;        /* texto principal, quase preto quente */
  --tinta-suave: #5C5A52;  /* texto secundário */
  --tinta-leve: #8A8778;   /* texto terciário / legendas */
  --linha: #DDD7C9;        /* hairline */
  --linha-forte: #C9C1AC;
  --bronze: #8B6F4E;       /* acento único — bronze/latão */
  --bronze-escuro: #6E5A3F;
  --branco: #FFFFFF;
  --preto: #14130F;
  --whatsapp: #25D366;
  --whatsapp-escuro: #1DA851;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--tinta);
  background: var(--papel);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .serif {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.08;
  color: var(--tinta);
}

img, svg { max-width: 100%; }
a { color: var(--tinta); text-decoration: none; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 32px; }
.container-estreito { max-width: 820px; margin: 0 auto; padding: 0 32px; }

.t-bronze { color: var(--bronze); font-style: italic; }
.numero-grande {
  font-family: 'Fraunces', serif; font-weight: 400;
  color: var(--linha-forte); font-size: 1rem; letter-spacing: .04em;
}

:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }
.pular-conteudo {
  position: absolute; left: -9999px; top: 0; z-index: 300;
  background: var(--tinta); color: #fff; padding: 10px 18px;
}
.pular-conteudo:focus { left: 0; }

/* ---------- Barra de anúncio ---------- */
.anuncio { background: var(--preto); text-align: center; font-size: .82rem; }
.anuncio a { display: block; padding: 10px 16px; color: rgba(255,255,255,.82); font-family: Inter, sans-serif; }
.anuncio .anuncio-cta { color: #D8C4A0; font-weight: 600; margin-left: 10px; }
.anuncio a:hover .anuncio-cta { text-decoration: underline; }

/* ---------- Cabeçalho ---------- */
.cabecalho {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247,244,239,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--linha);
}
.cabecalho-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 24px; }
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { height: 30px; width: auto; filter: grayscale(1) brightness(0) opacity(.88); }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a {
  font-family: Inter, sans-serif; font-size: .78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .09em;
  color: var(--tinta-suave); padding-bottom: 3px; border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav a:hover { color: var(--tinta); }
.nav a[aria-current="page"] { color: var(--tinta); border-bottom-color: var(--bronze); }
.menu-botao { display: none; background: none; border: none; cursor: pointer; padding: 8px; color: var(--tinta); }

/* ---------- Botões ---------- */
.botao {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--tinta); color: #fff;
  font-family: Inter, sans-serif; font-weight: 700; font-size: .82rem;
  text-transform: uppercase; letter-spacing: .06em;
  padding: 15px 26px; border-radius: 0;
  border: 1px solid var(--tinta); cursor: pointer; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s;
}
.botao::after { content: "→"; transition: transform .2s; }
.botao:hover { background: var(--bronze); border-color: var(--bronze); color: #fff; }
.botao:hover::after { transform: translateX(4px); }
.botao-contorno { background: transparent; color: var(--tinta); border-color: var(--tinta); }
.botao-contorno:hover { background: var(--bronze); color: #fff; border-color: var(--bronze); }
.botao-claro { background: var(--papel); color: var(--tinta); border-color: var(--papel); }
.botao-claro:hover { background: var(--branco); }
.botao-invertido { background: var(--papel); color: var(--preto); border-color: var(--papel); }
.botao-invertido:hover { background: var(--branco); }
.botao-whats { background: var(--whatsapp); border-color: var(--whatsapp); color: #fff; }
.botao-whats::after { content: none; }
.botao-whats:hover { background: var(--whatsapp-escuro); border-color: var(--whatsapp-escuro); }

.link-sublinhado {
  font-family: Inter, sans-serif; font-weight: 600; font-size: .84rem;
  text-transform: uppercase; letter-spacing: .06em;
  border-bottom: 1px solid var(--tinta); padding-bottom: 2px;
  transition: opacity .2s;
}
.link-sublinhado:hover { opacity: .6; }

/* ---------- Hero editorial ---------- */
.hero {
  padding: 96px 0 88px;
  border-bottom: 1px solid var(--linha);
  background-color: var(--papel);
  background-image:
    linear-gradient(100deg, var(--papel) 24%, rgba(247, 244, 239, .84) 52%, rgba(247, 244, 239, .64) 100%),
    url('https://images.unsplash.com/photo-1533541589358-4b1083f8929b?auto=format&fit=crop&w=1920&q=75');
  background-size: cover;
  background-position: center 65%;
}
.hero-topo {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 40px; margin-bottom: 56px; padding-bottom: 32px; border-bottom: 1px solid var(--linha);
}
.eyebrow {
  font-family: Inter, sans-serif; text-transform: uppercase; letter-spacing: .14em;
  font-size: .78rem; font-weight: 700; color: var(--bronze);
}
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem); max-width: 46rem;
}
.hero-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 64px; align-items: end; }
.hero .sub { font-size: 1.18rem; color: var(--tinta-suave); max-width: 30rem; margin-top: 26px; line-height: 1.7; }
.hero-acoes { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 38px; }
.hero-indice { display: flex; flex-direction: column; gap: 18px; align-self: end; }
.hero-indice-item { display: flex; justify-content: space-between; font-size: .84rem; padding-bottom: 12px; border-bottom: 1px solid var(--linha); color: var(--tinta-suave); }
.hero-indice-item strong { color: var(--tinta); font-weight: 600; }

/* Painel Foundry — versão editorial (mono, sem néon) */
.painel-ia {
  background: var(--preto); color: #fff; padding: 0;
}
.painel-ia .painel-topo {
  padding: 16px 22px; font-family: Inter, sans-serif;
  font-size: .74rem; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.5); border-bottom: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; gap: 8px;
}
.painel-ia .painel-topo .ponto { width: 5px; height: 5px; border-radius: 50%; background: var(--bronze); }
.painel-lista { padding: 6px 0; }
.modelo {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 22px; border-bottom: 1px solid rgba(255,255,255,.06);
  font-family: Inter, sans-serif;
}
.modelo:last-child { border-bottom: none; }
.modelo .icone-modelo {
  width: 30px; height: 30px; border-radius: 4px; flex-shrink: 0;
  display: grid; place-items: center; background: rgba(255,255,255,.06);
}
.modelo strong { font-size: .87rem; display: block; line-height: 1.3; font-weight: 500; color: #fff; }
.modelo small { color: rgba(255,255,255,.42); font-size: .74rem; }
.modelo .tag {
  margin-left: auto; font-size: .66rem; font-weight: 600;
  color: rgba(255,255,255,.4); letter-spacing: .04em; text-transform: uppercase;
}

/* ---------- Faixa de marcas ---------- */
.marcas { padding: 30px 0; border-bottom: 1px solid var(--linha); }
.marcas p {
  font-family: Inter, sans-serif; text-align: center; font-size: .74rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .13em; color: var(--tinta-leve); margin-bottom: 24px;
}
.marcas-lista { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px 40px; list-style: none; }
.marcas-lista li { display: flex; align-items: center; gap: 9px; font-family: Inter, sans-serif; font-weight: 600; color: var(--tinta-suave); font-size: .92rem; filter: grayscale(1); opacity: .75; transition: opacity .2s; }
.marcas-lista li:hover { opacity: 1; }
.marcas-lista svg { display: block; filter: grayscale(1) brightness(.6); }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-trilho { display: flex; width: max-content; gap: 40px; animation: rolar 40s linear infinite; }
.marquee-trilho:hover { animation-play-state: paused; }
.marquee .marcas-lista { flex-wrap: nowrap; gap: 40px; }
@keyframes rolar { to { transform: translateX(calc(-50% - 20px)); } }
@media (prefers-reduced-motion: reduce) { .marquee-trilho { animation: none; } }

/* ---------- Seções ---------- */
.secao { padding: 96px 0; }
.secao-alt { background: var(--papel-alt); }
.secao-preta { background: var(--preto); color: #fff; }
.secao-cabeca { max-width: 42rem; margin-bottom: 56px; display: flex; justify-content: space-between; align-items: baseline; gap: 30px; flex-wrap: wrap; }
.secao-cabeca h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.secao-cabeca-full { display: block; max-width: 44rem; }
.secao-cabeca-full h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-top: 12px; }
.secao-cabeca p, .secao-cabeca-full p { color: var(--tinta-suave); font-size: 1.06rem; margin-top: 14px; }

/* ---------- Lista numerada (serviços — estilo "portfólio de projetos") ---------- */
.lista-numerada { border-top: 1px solid var(--linha); }
.item-numerado {
  display: grid; grid-template-columns: 70px 1fr 1fr; gap: 32px;
  padding: 38px 0; border-bottom: 1px solid var(--linha);
  align-items: start; transition: background .2s;
}
.item-numerado:hover { background: rgba(139,111,78,.04); }
.item-numerado .num { font-family: 'Fraunces', serif; font-size: 1.3rem; color: var(--linha-forte); font-weight: 400; }
.item-numerado h3 { font-size: 1.28rem; font-weight: 500; }
.item-numerado p { color: var(--tinta-suave); font-size: .96rem; margin-top: 10px; max-width: 34rem; }
.item-numerado .link-sublinhado { display: inline-block; margin-top: 14px; }
.item-numerado.card-destacado { background: rgba(139,111,78,.06); }
@media (max-width: 780px) {
  .item-numerado { grid-template-columns: 40px 1fr; }
  .item-numerado > div:nth-child(3) { grid-column: 2; }
}

/* ---------- Vitrine de números editorial ---------- */
.vitrine-numeros { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--linha); border-bottom: 1px solid var(--linha); }
.numero { padding: 44px 28px; }
.numero + .numero { border-left: 1px solid var(--linha); }
.numero strong { font-family: 'Fraunces', serif; font-weight: 400; display: block; font-size: clamp(2.1rem, 3.8vw, 3.1rem); color: var(--tinta); margin-bottom: 8px; }
.numero span { font-family: Inter, sans-serif; color: var(--tinta-leve); font-size: .84rem; text-transform: uppercase; letter-spacing: .05em; line-height: 1.5; }

/* ---------- Destaque IA (editorial, sem gradiente) ---------- */
.destaque-ia {
  background: var(--preto); color: #fff;
  padding: 64px 56px;
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 50px; align-items: center;
}
.destaque-ia .eyebrow { color: #D8C4A0; }
.destaque-ia h2 { color: #fff; font-size: clamp(1.8rem, 3.2vw, 2.4rem); }
.destaque-ia p { color: rgba(255,255,255,.68); margin: 16px 0 30px; font-size: 1.03rem; }
.chips { display: flex; flex-wrap: wrap; gap: 10px 0; flex-direction: column; }
.chip {
  font-family: Inter, sans-serif; color: rgba(255,255,255,.85); font-size: .88rem;
  padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.14);
}
.chip::before { content: "— "; color: #D8C4A0; }

/* ---------- Passos ---------- */
.passos { border-top: 1px solid var(--linha); max-width: 52rem; }
.passo { display: grid; grid-template-columns: 70px 1fr; gap: 30px; padding: 34px 0; border-bottom: 1px solid var(--linha); }
.passo .num { font-family: 'Fraunces', serif; font-size: 1.3rem; color: var(--bronze); }
.passo h3 { font-size: 1.1rem; font-weight: 500; margin-bottom: 6px; }
.passo p { color: var(--tinta-suave); font-size: .96rem; }

/* ---------- Benefícios ---------- */
.beneficios { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--linha); border: 1px solid var(--linha); }
.beneficio { background: var(--papel); padding: 34px 30px; }
.beneficio .num-mini { font-family: 'Fraunces', serif; color: var(--linha-forte); font-size: .95rem; margin-bottom: 14px; display: block; }
.beneficio h3 { font-size: 1.02rem; font-weight: 500; margin-bottom: 8px; }
.beneficio p { color: var(--tinta-suave); font-size: .9rem; line-height: 1.65; }

/* ---------- Comparação (tabela editorial) ---------- */
.comparacao { border-top: 1px solid var(--linha); border-bottom: 1px solid var(--linha); }
.comp-linha { display: grid; grid-template-columns: 1.2fr 1fr 1fr; border-bottom: 1px solid var(--linha); }
.comp-linha:last-child { border-bottom: none; }
.comp-linha.cabeca { background: var(--papel-alt); font-family: Inter, sans-serif; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: .74rem; color: var(--tinta-leve); }
.comp-linha > div { padding: 18px 22px; font-size: .93rem; }
.comp-linha > div:nth-child(2) { border-left: 1px solid var(--linha); color: var(--tinta-leve); }
.comp-linha > div:nth-child(3) { border-left: 1px solid var(--linha); background: rgba(139,111,78,.05); font-weight: 500; }
.comp-linha:not(.cabeca) > div:nth-child(2)::before { content: "✕  "; color: #C9C1AC; }
.comp-linha:not(.cabeca) > div:nth-child(3)::before { content: "✓  "; color: var(--bronze); }
@media (max-width: 720px) {
  .comp-linha { grid-template-columns: 1fr; }
  .comp-linha > div:nth-child(2), .comp-linha > div:nth-child(3) { border-left: none; border-top: 1px solid var(--linha); }
}

/* ---------- FAQ ---------- */
.faq { max-width: 46rem; border-top: 1px solid var(--linha); }
.faq details { border-bottom: 1px solid var(--linha); }
.faq summary {
  cursor: pointer; font-family: 'Fraunces', serif; font-weight: 500; font-size: 1.12rem;
  padding: 22px 36px 22px 0; list-style: none; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-family: Inter, sans-serif; font-size: 1.3rem; font-weight: 300; color: var(--tinta-leve);
  transition: transform .2s, color .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); color: var(--bronze); }
.faq details p { color: var(--tinta-suave); padding: 0 2rem 24px 0; font-size: .97rem; }

/* ---------- Faixa CTA ---------- */
.cta-faixa {
  background: var(--preto); color: #fff; padding: 64px 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
}
.cta-faixa h2 { color: #fff; font-size: clamp(1.6rem, 2.8vw, 2.1rem); }
.cta-faixa p { color: rgba(255,255,255,.62); margin-top: 8px; font-size: 1.02rem; }

/* ---------- Sobre / Contato ---------- */
.sobre-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 64px; align-items: start; }
.sobre-grid p + p { margin-top: 18px; }
.sobre-grid p { color: var(--tinta-suave); font-size: 1.03rem; }
.painel-borda { background: var(--papel-alt); border: 1px solid var(--linha); padding: 36px; }
.lista-check { list-style: none; }
.lista-check li { padding: 13px 0; border-bottom: 1px solid var(--linha); font-size: .95rem; }
.lista-check li:last-child { border-bottom: none; }
.lista-check li::before { content: "— "; color: var(--bronze); font-weight: 600; }

.contato-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: start; }
.formulario { background: var(--branco); border: 1px solid var(--linha); padding: 40px; }
.campo { margin-bottom: 22px; }
.campo label { display: block; font-family: Inter, sans-serif; font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 8px; color: var(--tinta-suave); }
.campo input, .campo select, .campo textarea {
  width: 100%; padding: 13px 0; border: none; border-bottom: 1px solid var(--linha-forte);
  border-radius: 0; font: inherit; color: var(--tinta); background: transparent;
  transition: border-color .2s;
}
.campo input:focus, .campo select:focus, .campo textarea:focus { border-color: var(--bronze); outline: none; }
.campo textarea { resize: vertical; min-height: 110px; }
.campo-duplo { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.formulario .botao { width: 100%; justify-content: center; margin-top: 8px; }
.form-nota { font-size: .82rem; color: var(--tinta-leve); margin-top: 16px; text-align: center; }

.info-contato { border-top: 1px solid var(--linha); }
.info-item { display: flex; gap: 18px; align-items: flex-start; padding: 26px 4px; border-bottom: 1px solid var(--linha); }
.info-item .icone { width: 20px; color: var(--bronze); margin-top: 3px; flex-shrink: 0; }
.info-item strong { display: block; font-family: Inter, sans-serif; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--tinta-leve); margin-bottom: 4px; }
.info-item span, .info-item a { font-size: 1rem; color: var(--tinta); font-weight: 500; }

/* ---------- Rodapé ---------- */
.rodape { background: var(--preto); color: rgba(255,255,255,.6); padding: 64px 0 28px; }
.rodape-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 44px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.12); }
.rodape h4 { font-family: Inter, sans-serif; font-size: .76rem; text-transform: uppercase; letter-spacing: .09em; margin-bottom: 18px; color: rgba(255,255,255,.85); }
.rodape p, .rodape a, .rodape li { color: rgba(255,255,255,.55); font-size: .92rem; }
.rodape a:hover { color: #fff; }
.rodape ul { list-style: none; }
.rodape li { margin-bottom: 11px; }
.rodape .logo img { height: 18px; margin-bottom: 18px; filter: brightness(0) invert(1) opacity(.9); }
.copy { text-align: center; padding-top: 26px; font-size: .8rem; color: rgba(255,255,255,.35); }

/* ---------- WhatsApp flutuante ---------- */
.whats-flutuante {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--whatsapp); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 8px 20px rgba(0,0,0,.22);
  transition: transform .2s;
}
.whats-flutuante:hover { transform: scale(1.06); }

/* ---------- Hero interno ---------- */
.hero-pagina { padding: 72px 0 64px; border-bottom: 1px solid var(--linha); }
.hero-pagina h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); max-width: 42rem; }
.hero-pagina .sub { font-size: 1.14rem; color: var(--tinta-suave); max-width: 38rem; margin-top: 20px; line-height: 1.7; }

/* ---------- Obrigado ---------- */
.obrigado { min-height: 56vh; display: grid; place-items: center; text-align: center; padding: 80px 24px; }
.obrigado .traco { width: 46px; height: 1px; background: var(--bronze); margin: 0 auto 26px; }

/* ---------- Reveal / animações ---------- */
@media (prefers-reduced-motion: no-preference) {
  @keyframes entrar { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
  .hero .eyebrow, .hero-pagina .eyebrow { animation: entrar .6s cubic-bezier(.2,.7,.2,1) both; }
  .hero h1, .hero-pagina h1 { animation: entrar .7s cubic-bezier(.2,.7,.2,1) .08s both; }
  .hero .sub, .hero-pagina .sub { animation: entrar .7s cubic-bezier(.2,.7,.2,1) .16s both; }
  .hero .hero-acoes, .hero-pagina .hero-acoes { animation: entrar .7s cubic-bezier(.2,.7,.2,1) .24s both; }
  .hero .painel-ia { animation: entrar .8s cubic-bezier(.2,.7,.2,1) .3s both; }
  .painel-lista .modelo { animation: entrar .5s cubic-bezier(.2,.7,.2,1) both; }
  .painel-lista .modelo:nth-child(1) { animation-delay: .5s; }
  .painel-lista .modelo:nth-child(2) { animation-delay: .6s; }
  .painel-lista .modelo:nth-child(3) { animation-delay: .7s; }
  .painel-lista .modelo:nth-child(4) { animation-delay: .8s; }
  .painel-lista .modelo:nth-child(5) { animation-delay: .9s; }
}
html.anima .reveal {
  opacity: 0; transform: translateY(16px);
  transition: opacity .6s cubic-bezier(.2,.7,.2,1), transform .6s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--atraso, 0s);
}
html.anima .reveal.visivel { opacity: 1; transform: none; }
html.anima .passo .num { transition: color .4s; }

.progresso { display: none; }
@supports (animation-timeline: scroll()) {
  .progresso {
    display: block; position: fixed; top: 0; left: 0; right: 0; height: 2px;
    background: var(--bronze); transform-origin: 0 50%; transform: scaleX(0);
    z-index: 200; pointer-events: none;
    animation: crescer-progresso linear forwards; animation-timeline: scroll();
  }
  @keyframes crescer-progresso { to { transform: scaleX(1); } }
}
@media (prefers-reduced-motion: reduce) { .progresso { display: none !important; } }

/* ---------- Responsivo ---------- */
@media (max-width: 920px) {
  .hero-grid, .sobre-grid, .contato-grid, .destaque-ia { grid-template-columns: 1fr; }
  .hero-indice { flex-direction: row; gap: 24px; flex-wrap: wrap; }
  .beneficios { grid-template-columns: 1fr 1fr; }
  .vitrine-numeros { grid-template-columns: 1fr 1fr; }
  .vitrine-numeros .numero:nth-child(3) { border-left: none; }
  .vitrine-numeros .numero:nth-child(n+3) { border-top: 1px solid var(--linha); }
  .rodape-grid { grid-template-columns: 1fr; gap: 30px; }
  .destaque-ia, .cta-faixa { padding: 44px 32px; }
  .comp-linha { grid-template-columns: 1fr 1fr; }
  .comp-linha.cabeca > div:first-child { display: none; }
  .comp-linha:not(.cabeca) > div:first-child { display: none; }
}
@media (max-width: 640px) {
  .nav {
    display: none; position: absolute; top: 84px; left: 0; right: 0;
    background: var(--papel); border-bottom: 1px solid var(--linha);
    flex-direction: column; align-items: stretch; gap: 0; padding: 10px 32px 24px;
  }
  .nav.aberto { display: flex; }
  .nav a { padding: 15px 4px; border-bottom: 1px solid var(--linha); }
  .nav .botao { margin-top: 16px; justify-content: center; }
  .menu-botao { display: block; }
  .beneficios { grid-template-columns: 1fr; }
  .campo-duplo { grid-template-columns: 1fr; }
  .secao { padding: 64px 0; }
  .hero { padding: 64px 0 56px; }
  .item-numerado { grid-template-columns: 1fr; gap: 10px; }
  .item-numerado .num { font-size: 1.1rem; }
}

/* ============================================================
   Blog + Landing Cartórios
   ============================================================ */
.blog-lista { border-top: 1px solid var(--linha); }
.post-item {
  display: grid; grid-template-columns: 130px 1fr; gap: 30px;
  padding: 34px 0; border-bottom: 1px solid var(--linha);
}
.post-item time { font-family: Inter, sans-serif; font-size: .8rem; color: var(--tinta-leve); text-transform: uppercase; letter-spacing: .05em; }
.post-item .categoria { display: inline-block; margin-top: 8px; font-family: Inter, sans-serif; font-size: .72rem; font-weight: 600; color: var(--bronze); text-transform: uppercase; letter-spacing: .06em; }
.post-item h2 { font-size: 1.4rem; margin: 10px 0 8px; }
.post-item h2 a { color: var(--tinta); }
.post-item h2 a:hover { color: var(--bronze); }
.post-item p { color: var(--tinta-suave); font-size: .96rem; max-width: 42rem; }
@media (max-width: 640px) { .post-item { grid-template-columns: 1fr; gap: 8px; } }

.post-corpo { max-width: 42rem; font-size: 1.05rem; color: var(--tinta-suave); }
.post-corpo h2 { font-size: 1.5rem; color: var(--tinta); margin: 40px 0 14px; }
.post-corpo h3 { font-size: 1.2rem; color: var(--tinta); margin: 30px 0 12px; }
.post-corpo p { margin-bottom: 18px; line-height: 1.75; }
.post-corpo ul, .post-corpo ol { margin: 0 0 18px 22px; }
.post-corpo li { margin-bottom: 8px; line-height: 1.7; }
.post-corpo strong { color: var(--tinta); }
.post-corpo blockquote {
  border-left: 2px solid var(--bronze); padding-left: 20px; margin: 26px 0;
  font-family: 'Fraunces', serif; font-size: 1.15rem; color: var(--tinta);
}
.post-corpo code { background: var(--papel-alt); padding: 2px 7px; border-radius: 3px; font-size: .88em; }
.post-meta { display: flex; gap: 18px; align-items: center; font-family: Inter, sans-serif; font-size: .82rem; color: var(--tinta-leve); text-transform: uppercase; letter-spacing: .05em; margin-top: 18px; }
.post-meta .categoria { color: var(--bronze); font-weight: 600; }
.post-voltar { display: inline-flex; align-items: center; gap: 6px; font-family: Inter, sans-serif; font-size: .84rem; font-weight: 600; color: var(--tinta-suave); margin-bottom: 40px; }
.post-voltar:hover { color: var(--bronze); }
.post-relacionados { border-top: 1px solid var(--linha); margin-top: 60px; padding-top: 40px; }

/* Landing Cartórios */
.cart-hero { background: var(--preto); color: #fff; padding: 100px 0 84px; }
.cart-hero .eyebrow { color: #D8C4A0; }
.cart-hero h1 { color: #fff; font-size: clamp(2.4rem, 5.4vw, 3.8rem); max-width: 46rem; }
.cart-hero .sub { color: rgba(255,255,255,.68); max-width: 36rem; font-size: 1.16rem; margin-top: 22px; line-height: 1.7; }
.selo-alerta {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(216,196,160,.12); border: 1px solid rgba(216,196,160,.35);
  color: #D8C4A0; font-family: Inter, sans-serif; font-size: .84rem; font-weight: 600;
  padding: 9px 18px; margin-bottom: 26px;
}

.prazo-tabela { border-top: 1px solid var(--linha); border-bottom: 1px solid var(--linha); }
.prazo-linha { display: grid; grid-template-columns: 1fr 1.3fr 1fr 1fr; border-bottom: 1px solid var(--linha); }
.prazo-linha:last-child { border-bottom: none; }
.prazo-linha.cabeca { background: var(--papel-alt); font-family: Inter, sans-serif; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; font-size: .72rem; color: var(--tinta-leve); }
.prazo-linha > div { padding: 18px 20px; font-size: .93rem; }
.prazo-linha > div:not(:first-child) { border-left: 1px solid var(--linha); }
.prazo-linha .destaque-classe { font-family: 'Fraunces', serif; font-size: 1.05rem; color: var(--bronze); }
@media (max-width: 780px) {
  .prazo-linha { grid-template-columns: 1fr 1fr; }
  .prazo-linha > div:nth-child(3) { border-left: none; border-top: 1px solid var(--linha); }
  .prazo-linha > div:nth-child(4) { border-top: 1px solid var(--linha); }
}

.exigencias-lista { border-top: 1px solid var(--linha); }
.exigencia-item { display: grid; grid-template-columns: 60px 1fr; gap: 26px; padding: 26px 0; border-bottom: 1px solid var(--linha); }
.exigencia-item .num { font-family: 'Fraunces', serif; color: var(--linha-forte); font-size: 1.1rem; }
.exigencia-item h3 { font-size: 1.02rem; font-weight: 500; margin-bottom: 6px; }
.exigencia-item p { color: var(--tinta-suave); font-size: .92rem; }
.exigencia-item .artigo { font-family: Inter, sans-serif; font-size: .76rem; color: var(--bronze); font-weight: 600; margin-top: 6px; display: block; }

.mapa-m365 { border-top: 1px solid var(--linha); }
.mapa-linha { display: grid; grid-template-columns: 1.1fr 1.3fr .9fr; border-bottom: 1px solid var(--linha); align-items: center; }
.mapa-linha.cabeca { background: var(--papel-alt); font-family: Inter, sans-serif; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; font-size: .72rem; color: var(--tinta-leve); }
.mapa-linha > div { padding: 16px 20px; font-size: .9rem; }
.mapa-linha > div:not(:first-child) { border-left: 1px solid var(--linha); }
.mapa-linha .componente { font-weight: 600; color: var(--tinta); display: flex; align-items: center; gap: 10px; }
@media (max-width: 780px) {
  .mapa-linha { grid-template-columns: 1fr; }
  .mapa-linha > div:not(:first-child) { border-left: none; border-top: 1px solid var(--linha); }
  .mapa-linha.cabeca { display: none; }
}

.diagnostico-form { background: var(--branco); border: 1px solid var(--linha); padding: 40px; }

/* ============================================================
   Aviso de cookies — discreto, rodapé fixo
   ============================================================ */
.aviso-cookies {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
  background: var(--preto); color: rgba(255,255,255,.82);
  border-top: 1px solid rgba(255,255,255,.1);
  font-family: Inter, sans-serif; font-size: .84rem;
  padding: 14px 20px;
  display: none; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap;
  transform: translateY(100%); transition: transform .4s cubic-bezier(.2,.7,.2,1);
}
.aviso-cookies.visivel { display: flex; transform: translateY(0); }
.aviso-cookies a { color: #D8C4A0; text-decoration: underline; }
.aviso-cookies .botoes { display: flex; gap: 10px; align-items: center; flex-shrink: 0; }
.aviso-cookies button {
  font-family: Inter, sans-serif; font-size: .78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .04em;
  padding: 8px 16px; border: 1px solid rgba(255,255,255,.25);
  background: transparent; color: #fff; cursor: pointer; transition: background .2s;
}
.aviso-cookies button:hover { background: rgba(255,255,255,.1); }
.aviso-cookies button.aceitar { background: #fff; color: var(--preto); border-color: #fff; }
.aviso-cookies button.aceitar:hover { background: #D8C4A0; border-color: #D8C4A0; }
@media (max-width: 640px) {
  .aviso-cookies { justify-content: flex-start; text-align: left; padding: 16px 18px 18px; }
  .aviso-cookies .botoes { width: 100%; }
  .aviso-cookies button { flex: 1; }
}

/* ============================================================
   Páginas legais (privacidade, termos, compliance)
   ============================================================ */
.legal-corpo { max-width: 44rem; font-size: 1.02rem; color: var(--tinta-suave); }
.legal-corpo h2 { font-size: 1.35rem; color: var(--tinta); margin: 38px 0 14px; }
.legal-corpo h2:first-child { margin-top: 0; }
.legal-corpo h3 { font-size: 1.05rem; color: var(--tinta); margin: 24px 0 10px; }
.legal-corpo p { margin-bottom: 16px; line-height: 1.75; }
.legal-corpo ul { margin: 0 0 16px 20px; }
.legal-corpo li { margin-bottom: 8px; line-height: 1.7; }
.legal-corpo strong { color: var(--tinta); }
.legal-atualizado { font-family: Inter, sans-serif; font-size: .82rem; color: var(--tinta-leve); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 36px; }
.legal-indice { border: 1px solid var(--linha); background: var(--papel-alt); padding: 24px 28px; margin-bottom: 44px; max-width: 44rem; }
.legal-indice p { font-family: Inter, sans-serif; font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--tinta-leve); margin-bottom: 12px; }
.legal-indice ol { margin: 0 0 0 20px; }
.legal-indice li { font-size: .92rem; margin-bottom: 6px; }
.legal-indice a { color: var(--tinta-suave); }
.legal-indice a:hover { color: var(--bronze); }

/* ============================================================
   Home v5 — Hero imersivo escuro (repaginação inspirada em ref.)
   Mantém Fraunces+Inter, bronze e cantos retos; muda o "clima" do
   topo para escuro/fotográfico, com mockup emoldurado e carrossel.
   ============================================================ */

/* Cabeçalho sobre o hero escuro (só na home) */
body.home .cabecalho {
  background: rgba(18,17,14,.82);
  backdrop-filter: blur(12px);
  border-bottom-color: rgba(255,255,255,.09);
}
body.home .cabecalho .logo img { filter: brightness(0) invert(1) opacity(.92); }
body.home .nav a { color: rgba(255,255,255,.64); }
body.home .nav a:hover { color: #fff; }
body.home .nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--bronze); }
body.home .nav .botao { background: var(--bronze); border-color: var(--bronze); color: #fff; }
body.home .nav .botao:hover { background: var(--bronze-escuro); border-color: var(--bronze-escuro); }
body.home .menu-botao { color: #fff; }

/* Hero escuro com fundo fotográfico */
body.home .hero {
  position: relative;
  padding: 0;
  border-bottom: none;
  background: var(--preto);
  color: #fff;
  overflow: hidden;
}
body.home .hero .hero-fundo {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(103deg, rgba(15,14,11,.97) 0%, rgba(15,14,11,.9) 42%, rgba(15,14,11,.5) 100%),
    url('https://images.unsplash.com/photo-1533541589358-4b1083f8929b?auto=format&fit=crop&w=1920&q=75');
  background-size: cover;
  background-position: center 55%;
}
body.home .hero .container { position: relative; z-index: 1; }
body.home .hero-grid {
  grid-template-columns: 1fr 1fr;
  gap: 56px; align-items: center;
  padding: 72px 0 76px;
}
body.home .hero-conteudo { max-width: 34rem; }
body.home .hero .eyebrow { color: #D8C4A0; display: block; margin-bottom: 22px; }
body.home .hero h1 { color: #fff; font-size: clamp(2.6rem, 5.2vw, 4.4rem); max-width: none; }
body.home .hero .sub { color: rgba(255,255,255,.72); max-width: 33rem; }
body.home .hero-acoes { align-items: center; }
body.home .hero .hero-link-sec {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: Inter, sans-serif; font-weight: 600; font-size: .82rem;
  text-transform: uppercase; letter-spacing: .06em; color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.4); padding-bottom: 3px;
  transition: color .2s, border-color .2s;
}
body.home .hero .hero-link-sec::after { content: "→"; transition: transform .2s; }
body.home .hero .hero-link-sec:hover { color: #D8C4A0; border-bottom-color: var(--bronze); }
body.home .hero .hero-link-sec:hover::after { transform: translateX(4px); }

/* Mockup ampliado e emoldurado (única sombra permitida além do WhatsApp:
   levanta o painel da foto, como no dashboard da referência) */
body.home .hero .painel-ia {
  border: 1px solid rgba(255,255,255,.13);
  background: linear-gradient(180deg, #17150F 0%, #100F0C 100%);
  box-shadow: 0 40px 90px -34px rgba(0,0,0,.85);
}
body.home .hero .painel-chrome {
  display: flex; align-items: center; gap: 7px;
  padding: 13px 18px; border-bottom: 1px solid rgba(255,255,255,.08);
}
body.home .hero .painel-chrome .pc-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.16); }
body.home .hero .painel-chrome .pc-url {
  margin-left: 12px; font-family: Inter, sans-serif; font-size: .72rem;
  color: rgba(255,255,255,.42); letter-spacing: .04em;
}
body.home .hero .modelo { padding: 17px 22px; }
body.home .hero .modelo .icone-modelo { width: 34px; height: 34px; }

/* Carrossel de logos na base do hero */
body.home .hero-marquee {
  position: relative; z-index: 1;
  border-top: 1px solid rgba(255,255,255,.1);
  background: rgba(9,8,6,.5);
  padding: 24px 0 28px;
}
body.home .hero-marquee-titulo {
  text-align: center; font-family: Inter, sans-serif; font-size: .72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .14em; color: rgba(255,255,255,.42);
  margin-bottom: 20px;
}
body.home .hero-marquee .marcas-lista li { color: rgba(255,255,255,.72); filter: none; opacity: .6; }
body.home .hero-marquee .marcas-lista li:hover { opacity: 1; }
body.home .hero-marquee .marcas-lista svg { filter: brightness(0) invert(1); opacity: .88; }

@media (max-width: 920px) {
  body.home .hero-grid { grid-template-columns: 1fr; gap: 44px; padding: 56px 0 60px; }
  body.home .hero-conteudo { max-width: none; }
}
@media (max-width: 640px) {
  body.home .nav {
    background: rgba(18,17,14,.97); border-bottom-color: rgba(255,255,255,.12);
  }
  body.home .nav a { border-bottom-color: rgba(255,255,255,.09); }
}

/* ============================================================
   Refinamento editorial v6 — prova, ritmo e arquitetura comercial
   ============================================================ */
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }
.secao-sem-topo { padding-top: 0; }

body.home .hero .hero-fundo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .18;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,.16) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: min(18vw, 220px) 100%, 100% 160px;
  background-position: center top;
}
body.home .hero-grid {
  min-height: clamp(620px, calc(100svh - 84px), 780px);
  padding: clamp(64px, 8vw, 104px) 0 clamp(66px, 7vw, 96px);
}
body.home .hero-conteudo { position: relative; }
body.home .hero h1 { max-width: 12.2ch; }
body.home .hero .sub { font-size: clamp(1.04rem, 1.4vw, 1.2rem); }
body.home .hero .painel-ia {
  position: relative;
  overflow: hidden;
}

.secao-cabeca-linha {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 22rem);
  align-items: end;
  gap: clamp(24px, 4vw, 56px);
  padding-bottom: 28px;
  border-bottom: 1px solid var(--linha);
}
.secao-cabeca-linha p {
  max-width: 22rem;
  margin-top: 0;
}
.secao-cabeca-linha .link-sublinhado { justify-self: end; }
.secao-servicos .lista-numerada { border-top: 0; }


.secao-numeros .vitrine-numeros {
  background: var(--papel);
  border-color: var(--linha-forte);
}
.secao-numeros .numero {
  min-height: 176px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.secao-cta-final .cta-faixa {
  align-items: flex-end;
  border-top: 1px solid rgba(255,255,255,.12);
}

@media (max-width: 920px) {
  body.home .hero h1 { max-width: 13ch; }
  .secao-cabeca-linha { grid-template-columns: 1fr; align-items: start; }
  .secao-cabeca-linha .link-sublinhado { justify-self: start; }
}
@media (max-width: 640px) {
  body.home .hero-grid { min-height: auto; }
  body.home .hero h1 { max-width: none; }
  .secao-cabeca-linha { padding-bottom: 22px; }
}

/* ============================================================
   Azure system rollout
   Applies the azure-ia.html visual language to the shared pages.
   ============================================================ */
:root {
  --papel: #ffffff;
  --papel-alt: #faf9f8;
  --tinta: #171717;
  --tinta-suave: #4b4b4b;
  --tinta-leve: #6e6e6e;
  --linha: #e0e0e0;
  --linha-forte: #b8b8b8;
  --bronze: #0067b8;
  --bronze-escuro: #005da6;
  --preto: #0b1220;
}

body {
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, system-ui, "Helvetica Neue", Arial, sans-serif;
  background: var(--papel);
  color: var(--tinta);
  line-height: 1.5;
}

h1, h2, h3, .serif,
.numero strong,
.item-numerado .num,
.passo .num,
.beneficio .num-mini,
.exigencia-item .num,
.prazo-linha .destaque-classe,
.faq summary,
.post-corpo blockquote {
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, system-ui, "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
  letter-spacing: -0.015em;
}

a { color: var(--bronze); }
a:hover { text-decoration: underline; }
:focus-visible { outline-color: var(--bronze); outline-offset: 2px; }
.container { max-width: 1240px; padding: 0 clamp(18px, 5vw, 72px); }
.container-estreito { max-width: 900px; padding: 0 clamp(18px, 5vw, 72px); }
.t-bronze { color: currentColor; font-style: normal; }

.anuncio {
  background: #0b1220;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.anuncio a {
  color: rgba(255,255,255,.86);
  font-size: .82rem;
}
.anuncio .anuncio-cta { color: #7fd3ff; }

.cabecalho,
body.home .cabecalho {
  background: rgba(255,255,255,.94);
  border-bottom-color: var(--linha);
  backdrop-filter: blur(10px);
}
.cabecalho-inner { height: 64px; }
.logo img,
body.home .cabecalho .logo img {
  height: 26px;
  filter: none;
}
.nav,
body.home .nav { gap: 24px; }
.nav a,
body.home .nav a {
  color: var(--tinta-suave);
  font-size: .82rem;
  text-transform: none;
  letter-spacing: 0;
  border-bottom: 0;
  padding-bottom: 0;
}
.nav a:hover,
body.home .nav a:hover,
.nav a[aria-current="page"],
body.home .nav a[aria-current="page"] {
  color: var(--tinta);
  text-decoration: none;
}
.menu-botao,
body.home .menu-botao { color: var(--tinta); }

.botao,
body.home .nav .botao,
.aviso-cookies button {
  border-radius: 2px;
  background: var(--bronze);
  border-color: var(--bronze);
  color: #fff;
  font-size: .94rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  padding: 11px 22px;
}
.botao::after { content: none; }
.botao:hover,
body.home .nav .botao:hover,
.aviso-cookies button:hover {
  background: var(--bronze-escuro);
  border-color: var(--bronze-escuro);
  color: #fff;
  text-decoration: none;
}
.botao-contorno {
  background: transparent;
  color: var(--tinta);
  border-color: #8a8a8a;
}
.botao-contorno:hover {
  background: rgba(0,0,0,.03);
  color: var(--tinta);
  border-color: var(--tinta);
}
.botao-claro,
.botao-invertido {
  background: #fff;
  color: #0b1220;
  border-color: #fff;
}
.botao-claro:hover,
.botao-invertido:hover {
  background: #e9eef5;
  color: #0b1220;
  border-color: #e9eef5;
}
.botao-whats { background: var(--whatsapp); border-color: var(--whatsapp); }
.botao-whats:hover { background: var(--whatsapp-escuro); border-color: var(--whatsapp-escuro); }
.link-sublinhado {
  color: var(--bronze);
  border-bottom-color: currentColor;
  text-transform: none;
  letter-spacing: 0;
}

.hero,
body.home .hero,
.hero-pagina,
.cart-hero {
  position: relative;
  overflow: hidden;
  background: #0b1220;
  color: #fff;
  border-bottom: none;
}
.hero::before,
.hero-pagina::before,
.cart-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(720px 520px at 20% 24%, rgba(0,103,184,.62), transparent 62%),
    radial-gradient(700px 500px at 82% 20%, rgba(51,176,230,.42), transparent 64%),
    radial-gradient(720px 560px at 68% 86%, rgba(138,79,224,.45), transparent 66%),
    linear-gradient(135deg, #081026 0%, #0b1220 58%, #132a4f 100%);
}
.hero::after,
.hero-pagina::after,
.cart-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,16,38,0), rgba(8,16,38,.46));
}
body.home .hero .hero-fundo { display: none; }
.hero .container,
.hero-pagina .container,
.cart-hero .container,
body.home .hero .container {
  position: relative;
  z-index: 1;
}
.hero,
.hero-pagina,
.cart-hero { padding: clamp(72px, 12vw, 150px) 0 clamp(64px, 10vw, 128px); }
body.home .hero { padding: 0; }
body.home .hero-grid {
  min-height: clamp(600px, calc(100svh - 64px), 760px);
  grid-template-columns: 1fr 1fr;
  gap: clamp(34px, 5vw, 64px);
  padding: clamp(72px, 10vw, 132px) 0 clamp(64px, 9vw, 112px);
}
body.home .hero .hero-conteudo { max-width: 40rem; }
.hero-topo { border-bottom-color: rgba(255,255,255,.16); }
.hero h1,
.hero-pagina h1,
.cart-hero h1,
body.home .hero h1 {
  color: #fff;
  font-size: clamp(2.5rem, 6.4vw, 5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  max-width: 16ch;
}
.hero .sub,
.hero-pagina .sub,
.cart-hero .sub,
body.home .hero .sub {
  color: rgba(255,255,255,.88);
  font-size: clamp(1.08rem, 2vw, 1.5rem);
  line-height: 1.35;
  max-width: 62ch;
}
.eyebrow,
.hero .eyebrow,
.hero-pagina .eyebrow,
.cart-hero .eyebrow,
body.home .hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  color: #7fd3ff;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .01em;
  text-transform: none;
}
.hero-pagina .eyebrow,
.cart-hero .eyebrow { margin-bottom: 22px; }
body.home .hero .hero-link-sec {
  color: #fff;
  text-transform: none;
  letter-spacing: 0;
  border-bottom-color: rgba(255,255,255,.64);
}
body.home .hero .hero-link-sec:hover {
  color: #7fd3ff;
  border-bottom-color: #7fd3ff;
}

.painel-ia,
body.home .hero .painel-ia {
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  background: rgba(255,255,255,.06);
  box-shadow: 0 20px 50px rgba(11,18,32,.22);
  overflow: hidden;
}
.modelo .icone-modelo,
body.home .hero .modelo .icone-modelo {
  border-radius: 8px;
  background: rgba(127,211,255,.14);
}
.hero-marquee {
  position: relative;
  z-index: 1;
}

.anchorbar {
  position: sticky;
  top: 64px;
  z-index: 80;
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid var(--linha);
  backdrop-filter: blur(10px);
}

.secao { padding: clamp(56px, 8vw, 100px) 0; }
.secao-alt,
.catalog,
.legal-indice,
.painel-borda { background: var(--papel-alt); }
.secao-preta,
.destaque-ia,
.cta-faixa {
  background: #0b1220;
  color: #fff;
}
.secao-cabeca h2,
.secao-cabeca-full h2,
.h2 {
  font-size: clamp(1.9rem, 4.2vw, 2.9rem);
  letter-spacing: -0.015em;
}
.secao-cabeca p,
.secao-cabeca-full p,
.lead { color: var(--tinta-suave); line-height: 1.45; }
.secao-cabeca-linha { border-bottom-color: var(--linha); }

.lista-numerada,
.passos,
.faq,
.blog-lista,
.exigencias-lista,
.mapa-m365,
.prazo-tabela,
.comparacao,
.info-contato {
  border-top-color: var(--linha);
}
.item-numerado,
.passo,
.faq details,
.post-item,
.exigencia-item,
.mapa-linha,
.prazo-linha,
.comp-linha,
.info-item {
  border-bottom-color: var(--linha);
}
.item-numerado {
  border-radius: 10px;
  padding: 28px;
  margin-bottom: 16px;
  border: 1px solid var(--linha);
  background: #fff;
  transition: box-shadow .15s ease, transform .15s ease, border-color .15s ease;
}
.item-numerado:hover,
.model:hover {
  background: #fff;
  border-color: rgba(0,103,184,.24);
  box-shadow: 0 10px 30px rgba(0,0,0,.09);
  transform: translateY(-2px);
}
.item-numerado.card-destacado { background: #f5faff; border-color: rgba(0,103,184,.24); }
.item-numerado .num,
.passo .num,
.exigencia-item .num,
.beneficio .num-mini { color: var(--bronze); }

.beneficios,
.cat-grid,
.help-grid {
  background: transparent;
  border: 0;
  gap: 16px;
}
.beneficio,
.model,
.help,
.formulario,
.diagnostico-form,
.painel-borda,
.legal-indice {
  background: #fff;
  border: 1px solid var(--linha);
  border-radius: 12px;
  box-shadow: none;
}
.beneficio,
.help { padding: 28px; }
.help .ic,
.model .badge,
.selo-alerta {
  background: #eaf3fb;
  color: var(--bronze);
  border-radius: 8px;
  border-color: transparent;
}
.model .badge {
  border-radius: 999px;
  padding: 3px 9px;
}

.vitrine-numeros,
.secao-numeros .vitrine-numeros {
  gap: 16px;
  border: 0;
  background: transparent;
}
.numero,
.secao-numeros .numero {
  border: 0 !important;
  border-radius: 14px;
  min-height: 190px;
  padding: 28px 24px;
  color: #fff;
  background: linear-gradient(150deg, #0a3d91, #1268c9);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.numero:nth-child(2) { background: linear-gradient(150deg, #0a6ec9, #33b0e6); }
.numero:nth-child(3) { background: linear-gradient(150deg, #4b2fb0, #8a4fe0); }
.numero:nth-child(4) { background: linear-gradient(150deg, #b0348f, #e0609f); }
.numero strong { color: #fff; letter-spacing: -0.02em; }
.numero span { color: rgba(255,255,255,.9); text-transform: none; letter-spacing: 0; }

.destaque-ia,
.cta-faixa {
  border-radius: 0;
}
.destaque-ia p,
.cta-faixa p,
.secao-preta p { color: rgba(255,255,255,.82); }
.destaque-ia h2,
.cta-faixa h2,
.secao-preta h2 { color: #fff; }
.chip {
  border-bottom-color: rgba(255,255,255,.14);
  color: #eaeef4;
}
.chip::before { color: #7fd3ff; }

.comp-linha.cabeca,
.prazo-linha.cabeca,
.mapa-linha.cabeca {
  background: var(--papel-alt);
  color: var(--tinta-suave);
}
.comp-linha > div:nth-child(3) { background: #f5faff; }
.comp-linha:not(.cabeca) > div:nth-child(3)::before,
.lista-check li::before { color: var(--bronze); }

.campo input,
.campo select,
.campo textarea {
  border: 1px solid var(--linha);
  border-radius: 2px;
  padding: 12px 13px;
  background: #fff;
}
.campo input::placeholder,
.campo textarea::placeholder { color: #5f5f5f; opacity: 1; }
.campo input:focus,
.campo select:focus,
.campo textarea:focus {
  border-color: var(--bronze);
  box-shadow: 0 0 0 1px var(--bronze);
}

.rodape {
  background: var(--papel-alt);
  color: var(--tinta-leve);
  border-top: 1px solid var(--linha);
}
.rodape-grid { border-bottom-color: var(--linha); }
.rodape h4 { color: var(--tinta); }
.rodape p,
.rodape a,
.rodape li { color: var(--tinta-suave); }
.rodape a:hover { color: var(--bronze); }
.rodape .logo img { filter: none; }
.copy { color: var(--tinta-leve); }

.aviso-cookies {
  background: #0b1220;
  border-top-color: rgba(255,255,255,.12);
}
.aviso-cookies a { color: #7fd3ff; }
.aviso-cookies button.aceitar {
  background: #fff;
  color: #0b1220;
  border-color: #fff;
}

@media (max-width: 920px) {
  body.home .hero-grid { grid-template-columns: 1fr; min-height: auto; }
  .comp-linha { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .cabecalho-inner { height: 64px; }
  .nav,
  body.home .nav {
    top: 64px;
    background: #fff;
    border-bottom-color: var(--linha);
  }
  .nav a,
  body.home .nav a {
    color: var(--tinta-suave);
    border-bottom-color: var(--linha);
  }
  .hero,
  .hero-pagina,
  .cart-hero { padding: 64px 0 72px; }
  .hero h1,
  .hero-pagina h1,
  .cart-hero h1,
  body.home .hero h1 {
    max-width: none;
    font-size: clamp(2.4rem, 12vw, 3.5rem);
  }
  .item-numerado {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 24px;
  }
  .vitrine-numeros { grid-template-columns: 1fr; }
  .numero { min-height: 164px; }
}

/* Azure rollout tuning */
body.home .hero-grid {
  min-height: auto;
  padding: clamp(64px, 8vw, 104px) 0 clamp(56px, 7vw, 88px);
}
body.home .hero h1 { max-width: 15ch; }
body.home .hero-marquee { padding: 20px 0 24px; }
@media (max-width: 640px) {
  body.home .hero-grid { padding: 56px 0 60px; }
}
body.home .hero h1 {
  max-width: 20ch;
  font-size: clamp(2.5rem, 5.4vw, 4.5rem);
}
body.home .hero h1 {
  max-width: 22ch;
  font-size: clamp(2.3rem, 4.4vw, 3.8rem);
}

/* Nav quote button alignment */
.nav .botao,
body.home .nav .botao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  line-height: 1;
  min-height: 40px;
}
.nav .botao:hover,
body.home .nav .botao:hover {
  color: #fff;
  font-weight: 700;
}

/* Azure Foundry mockup */
.foundry-mockup {
  overflow: hidden;
  border: 1px solid rgba(0,103,184,.22);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 20px 50px rgba(11,18,32,.16);
  color: #171717;
}
.foundry-topbar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: #0b1220;
  color: #fff;
}
.foundry-mark { font-weight: 700; letter-spacing: -.01em; white-space: nowrap; }
.foundry-search {
  min-width: 0;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 4px;
  padding: 7px 10px;
  color: rgba(255,255,255,.68);
  font-size: .78rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.foundry-user {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #0067b8;
  font-size: .72rem;
  font-weight: 700;
}
.foundry-body { display: grid; grid-template-columns: 142px 1fr; min-height: 390px; }
.foundry-sidebar {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 10px;
  background: #f3f2f1;
  border-right: 1px solid #e0e0e0;
}
.foundry-sidebar span {
  border-radius: 4px;
  padding: 8px 10px;
  color: #4b4b4b;
  font-size: .78rem;
}
.foundry-sidebar .active { background: #eaf3fb; color: #005da6; font-weight: 700; }
.foundry-main { padding: 20px; background: linear-gradient(180deg, #fff 0%, #fafcff 100%); }
.foundry-heading span,
.foundry-label {
  display: block;
  color: #6e6e6e;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.foundry-heading strong {
  display: block;
  margin-top: 6px;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.15;
}
.foundry-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 20px;
}
.foundry-card {
  min-height: 118px;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 14px;
  background: #fff;
}
.foundry-card.selected { border-color: rgba(0,103,184,.42); background: #f5faff; }
.foundry-card span { color: #0067b8; font-size: .76rem; font-weight: 700; }
.foundry-card strong { display: block; margin-top: 18px; font-size: 1rem; }
.foundry-card small { display: block; margin-top: 5px; color: #6e6e6e; line-height: 1.35; }
.foundry-deploy {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
  border: 1px solid #d7e8f7;
  border-radius: 10px;
  padding: 16px;
  background: #ffffff;
}
.foundry-deploy strong { display: block; margin-top: 4px; }
.foundry-deploy small { display: block; margin-top: 5px; color: #6e6e6e; }
.foundry-status {
  align-self: flex-start;
  border-radius: 999px;
  padding: 4px 10px;
  background: #dff6dd;
  color: #107c10;
  font-size: .74rem;
  font-weight: 700;
}
.foundry-metrics {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}
.foundry-metrics span {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #0067b8 var(--w), #e5edf5 var(--w));
}
@media (max-width: 760px) {
  .foundry-body { grid-template-columns: 1fr; }
  .foundry-sidebar { display: none; }
  .foundry-cards { grid-template-columns: 1fr; }
  .foundry-topbar { grid-template-columns: 1fr auto; }
  .foundry-search { grid-column: 1 / -1; order: 3; }
}

/* Home secondary quote link */
body.home .hero .hero-link-sec,
body.home .hero .hero-link-sec:visited,
body.home .hero .hero-link-sec:hover,
body.home .hero .hero-link-sec:focus-visible {
  color: #fff;
}

/* Foundry model catalog from IAs.png */
.foundry-model-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
  max-height: 278px;
  overflow: hidden;
}
.foundry-model {
  min-width: 0;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 10px 11px;
  background: #fff;
}
.foundry-model:nth-child(1),
.foundry-model:nth-child(5),
.foundry-model:nth-child(8) {
  border-color: rgba(0,103,184,.34);
  background: #f5faff;
}
.foundry-model span {
  display: block;
  color: #0067b8;
  font-size: .68rem;
  font-weight: 700;
  line-height: 1.2;
}
.foundry-model strong {
  display: block;
  margin-top: 4px;
  overflow: hidden;
  color: #171717;
  font-size: .83rem;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.foundry-model small {
  display: block;
  margin-top: 4px;
  overflow: hidden;
  color: #6e6e6e;
  font-size: .68rem;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 760px) {
  .foundry-model-grid { grid-template-columns: 1fr; max-height: none; }
}

/* AI page mockup catalog fit */
.sobre-grid .foundry-body { grid-template-columns: 1fr; }
.sobre-grid .foundry-sidebar { display: none; }
.sobre-grid .foundry-model-grid { max-height: none; }
.sobre-grid .foundry-main { padding: 22px; }

/* Force home hero quote link contrast */
html body.home .hero .hero-acoes .hero-link-sec,
html body.home .hero .hero-acoes .hero-link-sec:visited,
html body.home .hero .hero-acoes .hero-link-sec:hover,
html body.home .hero .hero-acoes .hero-link-sec:focus-visible {
  color: #fff !important;
}

/* Force legacy home hero quote button contrast */
.hero .hero-acoes .botao-contorno,
.hero .hero-acoes .botao-contorno:visited,
.hero .hero-acoes .botao-contorno:hover,
.hero .hero-acoes .botao-contorno:focus-visible,
.hero .hero-acoes a[href="contato.html"],
.hero .hero-acoes a[href="contato.html"]:visited,
.hero .hero-acoes a[href="contato.html"]:hover,
.hero .hero-acoes a[href="contato.html"]:focus-visible {
  color: #fff !important;
  border-color: rgba(255,255,255,.72) !important;
}
