/*
Theme Name: Consultório Virtual Priscila
Theme URI: https://github.com/robsonsantos87/site-psicologa-priscila
Author: PotencI.A
Description: Tema WordPress personalizado para o consultório da Psicóloga Priscila Jardim.
Version: 0.3.2
Text Domain: consultorio-priscila
*/

:root {
  --sage: #97A08F;
  --green: #59665B;
  --green-deep: #3E4A41;
  --cream: #FBF8F3;
  --ivory: #FFFDF9;
  --sand: #E9E0D4;
  --champagne: #C6B288;
  --gold: #AD9466;
  --gold-soft: #E6D8B8;
  --graphite: #3D3C39;
  --white: #FFFFFF;
  --line: rgba(198, 178, 136, .24);
  --shadow: 0 24px 70px rgba(61, 60, 57, .08);
  --shadow-gold: 0 18px 55px rgba(198, 178, 136, .13);
  --radius: 28px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--cream);
  color: var(--graphite);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 248, 243, .94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(198, 178, 136, .20);
}
.header-inner {
  min-height: 102px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-brand { font-family: Georgia, "Times New Roman", serif; font-size: 1.25rem; color: var(--green-deep); font-weight: 600; }
.custom-logo-link { display: flex; align-items: center; }
.custom-logo-link img { max-height: 86px; width: auto; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; align-items: center; }
.site-nav a { position: relative; font-size: .94rem; color: var(--graphite); }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 1px; background: var(--gold); transition: right .2s ease; }
.site-nav a:hover { color: var(--green-deep); }
.site-nav a:hover::after { right: 0; }
.menu-toggle { display: none; border: 0; background: none; color: var(--green-deep); padding: 8px; cursor: pointer; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 25px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  background: var(--green-deep);
  color: #fff;
  font-weight: 650;
  box-shadow: 0 8px 28px rgba(61, 74, 65, .10);
  transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.button:hover { background: var(--gold); border-color: var(--gold); transform: translateY(-2px); box-shadow: var(--shadow-gold); }
.button-light { background: var(--ivory); color: var(--green-deep); border-color: rgba(173,148,102,.52); }
.button-light:hover { background: var(--gold); color: #fff; }
.text-link { color: var(--green-deep); font-weight: 650; border-bottom: 1px solid var(--gold); }

.hero {
  min-height: 78vh;
  display: grid;
  align-items: center;
  padding: 96px 0 80px;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 20%, rgba(198,178,136,.15), transparent 28%),
    linear-gradient(180deg, var(--cream), #F8F3EB);
}
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 72px; align-items: center; }
.hero-copy { max-width: 700px; }
.hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 32px; }
.hero-note { margin-top: 24px; font-size: .92rem; color: rgba(61, 60, 57, .66); }
.eyebrow { display: inline-block; margin-bottom: 18px; color: var(--gold); font-weight: 750; text-transform: uppercase; letter-spacing: .16em; font-size: .76rem; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; color: var(--green-deep); line-height: 1.12; letter-spacing: -.025em; margin-top: 0; }
h1 { font-size: clamp(2.7rem, 4.25vw, 4.35rem); margin-bottom: 26px; max-width: 760px; }
h2 { font-size: clamp(2rem, 3.25vw, 3.15rem); margin-bottom: 22px; }
h3 { font-size: 1.28rem; }
.lead { font-size: clamp(1.05rem, 2vw, 1.24rem); color: rgba(61, 60, 57, .78); max-width: 720px; }
.hero-visual { position: relative; }
.hero-visual::before { content: ""; position: absolute; inset: -36px 24px 36px -24px; border: 1px solid rgba(198,178,136,.42); border-radius: 46% 54% 48% 52% / 42% 46% 54% 58%; }
.hero-visual::after { content: ""; position: absolute; width: 88px; height: 88px; right: -8px; bottom: 22px; border: 1px solid rgba(198,178,136,.32); border-radius: 50%; }
.photo-placeholder { position: relative; z-index: 1; min-height: 570px; border-radius: 44% 56% 50% 50% / 38% 42% 58% 62%; background: linear-gradient(145deg, #EEE6DA, #FAF6EF 54%, #EAE0CD); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px; box-shadow: var(--shadow); color: var(--green-deep); }
.photo-placeholder small { max-width: 260px; color: rgba(61,60,57,.62); }
.photo-mark { font-family: Georgia, serif; font-size: 5rem; line-height: 1; color: rgba(198,178,136,.38); margin-bottom: 16px; }
.photo-placeholder-secondary { min-height: 500px; border-radius: 34px; }

.section { padding: 108px 0; }
.section-soft { background: linear-gradient(180deg, rgba(233,224,212,.58), rgba(255,253,249,.86)); }
.section-deep { position: relative; background: linear-gradient(135deg, #3F4A42 0%, #4B564D 58%, #625F54 100%); color: rgba(255,255,255,.86); }
.section-deep::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 18%, rgba(198,178,136,.18), transparent 28%); pointer-events: none; }
.section-deep .container { position: relative; z-index: 1; }
.section-deep h2, .section-deep h3 { color: var(--white); }
.section-deep .eyebrow { color: #D3BE91; }
.section-deep .lead { color: rgba(255,255,255,.72); }
.section-heading { max-width: 780px; margin-bottom: 50px; }
.section-heading.centered { text-align: center; margin-inline: auto; }
.section-heading.centered::after { content: ""; display: block; width: 72px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); margin: 28px auto 0; }
.split-section { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; align-items: start; }
.split-content { font-size: 1.1rem; }
.split-content p { margin-top: 0; margin-bottom: 22px; }

.concerns-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.concern-card { background: rgba(255,253,249,.88); border: 1px solid rgba(198,178,136,.24); border-radius: 24px; padding: 30px; box-shadow: 0 10px 30px rgba(61,60,57,.025); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.concern-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-gold); border-color: rgba(198,178,136,.48); }
.concern-card > span { color: var(--gold); font-size: .78rem; font-weight: 800; letter-spacing: .12em; }
.concern-card h3 { margin: 18px 0 12px; }
.concern-card p { margin: 0; color: rgba(61,60,57,.72); }

.benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(211,190,145,.38); }
.benefit-item { padding: 34px 28px 10px 0; display: flex; flex-direction: column; gap: 10px; }
.benefit-item strong { font-family: Georgia, serif; color: #D8C49A; font-size: 1.38rem; }
.benefit-item span { color: rgba(255,255,255,.70); }

.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 78px; align-items: center; }
.about-copy { position: relative; }
.about-copy::before { content: ""; position: absolute; left: -28px; top: 0; width: 1px; height: 82px; background: linear-gradient(var(--gold), transparent); }
.credential-list { margin-top: 34px; border-top: 1px solid var(--line); }
.credential-list > div { display: grid; grid-template-columns: 150px 1fr; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.credential-list span { color: rgba(61,60,57,.58); font-size: .9rem; }
.credential-list strong { color: var(--green-deep); }

.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step { padding: 28px; border-left: 1px solid rgba(198,178,136,.34); }
.step > span { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(145deg, #D1BD92, #AF986A); color: #fff; font-weight: 700; margin-bottom: 20px; box-shadow: 0 8px 22px rgba(198,178,136,.20); }
.step p { color: rgba(61,60,57,.72); }

.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 84px; align-items: start; }
.faq-list details { border-top: 1px solid var(--line); padding: 22px 0; }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; color: var(--green-deep); font-family: Georgia, serif; font-size: 1.18rem; font-weight: 600; }
.faq-list summary::marker { color: var(--gold); }
.faq-list p { color: rgba(61,60,57,.72); max-width: 700px; }

.closing-section {
  position: relative;
  background: linear-gradient(135deg, #F1E9DA 0%, #FAF6EE 45%, #E8DCC1 100%);
  color: var(--graphite);
  text-align: center;
  overflow: hidden;
}
.closing-section::before,
.closing-section::after { content: ""; position: absolute; border: 1px solid rgba(198,178,136,.28); border-radius: 50%; }
.closing-section::before { width: 240px; height: 240px; top: -140px; left: -70px; }
.closing-section::after { width: 320px; height: 320px; right: -180px; bottom: -210px; }
.closing-inner { position: relative; z-index: 1; max-width: 850px; }
.closing-inner .eyebrow { color: var(--gold); }
.closing-inner blockquote { margin: 0 0 22px; font-family: Georgia, serif; font-size: clamp(1.85rem, 3.5vw, 3.05rem); line-height: 1.2; color: var(--green-deep); }
.closing-inner p { margin-bottom: 30px; color: rgba(61,60,57,.74); }

.site-footer { background: #363A36; color: rgba(255,255,255,.70); padding: 54px 0; font-size: .92rem; border-top: 1px solid rgba(198,178,136,.28); }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.site-footer strong { color: #D8C59A; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a:hover { color: #D8C59A; }

@media (max-width: 980px) {
  .hero-grid, .about-grid, .split-section, .faq-grid { grid-template-columns: 1fr; gap: 48px; }
  .concerns-grid { grid-template-columns: repeat(2, 1fr); }
  .benefit-grid, .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-visual { max-width: 620px; }
  .about-copy::before { display: none; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .header-inner { min-height: 88px; }
  .custom-logo-link img { max-height: 72px; }
  .site-nav { position: absolute; top: 88px; left: 14px; right: 14px; display: none; background: var(--cream); border: 1px solid var(--line); border-radius: 18px; padding: 18px; box-shadow: var(--shadow); }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a { display: block; padding: 11px 8px; }
  .menu-toggle { display: block; }
  .header-cta { display: none; }
  .hero { padding: 64px 0 58px; }
  h1 { font-size: clamp(2.35rem, 10.5vw, 3.55rem); }
  h2 { font-size: clamp(1.9rem, 8vw, 2.65rem); }
  .photo-placeholder { min-height: 440px; }
  .section { padding: 78px 0; }
  .concerns-grid, .benefit-grid, .steps-grid, .footer-inner { grid-template-columns: 1fr; }
  .credential-list > div { grid-template-columns: 1fr; gap: 4px; }
  .benefit-item { border-bottom: 1px solid rgba(211,190,145,.26); padding-bottom: 28px; }
}
