/* ==========================================================================
   DESIGN SYSTEM - PLATAFORMA 1
   Vanilla CSS | Modern, Premium, CRO-Optimized & Mobile-First
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Cores Principais */
  --primary-color: #032854;       /* Azul Marinho Premium */
  --primary-light: #0d3c75;
  --primary-dark: #01142a;
  
  --conversion-color: #10B981;    /* Verde Pix Destaque */
  --conversion-light: #d1fae5;
  --conversion-dark: #047857;
  
  --whatsapp-color: #25D366;      /* Verde Oficial WhatsApp */
  --whatsapp-dark: #128C7E;
  
  --danger-color: #EF4444;        /* Vermelho Urgência */
  --danger-light: #FEE2E2;
  
  /* Cores Neutras */
  --neutral-50: #F9FAFB;
  --neutral-100: #F3F4F6;
  --neutral-200: #E5E7EB;
  --neutral-300: #D1D5DB;
  --neutral-400: #9CA3AF;
  --neutral-500: #6B7280;
  --neutral-700: #374151;
  --neutral-800: #1F2937;
  --neutral-900: #111827;

  /* Fontes e Tipografia */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Sombra e Efeitos */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 15px rgba(16, 185, 129, 0.5);
  
  /* Bordas e Raio */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  /* Transições */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s ease;
}

/* 1. Reset Global */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-family);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
  background-color: #F1F5F9; /* Fundo cinza/azul premium para destacar os blocos brancos */
  color: var(--neutral-800);
  font-size: 16px;
}

body {
  overflow-x: hidden;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, textarea, select {
  font: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: 640px; /* Mobile first constrained view for perfect single-column readability */
  margin: 0 auto;
  padding: 0 16px;
}

/* 2. Utilitários Globais */
.text-primary { color: var(--primary-color); }
.text-conversion { color: var(--conversion-dark); }
.text-whatsapp { color: var(--whatsapp-dark); }
.text-danger { color: var(--danger-color); }
.text-muted { color: var(--neutral-500); }

.bg-primary { background-color: var(--primary-color); }
.bg-neutral-light { background-color: var(--neutral-100); }

.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }

.text-center { text-align: center; }

/* 2.1 Blocos de Seção */
.section-block {
  background-color: #ffffff;
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  margin-top: 24px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.section-block:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--neutral-300);
}

.section-block .section-title {
  margin-top: 0;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--neutral-100);
  padding-bottom: 12px;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary-color);
}

/* 3. Header & Navegação */
header {
  background-color: #ffffff;
  border-bottom: 1px solid var(--neutral-200);
  position: sticky;
  top: 0;
  z-index: 100;
  height: 64px;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  color: var(--primary-color);
  transition: background-color var(--transition-fast);
}

.menu-btn:hover {
  background-color: var(--neutral-100);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-img {
  height: 38px;
}

/* Off-canvas Menu Lateral */
.sidebar {
  position: fixed;
  top: 0;
  left: -280px;
  width: 280px;
  height: 100vh;
  background-color: #ffffff;
  box-shadow: var(--shadow-xl);
  z-index: 200;
  transition: transform var(--transition-normal);
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.sidebar.active {
  transform: translateX(280px);
}

.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  z-index: 199;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.sidebar-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--neutral-200);
}

.sidebar-logo {
  height: 32px;
}

.close-btn {
  color: var(--neutral-500);
  padding: 8px;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sidebar-link {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-color);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 12px;
}

.sidebar-link:hover {
  background-color: var(--neutral-100);
  color: var(--primary-light);
}

/* 4. Banner Superior de Maior Porte - Imagem Estática */
.hero-banner {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  border-bottom: 1px solid var(--neutral-200);
  background-color: #ffffff;
}

.hero-banner-img {
  width: 100%;
  height: auto;
  display: block;
}

/* 5. VSL / Vídeo Section */
.vsl-section {
  margin-top: 16px;
}

.vsl-section.section-block {
  padding-left: 0;
  padding-right: 0;
  padding-top: 0; /* Cola o vídeo no topo do bloco */
  overflow: hidden;
}

.vsl-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-top: 16px;
  line-height: 1.2;
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--neutral-100);
  padding: 16px 20px 0 20px; /* Adiciona espaçamento nas laterais do texto */
}

.video-container {
  width: 100%;
  aspect-ratio: 16/9;
  background-color: #000;
  border-radius: 0; /* Acabamento reto nas laterais, seguindo o card */
  position: relative;
  overflow: hidden;
  box-shadow: none; /* Delegado ao contêiner pai */
}

.video-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.5s ease;
}

.play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.2));
  color: #fff;
  cursor: pointer;
}

.play-btn-circle {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-full);
  background-color: var(--conversion-color);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.6);
  transition: transform 0.2s ease, background-color 0.2s ease;
  margin-bottom: 12px;
  border: 4px solid #fff;
}

.play-btn-circle:hover {
  transform: scale(1.08);
  background-color: #059669;
}

.play-overlay span {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.video-iframe,
.video-container iframe,
.video-container object,
.video-container embed {
  width: 100% !important;
  height: 100% !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  border: none !important;
}

/* 6. Barra de Progresso da Campanha */
.progress-card {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--neutral-200);
  margin-top: 16px;
}

.progress-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 8px;
}

.progress-raised {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary-color);
}

.progress-goal {
  font-size: 0.9rem;
  color: var(--neutral-500);
  font-weight: 500;
}

.progress-bar-container {
  width: 100%;
  height: 14px;
  background-color: var(--neutral-200);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: 10px;
}

.progress-bar-fill {
  height: 100%;
  width: 0%; /* Dynamic fill */
  background: linear-gradient(90deg, var(--conversion-color), #34D399);
  border-radius: var(--radius-full);
  transition: width 1.5s cubic-bezier(0.1, 0.8, 0.25, 1);
}

.progress-stats {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.progress-raised-text {
  color: var(--conversion-dark);
}

.progress-percent-badge {
  background-color: var(--conversion-light);
  color: var(--conversion-dark);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.progress-disclaimer {
  font-size: 0.75rem;
  color: var(--neutral-500);
  line-height: 1.3;
  border-top: 1px solid var(--neutral-100);
  padding-top: 8px;
  display: flex;
  gap: 6px;
}

/* 7. Botão de Compartilhamento (WhatsApp) */
.whatsapp-share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 20px;
  border: 2px solid var(--whatsapp-color);
  border-radius: var(--radius-md);
  color: var(--whatsapp-dark);
  background-color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-top: 16px;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.whatsapp-share-btn:hover {
  background-color: #F0FDF4;
  transform: translateY(-2px);
}

.whatsapp-share-btn:active {
  transform: translateY(0);
}

/* 8. Perfil Verificado */
.verified-card {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--neutral-200);
  padding: 16px;
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
}

.verified-avatar-container {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  background-color: var(--neutral-100);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--neutral-200);
  overflow: hidden;
  flex-shrink: 0;
}

.verified-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.verified-info {
  flex-grow: 1;
}

.verified-title-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.verified-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.2;
}

.verified-badge {
  color: #1D9BF0; /* Cor azul de verificação clássico */
  flex-shrink: 0;
  display: flex;
}

.verified-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--neutral-500);
  font-weight: 500;
}

.verified-meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.verified-meta-item svg {
  color: var(--neutral-400);
}

/* 9. Seção de História com Slider */
.history-section {
  margin-top: 32px;
}

.section-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 16px;
  line-height: 1.3;
}

.carousel-container {
  position: relative;
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: var(--shadow-md);
}

.carousel-track-container {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.carousel-track {
  display: flex;
  width: 100%;
  transition: transform var(--transition-normal);
}

.carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  aspect-ratio: 4/5; /* Aspect Ratio 4:5 conforme solicitado! */
  background-color: var(--neutral-900);
  position: relative;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #032854; /* Cor da logo */
  color: #ffffff;
  padding: 14px 18px;
  font-weight: 700;
  font-size: 0.85rem;
  text-align: center;
  line-height: 1.4;
  box-sizing: border-box;
  z-index: 9;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-fast);
}

.carousel-btn:hover {
  background-color: #ffffff;
  transform: translateY(-50%) scale(1.05);
}

.carousel-btn-prev { left: 12px; }
.carousel-btn-next { right: 12px; }

.carousel-dots {
  position: absolute;
  bottom: 60px; /* Posicionado acima da legenda para não sobrepor */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.5);
  transition: all var(--transition-fast);
}

.carousel-dot.active {
  background-color: #ffffff;
  width: 16px;
}

.history-copy {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--neutral-700);
}

.history-copy p {
  margin-bottom: 16px;
}

.blockquote-premium {
  border-left: 4px solid var(--primary-color);
  padding: 12px 18px;
  margin: 20px 0;
  background-color: var(--neutral-100);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: var(--neutral-900);
  font-weight: 500;
}

/* 10. Impacto Financeiro & A Conta que Não Fecha */
.impact-section {
  margin-top: 36px;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.impact-card {
  background-color: #ffffff;
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast);
}

.impact-card:hover {
  transform: translateY(-2px);
  border-color: var(--neutral-300);
}

.impact-value {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-color);
}

.impact-desc {
  font-size: 0.82rem;
  color: var(--neutral-600);
  line-height: 1.4;
}

/* Tabela A Conta Que Não Fecha */
.deficit-table-card {
  background-color: var(--neutral-50); /* Cinza claro neutro para aninhar no bloco branco */
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-md);
  padding: 18px;
}

.deficit-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 16px;
  border-bottom: 1px solid var(--neutral-100);
  padding-bottom: 10px;
}

.deficit-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--neutral-100);
}

.deficit-row:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.deficit-label {
  font-weight: 500;
  color: var(--neutral-600);
  display: flex;
  align-items: center;
  gap: 8px;
}

.deficit-value {
  font-weight: 700;
}

.deficit-total-row {
  background-color: var(--danger-light);
  margin: 12px -18px -18px -18px;
  padding: 16px 18px;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #FCA5A5;
}

.deficit-total-label {
  font-weight: 800;
  color: #991B1B;
  display: flex;
  align-items: center;
  gap: 6px;
}

.deficit-total-value {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--danger-color);
}

/* 11. Zona de Conversão Pix (Destaque CRO Máximo) */
.pix-container {
  background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 100%); /* Verde Gradiente Altamente Intuitivo */
  border: 3.5px solid var(--conversion-color); /* Borda mais espessa Verde */
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-top: 36px;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  position: relative;
  overflow: hidden;
}

.pix-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--conversion-dark);
  font-weight: 800;
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.pix-key-wrapper {
  margin-bottom: 20px;
}

.pix-key-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--conversion-dark);
  text-transform: uppercase;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.pix-key-input-container {
  display: flex;
  background-color: #ffffff;
  border: 2px solid var(--neutral-300);
  border-radius: var(--radius-md);
  padding: 4px;
  transition: border-color var(--transition-fast);
}

.pix-key-input-container:focus-within {
  border-color: var(--conversion-color);
}

.pix-key-input {
  flex-grow: 1;
  padding: 10px 12px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--neutral-800);
  background: transparent;
}

.copy-pix-btn {
  background-color: var(--conversion-color);
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px;
  border-radius: var(--radius-md);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-fast);
  text-transform: uppercase;
}

.copy-pix-btn:hover {
  background-color: var(--conversion-dark);
  transform: translateY(-2px);
}

.copy-pix-btn.copied {
  background-color: var(--primary-color);
  color: #ffffff;
}

.pix-instructions {
  margin-top: 20px;
  border-top: 1px solid rgba(16, 185, 129, 0.2);
  padding-top: 16px;
}

.pix-instructions-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--conversion-dark);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pix-step {
  display: flex;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: var(--neutral-800);
  font-weight: 500;
}

.pix-step:last-of-type {
  margin-bottom: 0;
}

.pix-step-num {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  background-color: var(--conversion-dark);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* 12. Mural de Doadores e Notificações */
.donors-section {
  margin-top: 36px;
}

.donors-card {
  background-color: #ffffff;
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}

.donors-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.donor-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--neutral-100);
}

.donor-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.donor-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.donor-avatar-placeholder {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background-color: var(--neutral-100);
  color: var(--primary-color);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--neutral-200);
}

.donor-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--neutral-800);
}

.donor-time {
  font-size: 0.75rem;
  color: var(--neutral-500);
  display: block;
}

.donor-value {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--conversion-dark);
  background-color: var(--conversion-light);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

/* Notificações Toasts (Live Toasts) */
.toast-container {
  position: fixed;
  bottom: 96px; /* Para não chocar com o sticky CTA */
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 400px;
  z-index: 1000;
  pointer-events: none;
}

.toast {
  background-color: var(--primary-dark);
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 14px 16px;
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast-icon {
  color: var(--conversion-color);
  flex-shrink: 0;
}

.toast-content {
  font-size: 0.85rem;
}

.toast-title {
  font-weight: 700;
  color: #ffffff;
}

.toast-desc {
  color: var(--neutral-300);
}

/* 13. Linha do Tempo de Atualizações */
.timeline-section {
  margin-top: 36px;
}

.timeline {
  position: relative;
  padding-left: 20px;
  margin-top: 16px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background-color: var(--neutral-300);
}

.timeline-item {
  position: relative;
  margin-bottom: 24px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-badge {
  position: absolute;
  left: -20px;
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background-color: var(--primary-color);
  border: 2px solid #ffffff;
}

.timeline-date {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary-color);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.timeline-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: 6px;
}

.timeline-desc {
  font-size: 0.85rem;
  color: var(--neutral-600);
  line-height: 1.5;
}

/* 14. Transparência & FAQ Accordion */
.trust-section {
  margin-top: 36px;
}

.trust-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 24px;
}

.trust-card {
  background-color: #ffffff;
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-md);
  padding: 12px 8px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.trust-card svg {
  color: var(--primary-color);
}

.trust-card-title {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1.3;
}

/* FAQ Accordion */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  background-color: #ffffff;
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-trigger {
  width: 100%;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--primary-color);
  text-align: left;
  transition: background-color var(--transition-fast);
}

.faq-trigger:hover {
  background-color: var(--neutral-50);
}

.faq-arrow {
  color: var(--neutral-500);
  transition: transform var(--transition-normal);
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
}

.faq-content-inner {
  padding: 0 16px 16px 16px;
  font-size: 0.85rem;
  color: var(--neutral-600);
  line-height: 1.6;
}

/* 15. Sticky CTA Footer (Altíssima Conversão Mobile) */
.sticky-cta-container {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #ffffff;
  border-top: 1px solid var(--neutral-200);
  padding: 12px 16px;
  z-index: 190;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center;
}

.sticky-cta-btn {
  background-color: var(--conversion-color);
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 800;
  text-align: center;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  width: 100%;
  max-width: 608px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-glow);
}

.sticky-cta-btn:hover {
  background-color: var(--conversion-dark);
}

.sticky-cta-btn:active {
  transform: scale(0.98);
}

/* Spacer na base do body para compensar o sticky cta */
.body-bottom-spacer {
  height: 96px;
}

/* 16. Rodapé Geral */
footer.main-footer {
  background-color: var(--primary-dark);
  color: var(--neutral-300);
  padding: 32px 0 24px 0;
  font-size: 0.78rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
}

.footer-nav-link:hover {
  color: #ffffff;
}

.footer-text {
  margin-bottom: 8px;
}

/* ==========================================================================
   PAINEL ADMINISTRATIVO - ADMIN.HTML
   Estilos específicos para o painel de gestão com Glassmorphism e Dark Mode
   ========================================================================== */

.admin-body {
  background-color: #0B132B; /* Dark Navy */
  color: #E2E8F0;
}

.admin-header {
  background-color: rgba(11, 19, 43, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
  height: 64px;
}

.admin-header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.admin-logo {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-view-site-btn {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.8rem;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
}

.admin-view-site-btn:hover {
  background-color: #ffffff;
  color: #0B132B;
}

.admin-title-section {
  padding: 24px 0 8px 0;
}

.admin-page-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
}

.admin-page-subtitle {
  font-size: 0.85rem;
  color: #94A3B8;
}

/* Admin Tabs */
.admin-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 0;
  margin-bottom: 24px;
  overflow-x: auto;
  white-space: nowrap;
}

.admin-tab-btn {
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  color: #94A3B8;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-tab-btn:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.05);
}

.admin-tab-btn.active {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Panels */
.admin-panel {
  display: none;
}

.admin-panel.active {
  display: block;
}

/* Glassmorphism Cards */
.admin-card {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 24px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.admin-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 12px;
}

.admin-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.admin-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.admin-form-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.admin-form-input, .admin-form-select, .admin-form-textarea {
  background-color: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.admin-form-input:focus, .admin-form-select:focus, .admin-form-textarea:focus {
  border-color: var(--conversion-color);
  background-color: rgba(0, 0, 0, 0.4);
}

.admin-form-textarea {
  resize: vertical;
  min-height: 100px;
}

/* Admin Metric Dashboard Row */
.admin-metrics-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.admin-metric-card {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 16px;
}

.admin-metric-label {
  font-size: 0.75rem;
  color: #94A3B8;
  text-transform: uppercase;
  font-weight: 600;
}

.admin-metric-value {
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
  margin-top: 4px;
}

/* Dynamic Rows and Lists in Admin */
.admin-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
}

.admin-list-item:last-child {
  margin-bottom: 0;
}

.admin-list-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.admin-list-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffffff;
}

.admin-list-subtitle {
  font-size: 0.78rem;
  color: #94A3B8;
}

.admin-actions {
  display: flex;
  gap: 8px;
}

.admin-btn {
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all var(--transition-fast);
}

.admin-btn-primary {
  background-color: var(--conversion-color);
  color: #ffffff;
}

.admin-btn-primary:hover {
  background-color: var(--conversion-dark);
}

.admin-btn-secondary {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.admin-btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.admin-btn-danger {
  background-color: rgba(239, 68, 68, 0.2);
  color: #FCA5A5;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.admin-btn-danger:hover {
  background-color: rgba(239, 68, 68, 0.4);
}

.admin-btn-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.admin-badge-count {
  background-color: var(--primary-light);
  color: #ffffff;
  font-size: 0.72rem;
  padding: 1px 6px;
  border-radius: var(--radius-full);
  margin-left: auto;
}

.admin-save-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: var(--conversion-color);
  color: #ffffff;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition-normal);
  z-index: 1000;
}

.admin-save-toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* Specific styling for the slider upload item */
.slider-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.slider-preview-card {
  aspect-ratio: 4/3;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.slider-preview-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-preview-delete {
  position: absolute;
  top: 4px;
  right: 4px;
  background-color: rgba(239, 68, 68, 0.8);
  color: #ffffff;
  border-radius: var(--radius-full);
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: background-color var(--transition-fast);
}

.slider-preview-delete:hover {
  background-color: var(--danger-color);
}

/* ==========================================================================
   NOVA SEÇÃO: SOBRE A INSTITUIÇÃO (ESTILO DE REFERÊNCIA DO USUÁRIO)
   ========================================================================== */
.about-institution-section {
  width: 100%;
  margin-top: 0;
  margin-bottom: 0;
}

/* Bloco Superior: Banner com Imagem de Fundo de Pessoas Caminhando */
.institution-hero-banner {
  position: relative;
  background-image: url('https://images.unsplash.com/photo-1476703993599-0035a21b17a9?q=80&w=1200&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  padding: 100px 0; /* Padding vertical generoso como na imagem */
  color: #ffffff;
  overflow: hidden;
  text-align: center;
}

/* Overlay Escuro com Azul da Logo para visual da foto de fundo */
.institution-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(3, 40, 84, 0.75) 0%, rgba(1, 20, 42, 0.8) 100%);
  z-index: 1;
}

.institution-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 16px;
  max-width: 600px;
  margin: 0 auto;
}

.institution-hero-title {
  font-size: 2.3rem; /* Tamanho e peso robusto */
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.2;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.institution-hero-subtitle {
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.6;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  opacity: 0.95;
}

/* Bloco Inferior: Fundo Azul Sólido */
.institution-details-block {
  background-color: #032854; /* Cor primária do logo - azul marinho sólido */
  padding: 64px 0;
  color: #ffffff;
  text-align: center;
}

.institution-details-content {
  padding: 0 16px;
  max-width: 608px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.institution-details-logo {
  max-width: 68px; /* Ícone da ovelhinha em tamanho bem menor e elegante */
  height: auto;
  margin-bottom: 24px;
  filter: brightness(0) invert(1) drop-shadow(0 4px 8px rgba(255, 255, 255, 0.15)); /* Filtro de conversão para branco puro */
}

.institution-details-title {
  font-size: 1.9rem;
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
  line-height: 1.3;
}

.institution-details-desc {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85); /* Tom suave sobre azul marinho */
  margin-bottom: 20px;
  text-align: center;
}

.institution-details-desc:last-of-type {
  margin-bottom: 0;
}

/* ==========================================================================
   MELHORIA DE PROGRESSO & PROVA SOCIAL
   ========================================================================== */
.progress-social-badge {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  gap: 12px;
}

.social-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--conversion-light); /* Verde esmeralda claro */
  color: var(--conversion-dark);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  border: 1px solid rgba(16, 185, 129, 0.2);
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.1);
  transition: all 0.3s ease;
}

/* Avatar Stack for Social Proof */
.avatar-stack {
  display: flex;
  align-items: center;
  margin-right: 2px;
}

.mini-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  font-weight: 850;
  color: #ffffff;
  margin-left: -7px;
  box-shadow: var(--shadow-sm);
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.mini-avatar:first-child {
  margin-left: 0;
}

.avatar-1 {
  background: linear-gradient(135deg, #FF416C, #FF4B2B);
  z-index: 3;
}

.avatar-2 {
  background: linear-gradient(135deg, #1FA2FF, #12D6DF);
  z-index: 2;
}

.avatar-3 {
  background: linear-gradient(135deg, #F7971E, #FFD200);
  z-index: 1;
}

/* Pulsing Heart Beat */
.heart-pulse-icon {
  color: #EF4444; /* Vermelho vibrante clássico */
  filter: drop-shadow(0 0 4px rgba(239, 68, 68, 0.5));
  animation: heart-beat 1.2s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
  flex-shrink: 0;
}

@keyframes heart-beat {
  0% { transform: scale(1); }
  14% { transform: scale(1.18); }
  28% { transform: scale(1); }
  42% { transform: scale(1.18); }
  70% { transform: scale(1); }
}

#social-badge-text {
  font-size: 0.8rem;
  color: var(--neutral-700);
  margin-left: 2px;
}

#social-badge-text strong {
  color: var(--primary-color);
  font-weight: 800;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: inline-block;
}

/* Micro-interaction class when counter increments */
.number-pulse {
  animation: text-pulse-glow 0.8s ease-out;
}

@keyframes text-pulse-glow {
  0% {
    transform: scale(1.3);
    color: var(--conversion-dark);
    text-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
  }
  100% {
    transform: scale(1);
    color: var(--primary-color);
    text-shadow: none;
  }
}

.live-indicator-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background-color: var(--danger-light); /* Vermelho muito claro */
  color: var(--danger-color);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  border: 1px solid rgba(239, 68, 68, 0.15);
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background-color: var(--danger-color);
  animation: blink-live 0.8s infinite alternate;
}

@keyframes blink-live {
  0% { opacity: 0.3; }
  100% { opacity: 1; }
}

/* Raised Amount Text Scale Glow Up */
.progress-raised {
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.progress-raised.price-updating {
  color: var(--conversion-dark);
  text-shadow: 0 0 12px rgba(16, 185, 129, 0.5);
  transform: scale(1.06);
}

/* Efeito de brilho/pulso na barra de progresso ao atualizar */
.progress-bar-fill.updating {
  animation: bar-glow 2s ease-out;
  position: relative;
  overflow: hidden;
}

.progress-bar-fill.updating::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  animation: bar-shimmer 1.5s infinite;
}

@keyframes bar-shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

@keyframes bar-glow {
  0% {
    filter: brightness(1.2);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.8);
  }
  50% {
    filter: brightness(1.4);
    box-shadow: 0 0 25px rgba(16, 185, 129, 1);
  }
  100% {
    filter: brightness(1);
    box-shadow: none;
  }
}

/* ==========================================================================
   AUTHENTICATION & SECURITY MODES (LOGIN & SANDBOX PANEL)
   ========================================================================== */

/* Login Overlay (Glassmorphism Glass Blur) */
.admin-login-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(135deg, rgba(1, 15, 30, 0.96) 0%, rgba(2, 40, 84, 0.99) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.admin-login-overlay.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.admin-login-card {
  width: 100%;
  max-width: 400px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  text-align: center;
  animation: login-fade-in 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes login-fade-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.admin-login-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  margin-bottom: 20px;
  color: var(--conversion-color);
}

.admin-login-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

.admin-login-subtitle {
  font-size: 0.85rem;
  color: #94A3B8;
  margin-bottom: 24px;
  line-height: 1.4;
}

.admin-login-error {
  background-color: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #FCA5A5;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 16px;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.admin-login-error.show {
  display: flex;
}

.admin-login-input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
  margin-bottom: 20px;
}

.admin-login-btn {
  width: 100%;
  padding: 12px;
  border-radius: var(--radius-sm);
  background-color: var(--conversion-color);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  cursor: pointer;
  border: none;
}

.admin-login-btn:hover {
  background-color: var(--conversion-dark);
}

/* Sandbox Mode Notification Banner */
.sandbox-banner {
  background: linear-gradient(90deg, #B45309 0%, #D97706 100%);
  color: #ffffff;
  padding: 10px 16px;
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.sandbox-banner.show {
  display: flex;
}

/* Logout Button styling */
.admin-logout-btn {
  background-color: rgba(239, 68, 68, 0.1);
  color: #FCA5A5;
  border: 1px solid rgba(239, 68, 68, 0.2);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.admin-logout-btn:hover {
  background-color: rgba(239, 68, 68, 0.25);
  color: #ffffff;
}

/* ==========================================================================
   MELHORIA: GRID DE PRODUTOS E GASTOS REAIS (MÉDICOS)
   ========================================================================== */
.product-list-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.product-card {
  display: flex;
  align-items: center;
  background-color: #ffffff;
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-md);
  padding: 16px;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.product-img-wrapper {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--neutral-100);
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info-middle {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0; /* Evita quebra de layout com títulos muito longos */
}

.product-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin: 0;
  line-height: 1.3;
}

.product-specs {
  font-size: 0.8rem;
  color: var(--neutral-500);
  margin: 0;
  line-height: 1.4;
}

.product-status-warning {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #EF4444; /* Vermelho aviso */
  margin: 0;
  margin-top: 2px;
  line-height: 1.2;
}

.product-price-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  flex-shrink: 0;
  text-align: right;
}

.product-price-value {
  font-size: 1.15rem;
  font-weight: 850;
  color: #F97316; /* Laranja conforme imagem de referência */
  margin: 0;
  line-height: 1.2;
}

.product-price-freq {
  font-size: 0.75rem;
  color: var(--neutral-500);
  margin: 0;
}

/* Responsividade Mobile-First */
@media (max-width: 580px) {
  .product-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
    gap: 14px;
  }
  .product-img-wrapper {
    width: 100%;
    height: 160px;
    border-radius: var(--radius-md);
  }
  .product-info-middle {
    width: 100%;
  }
  .product-price-right {
    width: 100%;
    align-items: flex-start;
    text-align: left;
    border-top: 1px dashed var(--neutral-200);
    padding-top: 10px;
    margin-top: 6px;
    flex-direction: row;
    justify-content: space-between;
  }
  .product-price-value {
    font-size: 1.25rem;
  }
}

/* Bloco Comparativo Sem Você / Com Você */
.comparison-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
  margin-bottom: 24px;
}

.comparison-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  background-color: #ffffff;
}

.comparison-card.negative {
  background-color: rgba(239, 68, 68, 0.02);
  border: 1px solid rgba(239, 68, 68, 0.1);
}

.comparison-card.positive {
  background-color: rgba(16, 185, 129, 0.02);
  border: 1px solid rgba(16, 185, 129, 0.1);
}

.comparison-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.comparison-card.negative .comparison-title {
  color: #DC2626;
}

.comparison-card.positive .comparison-title {
  color: #059669;
}

.comparison-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.comparison-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--neutral-800);
}

.comparison-item svg {
  flex-shrink: 0;
  margin-top: 2px;
}

@media (max-width: 768px) {
  .comparison-container {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
