/* ==========================================================================
   UGC Story Section & Page Layout — Doctor24
   Design System Compliance: default.css, DESIGN_SYSTEM.md, SECOES.md
   ========================================================================== */

/* Global Reset Fix for CTA elements */
*, *::before, *::after {
  box-sizing: border-box;
}

/* Lucide Icons Alignment & Sizing */
[data-lucide], .lucide {
  width: 1.2em;
  height: 1.2em;
  stroke-width: 2.2;
  vertical-align: -0.18em;
  display: inline-block;
}

.ugc-story-step__icon [data-lucide] {
  width: 32px;
  height: 32px;
  stroke-width: 2;
}

.ugc-story-advocate__icon [data-lucide] {
  width: 28px;
  height: 28px;
  stroke-width: 2;
}

/* --------------------------------------------------------------------------
   1. Site Header & Footer (Dedicated Page Layout)
   -------------------------------------------------------------------------- */

.ugc-page-wrapper {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #fafafa;
}

/* Header */
.ugc-site-header {
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
}

.ugc-site-header__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ugc-site-header__logo {
  height: 38px;
  width: auto;
  display: block;
}

.ugc-site-header__logo-link {
  display: inline-block;
  transition: opacity 0.2s ease;
}

.ugc-site-header__logo-link:hover {
  opacity: 0.85;
}

.ugc-site-header__nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.ugc-site-header__text-link {
  font-family: 'Muring Display', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #845cff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.ugc-site-header__back-link {
  font-family: 'Muring Display', 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.ugc-site-header__back-link:hover {
  color: #845cff;
}

.ugc-site-header__cta {
  padding: 10px 20px !important;
  font-size: 14px !important;
}

/* Mobile Responsive Header Fix */
@media (max-width: 640px) {
  .ugc-site-header__cta {
    display: none !important;
  }
  .ugc-site-header__container {
    padding: 12px 16px;
  }
  .ugc-site-header__logo {
    height: 30px;
  }
  .ugc-site-header__back-link {
    font-size: 0.82rem;
  }
}

/* Footer (Sem logo, Copyright à esquerda, Link doctor24.ai à direita) */
.ugc-site-footer {
  width: 100%;
  background: #0f172a;
  color: #ffffff;
  padding: 32px 0;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ugc-site-footer__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.ugc-site-footer__left {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ugc-site-footer__copyright {
  font-size: 13px;
  color: #94a3b8;
  margin: 0;
  line-height: 1.4;
}

.ugc-site-footer__modal-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ugc-modal-btn {
  background: none;
  border: none;
  padding: 0;
  font-family: 'Muring Text', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #57d4ff;
  cursor: pointer;
  transition: color 0.2s ease;
  text-decoration: none;
}

.ugc-modal-btn:hover {
  color: #845cff;
  text-decoration: underline;
}

.ugc-modal-sep {
  color: rgba(255, 255, 255, 0.2);
  font-size: 12px;
}

.ugc-site-footer__right {
  display: flex;
  align-items: center;
}

.ugc-site-footer__text-link {
  font-family: 'Muring Display', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #57d4ff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.ugc-site-footer__text-link:hover {
  color: #845cff;
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   2. Modais Interativos (Meta Ads / Legal Compliance)
   -------------------------------------------------------------------------- */

.ugc-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.ugc-modal-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

.ugc-modal-card {
  background: #ffffff;
  color: #0f172a;
  border-radius: 24px;
  width: 100%;
  max-width: 620px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  transform: translateY(20px) scale(0.96);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.ugc-modal-overlay.is-active .ugc-modal-card {
  transform: translateY(0) scale(1);
}

.ugc-modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
}

.ugc-modal-header h3 {
  font-family: 'Muring Display', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.ugc-modal-close {
  background: transparent;
  border: none;
  font-size: 28px;
  line-height: 1;
  color: #64748b;
  cursor: pointer;
  padding: 0 4px;
  transition: color 0.2s ease;
}

.ugc-modal-close:hover {
  color: #ef4444;
}

.ugc-modal-body {
  padding: 24px;
  overflow-y: auto;
  font-size: 14px;
  line-height: 1.6;
  color: #334155;
}

.ugc-modal-body p {
  margin-bottom: 12px;
}

.ugc-modal-body h4 {
  font-family: 'Muring Display', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin-top: 18px;
  margin-bottom: 8px;
}

.ugc-modal-body ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.ugc-modal-body li {
  margin-bottom: 6px;
}

.ugc-modal-alert-box {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  padding: 14px 18px;
  border-radius: 12px;
  font-weight: 500;
  margin-bottom: 16px;
  font-size: 13.5px;
}

/* --------------------------------------------------------------------------
   3. Desktop Layout & Styling (Default)
   -------------------------------------------------------------------------- */

.ugc-story-section {
  width: 100%;
  background-color: #fafafa;
  padding: 60px 0;
  color: #0f172a;
  overflow: hidden;
  font-family: 'Muring Text', -apple-system, BlinkMacSystemFont, sans-serif;
}

.ugc-story-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header Inside Story */
.ugc-story-header {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 56px auto;
}

.ugc-story-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(132, 92, 255, 0.08);
  border: 1px solid rgba(132, 92, 255, 0.2);
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.ugc-story-badge__icon {
  font-size: 14px;
}

.ugc-story-badge__text {
  font-family: 'Muring Display', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #845cff;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ugc-story-title {
  font-family: 'Muring Display', sans-serif;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.18;
  color: #0f172a;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}

.ugc-story-subtitle {
  font-size: 19px;
  line-height: 1.5;
  color: #64748b;
  font-weight: 400;
}

/* Hero Section Grid */
.ugc-story-hero {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
  background: #ffffff;
  border-radius: 28px;
  padding: 40px;
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.06), 0 0 0 1px rgba(132, 92, 255, 0.08);
  margin-bottom: 80px;
}

.ugc-story-hero__image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.ugc-story-hero__image {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.ugc-story-hero__image-wrapper:hover .ugc-story-hero__image {
  transform: scale(1.02);
}

.ugc-story-hero__overlay-tag {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(12px);
  color: #ffffff;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.ugc-story-hero__pulse {
  width: 10px;
  height: 10px;
  background-color: #57d4ff;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(87, 212, 255, 0.7);
  animation: pulse-ring 1.8s infinite;
}

@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(87, 212, 255, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(87, 212, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(87, 212, 255, 0);
  }
}

/* Quote Content */
.ugc-story-hero__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ugc-story-rating {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ugc-story-rating__stars {
  color: #ffb800;
  font-size: 20px;
  letter-spacing: 2px;
}

.ugc-story-rating__label {
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ugc-story-quote {
  font-family: 'Muring Text', sans-serif;
  font-size: 20px;
  line-height: 1.48;
  color: #1e293b;
  font-weight: 500;
  font-style: italic;
  position: relative;
  margin: 0;
  border-left: 4px solid #845cff;
  padding-left: 20px;
}

.ugc-story-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ugc-story-author__avatar-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #57d4ff 0%, #845cff 100%);
  color: #ffffff;
  font-family: 'Muring Display', sans-serif;
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(132, 92, 255, 0.3);
}

.ugc-story-author__info {
  display: flex;
  flex-direction: column;
}

.ugc-story-author__name {
  font-family: 'Muring Display', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
}

.ugc-story-author__role {
  font-size: 14px;
  color: #64748b;
}

/* Metrics Row */
.ugc-story-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  background: #f8fafc;
  padding: 16px 20px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
}

.ugc-story-metric {
  display: flex;
  flex-direction: column;
}

.ugc-story-metric__value {
  font-family: 'Muring Display', sans-serif;
  font-size: 22px;
  font-weight: 700;
  background: linear-gradient(135deg, #57d4ff 0%, #845cff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ugc-story-metric__label {
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
  line-height: 1.3;
}

.ugc-story-hero__cta-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.doctor24-cta--gradient {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #845cff 0%, #6838ff 100%);
  color: #ffffff;
  font-family: 'Muring Display', sans-serif;
  font-size: 17px;
  font-weight: 700;
  padding: 16px 24px;
  border-radius: 14px;
  text-decoration: none;
  box-shadow: 0 10px 24px -6px rgba(132, 92, 255, 0.4);
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  text-align: center;
}

.doctor24-cta--gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -4px rgba(132, 92, 255, 0.5);
  background: linear-gradient(135deg, #7346ff 0%, #5722ff 100%);
}

.ugc-story-cta__subtext {
  font-size: 12px;
  color: #94a3b8;
  text-align: center;
}

/* Timeline Section */
.ugc-story-section-title {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px auto;
}

.ugc-story-tag {
  font-family: 'Muring Display', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #845cff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}

.ugc-story-section-title h2 {
  font-family: 'Muring Display', sans-serif;
  font-size: 34px;
  font-weight: 700;
  color: #0f172a;
}

.ugc-story-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 80px;
}

.ugc-story-step {
  display: flex;
  flex-direction: column;
}

.ugc-story-step__time {
  font-family: 'Muring Display', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #845cff;
  background: #ffffff;
  padding: 6px 14px;
  border-radius: 999px;
  align-self: flex-start;
  margin-bottom: 12px;
  border: 1px solid rgba(132, 92, 255, 0.2);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.ugc-story-step__card {
  background: #ffffff;
  border-radius: 20px;
  padding: 24px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 25px -10px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all 0.3s ease;
}

.ugc-story-step__card:hover {
  transform: translateY(-4px);
  border-color: #845cff;
  box-shadow: 0 16px 32px -10px rgba(132, 92, 255, 0.15);
}

.ugc-story-step__icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.ugc-story-step__title {
  font-family: 'Muring Display', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
}

.ugc-story-step__text {
  font-size: 14px;
  line-height: 1.55;
  color: #64748b;
  margin-bottom: 20px;
  flex-grow: 1;
}

.ugc-story-step__pill {
  font-size: 11px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
  align-self: flex-start;
}

.ugc-story-step__pill--alert { background: #fef2f2; color: #ef4444; }
.ugc-story-step__pill--cyan { background: #ecfeff; color: #0891b2; }
.ugc-story-step__pill--violet { background: #f5f3ff; color: #7c3aed; }
.ugc-story-step__pill--success { background: #f0fdf4; color: #16a34a; }

/* Interactive Showcase Grid */
.ugc-story-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: 28px;
  padding: 56px;
  color: #ffffff;
  margin-bottom: 80px;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
}

.ugc-story-showcase__content h2 {
  font-family: 'Muring Display', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #ffffff;
  margin-top: 12px;
  margin-bottom: 20px;
  line-height: 1.2;
}

.ugc-story-showcase__content p {
  font-size: 17px;
  line-height: 1.6;
  color: #94a3b8;
  margin-bottom: 28px;
}

.ugc-story-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ugc-story-checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: #f1f5f9;
  font-weight: 500;
}

/* Mockup Chat UI */
.ugc-story-chat-box {
  background: #ffffff;
  border-radius: 20px;
  color: #0f172a;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  width: 100%;
  box-sizing: border-box;
}

.ugc-story-chat-box__header {
  background: #f8fafc;
  padding: 16px 20px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.ugc-story-chat-box__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #57d4ff 0%, #845cff 100%);
  color: #ffffff;
  font-family: 'Muring Display', sans-serif;
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ugc-story-chat-box__header strong {
  display: block;
  font-size: 14px;
  font-family: 'Muring Display', sans-serif;
}

.ugc-story-chat-box__header small {
  font-size: 11px;
  color: #16a34a;
}

.ugc-story-chat-box__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #fafafa;
}

.ugc-chat-msg {
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.45;
  max-width: 85%;
}

.ugc-chat-msg--bot {
  background: #e2e8f0;
  color: #1e293b;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.ugc-chat-msg--user {
  background: linear-gradient(135deg, #845cff 0%, #6838ff 100%);
  color: #ffffff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.ugc-chat-msg--analysis {
  background: #ecfeff;
  border: 1px solid #a5f3fc;
  color: #0891b2;
  align-self: flex-start;
  width: 100%;
  max-width: 100%;
}

/* Chat Box Footer & Button Fix (Prevent Layout Overflow) */
.ugc-story-chat-box__footer {
  padding: 16px;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  width: 100%;
  box-sizing: border-box;
}

.ugc-story-chat-box__btn {
  display: flex !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  font-size: 14.5px !important;
  padding: 14px 12px !important;
  text-align: center;
  white-space: normal !important;
  word-break: break-word !important;
  line-height: 1.3 !important;
}

/* Advocate Card */
.ugc-story-advocate {
  margin-bottom: 80px;
}

.ugc-story-advocate__card {
  background: #ffffff;
  border-radius: 24px;
  padding: 48px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 15px 35px -10px rgba(15, 23, 42, 0.05);
}

.ugc-story-advocate__badge {
  font-family: 'Muring Display', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #845cff;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.ugc-story-advocate__title {
  font-family: 'Muring Display', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 36px;
  max-width: 800px;
}

.ugc-story-advocate__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.ugc-story-advocate__item h4 {
  font-family: 'Muring Display', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  margin-top: 12px;
  margin-bottom: 8px;
}

.ugc-story-advocate__item p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.5;
}

.ugc-story-advocate__icon {
  font-size: 28px;
}

/* Final CTA */
.ugc-story-final-cta {
  background: linear-gradient(135deg, #57d4ff 0%, #845cff 100%);
  border-radius: 28px;
  padding: 56px 40px;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 20px 45px -10px rgba(132, 92, 255, 0.4);
}

.ugc-story-final-cta__tag {
  font-family: 'Muring Display', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  background: rgba(255, 255, 255, 0.2);
  padding: 6px 16px;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 16px;
}

.ugc-story-final-cta__heading {
  font-family: 'Muring Display', sans-serif;
  font-size: 38px;
  font-weight: 700;
  color: #ffffff;
  max-width: 780px;
  margin: 0 auto 16px auto;
  line-height: 1.2;
}

.ugc-story-final-cta__desc {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto 32px auto;
}

.ugc-story-final-cta__btn {
  background: #ffffff !important;
  color: #845cff !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
}

.ugc-story-final-cta__btn:hover {
  background: #f8fafc !important;
  color: #6838ff !important;
  transform: translateY(-2px);
}

.ugc-story-final-cta__guarantees {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 28px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   4. Tablet Media Query (max-width: 1024px)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .ugc-story-hero {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px;
  }

  .ugc-story-hero__image {
    height: 360px;
  }

  .ugc-story-timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .ugc-story-showcase {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px;
  }

  .ugc-story-advocate__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* --------------------------------------------------------------------------
   5. Mobile Media Query (max-width: 480px)
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
  .ugc-site-header__container {
    padding: 12px 16px;
  }

  .ugc-site-header__logo {
    height: 30px;
  }

  .ugc-site-header__nav {
    gap: 12px;
  }

  .ugc-site-header__text-link {
    font-size: 13px;
  }

  .ugc-site-header__cta {
    padding: 8px 14px !important;
    font-size: 12px !important;
  }

  .ugc-site-footer__container {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }

  .ugc-story-section {
    padding: 40px 0;
  }

  .ugc-story-title {
    font-size: 26px;
  }

  .ugc-story-subtitle {
    font-size: 15px;
  }

  .ugc-story-hero {
    padding: 20px;
    border-radius: 20px;
  }

  .ugc-story-hero__image {
    height: 260px;
  }

  .ugc-story-quote {
    font-size: 16px;
    padding-left: 14px;
  }

  .ugc-story-metrics {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .ugc-story-timeline {
    grid-template-columns: 1fr;
  }

  .ugc-story-showcase {
    padding: 24px;
    border-radius: 20px;
  }

  .ugc-story-showcase__content h2 {
    font-size: 26px;
  }

  .ugc-story-final-cta {
    padding: 36px 20px;
    border-radius: 20px;
  }

  .ugc-story-final-cta__heading {
    font-size: 24px;
  }

  .ugc-story-final-cta__guarantees {
    flex-direction: column;
    gap: 8px;
  }

  .ugc-story-chat-box__btn {
    font-size: 13.5px !important;
    padding: 12px 10px !important;
  }
}

/* --------------------------------------------------------------------------
   System Color Scheme Adaptation (Dark Mode Support for Story Pages)
   -------------------------------------------------------------------------- */

@media (prefers-color-scheme: dark) {
  /* Global Wrappers */
  .ugc-page-wrapper,
  .ugc-story-section {
    background-color: #090d16 !important;
    color: #cbd5e1 !important;
  }

  /* Header */
  .ugc-site-header {
    background: rgba(9, 13, 22, 0.95) !important;
    border-bottom-color: rgba(255, 255, 255, 0.08) !important;
  }

  .ugc-site-header__back-link {
    color: #94a3b8 !important;
  }
  .ugc-site-header__back-link:hover {
    color: #57d4ff !important;
  }

  /* Typography */
  .ugc-story-title,
  .ugc-story-section-title h2,
  .ugc-story-advocate__title,
  .ugc-story-author__name,
  .ugc-story-step__title,
  .ugc-story-advocate__item h4 {
    color: #ffffff !important;
  }

  .ugc-story-subtitle,
  .ugc-story-author__role,
  .ugc-story-metric__label,
  .ugc-story-rating__label,
  .ugc-story-step__text,
  .ugc-story-advocate__item p {
    color: #94a3b8 !important;
  }

  /* Cards & Containers */
  .ugc-story-hero,
  .ugc-story-step__card,
  .ugc-story-advocate__card {
    background: #0f172a !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5) !important;
  }

  .ugc-story-quote {
    color: #f1f5f9 !important;
    border-left-color: #57d4ff !important;
  }

  .ugc-story-metrics {
    background: #1e293b !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
  }

  .ugc-story-step__time {
    background: #1e293b !important;
    color: #57d4ff !important;
    border-color: rgba(87, 212, 255, 0.3) !important;
  }

  /* Chat Box (Mockup) */
  .ugc-story-chat-box {
    background: #0f172a !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6) !important;
  }

  .ugc-story-chat-box__header {
    background: #1e293b !important;
    border-bottom-color: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
  }

  .ugc-story-chat-box__header strong {
    color: #ffffff !important;
  }

  .ugc-story-chat-box__body {
    background: #090d16 !important;
  }

  .ugc-chat-msg--bot {
    background: #1e293b !important;
    color: #f1f5f9 !important;
  }

  .ugc-chat-msg--analysis {
    background: rgba(87, 212, 255, 0.1) !important;
    border-color: rgba(87, 212, 255, 0.3) !important;
    color: #38bdf8 !important;
  }

  .ugc-story-chat-box__footer {
    background: #0f172a !important;
    border-top-color: rgba(255, 255, 255, 0.08) !important;
  }

  /* Modais */
  .ugc-modal-card {
    background-color: #0f172a !important;
    color: #f1f5f9 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
  }

  .ugc-modal-header {
    background-color: #1e293b !important;
    border-bottom-color: rgba(255, 255, 255, 0.1) !important;
  }

  .ugc-modal-header h3,
  .ugc-modal-body h4 {
    color: #ffffff !important;
  }

  .ugc-modal-body {
    color: #cbd5e1 !important;
  }

  .ugc-modal-close {
    color: #94a3b8 !important;
  }
}

