/*
Theme Name: Fabio Moura - Psicólogo
Theme URI: https://fabiomoura.com.br
Author: Fabio Moura
Author URI: https://fabiomoura.com.br
Description: Tema landing page para psicólogo com foco em ansiedade. Todas as áreas são editáveis pelo Personalizar (Aparência → Personalizar). Layout acolhedor e sofisticado.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fabio-moura
Tags: one-page, landing-page, custom-colors, custom-logo, custom-menu, featured-images
*/

/* ============================================
   DESIGN TOKENS — Paleta acolhedora
   ============================================ */
:root {
  --bg: #F2F2F2;
  --card: #FFFFFF;
  --primary: #014023;       /* verde escuro */
  --secondary: #02704C;     /* verde */
  --gold: #BF9341;          /* dourado */
  --gold-light: #DEB75B;    /* dourado claro */
  --sand: #F5EFE0;
  --text: #1a2e23;
  --muted: #5b6b62;
  --border: #e2e6e3;

  --radius: 1rem;
  --shadow-card: 0 4px 20px -8px rgba(1, 64, 35, 0.12);
  --shadow-soft: 0 10px 40px -15px rgba(1, 64, 35, 0.18);
  --shadow-gold: 0 10px 30px -10px rgba(191, 147, 65, 0.4);
  --gradient-hero: linear-gradient(135deg, #f7f6f3 0%, #f1ead8 100%);
  --gradient-gold: linear-gradient(135deg, #DEB75B 0%, #BF9341 100%);
  --gradient-deep: linear-gradient(135deg, #014023 0%, #015a32 100%);

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, system-ui, sans-serif;
}

/* ============================================
   RESET / BASE
   ============================================ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .3s; }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 600; line-height: 1.15; margin: 0; color: var(--primary); }

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

.italic { font-style: italic; }
.text-secondary { color: var(--secondary); }
.text-gold { color: var(--gold); }
.text-gradient-gold {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .9rem 2rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all .3s;
}
.btn-gold {
  background: var(--gradient-gold);
  color: var(--primary);
}
.btn-gold:hover { box-shadow: var(--shadow-gold); transform: translateY(-1px); }
.btn-deep {
  background: var(--gradient-deep);
  color: #fff;
  border-radius: 1rem;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.btn-deep:hover { opacity: .92; }

.eyebrow {
  font-size: .75rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--secondary);
  font-weight: 500;
}

/* ============================================
   HEADER (logo centralizada, sem menu)
   ============================================ */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 2rem 0;
  text-align: center;
}
.site-logo-name {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--primary);
  display: block;
}
.site-logo-sub {
  font-size: .7rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: .25rem;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  background: var(--gradient-hero);
  padding: 8rem 0 1rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero h1 {
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  margin: 1.25rem 0 0;
}
.hero + .section#video { padding-top: 1.5rem; }
.section#video .section-head { display: none; }
.hero p.lead {
  margin: 1.75rem auto 0;
  max-width: 640px;
  color: var(--muted);
  font-size: 1.1rem;
}
.hero .badges {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  font-size: .9rem;
  color: var(--muted);
}

/* ============================================
   VIDEO
   ============================================ */
.section { padding: 5rem 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.section-head h2 { font-size: clamp(1.85rem, 3.5vw, 3rem); margin: .75rem 0 1rem; }
.section-head p { color: var(--muted); }

.video-frame {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(191, 147, 65, .35);
}
.video-frame iframe { width: 100%; aspect-ratio: 16/9; border: 0; display: block; }
.video-cta { text-align: center; margin-top: 3rem; }

/* ============================================
   DEPOIMENTOS
   ============================================ */
.testimonials-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .testimonials-grid { grid-template-columns: 1fr 1fr; } }
.testimonial {
  background: var(--card);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  position: relative;
}
.testimonial .stars { color: var(--gold-light); margin-bottom: .75rem; letter-spacing: .15em; }
.testimonial p { font-style: italic; color: rgba(26, 46, 35, .85); }
.testimonial .who { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--border); }
.testimonial .who strong { font-family: var(--font-serif); color: var(--primary); font-size: 1.1rem; }
.testimonial .who small { display: block; color: var(--muted); margin-top: .25rem; }

/* ============================================
   OFERTA DA SESSÃO (60 minutos)
   ============================================ */
.session-offer { background: rgba(245, 239, 224, .4); }
.session-offer .headline {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.session-offer .headline h2 {
  font-size: clamp(1.85rem, 3.5vw, 3rem);
}
.offer-cards {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 768px) { .offer-cards { grid-template-columns: repeat(3, 1fr); } }
.offer-card {
  background: var(--card);
  border-radius: 1rem;
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  transition: box-shadow .3s;
}
.offer-card:hover { box-shadow: var(--shadow-soft); }
.offer-card .emoji { font-size: 1.75rem; margin-bottom: .5rem; }
.offer-card h3 { font-size: 1.25rem; color: var(--primary); margin-bottom: .75rem; }
.offer-card p { font-size: .9rem; color: rgba(26, 46, 35, .75); }

.offer-box {
  margin: 3rem auto 0;
  max-width: 620px;
  background: rgba(255, 255, 255, .75);
  backdrop-filter: blur(8px);
  border-radius: 1.5rem;
  padding: 2.5rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
  text-align: center;
}
.offer-box h3 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.2;
}
.offer-box ul {
  list-style: none;
  padding: 0;
  margin: 1.75rem auto 0;
  display: inline-block;
  text-align: left;
}
.offer-box ul li {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .95rem;
  margin: .35rem 0;
}
.offer-box ul li::before {
  content: "✓";
  color: var(--secondary);
  font-weight: 700;
}
.offer-box .price-block { margin-top: 2rem; }
.offer-box .opportunity { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.offer-box .old-price { color: var(--muted); text-decoration: line-through; margin-top: .5rem; font-size: .9rem; }
.offer-box .price { font-family: var(--font-serif); font-size: 2.25rem; font-weight: 600; color: var(--secondary); margin-top: .25rem; }
.offer-box .cta-note { color: var(--muted); font-size: .9rem; margin: 1.5rem 0 1rem; }
.offer-box .btn { width: 100%; max-width: 320px; }
.offer-box .small { color: var(--muted); font-size: .8rem; margin-top: 1.25rem; }
.offer-box .small.italic { font-style: italic; max-width: 380px; margin-left: auto; margin-right: auto; }

.confianca {
  margin-top: 5rem;
  text-align: center;
}
.confianca .label {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--primary);
}
.confianca .count {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--secondary);
  margin-top: .5rem;
}

/* ----- Biografia ----- */
.bio { margin-top: 3.5rem; max-width: 1000px; margin-left: auto; margin-right: auto; }
.bio-name {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 2rem;
  text-align: center;
}
.bio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 768px) {
  .bio-grid { grid-template-columns: 1fr 1.2fr; }
  .bio-name { text-align: left; }
}
.bio-photo {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 10px 30px -15px rgba(0,0,0,.15);
  background: var(--gradient-hero, #f5efe0);
  aspect-ratio: 4/5;
}
.bio-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bio-photo-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif);
  font-size: 4rem;
  color: rgba(0,0,0,.2);
}
.bio-text p {
  color: rgba(0,0,0,.78);
  line-height: 1.7;
  margin-bottom: 1.1rem;
  font-size: 1rem;
}
.bio-closing {
  margin-top: 3rem;
  text-align: center;
  max-width: 560px;
  margin-left: auto; margin-right: auto;
}
.bio-closing p { color: var(--muted); }
.bio-closing .small { font-size: .8rem; margin-top: 1rem; color: var(--muted); }
.bio-closing .small.italic { font-style: italic; max-width: 420px; margin-left: auto; margin-right: auto; }

/* ============================================
   BENEFÍCIOS (fundo verde escuro)
   ============================================ */
.benefits {
  background: var(--gradient-deep);
  color: #fff;
  padding: 6rem 0;
}
.benefits .section-head h2 { color: #fff; }
.benefits .section-head p { color: rgba(255,255,255,.8); }
.benefits .eyebrow { color: var(--gold-light); }
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) { .benefits-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .benefits-grid { grid-template-columns: repeat(3, 1fr); } }
.benefit-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 1rem;
  padding: 1.75rem;
  transition: all .4s;
}
.benefit-card:hover { background: rgba(255,255,255,.1); border-color: rgba(222, 183, 91, .4); }
.benefit-card .icon {
  width: 3rem; height: 3rem;
  border-radius: .75rem;
  background: var(--gradient-gold);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  color: var(--primary);
}
.benefit-card h3 { color: #fff; font-size: 1.25rem; margin-bottom: .75rem; }
.benefit-card p { color: rgba(255,255,255,.75); font-size: .9rem; }

/* ============================================
   PLANOS / VALORES
   ============================================ */
.plans-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: stretch; }
@media (min-width: 768px) { .plans-grid { grid-template-columns: repeat(3, 1fr); } }
.plan {
  background: var(--card);
  border-radius: 1.5rem;
  padding: 2rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  position: relative;
}
.plan.highlight {
  background: var(--gradient-deep);
  color: #fff;
  box-shadow: var(--shadow-soft);
  border: 2px solid var(--gold);
}
.plan.highlight h3, .plan.highlight .price { color: #fff; }
.plan.highlight .price { color: var(--gold-light); }
.plan .badge {
  position: absolute;
  top: -.85rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-gold);
  color: var(--primary);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: .4rem 1rem;
  border-radius: 999px;
}
.plan h3 { font-size: 1.5rem; }
.plan .duration { font-size: .85rem; color: var(--muted); margin-top: .25rem; }
.plan.highlight .duration { color: rgba(255,255,255,.7); }
.plan .price { font-family: var(--font-serif); font-size: 3rem; color: var(--primary); margin-top: 1.5rem; }
.plan .price-note { font-size: .75rem; color: var(--muted); margin-top: .5rem; }
.plan.highlight .price-note { color: rgba(255,255,255,.7); }
.plan .desc { margin-top: 1.25rem; font-size: .9rem; }
.plan ul { list-style: none; padding: 0; margin: 1.5rem 0; flex: 1; }
.plan ul li { display: flex; gap: .75rem; font-size: .9rem; margin-bottom: .75rem; }
.plan ul li::before { content: "✓"; color: var(--secondary); font-weight: 700; }
.plan.highlight ul li::before { color: var(--gold-light); }
.plan .btn { margin-top: 1rem; }
.plan:not(.highlight) .btn { background: var(--primary); color: #fff; }
.plan:not(.highlight) .btn:hover { background: var(--secondary); }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--primary);
  color: #fff;
  padding: 5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
.footer-grid h3 { color: var(--gold-light); font-size: 1.15rem; margin-bottom: 1.25rem; }
.footer-grid p, .footer-grid li { color: rgba(255,255,255,.75); font-size: .9rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid ul li { margin-bottom: .75rem; }
.footer-grid a:hover { color: var(--gold-light); }

.brand-name { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 600; }
.brand-sub { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); margin-top: .25rem; }

.socials { display: flex; gap: .75rem; margin-top: 1rem; }
.socials a {
  width: 2.75rem; height: 2.75rem;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  display: inline-flex; align-items: center; justify-content: center;
  transition: all .3s;
}
.socials a:hover { background: var(--gradient-gold); color: var(--primary); }

.footer-bottom {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.15);
  display: flex;
  flex-direction: column;
  gap: .75rem;
  font-size: .75rem;
  color: rgba(255,255,255,.6);
}
@media (min-width: 768px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }

/* ============================================
   WHATSAPP FLOAT
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  width: 3.5rem; height: 3.5rem;
  border-radius: 999px;
  background: var(--secondary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
  transition: all .3s;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: var(--shadow-gold); }
.whatsapp-float svg { width: 1.5rem; height: 1.5rem; }
