/* ============================================
   VARIÁVEIS CSS (DESIGN TOKENS)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* CORES - Paleta Moringa Magic */
  --moringa-primary: #FF69B4;        /* Rosa vibrante - CTAs, badges */
  --moringa-secondary: #FF1493;      /* Rosa escuro - hover states */
  --moringa-light: #FFE4F0;          /* Rosa muito claro - backgrounds */
  --moringa-dark: #C71585;           /* Rosa profundo - textos escuros */
  
  --neutral-white: #ffffff;          /* Backgrounds principais */
  --neutral-dark: #1a1a1a;           /* Textos escuros, headings */
  --neutral-light: #f8f9fa;          /* Backgrounds alternados */
  --neutral-gray: #666666;           /* Body text */
  --neutral-light-gray: #999999;     /* Secondary text */
  --neutral-border: #e0e0e0;         /* Card borders */

  /* TIPOGRAFIA */
  --font-primary: 'Inter', sans-serif;      /* Body text */
  --font-secondary: 'Poppins', sans-serif;  /* Headlines */
  
  /* ESPAÇAMENTO */
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 32px;
  --spacing-xl: 40px;
  --spacing-2xl: 80px;

  /* BORDER RADIUS */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;

  /* SOMBRAS */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);

  /* TRANSIÇÕES */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   RESET & BASE
   ============================================ */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--neutral-dark);
  background-color: var(--neutral-white);
  overflow-x: hidden;
}

/* ============================================
   TIPOGRAFIA GLOBAL
   ============================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  font-weight: 700;
  line-height: 1.2;
  color: var(--neutral-dark);
}

h1 {
  font-size: clamp(2rem, 6vw, 3.5rem);
  color: var(--moringa-primary);
}

h2 {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  color: var(--neutral-dark);
}

h3 {
  font-size: clamp(1.25rem, 4vw, 1.75rem);
  color: var(--moringa-primary);
}

p {
  margin-bottom: var(--spacing-md);
  color: var(--neutral-gray);
  font-size: 1.1rem;
}

a {
  color: var(--moringa-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--moringa-secondary);
}

/* ============================================
   LAYOUT GLOBAL
   ============================================ */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
  width: 100%;
}

section {
  padding: var(--spacing-2xl) 0;
}

.section__title {
  text-align: center;
  margin-bottom: var(--spacing-xl);
  font-size: clamp(1.75rem, 5vw, 2.5rem);
}

.section__subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: var(--neutral-gray);
  max-width: 600px;
  margin: 0 auto var(--spacing-2xl);
}

/* ============================================
   COMPONENTES: BOTÕES
   ============================================ */

.btn {
  display: inline-block;
  font-family: var(--font-secondary);
  font-weight: 600;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 2px solid var(--moringa-primary);
  outline-offset: 2px;
}

.btn--primary {
  background: var(--moringa-primary);      /* #FF69B4 - Rosa vibrante */
  color: var(--neutral-white);             /* #ffffff - BRANCO */
  padding: var(--spacing-sm) var(--spacing-lg);
  font-size: 1rem;
  box-shadow: var(--shadow-md);
}

.btn--primary:hover {
  background: var(--moringa-secondary);    /* #FF1493 - Rosa escuro */
  color: var(--neutral-white);             /* ← ESTA ERA A LINHA QUE FALTAVA! */
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--primary:focus-visible {
  outline: 2px solid var(--moringa-secondary);
  outline-offset: 2px;
}

.btn--primary:active {
  transform: translateY(0);
  color: var(--neutral-white);             /* Mantém branco no click */
  background: var(--moringa-secondary);    /* Mantém cor escura */
}

.btn--primary:disabled {
  background: #cccccc;                     /* Cinza desativado */
  color: #999999;                          /* Texto cinza */
  cursor: not-allowed;
  opacity: 0.6;
  transform: none;
  box-shadow: none;
}

.btn--sm {
  padding: 8px 16px;
  font-size: 0.9rem;
}

.btn--lg {
  padding: var(--spacing-lg) var(--spacing-xl);
  font-size: 1.2rem;
}

.btn--block {
  width: 100%;
  display: block;
}

/* ============================================
   COMPONENTES: CARDS
   ============================================ */

.card {
  background: var(--neutral-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: var(--spacing-xl);
  transition: all var(--transition);
  text-align: center;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.card__title {
  color: var(--moringa-primary);
  margin-bottom: var(--spacing-md);
  font-size: 1.5rem;
}

.card__text {
  color: var(--neutral-gray);
  font-size: 1rem;
  line-height: 1.6;
}

.card__consequence {
  font-style: italic;
  color: var(--moringa-secondary);
  margin-top: var(--spacing-md);
  font-size: 0.95rem;
}

/* ============================================
   COMPONENTES: BADGES
   ============================================ */

.badge {
  display: inline-block;
  padding: 6px 14px;
  background: var(--moringa-light);
  color: var(--moringa-dark);
  border: 1px solid var(--moringa-primary);
  border-radius: var(--radius-lg);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  transition: all var(--transition-fast);
  margin: 4px;
}

.badge:hover {
  background: var(--moringa-primary);
  color: var(--neutral-white);
  transform: scale(1.05);
}

/* ============================================
   HEADER FIXO
   ============================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 0;
  box-shadow: var(--shadow-sm);
  height: 70px;
  display: flex;
  align-items: center;
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-secondary);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--moringa-primary);
  transition: color var(--transition-fast);
}

.header__logo:hover {
  color: var(--moringa-secondary);
}

.header__icon {
  font-size: 1.5rem;
}

.header__brand {
  font-size: 1.125rem;
}

.header__nav {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.header__nav-link {
  color: var(--neutral-dark);
  font-weight: 500;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
  position: relative;
}

.header__nav-link:hover {
  color: var(--moringa-primary);
}

.header__nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--moringa-primary);
  transition: width var(--transition-fast);
}

.header__nav-link:hover::after {
  width: 100%;
}

/* ============================================
   BREAKING NEWS BANNER
   ============================================ */

.breaking-news {
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: linear-gradient(90deg, var(--moringa-secondary) 0%, var(--moringa-primary) 100%);
  color: var(--neutral-white);
  height: 45px;
  display: flex;
  align-items: center;
  overflow: hidden;
  z-index: 999;
  padding: 0 var(--spacing-md);
}

.breaking-news__content {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  animation: marquee 20s linear infinite;
}

.breaking-news__icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.breaking-news__label {
  font-weight: 700;
  flex-shrink: 0;
  font-size: 0.9rem;
}

.breaking-news__marquee {
  flex-shrink: 0;
  font-size: 0.9rem;
}

@keyframes marquee {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  margin-top: calc(70px + 45px);
  padding: var(--spacing-2xl) var(--spacing-md);
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-2xl);
  align-items: flex-end;
  width: 100%;
}

.hero__left {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.hero__title {
  font-size: clamp(2rem, 6vw, 3.5rem);
  line-height: 1.2;
  color: var(--moringa-primary);
  margin-bottom: var(--spacing-md);
}

.hero__title-accent {
  color: var(--moringa-secondary);
  font-size: 0.8em;
}

.hero__subtitle {
  font-size: 1.2rem;
  color: var(--neutral-gray);
  line-height: 1.6;
  margin-bottom: var(--spacing-lg);
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-lg);
}

.hero__right {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
  justify-content: flex-end;
  height: 100%;
}

.hero__layer {
  background: none;
  border: none;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  position: static;
  width: 100%;
  overflow: hidden;
  animation: fadeIn 0.8s ease-out forwards;
}

.hero__layer--1 {
  width: 100%;
  height: 320px;
  background: none;
  animation-delay: 0.1s;
}

.hero__layer--2 {
  width: 100%;
  height: 200px;
  background: none;
  animation-delay: 0.2s;
}

.hero__layer--3 {
  width: 100%;
  background: var(--moringa-primary);
  color: var(--neutral-white);
  padding: var(--spacing-xl);
  flex-direction: column;
  gap: var(--spacing-md);
  height: auto;
  animation-delay: 0.3s;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  border-radius: none;
  background: none;
  border: none;
}

.placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
  font-size: 1rem;
}

.hero__card-title {
  color: var(--neutral-white);
  font-size: 1.3rem;
  margin: 0;
  margin-bottom: var(--spacing-md);
  font-weight: 700;
}

.hero__card-list {
  list-style: none;
  gap: var(--spacing-sm);
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  margin-bottom: var(--spacing-lg);
  text-align: left;
}

.hero__card-list li {
  font-size: 0.95rem;
  color: var(--neutral-white);
  margin: 0;
  line-height: 1.5;
}

/* ============================================
   PROBLEM SECTION
   ============================================ */

.problem-section {
  background: var(--neutral-light);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
}

.cards-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

/* ============================================
   SOLUTION SECTION
   ============================================ */

.solution-section {
  background: linear-gradient(135deg, rgba(255, 105, 180, 0.05) 0%, rgba(255, 20, 147, 0.05) 100%);
}

.section__cta-center {
  display: flex;
  justify-content: center;
  margin-top: var(--spacing-xl);
}

/* ============================================
   BENEFITS SECTION
   ============================================ */

.ingredients-section {
  background: var(--neutral-light);
}

/* ============================================
   VALUE STACK SECTION
   ============================================ */

.value-stack-section {
  background: linear-gradient(180deg, var(--moringa-primary) 0%, var(--moringa-light) 80%);
  color: var(--neutral-dark);
}

.value-stack-section .section__title {
  color: var(--neutral-white);
}

.value-stack-section .section__subtitle {
  color: var(--neutral-white);
}

.value-stack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-2xl);
}

.value-stack-card {
  background: var(--neutral-white);
  border: 2px solid var(--moringa-primary);
  border-radius: var(--radius-md);
  padding: var(--spacing-xl);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  position: relative;
  transition: all var(--transition);
  transform: scale(0.95);
}

.value-stack-card:hover {
  transform: scale(0.98);
  box-shadow: var(--shadow-lg);
}

.value-stack-card--featured {
  border-color: var(--moringa-secondary);
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

.value-stack-card--featured:hover {
  transform: scale(1.08);
}

.value-stack__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--moringa-secondary);
  color: var(--neutral-white);
  padding: 6px 16px;
  border-radius: var(--radius-lg);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.value-stack__image {
  width: 100%;
  height: 200px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--moringa-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neutral-white);
  font-weight: 600;
}

.value-stack__name {
  font-size: 1.5rem;
  color: var(--neutral-dark);
  margin-bottom: 8px;
}

.value-stack__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.value-stack__price-main {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--moringa-primary);
}

.value-stack__price-unit {
  font-size: 0.9rem;
  color: var(--neutral-gray);
}

.value-stack__benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.value-stack__benefits li {
  font-size: 0.95rem;
  color: var(--neutral-gray);
}

.value-stack__savings {
  background: #fff3cd;
  color: var(--moringa-secondary);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
}

.value-stack__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--spacing-md);
  border-top: 1px solid var(--neutral-border);
}

.value-stack__total-label {
  font-weight: 600;
  color: var(--neutral-gray);
}

.value-stack__total-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--moringa-primary);
}

/* ============================================
   GUARANTEE SECTION
   ============================================ */

.guarantee-section {
  background: var(--neutral-light);
  text-align: center;
}

.guarantee-text {
  font-size: 1.1rem;
  color: var(--neutral-gray);
  max-width: 700px;
  margin: 0 auto var(--spacing-lg);
}

.guarantee-subtext {
  font-size: 1rem;
  color: var(--neutral-gray);
  margin-bottom: var(--spacing-xl);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: var(--moringa-primary);
  color: var(--neutral-white);
  padding: var(--spacing-2xl) 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--spacing-xl);
  width: 100%;
  max-width: 1200px;
  padding: 0 var(--spacing-md);
}

.footer__logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--font-secondary);
  font-weight: 700;
  font-size: 1.3rem;
}

.footer__icon {
  font-size: 2rem;
}

.footer__brand {
  font-size: 1.2rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.footer__link {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer__link:hover {
  color: var(--neutral-white);
}

.footer__disclaimer {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  max-width: 600px;
}

.footer__copyright {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: var(--spacing-md);
}

/* ============================================
   ANIMAÇÕES
   ============================================ */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all var(--transition);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVIDADE - TABLET (768px - 1023px)
   ============================================ */

@media (max-width: 1023px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    align-items: stretch;
  }

  .hero__right {
    height: auto;
  }

  .header__nav {
    display: none;
  }

  .cards-grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .value-stack-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  section {
    padding: var(--spacing-xl) 0;
  }
}

/* ============================================
   RESPONSIVIDADE - MOBILE (<767px)
   ============================================ */

@media (max-width: 767px) {
  .container {
    padding: 0 var(--spacing-sm);
  }

  .site-header {
    padding: var(--spacing-xs) 0;
    height: 60px;
  }

  .header__inner {
    padding: 0 var(--spacing-sm);
  }

  .breaking-news {
    top: 60px;
    height: 40px;
    padding: 0 var(--spacing-sm);
  }

  .breaking-news__content {
    animation: marquee 15s linear infinite;
  }

  .breaking-news__label,
  .breaking-news__marquee {
    font-size: 0.75rem;
  }

  .hero {
    margin-top: calc(60px + 40px);
    padding: var(--spacing-xl) var(--spacing-sm);
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  .hero__title {
    font-size: clamp(1.5rem, 4vw, 2rem);
  }

  .hero__right {
    height: auto;
  }

  .hero__layer--1 {
    height: 250px;
  }

  .hero__layer--2 {
    height: 150px;
  }

  .header__nav {
    display: none;
  }

  .header__logo {
    font-size: 1rem;
  }

  .header__brand {
    font-size: 0.875rem;
  }

  .btn--lg {
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
  }

  .hero__badges {
    flex-direction: column;
  }

  .badge {
    width: 100%;
    text-align: center;
  }

  .cards-grid--3 {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  .value-stack-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  .value-stack-card {
    transform: scale(1);
  }

  .value-stack-card--featured {
    transform: scale(1);
  }

  section {
    padding: var(--spacing-xl) 0;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .footer__content {
    gap: var(--spacing-lg);
  }
}