/* =========================================================================
   Adriana Roncato Advocacia Previdenciária — Folha de estilos principal
   Paleta: teal profundo (confiança institucional, INSS/documentos) + rose-gold
   da identidade visual real do escritório (logo) — CTAs e destaques.
   Tipografia: Newsreader (serif editorial, credibilidade) + Public Sans
   (sans oficial/institucional) + IBM Plex Mono (dados, números de processo).
   ========================================================================= */

:root {
  /* Cores — ambiente hospitalar claro */
  --bg: #F6FAFB;
  --bg-alt: #EAF3F5;
  --bg-deep: #DCEBEE;
  --surface: #FFFFFF;
  --border: #DCE6E9;

  --primary: #0B4A5C;       /* teal profundo — cabeçalho, links, ícones */
  --primary-dark: #082F3A;  /* rodapé, hover */
  --primary-light: #E4F0F2;

  --accent: #A9776A;        /* rose-gold da marca real (logo Adriana Roncato) — CTAs, destaques */
  --accent-dark: #7C5348;
  --accent-light: #F3E7E3;

  --sage: #5C9484;          /* verde suave — acolhimento, "direitos" */

  --text: #17262B;
  --text-muted: #4C6469;
  --text-soft: #6E848A;

  --danger-soft: #9B4A3F;   /* usado com moderação (alertas de prazo) */

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 3px rgba(11, 74, 92, 0.08);
  --shadow-md: 0 8px 24px rgba(11, 74, 92, 0.10);
  --shadow-lg: 0 20px 48px rgba(11, 74, 92, 0.14);

  --font-display: "Newsreader", "Iowan Old Style", Georgia, serif;
  --font-body: "Public Sans", "Segoe UI", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  --container: 1180px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0 0 0.5em; font-weight: 600; color: var(--primary-dark); letter-spacing: -0.01em; }
p { margin: 0 0 1em; color: var(--text-muted); }
button { font-family: inherit; cursor: pointer; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-dark);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--accent-dark);
  display: inline-block;
}

section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-deep { background: var(--primary); color: #EAF3F5; }
.section-deep h2, .section-deep h3, .section-deep .eyebrow { color: #EAF3F5; }
.section-deep p { color: #C4DADF; }
.section-deep .eyebrow::before { background: #C4DADF; }

.section-head { max-width: 680px; margin: 0 0 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.12; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-accent { background: var(--accent); color: #FFF8EE; box-shadow: var(--shadow-sm); }
.btn-accent:hover { background: var(--accent-dark); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,0.5); color: inherit; }
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-primary-outline { background: transparent; border-color: var(--primary); color: var(--primary); }
.btn-primary-outline:hover { background: var(--primary-light); }
.btn-whatsapp { background: #1E7A5F; color: #fff; }
.btn-whatsapp:hover { background: #175f4a; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Cabeçalho / navegação ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(246, 250, 251, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-bar { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { height: 71.875px; width: auto; flex-shrink: 0; }
.brand-mark { width: 40px; height: 40px; color: var(--primary); flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1.18rem; color: var(--primary-dark); }
.brand-sub { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-soft); }
.footer-logo { height: 64px; width: auto; margin-bottom: 16px; opacity: 0.96; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: 0.94rem; color: var(--primary-dark);
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-links a:hover { background: var(--primary-light); }
.nav-links a.active { background: var(--primary); color: #fff; }
.nav-cta { display: flex; align-items: center; gap: 10px; }

.nav-toggle-label {
  display: none; width: 44px; height: 44px; border-radius: var(--radius-sm);
  align-items: center; justify-content: center; border: 1px solid var(--border); background: var(--surface);
}
.nav-toggle-label span, .nav-toggle-label span::before, .nav-toggle-label span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--primary-dark); position: relative; transition: 0.2s;
}
.nav-toggle-label span::before { position: absolute; top: -7px; }
.nav-toggle-label span::after { position: absolute; top: 7px; }
#nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 72px 0 96px;
  overflow: hidden;
  background:
    radial-gradient(760px 420px at 82% -10%, var(--bg-deep) 0%, transparent 60%),
    radial-gradient(600px 400px at -5% 30%, var(--primary-light) 0%, transparent 65%),
    var(--bg);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero-eyebrow-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 30px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px;
  padding: 8px 14px; font-size: 0.82rem; font-weight: 600; color: var(--primary-dark); box-shadow: var(--shadow-sm);
}
.badge svg { width: 15px; height: 15px; color: var(--sage); flex-shrink: 0; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-art { position: relative; }
.hero-mark-wrap {
  position: relative; aspect-ratio: 4/5; border-radius: var(--radius-lg);
  background: linear-gradient(155deg, var(--primary) 0%, var(--primary-dark) 100%);
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.hero-mark { width: 46%; height: 46%; color: #EAF3F5; opacity: 0.92; }
.hero-mark-ring { position: absolute; inset: 10%; border: 1px solid rgba(234,243,245,0.25); border-radius: 50%; }
.hero-photo { width: 100%; height: 100%; object-fit: cover; object-position: 78% 35%; }
.hero-photo-tint {
  position: absolute; inset: 0;
  background: linear-gradient(190deg, rgba(8,47,58,0.05) 30%, rgba(8,47,58,0.55) 100%);
}
.hero-photo-badge {
  position: absolute; left: 20px; bottom: 20px; right: 20px;
  background: rgba(8,47,58,0.72); backdrop-filter: blur(4px);
  border-radius: var(--radius-sm); padding: 14px 18px; color: #EAF3F5; font-size: 0.85rem;
}

/* ---------- Imagem de tema no hero das páginas de área de atuação ---------- */
/* (distinta de .hero-art/.hero-mark-wrap, usados só na Home com a foto
   retrato da Dra. Adriana em proporção 4:5 — aqui as fotos são paisagem) */
.hero-art-topic { position: relative; }
.hero-photo-topic-wrap {
  position: relative; aspect-ratio: 4/3; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--border);
}
.hero-photo-topic-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Faixas / seções com fotos reais ---------- */
.photo-section { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.photo-section.reverse { grid-template-columns: 1fr 1fr; }
.photo-section.reverse .photo-frame { order: 2; }
.photo-frame {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-banner {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md);
  min-height: 260px;
}
.photo-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-banner-overlay {
  position: absolute; inset: 0; background: linear-gradient(100deg, rgba(8,47,58,0.82) 0%, rgba(8,47,58,0.35) 55%, rgba(8,47,58,0.05) 100%);
  display: flex; align-items: center;
}
.photo-banner-text { color: #EAF3F5; max-width: 460px; padding: 40px; }
.photo-banner-text h2, .photo-banner-text .eyebrow { color: #EAF3F5; }
.photo-banner-text .eyebrow::before { background: #C4DADF; }
.photo-banner-text p { color: #C4DADF; }
.case-photo { border-radius: var(--radius-md); overflow: hidden; margin-top: 20px; box-shadow: var(--shadow-sm); max-width: 420px; }
.case-photo img { width: 100%; display: block; }

/* ---------- Cartões genéricos ---------- */
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 30px; box-shadow: var(--shadow-sm); transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card-icon {
  width: 48px; height: 48px; border-radius: var(--radius-sm); background: var(--primary-light);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px; color: var(--primary);
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }

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

/* ---------- Casos / áreas (página Serviços) ---------- */
.case-block {
  scroll-margin-top: 110px;
  display: grid; grid-template-columns: 64px 1fr; gap: 24px;
  padding: 40px 0; border-top: 1px solid var(--border);
}
.case-block:first-of-type { border-top: none; padding-top: 0; }
.case-icon {
  width: 60px; height: 60px; border-radius: var(--radius-md); background: var(--primary-light);
  color: var(--primary); display: flex; align-items: center; justify-content: center;
}
.case-icon svg { width: 30px; height: 30px; }
.case-signs {
  margin-top: 16px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 24px;
}
.case-signs li {
  position: relative; padding-left: 22px; color: var(--text); font-size: 0.95rem;
}
.case-signs li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
}

/* ---------- Timeline numerada (processos reais e sequenciais) ---------- */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.timeline-item { position: relative; padding-top: 8px; }
.timeline-num {
  font-family: var(--font-display); font-size: 2.6rem; color: var(--accent); line-height: 1;
  margin-bottom: 14px; font-weight: 600;
}
.timeline-item:not(:last-child)::after {
  content: ""; position: absolute; top: 24px; left: calc(100% - 6px); width: calc(100% - 12px);
  border-top: 1px dashed var(--border); display: none;
}
@media (min-width: 861px) {
  .timeline-item:not(:last-child)::after { display: block; }
}

/* ---------- Depoimentos ---------- */
.testimonial {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 32px; box-shadow: var(--shadow-sm); position: relative;
}
.testimonial::before {
  content: "“"; font-family: var(--font-display); font-size: 3.4rem; color: var(--accent-light);
  position: absolute; top: 6px; left: 20px; line-height: 1;
}
.testimonial p { position: relative; z-index: 1; color: var(--text); font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.author-avatar {
  width: 40px; height: 40px; border-radius: 50%; background: var(--primary-light); color: var(--primary);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-weight: 700; font-size: 0.85rem;
}
.author-meta strong { display: block; font-size: 0.92rem; color: var(--primary-dark); }
.author-meta span { font-size: 0.8rem; color: var(--text-soft); }

/* ---------- Indenizações ---------- */
.indem-card { border-left: 3px solid var(--accent); padding-left: 20px; }
.indem-card h3 { font-size: 1.05rem; }

/* ---------- FAQ (accordion nativo, sem JS) ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
  margin-bottom: 12px; overflow: hidden;
}
.faq-item summary {
  padding: 20px 24px; font-weight: 600; color: var(--primary-dark); cursor: pointer;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-family: var(--font-display); font-size: 1.4rem; color: var(--accent); flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 24px 22px; color: var(--text-muted); }

/* ---------- Placeholders de imagem (aguardando material do cliente) ---------- */
.img-placeholder {
  border: 1.5px dashed var(--border); border-radius: var(--radius-md); background: var(--bg-alt);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  color: var(--text-soft); text-align: center; padding: 30px; min-height: 220px;
}
.img-placeholder svg { width: 34px; height: 34px; color: var(--primary); opacity: 0.55; }
.img-placeholder span { font-size: 0.82rem; max-width: 220px; }
.img-placeholder small { font-family: var(--font-mono); font-size: 0.68rem; color: var(--text-soft); }

.avatar-placeholder {
  width: 148px; height: 148px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(155deg, var(--primary) 0%, var(--sage) 100%);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 2.6rem; color: #EAF3F5; box-shadow: var(--shadow-md);
}

/* ---------- Formulário de contato ---------- */
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 8px; color: var(--primary-dark); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 13px 16px; border-radius: var(--radius-sm); border: 1px solid var(--border);
  background: var(--surface); font-family: var(--font-body); font-size: 0.96rem; color: var(--text);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: 2px solid var(--sage); outline-offset: 1px;
}
.form-note { font-size: 0.82rem; color: var(--text-soft); margin-top: 10px; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--primary-dark); color: #C4DADF; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-col h4 { color: #EAF3F5; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.08em; font-family: var(--font-mono); font-weight: 600; margin-bottom: 18px; }
.footer-col p, .footer-col a { color: #9FC0C7; font-size: 0.92rem; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a:hover { color: #fff; }
.footer-brand-mark { width: 34px; height: 34px; color: #EAF3F5; margin-bottom: 14px; }
.footer-bottom {
  border-top: 1px solid rgba(196, 218, 223, 0.18); padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 0.8rem; color: #7FA1A9;
}
.footer-disclaimer { font-size: 0.76rem; color: #6E939B; max-width: 760px; margin-top: 16px; line-height: 1.6; }
.footer-partners { font-size: 0.82rem; color: #9FC0C7; max-width: 760px; margin-top: 10px; line-height: 1.6; }
.footer-partners a { color: #C4DADF; text-decoration: underline; }
.footer-partners a:hover { color: #fff; }

/* ---------- Botão flutuante WhatsApp ---------- */
.whatsapp-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  display: flex; align-items: center; gap: 10px;
  background: #1E7A5F; color: #fff; padding: 15px; border-radius: 999px;
  box-shadow: 0 10px 30px rgba(8, 47, 58, 0.35);
  transition: transform 0.18s ease, box-shadow 0.18s ease, padding 0.25s ease;
}
.whatsapp-float svg { width: 26px; height: 26px; flex-shrink: 0; }
.whatsapp-float .wa-text {
  max-width: 0; overflow: hidden; white-space: nowrap; font-weight: 600; font-size: 0.9rem;
  transition: max-width 0.25s ease;
}
.whatsapp-float:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(8, 47, 58, 0.45); }
.whatsapp-float:hover .wa-text { max-width: 160px; margin-right: 2px; }
.whatsapp-pulse {
  position: absolute; inset: 0; border-radius: 999px; background: #1E7A5F; opacity: 0.55;
  animation: wa-pulse 2.6s ease-out infinite;
}
@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 0.45; }
  100% { transform: scale(1.9); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .whatsapp-pulse { animation: none; display: none; } }

/* ---------- Mapa ---------- */
.map-frame { border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.map-frame iframe { width: 100%; height: 420px; border: 0; display: block; }

/* ---------- Utilitários ---------- */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.stack { display: flex; flex-direction: column; gap: 10px; }
.divider { height: 1px; background: var(--border); border: 0; margin: 56px 0; }
.quote-banner {
  background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--accent);
  border-radius: var(--radius-md); padding: 36px 40px; box-shadow: var(--shadow-sm);
}
.quote-banner p { font-family: var(--font-display); font-size: 1.25rem; font-style: italic; color: var(--primary-dark); margin-bottom: 12px; }
.quote-banner cite { font-style: normal; font-size: 0.88rem; color: var(--text-soft); }

/* ---------- Responsivo ---------- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 320px; margin: 0 auto 12px; }
  .hero-art-topic { order: -1; margin-bottom: 8px; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .photo-section, .photo-section.reverse { grid-template-columns: 1fr; }
  .photo-section.reverse .photo-frame { order: 0; }
  .photo-banner-text { padding: 28px; max-width: 100%; }
}
@media (max-width: 860px) {
  .nav-toggle-label { display: flex; }
  .nav-links {
    position: absolute; top: 84px; left: 0; right: 0; background: var(--surface);
    flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 20px 20px;
    border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: 0.18s ease;
  }
  .nav-links a { padding: 14px 16px; }
  #nav-toggle:checked ~ .nav-links { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-cta .btn span.long { display: none; }
  .case-block { grid-template-columns: 1fr; }
  .case-signs { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  section { padding: 60px 0; }
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; }
  .whatsapp-float .wa-text { display: none; }

  /* Home — remove a foto do herói (primeira imagem da página) no mobile */
  .hero-art { display: none; }

  /* Home — faixa fotográfica: texto menor e com margens no topo/laterais */
  .photo-banner-text {
    margin: 24px 16px 0;
    padding: 20px;
    max-width: none;
  }
  .photo-banner-text h2 { font-size: 1.15rem; line-height: 1.35; margin-bottom: 8px; }
  .photo-banner-text p { font-size: 0.84rem; }
  .photo-banner-text .eyebrow { font-size: 0.6rem; margin-bottom: 8px; }

  /* Equipe — some com o avatar circular no mobile */
  .avatar-placeholder { display: none; }

  /* Equipe e Localização — foto ocupa todo o quadro azul, com bordas arredondadas */
  .img-placeholder {
    padding: 0;
    min-height: 0;
    display: block;
    overflow: hidden;
  }
  .img-placeholder img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-md);
  }

  /* Equipe / Localização / Contato — empilha as grades de 2 colunas no mobile,
     mantendo a ordem original do HTML (texto/formulário primeiro, imagem/quadros depois) */
  .grid[style] { grid-template-columns: 1fr !important; }
}

/* =========================================================================
   Adições específicas do site previdenciário (não existiam no template base)
   ========================================================================= */

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.03em;
  color: var(--text-soft); margin-bottom: 22px;
}
.breadcrumb a { color: var(--primary); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span[aria-hidden] { color: var(--border); }
.breadcrumb .current { color: var(--text-muted); }

/* ---------- Aviso jurídico / atualização de norma ---------- */
.law-alert {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--primary-light); border: 1px solid var(--border);
  border-left: 4px solid var(--primary); border-radius: var(--radius-md);
  padding: 20px 24px; margin: 8px 0 32px;
}
.law-alert svg { width: 22px; height: 22px; color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.law-alert strong { color: var(--primary-dark); }
.law-alert p { margin-bottom: 0; color: var(--text); font-size: 0.94rem; }

/* ---------- Base legal (chips com lei/artigo) ---------- */
.law-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 26px; }
.law-chip {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.02em;
  background: var(--surface); border: 1px solid var(--border); color: var(--primary-dark);
  padding: 7px 12px; border-radius: 999px;
}

/* ---------- Tabela de requisitos/valores ---------- */
.table-wrap { overflow-x: auto; margin: 8px 0 8px; border: 1px solid var(--border); border-radius: var(--radius-md); }
table.req-table { width: 100%; border-collapse: collapse; min-width: 480px; background: var(--surface); }
table.req-table th, table.req-table td { padding: 14px 18px; text-align: left; font-size: 0.92rem; border-bottom: 1px solid var(--border); }
table.req-table th { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--primary-dark); background: var(--bg-alt); }
table.req-table tr:last-child td { border-bottom: none; }
table.req-table td strong { color: var(--primary-dark); }
.table-note { font-size: 0.8rem; color: var(--text-soft); margin-top: 10px; }

/* ---------- Lista de sinais/documentos (reaproveita padrão case-signs) ---------- */
.check-list { display: grid; grid-template-columns: 1fr; gap: 10px; margin: 0 0 1em; }
.check-list li { position: relative; padding-left: 26px; color: var(--text); font-size: 0.96rem; }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0; width: 18px; height: 18px;
  color: var(--sage); font-weight: 700; font-size: 0.85rem;
}

/* ---------- Temas relacionados (links internos entre páginas de área) ---------- */
.related-links { display: flex; flex-wrap: wrap; gap: 10px; }
.related-links a {
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px;
  padding: 10px 18px; font-size: 0.86rem; font-weight: 600; color: var(--primary-dark);
  transition: background 0.15s ease, border-color 0.15s ease;
}
.related-links a:hover { background: var(--primary-light); border-color: var(--primary); }

/* ---------- Grade de áreas de atuação (página Serviços) ---------- */
.service-card {
  display: flex; flex-direction: column; height: 100%;
}
.service-card .card-icon { margin-bottom: 16px; }
.service-card h3 { font-size: 1.05rem; }
.service-card p { flex-grow: 1; }
.service-card .service-link {
  margin-top: 14px; font-size: 0.86rem; font-weight: 700; color: var(--accent-dark);
  display: inline-flex; align-items: center; gap: 6px;
}
.service-card:hover .service-link { color: var(--accent); }

/* ---------- Categorias na página Serviços ---------- */
.service-group-title {
  font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent-dark); margin: 56px 0 22px;
}
.service-group-title:first-of-type { margin-top: 0; }

/* ---------- Cards compactos da página Serviços (4 por linha) ---------- */
.services-grid { gap: 18px; }
.service-card-compact { padding: 20px; }
.service-card-compact .card-icon { width: 38px; height: 38px; margin-bottom: 12px; }
.service-card-compact .card-icon svg { width: 20px; height: 20px; }
.service-card-compact h3 {
  font-size: 0.86rem; margin-bottom: 8px; text-transform: uppercase;
  letter-spacing: 0.03em; line-height: 1.3;
}
.service-card-compact p { font-size: 0.86rem; line-height: 1.45; }
.service-card-compact .service-link { font-size: 0.78rem; margin-top: 10px; }
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ---------- Selo/CTA lateral fixo em páginas de tema ---------- */
.side-cta {
  position: sticky; top: 104px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 26px; box-shadow: var(--shadow-sm);
}
.side-cta h3 { font-size: 1.05rem; }
.side-cta .btn { width: 100%; justify-content: center; margin-top: 6px; }

@media (max-width: 960px) {
  .side-cta { position: static; }
}
