/* ==========================================================================
   Thalles Alves — Terapia Junguiana
   Paleta: #113b5d (azul) · #f4f1e8 (creme) · #fdb021 (âmbar, só detalhes)
   Fontes sem serifa: Bricolage Grotesque (títulos) + Inter (texto)
   ========================================================================== */

:root {
  --azul: #113b5d;
  --azul-700: #0d3050;
  --azul-900: #0a2438;
  --creme: #f4f1e8;
  --creme-2: #efeadd;
  --branco: #fbfaf6;
  --ambar: #fdb021;
  --ambar-soft: #ffe9c2;

  --texto: #2b3b46;        /* corpo em fundo claro */
  --texto-suave: #5a6b76;
  --linha: #e2ddcf;        /* bordas sutis */

  --sombra-sm: 0 2px 10px rgba(17, 59, 93, .06);
  --sombra: 0 14px 40px -18px rgba(17, 59, 93, .28);
  --sombra-lg: 0 30px 70px -30px rgba(17, 59, 93, .4);

  --raio: 18px;
  --raio-sm: 12px;
  --container: 1160px;

  --fonte-titulo: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --fonte-texto: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

/* Reset -------------------------------------------------------------------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--fonte-texto);
  color: var(--texto);
  background: var(--creme);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: var(--fonte-titulo);
  color: var(--azul);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -.015em;
  margin: 0 0 .5em;
}
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }

/* Layout ------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.center { text-align: center; }
.narrow { max-width: 720px; margin-left: auto; margin-right: auto; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--azul);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--ambar);
  border-radius: 2px;
}
.eyebrow--center { justify-content: center; }

h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); }
.lead { font-size: 1.18rem; color: var(--texto-suave); }

/* Botões ------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  font-family: var(--fonte-texto);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  line-height: 1;
}
.btn svg { width: 20px; height: 20px; }
.btn--primary {
  background: var(--ambar);
  color: var(--azul-900);
  box-shadow: 0 10px 24px -10px rgba(253, 176, 33, .8);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(253, 176, 33, .9); }
.btn--ghost {
  background: transparent;
  color: var(--azul);
  border-color: rgba(17, 59, 93, .25);
}
.btn--ghost:hover { border-color: var(--azul); transform: translateY(-2px); }
.btn--light {
  background: var(--creme);
  color: var(--azul);
}
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--sombra); }
.btn--block { width: 100%; }

/* Header ------------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 241, 232, .82);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--linha);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark { width: 40px; height: 40px; }
.brand__name { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name b { font-family: var(--fonte-titulo); color: var(--azul); font-size: 1.06rem; letter-spacing: -.01em; }
.brand__name span { font-size: .49rem; letter-spacing: .05em; text-transform: uppercase; color: var(--texto-suave); text-align: justify; text-align-last: justify; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  font-size: .96rem;
  font-weight: 500;
  color: var(--azul);
  position: relative;
  padding: 4px 0;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--ambar);
  transition: width .22s ease;
}
.nav a:hover::after { width: 100%; }
.nav a.active { font-weight: 600; }
.nav a.active::after { width: 100%; }
.header .btn { padding: 11px 20px; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
  color: var(--azul);
}
.nav-toggle svg { width: 26px; height: 26px; }

/* Hero --------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(253, 176, 33, .10), transparent 55%),
    var(--creme);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
  padding: 40px 0 48px;
  min-height: calc(100vh - 74px);
}
.hero h1 { margin-bottom: 16px; font-size: clamp(1.9rem, 4.3vw, 3rem); }
.hero .lead { max-width: 520px; margin-bottom: 26px; font-size: 1.1rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero__note {
  margin-top: 16px;
  font-size: .92rem;
  color: var(--texto-suave);
  display: flex; align-items: center; gap: 8px;
}
.hero__note svg { width: 18px; height: 18px; color: var(--azul); flex: none; }

.hero__media { position: relative; max-width: 480px; width: 100%; justify-self: end; }
.hero__photo {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--sombra-lg);
  border: 6px solid var(--branco);
  aspect-ratio: 1 / 1;
  z-index: 2;
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__blob {
  position: absolute;
  inset: auto -34px -34px auto;
  width: 78%;
  aspect-ratio: 1/1;
  background: var(--azul);
  border-radius: 45% 55% 52% 48% / 55% 45% 55% 45%;
  z-index: 1;
  opacity: .9;
}
.hero__badge {
  position: absolute;
  left: -22px; bottom: 26px;
  z-index: 3;
  background: var(--branco);
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: var(--sombra);
  display: flex; align-items: center; gap: 12px;
  max-width: 250px;
}
.hero__badge .dot { width: 10px; height: 10px; border-radius: 50%; background: #34c759; flex: none; box-shadow: 0 0 0 4px rgba(52,199,89,.18); margin-top: 5px; }
.hero__badge__text b { display: block; color: var(--azul); font-size: .95rem; line-height: 1.25; }
.hero__badge__text span { display: block; font-size: .82rem; color: var(--texto-suave); }

/* Faixa de confiança ------------------------------------------------------- */
.trust {
  background: var(--azul);
  color: var(--creme);
}
.trust__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding: 40px 0;
}
.trust__item { display: flex; gap: 14px; align-items: flex-start; }
.trust__item svg { width: 26px; height: 26px; color: var(--ambar); flex: none; margin-top: 2px; }
.trust__item b { display: block; font-family: var(--fonte-titulo); font-size: 1.05rem; }
.trust__item span { font-size: .92rem; color: rgba(244,241,232,.75); }

/* Cards de identificação --------------------------------------------------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 44px;
}
.card {
  background: var(--branco);
  border: 1px solid var(--linha);
  border-radius: var(--raio);
  padding: 28px;
  box-shadow: var(--sombra-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--sombra); }
.card__icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--ambar-soft);
  color: var(--azul);
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.card__icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 8px; font-size: 1.12rem; }
.card p { margin: 0; color: var(--texto-suave); font-size: .97rem; }

/* Lista de sinais (checklist) --------------------------------------------- */
.signals {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 44px;
}
.signal {
  display: flex;
  gap: 15px;
  align-items: center;
  background: var(--branco);
  border: 1px solid var(--linha);
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: var(--sombra-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.signal:hover { transform: translateY(-3px); box-shadow: var(--sombra); border-color: rgba(253,176,33,.55); }
.signal__icon {
  width: 36px; height: 36px; flex: none;
  border-radius: 50%;
  background: var(--ambar-soft);
  display: grid; place-items: center;
}
.signal__icon svg { width: 18px; height: 18px; color: var(--azul); }
.signal p { margin: 0; font-size: .98rem; line-height: 1.5; }

/* Bloco sobre a terapia (dividido) ---------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split--media-left { direction: rtl; }
.split--media-left > * { direction: ltr; }
.split__media {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--sombra);
  aspect-ratio: 4 / 5;
}
.split__media img { width: 100%; height: 100%; object-fit: cover; }

/* Como funciona (etapas) --------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 46px; }
.step { position: relative; padding-top: 8px; }
.step__num {
  font-family: var(--fonte-titulo);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--azul);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--creme);
  border: 2px solid var(--ambar);
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.step h3 { font-size: 1.1rem; margin-bottom: 6px; }
.step p { color: var(--texto-suave); font-size: .96rem; margin: 0; }
.steps--on-dark .step__num { background: transparent; color: var(--creme); }
.steps--on-dark h3 { color: var(--creme); }
.steps--on-dark p { color: rgba(244,241,232,.78); }

/* Destaque sessão gratuita ------------------------------------------------- */
.highlight {
  background: linear-gradient(180deg, var(--creme-2), var(--creme));
  border: 1px solid var(--linha);
  border-radius: 26px;
  padding: 44px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
}
.highlight h2 { margin-bottom: 10px; }
.highlight p { margin: 0; color: var(--texto-suave); max-width: 560px; }

/* FAQ ---------------------------------------------------------------------- */
.faq { max-width: 820px; margin: 44px auto 0; }
.faq__item {
  border: 1px solid var(--linha);
  background: var(--branco);
  border-radius: var(--raio-sm);
  margin-bottom: 14px;
  overflow: hidden;
}
.faq__q {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 22px 24px;
  font-family: var(--fonte-titulo);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--azul);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq__q svg { width: 22px; height: 22px; flex: none; transition: transform .25s ease; color: var(--ambar); }
.faq__item[open] .faq__q svg { transform: rotate(45deg); }
.faq__a { padding: 0 24px 24px; color: var(--texto-suave); }
.faq__a p:last-child { margin: 0; }
/* usa <details> nativo */
details.faq__item summary { list-style: none; }
details.faq__item summary::-webkit-details-marker { display: none; }

/* CTA final (faixa escura) ------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--azul);
  color: var(--creme);
  text-align: center;
}
.cta-band::before,
.cta-band::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(253,176,33,.16), transparent 70%);
}
.cta-band::before { width: 420px; height: 420px; top: -160px; left: -120px; }
.cta-band::after { width: 460px; height: 460px; bottom: -220px; right: -140px; }
.cta-band .container { position: relative; z-index: 2; }
.cta-band h2 { color: var(--creme); }
.cta-band p { color: rgba(244,241,232,.82); }

/* Reflexões / blog preview ------------------------------------------------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.post-card {
  background: var(--branco);
  border: 1px solid var(--linha);
  border-radius: var(--raio);
  overflow: hidden;
  box-shadow: var(--sombra-sm);
  transition: transform .2s ease, box-shadow .2s ease;
  display: flex; flex-direction: column;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--sombra); }
.post-card__thumb { aspect-ratio: 16/10; background: var(--azul); overflow: hidden; }
.post-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-card__tag { font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--texto-suave); margin-bottom: 10px; }
.post-card h3 { font-size: 1.16rem; margin-bottom: 10px; }
.post-card p { color: var(--texto-suave); font-size: .96rem; flex: 1; }
.post-card__more { color: var(--azul); font-weight: 600; font-size: .95rem; display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; }
.post-card__more svg { width: 16px; height: 16px; transition: transform .2s ease; }
.post-card:hover .post-card__more svg { transform: translateX(3px); }

/* Estado vazio do blog ----------------------------------------------------- */
.empty {
  text-align: center;
  border: 1px dashed var(--linha);
  border-radius: var(--raio);
  padding: 64px 28px;
  background: var(--branco);
  max-width: 640px;
  margin: 44px auto 0;
}
.empty svg { width: 48px; height: 48px; color: var(--ambar); margin-bottom: 16px; }

/* Footer ------------------------------------------------------------------- */
.footer {
  background: var(--azul-900);
  color: rgba(244,241,232,.8);
  padding: 64px 0 30px;
  font-size: .95rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(244,241,232,.14);
}
.footer__brand img { width: 46px; margin-bottom: 16px; }
.footer__brand p { max-width: 320px; color: rgba(244,241,232,.66); }
.footer h4 { color: var(--creme); font-size: 1rem; margin-bottom: 16px; }
.footer ul li { margin-bottom: 10px; }
.footer a:hover { color: var(--ambar); }
.footer__contact a { display: inline-flex; align-items: center; gap: 10px; }
.footer__contact svg { width: 18px; height: 18px; color: var(--ambar); flex: none; }

.crisis {
  margin-top: 28px;
  background: rgba(244,241,232,.06);
  border: 1px solid rgba(244,241,232,.14);
  border-radius: var(--raio-sm);
  padding: 20px 22px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: rgba(244,241,232,.82);
  font-size: .9rem;
}
.crisis svg { width: 22px; height: 22px; color: var(--ambar); flex: none; margin-top: 2px; }
.crisis b { color: var(--creme); }

.footer__bottom {
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .85rem;
  color: rgba(244,241,232,.55);
}

/* Botão flutuante WhatsApp ------------------------------------------------- */
.wa-float {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 90;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: grid; place-items: center;
  box-shadow: 0 12px 30px -8px rgba(37,211,102,.7);
  transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; color: #fff; }

/* Páginas internas — cabeçalho -------------------------------------------- */
.page-hero {
  background:
    radial-gradient(120% 100% at 0% 0%, rgba(253,176,33,.08), transparent 55%),
    var(--creme-2);
  border-bottom: 1px solid var(--linha);
  padding: 70px 0 60px;
}
.breadcrumb { font-size: .86rem; color: var(--texto-suave); margin-bottom: 14px; }
.breadcrumb a:hover { color: var(--azul); }

/* Conteúdo de artigo ------------------------------------------------------- */
.article { max-width: 760px; margin: 0 auto; padding: 64px 0; }
.article p { font-size: 1.08rem; color: var(--texto); }
.article h2 { margin-top: 1.8em; }
.article h3 { margin-top: 1.4em; }
.article ul.bul { list-style: disc; padding-left: 1.3em; margin-bottom: 1.2em; }
.article ul.bul li { margin-bottom: .5em; }
.article blockquote {
  border-left: 3px solid var(--ambar);
  margin: 1.6em 0;
  padding: 4px 0 4px 22px;
  color: var(--texto-suave);
  font-size: 1.15rem;
  font-family: var(--fonte-titulo);
}

/* Responsivo --------------------------------------------------------------- */
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 36px; padding: 44px 0 56px; min-height: 0; }
  .hero__media { max-width: 380px; margin: 0 auto; width: 100%; justify-self: center; }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .split--media-left { direction: ltr; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .posts { grid-template-columns: repeat(2, 1fr); }
  .trust__grid { grid-template-columns: 1fr; gap: 18px; }
  .highlight { grid-template-columns: 1fr; text-align: center; }
  .highlight p { margin: 0 auto; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .header .btn--header { display: none; }
  .header.nav-open { border-bottom-color: transparent; }
  .nav.open {
    display: flex;
    position: absolute;
    top: 74px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--creme);
    padding: 12px 24px 24px;
    border-bottom: 1px solid var(--linha);
    box-shadow: var(--sombra);
  }
  .nav.open a { padding: 14px 0; border-bottom: 1px solid var(--linha); }
  .nav.open .btn { margin-top: 14px; }
  .cards, .steps, .posts, .signals { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { justify-content: center; text-align: center; }
  .highlight { padding: 30px 22px; }
}

/* Acessibilidade */
:focus-visible { outline: 3px solid var(--ambar); outline-offset: 2px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
