/* ==========================================================================
   THEME.CSS - DÉBORA GARCIA | PSICÓLOGA CLÍNICA
   Design System, Tokens, Tipografia, Cores & Utilitários Globais
   Estética: Tema Branco / Neutro Acolhedor / Clareza Clínica & Humanizada
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  /* --- Paleta Primária (Verde Sálvia & Eucalipto Clínico) --- */
  --color-primary: #1e382b;             /* Verde botânico escuro, transmite autoridade e serenidade */
  --color-primary-light: #2c513e;       /* Variante mais clara para gradientes e destaques */
  --color-primary-dark: #12221a;        /* Base escura para contrastes pontuais */
  --color-primary-surface: #f2f7f4;     /* Fundo suave com nuance sálvia */
  --color-primary-tint: #e3ede6;        /* Bordas e separadores de elementos sálvia */
  --color-primary-rgb: 30, 56, 43;

  /* --- Cores de Acento (Areia Nobre & Ouro Suave) --- */
  --color-accent: #b68d5d;              /* Dourado areia refinado */
  --color-accent-hover: #9e7647;        /* Hover do acento */
  --color-accent-soft: #faf5ee;         /* Fundo de destaque acolhedor */
  --color-accent-border: #ebdcc9;       /* Borda sutil de destaque */
  --color-accent-gradient: linear-gradient(135deg, #c49a6c 0%, #a87e50 100%);
  --color-accent-rgb: 182, 141, 93;

  /* --- Marca WhatsApp --- */
  --color-whatsapp: #25d366;
  --color-whatsapp-hover: #1eb956;
  --color-whatsapp-soft: #edfbf2;
  --color-whatsapp-glow: rgba(37, 211, 102, 0.28);

  /* --- Estrela & Avaliações Google --- */
  --color-star: #f59e0b;
  --color-google-blue: #4285f4;

  /* --- Fundo e Superfícies (Tema Branco / Acolhedor) --- */
  --color-bg: #fbfbf9;                  /* Branco natural quente com leve nuance marfim */
  --color-bg-alt: #f4f6f4;              /* Seções alternadas em tom sálvia off-white */
  --color-bg-subtle: #edf2ee;           /* Cards secundários e caixas de informação */
  --color-surface: #ffffff;             /* Superfície dos cards e modais em branco puro */
  --color-surface-hover: #ffffff;

  /* --- Tipografia & Contrastes --- */
  --color-text-title: #15241d;          /* Títulos: contraste forte, sem ser preto puro */
  --color-text-body: #374b41;           /* Texto de leitura: equilíbrio de leitura e suavidade */
  --color-text-muted: #5e7368;          /* Texto secundário e notas explicativas */
  --color-text-subtle: #84998e;         /* Textos decorativos, datas e legendas */
  --color-text-light: #ffffff;          /* Texto para botões e fundos escuros */

  /* --- Bordas & Divisórias --- */
  --color-border: #e6ece8;              /* Borda sutil nos cards */
  --color-border-hover: #b4cbbe;        /* Borda ao passar o mouse */
  --color-border-light: #f0f4f1;        /* Separadores ultraleves */

  /* --- Tipografia --- */
  --font-serif: 'Lora', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: var(--font-serif);
  --font-body: var(--font-sans);

  /* --- Escala de Espaçamento --- */
  --container-max-width: 1200px;
  --container-padding: 1.5rem;
  --section-spacing: 5.5rem;
  --section-spacing-sm: 3.5rem;

  /* --- Raios de Borda (Bordas arredondadas e orgânicas) --- */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* --- Sombras (Leves, difusas e elegantes) --- */
  --shadow-subtle: 0 2px 8px rgba(21, 36, 29, 0.04);
  --shadow-card: 0 8px 24px -4px rgba(21, 36, 29, 0.06), 0 2px 6px -1px rgba(21, 36, 29, 0.03);
  --shadow-card-hover: 0 18px 36px -6px rgba(21, 36, 29, 0.1), 0 4px 12px -2px rgba(21, 36, 29, 0.05);
  --shadow-dropdown: 0 16px 40px rgba(21, 36, 29, 0.12);
  --shadow-whatsapp: 0 8px 25px var(--color-whatsapp-glow);
  --shadow-accent: 0 8px 25px rgba(var(--color-accent-rgb), 0.28);

  /* --- Transições --- */
  --transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   RESET E CONFIGURAÇÕES BASE
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text-body);
  line-height: 1.7;
  overflow-x: hidden;
}

/* Tipografia Base */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-text-title);
  font-weight: 600;
  line-height: 1.25;
}

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* ==========================================================================
   CONTAINER E ESTRUTURA
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.section {
  padding-top: var(--section-spacing);
  padding-bottom: var(--section-spacing);
  position: relative;
}

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

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

/* ==========================================================================
   CABEÇALHOS DE SEÇÃO
   ========================================================================== */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  background-color: var(--color-primary-surface);
  color: var(--color-primary);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  border: 1px solid var(--color-primary-tint);
}

.section-badge-accent {
  background-color: var(--color-accent-soft);
  color: var(--color-accent-hover);
  border-color: var(--color-accent-border);
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  letter-spacing: -0.01em;
  margin-bottom: 1.15rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* ==========================================================================
   BOTÕES E ELEMENTOS INTERATIVOS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.95rem 1.85rem;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-normal);
  text-align: center;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-text-light);
  box-shadow: 0 4px 14px rgba(30, 56, 43, 0.2);
}

.btn-primary:hover {
  background-color: var(--color-primary-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(30, 56, 43, 0.28);
}

.btn-whatsapp {
  background-color: var(--color-whatsapp);
  color: #ffffff;
  box-shadow: var(--shadow-whatsapp);
}

.btn-whatsapp:hover {
  background-color: var(--color-whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.42);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary-tint);
}

.btn-outline:hover {
  background-color: var(--color-primary-surface);
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.65rem 1.25rem;
  font-size: 0.88rem;
}

.btn-lg {
  padding: 1.15rem 2.25rem;
  font-size: 1.05rem;
}

/* ==========================================================================
   CARDS E SUPERFÍCIES
   ========================================================================== */
.card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

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

/* ==========================================================================
   UTILITÁRIOS E ANIMAÇÕES
   ========================================================================== */
.text-serif { font-family: var(--font-serif); }
.text-sans { font-family: var(--font-sans); }
.text-center { text-align: center; }
.text-primary { color: var(--color-primary); }
.text-accent { color: var(--color-accent); }
.text-muted { color: var(--color-text-muted); }

.fade-in-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}
