/*
Theme Name: Valeska Canci
Theme URI: https://valeskacanci.com.br
Author: Valeska Canci
Description: Tema personalizado para o site da terapeuta sistêmica Valeska Canci.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: valeska-canci
*/

/* ========== RESET & BASE ========== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Lato:wght@300;400;500;700&display=swap');

:root {
  --bg: hsl(35, 30%, 96%);
  --fg: hsl(25, 20%, 18%);
  --primary: hsl(16, 45%, 45%);
  --primary-fg: hsl(35, 30%, 96%);
  --secondary: hsl(145, 18%, 42%);
  --muted: hsl(25, 10%, 45%);
  --card: hsl(35, 25%, 93%);
  --accent: hsl(35, 35%, 85%);
  --border: hsl(35, 20%, 85%);
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Lato', sans-serif;
}

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

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); }

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ========== NAVBAR ========== */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: hsla(35, 30%, 96%, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid hsla(35, 20%, 85%, 0.5);
}
.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.site-nav .logo {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--fg);
}
.site-nav .nav-links { display: flex; align-items: center; gap: 2rem; }
.site-nav .nav-links a {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--muted);
  transition: color 0.2s;
}
.site-nav .nav-links a:hover,
.site-nav .nav-links a.current { color: var(--primary); font-weight: 500; }
.btn-primary {
  background: var(--primary);
  color: var(--primary-fg);
  font-family: var(--font-body);
  font-size: 0.875rem;
  padding: 0.5rem 1.25rem;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
  display: inline-block;
}
.btn-primary:hover { opacity: 0.9; }
.btn-primary.lg { padding: 1rem 2rem; font-size: 1rem; }

/* Mobile menu toggle */
.menu-toggle { display: none; background: none; border: none; cursor: pointer; }
@media (max-width: 768px) {
  .site-nav .nav-links { display: none; }
  .menu-toggle { display: block; }
  .site-nav.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--bg);
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border);
    gap: 0.75rem;
  }
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.3;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, hsla(35,30%,96%,0.95), hsla(35,30%,96%,0.8), hsla(35,30%,96%,0.4));
}
.hero .container { position: relative; z-index: 1; padding-top: 5rem; padding-bottom: 5rem; }
.hero-content { max-width: 640px; }
.hero-subtitle {
  color: var(--secondary);
  font-family: var(--font-body);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  line-height: 1.15;
  color: var(--fg);
  margin-bottom: 2rem;
}
.hero h1 em { color: var(--primary); font-style: italic; }
.hero-text {
  font-size: 1.125rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 2.5rem;
}

/* ========== SECTIONS ========== */
.section { padding: 6rem 0; }
.section-label {
  color: var(--secondary);
  font-family: var(--font-body);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 1rem;
}
.section-title {
  font-size: clamp(1.875rem, 3vw, 2.5rem);
  color: var(--fg);
  margin-bottom: 1.5rem;
}

/* Empathy */
.empathy { text-align: center; }
.empathy .container { max-width: 768px; }
.pain-list { list-style: none; margin-top: 3rem; }
.pain-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--card);
  border-radius: 0.75rem;
  padding: 1rem 1.5rem;
  margin-bottom: 1rem;
  text-align: left;
}
.pain-item::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}
.quote {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--primary);
  font-style: italic;
  margin-top: 3rem;
}

/* About */
.about { background: hsla(35, 35%, 85%, 0.5); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 1024px) { .about-grid { grid-template-columns: 1fr; } }
.about-img {
  border-radius: 1rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  width: 100%;
  max-width: 400px;
  object-fit: cover;
  aspect-ratio: 4/5;
}
.about-text p { color: var(--muted); margin-bottom: 1.25rem; }
.about-text strong { color: var(--fg); }

/* Pillars */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 960px;
  margin: 0 auto;
}
@media (max-width: 768px) { .pillars-grid { grid-template-columns: 1fr; } }
.pillar { text-align: center; padding: 2rem; }
.pillar-number {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: hsla(145, 18%, 42%, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--secondary);
  font-weight: 600;
}
.pillar h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }
.pillar p { color: var(--muted); }

/* CTA */
.cta { background: hsla(16, 45%, 45%, 0.05); text-align: center; }
.cta .container { max-width: 640px; }
.cta p { font-size: 1.125rem; color: var(--muted); line-height: 1.7; margin-bottom: 2.5rem; }

/* ========== BLOG ========== */
.blog-hero { padding-top: 7rem; padding-bottom: 4rem; background: hsla(35, 35%, 85%, 0.3); }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
@media (max-width: 1024px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-card {
  background: var(--card);
  border-radius: 0.75rem;
  border: 1px solid hsla(35, 20%, 85%, 0.6);
  overflow: hidden;
  transition: box-shadow 0.3s;
}
.blog-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
.blog-card-bar { height: 6px; background: linear-gradient(to right, var(--primary), var(--secondary)); }
.blog-card-body { padding: 1.5rem; }
.blog-card .category {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
  color: var(--secondary);
  background: hsla(145, 18%, 42%, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.blog-card h2 {
  font-size: 1.25rem;
  line-height: 1.3;
  margin-bottom: 0.75rem;
  transition: color 0.2s;
}
.blog-card:hover h2 { color: var(--primary); }
.blog-card .excerpt { font-size: 0.875rem; color: var(--muted); margin-bottom: 1.5rem; }
.blog-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid hsla(35, 20%, 85%, 0.5);
  font-size: 0.75rem;
  color: var(--muted);
}
.blog-card .read-more { color: var(--primary); font-weight: 500; font-size: 0.875rem; }

/* ========== FOOTER ========== */
.site-footer { padding: 4rem 0; border-top: 1px solid var(--border); text-align: center; }
.site-footer .footer-quote {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  color: var(--muted);
  font-style: italic;
  max-width: 560px;
  margin: 0 auto 2rem;
}
.site-footer .footer-quote cite {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  font-style: normal;
  letter-spacing: 0.05em;
}
.site-footer .copyright {
  font-size: 0.875rem;
  color: var(--muted);
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
