/* ==========================================================================
   PORTAL OFICIAL PAPA CAPIM CANDIDATO (DINHO KAPP) - STYLES
   Ultra Otimizado para Performance, Mobile First, Acessibilidade e SEO/GEO
   ========================================================================== */

:root {
  --primary: #108e48;
  --primary-dark: #0b6934;
  --primary-light: #e8f7ee;
  --secondary: #f39c12;
  --secondary-hover: #d6810b;
  --accent: #1e3a8a;
  --accent-light: #eff6ff;
  --text-dark: #1f2937;
  --text-muted: #4b5563;
  --text-light: #6b7280;
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --bg-alt: #f1f5f9;
  --border: #e2e8f0;
  --border-focus: #108e48;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.15), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: light;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-page);
  color: var(--text-dark);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
  width: 100%;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* ==========================================================================
   BARRA DE COMPARTILHAMENTO DE ALTO DESTAQUE (TOPO)
   ========================================================================== */
.top-share-wrapper {
  background: linear-gradient(135deg, #094b26 0%, #108e48 60%, #15803d 100%);
  color: #ffffff;
  padding: 0.85rem 0;
  box-shadow: 0 4px 12px rgba(9, 75, 38, 0.25);
  position: sticky;
  top: 0;
  z-index: 990;
  border-bottom: 2px solid #eab308;
}

.top-share-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.top-share-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #fef08a;
}

.top-share-title svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.share-buttons-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.btn-share {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  color: #ffffff;
  transition: var(--transition);
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.2);
  white-space: nowrap;
}

.btn-share svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex-shrink: 0;
}

.btn-share:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-whatsapp { background-color: #25d366; color: #ffffff; border-color: #25d366; }
.btn-whatsapp:hover { background-color: #20ba59; }

.btn-telegram { background-color: #0088cc; color: #ffffff; border-color: #0088cc; }
.btn-telegram:hover { background-color: #0077b5; }

.btn-twitter { background-color: #000000; color: #ffffff; border-color: #333333; }
.btn-twitter:hover { background-color: #1f2937; }

.btn-facebook { background-color: #1877f2; color: #ffffff; border-color: #1877f2; }
.btn-facebook:hover { background-color: #1464cc; }

.btn-copy-link {
  background-color: #f59e0b;
  color: #111827;
  border-color: #fbbf24;
  font-weight: 700;
}
.btn-copy-link:hover {
  background-color: #d97706;
  color: #ffffff;
}

/* ==========================================================================
   HEADER PRINCIPAL & NAV
   ========================================================================== */
.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.brand-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
}

.brand-text h1 {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--primary-dark);
}

.brand-text span {
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 600;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
  flex-wrap: wrap;
}

.main-nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.92rem;
  transition: var(--transition);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
}

.main-nav a:hover,
.main-nav a:focus {
  color: var(--primary);
  background-color: var(--primary-light);
}

/* ==========================================================================
   ESPAÇO EXCLUSIVO PARA BANNER (DESTAQUE NOBRE)
   ========================================================================== */
.exclusive-banner-section {
  padding: 1.5rem 0 0.5rem;
}

.exclusive-banner-card {
  background: linear-gradient(135deg, #1e3a8a 0%, #0f766e 100%);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border: 2px solid rgba(255, 255, 255, 0.15);
}

.exclusive-banner-card::before {
  content: "ESPAÇO OFICIAL EXCLUSIVO";
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 0.7rem;
  font-weight: 800;
  background-color: rgba(255, 255, 255, 0.2);
  padding: 2px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 0.08em;
}

.banner-content-box {
  max-width: 680px;
}

.banner-badge {
  display: inline-block;
  background-color: #facc15;
  color: #1e293b;
  font-weight: 800;
  font-size: 0.8rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.banner-title {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.banner-desc {
  font-size: 0.98rem;
  color: #e2e8f0;
  line-height: 1.5;
}

.banner-action-box {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.btn-banner-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: #22c55e;
  color: #052e16;
  font-weight: 800;
  font-size: 1rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.4);
}

.btn-banner-cta:hover {
  background-color: #16a34a;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.6);
}

.banner-subnote {
  font-size: 0.75rem;
  color: #cbd5e1;
  text-align: center;
}

/* ==========================================================================
   HERO / PERFIL DO CANDIDATO
   ========================================================================== */
.hero-section {
  padding: 2.5rem 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 2.5rem;
  align-items: center;
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.hero-media-wrapper {
  position: relative;
}

.candidate-photo-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid #ffffff;
  background-color: var(--bg-alt);
  aspect-ratio: 1 / 1;
}

.candidate-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.candidate-photo-frame:hover img {
  transform: scale(1.03);
}

.photo-verified-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  background: rgba(16, 142, 72, 0.95);
  backdrop-filter: blur(4px);
  color: #ffffff;
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  box-shadow: var(--shadow-sm);
}

.hero-details-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.candidato-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.tag-badge.primary {
  background-color: var(--primary-light);
  color: var(--primary-dark);
}

.tag-badge.secondary {
  background-color: #fef3c7;
  color: #92400e;
}

.tag-badge.accent {
  background-color: var(--accent-light);
  color: var(--accent);
}

.hero-main-title {
  font-size: 2.3rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-dark);
}

.hero-main-title .highlight {
  color: var(--primary);
}

.hero-catchphrase {
  font-size: 1.15rem;
  font-style: italic;
  font-weight: 600;
  color: #047857;
  background-color: #ecfdf5;
  padding: 0.85rem 1.25rem;
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.candidate-fast-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 0.5rem;
}

.fast-fact-card {
  background-color: var(--bg-alt);
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.fast-fact-card .fact-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-light);
  font-weight: 700;
  display: block;
}

.fast-fact-card .fact-value {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-top: 0.2rem;
}

/* ==========================================================================
   SEÇÕES DE CONTEÚDO (BIOGRAFIA, TRAJETÓRIA, PAUTAS)
   ========================================================================== */
.content-section {
  padding: 2.5rem 0;
}

.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 2.5rem;
}

.section-subtitle {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 0.35rem;
  display: block;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.25;
}

.section-description {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

/* Biografia Card Layout */
.bio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.bio-text-card {
  background-color: var(--bg-card);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.bio-text-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.bio-text-card p {
  color: var(--text-muted);
  margin-bottom: 1.15rem;
  line-height: 1.7;
}

.bio-quote-box {
  background-color: #f0fdf4;
  border-left: 4px solid var(--primary);
  padding: 1.25rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 1.5rem 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: #166534;
}

/* Pássaro Papa-Capim Showcase */
.bird-showcase-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.bird-image-box {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
}

.bird-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bird-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
  color: #fff;
  padding: 0.75rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.bird-info-box {
  padding: 1.75rem;
}

.bird-info-box h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.bird-info-box p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* Linha do Tempo Eleitoral */
.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}

.timeline-list::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 10px;
  bottom: 10px;
  width: 4px;
  background-color: #cbd5e1;
  border-radius: 2px;
}

.timeline-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  position: relative;
}

.timeline-marker {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-md);
  z-index: 2;
  border: 4px solid #ffffff;
}

.timeline-card {
  background-color: var(--bg-card);
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  flex: 1;
}

.timeline-card h4 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.timeline-card .badge-eleitoral {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.badge-eleitoral.deferido { background-color: #dcfce7; color: #166534; }
.badge-eleitoral.suplente { background-color: #fef9c3; color: #854d0e; }
.badge-eleitoral.participou { background-color: #e0f2fe; color: #075985; }

.timeline-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Cards de Propostas e Compromissos */
.proposals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.proposal-card {
  background-color: var(--bg-card);
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.proposal-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.proposal-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.proposal-card h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.proposal-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   REDES SOCIAIS OFICIAIS & HASHTAGS
   ========================================================================== */
.socials-section {
  background-color: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.social-channels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.social-channel-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem;
  border-radius: var(--radius-md);
  background-color: var(--bg-alt);
  text-decoration: none;
  color: var(--text-dark);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.social-channel-item:hover {
  background-color: #ffffff;
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.social-channel-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.social-channel-icon.instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.social-channel-icon.tiktok { background-color: #000000; }
.social-channel-icon.youtube { background-color: #ff0000; }
.social-channel-icon.tse { background-color: #003399; }

.social-channel-meta h5 {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

.social-channel-meta span {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* Hashtags Box */
.hashtags-container {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 2px dashed #cbd5e1;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-align: center;
}

.hashtags-container h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.hashtags-container p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.hashtags-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.hashtag-pill {
  background-color: #ffffff;
  color: var(--primary-dark);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  user-select: all;
}

.btn-copy-hashtags {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--primary);
  color: #ffffff;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.95rem;
}

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

/* ==========================================================================
   FAQ PARA MOTORES DE BUSCA E IA (GEO - GENERATIVE ENGINE OPTIMIZATION)
   ========================================================================== */
.faq-accordion {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: #cbd5e1;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
}

.faq-question svg {
  width: 20px;
  height: 20px;
  transition: transform 0.25s ease;
  fill: var(--text-light);
  flex-shrink: 0;
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
  fill: var(--primary);
}

.faq-answer {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background-color: #0f172a;
  color: #94a3b8;
  padding: 3.5rem 0 2rem;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand h3 {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  line-height: 1.6;
  max-width: 420px;
}

.footer-links h4 {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
}

.footer-legal-links {
  display: flex;
  gap: 1.25rem;
}

.footer-legal-links a {
  color: #94a3b8;
  text-decoration: underline;
  cursor: pointer;
}

.footer-legal-links a:hover {
  color: #ffffff;
}

/* ==========================================================================
   MODAIS DE POLÍTICA DE PRIVACIDADE E TERMOS DE USO
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  padding: 1.5rem;
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-window {
  background-color: #ffffff;
  width: 100%;
  max-width: 720px;
  max-height: 85vh;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: modalEnter 0.3s ease-out;
}

@keyframes modalEnter {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-header {
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-dark);
}

.btn-close-modal {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-light);
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.btn-close-modal:hover {
  color: var(--text-dark);
  background-color: var(--bg-alt);
}

.modal-body {
  padding: 1.75rem;
  overflow-y: auto;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.modal-body h4 {
  color: var(--text-dark);
  margin: 1.25rem 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.modal-body p {
  margin-bottom: 1rem;
}

.modal-footer {
  padding: 1rem 1.75rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: flex-end;
  background-color: var(--bg-page);
}

.btn-modal-close-action {
  background-color: var(--primary);
  color: #fff;
  border: none;
  font-weight: 700;
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
}

.btn-modal-close-action:hover {
  background-color: var(--primary-dark);
}

/* ==========================================================================
   BANNER DE COOKIES (LGPD / PRIVACIDADE)
   ========================================================================== */
.cookie-banner-wrap {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  max-width: 650px;
  background-color: #1e293b;
  color: #ffffff;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.cookie-banner-content h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: #facc15;
}

.cookie-banner-content p {
  font-size: 0.85rem;
  color: #cbd5e1;
  line-height: 1.5;
}

.cookie-banner-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn-cookie-accept {
  background-color: #22c55e;
  color: #022c22;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-cookie-accept:hover {
  background-color: #16a34a;
  color: #fff;
}

.btn-cookie-decline {
  background-color: transparent;
  color: #94a3b8;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  border: 1px solid #475569;
  cursor: pointer;
  transition: var(--transition);
}

.btn-cookie-decline:hover {
  color: #ffffff;
  border-color: #cbd5e1;
}

/* ==========================================================================
   TOAST NOTIFICATION (FEEDBACK DE CÓPIA)
   ========================================================================== */
.toast-notice {
  position: fixed;
  top: 4.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background-color: #0f172a;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-xl);
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  border: 1px solid #22c55e;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.toast-notice.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   CONTADOR INVISÍVEL SOLICITADO
   ========================================================================== */
.wau-tracker-hidden {
  display: none !important;
  visibility: hidden !important;
  position: absolute !important;
  width: 0 !important;
  height: 0 !important;
  pointer-events: none !important;
  overflow: hidden !important;
  opacity: 0 !important;
  z-index: -9999 !important;
}

/* ==========================================================================
   RESPONSIVIDADE (TABLET & MOBILE)
   ========================================================================== */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 1.75rem;
  }

  .candidate-photo-frame {
    max-width: 320px;
    margin: 0 auto;
  }

  .candidato-tag-list {
    justify-content: center;
  }

  .hero-catchphrase {
    border-left: none;
    border-top: 4px solid var(--primary);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
  }

  .bio-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

@media (max-width: 600px) {
  .top-share-container {
    justify-content: center;
  }
  
  .top-share-title {
    width: 100%;
    justify-content: center;
    font-size: 0.85rem;
  }

  .share-buttons-grid {
    width: 100%;
    justify-content: center;
  }

  .btn-share {
    font-size: 0.78rem;
    padding: 0.4rem 0.65rem;
  }

  .hero-main-title {
    font-size: 1.85rem;
  }

  .exclusive-banner-card {
    padding: 1.25rem;
  }

  .banner-title {
    font-size: 1.25rem;
  }

  .timeline-list::before {
    left: 18px;
  }

  .timeline-marker {
    width: 40px;
    height: 40px;
    font-size: 0.75rem;
  }

  .cookie-banner-wrap {
    bottom: 0.75rem;
    left: 0.75rem;
    right: 0.75rem;
  }
}
