/* =========================================================
   Cristiane Lopes | Psicóloga — Design System
   Paleta: navy + laranja + branco (identidade visual Singularis)
   Tipografia: Poppins (títulos, arredondada e forte) + Inter (leitura)
   ========================================================= */

:root {
  --charcoal: #16324f;       /* navy - títulos */
  --charcoal-soft: #2c5478;  /* navy mais claro */
  --cream: #ffffff;
  --cream-dark: #f4f6f9;     /* cinza-azulado bem claro, seções alternadas */
  --terracota: #f4793c;      /* laranja - cor de ação/CTA */
  --terracota-dark: #dd6327;
  --sage: #2c5478;           /* reaproveita navy claro onde antes era verde */
  --sage-light: #e4ecf5;
  --gold: #f4793c;
  --white: #ffffff;
  --text-body: #47566a;
  --radius: 14px;
  --shadow: 0 12px 34px rgba(22, 50, 79, 0.10);
  --max-width: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-body);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .serif {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--charcoal);
  line-height: 1.2;
  font-weight: 700;
  margin: 0 0 .5em;
}

h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }

p { margin: 0 0 1.1em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { padding-left: 1.2em; }
li { margin-bottom: .5em; }

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

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
  font-weight: 600;
  color: var(--terracota);
  margin-bottom: .9em;
  display: inline-block;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(22,50,79,.08);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
.logo {
  font-family: 'Poppins', sans-serif;
  font-size: 1.35rem;
  color: var(--charcoal);
  letter-spacing: .02em;
}
.logo span { color: var(--terracota); }
.logo small {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: .62rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 600;
  margin-top: 2px;
}
nav.main-nav { display: flex; align-items: center; gap: 30px; }
nav.main-nav a.nav-link {
  font-size: .92rem;
  font-weight: 500;
  color: var(--charcoal-soft);
  position: relative;
  padding: 4px 0;
}
nav.main-nav a.nav-link:hover,
nav.main-nav a.nav-link.active { color: var(--terracota); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.tel-link { font-size: .88rem; font-weight: 600; color: var(--charcoal-soft); display:none; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .92rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--terracota); color: var(--white); box-shadow: 0 8px 20px rgba(244,121,60,.28); }
.btn-primary:hover { background: var(--terracota-dark); }
.btn-outline { background: transparent; border-color: var(--charcoal); color: var(--charcoal); }
.btn-outline:hover { background: var(--charcoal); color: var(--cream); }
.btn-light { background: var(--white); color: var(--charcoal); }
.btn-sm { padding: 9px 18px; font-size: .82rem; }

.menu-toggle { display: none; background: none; border: none; cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
  padding: 64px 0 90px;
  position: relative;
  overflow: hidden;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
.hero-credential {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--sage-light);
  color: var(--sage);
  font-size: .78rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero h1 { margin-bottom: .4em; }
.hero .lead { font-size: 1.14rem; color: var(--text-body); max-width: 46ch; margin-bottom: 1.6em; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-trust {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  font-size: .84rem;
  color: var(--charcoal-soft);
  border-top: 1px solid rgba(22,50,79,.1);
  padding-top: 20px;
}
.hero-trust strong { display: block; color: var(--charcoal); font-family: 'Poppins', sans-serif; font-size: 1.15rem; font-weight: 500; }

.hero-photo-wrap { position: relative; }
.hero-photo-wrap::before {
  content: "";
  position: absolute;
  top: -24px;
  right: -24px;
  width: 88%;
  height: 92%;
  background: var(--terracota);
  border-radius: 32px;
  z-index: 0;
}
.hero-photo-frame {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/5;
  background: var(--cream-dark);
  position: relative;
  z-index: 1;
}
.hero-photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute;
  bottom: -18px;
  left: -18px;
  z-index: 2;
  background: var(--charcoal);
  color: var(--cream);
  padding: 16px 20px;
  border-radius: var(--radius);
  font-family: 'Poppins', sans-serif;
  font-size: .95rem;
  box-shadow: var(--shadow);
  max-width: 220px;
}
.hero-badge b { color: var(--gold); display:block; font-size: 1.3rem; }

/* ---------- Sections ---------- */
section { padding: 84px 0; }
.section-alt { background: var(--cream-dark); }
.section-charcoal { background: var(--charcoal); color: rgba(255,255,255,.85); }
.section-charcoal h2, .section-charcoal h3 { color: var(--cream); }
.section-head { max-width: 700px; margin: 0 auto 52px; text-align: center; }
.section-head p { color: var(--text-body); font-size: 1.05rem; }
.section-charcoal .section-head p { color: rgba(255,255,255,.75); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(22,50,79,.05);
}
.card .icon {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--sage-light);
  color: var(--sage);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.card .icon svg { width: 24px; height: 24px; }
.card .icon.gold { background: #fde3d0; color: var(--gold); }
.card .icon.terra { background: #fde3d0; color: var(--terracota); }
.topic-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px 22px;
  border: 1px solid rgba(22,50,79,.07);
  transition: box-shadow .15s ease, transform .15s ease;
}
.topic-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.topic-card h3 { font-size: 1.05rem; margin-bottom: .3em; }
.topic-card p { font-size: .92rem; margin-bottom: 0; }
.topic-card {
  display: block;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  position: relative;
  padding-right: 40px;
}
.topic-card::after {
  content: "+";
  position: absolute;
  top: 24px;
  right: 20px;
  font-size: 1.3rem;
  color: var(--terracota);
  font-weight: 600;
  transition: transform .25s ease;
}
.topic-card.open::after { transform: rotate(45deg); }
.topic-card .topic-more {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.topic-card.open .topic-more { max-height: 160px; margin-top: 12px; }
.topic-card .topic-more p { font-size: .88rem; margin-bottom: .6em; color: var(--text-body); }
.topic-card .topic-more a { color: var(--terracota); font-weight: 600; font-size: .88rem; }

/* ---------- About split ---------- */
.split {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 60px;
  align-items: center;
}
.split img { border-radius: var(--radius); box-shadow: var(--shadow); position: relative; z-index: 1; }
.photo-blob { position: relative; }
.photo-blob::before {
  content: "";
  position: absolute;
  top: -20px;
  left: -20px;
  width: 85%;
  height: 90%;
  background: var(--terracota);
  border-radius: 28px;
  z-index: 0;
}
.photo-blob.blob-right::before { left: auto; right: -20px; }
.credential-list { list-style: none; padding: 0; margin: 24px 0; }
.credential-list li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: .95rem; margin-bottom: 14px;
}
.credential-list li::before {
  content: "✓";
  color: var(--sage);
  font-weight: 700;
  flex-shrink: 0;
}

/* ---------- Stats ---------- */
.stats { display:flex; gap: 40px; flex-wrap: wrap; }
.stat b { font-family: 'Poppins', sans-serif; font-size: 2.2rem; color: var(--terracota); display:block; font-weight: 500; }
.stat span { font-size: .85rem; color: var(--charcoal-soft); }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--terracota);
  color: var(--white);
  border-radius: 6px;
  padding: 54px 48px;
  text-align: center;
}
.cta-banner h2 { color: var(--white); }
.cta-banner p { color: rgba(255,255,255,.88); max-width: 60ch; margin: 0 auto 26px; }
.cta-banner .btn-light:hover { background: var(--charcoal); color: var(--cream); }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--charcoal);
  color: rgba(255,255,255,.7);
  padding: 60px 0 24px;
  font-size: .9rem;
}
footer.site-footer .grid-4 { margin-bottom: 40px; }
footer.site-footer h4 { color: var(--cream); font-size: .95rem; margin-bottom: 14px; font-family: 'Inter', sans-serif; font-weight: 600; }
footer.site-footer a:hover { color: var(--cream); }
footer.site-footer .foot-logo { font-family: 'Poppins', sans-serif; color: var(--cream); font-size: 1.25rem; margin-bottom: 10px; }
.foot-social { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); color: var(--cream); margin-top: 6px; transition: background .2s, border-color .2s; }
.foot-social:hover { background: var(--terracota); border-color: var(--terracota); color: #fff; }
.foot-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: .8rem;
}
.ethics-note {
  font-size: .78rem;
  color: rgba(255,255,255,.5);
  max-width: 640px;
}

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 200;
  background: #25D366;
  color: #fff;
  width: 58px; height: 58px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(0,0,0,.25);
  font-size: 1.6rem;
}

/* ---------- Breadcrumb / page hero ---------- */
.page-hero {
  padding: 52px 0 40px;
  border-bottom: 1px solid rgba(22,50,79,.08);
}
.breadcrumb { font-size: .82rem; color: var(--charcoal-soft); margin-bottom: 14px; }
.breadcrumb a { color: var(--sage); }

/* ---------- Service block ---------- */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid rgba(22,50,79,.08);
}
.service-block:last-child { border-bottom: none; }
.service-block.reverse .service-media { order: 2; }
.service-media {
  background: linear-gradient(150deg, var(--charcoal) 0%, var(--charcoal-soft) 100%);
  border-radius: 24px;
  aspect-ratio: 4/3;
  display: flex; align-items:center; justify-content:center;
  color: var(--terracota);
  position: relative;
  overflow: hidden;
}
.service-media svg { width: 68px; height: 68px; position: relative; z-index: 1; }
.service-media::after {
  content: "";
  position: absolute; right: -40px; top: -40px;
  width: 150px; height: 150px; border-radius: 50%;
  background: rgba(244,121,60,.18);
}
.service-media::before {
  content: "";
  position: absolute; left: -30px; bottom: -50px;
  width: 130px; height: 130px; border-radius: 40%;
  background: rgba(255,255,255,.05);
}
.tag-list { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0; }
.tag { background: var(--sage-light); color: var(--sage); font-size: .8rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; }

/* ---------- Blog ---------- */
.post-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display:flex; flex-direction:column; }
.post-thumb {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--terracota) 0%, #ff9760 100%);
  display:flex; align-items:center; justify-content:center;
  color: #fff; position: relative; overflow: hidden;
}
.post-thumb svg { width: 52px; height: 52px; position: relative; z-index: 1; }
.post-thumb::after {
  content: "";
  position: absolute; right: -30px; bottom: -30px;
  width: 120px; height: 120px; border-radius: 50%;
  background: rgba(255,255,255,.12);
}
.post-thumb::before {
  content: "";
  position: absolute; left: -20px; top: -30px;
  width: 80px; height: 80px; border-radius: 50%;
  background: rgba(255,255,255,.10);
}
.post-body { padding: 24px; flex:1; display:flex; flex-direction:column; }
.post-meta { font-size: .78rem; color: var(--terracota); font-weight:600; text-transform: uppercase; letter-spacing:.06em; margin-bottom:.6em; }
.post-body h3 { margin-bottom: .4em; }
.post-body p { font-size: .92rem; flex:1; }
.read-more { font-size: .85rem; font-weight: 600; color: var(--terracota); }

article.post-content h2 { margin-top: 1.3em; }
article.post-content p { max-width: 72ch; }
article.post-content ul { max-width: 72ch; }
.post-header { max-width: 760px; margin: 0 auto; text-align:center; }
.post-header .post-meta { justify-content:center; display:flex; gap: 14px; }
article.post-content { max-width: 760px; margin: 0 auto; }

/* ---------- Contact ---------- */
.contact-grid { display:grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
}
.contact-row { display:flex; gap:14px; margin-bottom: 22px; align-items:flex-start; }
.contact-row .icon { width: 40px; height:40px; border-radius:50%; background: var(--sage-light); color:var(--sage); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.map-embed { border-radius: var(--radius); overflow:hidden; box-shadow: var(--shadow); border:0; width:100%; height:280px; margin-top:24px; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.small-caps { text-transform:uppercase; letter-spacing:.1em; font-size:.78rem; font-weight:600; color: var(--sage); }

/* ---------- Barra fixa mobile + voltar ao topo ---------- */
.mobile-cta-bar { display: none; }
.back-to-top {
  position: fixed;
  bottom: 22px;
  right: 90px;
  z-index: 200;
  background: var(--white);
  color: var(--charcoal);
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow);
  border: 1px solid rgba(22,50,79,.08);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease;
}
.back-to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top svg { width: 18px; height: 18px; }

@media (max-width: 640px) {
  .mobile-cta-bar {
    display: flex;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 199;
    background: var(--white);
    padding: 10px 14px;
    box-shadow: 0 -6px 20px rgba(22,50,79,.12);
    gap: 10px;
  }
  .mobile-cta-bar a { flex: 1; justify-content: center; }
  .wa-float { bottom: 78px; }
  .back-to-top { bottom: 78px; right: 78px; }
  body { padding-bottom: 66px; }
}

/* ---------- Autoria (blog) ---------- */
.author-box {
  display: flex;
  gap: 18px;
  align-items: center;
  background: var(--cream-dark);
  border-radius: var(--radius);
  padding: 22px;
  margin-top: 44px;
}
.author-box img { width: 68px; height: 68px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.author-box h4 { margin-bottom: .2em; font-size: 1.05rem; }
.author-box p { margin-bottom: 0; font-size: .88rem; }
.related-posts { margin-top: 44px; }
.related-posts h3 { font-size: 1.1rem; margin-bottom: 16px; }
.related-posts ul { list-style: none; padding: 0; }
.related-posts li { margin-bottom: 10px; }
.related-posts a { color: var(--terracota); font-weight: 600; }

/* ---------- VSL ---------- */
.vsl-unmute {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(22,50,79,.85);
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: opacity .2s ease;
}
.vsl-unmute.hidden { opacity: 0; pointer-events: none; }

/* ---------- Interatividade / dinamismo ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.site-header { transition: box-shadow .25s ease, padding .25s ease; }
.site-header.scrolled { box-shadow: 0 4px 20px rgba(22,50,79,.08); }
.site-header.scrolled .container { padding-top: 10px; padding-bottom: 10px; }

.card, .topic-card, .post-card, .btn { transition: transform .2s ease, box-shadow .2s ease; }
.topic-card:hover, .card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card:hover { transform: translateY(-4px); }

/* Accordion / FAQ */
.accordion { border-top: 1px solid rgba(22,50,79,.1); max-width: 780px; margin: 0 auto; }
.accordion-item { border-bottom: 1px solid rgba(22,50,79,.1); }
.accordion-trigger {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 22px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  color: var(--charcoal);
}
.accordion-trigger .plus { font-size: 1.4rem; color: var(--terracota); transition: transform .25s ease; flex-shrink:0; }
.accordion-item.open .accordion-trigger .plus { transform: rotate(45deg); }
.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  font-size: .95rem;
}
.accordion-item.open .accordion-panel { max-height: 400px; padding-bottom: 22px; }

/* Diferenciais (alto padrão) */
.differentiator { display:flex; gap:16px; align-items:flex-start; }
.differentiator .num { font-family:'Poppins', sans-serif; font-size:1.6rem; color: var(--gold); flex-shrink:0; width:44px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero .container, .split, .service-block, .contact-grid { grid-template-columns: 1fr; }
  .service-block.reverse .service-media { order: 0; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  nav.main-nav { position: fixed; inset: 72px 0 0 0; background: var(--cream); flex-direction: column; padding: 30px 24px; gap: 22px; transform: translateX(100%); transition: transform .25s ease; overflow-y:auto; }
  nav.main-nav.open { transform: translateX(0); }
  .menu-toggle { display: block; }
  .hero-badge { position: static; margin-top: 16px; max-width: none; }
}
@media (max-width: 560px) {
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .cta-banner { padding: 40px 24px; }
  section { padding: 60px 0; }
}
