/*
Theme Name: Terapia e Equilibrio
Theme URI: https://terapiaequilibrio.com
Author: Leonardo Reis
Author URI: https://terapiaequilibrio.com
Description: Tema personalizado para Terapia & Equilíbrio - Cuidando do ser humano de forma integral. Compatível com Elementor.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: terapia-equilibrio
Tags: one-column, custom-menu, elementor, therapy, wellness
*/

/* ===== 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=Source+Sans+3:wght@300;400;500;600;700&display=swap');

:root {
  --te-primary: hsl(207, 80%, 24%);
  --te-primary-light: hsl(200, 60%, 45%);
  --te-primary-fg: hsl(210, 40%, 98%);
  --te-bg: hsl(210, 30%, 98%);
  --te-fg: hsl(210, 50%, 10%);
  --te-muted: hsl(210, 30%, 94%);
  --te-muted-fg: hsl(210, 20%, 45%);
  --te-accent: hsl(200, 50%, 88%);
  --te-accent-fg: hsl(207, 80%, 24%);
  --te-border: hsl(210, 25%, 88%);
  --te-card: hsl(0, 0%, 100%);
  --te-whatsapp: hsl(142, 70%, 40%);
  --te-radius: 0.75rem;
}

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

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

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

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

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

/* ===== NAV ===== */
.te-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--te-border);
  background: hsla(210, 30%, 98%, 0.8);
  backdrop-filter: blur(12px);
}

.te-nav-inner {
  max-width: 1152px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
}

.te-nav-logo {
  height: 2.5rem;
}

.te-nav-links {
  display: none;
  gap: 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.te-nav-links a {
  color: var(--te-muted-fg);
  transition: color 0.2s;
}

.te-nav-links a:hover {
  color: var(--te-primary);
}

@media (min-width: 768px) {
  .te-nav-links { display: flex; }
  .te-nav-logo { height: 3rem; }
}

.te-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 1rem;
  border-radius: var(--te-radius);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background 0.2s, transform 0.1s;
}

.te-btn:hover { transform: translateY(-1px); }

.te-btn-primary {
  background: var(--te-primary);
  color: var(--te-primary-fg);
}

.te-btn-primary:hover { background: hsl(207, 80%, 20%); }

.te-btn-lg {
  padding: 0.75rem 2rem;
  font-size: 1rem;
}

.te-btn-white {
  background: var(--te-primary-fg);
  color: var(--te-primary);
}

.te-btn-white:hover { background: hsl(210, 40%, 93%); }

.te-btn-whatsapp {
  background: var(--te-whatsapp);
  color: white;
}

.te-btn-whatsapp:hover { background: hsl(142, 70%, 35%); }

/* ===== HERO ===== */
.te-hero {
  position: relative;
  overflow: hidden;
  background: hsl(200, 75%, 80%);
  padding: 2.5rem 0;
  text-align: center;
}

.te-hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top left, hsla(207, 80%, 24%, 0.8), transparent 50%),
              radial-gradient(ellipse at bottom right, hsla(207, 80%, 24%, 0.8), transparent 50%);
}

.te-hero-content {
  position: relative;
  max-width: 896px;
  margin: 0 auto;
  padding: 0 1rem;
}

.te-hero-logo {
  width: 40%;
  max-width: 384px;
  margin-bottom: 2rem;
  filter: drop-shadow(0 25px 25px rgba(0,0,0,0.15));
}

.te-hero h1 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--te-primary);
}

.te-hero p {
  margin-top: 2rem;
  font-size: 1.125rem;
  color: hsla(210, 40%, 98%, 0.8);
  max-width: 672px;
  margin-left: auto;
  margin-right: auto;
}

.te-hero-actions {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 640px) {
  .te-hero-actions { flex-direction: row; justify-content: center; }
}

@media (min-width: 768px) {
  .te-hero { padding: 5rem 0; }
  .te-hero h1 { font-size: 2.25rem; }
  .te-hero p { font-size: 1.25rem; }
}

@media (min-width: 1024px) {
  .te-hero h1 { font-size: 3rem; }
}

/* ===== SECTIONS ===== */
.te-section {
  padding: 5rem 0;
}

.te-section-inner {
  max-width: 896px;
  margin: 0 auto;
  padding: 0 1rem;
}

.te-section-wide {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 1rem;
}

.te-badge {
  display: inline-block;
  border-radius: 9999px;
  background: var(--te-accent);
  padding: 0.375rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--te-accent-fg);
}

.te-badge-light {
  background: hsla(210, 40%, 98%, 0.2);
  color: var(--te-primary-fg);
}

.te-section-title {
  margin-top: 1rem;
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--te-fg);
}

.te-section-title-light {
  color: var(--te-primary-fg);
}

@media (min-width: 768px) {
  .te-section { padding: 7rem 0; }
  .te-section-title { font-size: 2.25rem; }
}

.te-text-center { text-align: center; }

.te-text-muted {
  color: var(--te-muted-fg);
  line-height: 1.7;
  font-size: 1.125rem;
}

/* ===== GRID CARDS ===== */
.te-grid {
  display: grid;
  gap: 1rem;
  margin-top: 3rem;
}

@media (min-width: 640px) { .te-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .te-grid-3 { grid-template-columns: repeat(3, 1fr); } }

.te-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  border-radius: 0.75rem;
  background: var(--te-card);
  padding: 1.5rem;
  border: 1px solid var(--te-border);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.te-card-icon {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  background: var(--te-accent);
  color: var(--te-primary);
}

.te-card-simple {
  border-radius: 0.75rem;
  border: 1px solid var(--te-border);
  background: var(--te-card);
  padding: 1.25rem;
  text-align: center;
  font-weight: 500;
  color: var(--te-fg);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* ===== MUTED BG ===== */
.te-bg-muted {
  background: var(--te-muted);
}

/* ===== DIFERENCIAIS ===== */
.te-bg-gradient {
  background: linear-gradient(to bottom, var(--te-primary), var(--te-primary-light));
}

.te-diff-card {
  border-radius: 1rem;
  background: hsla(210, 40%, 98%, 0.1);
  padding: 2rem;
  backdrop-filter: blur(4px);
  border: 1px solid hsla(210, 40%, 98%, 0.1);
}

.te-diff-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--te-primary-fg);
}

.te-diff-card p {
  margin-top: 0.75rem;
  color: hsla(210, 40%, 98%, 0.8);
  line-height: 1.7;
}

.te-grid-diff {
  display: grid;
  gap: 1.5rem;
  margin-top: 3rem;
}

@media (min-width: 640px) { .te-grid-diff { grid-template-columns: repeat(2, 1fr); } }

/* ===== EBOOKS ===== */
.te-ebook-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  margin-top: 4rem;
}

.te-ebook-row-reverse {
  flex-direction: column-reverse;
  margin-top: 5rem;
}

.te-ebook-img {
  width: 100%;
  max-width: 320px;
  flex-shrink: 0;
}

.te-ebook-img img {
  width: 100%;
  border-radius: 1rem;
  box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.te-ebook-content {
  flex: 1;
}

.te-ebook-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--te-fg);
}

.te-ebook-content p {
  margin-top: 1.25rem;
  color: var(--te-muted-fg);
  line-height: 1.7;
}

.te-ebook-content ul {
  list-style: none;
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.te-ebook-content li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: var(--te-muted-fg);
}

.te-ebook-content li svg,
.te-ebook-content li .te-icon {
  flex-shrink: 0;
  margin-top: 0.25rem;
  width: 1rem;
  height: 1rem;
  color: var(--te-primary);
}

@media (min-width: 1024px) {
  .te-ebook-row, .te-ebook-row-reverse { flex-direction: row; gap: 4rem; }
  .te-ebook-row-reverse { flex-direction: row-reverse; }
  .te-ebook-content h3 { font-size: 1.875rem; }
}

/* ===== CTA / CONTATO ===== */
.te-bg-gradient-br {
  background: linear-gradient(to bottom right, var(--te-primary), var(--te-primary-light));
}

.te-cta-actions {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 640px) {
  .te-cta-actions { flex-direction: row; justify-content: center; }
}

/* ===== FOOTER ===== */
.te-footer {
  border-top: 1px solid var(--te-border);
  background: var(--te-card);
  padding: 2rem 0;
}

.te-footer-inner {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.te-footer-logo { height: 2rem; }

.te-footer p {
  font-size: 0.875rem;
  color: var(--te-muted-fg);
}

@media (min-width: 768px) {
  .te-footer-inner { flex-direction: row; justify-content: space-between; }
}

/* ===== ITALIC ===== */
.te-italic { font-style: italic; }

/* ===== Elementor compatibility ===== */
.elementor-page .te-nav { display: none; }
