/* ============================================================
   ARX Cyber — Seções de conteúdo (Boletins/Eventos/Blog), CTA e Rodapé
   ============================================================ */

/* ---- Aba divisória (SVG real do Figma, nó 230-5623: 374x54 no topo) ---- */
.arx-sec-tab {   /* nó 209-109: aba no topo da seção, mergulhando no navy */
  position: absolute; top: 1px; left: 50%; transform: translate(-50%, -100%);
  width: 374px; height: 54px; z-index: 3; pointer-events: none; display: block;
}
/* ---- Seção de listagem (padrão) ---- */
/* glows do Blog (layer "Luz": E9 dir. alta 516x116, E10 esq. baixa 1035x446) */
.arx-blog__glow {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(560px 360px at 0% 52%, rgba(21,116,255,.44), rgba(21,116,255,.12) 55%, transparent 82%),
    radial-gradient(480px 300px at 100% 48%, rgba(21,116,255,.30), rgba(21,116,255,.08) 55%, transparent 82%);
}
.arx-list > .arx-container { position: relative; z-index: 1; }
.arx-list--news { background: #151543; }   /* navy dos Boletins (medido rgb 21,21,67) */
.arx-list { padding-block: 110px; position: relative; overflow: hidden; }
.arx-list__head { margin-bottom: 56px; }
.arx-list__title { margin-top: 12px; }
.arx-list__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }

/* Card de post (boletim/evento/blog) — sem moldura: imagem + texto no fundo */
.arx-post {
  display: flex; flex-direction: column;
  background: transparent;
  transition: transform .3s var(--arx-ease);
}
.arx-post:hover { transform: translateY(-6px); }
.arx-post__media {
  position: relative; aspect-ratio: 390 / 314; overflow: hidden;
  border-radius: var(--r-small-xxl); background: #0c0c0c;
  box-shadow: 0 0 0 1px rgba(21,116,255,.25), 0 18px 50px -24px rgba(21,116,255,.55);
}
.arx-post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--arx-ease); }
.arx-post:hover .arx-post__media img { transform: scale(1.05); }
.arx-post__ph {   /* placeholder enquanto não há featured image */
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 70% 10%, rgba(21,116,255,.35), transparent 60%),
    linear-gradient(160deg, #14203a, #0b0b0b);
}
.arx-post__badge {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 14px; border-radius: var(--r-small);
  background: linear-gradient(135deg, rgba(21,116,255,.9), rgba(10,40,100,.9));
  border: 1px solid var(--arx-blue-border);
  font-size: 13px; color: #fff; box-shadow: 0 4px 16px -4px rgba(21,116,255,.6);
}
.arx-post__badge::before {
  content: ""; width: 15px; height: 15px; background: #fff;
  -webkit-mask: url("../img/icons/calendar.svg") center/contain no-repeat;
          mask: url("../img/icons/calendar.svg") center/contain no-repeat;
}
/* Badge de categoria (Eventos): sem calendário, com bolinha */
.arx-post__badge--tag::before {
  width: 6px; height: 6px; border-radius: 50%; background: #fff;
  -webkit-mask: none; mask: none;
}
.arx-post__body { padding: 22px 4px 0; display: flex; flex-direction: column; flex: 1; }
.arx-post__title {
  font-size: 20px; line-height: 26px; font-weight: var(--fw-semibold); color: var(--arx-white);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.arx-post__excerpt {
  margin-top: 12px; font-size: 14px; line-height: 21px; color: var(--arx-grey-70);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.arx-post__btn {
  margin-top: 22px; align-self: flex-start; padding: 10px 22px; font-size: 15px;
  background-image: none; background: transparent; border: 1px solid var(--arx-blue-border);
}
.arx-post__btn::before { content: none; }   /* mantém borda sólida; feixe de hover ativo */
.arx-post__btn:hover { background: rgba(21,116,255,.14); }

/* ---- Variante Eventos (fundo azul) ---- */
.arx-list--events {
  background:
    radial-gradient(80% 120% at 50% 0%, #2a7bff, #1574ff 40%, #0b47b8 100%);
}
.arx-list--events .arx-eyebrow { color: rgba(255,255,255,.85); }
.arx-list--events .arx-post { background: linear-gradient(180deg, rgba(8,20,44,.85), rgba(6,12,28,.9)); border-color: rgba(255,255,255,.14); }
.arx-list--events .arx-post__btn { background-image: none; background: var(--arx-white); color: #0b2c66; border-color: var(--arx-white); }
.arx-list--events .arx-post__btn:hover { filter: brightness(.95); box-shadow: none; }

/* ---- Seção 6 — CTA (specs do design context 165-85) ---- */
.arx-cta {
  min-height: 620px; padding-block: 120px 100px; text-align: center; position: relative; overflow: hidden;
  background: #151515 url(../img/cta-bg.png) no-repeat center bottom / cover;
}
.arx-cta__title {
  /* A prancheta é 1920. Entre 1025 e 1920 o título ficava travado em 68px, então
     numa tela de 1440 ele saía 33% maior do que o comp pede (68 contra 51) — e
     despencava de 68 para 42px num único pixel, no breakpoint de 1024.
     Agora escala com a página, como o comp: 3,5417vw = 68px em 1920, 51px em
     1440, 45px em 1280. O bloco acompanha na mesma proporção (934/1920), com
     piso para não estrangular a linha nas telas menores. */
  max-width: min(934px, max(48.65vw, 620px)); margin: 0 auto;
  font-size: clamp(30px, 3.5417vw, 68px);
  line-height: 1.06; letter-spacing: -0.01em;
  font-weight: var(--fw-regular); color: var(--arx-white);
}
.arx-cta__sub {
  max-width: 620px; margin: 46px auto 0;
  font-size: 20px; line-height: 22.4px; color: var(--arx-white);
}
.arx-cta__actions { margin-top: 48px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
/* botão claro (Conheça o Civitas) */
.arx-btn--light { background-image: none; background: #e9e9e9; color: #151515; }
.arx-btn--light::before, .arx-btn--light::after { content: none; }
.arx-btn--light:hover { filter: brightness(.94); box-shadow: 0 8px 30px -12px rgba(255,255,255,.3); }

/* ---- Rodapé (medido do Figma 165-86) ---- */
.arx-footer { background: #0d0e10; padding-top: 84px; position: relative; overflow: hidden; }
.arx-footer .arx-container { position: relative; z-index: 2; }
.arx-footer__top { display: grid; grid-template-columns: 1.6fr 1.1fr .75fr .9fr .6fr; gap: 24px; padding-bottom: 64px; }
.arx-footer__brand { max-width: 310px; }
.arx-footer__logo { display: block; width: 205px; height: auto; margin-bottom: 18px; }
.arx-footer__trust {
  width: 154px; display: flex; align-items: center; gap: 8px;
  font-size: 10px; letter-spacing: 4px; color: #7a86a0; margin: 2px 0 20px; white-space: nowrap;
}
.arx-footer__trust::before, .arx-footer__trust::after { content: ""; flex: 1; height: 1px; background: rgba(255,255,255,.18); }
.arx-footer__tagline { font-size: 14px; line-height: 20px; color: rgba(255,255,255,.88); }
.arx-footer__col h4 { font-size: 20px; font-weight: var(--fw-semibold); margin-bottom: 16px; color: var(--arx-white); }
.arx-footer__col a { display: block; font-size: 14px; line-height: 30px; color: #8b93a7; transition: color .2s var(--arx-ease); }
.arx-footer__col a:hover { color: var(--arx-blue); }
.arx-footer__bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px 0 26px; border-top: 1px solid rgba(255,255,255,.10);
  font-size: 13px; color: #8b93a7;
}
.arx-footer__legal a { color: #8b93a7; }
.arx-footer__legal a:hover { color: var(--arx-grey-90); }
.arx-footer__social { display: flex; gap: 10px; }
.arx-footer__social a { width: 26px; height: 26px; color: var(--arx-blue); transition: filter .2s var(--arx-ease), transform .2s var(--arx-ease); }
.arx-footer__social a:hover { filter: brightness(1.3); transform: translateY(-2px); }
.arx-footer__social svg { width: 100%; height: 100%; }
​.arx-footer { padding-bottom: 40px; }

@media (max-width: 1024px) {
  .arx-list__grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .arx-footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .arx-footer__top { grid-template-columns: 1fr; }
  .arx-footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* Aba divisória: a seção não pode clipar o que fica acima dela */
#blog { overflow: visible; }

/* ============================================================
   Depoimentos (dep-) — prova social
   Três por vez, rolando de verdade: o viewport tem scroll nativo
   com snap, e as setas empurram o scroll. Funciona igual no
   desktop e no toque, sem cálculo de transform.
   ============================================================ */
/* Seção aberta, sem painel: Civitas e Escala já são caixas, e uma terceira
   seguida engessava a página. Aqui os cards flutuam sobre o fundo. */
.arx-dep { padding-block: 110px; }
.dep { position: relative; }
.dep__head { text-align: center; }
.dep__title {
  margin-top: 16px; font-size: 40px; line-height: 46px;
  font-weight: var(--fw-regular); color: var(--arx-white);
}
.dep__title b { color: var(--arx-blue); font-weight: var(--fw-extrabold); }
.dep__sub { margin-top: 18px; font-size: 16px; line-height: 24px; color: var(--arx-grey-90); }

.dep__palco { position: relative; margin-top: 44px; }
.dep__viewport {
  overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}
.dep__viewport::-webkit-scrollbar { display: none; }
.dep__track { display: flex; gap: 26px; }

.dep-card {
  flex: 0 0 calc((100% - 52px) / 3); scroll-snap-align: start;
  display: flex; flex-direction: column;
  padding: 32px 30px 28px; border-radius: 18px;
  border: 1px solid rgba(255,255,255,.09);
  background: rgba(255,255,255,.022);
  transition: border-color .35s var(--arx-ease), background-color .35s var(--arx-ease),
              transform .35s var(--arx-ease);
}
.dep-card:hover { transform: translateY(-5px); border-color: rgba(21,116,255,.5); background: rgba(21,116,255,.05); }
.dep-card__aspas {
  font-size: 60px; line-height: 34px; color: var(--arx-blue);
  font-weight: var(--fw-bold); height: 34px;
}
.dep-card__texto { margin-top: 22px; flex: 1; font-size: 15px; line-height: 24px; color: var(--arx-grey-90); }
.dep-card__rodape { margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.09); }
.dep-card__nome { display: block; font-size: 16px; font-weight: var(--fw-semibold); color: var(--arx-white); }
.dep-card__cargo { display: block; margin-top: 5px; font-size: 13px; line-height: 19px; color: var(--arx-grey-70); }
.dep-card__logo {
  display: flex; align-items: center; height: 38px; margin-top: 20px;
}
.dep-card__logo img {
  width: auto; height: auto; max-width: 118px; max-height: 30px;
  object-fit: contain; filter: brightness(0) invert(1);
  opacity: .85; transform: scale(var(--s, 1)); transform-origin: left center;
}

/* Controles no padrão da casa — o mesmo carrossel das páginas de missão,
   medido do Figma: trilho de 3px com base #171e2c, preenchimento em gradiente
   e uma cópia desfocada por cima; marcos em anel de 18px sobre ele; setas em
   retângulo de 30x28 com a seta diagonal de 8px, agrupadas com 6px de vão.
   O anel só lê como marco de progresso porque está sobre o trilho. */
.dep__controles {
  margin-top: 40px; display: flex; align-items: center; gap: 30px;
}
.dep__rail { position: relative; flex: 1; height: 3px; min-width: 0; }
.dep__rail-base { position: absolute; inset: 0; background: #171e2c; border-radius: 3px; }
.dep__rail-fill {
  position: absolute; inset: 0; border-radius: 3px;
  background: linear-gradient(90deg, rgba(21,116,255,0), #1574ff);
}
.dep__rail-glow {
  position: absolute; inset: 0; height: 3px;
  background: linear-gradient(90deg, rgba(21,116,255,0), #1574ff);
  filter: blur(4.35px); pointer-events: none;
}
.dep__dots {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: space-between;
}
.dep__ponto {
  width: 18px; height: 18px; padding: 0; border-radius: 50%; cursor: pointer;
  box-sizing: border-box;
  border: 2px solid rgba(255,255,255,.45); background: rgba(255,255,255,.10);
  transition: border-color .4s var(--arx-ease), background .4s var(--arx-ease),
              box-shadow .4s var(--arx-ease);
}
.dep__ponto.is-on {
  border-color: #ffffff; background: rgba(255,255,255,.5);
  box-shadow: 0 0 10px rgba(120,180,255,.55);
}

.dep__nav-grupo { flex: none; display: flex; gap: 6px; }
.dep__nav {
  width: 30px; height: 28px; border-radius: 6px; cursor: pointer;
  border: 1px solid var(--arx-blue); background: rgba(72,72,72,.2);
  display: flex; align-items: center; justify-content: center;
  transition: background .25s var(--arx-ease), box-shadow .25s var(--arx-ease),
              transform .25s var(--arx-ease), opacity .25s var(--arx-ease);
}
.dep__nav img { width: 8px; height: 8px; max-width: none; }
.dep__nav--prev img { transform: scaleX(-1); }
.dep__nav:hover { background: rgba(21,116,255,.28); box-shadow: 0 0 14px -2px rgba(21,116,255,.6); }
.dep__nav--prev:hover { transform: translateX(-2px); }
.dep__nav--next:hover { transform: translateX(2px); }
.dep__nav[disabled] { opacity: .35; pointer-events: none; }

html.arx-anim .dep-card {
  opacity: 0; transform: translateY(20px);
  transition: opacity .55s var(--arx-ease), transform .55s var(--arx-ease),
              border-color .35s var(--arx-ease), background-color .35s var(--arx-ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
html.arx-anim .dep.is-revealed .dep-card { opacity: 1; transform: none; }
html.arx-anim .dep.is-revealed .dep-card:hover { transform: translateY(-5px); }
@media (prefers-reduced-motion: reduce) {
  .dep__viewport { scroll-behavior: auto; }
  html.arx-anim .dep-card { opacity: 1; transform: none; transition: none; }
}

/* ---- Insights: cabeçalho centrado e o "ver todos" em linha própria ---- */
.arx-list__sub {
  /* sem a margem automática o bloco de 560px encostava à esquerda e a copy
     parecia desalinhada mesmo com o head centralizado */
  margin: 16px auto 0; max-width: 560px;
  font-size: 16px; line-height: 24px; color: var(--arx-grey-90);
}
.arx-list__rodape { margin-top: 52px; display: flex; justify-content: center; }
.arx-list__todos { margin-top: 0; }

/* ============================================================
   CTA final — o nosso, medido do Figma. A copy nova do cliente entra
   nele; o que veio do mockup (fundo em gradiente, rede, marca flutuante,
   filete azul e ícones nos botões) foi descartado.
   ============================================================ */
.arx-cta__inner { position: relative; z-index: 1; }
.arx-cta .arx-eyebrow { display: block; margin-bottom: 18px; }
.arx-cta__rule { display: none; }        /* o eyebrow já separa, como no Civitas */
.arx-cta__title b { color: var(--arx-blue); font-weight: var(--fw-extrabold); }
.arx-cta__sub b { color: var(--arx-blue); font-weight: var(--fw-semibold); }

/* Pilares: conteúdo do cliente, na linguagem da casa — divisória branca de
   1px, como a da Escala, e ícones em --arx-blue. */
.arx-cta__pilares { margin-top: 64px; display: flex; justify-content: center; }
.cta-pilar {
  display: flex; align-items: flex-start; gap: 14px; text-align: left;
  padding: 0 34px; max-width: 300px;
}
.cta-pilar + .cta-pilar { border-left: 1px solid rgba(255,255,255,.14); }
.cta-pilar__ico { width: 38px; height: 38px; flex: none; color: var(--arx-blue); margin-top: 2px; }
.cta-pilar b { display: block; font-size: 15px; line-height: 21px; font-weight: var(--fw-semibold); color: var(--arx-white); }
.cta-pilar span { display: block; margin-top: 5px; font-size: 13.5px; line-height: 19px; color: var(--arx-grey-70); }
