/* ============================================================
   servico-agendamento.info — style.css
   Fonts: Outfit (headings) + Plus Jakarta Sans (body)
   Primary: #2b6cb0 (azul-aço)
   Accent: #38a169 (verde-esmeralda)
   Alert BG: #1a365d (azul-marinho)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --primary: #2b6cb0;
  --primary-dark: #1a365d;
  --primary-light: #2c5282;
  --accent: #38a169;
  --accent-dark: #2f855a;
  --accent-light: #48bb78;
  --alert-bg: #1a365d;
  --danger: #dc2626;
  --danger-bg: #fef2f2;
  --warning: #f59e0b;
  --warning-bg: #fffbeb;
  --text-base: #1a202c;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --border: #e2e8f0;
  --bg-light: #f8fafc;
  --bg-blue: #eff6ff;
  --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: 'Plus Jakarta Sans', 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: 'Outfit', 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 (accessibility — visually hidden until focused)
   ============================================================ */
.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: 'Outfit', 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;
}

/* ============================================================
   DECLARAÇÃO TOPO (fixed disclaimer bar — NOT closeable)
   ============================================================ */
.declaracao-topo {
  background-color: #1a365d;
  color: #ffffff;
  padding: 10px 1rem;
  font-size: 0.8rem;
  text-align: center;
  line-height: 1.55;
  position: relative;
  z-index: 200;
}

.declaracao-topo strong {
  color: #ffffff;
  font-weight: 600;
}

.declaracao-topo a {
  color: #90cdf4;
  text-decoration: underline;
}

.declaracao-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: #bee3f8; text-decoration: none; }

.logo-icon {
  width: 44px;
  height: 44px;
  background-color: #1a365d;
  color: #ffffff;
  font-family: 'Outfit', 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: 'Outfit', 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;
}

/* Selo independente */
.selo-independente {
  border: 1.5px solid rgba(255,255,255,0.6);
  border-radius: 6px;
  padding: 0.4rem 0.75rem;
  color: #ffffff;
  font-size: 0.7rem;
  display: flex;
  flex-direction: column;
  gap: 1px;
  text-align: center;
  flex-shrink: 0;
}

.selo-texto {
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
}

.selo-subtexto {
  opacity: 0.75;
  font-size: 0.65rem;
}

/* 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: 'Outfit', 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: #f0f4f8;
  border-bottom: 2px solid var(--primary);
  padding: 0.6rem 1rem;
  font-size: 0.82rem;
  color: #1a202c;
  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
   ============================================================ */
.breadcrumb-wrap {
  background-color: #f1f5f9;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}

.breadcrumb {
  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;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  margin-bottom: 0;
}

.breadcrumb li::after {
  content: '›';
  margin-left: 0.3rem;
  margin-right: 0.3rem;
  color: var(--text-light);
}

.breadcrumb li:last-child::after {
  content: none;
}

.breadcrumb a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

.breadcrumb a:hover {
  text-decoration: underline;
  color: var(--primary-dark);
}

/* ============================================================
   PAGE HEADER
   ============================================================ */
.page-header {
  background: linear-gradient(135deg, #2b6cb0 0%, #1a365d 60%, #2c5282 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: 'Outfit', 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 {
  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:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.card h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.card p {
  font-size: 0.92rem;
  color: #4a5568;
  margin-bottom: 0;
}

.card .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 .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: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.step-content h3 {
  color: #1a365d;
  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: #eff6ff;
  border-left: 4px solid var(--primary);
  padding: 1rem;
  border-radius: 0 8px 8px 0;
}

.req-card h3 {
  font-size: 0.9rem;
  color: #1e40af;
  margin-bottom: 0.25rem;
  font-family: 'Outfit', 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: 'Outfit', 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: '−';
}

.faq-item summary:hover {
  background-color: #f0f4f8;
}

.faq-item[open] summary {
  border-bottom: 1px solid var(--border);
  background-color: #eff6ff;
}

.faq-content {
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
  color: #374151;
  line-height: 1.7;
}

.faq-content p:last-child { margin-bottom: 0; }

/* ============================================================
   DECLARAÇÃO DE INDEPENDÊNCIA BOX
   ============================================================ */
.declaracao-independencia {
  background-color: #eff6ff;
  border-left: 4px solid #1a365d;
  border-radius: 0 8px 8px 0;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
}

.declaracao-independencia h3 {
  color: #1a365d;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  font-family: 'Outfit', sans-serif;
}

.declaracao-independencia p {
  color: #1a365d;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.declaracao-independencia p:last-child { margin-bottom: 0; }

/* ============================================================
   FONTES OFICIAIS (exclusive to this site)
   ============================================================ */
.fontes-oficiais {
  background-color: #f0fdf4;
  border-left: 4px solid var(--accent);
  border-radius: 0 8px 8px 0;
  padding: 1.25rem 1.5rem;
  margin-top: 2.5rem;
}

.fontes-oficiais h3 {
  color: #166534;
  margin-bottom: 0.75rem;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
}

.fontes-oficiais ul {
  list-style: disc;
  padding-left: 1.5rem;
  color: #166534;
}

.fontes-oficiais li {
  margin-bottom: 0.4rem;
  font-size: 0.92rem;
}

.fontes-oficiais a {
  color: #166534;
  text-decoration: underline;
}

.fontes-oficiais a:hover {
  color: #14532d;
}

/* ============================================================
   ALERTA FRAUDE / GOLPES
   ============================================================ */
.alerta-fraude {
  background-color: #fef2f2;
  border: 2px solid var(--danger);
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.alerta-fraude h3 {
  color: var(--danger);
  margin-bottom: 0.75rem;
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
}

.alerta-fraude ul {
  list-style: none;
  padding-left: 0;
}

.alerta-fraude ul li {
  color: #1a202c;
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.95rem;
}

.alerta-fraude ul li::before {
  content: '✗';
  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: #eff6ff;
  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: #1e40af; }

/* ============================================================
   TRANSPARÊNCIA BOX
   ============================================================ */
.transparencia-box {
  background-color: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.transparencia-box p {
  margin-bottom: 0.5rem;
  font-size: 0.92rem;
  color: #374151;
}

.transparencia-box p:last-child { margin-bottom: 0; }

/* ============================================================
   ESCOPO LIST (O Que Está Fora do Nosso Escopo)
   ============================================================ */
.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: '✗';
  color: var(--danger);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* NAO list — same as escopo-list */
.nao-list {
  list-style: none;
  padding-left: 0;
}

.nao-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;
}

.nao-list li:last-child { border-bottom: none; }

.nao-list li::before {
  content: '✗';
  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;
}

.links-grid a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background-color: #eff6ff;
  border-radius: var(--radius-md);
  padding: 1rem;
  color: #1e40af;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid #bfdbfe;
  transition: background-color var(--transition), box-shadow var(--transition);
  font-size: 0.92rem;
}

.links-grid a:hover {
  background-color: #dbeafe;
  box-shadow: 0 2px 8px rgba(43,108,176,0.15);
  color: #1e3a8a;
}

.link-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

/* ============================================================
   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: 'Outfit', 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: #eff6ff;
}

.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; }

/* ============================================================
   SITE FOOTER
   ============================================================ */
.site-footer {
  background-color: #1a365d;
  color: #ffffff;
  padding-top: 3rem;
  padding-bottom: 1.5rem;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

/* Footer brand */
.footer-brand {}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  text-decoration: none;
}

.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 columns */
.footer-col h4 {
  color: var(--accent);
  margin-bottom: 1rem;
  font-family: 'Outfit', 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 bar */
.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 (show/hide via JS classList)
   ============================================================ */
#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-declinar,
.btn-minimo {
  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: 'Plus Jakarta Sans', sans-serif;
  transition: border-color var(--transition), background-color var(--transition);
}

.btn-declinar:hover,
.btn-minimo:hover {
  border-color: #ffffff;
  background-color: rgba(255,255,255,0.1);
}

.btn-autorizar {
  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: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  transition: background-color var(--transition);
}

.btn-autorizar: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(43,108,176,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 (IntersectionObserver)
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background-color var(--transition), transform 0.15s ease, box-shadow var(--transition);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  text-decoration: none;
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  color: #ffffff;
}

.btn-accent {
  background-color: var(--accent);
  color: #ffffff;
}

.btn-accent:hover {
  background-color: var(--accent-dark);
  color: #ffffff;
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: #ffffff;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  background: linear-gradient(135deg, #2b6cb0 0%, #1a365d 100%);
  color: #ffffff;
  padding: 4rem 0;
  text-align: center;
}

.hero-section h1 {
  color: #ffffff;
  margin-bottom: 1rem;
}

.hero-section p {
  color: rgba(255,255,255,0.88);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* ============================================================
   STATS ROW
   ============================================================ */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--primary);
}

.stat-num {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  display: block;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* ============================================================
   TAGS / BADGES
   ============================================================ */
.tag {
  display: inline-block;
  background-color: #eff6ff;
  color: #1e40af;
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
}

.tag-green {
  background-color: #f0fdf4;
  color: #166534;
}

.tag-red {
  background-color: #fef2f2;
  color: #991b1b;
}

.section-label {
  display: inline-block;
  background-color: var(--primary);
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

/* ============================================================
   ALERTS
   ============================================================ */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  font-size: 0.92rem;
}

.alert-warning {
  background-color: #fffbeb;
  border-left: 4px solid #f59e0b;
  color: #78350f;
}

.alert-info {
  background-color: #eff6ff;
  border-left: 4px solid var(--primary);
  color: #1e3a8a;
}

.alert-success {
  background-color: #f0fdf4;
  border-left: 4px solid var(--accent);
  color: #14532d;
}

.alert-danger {
  background-color: #fef2f2;
  border-left: 4px solid var(--danger);
  color: #7f1d1d;
}

/* ============================================================
   DIVIDER
   ============================================================ */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

/* ============================================================
   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: #1a365d; }
.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) {
  /* Show hamburger, hide selo */
  .menu-toggle {
    display: flex;
  }

  .selo-independente {
    display: none;
  }

  /* Mobile nav — hidden by default, shown on .open */
  .main-nav {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #1a365d;
    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;
  }

  /* Grid adjustments */
  .cards-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .stats-row {
    grid-template-columns: 1fr;
  }

  /* Spacing */
  .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 {
    padding: 1.25rem;
  }

  #back-to-top {
    bottom: 1rem;
    right: 1rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  .site-header,
  .declaracao-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 {
    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;
  }
}
