/* CSS Variables for Design System */
:root {
  /* Colors */
  --bg-primary: #FAFAF7;
  --bg-secondary: #FFFFFF;
  --bg-accent: #EFE7D8;
  --bg-accent-light: #F4EFE6;
  
  --color-primary-green: #2F6B4F;
  --color-dark-green: #1F4D38;
  --color-alert-red: #B74132;
  --color-alert-light: #FDF3F2;
  
  --text-main: #1E1E1E;
  --text-muted: #555555;
  --text-white: #FFFFFF;
  
  /* Fonts */
  --font-headings: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  /* Spacing & Borders */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
  --shadow-lg: 0 20px 25px -5px rgba(31, 77, 56, 0.1), 0 10px 10px -5px rgba(31, 77, 56, 0.04);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
}

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

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

img, svg, picture, canvas {
  max-width: 100%;
  height: auto;
  display: block;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.65;
  font-size: 1.125rem; /* 18px - highly legible for 50+ */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography styling */
h1, h2, h3, h4 {
  font-family: var(--font-headings);
  color: var(--text-main);
  line-height: 1.25;
  font-weight: 700;
}

h1 {
  font-size: 2.25rem; /* 36px on mobile */
  font-weight: 800;
}

h2 {
  font-size: 1.875rem; /* 30px */
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.5rem; /* 24px */
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1.25rem;
  color: var(--text-muted);
}

p.lead {
  font-size: 1.25rem;
  color: var(--text-main);
}

/* Utility Containers */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 5rem 0;
}

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

.highlight-red {
  color: var(--color-alert-red);
  font-weight: 700;
}

.highlight-green {
  color: var(--color-primary-green);
  font-weight: 700;
}

/* Buttons Design */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headings);
  font-size: 1.25rem;
  font-weight: 700;
  padding: 1.2rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-align: center;
  box-shadow: var(--shadow-sm);
  width: 100%;
}

@media(min-width: 768px) {
  .btn {
    width: auto;
  }
}

.btn-primary {
  background-color: var(--color-dark-green);
  color: var(--text-white);
  box-shadow: 0 8px 20px rgba(31, 77, 56, 0.3);
}

.btn-primary:hover {
  background-color: var(--color-primary-green);
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(31, 77, 56, 0.4);
}

.btn-secondary {
  background-color: var(--bg-accent);
  color: var(--text-main);
}

.btn-secondary:hover {
  background-color: #e2d7c2;
  transform: translateY(-3px);
}

.btn-danger {
  background-color: var(--color-alert-red);
  color: var(--text-white);
  box-shadow: 0 8px 20px rgba(183, 65, 50, 0.3);
}

.btn-danger:hover {
  background-color: #a03527;
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(183, 65, 50, 0.4);
}

/* microcopy */
.microcopy {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.microcopy-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.microcopy-item svg {
  color: var(--color-primary-green);
  flex-shrink: 0;
}

/* Announcement Bar */
.announcement-bar {
  background-color: var(--color-alert-red);
  color: var(--text-white);
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
  font-weight: 700;
  font-family: var(--font-headings);
  text-align: center;
  z-index: 101;
  position: relative;
  letter-spacing: 0.02em;
}
/* Header / Navbar (Used on legal pages) */
.logo {
  font-family: var(--font-headings);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo img {
  height: 80px;
  width: auto;
  display: block;
}

/* Logo specifically styled for index hero section */
.logo-hero {
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
}

.logo-cobranding {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  justify-content: center;
}

.brand-logo-main {
  height: 70px;
  width: auto;
  display: block;
}

.brand-divider {
  width: 1px;
  height: 35px;
  background-color: var(--bg-accent);
}

.brand-logo-partner {
  height: 40px;
  width: auto;
  display: block;
}

@media(min-width: 992px) {
  .logo-hero {
    justify-content: flex-start;
  }
  .logo-cobranding {
    justify-content: flex-start;
  }
}

/* Hero Section */
.hero {
  background: #000000;
  padding: 4rem 0 5rem 0;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media(min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
  }
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 2;
}

@media(min-width: 992px) {
  .hero-content {
    text-align: left;
  }
}

.hero-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

@media(min-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #cbd5e1;
  margin-bottom: 2rem;
  font-weight: 500;
}

@media(min-width: 768px) {
  .hero-subtitle {
    font-size: 1.4rem;
  }
}

.hero-meta {
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
  color: #94a3b8;
}

.hero-meta strong {
  color: #fce8a6;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media(min-width: 576px) {
  .hero-buttons {
    flex-direction: row;
    justify-content: center;
  }
}

@media(min-width: 992px) {
  .hero-buttons {
    justify-content: flex-start;
  }
}

.hero .microcopy {
  color: #94a3b8;
}

.hero .microcopy-item svg {
  color: #4ade80;
}

.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: end;
}

@media(min-width: 992px) {
  .hero-image-wrapper {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 42%;
    z-index: 1;
  }
}

.hero-image-container {
  width: 100%;
  max-width: 550px;
  background-color: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  position: relative;
  overflow: hidden;
}

@media(min-width: 992px) {
  .hero-image-container {
    height: 100%;
    max-width: none;
  }
}

.hero-image {
  width: 100%;
  height: auto;
  border-radius: 0;
  display: block;
  object-fit: cover;
  opacity: 0.7;
  filter: brightness(0.8) contrast(1.05);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 75%, rgba(0,0,0,0) 100%);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 75%, rgba(0,0,0,0) 100%);
}

@media(min-width: 992px) {
  .hero-image {
    height: 100%;
    object-position: center bottom;
  }
}

.hero-badges .badge-tag {
  background-color: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  justify-content: center;
}

@media(min-width: 992px) {
  .hero-badges {
    justify-content: flex-start;
  }
}

.badge-tag {
  background-color: var(--bg-accent-light);
  color: var(--color-dark-green);
  font-family: var(--font-headings);
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  border: 1px solid var(--bg-accent);
}

/* Callout Box Highlighted Phrase */
.phrase-callout {
  background-color: var(--bg-accent-light);
  border-left: 5px solid var(--color-primary-green);
  padding: 2rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 3rem 0;
  box-shadow: var(--shadow-sm);
}

.phrase-callout-text {
  font-family: var(--font-headings);
  font-size: 1.35rem;
  color: var(--color-dark-green);
  font-weight: 700;
  line-height: 1.4;
}

/* Block Identification & Dor */
.section-light {
  background-color: var(--bg-secondary);
}

.list-proibicoes {
  list-style: none;
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.list-proibicoes li {
  background-color: var(--color-alert-light);
  color: var(--color-alert-red);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-family: var(--font-headings);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.list-proibicoes li svg {
  flex-shrink: 0;
}

.question-highlight {
  font-family: var(--font-headings);
  font-size: 1.6rem;
  color: var(--color-dark-green);
  font-weight: 800;
  margin: 2.5rem 0;
  text-align: center;
}

/* Common foods list */
.common-foods-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin: 2rem 0;
}

.food-tag {
  background-color: var(--bg-primary);
  border: 1px solid var(--bg-accent);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 1.05rem;
  color: var(--text-main);
  font-weight: 500;
}

/* Block Emocional */
.emotional-box {
  background-color: var(--bg-primary);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  border: 1px solid var(--bg-accent);
  max-width: 800px;
  margin: 0 auto;
}

/* Block Mecanismo (Método) */
.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

@media(min-width: 768px) {
  .pillars-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media(min-width: 992px) {
  .pillars-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  .pillar-card {
    grid-column: span 2;
  }
  .pillar-card:nth-child(4) {
    grid-column: 2 / span 2;
  }
  .pillar-card:nth-child(5) {
    grid-column: 4 / span 2;
  }
}

.pillar-card {
  background-color: var(--bg-secondary);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(47, 107, 79, 0.15);
  transition: transform var(--transition-normal);
}

.pillar-card:hover {
  transform: translateY(-5px);
}

.pillar-num {
  font-family: var(--font-headings);
  font-weight: 800;
  font-size: 3rem;
  color: var(--color-primary-green);
  line-height: 1;
  margin-bottom: 1rem;
  opacity: 0.4;
}

/* Block Authority */
.authority-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media(min-width: 768px) {
  .authority-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.authority-image-container {
  background-color: var(--bg-accent);
  border-radius: var(--radius-lg);
  padding: 10px;
  box-shadow: var(--shadow-md);
}

.authority-image {
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius-lg) - 10px);
  display: block;
}

.quote-authority {
  font-style: italic;
  font-size: 1.3rem;
  color: var(--color-dark-green);
  font-weight: 600;
  border-left: 4px solid var(--color-primary-green);
  padding-left: 1.5rem;
  margin: 2rem 0;
}

.signature-box {
  margin-top: 2rem;
}

.signature-name {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--text-main);
}

.signature-title {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Cards Section - "O que você vai encontrar" */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

@media(min-width: 576px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(min-width: 992px) {
  .cards-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature-card {
  background-color: var(--bg-secondary);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--bg-accent);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary-green);
}

.feature-icon {
  background-color: var(--bg-accent-light);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-green);
  margin-bottom: 1.5rem;
  flex-shrink: 0;
}

.feature-card h4 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--color-dark-green);
}

.feature-card p {
  font-size: 1rem;
  margin-bottom: 0;
  flex-grow: 1;
}

/* Qualifications grid (Para quem é / Para quem não é) */
.qualify-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

@media(min-width: 992px) {
  .qualify-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.qualify-column {
  background-color: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--bg-accent);
}

.qualify-column.for-who {
  border-top: 5px solid var(--color-primary-green);
}

.qualify-column.not-for-who {
  border-top: 5px solid var(--color-alert-red);
}

.qualify-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

.qualify-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  font-size: 1.05rem;
}

.qualify-item svg {
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.qualify-item.yes svg {
  color: var(--color-primary-green);
}

.qualify-item.no svg {
  color: var(--color-alert-red);
}

/* Plans Section */
.plans-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: stretch;
  margin-top: 4rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

@media(min-width: 768px) {
  .plans-wrapper {
    grid-template-columns: 1fr 1.1fr;
  }
}

.plan-card {
  background-color: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  box-shadow: var(--shadow-sm);
  border: 2px solid var(--bg-accent);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--transition-normal);
}

.plan-card:hover {
  transform: translateY(-3px);
}

.plan-card.recommended {
  border-color: var(--color-primary-green);
  box-shadow: var(--shadow-lg);
}

.plan-badge {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-primary-green);
  color: var(--text-white);
  font-family: var(--font-headings);
  font-weight: 700;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.plan-title {
  font-size: 1.75rem;
  color: var(--color-dark-green);
  margin-bottom: 0.5rem;
  text-align: center;
}

.plan-price-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 1.5rem 0;
  gap: 4px;
}

.plan-price-old {
  font-size: 1.15rem;
  color: var(--text-muted);
  text-decoration: line-through;
  font-weight: 500;
}

.plan-price-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
}

.plan-price-currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
}

.plan-price-value {
  font-size: 3.5rem;
  font-weight: 800;
  font-family: var(--font-headings);
  color: var(--text-main);
  line-height: 1;
}

.plan-description {
  font-size: 1rem;
  text-align: center;
  margin-bottom: 2rem;
  min-height: 60px;
}

.plan-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-grow: 1;
}

.plan-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 1rem;
  color: var(--text-main);
}

.plan-feature-item.muted {
  color: #a0a0a0;
  text-decoration: line-through;
}

.plan-feature-item svg {
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.plan-feature-item:not(.muted) svg {
  color: var(--color-primary-green);
}

.plan-feature-item.muted svg {
  color: #cccccc;
}

.plan-anchoring {
  background-color: var(--bg-accent-light);
  border: 1px dashed var(--color-primary-green);
  border-radius: var(--radius-sm);
  padding: 1rem;
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-dark-green);
}

.plan-best-value {
  font-size: 0.85rem;
  color: var(--color-alert-red);
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 0.5rem;
  display: block;
}

/* Comparison Table */
.comparison-table-wrapper {
  overflow-x: auto;
  margin-top: 3rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--bg-accent);
  box-shadow: var(--shadow-sm);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  background-color: var(--bg-secondary);
  font-size: 1.05rem;
  min-width: 600px;
}

.comparison-table th, .comparison-table td {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--bg-primary);
}

.comparison-table th {
  background-color: var(--bg-accent);
  color: var(--color-dark-green);
  font-family: var(--font-headings);
  font-weight: 700;
}

.comparison-table tr:hover td {
  background-color: var(--bg-primary);
}

.comparison-table td svg {
  display: block;
  margin: 0;
}

/* FAQ / Objections Accordion */
.faq-wrapper {
  max-width: 800px;
  margin: 3rem auto 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background-color: var(--bg-secondary);
  border-radius: var(--radius-sm);
  border: 1px solid var(--bg-accent);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--color-primary-green);
}

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

.faq-trigger svg {
  transition: transform var(--transition-normal);
  color: var(--color-primary-green);
  flex-shrink: 0;
}

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

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal) ease-out;
  padding: 0 1.5rem;
}

.faq-item.active .faq-content {
  max-height: 500px; /* arbitrary height to fit content */
  padding: 0 1.5rem 1.5rem 1.5rem;
}

.faq-content p {
  margin-bottom: 0;
  font-size: 1.05rem;
}

/* Guarantee Box */
.guarantee-box {
  background-color: var(--bg-accent-light);
  border: 2px solid var(--bg-accent);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}

@media(min-width: 768px) {
  .guarantee-box {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    gap: 2.5rem;
  }
}

.guarantee-badge-img {
  background-color: var(--color-primary-green);
  color: var(--text-white);
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-md);
}

.guarantee-content h3 {
  color: var(--color-dark-green);
}

.guarantee-content p {
  margin-bottom: 0;
}

/* Final Call To Action */
.urgency-section {
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  border-top: 1px solid var(--bg-accent);
}

.urgency-buttons {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  margin-top: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.urgency-btn-container {
  width: 100%;
  text-align: center;
}

.urgency-btn-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  font-weight: 500;
}

/* Footer & Legal Notes */
footer {
  background-color: var(--color-dark-green);
  color: #b3c2bb;
  padding: 4rem 0 2rem 0;
  font-size: 0.95rem;
  border-top: 5px solid var(--color-primary-green);
}

footer h5 {
  color: var(--text-white);
  font-family: var(--font-headings);
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

footer p {
  color: #b3c2bb;
}

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

@media(min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

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

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

.footer-links a:hover {
  color: var(--text-white);
}

.legal-disclaimer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.85rem;
  line-height: 1.6;
}

/* Modal Simulation (Checkout Alert) */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
  z-index: 1000;
  padding: 1.5rem;
}

.modal.open {
  opacity: 1;
  pointer-events: all;
}

.modal-content {
  background-color: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 500px;
  width: 100%;
  position: relative;
  text-align: center;
  box-shadow: var(--shadow-lg);
  transform: scale(0.9);
  transition: transform var(--transition-normal);
}

.modal.open .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: none;
  border: none;
  font-size: 1.75rem;
  cursor: pointer;
  color: var(--text-muted);
}

.modal-close:hover {
  color: var(--text-main);
}

.modal-title {
  color: var(--color-dark-green);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.modal-price {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--color-alert-red);
  margin-bottom: 1.5rem;
  font-family: var(--font-headings);
}

/* ==========================================================================
   PÁGINAS LEGAIS (Termos, Privacidade, Aviso Legal, Isenção Médica)
   ========================================================================== */
.legal-header {
  background-color: var(--bg-secondary);
  color: var(--text-main);
  padding: 1.25rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: none;
  box-shadow: none;
}

.legal-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.legal-header .logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  font-family: var(--font-headings);
}

.legal-header .logo svg {
  color: var(--color-dark-green);
}

.btn-back-home {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-main);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  background-color: rgba(0, 0, 0, 0.02);
}

.btn-back-home:hover {
  background-color: rgba(0, 0, 0, 0.05);
  color: var(--color-dark-green);
  border-color: rgba(0, 0, 0, 0.2);
  transform: translateY(-1px);
}

.legal-hero {
  background-color: var(--bg-accent-light);
  padding: 4rem 0 3rem 0;
  border-bottom: 1px solid rgba(31, 77, 56, 0.08);
  text-align: center;
}

.legal-hero h1 {
  color: var(--color-dark-green);
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.legal-hero .last-updated {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
}

.legal-content-section {
  padding: 3rem 0;
}

.legal-card {
  background-color: var(--bg-secondary);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(31, 77, 56, 0.05);
  padding: 3rem;
  max-width: 800px;
  margin: 0 auto;
}

.legal-card h2 {
  color: var(--color-primary-green);
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  border-left: 4px solid var(--color-primary-green);
  padding-left: 0.75rem;
}

.legal-card h2:first-of-type {
  margin-top: 0;
}

.legal-card p {
  color: var(--text-main);
  line-height: 1.75;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.legal-card ul, .legal-card ol {
  margin-bottom: 1.5rem;
  padding-left: 1.75rem;
  color: var(--text-main);
}

.legal-card li {
  margin-bottom: 0.75rem;
  line-height: 1.6;
  font-size: 1.1rem;
}

.legal-card strong {
  color: var(--color-dark-green);
}

.legal-highlight-box {
  background-color: var(--bg-accent-light);
  border-left: 4px solid var(--color-primary-green);
  padding: 1.5rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 2rem 0;
}

.legal-highlight-box p {
  margin-bottom: 0;
  font-weight: 500;
  color: var(--color-dark-green);
}

.legal-footer-note {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.legal-footer-note a {
  color: var(--color-primary-green);
  text-decoration: underline;
  font-weight: 500;
}

@media (max-width: 768px) {
  .legal-hero {
    padding: 3rem 0 2rem 0;
  }
  .legal-hero h1 {
    font-size: 2rem;
  }
  .legal-card {
    padding: 1.75rem;
  }
}

/* ==========================================================================
   PROVA SOCIAL (Notificações Flutuantes)
   ========================================================================== */

.social-proof-container {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 1000;
  pointer-events: none; /* Let clicks pass through empty spaces */
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 340px;
  width: calc(100% - 48px);
}

.social-proof-toast {
  pointer-events: auto; /* Re-enable pointer events for the toast itself */
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(31, 77, 56, 0.12);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(31, 77, 56, 0.12);
  animation: toast-entrance 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.social-proof-toast::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background-color: var(--color-primary-green);
}

.social-proof-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(47, 107, 79, 0.1);
  color: var(--color-primary-green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.social-proof-content {
  flex-grow: 1;
}

.social-proof-text {
  font-size: 0.9rem;
  color: var(--text-main);
  line-height: 1.4;
  margin: 0;
}

.social-proof-text strong {
  color: var(--color-dark-green);
  font-weight: 700;
}

.social-proof-time {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
  margin-top: 4px;
  font-weight: 500;
}

.social-proof-toast.hide {
  animation: toast-exit 0.4s ease forwards;
}

@keyframes toast-entrance {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes toast-exit {
  from {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateX(-40px) scale(0.9);
  }
}

@media (max-width: 500px) {
  .social-proof-container {
    bottom: 16px;
    left: 16px;
    width: calc(100% - 32px);
  }
  
  .social-proof-toast {
    padding: 0.85rem;
  }
}

/* ==========================================================================
   POPUP DE SAÍDA (Exit-Intent)
   ========================================================================== */

.exit-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(31, 77, 56, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 1rem;
}

.exit-popup-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.exit-popup-content {
  background-color: var(--bg-secondary);
  border-radius: var(--radius-md);
  border: 2px solid var(--color-primary-green);
  box-shadow: var(--shadow-lg);
  padding: 2.5rem;
  max-width: 550px;
  width: 100%;
  text-align: center;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.15);
}

.exit-popup-overlay.open .exit-popup-content {
  transform: scale(1);
}

.exit-popup-close-btn {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: none;
  border: none;
  font-size: 1.75rem;
  cursor: pointer;
  color: var(--text-muted);
  line-height: 1;
}

.exit-popup-close-btn:hover {
  color: var(--text-main);
}

.exit-popup-title {
  color: var(--color-alert-red);
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.exit-popup-offer {
  color: var(--color-dark-green);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  line-height: 1.3;
}

.exit-popup-desc {
  font-size: 1rem;
  color: var(--text-main);
  line-height: 1.6;
  margin-bottom: 2rem;
  text-align: left;
  background-color: var(--bg-accent-light);
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--color-primary-green);
}

.exit-popup-btn-primary {
  width: 100%;
  padding: 1.1rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-white);
  background-color: var(--color-alert-red);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  text-decoration: none;
  display: block;
  margin-bottom: 1rem;
  text-align: center;
}

.exit-popup-btn-primary:hover {
  background-color: #a03527;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.exit-popup-btn-secondary {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  text-decoration: underline;
  cursor: pointer;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.exit-popup-btn-secondary:hover {
  color: var(--text-main);
}

@media (max-width: 480px) {
  .exit-popup-content {
    padding: 1.75rem;
  }
  .exit-popup-title {
    font-size: 1.5rem;
  }
  .exit-popup-offer {
    font-size: 1.15rem;
  }
}

/* ==========================================================================
   BARRA FIXA (Sticky Promo Bar)
   ========================================================================== */
:root {
  --promo-bar-height: 48px;
}

@media (max-width: 768px) {
  :root {
    --promo-bar-height: 52px;
  }
}

#sticky-promo-bar {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  height: var(--promo-bar-height);
  background-color: var(--color-dark-green);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-white);
  z-index: 105;
  display: flex;
  align-items: center;
  font-family: var(--font-headings);
  font-size: 0.95rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.promo-bar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.promo-text-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-grow: 1;
}

.promo-live-dot {
  width: 8px;
  height: 8px;
  background-color: #8cff66; /* bright lime green */
  border-radius: 50%;
  box-shadow: 0 0 8px #8cff66;
  animation: promo-pulse 1.8s infinite;
  flex-shrink: 0;
}

@keyframes promo-pulse {
  0% {
    transform: scale(0.9);
    opacity: 0.6;
    box-shadow: 0 0 0 0 rgba(140, 255, 102, 0.7);
  }
  70% {
    transform: scale(1.1);
    opacity: 1;
    box-shadow: 0 0 0 6px rgba(140, 255, 102, 0);
  }
  100% {
    transform: scale(0.9);
    opacity: 0.6;
    box-shadow: 0 0 0 0 rgba(140, 255, 102, 0);
  }
}

.promo-text-desktop {
  display: inline;
}

.promo-text-mobile {
  display: none;
}

#promo-today-date {
  color: #fce8a6; /* beautiful warm creme yellow */
  font-weight: 700;
}

.btn-promo-cta {
  background-color: var(--color-alert-red);
  color: var(--text-white);
  padding: 0.35rem 1.1rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  transition: all var(--transition-fast);
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-headings);
}

.btn-promo-cta:hover {
  background-color: #a03527;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}



/* Responsive adjust for mobile */
@media (max-width: 768px) {
  .promo-text-desktop {
    display: none;
  }
  
  .promo-text-mobile {
    display: inline;
    font-size: 0.85rem;
    font-weight: 500;
  }

  .btn-promo-cta {
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
  }
}

/* Custom Mobile Spacing & Layout Optimization */
@media (max-width: 576px) {
  .hero {
    padding: 3rem 0 2rem 0;
  }
  .section-padding {
    padding: 3rem 0;
  }
  .plan-card {
    padding: 2.5rem 1.5rem;
  }
  .qualify-column {
    padding: 2.5rem 1.5rem;
  }
  .modal-content {
    padding: 1.75rem 1.25rem;
  }
}

/* Legal Header Responsive Adjustments */
@media (max-width: 480px) {
  .legal-header-content {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
  }
}

/* Testimonials Section (Provas Sociais) */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

@media (max-width: 992px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

.testimonial-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--bg-accent);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

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

.testimonial-profile {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-primary-green);
}

.testimonial-meta {
  display: flex;
  flex-direction: column;
}

.testimonial-name {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-dark-green);
  line-height: 1.2;
}

.testimonial-age {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.testimonial-stars {
  color: #FFC107;
  display: flex;
  gap: 2px;
  margin-bottom: 0.75rem;
}

.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-main);
  margin-bottom: 0;
  font-style: italic;
}

/* ==========================================================================
   PORTAL NEWS STYLES (UOL Clone)
   ========================================================================== */

/* Top Utility Bar (UOL Style) */
.uol-top-bar {
  background-color: #1a1a1a;
  color: #999;
  font-size: 0.72rem;
  padding: 6px 0;
  border-bottom: 1px solid #2d2d2d;
  font-family: Arial, Helvetica, sans-serif;
}
.uol-top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.uol-nav-links {
  display: flex;
  gap: 15px;
}
.uol-nav-links a {
  color: #aaa;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.2s ease;
}
.uol-nav-links a:hover, .uol-nav-links a.active {
  color: #fff;
}
.uol-weather {
  color: #888;
}
@media (max-width: 576px) {
  .uol-weather {
    display: none;
  }
}

/* Main Editorial Header */
.editorial-header {
  background-color: #ffffff;
  border-bottom: 1px solid #e5e5e5;
  padding: 1.2rem 0;
  box-shadow: none;
}
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.uol-saude-logo {
  height: 52px;
  width: auto;
  display: block;
}
.logo-area a {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 12px;
}
.logo-tagline {
  font-size: 0.78rem;
  color: #555;
  font-family: Arial, sans-serif;
  line-height: 1.25;
  font-weight: 700;
  border-left: 1px solid #dcdcdc;
  padding-left: 12px;
  max-width: 150px;
  text-align: left;
}
@media (max-width: 400px) {
  .logo-area a {
    gap: 8px;
  }
  .logo-tagline {
    font-size: 0.68rem;
    max-width: 110px;
    padding-left: 8px;
  }
}
.search-bar {
  display: flex;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 5px 12px;
  background-color: #f8f8f8;
  width: 100%;
  max-width: 280px;
}
.search-bar input {
  border: none;
  background: none;
  font-size: 0.85rem;
  outline: none;
  color: #333;
  width: 100%;
}
.search-bar button {
  border: none;
  background: none;
  color: #888;
  cursor: pointer;
  display: flex;
  align-items: center;
}
@media (max-width: 768px) {
  .editorial-header {
    padding: 0.8rem 0;
  }
  .header-container {
    justify-content: center;
  }
  .search-bar {
    display: none;
  }
}

/* Portal Section Menu Navigation */
.uol-news-nav {
  background-color: #ffffff;
  border-bottom: 3px solid #f6a220; /* UOL orange/yellow accent */
  padding: 0;
}
.uol-nav-container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.nav-menu {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}
.nav-menu li a {
  display: inline-block;
  padding: 12px 5px;
  color: #333;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  font-family: Arial, Helvetica, sans-serif;
  border-bottom: 3px solid transparent;
  margin-bottom: -3px;
  transition: all 0.2s ease;
  letter-spacing: 0.5px;
}
.nav-menu li a:hover, .nav-menu li a.active {
  color: #f6a220;
  border-bottom-color: #f6a220;
}

@media (max-width: 576px) {
  .uol-top-bar-content {
    padding: 0 1rem;
  }
}

@media (max-width: 480px) {
  .uol-nav-links a:not(.active) {
    display: none; /* Hide secondary utility links to fit branding on narrow mobile screens */
  }
  .share-label {
    width: 100%;
    margin-bottom: 8px;
  }
  .share-btn {
    flex-grow: 1;
    justify-content: center;
    padding: 6px 10px;
    font-size: 0.72rem;
  }
  .comments-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
  .comments-title {
    font-size: 1.2rem;
  }
}

/* Clean custom horizontal scrollbar for sections navigation menu */
.uol-nav-container::-webkit-scrollbar {
  display: none;
}
.uol-nav-container {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

/* --- TRUST BADGES & GUARANTEE REDESIGN --- */
.checkout-trust-badges {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  font-weight: 600;
}

.checkout-trust-badges span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Guarantee Section Redesign */
.guarantee-box {
  background-color: var(--bg-secondary);
  border: 2px solid var(--color-primary-green);
  border-radius: var(--radius-md);
  padding: 3rem 2.5rem;
  display: flex;
  gap: 2.25rem;
  align-items: center;
  box-shadow: var(--shadow-md);
  max-width: 800px;
  margin: 0 auto;
}

.guarantee-badge-img {
  background: linear-gradient(135deg, var(--color-primary-green) 0%, var(--color-dark-green) 100%);
  color: #fff;
  border-radius: 50%;
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 16px rgba(47, 107, 79, 0.2);
}

.guarantee-badge-text {
  font-family: var(--font-headings);
  font-weight: 800;
  font-size: 1rem;
  text-align: center;
  line-height: 1.2;
}

.guarantee-badge-text span {
  display: block;
  font-size: 2.2rem;
  line-height: 1;
}

.guarantee-content h3 {
  color: var(--color-dark-green);
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
  font-weight: 800;
}

.guarantee-content p {
  margin-bottom: 0;
  font-size: 1.05rem;
  line-height: 1.6;
}

/* 3D Bundle Mockups Layout */
.bundle-mockup-wrapper {
  text-align: center;
  margin: 2.5rem 0;
}

.bundle-mockup-img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-normal);
}

.bundle-mockup-img:hover {
  transform: scale(1.02);
}

.benefit-card-img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background-color: var(--bg-accent-light);
  border-top-left-radius: calc(var(--radius-md) - 1px);
  border-top-right-radius: calc(var(--radius-md) - 1px);
  border-bottom: 1px solid rgba(47, 107, 79, 0.08);
}

/* Adjust features card padding when image is present */
.feature-card.has-img {
  padding-top: 0;
  overflow: hidden;
}

.feature-card.has-img .feature-icon {
  margin-top: 1rem;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.feature-card.has-img h4, .feature-card.has-img p {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.feature-card.has-img p {
  padding-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .guarantee-box {
    flex-direction: column;
    text-align: center;
    padding: 2.5rem 1.5rem;
  }
}


