/* =====================================================================
   LUIZA YANDARA — PSICOLOGIA CLINICA
   Folha de estilos unica, organizada em BLOCOS (um por secao do site).
   Cada bloco comeca com um comentario de titulo entre barras e asteriscos,
   por exemplo o marcador CABECALHO abaixo, para voce achar e editar rapido
   sem mexer no resto.
   ===================================================================== */

/* == PALETA ===========================================================
   As variaveis --cream, --maroon, etc. vem de assets/css/tokens.css,
   gerado a partir de config/site.config.js. Nao declare cores aqui.
   ===================================================================== */


/* == RESET / BASE ===================================================== */
*{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; }
body{
  font-family:var(--body);
  color:var(--ink);
  background:var(--cream);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }
::selection{ background:var(--salmon); color:#fff; }
.wrap{ max-width:var(--max); margin:0 auto; padding-left:32px; padding-right:32px; }

.eyebrow{
  display:inline-block; font-family:var(--round); font-weight:600;
  font-size:13px; letter-spacing:3px; text-transform:uppercase;
  color:var(--clay); margin-bottom:18px;
}
.h-serif{ font-family:var(--serif); font-weight:500; color:var(--maroon); line-height:1.12; }
.btn{
  display:inline-flex; align-items:center; gap:10px; cursor:pointer;
  font-family:var(--round); font-weight:600; border:0; border-radius:44px;
  transition:transform .25s ease, background .25s ease, box-shadow .25s ease;
}
.btn svg{ width:19px; height:19px; }
.btn-primary{ background:var(--maroon); color:var(--cream); font-size:16px; padding:15px 28px; }
.btn-primary:hover{ background:var(--maroon-dk); transform:translateY(-2px); }
.btn-light{ background:var(--cream); color:var(--maroon); font-weight:700; font-size:17px; padding:16px 32px; }
.btn-light:hover{ transform:translateY(-3px); box-shadow:0 20px 40px -18px rgba(0,0,0,.5); }

/* == CABEÇALHO / NAV ================================================== */
.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(251,244,234,.88); backdrop-filter:blur(12px);
  border-bottom:1px solid rgba(115,2,2,.08);
}
.nav{ display:flex; align-items:center; justify-content:space-between; gap:24px; padding-top:16px; padding-bottom:16px; }
.brand{ display:flex; align-items:center; gap:12px; }
.brand .logo-mark{ height:42px; width:auto; flex:none; }
.brand-name{ display:flex; flex-direction:column; line-height:1; }
.brand-name b{ font-family:var(--round); font-weight:600; font-size:19px; color:var(--maroon); }
.brand-name span{ font-family:var(--round); font-weight:500; font-size:9.5px; color:var(--clay); letter-spacing:3.5px; margin-top:3px; }
.nav-links{ display:flex; align-items:center; gap:34px; }
.nav-links a{ font-size:15px; font-weight:500; }
.nav-links a.nav-item{ position:relative; }
.nav-links a.nav-item::after{ content:""; position:absolute; left:0; bottom:-4px; height:1.5px; width:0; background:var(--maroon); transition:width .3s ease; }
.nav-links a.nav-item:hover::after{ width:100%; }
.nav-cta{ background:var(--maroon); color:var(--cream)!important; font-family:var(--round); font-weight:600; font-size:14px; padding:11px 22px; border-radius:40px; transition:background .25s, transform .25s; }
.nav-cta:hover{ background:var(--maroon-dk); transform:translateY(-2px); }
.nav-toggle{ display:none; background:none; border:0; cursor:pointer; padding:6px; }
.nav-toggle span{ display:block; width:26px; height:2px; background:var(--maroon); margin:5px 0; transition:.3s; }

/* == HERO ============================================================= */
.hero{ position:relative; display:grid; grid-template-columns:1.05fr .95fr; gap:64px; align-items:center; padding-top:90px; padding-bottom:84px; }
.hero-motif{ position:absolute; top:34px; right:38%; height:68px; width:auto; opacity:.16; animation:floaty 7s ease-in-out infinite; }

/* selo claro: usado onde o fundo e escuro, para a arte manter as cores originais */
.logo-badge{ display:inline-flex; align-items:center; justify-content:center; flex:none; background:var(--cream); border-radius:50%; width:48px; height:48px; }
.logo-badge img{ height:29px; width:auto; }
.logo-badge-lg{ display:flex; width:92px; height:92px; margin:0 auto 28px; }
.logo-badge-lg img{ height:56px; }
.hero-title{ font-size:64px; letter-spacing:-.5px; margin-bottom:24px; text-wrap:balance; }
.hero-title em{ font-style:italic; color:var(--clay); }
.hero-lead{ font-size:19px; line-height:1.65; color:var(--muted); max-width:480px; margin-bottom:36px; }
.hero-actions{ display:flex; align-items:center; gap:18px; flex-wrap:wrap; }
.hero-actions .text-link{ font-family:var(--round); font-weight:600; font-size:16px; color:var(--maroon); padding:15px 6px; border-bottom:1.5px solid transparent; transition:border-color .25s; }
.hero-actions .text-link:hover{ border-color:var(--maroon); }
.hero-figure{ position:relative; }
.hero-figure .accent{ position:absolute; inset:24px -18px -20px 20px; border:1.5px solid var(--salmon); border-radius:26px; z-index:0; }
.hero-figure img{ position:relative; z-index:1; width:100%; height:auto; border-radius:22px; box-shadow:0 30px 60px -30px rgba(115,2,2,.35); }
.hero, .hero-figure{ animation:rise .8s ease both; }

/* == FAIXA DE VALORES (fundo bordô) =================================== */
.values{ background:var(--maroon); color:#F3E1CC; }
.values .grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:40px; padding-top:40px; padding-bottom:40px; }
.value{ border-left:1.5px solid rgba(243,225,204,.28); padding-left:22px; }
.value b{ display:block; font-family:var(--serif); font-weight:500; font-size:30px; color:var(--cream); }
.value span{ font-size:15px; color:rgba(243,225,204,.82); }

/* == SOBRE ============================================================ */
.about{ display:grid; grid-template-columns:.9fr 1.1fr; gap:72px; align-items:center; padding-top:104px; padding-bottom:104px; }
.about-figure{ position:relative; }
.about-figure .accent{ position:absolute; inset:26px -20px -22px 22px; border:1.5px solid var(--salmon); border-radius:24px; z-index:0; }
.about-figure img{ position:relative; z-index:1; width:100%; height:auto; aspect-ratio:496/727; object-fit:cover; border-radius:24px; }
.about h2{ font-size:46px; margin-bottom:24px; text-wrap:balance; }
.about p{ font-size:17.5px; line-height:1.75; color:var(--muted); margin-bottom:20px; }
.about-quote{ font-family:var(--serif); font-style:italic; font-size:26px; line-height:1.35; color:var(--maroon); border-left:2px solid var(--salmon); padding-left:20px; margin:28px 0 30px!important; }
.about-stats{ display:flex; gap:40px; flex-wrap:wrap; margin-top:12px; }
.about-stats b{ display:block; font-family:var(--serif); font-weight:500; font-size:40px; color:var(--clay); line-height:1; }
.about-stats span{ font-size:14px; color:#8a6b64; }

/* == COMO POSSO AJUDAR ================================================ */
.help{ background:var(--cream-2); }
.help .inner{ padding-top:100px; padding-bottom:100px; }
.section-head{ max-width:640px; margin:0 auto 56px; text-align:center; }
.section-head h2{ font-size:46px; text-wrap:balance; }
.cards{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.card{ background:var(--cream); border:1px solid rgba(115,2,2,.06); border-radius:20px; padding:34px 30px; transition:transform .3s ease, box-shadow .3s ease; }
.card:hover{ transform:translateY(-6px); box-shadow:0 26px 44px -28px rgba(115,2,2,.42); }
.card .dot{ width:46px; height:46px; border-radius:50%; background:#F3D9C4; display:flex; align-items:center; justify-content:center; margin-bottom:20px; }
.card .dot i{ width:14px; height:14px; border-radius:50%; background:var(--clay); display:block; }
.card h3{ font-family:var(--round); font-weight:600; font-size:20px; color:var(--maroon); margin-bottom:10px; }
.card p{ font-size:15.5px; color:var(--muted-2); }

/* == COMO FUNCIONA (passos) =========================================== */
.process{ padding-top:104px; padding-bottom:104px; }
.steps{ display:grid; grid-template-columns:repeat(3,1fr); gap:36px; }
.step .num{ font-family:var(--serif); font-style:italic; font-size:64px; color:#E7C4AC; line-height:1; margin-bottom:14px; }
.step h3{ font-family:var(--round); font-weight:600; font-size:21px; color:var(--maroon); margin-bottom:12px; }
.step p{ font-size:16px; color:var(--muted-2); }

/* == CITAÇÃO ========================================================== */
.quote{ background:linear-gradient(135deg,var(--clay),var(--salmon)); color:#fff; }
.quote .inner{ max-width:900px; margin:0 auto; text-align:center; padding-top:92px; padding-bottom:92px; }

.quote blockquote{ font-family:var(--serif); font-style:italic; font-size:34px; line-height:1.4; text-wrap:balance; margin-bottom:24px; }
.quote cite{ font-family:var(--round); font-weight:600; font-size:14px; letter-spacing:2px; text-transform:uppercase; font-style:normal; color:rgba(255,255,255,.85); }

/* == FAQ ============================================================== */
.faq{ max-width:860px; margin:0 auto; padding-top:104px; padding-bottom:104px; }
.faq .section-head{ margin-bottom:52px; }
.faq-list{ display:flex; flex-direction:column; gap:14px; }
.faq-item{ background:var(--cream); border:1px solid rgba(115,2,2,.1); border-radius:16px; padding:22px 26px; cursor:pointer; transition:border-color .25s; }
.faq-item:hover{ border-color:var(--salmon); }
.faq-q{ display:flex; align-items:center; justify-content:space-between; gap:20px; }
.faq-q h3{ font-family:var(--round); font-weight:600; font-size:18px; color:var(--maroon); }
.faq-q .plus{ font-family:var(--serif); font-size:30px; color:var(--clay); line-height:.6; transition:transform .3s ease; flex:none; }
.faq-item.open .plus{ transform:rotate(45deg); }
.faq-a{ max-height:0; overflow:hidden; transition:max-height .35s ease, margin-top .35s ease; }
.faq-item.open .faq-a{ max-height:260px; margin-top:14px; }
.faq-a p{ font-size:16px; color:var(--muted-2); }

/* == CONTATO ========================================================== */
.contact{ background:var(--maroon); color:#F3E1CC; }
.contact .grid{ display:grid; grid-template-columns:1.1fr .9fr; gap:64px; align-items:center; padding-top:96px; padding-bottom:96px; }
.contact .eyebrow{ color:var(--salmon); }
.contact h2{ font-size:52px; line-height:1.08; color:var(--cream); margin-bottom:22px; text-wrap:balance; }
.contact p{ font-size:18px; line-height:1.7; color:rgba(243,225,204,.85); max-width:460px; margin-bottom:36px; }
.contact-cards{ display:flex; flex-direction:column; gap:18px; }
.info-card{ background:rgba(251,244,234,.07); border:1px solid rgba(243,225,204,.16); border-radius:18px; padding:24px 28px; }
.info-card b{ display:block; font-family:var(--round); font-weight:600; font-size:12px; letter-spacing:2px; text-transform:uppercase; color:var(--salmon); margin-bottom:8px; }
.info-card p{ font-size:17px; color:var(--cream); margin:0; }
.insta-card{ display:block; transition:border-color .25s, transform .25s; }
.insta-card:hover{ border-color:var(--salmon); transform:translateY(-3px); }
.insta-card p{ display:flex; align-items:center; gap:9px; }
.insta-card svg{ width:19px; height:19px; flex:none; color:var(--salmon); }

/* == RODAPÉ =========================================================== */
.site-footer{ background:var(--maroon-dk); color:rgba(243,225,204,.7); }
.site-footer .row{ display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap; padding-top:40px; padding-bottom:40px; }
.site-footer .brand b{ color:var(--cream); }
.site-footer .brand span{ color:var(--salmon); }
.site-footer small{ font-size:13.5px; }
.site-footer a.phone{ font-family:var(--round); font-weight:600; font-size:14px; color:#F3D9C4; }
.footer-links{ display:flex; align-items:center; gap:22px; flex-wrap:wrap; }
.footer-links a:hover{ color:var(--salmon); }

/* == ANIMAÇÕES ======================================================== */
@keyframes floaty{ 0%,100%{ transform:translateY(0) rotate(0); } 50%{ transform:translateY(-14px) rotate(2deg); } }
@keyframes rise{ from{ opacity:0; transform:translateY(24px); } to{ opacity:1; transform:translateY(0); } }
@media (prefers-reduced-motion: reduce){ *{ animation:none!important; } }

/* == RESPONSIVO ======================================================= */
@media (max-width:900px){
  .hero{ grid-template-columns:1fr; gap:48px; padding-top:56px; padding-bottom:56px; }
  .hero-motif{ display:none; }
  .hero-title{ font-size:48px; }
  .hero-figure{ max-width:420px; }
  .about{ grid-template-columns:1fr; gap:44px; padding-top:72px; padding-bottom:72px; }
  .about-figure{ max-width:420px; }
  .values .grid, .cards, .steps{ grid-template-columns:1fr; gap:26px; }
  .contact .grid{ grid-template-columns:1fr; gap:40px; padding-top:72px; padding-bottom:72px; }
  .contact h2{ font-size:40px; }
  .section-head h2, .about h2{ font-size:38px; }
  .quote blockquote{ font-size:27px; }

  /* menu mobile */
  .nav-toggle{ display:block; }
  .nav-links{
    position:absolute; top:100%; left:0; right:0;
    flex-direction:column; align-items:flex-start; gap:0;
    background:var(--cream); border-bottom:1px solid rgba(115,2,2,.1);
    padding:8px 32px 20px; box-shadow:0 20px 30px -20px rgba(115,2,2,.3);
    display:none;
  }
  .nav-links.open{ display:flex; }
  .nav-links a{ width:100%; padding:14px 0; font-size:17px; }
  .nav-cta{ margin-top:10px; text-align:center; }
}
@media (max-width:480px){
  .wrap{ padding-left:20px; padding-right:20px; }
  .hero-title{ font-size:40px; }
  .btn-primary, .btn-light{ width:100%; justify-content:center; }
}

/* == BLOG (inativo) ===================================================
   Usado por components/blog/PostCard.js quando features.blog.enabled
   for true. Reaproveita .card, entao o blog nasce com a identidade
   visual do site. Nao afeta nada da pagina atual.
   ===================================================================== */
.post-card{ display:flex; flex-direction:column; gap:10px; text-decoration:none; }
.post-card .eyebrow{ margin-bottom:0; }
.post-card-img{ width:100%; height:auto; aspect-ratio:16/10; object-fit:cover; border-radius:14px; margin-bottom:6px; }
