/*
Theme Name: Terapia TRG
Theme URI: https://terapiaquecura.com
Author: Nilza Vieira
Description: Tema personalizado para a Terapia TRG — landing page acolhedora e responsiva.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: terapia-trg
*/

:root {
  --sage-50: #f4f7f3;
  --sage-100: #e5ede2;
  --sage-200: #c9d8c3;
  --sage-300: #a4bf9a;
  --sage-400: #7fa672;
  --sage-500: #5e8a52;
  --sage-600: #4a6e42;
  --sage-700: #3b5735;

  --lilac-50: #f7f4fb;
  --lilac-100: #ece3f5;
  --lilac-200: #d7c3ea;

  --beige-50: #faf7f2;
  --beige-100: #f1ebe0;

  --ink-900: #1f2a24;
  --ink-700: #3a4a41;
  --ink-500: #6a7a71;
  --ink-400: #8a978f;

  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(30, 40, 35, 0.06);
  --shadow-md: 0 10px 30px rgba(30, 40, 35, 0.08);
  --shadow-lg: 0 20px 60px rgba(30, 40, 35, 0.12);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container: 1200px;
  --transition: 0.3s cubic-bezier(.4,0,.2,1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--ink-900);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink-900);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 16px; }
h3 { font-size: 1.375rem; margin-bottom: 8px; }

p { color: var(--ink-700); }

.eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--sage-600);
  font-weight: 600;
  margin-bottom: 16px;
}
.eyebrow.light { color: var(--sage-200); }

.accent { color: var(--sage-500); font-style: italic; }

.section-head { margin-bottom: 60px; }
.section-head.center { text-align: center; max-width: 640px; margin-inline: auto; margin-bottom: 60px; }
.section-head p { margin-top: 12px; color: var(--ink-500); }

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  cursor: pointer;
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--sage-600);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--sage-700);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-ghost {
  background: transparent;
  color: var(--ink-900);
  border-color: var(--ink-400);
}
.btn-ghost:hover {
  border-color: var(--sage-600);
  color: var(--sage-600);
}
.btn-whatsapp {
  background: #25d366;
  color: var(--white);
  padding: 16px 32px;
  font-size: 1rem;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}
.btn-whatsapp:hover {
  background: #1ebe5a;
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4);
}
.btn-small { padding: 10px 20px; font-size: 0.875rem; background: var(--sage-600); color: var(--white); }
.btn-small:hover { background: var(--sage-700); }
.btn-block { width: 100%; }

/* === NAVBAR === */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}
.navbar.scrolled {
  border-bottom-color: rgba(30, 40, 35, 0.08);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  background: var(--sage-600);
  color: var(--white);
  border-radius: 12px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-weight: bolder;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
}
.logo-text {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--ink-900);
}
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-size: 0.95rem;
  color: var(--ink-700);
  font-weight: 500;
}
.nav-links a:hover { color: var(--sage-600); }
.nav-links .btn-small { color: var(--white); }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--ink-900);
  transition: var(--transition);
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at top right, var(--lilac-100) 0%, transparent 55%),
    radial-gradient(ellipse at bottom left, var(--sage-100) 0%, transparent 55%),
    linear-gradient(180deg, var(--sage-50) 0%, var(--beige-50) 100%);
  z-index: -1;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(164, 191, 154, 0.15) 0, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(215, 195, 234, 0.2) 0, transparent 40%);
}
.hero-inner { padding: 80px 24px; }
.hero-content { max-width: 720px; }
.hero h1 { margin-bottom: 24px; }
.hero-sub {
  font-size: 1.25rem;
  max-width: 560px;
  margin-bottom: 40px;
  color: var(--ink-700);
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 64px; }
.hero-meta {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  padding-top: 40px;
  border-top: 1px solid rgba(30, 40, 35, 0.08);
}
.hero-meta > div { display: flex; flex-direction: column; }
.hero-meta strong {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--sage-600);
  font-weight: 700;
}
.hero-meta span { font-size: 0.875rem; color: var(--ink-500); }

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px; height: 40px;
  border: 2px solid var(--ink-400);
  border-radius: 20px;
  display: flex;
  justify-content: center;
}
.scroll-indicator span {
  display: block;
  width: 4px; height: 8px;
  background: var(--ink-400);
  border-radius: 2px;
  margin-top: 6px;
  animation: scroll-down 1.8s infinite;
}
@keyframes scroll-down {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(14px); opacity: 0; }
}

/* === SOBRE === */
.sobre { padding: 120px 0; background: var(--white); }
.sobre-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}
.sobre-foto { position: relative; }
.foto-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
  z-index: 2;
}
.foto-wrap img { width: 100%; height: 100%; object-fit: cover; }
.foto-decor {
  position: absolute;
  inset: -20px -20px auto auto;
  width: 85%; height: 100%;
  background: var(--sage-100);
  border-radius: var(--radius-xl);
  z-index: 1;
}
.sobre-credenciais {
  color: var(--sage-600);
  font-weight: 500;
  margin: 12px 0 24px;
  font-size: 0.95rem;
}
.sobre-texto p { margin-bottom: 16px; }
.sobre-texto blockquote {
  margin: 32px 0;
  padding: 20px 24px;
  border-left: 3px solid var(--sage-500);
  background: var(--sage-50);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--ink-900);
}

/* === BENEFÍCIOS === */
.beneficios {
  padding: 120px 0;
  background: var(--beige-50);
}
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.card {
  background: var(--white);
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid transparent;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--sage-200);
}
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  background: var(--sage-100);
  color: var(--sage-600);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}
.card-icon svg { width: 28px; height: 28px; }
.card p { font-size: 0.95rem; color: var(--ink-500); }

/* === PROCESSO === */
.processo { padding: 120px 0; background: var(--white); }
.timeline {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 24px;
  align-items: flex-start;
  max-width: 1000px;
  margin: 0 auto;
}
.step {
  text-align: center;
  padding: 0 12px;
}
.step-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px; height: 72px;
  background: linear-gradient(135deg, var(--sage-500), var(--sage-700));
  color: var(--white);
  border-radius: 50%;
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 20px;
  box-shadow: 0 10px 25px rgba(74, 110, 66, 0.3);
  position: relative;
}
.step-circle::before {
  content: '';
  position: absolute;
  inset: -6px;
  border: 1px dashed var(--sage-300);
  border-radius: 50%;
}
.step p { color: var(--ink-500); font-size: 0.95rem; }
.step-line {
  height: 2px;
  width: 100%;
  min-width: 40px;
  background: linear-gradient(90deg, var(--sage-200), var(--sage-400), var(--sage-200));
  margin-top: 36px;
  border-radius: 2px;
}

/* === DEPOIMENTOS === */
.depoimentos {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--lilac-50) 0%, var(--sage-50) 100%);
}
.slider {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}
.slider-viewport {
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.slider-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(.4,0,.2,1);
}
.testimonial {
  flex: 0 0 100%;
  background: var(--white);
  padding: 48px 56px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.t-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px; height: 64px;
  background: var(--lilac-100);
  color: var(--sage-700);
  border-radius: 50%;
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.stars { color: #f4b83c; font-size: 1.1rem; letter-spacing: 2px; margin-bottom: 16px; }
.testimonial p {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-style: italic;
  color: var(--ink-900);
  line-height: 1.5;
  margin-bottom: 20px;
}
.t-name { font-weight: 600; color: var(--ink-500); font-size: 0.95rem; }

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow-md);
  color: var(--sage-600);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  z-index: 2;
}
.slider-arrow:hover { background: var(--sage-600); color: var(--white); transform: translateY(-50%) scale(1.08); }
.slider-arrow.prev { left: -24px; }
.slider-arrow.next { right: -24px; }

.dots {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 28px;
}
.dots button {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--sage-200);
  transition: all var(--transition);
}
.dots button.active {
  background: var(--sage-600);
  width: 28px;
  border-radius: 5px;
}

/* === FAQ === */
.faq { padding: 120px 0; background: var(--white); }
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq details {
  background: var(--sage-50);
  border: 1px solid var(--sage-100);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition);
}
.faq details[open] {
  background: var(--white);
  border-color: var(--sage-300);
  box-shadow: var(--shadow-sm);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 28px;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink-900);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--sage-600);
  transition: transform var(--transition);
  line-height: 1;
  font-weight: 300;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p {
  padding: 0 28px 24px;
  color: var(--ink-700);
  line-height: 1.7;
}

/* === CONTATO === */
.contato {
  padding: 120px 0;
  background: linear-gradient(135deg, var(--sage-700) 0%, var(--sage-600) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.contato::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 20%, rgba(215, 195, 234, 0.15) 0, transparent 50%);
}
.contato-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  position: relative;
}
.contato h2 { color: var(--white); margin-bottom: 16px; }
.contato-info > p { color: rgba(255,255,255,0.8); margin-bottom: 40px; }

.contact-list { list-style: none; margin-bottom: 32px; }
.contact-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.contact-list li:last-child { border-bottom: none; }
.c-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  flex-shrink: 0;
}
.c-icon svg { width: 20px; height: 20px; }
.contact-list strong {
  display: block;
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 2px;
}
.contact-list span { color: rgba(255,255,255,0.7); font-size: 0.9rem; }

.contato-form {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  color: var(--ink-900);
  box-shadow: var(--shadow-lg);
}
.contato-form h3 {
  font-size: 1.5rem;
  margin-bottom: 24px;
  color: var(--ink-900);
}
.contato-form label {
  display: block;
  margin-bottom: 16px;
}
.contato-form label span {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--ink-700);
}
.contato-form input,
.contato-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--sage-100);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--sage-50);
  color: var(--ink-900);
  transition: all var(--transition);
}
.contato-form input:focus,
.contato-form textarea:focus {
  outline: none;
  border-color: var(--sage-500);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(94, 138, 82, 0.1);
}
.contato-form textarea { resize: vertical; min-height: 100px; }
.form-note {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--ink-500);
  margin-top: 12px;
}

/* === FOOTER === */
.footer {
  background: var(--ink-900);
  color: rgba(255,255,255,0.7);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer .logo-mark { background: var(--sage-500); }
.footer p { color: rgba(255,255,255,0.6); font-size: 0.9rem; margin-top: 4px; }
.copy { font-size: 0.85rem; }

/* === WHATSAPP FLOAT === */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25d366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
  z-index: 99;
  transition: all var(--transition);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25d366;
  z-index: -1;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* === RESPONSIVE === */
@media (max-width: 960px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .sobre-inner { grid-template-columns: 1fr; gap: 48px; }
  .foto-wrap { max-width: 420px; margin: 0 auto; }
  .foto-decor { display: none; }
  .contato-inner { grid-template-columns: 1fr; gap: 48px; }
  .timeline {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .step-line {
    width: 2px; height: 40px;
    min-width: 0;
    margin: 0 auto;
    background: linear-gradient(180deg, var(--sage-200), var(--sage-400), var(--sage-200));
  }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    background: var(--white);
    padding: 24px;
    gap: 20px;
    box-shadow: var(--shadow-md);
    transform: translateY(-150%);
    transition: transform var(--transition);
  }
  .nav-links.open { transform: translateY(0); }
  .menu-toggle { display: flex; }
  .hero-meta { gap: 28px; }
  .hero-meta strong { font-size: 1.375rem; }
  .sobre, .beneficios, .processo, .depoimentos, .faq, .contato { padding: 80px 0; }
  .cards { grid-template-columns: 1fr; }
  .testimonial { padding: 36px 24px; }
  .testimonial p { font-size: 1.125rem; }
  .slider-arrow.prev { left: 4px; }
  .slider-arrow.next { right: 4px; }
  .slider-arrow { width: 40px; height: 40px; }
  .contato-form { padding: 28px; }
  .section-head { margin-bottom: 40px; }
  .wa-float { width: 52px; height: 52px; bottom: 16px; right: 16px; }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; }
  .hero-meta { flex-direction: column; gap: 16px; }
  .logo-text { display: none; }
}
