/* ==========================================================================
   QUIZ OUTUBRO ROSA - CIPA GLOBAL PARTS
   Design System Premium, Mobile-First & Acessível
   ========================================================================== */

:root {
  /* Paleta Rosa Outubro Rosa & Contraste Acessível */
  --rose-primary: #e11d48;       /* Rosa vibrante nobre */
  --rose-dark: #9f1239;          /* Bordô / Rosa escuro de alto contraste */
  --rose-deep: #4c0519;          /* Fundo de texto e contraste AAA */
  --rose-light: #f43f5e;         /* Rosa ativo / acento */
  --rose-soft: #fbcfe8;          /* Rosa pastel suave */
  --rose-blush: #fff1f2;         /* Fundo luminoso suave */
  --rose-surface: #fdf2f8;       /* Fundo da tela */
  
  /* Cores de Feedback */
  --success-color: #059669;      /* Verde esmeralda para acertos */
  --success-bg: #ecfdf5;
  --success-border: #34d399;
  
  --error-color: #e11d48;        /* Rosa/Vermelho para erros */
  --error-bg: #fff1f2;
  --error-border: #f87171;

  /* Neutros e Tipografia */
  --text-main: #1f2937;          /* Cinza escuro profundo para legibilidade máxima */
  --text-muted: #6b7280;         /* Cinza médio informativo */
  --text-light: #9ca3af;
  --white: #ffffff;
  
  /* Gradientes de Destaque */
  --grad-primary: linear-gradient(135deg, #e11d48 0%, #db2777 50%, #be185d 100%);
  --grad-warm-card: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 241, 242, 0.9) 100%);
  --grad-hero: linear-gradient(180deg, #ffe4e6 0%, #fff1f2 40%, #fdf2f8 100%);
  --grad-badge: linear-gradient(135deg, #f43f5e 0%, #fb7185 100%);

  /* Efeitos e Elevação */
  --glass-bg: rgba(255, 255, 255, 0.92);
  --glass-border: rgba(244, 63, 94, 0.18);
  --shadow-sm: 0 2px 8px rgba(225, 29, 72, 0.06);
  --shadow-card: 0 12px 36px -8px rgba(159, 18, 57, 0.12), 0 4px 12px -2px rgba(225, 29, 72, 0.05);
  --shadow-glow: 0 8px 24px rgba(225, 29, 72, 0.3);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;

  /* Fontes */
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Reset Global & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  height: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--grad-hero);
  color: var(--text-main);
  min-height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
  padding-bottom: env(safe-area-inset-bottom, 20px);
}

/* Fundo Decorativo com Círculos Suaves */
.bg-ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  animation: floatOrb 12s ease-in-out infinite alternate;
}

.ambient-blob-1 {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, #fecdd3, #fda4af);
  top: -80px;
  right: -80px;
}

.ambient-blob-2 {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, #fce7f3, #fbcfe8);
  bottom: -100px;
  left: -100px;
  animation-delay: -6s;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(25px, 20px) scale(1.08); }
  100% { transform: translate(-15px, 35px) scale(0.95); }
}

/* Canvas de Confete */
#confetti-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  width: 100%;
  height: 100%;
}

/* Container do App - Mobile First */
.app-container {
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
  padding: 16px 20px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 10;
}

/* Header & Barra Superior */
.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 16px;
  gap: 12px;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo-img {
  width: auto;
  height: 48px;
  max-width: 170px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 8px rgba(225, 29, 72, 0.15));
  transition: transform 0.2s ease;
}

.brand-titles {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--rose-deep);
  line-height: 1.15;
}

.brand-sub {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--rose-primary);
  display: flex;
  align-items: center;
  gap: 4px;
}

.brand-sub::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--rose-primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-btn {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--glass-border);
  color: var(--rose-dark);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
}

.icon-btn:hover, .icon-btn:focus-visible {
  background: var(--white);
  color: var(--rose-primary);
  transform: scale(1.05);
  box-shadow: var(--shadow-glow);
}

/* Área de Telas (Views) */
.view-section {
  display: none;
  flex-direction: column;
  flex: 1;
  animation: fadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.view-section.active {
  display: flex;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ==========================================================================
   TELA INICIAL (HOME)
   ========================================================================== */
.home-card {
  background: var(--grad-warm-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(14px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: auto 0;
  position: relative;
  overflow: hidden;
}

.home-ribbon-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(244, 63, 94, 0.12);
  border: 1px solid rgba(244, 63, 94, 0.28);
  color: var(--rose-dark);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.825rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.home-ribbon-badge svg {
  width: 16px;
  height: 16px;
  color: var(--rose-primary);
}

.home-duo-brand-container {
  position: relative;
  width: 100%;
  max-width: 290px;
  margin: 10px auto 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
}

.home-duo-brand-img {
  width: 100%;
  height: auto;
  max-height: 110px;
  object-fit: contain;
  filter: drop-shadow(0 8px 20px rgba(225, 29, 72, 0.16));
  animation: logoSoftFloat 4s infinite alternate ease-in-out;
}

@keyframes logoSoftFloat {
  0% { transform: translateY(0); }
  100% { transform: translateY(-4px); }
}

.pink-ribbon-tag-img {
  width: 15px;
  height: 19px;
  display: block;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.25));
}

.home-title {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--rose-deep);
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}

.home-title span {
  color: var(--rose-primary);
  display: block;
}

.home-motto-box {
  background: rgba(255, 255, 255, 0.85);
  border-left: 4px solid var(--rose-primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 12px 16px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  width: 100%;
}

.home-motto-text {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--rose-dark);
  font-style: italic;
}

.home-desc {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.home-desc-sub {
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--rose-dark);
  font-weight: 600;
  margin-bottom: 24px;
}

/* Formulário de Identificação Amigável */
.user-info-box {
  width: 100%;
  margin-bottom: 24px;
  text-align: left;
}

.user-info-box label {
  display: block;
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--rose-dark);
  margin-bottom: 6px;
}

.input-custom {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1.5px solid rgba(244, 63, 94, 0.25);
  background: rgba(255, 255, 255, 0.95);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-main);
  outline: none;
  transition: all 0.2s ease;
}

.input-custom:focus {
  border-color: var(--rose-primary);
  box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.15);
  background: var(--white);
}

.required-star {
  color: var(--rose-primary);
  font-weight: 800;
  margin-left: 2px;
}

.input-custom.input-error {
  border-color: #ef4444 !important;
  background: #fff8f8;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2) !important;
  animation: shakeInput 0.35s ease-in-out;
}

@keyframes shakeInput {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-5px); }
  40%, 80% { transform: translateX(5px); }
}

.form-error-msg {
  background: #fef2f2;
  border-left: 3.5px solid #ef4444;
  color: #991b1b;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.825rem;
  font-weight: 600;
  margin-top: 12px;
  line-height: 1.4;
  animation: slideDown 0.25s ease;
}

.home-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  width: 100%;
  margin-bottom: 28px;
}

.highlight-pill {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(244, 63, 94, 0.15);
  border-radius: var(--radius-md);
  padding: 10px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.highlight-pill .pill-number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--rose-primary);
}

.highlight-pill .pill-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
}

/* Botões Principais */
.btn-primary {
  width: 100%;
  background: var(--grad-primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius-lg);
  padding: 18px 24px;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  box-shadow: var(--shadow-glow);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: skewX(-20deg);
  animation: btnShimmer 3s infinite;
}

@keyframes btnShimmer {
  0% { left: -100%; }
  40% { left: 160%; }
  100% { left: 160%; }
}

.btn-primary:hover, .btn-primary:focus-visible {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 12px 28px rgba(225, 29, 72, 0.45);
}

.btn-primary:active {
  transform: translateY(0) scale(0.99);
}

/* ==========================================================================
   TELA DO QUIZ (PERGUNTAS)
   ========================================================================== */
.quiz-header-bar {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 14px 18px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
}

.progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--rose-dark);
  margin-bottom: 8px;
}

.progress-category-badge {
  background: rgba(225, 29, 72, 0.1);
  color: var(--rose-primary);
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.progress-track {
  width: 100%;
  height: 8px;
  background: rgba(244, 63, 94, 0.15);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.progress-fill {
  height: 100%;
  background: var(--grad-primary);
  border-radius: 999px;
  width: 0%;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 10px rgba(225, 29, 72, 0.5);
}

/* Card da Questão */
.question-card {
  background: var(--grad-warm-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 24px 20px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.question-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--rose-deep);
  line-height: 1.4;
  margin-bottom: 20px;
}

/* Opções de Resposta */
.options-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.option-btn {
  background: rgba(255, 255, 255, 0.9);
  border: 1.5px solid rgba(244, 63, 94, 0.2);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-main);
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.45;
  transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  position: relative;
}

.option-btn:hover:not(:disabled) {
  border-color: var(--rose-primary);
  background: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(225, 29, 72, 0.12);
}

.option-btn:focus-visible {
  outline: 2px solid var(--rose-primary);
}

.option-letter {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(244, 63, 94, 0.1);
  color: var(--rose-dark);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

/* Estados da Opção pós-clique */
.option-btn.correct {
  background: var(--success-bg) !important;
  border-color: var(--success-border) !important;
  color: #065f46 !important;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.2) !important;
}

.option-btn.correct .option-letter {
  background: var(--success-color);
  color: var(--white);
}

.option-btn.incorrect {
  background: var(--error-bg) !important;
  border-color: var(--error-border) !important;
  color: #9f1239 !important;
  opacity: 0.85;
}

.option-btn.incorrect .option-letter {
  background: var(--error-color);
  color: var(--white);
}

.option-btn:disabled {
  cursor: default;
  transform: none !important;
}

/* Caixa de Explicação Pedagógica */
.explanation-box {
  display: none;
  background: #fff8f8;
  border: 1px solid rgba(244, 63, 94, 0.3);
  border-left: 4px solid var(--rose-primary);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  font-size: 0.9rem;
  color: var(--rose-deep);
  line-height: 1.5;
  margin-bottom: 20px;
  animation: slideDown 0.3s ease forwards;
}

.explanation-box.active {
  display: block;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.quiz-footer {
  margin-top: auto;
  padding-top: 10px;
}

.btn-next {
  display: none;
  width: 100%;
}

.btn-next.active {
  display: inline-flex;
}

/* ==========================================================================
   TELA DE RESULTADOS
   ========================================================================== */
.results-card {
  background: var(--grad-warm-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 32px 20px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(14px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.already-completed-banner {
  width: 100%;
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.1);
  animation: slideDown 0.35s ease;
}

.ac-icon {
  font-size: 1.4rem;
  line-height: 1;
  flex-shrink: 0;
}

.ac-text strong {
  font-family: var(--font-display);
  font-size: 0.925rem;
  font-weight: 800;
  color: #166534;
  display: block;
  margin-bottom: 3px;
}

.ac-text p {
  font-size: 0.8rem;
  color: #15803d;
  line-height: 1.4;
}

.results-logo-badge {
  width: 100%;
  max-width: 220px;
  height: auto;
  max-height: 75px;
  object-fit: contain;
  margin: 14px auto 14px;
  display: block;
  filter: drop-shadow(0 6px 16px rgba(225, 29, 72, 0.15));
}

.results-badge-icon {
  font-size: 2.2rem;
  margin-bottom: 6px;
  animation: bounceIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes bounceIn {
  0% { transform: scale(0.3); opacity: 0; }
  60% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(1); }
}

.results-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--rose-deep);
  line-height: 1.25;
  margin-bottom: 6px;
}

.results-user-greeting {
  font-size: 1rem;
  font-weight: 600;
  color: var(--rose-primary);
  margin-bottom: 18px;
}

/* Círculo de Pontuação */
.score-circle-wrapper {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.score-svg {
  transform: rotate(-90deg);
  width: 100%;
  height: 100%;
}

.score-bg-circle {
  fill: none;
  stroke: rgba(244, 63, 94, 0.15);
  stroke-width: 10;
}

.score-progress-circle {
  fill: none;
  stroke: url(#roseScoreGradient);
  stroke-width: 10;
  stroke-linecap: round;
  stroke-dasharray: 377;
  stroke-dashoffset: 377;
  transition: stroke-dashoffset 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.score-content {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.score-number {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--rose-deep);
  line-height: 1;
}

.score-total {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.results-status-pill {
  display: inline-block;
  background: rgba(225, 29, 72, 0.1);
  color: var(--rose-primary);
  padding: 6px 18px;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}

.results-message {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* Card de Certificado / Participação Oficial */
.participation-badge-card {
  width: 100%;
  background: linear-gradient(145deg, #ffffff 0%, #fff5f6 50%, #fdf2f8 100%);
  border: 2px solid rgba(225, 29, 72, 0.28);
  border-radius: var(--radius-lg);
  padding: 22px 18px;
  margin-bottom: 12px;
  box-shadow: 0 10px 28px rgba(159, 18, 57, 0.12), inset 0 0 0 1px rgba(255, 255, 255, 0.8);
  position: relative;
  text-align: center;
  overflow: hidden;
}

.participation-badge-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: var(--grad-primary);
}

.pbadge-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(244, 63, 94, 0.18);
  padding-bottom: 12px;
  margin-bottom: 14px;
  gap: 10px;
}

.pbadge-logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(11, 35, 68, 0.25);
}

.pbadge-company {
  display: flex;
  flex-direction: column;
  text-align: left;
  flex: 1;
}

.pbadge-brand {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--rose-deep);
  line-height: 1.1;
}

.pbadge-sub {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--rose-primary);
  letter-spacing: 0.04em;
}

.pbadge-ribbon-tag {
  background: rgba(225, 29, 72, 0.12);
  color: var(--rose-dark);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.pbadge-body {
  padding: 4px 0 12px;
}

.pbadge-title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--rose-primary);
  margin-bottom: 6px;
}

.pbadge-statement {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 4px;
}

.pbadge-user-name {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--rose-deep);
  line-height: 1.25;
  margin-bottom: 4px;
  word-break: break-word;
}

.pbadge-user-role {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--rose-primary);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

.pbadge-desc {
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--text-main);
  margin-bottom: 14px;
  padding: 0 8px;
}

.pbadge-score-pill {
  display: inline-block;
  background: var(--grad-primary);
  color: var(--white);
  padding: 6px 18px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.3);
}

.pbadge-footer {
  border-top: 1px dashed rgba(244, 63, 94, 0.22);
  padding-top: 10px;
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pbadge-motto {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--rose-dark);
  font-style: italic;
}

.pbadge-date {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.pbadge-action-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--rose-dark);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(244, 63, 94, 0.2);
  border-radius: var(--radius-md);
  padding: 8px 14px;
  margin-bottom: 22px;
  text-align: left;
}

.pbadge-action-hint svg {
  flex-shrink: 0;
  color: var(--rose-primary);
}

/* Card Especial de Conscientização Anual */
.annual-commitment-box {
  background: rgba(255, 255, 255, 0.9);
  border: 1.5px dashed rgba(244, 63, 94, 0.35);
  border-radius: var(--radius-lg);
  padding: 16px;
  margin-bottom: 24px;
  width: 100%;
  text-align: left;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.commitment-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.pink-ribbon-commitment-img {
  width: 28px;
  height: 35px;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(225, 29, 72, 0.35));
}

.commitment-text h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--rose-dark);
  margin-bottom: 4px;
}

.commitment-text p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Ações de Resultados */
.results-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  margin-bottom: 24px;
}

.btn-whatsapp {
  background: #25d366;
  color: var(--white);
  border: none;
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn-whatsapp:hover, .btn-whatsapp:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.45);
  background: #20bd5a;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.9);
  border: 1.5px solid rgba(244, 63, 94, 0.3);
  color: var(--rose-dark);
  border-radius: var(--radius-lg);
  padding: 14px 20px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: var(--white);
  border-color: var(--rose-primary);
  color: var(--rose-primary);
  transform: translateY(-2px);
}

/* Acordeão / Lista de Respostas e Dicas */
.review-section {
  width: 100%;
  text-align: left;
  border-top: 1px solid rgba(244, 63, 94, 0.18);
  padding-top: 20px;
}

.review-toggle-btn {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--rose-deep);
  cursor: pointer;
}

.review-list {
  display: none;
  flex-direction: column;
  gap: 12px;
  margin-top: 14px;
}

.review-list.active {
  display: flex;
}

.review-item {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(244, 63, 94, 0.15);
  border-radius: var(--radius-md);
  padding: 14px;
  font-size: 0.875rem;
}

.review-item.was-correct {
  border-left: 4px solid var(--success-color);
}

.review-item.was-incorrect {
  border-left: 4px solid var(--error-color);
}

.review-q-num {
  font-weight: 700;
  color: var(--rose-primary);
  margin-bottom: 4px;
}

.review-q-title {
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
}

.review-correct-answer {
  color: var(--success-color);
  font-weight: 600;
  margin-bottom: 6px;
}

.review-explanation {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
  background: #fff8f8;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
}

/* Rodapé Institucional */
.app-footer {
  text-align: center;
  padding: 20px 0 10px;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: auto;
}

.footer-cipa-text {
  font-weight: 700;
  color: var(--rose-dark);
}

/* Responsividade adicional para telas minúsculas (< 360px) */
@media (max-width: 360px) {
  .home-title {
    font-size: 1.5rem;
  }
  .app-container {
    padding: 12px;
  }
  .option-btn {
    padding: 12px 14px;
    font-size: 0.875rem;
  }
  .highlight-pill {
    padding: 8px 4px;
  }
}
