/* ============================================================
   PALETA DE MARCA — muda só este bloco para re-marcar o site.
   (Nota: os "checkmarks" em SVG data-URI abaixo têm a cor
    embutida — %232A3A66 / %2393C5FD — e têm de ser trocados
    à mão, pois data-URIs não aceitam var().)
   ============================================================ */
:root {
  /* Marca */
  --brand:          #2A3A66;   --brand-rgb:         42,58,102;
  --brand-2:        #1E2A50;   --brand-2-rgb:       30,42,80;
  --brand-3:        #DBEAFE;
  --brand-accent:   #93C5FD;   --brand-accent-rgb:  147,197,253;
  --brand-tint:     #EEF2FA;

  /* Texto */
  --navy:  #0F172A;            --navy-rgb:          15,23,42;
  --ink:   #1E293B;
  --slate: #475569;
  --mute:  #64748B;

  /* Superfícies & linhas */
  --card:        #FFFFFF;
  --soft:        #F8FAFC;
  --soft-2:      #F1F5F9;
  --line:        #E2E8F0;
  --line-strong: #CBD5E1;
}

html { scroll-behavior: smooth; }

/* Wrappers das secções não devem quebrar o sticky do header */
[data-section] { display: contents; }
body {
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  background: #FFFFFF;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.container-x { max-width: 1200px; margin-left: auto; margin-right: auto; padding-left: 1.5rem; padding-right: 1.5rem; }
@media (min-width: 1024px) { .container-x { padding-left: 2.5rem; padding-right: 2.5rem; } }

/* Navigation */
.nav-link {
  color: var(--ink);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 0;
  position: relative;
  transition: color .2s ease;
}
.nav-link:hover { color: var(--brand); }
.nav-link.active { color: var(--brand); font-weight: 600; }
.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
}
#mobileMenu a.active { color: var(--brand); font-weight: 700; }

/* Buttons */
.btn-primary {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--brand); color: #FFFFFF;
  padding: 0.75rem 1.5rem;
  font-weight: 500; font-size: 0.9rem;
  border-radius: 6px;
  border: 1px solid var(--brand);
  transition: all .2s ease;
  cursor: pointer;
}
.btn-primary:hover { background: var(--brand-2); border-color: var(--brand-2); }

.btn-outline {
  display: inline-flex; align-items: center; gap: .5rem;
  background: transparent; color: var(--ink);
  padding: 0.75rem 1.5rem;
  font-weight: 500; font-size: 0.9rem;
  border-radius: 6px;
  border: 1px solid var(--line-strong);
  transition: all .2s ease;
}
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }

/* Section eyebrow */
.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  font-size: 0.75rem;
  color: var(--brand);
}

/* Cards */
.card {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 2rem;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.card:hover {
  box-shadow: 0 12px 24px -12px rgba(var(--navy-rgb),0.08);
  border-color: var(--line-strong);
}

.icon-badge {
  width: 48px; height: 48px;
  border-radius: 8px;
  background: var(--brand-3);
  color: var(--brand);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}

/* Hero — full-width com imagem de fundo */
.hero-full {
  background: #FFFFFF;
  border-bottom: 1px solid var(--line);
}
.hero-full-overlay {
  background:
    linear-gradient(180deg, rgba(var(--navy-rgb),0.68) 0%, rgba(var(--brand-2-rgb),0.78) 100%),
    url('images/sections/cover1.jpg') center/cover no-repeat;
}
.hero-eyebrow { color: var(--brand-accent) !important; }
.btn-on-dark { background: #FFFFFF; color: var(--brand); border-color: #FFFFFF; }
.btn-on-dark:hover { background: var(--line); border-color: var(--line); color: var(--brand-2); }
.btn-outline-on-dark { color: #FFFFFF; border-color: rgba(255,255,255,0.5); background: transparent; }
.btn-outline-on-dark:hover { border-color: #FFFFFF; color: #FFFFFF; background: rgba(255,255,255,0.08); }

/* KPI */
.kpi-band {
  background: var(--soft);
  border-top: 1px solid var(--line);
}
.kpi-num {
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 700;
  color: var(--brand);
  line-height: 1;
  letter-spacing: -0.03em;
}
.kpi-label {
  margin-top: 0.75rem;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mute);
}

/* Problem list */
.list-check li {
  display: flex; align-items: flex-start; gap: .625rem;
  color: var(--slate);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: .625rem;
}
.list-check li::before {
  content: '';
  flex-shrink: 0;
  width: 16px; height: 16px; margin-top: 3px;
  background: var(--brand-3);
  color: var(--brand);
  border-radius: 50%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232A3A66' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
}

/* Dark section (soluções) */
.dark-section { background: var(--navy); color: #FFFFFF; }
.dark-section .eyebrow { color: var(--brand-accent); }
.dark-section .card {
  background: var(--ink);
  border-color: #334155;
  color: var(--line);
}
.dark-section .card h3 { color: #FFFFFF; }
.dark-section .card:hover { border-color: var(--slate); }
.dark-section .icon-badge { background: rgba(29,78,216,0.2); color: var(--brand-accent); }
.dark-section .list-check li { color: var(--line-strong); }
.dark-section .list-check li::before {
  background: rgba(var(--brand-accent-rgb),0.15);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2393C5FD' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
}

/* Section headings */
h1, h2, h3, h4 { letter-spacing: -0.02em; }
h1 { line-height: 1.05; }
h2 { line-height: 1.15; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* Project stat row */
.stat-row {
  border-top: 1px solid var(--line);
  padding: 0.875rem 0;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1rem;
  align-items: baseline;
}
.stat-row:last-child { border-bottom: 1px solid var(--line); }
.stat-label {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.72rem;
  color: var(--mute);
  font-weight: 600;
}
.stat-value {
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.45;
}

/* Project image */
.project-fig {
  overflow: hidden;
  background: var(--soft-2);
  aspect-ratio: 5 / 4;
  border-radius: 8px;
}
.project-fig img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.project-case:hover .project-fig img { transform: scale(1.03); }

/* Tag */
.tag {
  display: inline-flex; align-items: center;
  padding: 0.28rem 0.6rem;
  border-radius: 4px;
  background: var(--soft-2);
  color: var(--slate);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.tag-brand { background: var(--brand-3); color: var(--brand); }

/* Partner logo card */
.partner-logo {
  aspect-ratio: 5 / 3;
  display: flex; align-items: center; justify-content: center;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.25rem;
  box-shadow: 0 1px 2px rgba(var(--navy-rgb), 0.04);
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.partner-logo:hover {
  border-color: var(--line-strong);
  box-shadow: 0 6px 18px rgba(var(--navy-rgb), 0.08);
  transform: translateY(-2px);
}
.partner-logo img {
  max-width: 100%; max-height: 64px;
  object-fit: contain;
}

/* Partners marquee — infinite horizontal loop, 6 items per row */
.partners-marquee {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.partners-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: partners-scroll 45s linear infinite;
}
.partners-track .partner-logo {
  flex: 0 0 calc((100vw - 2 * clamp(1rem, 5vw, 3rem) - 5rem) / 6);
  max-width: 220px;
}
@media (max-width: 1024px) {
  .partners-track .partner-logo {
    flex: 0 0 calc((100vw - 2 * clamp(1rem, 5vw, 3rem) - 3rem) / 4);
  }
}
@media (max-width: 640px) {
  .partners-track .partner-logo {
    flex: 0 0 calc((100vw - 2 * 1rem - 2rem) / 3);
  }
}
@keyframes partners-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Form */
.field { display: flex; flex-direction: column; gap: .375rem; }
.field label {
  font-size: 0.8rem;
  color: #334155;
  font-weight: 600;
}
.field input, .field textarea, .field select {
  background: #FFFFFF;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  padding: 0.625rem 0.75rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--ink);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(29,78,216,0.12);
}

/* Logo mark */
.logo-mark {
  width: 36px; height: 36px;
  background: var(--brand);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  letter-spacing: -0.02em;
}

/* Mobile menu */
#mobileMenu { transform: translateX(100%); transition: transform .3s ease; }
#mobileMenu.open { transform: translateX(0); }

/* Serviços · Bloco 1 (Problemas) */
.problem-card {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.problem-card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 12px 24px -12px rgba(var(--navy-rgb),0.08);
}
.problem-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.25rem;
}
.problem-num {
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 8px;
  background: var(--brand-3);
  color: var(--brand);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}
.problem-title {
  flex: 1;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--brand-2);
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 0;
}
.problem-list {
  list-style: none;
  margin: 0.25rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.problem-list li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--slate);
  font-size: 0.95rem;
  line-height: 1.5;
}
.problem-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.6em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand);
  opacity: 0.65;
}

/* Serviços · Bloco 2 (Soluções) */
.solution-card {
  display: flex;
  gap: 1.25rem;
  background: var(--ink);
  border: 1px solid #334155;
  border-radius: 10px;
  padding: 1.75rem;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.solution-card:hover { border-color: var(--slate); }
.solution-num {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 8px;
  background: rgba(var(--brand-accent-rgb),0.15);
  color: var(--brand-accent);
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex; align-items: center; justify-content: center;
  letter-spacing: 0.02em;
}
.solution-title {
  color: #FFFFFF;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}
.solution-text {
  color: var(--line-strong);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* Projectos · Card container e componentes */
.project-case {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.5rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}
@media (min-width: 1024px) {
  .project-case { padding: 2.25rem; }
}
.project-case:hover {
  border-color: var(--line-strong);
  box-shadow: 0 16px 40px -20px rgba(var(--navy-rgb),0.12);
}

.project-fig-wrap { position: relative; }

.year-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: #FFFFFF;
  color: var(--brand);
  padding: 0.45rem 0.75rem;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 6px 16px -6px rgba(var(--navy-rgb),0.2);
}

.project-body {
  display: flex;
  flex-direction: column;
}

.project-head {
  display: flex;
  align-items: stretch;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.project-index {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  min-height: 64px;
  align-self: stretch;
  border-radius: 12px;
  background: var(--brand);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.02em;
}
.project-head-text .tag {
  margin-bottom: 0.6rem;
}
.project-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--brand-2);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0;
}
@media (min-width: 1024px) {
  .project-title { font-size: 1.55rem; }
}

.project-lede {
  color: var(--slate);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* KPIs em chips, debaixo da imagem principal */
.project-kpis {
  margin-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.kpi-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  transition: border-color .2s ease, background .2s ease;
}
.kpi-chip:hover {
  border-color: var(--line-strong);
  background: var(--soft);
}
.kpi-chip .kpi-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand);
  line-height: 1;
  letter-spacing: -0.01em;
}
.kpi-chip .kpi-caption {
  font-size: 0.72rem;
  color: var(--mute);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.meta-grid {
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
}
.meta-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
}
.meta-item:last-child { border-bottom: 1px solid var(--line); }
.meta-label {
  flex-shrink: 0;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--mute);
  font-weight: 600;
}
.meta-value {
  text-align: right;
  font-size: 0.9rem;
  color: var(--ink);
  line-height: 1.45;
}
.meta-item-chips-only {
  gap: 0.4rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
}
.meta-value-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.4rem;
}

/* Parceiros por projecto (chips debaixo da imagem) */
.project-partners {
  margin-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.partner-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.85rem 0.35rem 0.4rem;
  transition: border-color .2s ease, background .2s ease;
}
.partner-chip:hover {
  border-color: var(--line-strong);
  background: var(--soft);
}
.partner-chip img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  border-radius: 50%;
  background: var(--soft);
  padding: 2px;
}
.partner-chip span {
  font-size: 0.8rem;
  color: var(--brand-2);
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

/* -----------------------------------------------------------
   Blog / article cards
   ----------------------------------------------------------- */
.title-accent {
  color: var(--brand);
  font-style: italic;
  font-weight: 500;
}
.article-card {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .25s ease, border-color .25s ease, transform .25s ease;
}
.article-card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 14px 28px -14px rgba(var(--navy-rgb), 0.10);
  transform: translateY(-2px);
}
.article-thumb {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--soft-2);
}
.article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.article-card:hover .article-thumb img {
  transform: scale(1.05);
}
.article-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .85rem;
  flex: 1;
}
.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.article-date {
  font-size: .78rem;
  color: var(--mute);
  letter-spacing: .02em;
}
.article-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  margin: 0;
}
.article-title a {
  color: inherit;
  text-decoration: none;
}
.article-title a:hover {
  color: var(--brand);
}
.article-link {
  margin-top: auto;
  color: var(--brand);
  font-weight: 600;
  font-size: .9rem;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  text-decoration: none;
  padding-top: .25rem;
}
.article-link svg {
  transition: transform .2s ease;
}
.article-link:hover {
  color: var(--brand-2);
}
.article-link:hover svg {
  transform: translateX(3px);
}

/* ============================================================
   Blog — botão grande, filtros, pesquisa, skeletons, página de artigo
   ============================================================ */
.btn-lg { padding: 0.9rem 1.9rem; font-size: 0.95rem; border-radius: 8px; }

/* Filtros (categorias do WordPress) */
.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.filter-chip {
  border: 1px solid var(--line);
  background: #FFFFFF;
  color: var(--slate);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, color .18s ease;
}
.filter-chip:hover { border-color: var(--line-strong); color: var(--brand-2); }
.filter-chip.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #FFFFFF;
}
.filter-chip-skel {
  display: inline-block;
  height: 36px;
  border-radius: 999px;
}

/* Pesquisa */
.blog-search {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.55rem 0.9rem;
  color: #94A3B8;
  min-width: 240px;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.blog-search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(var(--brand-rgb),0.1); }
.blog-search input {
  border: 0;
  outline: none;
  background: transparent;
  font-size: 0.92rem;
  color: var(--navy);
  width: 100%;
}

/* Filtro por data (select) */
.blog-select-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 0.9rem;
  color: #94A3B8;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.blog-select-wrap:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(var(--brand-rgb),0.1); }
.blog-select {
  border: 0;
  outline: none;
  background: transparent;
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--navy);
  padding: 0.6rem 1.6rem 0.6rem 0;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232A3A66' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  background-size: 14px;
}

/* Barra de controlos */
.blog-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  justify-content: space-between;
}
.blog-toolbar .blog-search { flex: 1 1 240px; min-width: 200px; }
.blog-toolbar-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

/* Toggle grelha / lista */
.blog-view {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: #FFFFFF;
}
.blog-view-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #94A3B8;
  background: #FFFFFF;
  cursor: pointer;
  transition: color .15s ease, background .15s ease;
}
.blog-view-btn + .blog-view-btn { border-left: 1px solid var(--line); }
.blog-view-btn:hover { color: var(--brand); }
.blog-view-btn.is-active { color: #FFFFFF; background: var(--brand); }

/* Linha de resumo: contagem + filtros ativos */
.blog-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  min-height: 1.75rem;
}
.blog-count {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--mute);
  white-space: nowrap;
}
.blog-active-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}
.active-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--brand-tint);
  color: var(--brand-2);
  border: 1px solid var(--brand-3);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 0.4rem 0.3rem 0.7rem;
  border-radius: 999px;
}
.active-chip button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px; height: 18px;
  border-radius: 50%;
  color: var(--brand);
  background: rgba(var(--brand-rgb),0.10);
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.active-chip button:hover { background: var(--brand); color: #FFFFFF; }
.blog-clear {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--mute);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  background: transparent;
  padding: 0.3rem 0.2rem;
}
.blog-clear:hover { color: #DC2626; }
.more-count { opacity: 0.7; font-weight: 500; }

/* Grelha de artigos (com vista em lista) */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem 2rem;
}
@media (max-width: 1024px) { .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px)  { .blog-grid { grid-template-columns: 1fr; } }

.blog-grid.is-list { grid-template-columns: 1fr; gap: 1.1rem; }
.blog-grid.is-list .article-card { flex-direction: row; }
.blog-grid.is-list .article-thumb {
  width: 34%;
  max-width: 300px;
  aspect-ratio: 4 / 3;
  flex-shrink: 0;
}
.blog-grid.is-list .article-body { flex: 1; }
@media (max-width: 640px) {
  .blog-grid.is-list .article-card { flex-direction: column; }
  .blog-grid.is-list .article-thumb { width: 100%; max-width: none; aspect-ratio: 16 / 10; }
}

/* Skeleton loading */
.skel {
  position: relative;
  overflow: hidden;
  background: #EEF2F7;
  border-radius: 6px;
}
.skel::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.7), transparent);
  animation: skel-shine 1.3s infinite;
}
.skel-line { height: 12px; margin-bottom: 0.7rem; }
.article-skeleton { pointer-events: none; }
.article-skeleton .article-thumb { aspect-ratio: 16 / 10; }
@keyframes skel-shine { 100% { transform: translateX(100%); } }

/* Página de artigo (detalhe) */
.article-single-wrap { max-width: 760px; margin: 0 auto; padding: 2.5rem 0 4rem; }
.article-single-loading { padding-top: 1rem; }
.article-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--brand);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  margin-bottom: 1.75rem;
}
.article-back:hover { color: var(--brand-2); }
.article-single-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.article-single-title {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.article-single-figure {
  margin: 2rem 0;
  border-radius: 14px;
  overflow: hidden;
  background: var(--soft-2);
  aspect-ratio: 16 / 9;
}
.article-single-figure img { width: 100%; height: 100%; object-fit: cover; }

/* Prose — conteúdo HTML vindo do WordPress */
.article-content { color: #334155; font-size: 1.075rem; line-height: 1.75; }
.article-content > *:first-child { margin-top: 0; }
.article-content p { margin: 0 0 1.35rem; }
.article-content h2 {
  font-size: 1.6rem; font-weight: 700; color: var(--navy);
  margin: 2.4rem 0 1rem; line-height: 1.25;
}
.article-content h3 {
  font-size: 1.3rem; font-weight: 700; color: var(--navy);
  margin: 2rem 0 0.85rem; line-height: 1.3;
}
.article-content h4 { font-size: 1.1rem; font-weight: 700; color: var(--brand-2); margin: 1.6rem 0 0.6rem; }
.article-content a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
.article-content a:hover { color: var(--brand-2); }
.article-content ul, .article-content ol { margin: 0 0 1.35rem; padding-left: 1.4rem; }
.article-content li { margin-bottom: 0.5rem; }
.article-content ul li { list-style: disc; }
.article-content ol li { list-style: decimal; }
.article-content img, .article-content iframe, .article-content video {
  max-width: 100%; height: auto; border-radius: 12px; margin: 1.75rem 0;
}
.article-content iframe { aspect-ratio: 16 / 9; width: 100%; }
.article-content blockquote {
  margin: 1.75rem 0;
  padding: 0.5rem 0 0.5rem 1.35rem;
  border-left: 4px solid var(--brand);
  color: var(--slate);
  font-style: italic;
}
.article-content figure { margin: 1.75rem 0; }
.article-content figcaption { font-size: 0.85rem; color: var(--mute); text-align: center; margin-top: 0.5rem; }
.article-content pre {
  background: var(--navy); color: var(--line); padding: 1.1rem 1.25rem;
  border-radius: 10px; overflow-x: auto; margin: 1.5rem 0; font-size: 0.9rem;
}
.article-content code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.92em; }
.article-content table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 0.95rem; }
.article-content th, .article-content td { border: 1px solid var(--line); padding: 0.6rem 0.8rem; text-align: left; }
.article-content th { background: var(--soft); font-weight: 700; color: var(--brand-2); }
.article-single-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 3rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}
.article-missing { max-width: 560px; margin: 0 auto; text-align: center; padding: 5rem 0; }

/* ============================================================
   Contacto — visual + form
   ============================================================ */
.contacto-glow {
  position: absolute;
  top: -180px;
  right: -220px;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle at center, rgba(var(--brand-rgb), 0.08) 0%, rgba(var(--brand-rgb), 0) 65%);
  z-index: 0;
  pointer-events: none;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: #FFFFFF;
  border: 1px solid var(--line);
  color: var(--slate);
  font-size: .78rem;
  font-weight: 500;
  padding: .4rem .75rem;
  border-radius: 999px;
}
.trust-badge svg { color: var(--brand); }

.contact-card {
  position: relative;
  display: block;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.35rem 1.4rem 1.4rem;
  transition: border-color .2s ease, box-shadow .25s ease, transform .25s ease;
  overflow: hidden;
}
.contact-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand) 0%, #4C6FBF 100%);
  opacity: 0;
  transition: opacity .25s ease;
}
.contact-card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 10px 28px rgba(var(--navy-rgb), 0.07);
  transform: translateY(-2px);
}
.contact-card:hover::before { opacity: 1; }

.contact-card-head {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-bottom: .85rem;
}
.contact-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--brand-tint);
  color: var(--brand);
  flex-shrink: 0;
  transition: background .25s ease, color .25s ease;
}
.contact-card:hover .contact-card-icon {
  background: var(--brand);
  color: #FFFFFF;
}
.contact-card-label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mute);
}
.contact-card-value {
  display: block;
  color: var(--navy);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.35;
}
.contact-card-sub {
  display: block;
  color: var(--slate);
  font-size: .875rem;
  line-height: 1.4;
  margin-top: .15rem;
}
.contact-card-link {
  transition: color .2s ease;
}
.contact-card-link:hover { color: var(--brand); }

.contact-card-cta {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  margin-top: .9rem;
  font-size: .78rem;
  font-weight: 600;
  color: var(--brand);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .25s ease, transform .25s ease;
}
.contact-card--link:hover .contact-card-cta {
  opacity: 1;
  transform: translateY(0);
}

/* Form shell */
.lead-form-wrap {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 2.25rem;
  box-shadow: 0 12px 40px rgba(var(--navy-rgb), 0.06);
  position: relative;
}
@media (max-width: 640px) {
  .lead-form-wrap { padding: 1.5rem; }
}

.lead-form-pill {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: #ECFDF5;
  color: #047857;
  border: 1px solid #A7F3D0;
  font-size: .72rem;
  font-weight: 600;
  padding: .3rem .65rem;
  border-radius: 999px;
  white-space: nowrap;
}
.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.55); }
  70%  { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
}
.lead-form .form-steps { flex: 1; }
.lead-form .field + .field,
.lead-form .field + .consent,
.lead-form .consent { margin-top: 1rem; }
.lead-label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: .45rem;
  letter-spacing: .01em;
}
.req { color: #DC2626; font-weight: 700; }

.lead-form input[type="text"],
.lead-form input[type="email"],
.lead-form input[type="tel"],
.lead-form textarea {
  width: 100%;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: .8rem .9rem;
  font-size: .95rem;
  color: var(--navy);
  font-family: inherit;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.lead-form input::placeholder,
.lead-form textarea::placeholder {
  color: #94A3B8;
}
.lead-form input:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(var(--brand-rgb), 0.12);
}
.lead-form textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.55;
}

.field { position: relative; }
.field-error {
  display: none;
  color: #DC2626;
  font-size: .78rem;
  margin-top: .35rem;
  line-height: 1.35;
}
.field.has-error input,
.field.has-error textarea {
  border-color: #FCA5A5;
  background: #FEF2F2;
}
.field.has-error input:focus,
.field.has-error textarea:focus {
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}
.field.has-error .field-error {
  display: block;
}

/* Interest chips */
.interest-chips {
  display: grid;
  grid-template-columns: 1fr;
  gap: .55rem;
}
.interest-chip {
  position: relative;
  cursor: pointer;
  border: 1.5px solid var(--line);
  background: #FFFFFF;
  border-radius: 10px;
  padding: .8rem .9rem;
  transition: border-color .18s ease, background-color .18s ease, transform .1s ease;
}
.interest-chip:hover {
  border-color: var(--line-strong);
}
.interest-chip input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
}
.interest-chip span {
  display: block;
  padding-right: 22px;
  position: relative;
}
.interest-chip strong {
  display: block;
  font-size: .88rem;
  color: var(--navy);
  font-weight: 600;
  line-height: 1.25;
}
.interest-chip em {
  display: block;
  font-style: normal;
  font-size: .74rem;
  color: var(--mute);
  margin-top: .2rem;
  line-height: 1.3;
}
.interest-chip span::after {
  content: "";
  position: absolute;
  right: 0;
  top: 3px;
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--line-strong);
  border-radius: 50%;
  background: #FFFFFF;
  transition: border-color .15s ease, background-color .15s ease;
}
.interest-chip input:checked ~ span::after {
  border-color: var(--brand);
  background: radial-gradient(circle, var(--brand) 45%, #FFFFFF 50%);
}
.interest-chip:has(input:checked) {
  border-color: var(--brand);
  background: #F5F7FC;
}

/* Character counter */
.char-counter {
  font-size: .72rem;
  color: #94A3B8;
  font-variant-numeric: tabular-nums;
}
.char-counter.warn { color: #B45309; }
.char-counter.max  { color: #DC2626; }

/* Consent */
.consent {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  cursor: pointer;
  font-size: .82rem;
  color: var(--slate);
  line-height: 1.5;
}
.consent input {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: var(--brand);
  flex-shrink: 0;
}

/* Submit button — spinner + arrow */
#leadSubmit {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  transition: transform .1s ease;
}
#leadSubmit .btn-arrow { transition: transform .2s ease; }
#leadSubmit:hover .btn-arrow { transform: translateX(3px); }
#leadSubmit .btn-spinner {
  width: 15px;
  height: 15px;
  border: 2px solid rgba(255,255,255,0.35);
  border-top-color: #FFFFFF;
  border-radius: 50%;
  animation: btnspin .7s linear infinite;
  display: none;
}
#leadSubmit.loading { pointer-events: none; opacity: .85; }
#leadSubmit.loading .btn-spinner { display: inline-block; }
#leadSubmit.loading .btn-arrow { display: none; }
@keyframes btnspin { to { transform: rotate(360deg); } }

/* Success state */
.lead-success {
  text-align: center;
  padding: 1.5rem .5rem;
  animation: fadeInUp .5s ease both;
}
.success-badge {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto;
  background: #ECFDF5;
  color: #047857;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #A7F3D0;
  animation: pop .5s ease both;
}
@keyframes pop {
  0%   { transform: scale(.6); opacity: 0; }
  70%  { transform: scale(1.08); opacity: 1; }
  100% { transform: scale(1); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   Wizard — progress, steps, nav (fixed panel size)
   ============================================================ */
#leadFormShell {
  min-height: 620px;
  display: flex;
  flex-direction: column;
}

.wizard-progress { margin-bottom: 1.6rem; }
.wizard-progress-bar {
  height: 4px;
  background: var(--brand-tint);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: .85rem;
}
.wizard-progress-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--brand) 0%, #4C5F94 100%);
  border-radius: 999px;
  transition: width .4s cubic-bezier(.5,.1,.3,1);
}
.wizard-steps {
  display: flex;
  justify-content: space-between;
  gap: .5rem;
}
.wizard-step {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: #94A3B8;
  font-size: .78rem;
  font-weight: 600;
  transition: color .2s ease;
}
.wizard-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand-tint);
  color: #94A3B8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .72rem;
  font-weight: 700;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.wizard-step.is-active { color: var(--brand); }
.wizard-step.is-active .wizard-dot {
  background: var(--brand);
  color: #FFFFFF;
  transform: scale(1.06);
}
.wizard-step.is-done { color: var(--navy); }
.wizard-step.is-done .wizard-dot {
  background: #10B981;
  color: #FFFFFF;
}
@media (max-width: 520px) {
  .wizard-step .wizard-name { display: none; }
}

/* Form steps container — fixed area so the card doesn't jump */
.form-steps {
  min-height: 340px;
  position: relative;
}
.form-step {
  display: none;
  animation: stepFadeIn .32s ease both;
}
.form-step.is-active { display: block; }

.step-head { margin-bottom: 1.1rem; }
.step-head h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -.005em;
}
.step-head p {
  font-size: .85rem;
  color: var(--mute);
  margin-top: .25rem;
  line-height: 1.5;
}
@keyframes stepFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Wizard nav row */
.wizard-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-top: 1.6rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--brand-tint);
}
.wizard-nav .wizard-count {
  font-size: .78rem;
  color: #94A3B8;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  flex: 1;
  text-align: center;
}
/* Prev/Next in the wizard reuse .btn-outline / .btn-primary (site-wide flat style) */
.wizard-nav .btn-outline:disabled {
  opacity: .45;
  cursor: not-allowed;
  pointer-events: none;
  background: var(--soft);
  color: #94A3B8;
  border-color: var(--line);
}
.wizard-nav .btn-outline svg { transition: transform .2s ease; }
.wizard-nav .btn-outline:hover:not(:disabled) svg { transform: translateX(-3px); }

.wizard-nav #btnNext {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
.wizard-nav #btnNext .btn-arrow,
.lead-submit-row #leadSubmit .btn-arrow { transition: transform .2s ease; }
.wizard-nav #btnNext:hover .btn-arrow,
.lead-submit-row #leadSubmit:hover .btn-arrow { transform: translateX(3px); }

@media (max-width: 480px) {
  .wizard-nav .wizard-count { display: none; }
  .wizard-nav { justify-content: space-between; }
}

/* --- Grouped single-page form: sections + thank-you page --- */
.form-group {
  padding-top: 1.4rem;
  margin-top: 1.4rem;
  border-top: 1px solid var(--brand-tint);
}
.form-group:first-child {
  padding-top: 0;
  margin-top: 0;
  border-top: 0;
}
.form-group-title {
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--brand);
  margin: 0 0 .95rem;
}

.lead-submit-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 1.6rem;
}
.lead-submit-row .btn-primary { min-width: 190px; justify-content: center; }
@media (max-width: 640px) {
  .lead-submit-row .btn-primary { width: 100%; }
}

/* thank-you page */
.obg-check {
  width: 72px;
  height: 72px;
  margin: 0 auto;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand) 0%, #3B4E82 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 32px -8px rgba(var(--brand-rgb), .45);
}
.obg-ref-card {
  display: inline-block;
  padding: 1.1rem 1.6rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--soft);
  min-width: 240px;
}
.obg-ref {
  font-family: "SF Mono", ui-monospace, Menlo, monospace;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .04em;
  margin-top: .3rem;
}
.obg-next {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  padding: 1rem 1.1rem;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.obg-next-num {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--brand-tint);
  color: var(--brand);
  font-weight: 700;
  font-size: .9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- Step 2 stacked fields + phone-with-country input --- */
.stack-fields { display: flex; flex-direction: column; gap: 1rem; }

.phone-input {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #FFFFFF;
  transition: border-color .2s ease, box-shadow .2s ease;
  position: relative;
  overflow: hidden;
}
.phone-input:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(var(--brand-rgb), .1);
}
.phone-country {
  border: 0;
  background: var(--soft);
  padding: 0 2.1rem 0 .95rem;
  font-size: .93rem;
  color: var(--navy);
  font-weight: 600;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232A3A66' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .7rem center;
  background-size: 14px;
  font-family: "Inter", "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", system-ui, sans-serif;
  border-right: 1px solid var(--line);
  transition: background-color .15s ease;
  line-height: 1;
}
.phone-country:hover { background-color: var(--brand-tint); }
.phone-country:focus-visible { background-color: var(--brand-tint); }
.phone-input input {
  border: 0;
  flex: 1;
  padding: .82rem 1rem;
  font-size: .95rem;
  outline: none;
  background: transparent;
  min-width: 0;
}
.field.has-error .phone-input {
  border-color: #DC2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, .08);
}

/* Footer logo (image variant, replaces the H mark on navy background) */
.footer-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  border-radius: 8px;
  padding: 6px 8px;
  line-height: 0;
}
.footer-logo-img {
  height: 32px;
  width: auto;
  display: block;
}
.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 11px;
  color: var(--line-strong);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}
.footer-social-link svg {
  width: 24px;
  height: 24px;
}
.footer-social-link:hover {
  color: #ffffff;
  background: rgba(var(--brand-accent-rgb), 0.18);
  border-color: rgba(var(--brand-accent-rgb), 0.45);
  transform: translateY(-2px);
}
.contact-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line, var(--line));
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}
.contact-social-link svg {
  width: 26px;
  height: 26px;
}
.contact-social-link:hover {
  transform: translateY(-2px);
}
/* Cores de marca de cada rede (só no corpo / "Siga-nos") */
.contact-social-link[aria-label="LinkedIn"] { color: #0A66C2; }
.contact-social-link[aria-label="Facebook"] { color: #1877F2; }
.contact-social-link[aria-label="YouTube"]  { color: #FF0000; }
.contact-social-link[aria-label="LinkedIn"]:hover {
  color: #ffffff; background: #0A66C2; border-color: #0A66C2;
}
.contact-social-link[aria-label="Facebook"]:hover {
  color: #ffffff; background: #1877F2; border-color: #1877F2;
}
.contact-social-link[aria-label="YouTube"]:hover {
  color: #ffffff; background: #FF0000; border-color: #FF0000;
}
