/* ==========================================================================
   GUIA DE ALIMENTAÇÃO PARA QUEM USA MOUNJARO — DESIGN SYSTEM
   Base Styles, CSS Variables, Typography, Layout & Utilities
   ========================================================================== */

:root {
  /* Paleta de Cores Quente, Editorial e Terapêutica */
  --bg: #FAF7F2;
  --bg-alt: #F3ECE1;
  --bg-subtle: #EBE2D4;
  --surface: #FFFFFF;
  --surface-soft: rgba(255, 255, 255, 0.85);
  
  --dark: #1A1714;
  --dark-surface: #24201C;
  --dark-border: rgba(255, 255, 255, 0.12);
  
  --text: #26211A;
  --text-muted: #695F54;
  --text-light: #FBF8F3;
  --text-light-muted: rgba(251, 248, 243, 0.72);
  
  --sage: #365B3F;
  --sage-dark: #27432E;
  --sage-light: #4A7755;
  --sage-soft: rgba(54, 91, 63, 0.10);
  --sage-border: rgba(54, 91, 63, 0.22);
  
  --accent: #C8522E;
  --accent-dark: #A63F20;
  --accent-light: #E06742;
  --accent-soft: rgba(200, 82, 46, 0.10);
  --accent-glow: rgba(200, 82, 46, 0.35);
  
  --gold: #C68B29;
  --gold-soft: rgba(198, 139, 41, 0.12);
  
  --border: rgba(38, 33, 26, 0.12);
  --border-strong: rgba(38, 33, 26, 0.22);
  
  --shadow-xs: 0 1px 3px rgba(26, 23, 20, 0.05);
  --shadow-sm: 0 4px 12px rgba(26, 23, 20, 0.06);
  --shadow-md: 0 10px 28px rgba(26, 23, 20, 0.09);
  --shadow-lg: 0 20px 48px rgba(26, 23, 20, 0.13);
  --shadow-glow: 0 8px 30px rgba(200, 82, 46, 0.28);
  
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --radius-full: 9999px;
  
  --serif: 'Spectral', Georgia, 'Times New Roman', serif;
  --sans: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  
  --container-max: 1140px;
  --container-narrow: 860px;
  --container-text: 680px;
  
  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   RESET & BASE SETUP
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg);
  font-family: var(--sans);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

button, input, select, textarea {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: var(--sage);
  color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   LAYOUT UTILITIES
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.container-narrow {
  max-width: var(--container-narrow);
}

.container-text {
  max-width: var(--container-text);
}

.section {
  padding-top: 84px;
  padding-bottom: 84px;
  position: relative;
}

.section-alt {
  background-color: var(--bg-alt);
}

.section-dark {
  background-color: var(--dark);
  color: var(--text-light);
}

.section-surface {
  background-color: var(--surface);
}

/* Headers de Seções */
.section-header {
  text-align: center;
  margin-bottom: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage);
  background: var(--sage-soft);
  border: 1px solid var(--sage-border);
  padding: 6px 16px;
  border-radius: var(--radius-full);
}

.section-tag.tag-accent {
  color: var(--accent);
  background: var(--accent-soft);
  border-color: rgba(200, 82, 46, 0.22);
}

.section-tag.tag-dark {
  color: #E29A80;
  background: rgba(226, 154, 128, 0.12);
  border-color: rgba(226, 154, 128, 0.24);
}

.section-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.22;
  color: var(--text);
  max-width: 760px;
}

.section-dark .section-title {
  color: var(--text-light);
}

.section-subtitle {
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 620px;
}

.section-dark .section-subtitle {
  color: var(--text-light-muted);
}

/* Grids */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

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

@media (max-width: 720px) {
  .section {
    padding-top: 56px;
    padding-bottom: 56px;
  }
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .container {
    padding-left: 18px;
    padding-right: 18px;
  }
}

/* --------------------------------------------------------------------------
   BOTÕES & AÇÕES (CTA)
   -------------------------------------------------------------------------- */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #FFFFFF !important;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
  padding: 18px 36px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-glow);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
  text-decoration: none;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: skewX(-20deg);
  transition: none;
  animation: btnShine 4s infinite ease-in-out;
}

@keyframes btnShine {
  0% { left: -100%; }
  25% { left: 140%; }
  100% { left: 140%; }
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 34px rgba(200, 82, 46, 0.42);
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
}

.cta-btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 14px rgba(200, 82, 46, 0.35);
}

.cta-btn-lg {
  font-size: 19px;
  padding: 22px 42px;
  width: 100%;
  max-width: 520px;
}

.cta-btn .cta-arrow {
  display: inline-flex;
  transition: transform var(--transition-fast);
}

.cta-btn:hover .cta-arrow {
  transform: translateX(4px);
}

/* Micro badges de confiança abaixo do CTA */
.cta-trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.cta-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
}

.section-dark .cta-trust-item {
  color: var(--text-light-muted);
}

.cta-trust-item svg {
  color: var(--sage);
  flex-shrink: 0;
}
