/*
Theme Name: Canine Vitality System
Theme URI: https://example.com
Author: Dr Rennan Viegas
Author URI: https://example.com
Description: Landing page tema para o Canine Vitality System - nutrição real para cães mais saudáveis.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: canine-vitality
*/

/* ========== RESET & BASE ========== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800;900&family=DM+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --bg: #faf7f2;
  --fg: #262018;
  --primary: #2d6b4f;
  --primary-fg: #faf7f2;
  --accent: #e5a220;
  --accent-fg: #1a1207;
  --muted: #8a7e6e;
  --cream: #f0eade;
  --cream-dark: #ddd5c5;
  --highlight: #e8f3ed;
  --highlight-fg: #2d6b4f;
  --destructive: #dc3545;
  --border: #e2dbd0;
  --card-bg: #f5f0e8;
  --radius: 0.75rem;
}

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

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.2;
}

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

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

/* ========== UTILITIES ========== */
.text-center { text-align: center; }
.text-gradient {
  background: linear-gradient(135deg, var(--primary), #b37a1a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn-cta {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-fg);
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 24px -4px rgba(229, 162, 32, 0.4);
  transition: filter 0.3s, transform 0.3s;
  animation: pulse-soft 2s ease-in-out infinite;
}
.btn-cta:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

@keyframes pulse-soft {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in-up {
  animation: fade-in-up 0.6s ease-out forwards;
}

/* ========== HERO ========== */
.hero {
  background: linear-gradient(180deg, var(--cream) 0%, var(--bg) 100%);
  padding: 5rem 0;
  overflow: hidden;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.hero h1 em {
  font-style: italic;
}
.hero p.subtitle {
  max-width: 640px;
  margin: 0 auto 2.5rem;
  font-size: 1.15rem;
  color: var(--muted);
}
.hero-image {
  max-width: 750px;
  margin: 3.5rem auto 0;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 8px 32px -8px rgba(180, 140, 80, 0.2);
}

/* ========== SECTIONS COMMON ========== */
.section { padding: 5rem 0; }
.section-cream { background: var(--cream); }
.section-warm { background: linear-gradient(135deg, rgba(229,162,32,0.12), rgba(180,122,26,0.06)); }
.section h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
}
.section .lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

/* ========== PROBLEM CARDS ========== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  text-align: center;
  box-shadow: 0 8px 32px -8px rgba(180, 140, 80, 0.15);
}
.card .icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--highlight);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
}
.card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.card p { font-size: 0.9rem; color: var(--muted); }

/* ========== QUOTE ========== */
.quote-block {
  background: var(--highlight);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  font-style: italic;
  font-size: 1.1rem;
  text-align: center;
  color: var(--fg);
}

/* ========== AUDIT RED FLAGS ========== */
.flag-list { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 2.5rem; }
.flag-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.flag-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(220, 53, 69, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
}
.flag-item h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.25rem; }
.flag-item p { font-size: 0.9rem; color: var(--muted); }

/* ========== HIGHLIGHT CARDS (emotional shift) ========== */
.highlight-card {
  background: var(--highlight);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}
.highlight-card .h-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.highlight-card h3 { font-size: 1.2rem; margin-bottom: 0.25rem; }
.highlight-card p { font-size: 0.9rem; color: var(--muted); }

/* ========== PRODUCT BOOKS ========== */
.book-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 8px 32px -8px rgba(180, 140, 80, 0.15);
}
.book-card .emoji { font-size: 3.5rem; margin-bottom: 1rem; display: block; }
.book-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.5rem; }
.book-card p { font-size: 0.9rem; color: var(--muted); }

/* ========== TESTIMONIALS ========== */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.testimonial {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 8px 32px -8px rgba(180, 140, 80, 0.15);
}
.stars { color: var(--accent); font-size: 1.2rem; margin-bottom: 0.75rem; }
.testimonial blockquote {
  font-style: italic;
  margin-bottom: 1rem;
  line-height: 1.7;
}
.testimonial cite {
  font-style: normal;
  font-size: 0.875rem;
  color: var(--muted);
  font-weight: 500;
}

/* ========== OFFER ========== */
.offer-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2.5rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 8px 32px -8px rgba(180, 140, 80, 0.15);
}
.offer-box h3 { font-size: 1.3rem; margin-bottom: 1.5rem; }
.check-list { list-style: none; display: flex; flex-direction: column; gap: 1.25rem; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.check-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--primary-fg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.8rem;
  margin-top: 2px;
}
.check-list .value { font-size: 0.85rem; color: var(--muted); }

.price-block { margin-bottom: 2rem; }
.price-block .label { font-size: 0.9rem; color: var(--muted); margin-bottom: 0.25rem; }
.price-block .amount {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 6vw, 4rem);
  font-weight: 700;
  color: var(--primary);
}
.price-block .note { font-size: 0.9rem; color: var(--muted); margin-top: 0.25rem; }

/* ========== GUARANTEE ========== */
.guarantee { max-width: 640px; margin: 0 auto; }
.guarantee .shield { font-size: 3.5rem; margin-bottom: 1rem; }
.guarantee h2 { font-size: 2rem; margin-bottom: 1rem; }
.guarantee p { color: var(--muted); font-size: 1.1rem; }
.guarantee strong { color: var(--fg); }

/* ========== FAQ ========== */
.faq-list { max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--fg);
}
.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  transition: transform 0.3s;
}
.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 1.5rem 1.25rem;
}
.faq-answer p { color: var(--muted); line-height: 1.7; }

/* ========== FOOTER ========== */
.site-footer {
  background: var(--fg);
  color: var(--primary-fg);
  padding: 2.5rem 0;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.8;
}
.site-footer p { margin-bottom: 0.5rem; }
.site-footer .legal { font-size: 0.75rem; max-width: 600px; margin: 0.75rem auto 0; line-height: 1.6; }

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .hero { padding: 3rem 0; }
  .section { padding: 3.5rem 0; }
  .cards-grid { grid-template-columns: 1fr; }
  .btn-cta { font-size: 1rem; padding: 0.875rem 2rem; }
}
