/* =========================================================================
   Sabrina Batista Steele — Psicóloga
   Paleta derivada dos materiais da própria profissional:
   o petróleo da capa do DSM-5-TR, o marfim do mármore, o latão do cinto.
   ========================================================================= */

:root {
  --ink:        #1F2A24;
  --petrol:     #2E5A4B;
  --petrol-lt:  #4B8570;
  --paper:      #FCFAF6;
  --wash:       #F0EAE0;
  --wash-deep:  #E3D9C9;
  --brass:      #A8703C;
  --brass-text: #8A5A2E;   /* latão escurecido: AA para texto pequeno */
  --brass-lt:   #C99A64;
  --muted:      #5D655C;
  --line:       #DCD3C5;

  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body:    "Karla", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --measure: 34rem;
  --gut: 1.5rem;
  --max: 72rem;

  --r-sm: 3px;
  --r-md: 6px;
}

@media (min-width: 48rem) { :root { --gut: 2.5rem; } }
@media (min-width: 75rem) { :root { --gut: 3.5rem; } }

/* --------------------------------------------------------------- reset --- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
svg  { display: block; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.015em;
  margin: 0 0 .6em;
  font-variation-settings: "SOFT" 40, "WONK" 1, "opsz" 40;
}

h1 { font-size: clamp(2rem, 4.4vw, 3.15rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.35rem); }
h3 { font-size: clamp(1.2rem, 2.6vw, 1.5rem); letter-spacing: -0.01em; }

p { margin: 0 0 1.1em; max-width: var(--measure); }

a { color: var(--petrol); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brass-text); }

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff;
  padding: .75rem 1.15rem; z-index: 999; border-radius: 0 0 var(--r-md) 0;
}
.skip:focus { left: 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* -------------------------------------------------------------- layout --- */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gut);
}

.band { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.band--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.band--wash { background: var(--wash); }
.band--ink  { background: var(--ink); color: #F2EFE8; }
.band--ink h2, .band--ink h3 { color: #fff; }
.band--ink a { color: var(--brass-lt); }

.eyebrow {
  font-family: var(--body);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brass-text);
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: .7rem;
}
.eyebrow::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
  max-width: 5rem;
}
.band--ink .eyebrow { color: var(--brass-lt); }
.band--ink .eyebrow::after { background: rgba(255,255,255,.22); }

.lede { font-size: clamp(1.08rem, 1.9vw, 1.22rem); line-height: 1.58; color: var(--muted); max-width: 44rem; }
.band--ink .lede { color: #CBC6B8; }

/* -------------------------------------------------------------- header --- */
.site-head {
  position: sticky; top: 0; z-index: 100;
  background: rgba(252,250,246,.92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.head-in {
  display: flex; align-items: center; gap: 1rem;
  min-height: 4.25rem;
}
.brand { text-decoration: none; color: var(--ink); line-height: 1.15; margin-right: auto; }
.brand b {
  display: block; white-space: nowrap;
  font-family: var(--display);
  font-weight: 500; font-size: 1.06rem; letter-spacing: -0.01em;
  font-variation-settings: "SOFT" 40, "WONK" 1, "opsz" 20;
}
.brand span { display: block; white-space: nowrap; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

.nav-toggle {
  display: inline-flex; align-items: center; gap: .5rem;
  background: none; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: .5rem .75rem; font: inherit; font-size: .9rem; color: var(--ink); cursor: pointer;
}
.nav-toggle span { width: 1rem; height: 1px; background: var(--ink); position: relative; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 100%; height: 1px; background: var(--ink);
}
.nav-toggle span::before { top: -5px; } .nav-toggle span::after { top: 5px; }

.site-nav { display: none; }
.site-nav.is-open {
  display: block;
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--paper); border-bottom: 1px solid var(--line);
  padding: .5rem var(--gut) 1.5rem;
}
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: block; padding: .6rem 0; text-decoration: none;
  color: var(--ink); border-bottom: 1px solid var(--line); font-size: 1rem;
}
.site-nav a[aria-current="page"] { color: var(--brass-text); }

.lang {
  font-size: .8rem; letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; color: var(--muted);
  border: 1px solid var(--line); border-radius: var(--r-md);
  padding: .42rem .6rem; white-space: nowrap;
}
.lang:hover { color: var(--ink); border-color: var(--ink); }

@media (min-width: 62rem) {
  .nav-toggle { display: none; }
  .site-nav { display: block; }
  .site-nav ul { display: flex; gap: 1.35rem; align-items: center; }
  .site-nav li { white-space: nowrap; }
  .site-nav a { border: 0; padding: .35rem 0; font-size: .9rem; position: relative; }
  .site-nav a::after {
    content: ""; position: absolute; left: 0; right: 100%; bottom: -2px;
    height: 1px; background: var(--brass); transition: right .25s ease;
  }
  .site-nav a:hover::after, .site-nav a[aria-current="page"]::after { right: 0; }
}

/* --------------------------------------------------------------- botão --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--body); font-weight: 600; font-size: 1rem;
  padding: .85rem 1.5rem; border-radius: 999px;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--solid { background: var(--petrol); color: #fff; }
.btn--solid:hover { background: var(--ink); color: #fff; }
.btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--wash); color: var(--ink); }
.btn svg { width: 1.05em; height: 1.05em; fill: currentColor; }

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.btn-note { font-size: .88rem; color: var(--muted); margin: .9rem 0 0; }
.band--ink .btn-note { color: #9FB4B3; }

/* ---------------------------------------------------------------- hero --- */
.hero { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 7vw, 5.5rem); }
.hero-grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
@media (min-width: 60rem) {
  .hero-grid { grid-template-columns: 1.08fr .92fr; gap: clamp(3rem, 6vw, 4.5rem); }
  .hero-figure { max-width: 27rem; margin-left: auto; }
}
.hero h1 { margin-bottom: .45em; }
.hero h1 { margin-bottom: .5em; }
.hero h1 em {
  font-style: normal;
  display: block;
  color: var(--petrol);
  font-size: .46em;
  line-height: 1.3;
  letter-spacing: -0.005em;
  margin-top: .55em;
  font-variation-settings: "SOFT" 40, "WONK" 0, "opsz" 24;
}
.hero-cred {
  display: flex; flex-wrap: wrap; gap: .5rem .9rem;
  font-size: .84rem; color: var(--muted);
  margin: 1.6rem 0 0; padding: 0; list-style: none;
}
.hero-cred li { display: flex; align-items: center; gap: .5rem; }
.hero-cred li:not(:last-child)::after { content: ""; width: 3px; height: 3px; border-radius: 50%; background: var(--brass); }

.hero-figure { position: relative; }
.hero-figure img {
  width: 100%; border-radius: var(--r-md);
  box-shadow: 0 24px 60px -28px rgba(31,42,36,.55);
}
.hero-figure::before {
  content: ""; position: absolute; z-index: 0;
  right: -0.6rem; bottom: -0.6rem; width: 42%; height: 34%;
  border-right: 1px solid var(--brass); border-bottom: 1px solid var(--brass);
  border-radius: 0 0 var(--r-md) 0; pointer-events: none;
}
.hero-figure picture, .hero-figure img { position: relative; z-index: 1; }

/* -------------------------------------------- assinatura: pensamentos --- */
.thoughts { display: grid; gap: 1rem; margin-top: 2.5rem; }
@media (min-width: 46rem) { .thoughts { grid-template-columns: repeat(2, 1fr); gap: 1.15rem; } }
@media (min-width: 68rem) { .thoughts { grid-template-columns: repeat(3, 1fr); } }

.thought {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brass);
  border-radius: var(--r-sm);
  padding: 1.15rem 1.3rem;
  font-size: 1.02rem;
  line-height: 1.5;
  color: var(--ink);
  margin: 0;
  transform: rotate(var(--tilt, 0deg));
  transition: transform .7s cubic-bezier(.2,.7,.3,1), box-shadow .3s ease;
  box-shadow: 0 6px 18px -14px rgba(31,42,36,.5);
}
.thought::before {
  content: "“";
  font-family: var(--display); font-size: 1.6rem; line-height: 0;
  color: var(--brass); margin-right: .15rem; vertical-align: -.15em;
}
.js-settle .thought { transform: rotate(var(--tilt, 0deg)); }
.js-settle .thoughts.is-settled .thought { transform: rotate(0deg); }
@media (prefers-reduced-motion: reduce) { .thought { transform: none !important; } }

.thought-after { margin-top: 2.25rem; font-size: 1.12rem; max-width: 44rem; }

/* --------------------------------------------------------------- cards --- */
.grid { display: grid; gap: 1.25rem; margin-top: 2.5rem; }
@media (min-width: 46rem) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 60rem) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 46rem) and (max-width: 59.99rem) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }

.card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 1.6rem 1.5rem;
  display: flex; flex-direction: column;
}
.band--wash .card { background: var(--paper); }
.card h3 { margin-bottom: .5rem; }
.card p { font-size: .98rem; color: var(--muted); max-width: none; }
.card .card-link {
  margin-top: auto; padding-top: .8rem; font-weight: 600; font-size: .95rem;
  text-decoration: none; color: var(--petrol); display: inline-flex; gap: .4rem; align-items: center;
}
.card .card-link:hover { color: var(--brass-text); gap: .65rem; }
.card .card-link::after { content: "→"; transition: transform .2s ease; }

/* ---------------------------------------------------------------- passo --- */
.steps { list-style: none; margin: 2.5rem 0 0; padding: 0; counter-reset: s; }
.steps li {
  counter-increment: s;
  display: grid; grid-template-columns: 2.5rem 1fr; gap: 1rem;
  padding: 1.4rem 0; border-top: 1px solid var(--line);
}
.steps li::before {
  content: counter(s, decimal-leading-zero);
  font-family: var(--display); font-size: 1rem; color: var(--brass-text);
  font-variation-settings: "WONK" 0;
}
.steps h3 { font-size: 1.15rem; margin-bottom: .3rem; }
.steps p { margin: 0; font-size: .99rem; color: var(--muted); }

/* ------------------------------------------------------------- credenc. --- */
.creds { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 0; }
.creds li { padding: 1.1rem 0; border-top: 1px solid var(--line); display: grid; gap: .15rem; }
.creds .yr { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--brass-text); }
.creds .ttl { font-weight: 600; }
.creds .org { font-size: .95rem; color: var(--muted); }

/* ----------------------------------------------------------------- FAQ --- */
.faq { margin-top: 2.5rem; max-width: 50rem; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none;
  padding: 1.15rem 2rem 1.15rem 0; position: relative;
  font-family: var(--display); font-size: 1.12rem; font-weight: 500;
  font-variation-settings: "SOFT" 40, "WONK" 1, "opsz" 20;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: .25rem; top: 1rem;
  font-size: 1.4rem; color: var(--brass-text); font-family: var(--body); font-weight: 300;
}
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 0 1.3rem; }
.faq .answer p { font-size: 1rem; color: var(--muted); margin-bottom: .8em; }
.faq .answer p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------- vídeo --- */
.video { margin-top: 2.5rem; max-width: 52rem; }
.video-shell {
  position: relative; aspect-ratio: 16/9; border-radius: var(--r-md);
  overflow: hidden; background: var(--ink);
}
.video-shell iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-facade {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border: 0; padding: 0; cursor: pointer; background: var(--ink);
  display: grid; place-items: center;
}
.video-facade img { width: 100%; height: 100%; object-fit: cover; opacity: .62; }
.video-facade .play {
  position: absolute; display: grid; place-items: center;
  width: 4.5rem; height: 4.5rem; border-radius: 50%;
  background: rgba(252,250,246,.94); color: var(--ink);
  transition: transform .2s ease;
}
.video-facade:hover .play { transform: scale(1.06); }
.video-facade .play svg { width: 1.5rem; height: 1.5rem; fill: currentColor; margin-left: .2rem; }
.video-cap { font-size: .9rem; color: var(--muted); margin-top: .9rem; }


/* --------------------------------------------------------------- prosa --- */
.prose h2 { margin-top: 2.6rem; }
.prose h3 { margin-top: 2rem; }
.prose ul { max-width: var(--measure); padding-left: 1.15rem; margin: 0 0 1.3em; }
.prose li { margin-bottom: .5rem; }
.prose > *:first-child { margin-top: 0; }

.callout {
  border-left: 3px solid var(--brass);
  background: var(--wash);
  padding: 1.25rem 1.4rem;
  border-radius: 0 var(--r-md) var(--r-md) 0;
  margin: 2rem 0;
  max-width: 46rem;
}
.callout p { margin-bottom: .6em; font-size: .99rem; }
.callout p:last-child { margin-bottom: 0; }
.callout strong { color: var(--ink); }

.notice {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.2rem 1.35rem;
  font-size: .93rem;
  color: var(--muted);
  max-width: 46rem;
  margin: 2rem 0;
}
.notice strong { color: var(--ink); }
.notice p { font-size: inherit; }

/* ------------------------------------------------------------- contato --- */
.contact-grid { display: grid; gap: 2rem; margin-top: 2.5rem; }
@media (min-width: 55rem) { .contact-grid { grid-template-columns: 1.1fr .9fr; gap: 3.5rem; } }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { padding: 1.1rem 0; border-top: 1px solid var(--line); }
.contact-list .lbl { display: block; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brass-text); margin-bottom: .2rem; }
.contact-list a { font-size: 1.05rem; }

/* -------------------------------------------------------------- rodapé --- */
.site-foot {
  background: var(--ink); color: #C4BFB1;
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  font-size: .93rem;
}
.foot-grid { display: grid; gap: 2.25rem; }
@media (min-width: 52rem) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; } }
.site-foot h2, .site-foot h3 {
  font-family: var(--body); font-size: .78rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--brass-lt); margin: 0 0 1rem; font-weight: 700;
}
.site-foot a { color: #E6E1D7; text-decoration: none; }
.site-foot a:hover { color: #fff; text-decoration: underline; }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { margin-bottom: .6rem; }
.site-foot .name { font-family: var(--display); font-size: 1.25rem; color: #fff; margin: 0 0 .3rem; }
.site-foot p { max-width: 26rem; }
.foot-bar {
  margin-top: 3rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.14);
  display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; justify-content: space-between;
  font-size: .84rem; color: #9C9789;
}
.notice--foot {
  border-color: rgba(255,255,255,.2);
  color: #C4BFB1;
  max-width: none;
  margin-top: 2.5rem;
}
.site-foot p.notice--foot { max-width: 46rem; }
.notice--foot strong { color: #fff; }

.crp-badge {
  display: inline-block; border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px; padding: .3rem .75rem; font-size: .8rem;
  letter-spacing: .04em; color: #E6E1D7;
}

/* ------------------------------------------------------- barra flutuante -- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: rgba(31,42,36,.97);
  padding: .7rem var(--gut) calc(.7rem + env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 1rem; justify-content: space-between;
  transform: translateY(110%); transition: transform .3s ease;
}
.sticky-cta.is-shown { transform: translateY(0); }
.sticky-cta p { margin: 0; color: #CBC6B8; font-size: .88rem; max-width: none; }
.sticky-cta .btn { padding: .6rem 1.1rem; font-size: .92rem; }
@media (min-width: 62rem) { .sticky-cta { display: none; } }

/* ------------------------------------------------- ajustes de cabeçalho --- */
@media (max-width: 61.99rem) {
  .head-in { gap: .55rem; min-height: 3.9rem; }
  .brand b { font-size: .94rem; }
  .brand span { font-size: .62rem; letter-spacing: .08em; }
  .lang { padding: .38rem .55rem; font-size: .72rem; }
  .nav-toggle { padding: .5rem .6rem; gap: .45rem; }
  .nav-toggle b { font-weight: 500; font-size: .85rem; }
}
@media (max-width: 21.5rem) {
  .brand span { display: none; }
  .nav-toggle b { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
.nav-cta { display: none; }
@media (min-width: 62rem) { .nav-cta { display: inline-flex; padding: .6rem 1.15rem; font-size: .92rem; } }
@media (max-width: 61.99rem) { .site-head .lang { margin-left: auto; } }
