/* ============================================================
   portaldoorientacao.blog — style.css
   Fonts: Nunito Sans (headings) + Source Sans 3 (body)
   Primary: #831843 (Magenta-escuro)
   Accent: #16a34a (Verde-grama)
   Disclaimers: #6b1338
   Background: #fdf2f8
   Text: #0c0a09
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,400;0,6..12,500;0,6..12,600;0,6..12,700;0,6..12,800;1,6..12,400&family=Source+Sans+3:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --primary: #831843;
  --primary-dark: #6b1338;
  --primary-light: #9f1239;
  --accent: #16a34a;
  --accent-dark: #15803d;
  --accent-light: #22c55e;
  --alert-bg: #6b1338;
  --danger: #dc2626;
  --danger-bg: #fef2f2;
  --warning: #f59e0b;
  --warning-bg: #fffbeb;
  --text-base: #0c0a09;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --border: #e2e8f0;
  --bg-light: #fdf2f8;
  --bg-rose: #fff1f2;
  --bg-green: #f0fdf4;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.06);
  --shadow-md: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
  --transition: 0.2s ease;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Source Sans 3', system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-base);
  background-color: var(--bg-light);
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Nunito Sans', system-ui, sans-serif;
  line-height: 1.3;
  font-weight: 700;
}

h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h2 { font-size: clamp(1.3rem, 3vw, 1.9rem); margin-bottom: 1.25rem; color: var(--alert-bg); }
h3 { font-size: clamp(1.05rem, 2.5vw, 1.25rem); }
h4 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
  font-size: 1rem;
}

p:last-child { margin-bottom: 0; }

a {
  color: var(--primary);
  text-decoration: underline;
  transition: color var(--transition);
}

a:hover { color: var(--primary-dark); }

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

ul, ol { padding-left: 1.5rem; }
li { margin-bottom: 0.4rem; }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

strong { font-weight: 600; }
details { display: block; }

/* ============================================================
   SKIP NAV
   ============================================================ */
.skip-nav {
  position: absolute;
  top: 0;
  left: 0;
  transform: translateY(-100%);
  background: var(--primary);
  color: #ffffff;
  padding: 0.5rem 1rem;
  z-index: 9999;
  border-radius: 0 0 8px 0;
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.skip-nav:focus {
  transform: translateY(0);
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* ============================================================
   CONTAINER
   ============================================================ */
.container {
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* ============================================================
   AVISO-TRANSPARENCIA-TOPO (1-line compact banner, NOT closeable)
   ============================================================ */
.aviso-transparencia-topo {
  background-color: #6b1338;
  color: #ffffff;
  padding: 8px 1rem;
  font-size: 0.78rem;
  text-align: center;
  line-height: 1.5;
  position: relative;
  z-index: 200;
}

.aviso-transparencia-topo strong {
  color: #ffffff;
  font-weight: 600;
}

.aviso-transparencia-topo a {
  color: #fda4af;
  text-decoration: underline;
}

.aviso-transparencia-topo a:hover {
  color: #ffffff;
}

/* ============================================================
   SITE HEADER
   ============================================================ */
.site-header {
  background-color: var(--primary);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #ffffff;
  flex-shrink: 0;
}

.site-logo:hover { color: #fecdd3; text-decoration: none; }

.logo-icon {
  width: 44px;
  height: 44px;
  background-color: #6b1338;
  color: #ffffff;
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-text {
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #ffffff;
  line-height: 1.2;
}

.logo-text span {
  display: block;
  font-size: 0.7rem;
  opacity: 0.85;
  font-weight: 400;
  letter-spacing: 0.02em;
}

/* Hamburger toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 4px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Main navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.9rem;
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.main-nav a {
  color: #ffffff;
  text-decoration: none;
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 500;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}

.main-nav a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.main-nav a.active {
  color: var(--accent);
  font-weight: 600;
  border-bottom-color: var(--accent);
}

/* ============================================================
   NOTA ADS (below nav)
   ============================================================ */
.nota-ads {
  background-color: #fce7f3;
  border-bottom: 2px solid var(--primary);
  padding: 0.6rem 1rem;
  font-size: 0.82rem;
  color: #0c0a09;
  text-align: center;
  line-height: 1.5;
}

.nota-ads strong {
  color: var(--primary);
}

.nota-ads a {
  color: var(--primary);
  text-decoration: none;
}

.nota-ads a:hover {
  text-decoration: underline;
}

/* ============================================================
   BREADCRUMB (percurso-pagina)
   ============================================================ */
.percurso-pagina {
  background-color: #fce7f3;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}

.percurso-pagina ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-left: 0;
  margin-bottom: 0;
}

.percurso-pagina li {
  display: flex;
  align-items: center;
  margin-bottom: 0;
}

.percurso-pagina li::after {
  content: '\203A';
  margin-left: 0.3rem;
  margin-right: 0.3rem;
  color: var(--text-light);
}

.percurso-pagina li:last-child::after {
  content: none;
}

.percurso-pagina a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

.percurso-pagina a:hover {
  text-decoration: underline;
  color: var(--primary-dark);
}

/* ============================================================
   PAGE HEADER
   ============================================================ */
.page-header {
  background: linear-gradient(135deg, #831843 0%, #6b1338 60%, #9f1239 100%);
  color: #ffffff;
  padding: 3rem 0;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
  pointer-events: none;
}

.page-header h1 {
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
}

.page-header p {
  color: rgba(255,255,255,0.88);
  font-size: 1.05rem;
  max-width: 680px;
  margin-bottom: 0;
}

.page-header .header-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
}

.page-header .header-meta span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* ============================================================
   CONTENT WRAP & SECTIONS
   ============================================================ */
.content-wrap {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.content-section {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.content-section:last-child {
  border-bottom: none;
}

.main-content {
  padding: 2.5rem 0;
}

/* ============================================================
   CARDS GRID
   ============================================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.card-servico {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  border-top: 4px solid var(--primary);
  transition: box-shadow var(--transition), transform var(--transition);
}

.card-servico:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.card-servico h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.card-servico p {
  font-size: 0.92rem;
  color: #4a5568;
  margin-bottom: 0;
}

.card-link {
  display: block;
  margin-top: 1rem;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.92rem;
  transition: color var(--transition);
}

.card-link:hover {
  text-decoration: underline;
  color: var(--accent-dark);
}

/* ============================================================
   STEPS
   ============================================================ */
.steps {
  list-style: none;
  padding-left: 0;
}

.step-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.step-num {
  width: 36px;
  height: 36px;
  min-width: 36px;
  background-color: var(--primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.step-content h3 {
  color: #6b1338;
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.step-content p {
  font-size: 0.92rem;
  color: #4a5568;
  margin-bottom: 0;
}

/* ============================================================
   REQUIREMENTS GRID
   ============================================================ */
.req-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.req-card {
  background-color: #fce7f3;
  border-left: 4px solid var(--primary);
  padding: 1rem;
  border-radius: 0 8px 8px 0;
}

.req-card h3 {
  font-size: 0.9rem;
  color: #831843;
  margin-bottom: 0.25rem;
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 600;
}

.req-card p {
  font-size: 0.88rem;
  color: #374151;
  margin-bottom: 0;
}

/* ============================================================
   FAQ (details/summary)
   ============================================================ */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-item summary {
  padding: 1rem 1.25rem;
  cursor: pointer;
  font-weight: 600;
  font-family: 'Nunito Sans', sans-serif;
  color: var(--primary);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background-color var(--transition);
  user-select: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--primary);
  font-weight: 400;
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item[open] summary::after {
  content: '\2212';
}

.faq-item summary:hover {
  background-color: #fce7f3;
}

.faq-item[open] summary {
  border-bottom: 1px solid var(--border);
  background-color: #fce7f3;
}

.faq-content {
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
  color: #374151;
  line-height: 1.7;
}

.faq-content p:last-child { margin-bottom: 0; }

/* ============================================================
   AVISO-TRANSPARENCIA BOX (disclaimer box)
   ============================================================ */
.aviso-transparencia {
  background-color: #fce7f3;
  border-left: 4px solid #6b1338;
  border-radius: 0 8px 8px 0;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
}

.aviso-transparencia h2,
.aviso-transparencia h3 {
  color: #6b1338;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  font-family: 'Nunito Sans', sans-serif;
}

.aviso-transparencia p {
  color: #6b1338;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.aviso-transparencia p:last-child { margin-bottom: 0; }

/* ============================================================
   ALERTA FRAUDE / GOLPES
   ============================================================ */
.alerta-fraude {
  background-color: #fef2f2;
  border: 2px solid var(--danger);
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  list-style: none;
}

.alerta-fraude li {
  color: #1a202c;
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.95rem;
}

.alerta-fraude li::before {
  content: '\2717';
  position: absolute;
  left: 0;
  color: var(--danger);
  font-weight: 700;
}

/* ============================================================
   INFO BOXES
   ============================================================ */
.info-box-danger {
  background-color: #fff7ed;
  border-left: 4px solid var(--danger);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  border-radius: 0 8px 8px 0;
}

.info-box-danger strong {
  color: #9a3412;
}

.info-box-danger p {
  font-size: 0.92rem;
  color: #7c2d12;
  margin-bottom: 0.4rem;
}

.info-box-danger p:last-child { margin-bottom: 0; }

.info-box-success {
  background-color: #f0fdf4;
  border-left: 4px solid var(--accent);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  border-radius: 0 8px 8px 0;
}

.info-box-success strong { color: #166534; }

.info-box-info {
  background-color: #fce7f3;
  border-left: 4px solid var(--primary);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  border-radius: 0 8px 8px 0;
}

.info-box-info strong { color: #831843; }

/* ============================================================
   TRANSPARENCIA BOX
   ============================================================ */
.transparencia-box {
  background-color: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.transparencia-box p, .transparencia-box li {
  margin-bottom: 0.5rem;
  font-size: 0.92rem;
  color: #374151;
}

.transparencia-box p:last-child { margin-bottom: 0; }

.transparencia-box ul {
  list-style: none;
  padding-left: 0;
}

/* ============================================================
   ESCOPO LIST (Limites do Nosso Conteúdo)
   ============================================================ */
.escopo-list {
  list-style: none;
  padding-left: 0;
}

.escopo-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  color: #1a202c;
  font-size: 0.95rem;
  margin-bottom: 0;
}

.escopo-list li:last-child { border-bottom: none; }

.escopo-list li::before {
  content: '\2717';
  color: var(--danger);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* ============================================================
   LINKS GRID
   ============================================================ */
.links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.link-oficial {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background-color: #fce7f3;
  border-radius: var(--radius-md);
  padding: 1rem;
  color: #831843;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid #fbcfe8;
  transition: background-color var(--transition), box-shadow var(--transition);
  font-size: 0.92rem;
}

.link-oficial:hover {
  background-color: #fbcfe8;
  box-shadow: 0 2px 8px rgba(131,24,67,0.15);
  color: #6b1338;
}

.link-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.link-nome {
  font-weight: 600;
}

.link-url {
  font-size: 0.8rem;
  opacity: 0.7;
  display: block;
}

/* ============================================================
   TABLE
   ============================================================ */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

th {
  background-color: var(--primary);
  color: #ffffff;
  padding: 0.75rem;
  text-align: left;
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
}

th:first-child { border-radius: 8px 0 0 0; }
th:last-child  { border-radius: 0 8px 0 0; }

td {
  padding: 0.75rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: #374151;
  vertical-align: top;
}

tr:nth-child(even) td {
  background-color: #f8fafc;
}

tr:hover td {
  background-color: #fce7f3;
}

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

.table-wrap table { margin-bottom: 0; }

/* ============================================================
   SECTION STYLES (homepage)
   ============================================================ */
.section-servicos,
.section-requisitos,
.section-golpes,
.section-links,
.section-faq,
.section-transparencia,
.section-extra {
  padding: 3rem 0;
}

.section-servicos { background-color: #ffffff; }
.section-requisitos { background-color: var(--bg-light); }
.section-golpes { background-color: #ffffff; }
.section-links { background-color: var(--bg-light); }
.section-faq { background-color: #ffffff; }
.section-transparencia { background-color: var(--bg-light); }
.section-extra { background-color: #ffffff; }

.transparencia-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.transparencia-item {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--primary);
}

.transparencia-item h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.transparencia-item p {
  font-size: 0.92rem;
  color: #4a5568;
}

.transparencia-link {
  text-align: center;
  margin-top: 1rem;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  background-color: var(--accent);
  color: #ffffff;
  margin-top: 1.5rem;
  transition: background-color var(--transition), transform 0.15s ease, box-shadow var(--transition);
}

.btn-cta:hover {
  background-color: var(--accent-dark);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  text-decoration: none;
}

/* ============================================================
   SITE FOOTER (5 columns)
   ============================================================ */
.site-footer {
  background-color: #6b1338;
  color: #ffffff;
  padding-top: 3rem;
  padding-bottom: 1.5rem;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  gap: 2rem;
}

.footer-brand .logo-icon {
  background-color: var(--primary);
}

.footer-brand .logo-text {
  font-size: 1rem;
  color: #ffffff;
}

.footer-brand p {
  font-size: 0.85rem;
  opacity: 0.75;
  margin-top: 0.75rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.8);
}

.cnpj-footer {
  font-size: 0.8rem;
  opacity: 0.8;
  margin-top: 0.5rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
}

.footer-col h4 {
  color: var(--accent);
  margin-bottom: 1rem;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
}

.footer-col ul {
  list-style: none;
  padding-left: 0;
}

.footer-col li { margin-bottom: 0.4rem; }

.footer-col a {
  color: rgba(255,255,255,0.8);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-col p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  margin-top: 2rem;
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8rem;
  opacity: 0.6;
  color: rgba(255,255,255,0.85);
}

.footer-bottom a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* ============================================================
   COOKIE BANNER (2 buttons only)
   ============================================================ */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #1a202c;
  color: #ffffff;
  z-index: 9999;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.3);
  display: none;
}

#cookie-banner.show {
  display: block;
}

.cookie-inner {
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  padding-bottom: 1rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  min-width: 200px;
}

.cookie-text p {
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.5;
  color: rgba(255,255,255,0.9);
}

.cookie-text a {
  color: var(--accent);
  text-decoration: underline;
}

.cookie-text a:hover {
  color: var(--accent-light);
}

.cookie-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.btn-cookie-nao {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.4);
  color: #ffffff;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.85rem;
  font-family: 'Source Sans 3', sans-serif;
  transition: border-color var(--transition), background-color var(--transition);
}

.btn-cookie-nao:hover {
  border-color: #ffffff;
  background-color: rgba(255,255,255,0.1);
}

.btn-cookie-obrigatorios {
  background-color: var(--accent);
  border: 1px solid var(--accent);
  color: #ffffff;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.85rem;
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 600;
  transition: background-color var(--transition);
}

.btn-cookie-obrigatorios:hover {
  background-color: var(--accent-dark);
  border-color: var(--accent-dark);
}

/* ============================================================
   BACK TO TOP BUTTON
   ============================================================ */
#back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: var(--primary);
  color: #ffffff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(131,24,67,0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, background-color var(--transition);
  z-index: 500;
}

#back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

#back-to-top:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
}

/* ============================================================
   FADE-IN ANIMATION
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   STEPS LIST (ordered)
   ============================================================ */
.steps-list {
  padding-left: 1.5rem;
}

.steps-list li {
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================================
   ALERTA LIST
   ============================================================ */
.alerta-list {
  list-style: none;
  padding-left: 0;
}

.alerta-list li {
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.95rem;
}

.alerta-list li::before {
  content: '\26A0';
  position: absolute;
  left: 0;
  color: var(--warning);
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.text-center    { text-align: center; }
.text-right     { text-align: right; }
.mb-0           { margin-bottom: 0 !important; }
.mb-1           { margin-bottom: 0.5rem; }
.mb-2           { margin-bottom: 1rem; }
.mb-3           { margin-bottom: 1.5rem; }
.mb-4           { margin-bottom: 2rem; }
.mt-1           { margin-top: 0.5rem; }
.mt-2           { margin-top: 1rem; }
.mt-3           { margin-top: 1.5rem; }
.mt-4           { margin-top: 2rem; }
.fw-600         { font-weight: 600; }
.fw-700         { font-weight: 700; }
.color-primary  { color: var(--primary); }
.color-accent   { color: var(--accent); }
.color-dark     { color: #6b1338; }
.color-danger   { color: var(--danger); }
.font-sm        { font-size: 0.875rem; }
.font-xs        { font-size: 0.8rem; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   RESPONSIVE — max-width: 768px
   ============================================================ */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .main-nav {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #6b1338;
    padding: 0.5rem 0;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 99;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    display: block;
    width: 100%;
    padding: 0.75rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    border-right: none;
    font-size: 1rem;
  }

  .main-nav a:last-child {
    border-bottom: none;
  }

  .site-header {
    position: relative;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .transparencia-grid {
    grid-template-columns: 1fr;
  }

  .page-header {
    padding: 2rem 0;
  }

  .main-content {
    padding: 1.5rem 0;
  }
}

/* ============================================================
   RESPONSIVE — max-width: 480px
   ============================================================ */
@media (max-width: 480px) {
  .req-grid {
    grid-template-columns: 1fr;
  }

  .links-grid {
    grid-template-columns: 1fr;
  }

  .cookie-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .cookie-actions button {
    flex: 1;
    min-width: 100px;
    text-align: center;
  }

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.25rem; }

  .step-num {
    width: 30px;
    height: 30px;
    min-width: 30px;
    font-size: 0.85rem;
  }

  .card-servico {
    padding: 1.25rem;
  }

  #back-to-top {
    bottom: 1rem;
    right: 1rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  .site-header,
  .aviso-transparencia-topo,
  .nota-ads,
  #cookie-banner,
  #back-to-top,
  .menu-toggle {
    display: none !important;
  }

  body {
    background: #ffffff;
    color: #000000;
    font-size: 12pt;
  }

  a { color: #000000; text-decoration: underline; }

  .card-servico {
    border: 1px solid #cccccc;
    box-shadow: none;
    break-inside: avoid;
  }

  .page-header {
    background: #f0f4f8 !important;
    color: #000000 !important;
  }

  .page-header h1,
  .page-header p {
    color: #000000 !important;
  }
}
