/* Del Jardim Engenharia · CSS do site (sem build). Tokens do manual da marca. */
@font-face { font-family: "Archivo"; font-weight: 700; font-style: normal; font-display: swap; src: url("/assets/fonts/archivo-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 800; font-style: normal; font-display: swap; src: url("/assets/fonts/archivo-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/manrope-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/fonts/manrope-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 700; font-style: normal; font-display: swap; src: url("/assets/fonts/manrope-latin-700-normal.woff2") format("woff2"); }

:root {
    --azul: #19415A;
    --azul-2: #296684;
    --azul-escuro: #0f2c3e;
    --vermelho: #CA150A;
    --vermelho-escuro: #a8110a;
    --gelo: #eef3f6;
    --linha: #dde6ec;
    --texto: #1d2b34;
    --texto-2: #46596a;
    --branco: #fff;
    --raio: 18px;
    --sombra: 0 18px 44px -30px rgba(25, 65, 90, .45);
    --largura: 1180px;
    --leitura: 760px;
    --titulo: "Archivo", "Arial Black", system-ui, sans-serif;
    --corpo: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--corpo); font-size: 17px; line-height: 1.7; color: var(--texto); background: var(--branco); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--azul-2); text-underline-offset: .18em; }
a:hover { color: var(--azul); }
h1, h2, h3 { font-family: var(--titulo); color: var(--azul); line-height: 1.18; letter-spacing: -.012em; margin: 0 0 .6em; }
h1 { font-weight: 800; font-size: clamp(2rem, 4.6vw, 3.2rem); }
h2 { font-weight: 800; font-size: clamp(1.5rem, 3vw, 2.15rem); }
h3 { font-weight: 700; font-size: 1.2rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--vermelho); outline-offset: 3px; border-radius: 4px; }
.pular { position: absolute; left: -999px; top: 0; }
.pular:focus { left: 1rem; top: 1rem; z-index: 100; background: #fff; color: var(--azul); padding: .6rem 1rem; }
.visualmente-oculto { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.dentro { max-width: var(--largura); margin: 0 auto; padding: 0 1.25rem; }
.secao { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.secao--gelo { background: var(--gelo); }
.secao--azul { background: var(--azul); color: #e7eef3; position: relative; overflow: hidden; }
.secao--azul h2, .secao--azul h3 { color: #fff; }
.secao--azul a:not(.botao) { color: #fff; }
.grade-fundo::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 34px 34px; }
.grade-fundo > * { position: relative; }
.sobretitulo { display: inline-flex; align-items: center; gap: .6rem; font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--vermelho); margin: 0 0 1rem; }
.sobretitulo::before { content: ""; width: 22px; height: 7px; border-radius: 2px; background: var(--vermelho); }
.secao--azul .sobretitulo { color: #ffb3ad; }
.intro { font-size: 1.12rem; color: var(--texto-2); max-width: 46rem; }
.secao--azul .intro { color: #c9d8e2; }

/* Botões */
.botao { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .75rem 1.4rem; border-radius: 999px; font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background-color .15s; }
.botao:hover { transform: translateY(-1px); }
.botao--vermelho { background: var(--vermelho); color: #fff; }
.botao--vermelho:hover { background: var(--vermelho-escuro); color: #fff; }
.botao--contorno { border-color: currentColor; color: var(--azul); background: transparent; }
.secao--azul .botao--contorno, .heroi .botao--contorno { color: #fff; }
.botoes { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }

/* Topo */
.topo { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--linha); }
.topo__dentro { max-width: var(--largura); margin: 0 auto; padding: .55rem 1.25rem; display: flex; align-items: center; gap: 1.5rem; }
.topo__marca img { display: block; width: 172px; height: auto; }
.menu { margin-left: auto; }
.menu__lista { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.menu a { color: var(--azul); font-weight: 600; text-decoration: none; padding: .4rem 0; border-bottom: 2px solid transparent; }
.menu a:hover, .menu a[aria-current="page"] { border-color: var(--vermelho); }
.menu__mobile { display: none; position: relative; }
.menu__mobile summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; place-content: center; gap: 5px; }
.menu__mobile summary::-webkit-details-marker { display: none; }
.menu__mobile summary span { display: block; width: 24px; height: 2.5px; background: var(--azul); border-radius: 2px; }
.menu__mobile ul { position: absolute; right: 0; top: 52px; background: #fff; list-style: none; margin: 0; padding: .6rem 0; min-width: 220px; border-radius: 14px; box-shadow: var(--sombra); border: 1px solid var(--linha); }
.menu__mobile li a { display: block; padding: .7rem 1.2rem; border: 0; }
.topo__cta { min-height: 42px; padding: .55rem 1.1rem; font-size: .95rem; }
@media (max-width: 860px) {
    .menu__lista { display: none; }
    .menu__mobile { display: block; }
    .topo__marca img { width: 150px; }
    .topo__cta { display: none; }
}

/* Herói da home */
.heroi { background: var(--azul); color: #dfe9f0; position: relative; overflow: hidden; }
.heroi::after { content: ""; position: absolute; left: -120px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(202,21,10,.28), transparent 70%); pointer-events: none; }
.heroi__dentro { display: grid; grid-template-columns: 1.25fr .9fr; gap: 3rem; align-items: center; padding: clamp(3rem, 8vw, 6rem) 1.25rem; max-width: var(--largura); margin: 0 auto; position: relative; z-index: 1; }
.heroi h1 { color: #fff; }
.heroi h1 em { font-style: normal; color: #ff6b61; }
.heroi__texto { font-size: 1.12rem; color: #c9d8e2; max-width: 38rem; }
.heroi__selos { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; list-style: none; padding: 0; margin: 1.8rem 0 0; font-size: .92rem; color: #c9d8e2; }
.heroi__selos li::before { content: "■"; color: var(--vermelho); font-size: .7em; margin-right: .5rem; }
.heroi__selos strong { color: #fff; }
.cartao-vidro { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--raio); padding: 1.6rem 1.7rem; }
.cartao-vidro h2 { font-size: 1.1rem; color: #fff; margin-bottom: 1rem; }
.lista-check { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.lista-check li { position: relative; padding-left: 1.7rem; }
.lista-check li::before { content: ""; position: absolute; left: 0; top: .45em; width: 12px; height: 7px; border-left: 2.5px solid var(--vermelho); border-bottom: 2.5px solid var(--vermelho); transform: rotate(-45deg); }
.cartao-vidro p { margin: 1.2rem 0 0; font-size: .9rem; color: #a9bfcd; }
@media (max-width: 900px) { .heroi__dentro { grid-template-columns: 1fr; } }

/* Cartões */
.grade { display: grid; gap: 1.2rem; }
.grade--3 { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.grade--4 { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.cartao { background: #fff; border: 1px solid var(--linha); border-radius: var(--raio); padding: 1.6rem; box-shadow: var(--sombra); display: flex; flex-direction: column; }
.cartao h3 { margin-bottom: .5rem; }
.cartao h3 a { color: inherit; text-decoration: none; }
.cartao h3 a::after { content: ""; position: absolute; inset: 0; }
.cartao--link { position: relative; transition: transform .15s, box-shadow .15s; }
.cartao--link:hover { transform: translateY(-3px); box-shadow: 0 26px 50px -30px rgba(25,65,90,.55); }
.cartao p { color: var(--texto-2); margin-bottom: 1rem; }
.cartao .mais { margin-top: auto; font-weight: 700; color: var(--vermelho); }
.etiqueta { display: inline-block; align-self: flex-start; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: .25rem .65rem; border-radius: 999px; background: var(--gelo); color: var(--azul-2); margin-bottom: .9rem; }
.etiqueta--vermelha { background: #fdecea; color: var(--vermelho-escuro); }

/* Números e passos */
.numeros { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; margin: 2rem 0; }
.numeros div { border-left: 3px solid var(--vermelho); padding-left: 1rem; }
.numeros strong { display: block; font-family: var(--titulo); font-weight: 800; font-size: 2.2rem; color: var(--azul); line-height: 1.1; }
.secao--azul .numeros strong { color: #fff; }
.passos { counter-reset: passo; list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.2rem; }
.passos li { counter-increment: passo; background: #fff; border: 1px solid var(--linha); border-radius: var(--raio); padding: 1.4rem; }
.secao--azul .passos li { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); }
.passos li::before { content: counter(passo); display: grid; place-content: center; width: 38px; height: 38px; border-radius: 50%; background: var(--vermelho); color: #fff; font-family: var(--titulo); font-weight: 800; margin-bottom: .8rem; }
.passos h3 { margin-bottom: .3rem; }
.passos p { margin: 0; color: var(--texto-2); }
.secao--azul .passos p { color: #c9d8e2; }

.duas-colunas { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
@media (max-width: 860px) { .duas-colunas { grid-template-columns: 1fr; } }
.pilulas { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 1rem 0 0; }
.pilulas li { border: 1px solid var(--linha); border-radius: 999px; padding: .3rem .85rem; font-size: .9rem; background: #fff; }
.secao--azul .pilulas li { background: transparent; border-color: rgba(255,255,255,.25); }

/* Perguntas frequentes */
.faq { max-width: var(--leitura); }
.faq details { border-bottom: 1px solid var(--linha); padding: 1rem 0; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--azul); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--titulo); font-size: 1.4rem; line-height: 1; color: var(--vermelho); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: .8rem 0 0; color: var(--texto-2); }

/* Chamada final */
.chamada { background: var(--azul); color: #dfe9f0; border-radius: calc(var(--raio) + 6px); padding: clamp(2rem, 5vw, 3rem); position: relative; overflow: hidden; }
.chamada h2 { color: #fff; }
.chamada p { color: #c9d8e2; max-width: 40rem; }

/* Cabeçalho de páginas internas */
.cabecalho { background: var(--azul); color: #c9d8e2; position: relative; overflow: hidden; }
.cabecalho .dentro { padding-top: clamp(2.5rem, 6vw, 4rem); padding-bottom: clamp(2.5rem, 6vw, 4rem); }
.cabecalho h1 { color: #fff; max-width: 52rem; }
.cabecalho p { font-size: 1.1rem; max-width: 46rem; }
.trilha { font-size: .88rem; margin-bottom: 1.2rem; }
.trilha ol { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem; padding: 0; margin: 0; }
.trilha li + li::before { content: "›"; margin-right: .3rem; color: #8fb0c4; }
.trilha a { color: #c9d8e2; }

/* Artigos: lista */
.filtros { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.5rem; padding: 0; list-style: none; }
.filtros a { display: inline-block; padding: .45rem .95rem; border-radius: 999px; border: 1px solid var(--linha); text-decoration: none; color: var(--azul); font-weight: 600; font-size: .92rem; }
.filtros a[aria-current="true"] { background: var(--azul); border-color: var(--azul); color: #fff; }
.busca { display: flex; gap: .5rem; max-width: 34rem; margin-bottom: 1.5rem; }
.busca input { flex: 1; }
.cartao-artigo { position: relative; background: #fff; border: 1px solid var(--linha); border-radius: var(--raio); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--sombra); transition: transform .15s; }
.cartao-artigo:hover { transform: translateY(-3px); }
.cartao-artigo__capa { aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--azul), var(--azul-2)); display: block; width: 100%; object-fit: cover; }
.cartao-artigo__corpo { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.cartao-artigo h2, .cartao-artigo h3 { font-size: 1.08rem; margin: 0 0 .5rem; }
.cartao-artigo h2 a, .cartao-artigo h3 a { color: var(--azul); text-decoration: none; }
.cartao-artigo h2 a::after, .cartao-artigo h3 a::after { content: ""; position: absolute; inset: 0; }
.cartao-artigo p { font-size: .95rem; color: var(--texto-2); margin: 0 0 .8rem; }
.cartao-artigo small { margin-top: auto; color: #6b7f8d; }
.paginacao { display: flex; gap: .6rem; justify-content: center; align-items: center; margin-top: 2.5rem; }

/* Artigo */
.artigo-topo { background: var(--azul); color: #c9d8e2; position: relative; overflow: hidden; }
.artigo-topo__dentro { max-width: var(--largura); margin: 0 auto; padding: clamp(2rem, 5vw, 3.5rem) 1.25rem; display: grid; grid-template-columns: 1.2fr 1fr; gap: 2.5rem; align-items: center; position: relative; z-index: 1; }
.artigo-topo h1 { color: #fff; font-size: clamp(1.75rem, 3.6vw, 2.6rem); }
.artigo-topo__gancho { font-size: 1.08rem; font-style: italic; color: #c9d8e2; }
.artigo-topo__meta { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; font-size: .9rem; color: #a9bfcd; margin: 1rem 0 0; padding: 0; list-style: none; }
.artigo-topo__capa { border-radius: var(--raio); overflow: hidden; aspect-ratio: 16 / 9; background: var(--azul-escuro); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.artigo-topo__capa img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 900px) { .artigo-topo__dentro { grid-template-columns: 1fr; } }
.artigo-layout { max-width: var(--largura); margin: 0 auto; padding: 2.5rem 1.25rem 1rem; display: grid; grid-template-columns: minmax(0, var(--leitura)) 280px; gap: 3rem; justify-content: center; }
@media (max-width: 1000px) { .artigo-layout { grid-template-columns: minmax(0, 1fr); } .artigo-lateral { order: -1; } }
.resumo { background: var(--gelo); border-left: 4px solid var(--azul-2); border-radius: 0 12px 12px 0; padding: 1rem 1.2rem; margin: 0 0 1.8rem; }
.resumo strong { display: block; font-family: var(--titulo); color: var(--azul); margin-bottom: .2rem; }
.resumo p { margin: 0; }
.artigo { font-size: 1.06rem; }
.artigo h2 { margin-top: 2rem; scroll-margin-top: 90px; font-size: clamp(1.35rem, 2.6vw, 1.75rem); }
.artigo .lead { font-size: 1.16rem; color: var(--texto); }
.artigo hr.rule { width: 56px; height: 3px; border: 0; background: var(--vermelho); border-radius: 3px; margin: 1.6rem 0; }
.artigo .hook { border-left: 4px solid var(--vermelho); background: #fff6f5; padding: 1rem 1.2rem; border-radius: 0 12px 12px 0; font-weight: 600; color: var(--azul); margin: 1.5rem 0; }
.artigo .fact { background: var(--azul); color: #e7eef3; border-radius: 14px; padding: 1.2rem 1.4rem; margin: 1.8rem 0; }
.artigo .fact b, .artigo .fact strong { color: #fff; }
.artigo ul, .artigo ol { padding-left: 1.3rem; }
.artigo li { margin-bottom: .4rem; }
.artigo blockquote { margin: 1.5rem 0; padding: .5rem 0 .5rem 1.2rem; border-left: 4px solid var(--azul-2); font-style: italic; color: var(--azul); }
.artigo table { border-collapse: collapse; width: 100%; margin: 1.5rem 0; font-size: .95rem; }
.artigo th, .artigo td { border: 1px solid var(--linha); padding: .55rem .7rem; text-align: left; }
.artigo th { background: var(--gelo); }
.artigo figure.dj-art { margin: 2rem 0; background: #f4f8fb; border: 1px solid var(--linha); border-radius: 16px; overflow: hidden; }
.artigo figure.dj-art svg { display: block; width: 100%; height: auto; }
.artigo figure.dj-art figcaption { padding: .7rem 1rem; font-size: .88rem; color: var(--texto-2); border-top: 1px solid var(--linha); }
.artigo figure.dj-art figcaption b { display: block; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--azul-2); }
.artigo-lateral { font-size: .95rem; }
.sumario { position: sticky; top: 90px; background: #fff; border: 1px solid var(--linha); border-radius: var(--raio); padding: 1.2rem 1.3rem; }
.sumario h2 { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--texto-2); margin: 0 0 .6rem; }
.sumario ol { margin: 0; padding-left: 1.1rem; display: grid; gap: .45rem; }
.sumario a { color: var(--azul); text-decoration: none; }
.sumario a:hover { text-decoration: underline; }
@media (max-width: 1000px) { .sumario { position: static; } }
.autor { display: flex; gap: 1rem; align-items: flex-start; border: 1px solid var(--linha); border-radius: var(--raio); padding: 1.2rem 1.4rem; margin: 2.5rem 0; background: #fbfdfe; }
.autor__inicial { flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--azul); color: #fff; display: grid; place-content: center; font-family: var(--titulo); font-weight: 800; font-size: 1.2rem; }
.autor p { margin: 0; font-size: .95rem; color: var(--texto-2); }
.autor strong { color: var(--azul); }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: 1.5rem 0 0; }
.tags li { font-size: .82rem; background: var(--gelo); color: var(--azul-2); padding: .2rem .7rem; border-radius: 999px; }

/* Formulário */
.formulario { display: grid; gap: 1rem; }
.campo label { display: block; font-weight: 700; color: var(--azul); margin-bottom: .35rem; }
.campo .dica { font-size: .85rem; color: var(--texto-2); margin: .3rem 0 0; }
input[type="text"], input[type="email"], input[type="tel"], input[type="search"], select, textarea { width: 100%; font: inherit; color: var(--texto); padding: .75rem .9rem; border: 1.5px solid #b9c9d4; border-radius: 12px; background: #fff; min-height: 48px; }
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--azul-2); outline: 3px solid rgba(41,102,132,.25); outline-offset: 0; }
.campo--erro input, .campo--erro textarea { border-color: var(--vermelho); }
.erro { color: var(--vermelho-escuro); font-size: .9rem; font-weight: 600; margin: .35rem 0 0; }
.aviso-erros { background: #fdecea; color: var(--vermelho-escuro); border-radius: 12px; padding: .9rem 1.1rem; font-weight: 600; }
.isca, [class="isca"] { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.cartao-contato { display: grid; gap: .9rem; list-style: none; padding: 0; margin: 1.5rem 0; }
.cartao-contato a { font-weight: 700; color: #fff; }
.cartao-contato span { display: block; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: #8fb0c4; }

/* Texto corrido (privacidade, quem somos) */
.texto { max-width: var(--leitura); }
.texto h2 { margin-top: 2rem; font-size: 1.4rem; }
.pessoa { display: grid; grid-template-columns: 72px 1fr; gap: 1.2rem; align-items: start; }
.pessoa__inicial { width: 72px; height: 72px; border-radius: 50%; background: var(--azul); color: #fff; display: grid; place-content: center; font-family: var(--titulo); font-weight: 800; font-size: 1.6rem; }
.pessoa__cargo { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--vermelho); margin-bottom: .6rem; }

/* Rodapé */
.rodape { background: var(--azul-escuro); color: #b8cad6; margin-top: 0; }
.rodape__dentro { max-width: var(--largura); margin: 0 auto; padding: 3.5rem 1.25rem 2rem; display: grid; grid-template-columns: 1.4fr 1fr 1fr .7fr; gap: 2rem; }
.rodape__marca img { width: 190px; margin-bottom: 1rem; }
.rodape__marca p { font-size: .95rem; }
.rodape__titulo { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: .9rem; }
.rodape ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; font-size: .95rem; }
.rodape a { color: #dbe6ed; text-decoration: none; }
.rodape a:hover { text-decoration: underline; color: #fff; }
.rodape__base { border-top: 1px solid rgba(255,255,255,.1); max-width: var(--largura); margin: 0 auto; padding: 1.2rem 1.25rem 5.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; font-size: .88rem; }
.rodape__base p { margin: 0; }
@media (max-width: 860px) { .rodape__dentro { grid-template-columns: 1fr 1fr; } .rodape__marca { grid-column: 1 / -1; } }

.whats-flutuante { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: #1f9d55; color: #fff; display: grid; place-content: center; box-shadow: 0 12px 28px -10px rgba(0,0,0,.45); }
.whats-flutuante:hover { color: #fff; background: #198447; }

/* Animações das ilustrações SVG dos artigos (vindas do site antigo). */
@keyframes dj-blink { 0%, 100% { opacity: .22 } 50% { opacity: 1 } }
@keyframes dj-bob { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(11px) } }
@keyframes dj-draw { to { stroke-dashoffset: 0 } }
@keyframes dj-drop { 0% { transform: translateY(-6px); opacity: 0 } 20% { opacity: 1 } 80% { opacity: 1 } 100% { transform: translateY(42px); opacity: 0 } }
@keyframes dj-float { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-8px) } }
@keyframes dj-flow { to { stroke-dashoffset: -220 } }
@keyframes dj-pulse { 0%, 100% { opacity: .4; transform: scale(.92) } 50% { opacity: 1; transform: scale(1.07) } }
@keyframes dj-scan { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(234px) } }
@keyframes dj-spark { 0%, 100% { opacity: .5; transform: scale(.95) } 45% { opacity: 1; transform: scale(1.06) } }
@keyframes dj-spin { to { transform: rotate(360deg) } }
@keyframes dj-spin-r { to { transform: rotate(-360deg) } }
.artigo .a-draw { stroke-dasharray: 640; stroke-dashoffset: 640; animation: dj-draw 2.3s ease forwards; animation-delay: var(--d, 0s); }
.artigo .a-flow { animation: dj-flow 2.4s linear infinite; }
.artigo .a-bob { animation: dj-bob 3.6s ease-in-out infinite; }
.artigo .a-pulse { transform-box: fill-box; transform-origin: center; animation: dj-pulse 2.5s ease-in-out infinite; animation-delay: var(--d, 0s); }
.artigo .a-drop { transform-box: fill-box; animation: dj-drop 2.5s ease-in infinite; animation-delay: var(--d, 0s); }
.artigo .a-scan { animation: dj-scan 3.6s ease-in-out infinite; }
.artigo .a-blink { animation: dj-blink 2.5s ease-in-out infinite; animation-delay: var(--d, 0s); }
.artigo .a-spark { transform-box: fill-box; transform-origin: center; animation: dj-spark 1.9s ease-in-out infinite; }
.artigo .a-float { transform-box: fill-box; animation: dj-float 5.5s ease-in-out infinite; }
.artigo .b-spin { animation: dj-spin 9s linear infinite; animation-delay: var(--d, 0s); }
.artigo .b-spin-r { animation: dj-spin-r 7s linear infinite; animation-delay: var(--d, 0s); }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .artigo .a-draw { stroke-dashoffset: 0; }
}

/* Sobretítulo e botões de contorno sobre fundo azul */
.heroi .sobretitulo, .cabecalho .sobretitulo, .chamada .sobretitulo, .artigo-topo .sobretitulo { color: #ffb3ad; }
.chamada .botao--contorno, .cabecalho .botao--contorno { color: #fff; }
.artigo-topo__meta a { color: #fff; }
@media (max-width: 1000px) { .artigo-lateral { display: none; } }

/* Fotos de serviços e equipe */
.cartao--com-foto { padding-top: 0; overflow: hidden; }
.cartao__foto { display: block; width: calc(100% + 3.2rem); max-width: none; margin: 0 -1.6rem 1.2rem; aspect-ratio: 16 / 9; height: auto; object-fit: cover; }
.cartao--com-foto > .etiqueta:first-child, .cartao--com-foto > h2:first-child { margin-top: 1.6rem; }
.pessoa__foto { width: 72px; height: 90px; border-radius: 14px; object-fit: cover; display: block; }
.pessoa--grande { grid-template-columns: 150px 1fr; }
.pessoa--grande .pessoa__foto { width: 150px; height: 188px; }
.pessoa--grande .pessoa__inicial { width: 150px; height: 188px; border-radius: 14px; font-size: 3rem; }
@media (max-width: 520px) { .pessoa--grande { grid-template-columns: 1fr; } .pessoa--grande .pessoa__foto { width: 100%; height: auto; aspect-ratio: 4 / 5; } }
