/* ============================================================
   Karolliny Souza Advocacia: Design System
   Tokens mapped 1:1 from the Claude Design prototype.
   ============================================================ */
:root {
  --cream:      #F6F2EC;
  --white:      #FFFFFF;
  --ink:        #3F4045;
  --muted:      #6B6C70;
  --faint:      #6D6E73; /* darkened from #97989C for WCAG AA on cream/white */
  --faint-on-dark: #97989C; /* original light tone, only for decorative use */
  --gold:       #A17E3C;      /* brand gold: large text & decorative only */
  --gold-dark:  #836327;      /* accessible gold: small text labels/links (AA) */
  --gold-soft:  #E1BE84;
  --gold-pale:  #F5ECD9;
  --border:     #EBE2D0;
  --panel:      #F0EBE4;
  --wa:         #25A366;
  --wa-dark:    #1E8A54;
  --footer-bg:  #3F4045;

  --maxw: 1160px;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --shadow-sm: 0 4px 16px rgba(63,64,69,.05);
  --shadow-md: 0 8px 24px rgba(63,64,69,.08);
  --shadow-lg: 0 16px 40px rgba(63,64,69,.12);
  --shadow-wa: 0 8px 24px rgba(63,64,69,.22);
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
:target, h2[id], h3[id] { scroll-margin-top: 96px; }
body {
  background: var(--cream);
  overflow-x: hidden;
  font-family: var(--sans);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: var(--gold-dark); text-decoration: none; }
a:hover { color: #6a4f1f; }
img { max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; }
button { font-family: var(--sans); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

@keyframes ksFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Layout helpers ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.section { padding: 56px 0; }
.section--white { background: var(--white); border-top: 1px solid var(--border); }
.section--cream { background: var(--cream); }
.section__head { text-align: center; max-width: 600px; margin: 0 auto 34px; }
.h2 { font-family: var(--serif); font-weight: 700; font-size: 27px; line-height: 1.2; margin: 0 0 14px; color: var(--ink); }
.lead { font-size: 16px; line-height: 1.6; color: var(--muted); margin: 0; }

/* ---------- Skip link (a11y) ---------- */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
  font-weight: 700; font-size: 14px; transition: top .2s;
}
.skip-link:focus { top: 12px; color: #fff; }

:where(a, button, summary, input, [tabindex]):focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ---------- Top bar ---------- */
.topbar {
  background: var(--gold-soft); color: var(--ink);
  text-align: center; padding: 10px 16px;
  font-size: 13.5px; font-weight: 600;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(63,64,69,.05);
}
.header-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 12px 24px;
  min-height: 60px; display: flex; align-items: center;
  justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; }
.brand img { height: 38px; display: block; width: auto; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav__link {
  appearance: none; border: none; background: transparent; cursor: pointer;
  font-family: var(--sans); font-size: 14px; font-weight: 700;
  padding: 10px 14px; border-radius: 8px; color: var(--muted);
  transition: background .2s, color .2s; text-decoration: none; line-height: 1;
}
.nav__link:hover { background: var(--panel); color: var(--ink); }
.nav__link[aria-current="page"] { color: var(--gold-dark); background: var(--gold-pale); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px;
  font-weight: 800; border-radius: 999px; cursor: pointer;
  text-decoration: none; border: none; transition: background .2s, color .2s, transform .2s, box-shadow .2s;
  line-height: 1;
}
.btn svg { flex: none; }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: var(--wa-dark); color: #fff; }
.btn--lg { font-size: 16px; padding: 16px 30px; }
.btn--xl { font-size: 16px; padding: 17px 32px; box-shadow: var(--shadow-wa); }
.btn--md { font-size: 15px; padding: 14px 26px; }
.btn--sm { font-size: 14px; padding: 13px 24px; }
.btn--shadow { box-shadow: var(--shadow-wa); }
.btn--raise:hover { transform: translateY(-2px); }
.header .btn--wa { font-size: 14px; padding: 12px 20px; }
.nav .btn--wa { margin-left: 12px; }
.btn--outline {
  border: 2px solid var(--gold); color: var(--gold); background: transparent;
  font-size: 14px; padding: 12px 24px; white-space: nowrap;
}
.btn--outline:hover { background: var(--gold-soft); color: var(--ink); }

/* Mobile nav toggle */
.nav-toggle {
  display: none; appearance: none; border: 1px solid var(--border); background: var(--white);
  width: 44px; height: 44px; border-radius: 10px; cursor: pointer;
  align-items: center; justify-content: center; color: var(--ink);
}
.nav-toggle svg { display: block; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ---------- Hero ---------- */
.hero { background: var(--cream); position: relative; overflow: hidden; }
.hero__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 44px 24px 56px;
  display: flex; flex-wrap: wrap; gap: 40px; align-items: center;
  justify-content: space-between; min-height: 460px;
}
.hero__col { animation: ksFadeUp .7s ease both; flex: 1 1 340px; max-width: 640px; position: relative; z-index: 2; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--panel); border: 1px solid var(--border); border-radius: 999px;
  padding: 8px 16px; margin-bottom: 24px;
}
.badge__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex: none; }
.badge span:last-child { font-size: 13px; font-weight: 700; color: var(--gold-dark); }
.hero__title {
  font-family: var(--serif); font-weight: 700; font-size: clamp(27px, 3.8vw, 38px);
  line-height: 1.15; margin: 0 0 20px; color: var(--ink); text-wrap: balance;
}
.hero__title em { color: var(--gold); font-style: normal; }
.hero__text { font-size: 15.5px; line-height: 1.7; color: var(--muted); max-width: 480px; margin: 0 0 32px; text-wrap: pretty; }
.hero__actions { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.hero__note { font-size: 12px; font-weight: 600; color: var(--faint); }
.hero__portrait {
  animation: ksFadeUp .7s ease .15s both;
  position: absolute; top: 0; right: 0; width: min(380px, 40vw); z-index: 1;
}
.hero__portrait img {
  width: 100%; height: auto; display: block; mix-blend-mode: multiply;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0, #000 30%),
    linear-gradient(to bottom, transparent 0, #000 24%),
    linear-gradient(to top, transparent 0, #000 22%),
    linear-gradient(to left, transparent 0, #000 16%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0, #000 30%),
    linear-gradient(to bottom, transparent 0, #000 24%),
    linear-gradient(to top, transparent 0, #000 22%),
    linear-gradient(to left, transparent 0, #000 16%);
  mask-composite: intersect;
}

/* ---------- Cards grid (benefícios) ---------- */
.grid { display: grid; gap: 20px; }
.grid--auto { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .grid--auto { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid--auto { grid-template-columns: 1fr; } }
.benefit-card {
  background: var(--cream); border: 2px solid var(--border); border-radius: 18px;
  padding: 22px; display: flex; flex-direction: column; gap: 12px; color: inherit;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.benefit-card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: 0 12px 28px rgba(63,64,69,.08); color: inherit; }
.benefit-card__emoji { font-size: 32px; line-height: 1; }
.benefit-card__title { font-size: 17px; font-weight: 800; color: var(--ink); }
.benefit-card__desc { font-size: 14px; line-height: 1.6; color: var(--muted); flex: 1; }
.benefit-card__cta { font-size: 13.5px; font-weight: 800; color: var(--gold-dark); }

/* ---------- Steps ---------- */
.steps { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.step { background: var(--white); border-radius: 18px; padding: 25px 22px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow-sm); }
.step__num { width: 48px; height: 48px; border-radius: 50%; background: var(--gold); display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 800; color: #fff; }
.step__title { font-size: 18px; font-weight: 800; color: var(--ink); }
.step__desc { font-size: 14.5px; line-height: 1.65; color: var(--muted); }
.center { text-align: center; }
.mt-44 { margin-top: 44px; }
.mt-36 { margin-top: 36px; }

/* ---------- Trust ---------- */
.trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 36px; align-items: center; }
.trust__media { width: 100%; height: 320px; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); }
.brand-panel {
  width: 100%; height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 18px; text-align: center;
  background:
    radial-gradient(120% 80% at 50% 0%, #FBF8F2 0%, var(--cream) 55%, var(--gold-pale) 100%);
  border: 1px solid var(--border);
}
.brand-panel img { width: 128px; height: auto; }
.brand-panel span { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.commitments { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.commit { background: var(--cream); border-radius: 14px; padding: 18px 20px; display: flex; flex-direction: column; gap: 7px; }
.commit__head { display: flex; align-items: center; gap: 10px; }
.check { width: 22px; height: 22px; border-radius: 50%; background: var(--gold-soft); color: var(--ink); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; flex: none; }
.commit__title { font-size: 15px; font-weight: 800; color: var(--ink); }
.commit__desc { font-size: 13.5px; line-height: 1.6; color: var(--muted); }

/* ---------- Triagem (quiz) ---------- */
.triagem { background: var(--gold); padding: 56px 0; }
.triagem__inner { max-width: 720px; margin: 0 auto; padding: 0 24px; }
.triagem__head { text-align: center; margin-bottom: 36px; }
.triagem__head h2 { font-family: var(--serif); font-weight: 700; font-size: 27px; line-height: 1.2; margin: 0 0 12px; color: #fff; }
.triagem__head p { font-size: 16px; line-height: 1.6; color: #FFFFFF; margin: 0; }
.quiz-card { background: var(--white); border-radius: 20px; padding: 36px; box-shadow: 0 16px 40px rgba(0,0,0,.15); }
.quiz__meta { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; }
.quiz__count { font-size: 13px; font-weight: 800; color: var(--gold-dark); white-space: nowrap; }
.quiz__bar { flex: 1; height: 6px; border-radius: 999px; background: var(--border); overflow: hidden; }
.quiz__fill { height: 100%; border-radius: 999px; background: var(--gold); width: 0%; transition: width .3s; }
.quiz__question { font-size: 21px; font-weight: 800; color: var(--ink); margin: 0 0 20px; }
.quiz__options { display: flex; flex-direction: column; gap: 10px; }
.quiz__option {
  appearance: none; background: var(--cream); border: 2px solid var(--border); border-radius: 12px;
  cursor: pointer; text-align: left; padding: 16px 20px; font-family: var(--sans);
  font-size: 15.5px; font-weight: 700; color: var(--ink); transition: border-color .15s, background .15s;
}
.quiz__option:hover { border-color: var(--gold); background: var(--gold-pale); }
.quiz__done { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.quiz__done-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--gold-pale); display: flex; align-items: center; justify-content: center; font-size: 30px; }
.quiz__done h3 { font-size: 22px; font-weight: 800; color: var(--ink); margin: 0; }
.quiz__done p { font-size: 15px; line-height: 1.7; color: var(--muted); margin: 0; max-width: 420px; }
.quiz__restart { appearance: none; background: none; border: none; cursor: pointer; font-family: var(--sans); font-size: 13.5px; font-weight: 700; color: var(--faint); text-decoration: underline; }
[hidden] { display: none !important; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.faq__head { text-align: center; margin-bottom: 44px; }
.faq__list { display: flex; flex-direction: column; gap: 12px; }
.faq__item { background: var(--cream); border: 2px solid var(--border); border-radius: 14px; overflow: hidden; transition: border-color .2s; }
.faq__item[open] { border-color: var(--gold); }
.faq__q {
  cursor: pointer; list-style: none; padding: 20px 22px; display: flex;
  justify-content: space-between; align-items: center; gap: 16px;
  font-size: 16px; font-weight: 800; color: var(--ink);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after { content: "+"; font-size: 22px; font-weight: 800; color: var(--gold); flex: none; line-height: 1; }
.faq__item[open] .faq__q::after { content: "−"; }
.faq__a { padding: 0 22px 20px; }
.faq__a p { font-size: 15px; line-height: 1.7; color: var(--muted); margin: 0; }
.faq__foot { text-align: center; margin-top: 36px; }
.faq__foot p { font-size: 15px; color: var(--muted); margin: 0 0 16px; }

/* ---------- Instagram ---------- */
.insta__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 36px; flex-wrap: wrap; }
.insta__head h2 { font-family: var(--serif); font-weight: 700; font-size: 26px; margin: 0 0 8px; color: var(--ink); }
.insta__head p { font-size: 15px; color: var(--muted); margin: 0; }
.insta__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.insta-tile {
  position: relative; height: 200px; border-radius: 16px; overflow: hidden; display: flex;
  flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center;
  color: var(--ink);
  background: radial-gradient(120% 90% at 50% 0%, #FBF8F2 0%, var(--gold-pale) 100%);
  border: 1px solid var(--border); transition: opacity .2s, transform .2s, box-shadow .2s;
}
.insta-tile:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(63,64,69,.10); color: var(--ink); }
.insta-tile__ig { width: 26px; height: 26px; color: var(--gold); }
.insta-tile__label { font-size: 15px; font-weight: 800; color: var(--ink); padding: 0 12px; }
.insta-tile__tag { font-size: 12px; font-weight: 700; color: var(--gold-dark); }

/* ---------- CTA final ---------- */
.cta-final { background: var(--cream); border-top: 1px solid var(--border); padding: 52px 0; }
.cta-final__inner { max-width: 720px; margin: 0 auto; padding: 0 24px; text-align: center; }
.cta-final h2 { font-family: var(--serif); font-weight: 700; font-size: clamp(22px, 3vw, 28px); line-height: 1.2; margin: 0 0 14px; color: var(--ink); }
.cta-final p { font-size: 16px; line-height: 1.7; color: var(--muted); margin: 0 0 28px; }
.cta-final__note { margin-top: 16px; font-size: 13.5px; font-weight: 600; color: var(--faint); }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; bottom: calc(24px + env(safe-area-inset-bottom)); right: 24px; z-index: 100;
  display: flex; align-items: center; gap: 10px;
  background: var(--wa); color: #fff; font-size: 13.5px; font-weight: 800;
  padding: 11px 16px; border-radius: 999px; box-shadow: 0 10px 30px rgba(0,0,0,.25);
  transition: background .2s, transform .2s;
}
.wa-float:hover { background: var(--wa-dark); color: #fff; transform: scale(1.05); }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer-bg); color: var(--panel); }
.footer-grid { max-width: var(--maxw); margin: 0 auto; padding: 56px 24px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; }
.footer-brand img { width: 230px; max-width: 100%; height: auto; display: block; margin-bottom: 18px; }
.footer-brand p { font-size: 13.5px; line-height: 1.7; color: rgba(240,235,228,.75); max-width: 300px; margin: 0; }
.footer-col__title { font-size: 13px; font-weight: 800; color: var(--gold-soft); }
.footer-links { display: flex; flex-direction: column; gap: 11px; margin-top: 16px; align-items: flex-start; }
.footer-links a { font-size: 14px; color: rgba(240,235,228,.75); }
.footer-links a:hover { color: var(--gold-soft); }
.footer-contact { display: flex; flex-direction: column; gap: 11px; margin-top: 16px; font-size: 14px; color: rgba(240,235,228,.75); }
.footer-contact a { color: rgba(240,235,228,.75); }
.footer-contact a:hover { color: var(--gold-soft); }
.footer-bottom {
  max-width: var(--maxw); margin: 36px auto 0; padding: 20px 24px;
  border-top: 1px solid rgba(225,190,132,.2); display: flex; justify-content: space-between;
  gap: 20px; flex-wrap: wrap; font-size: 12.5px; color: rgba(240,235,228,.68);
}

/* ---------- Inner page hero ---------- */
.page-hero { background: var(--white); padding: 48px 0 40px; border-bottom: 1px solid var(--border); }
.page-hero h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(26px, 4vw, 31px); line-height: 1.15; margin: 0 0 14px; color: var(--ink); max-width: 640px; }
.page-hero p { font-size: 16px; line-height: 1.7; color: var(--muted); max-width: 560px; margin: 0; }

/* ---------- Benefícios detail ---------- */
.areas { display: flex; flex-direction: column; gap: 24px; }
.area-card { background: var(--white); border-radius: 20px; padding: 30px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 36px; box-shadow: var(--shadow-sm); }
.area-card__emoji { font-size: 30px; }
.area-card h2 { font-size: 22px; font-weight: 800; margin: 14px 0; color: var(--ink); font-family: var(--sans); }
.area-card__desc { font-size: 15px; line-height: 1.75; color: var(--muted); margin: 0 0 24px; text-wrap: pretty; }
.area-card__list-wrap { background: var(--cream); border-radius: 14px; padding: 28px; }
.area-card__list-title { font-size: 13px; font-weight: 800; color: var(--gold-dark); letter-spacing: .04em; }
.area-card__list { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.area-card__list li { display: flex; gap: 10px; align-items: flex-start; }
.check--sm { width: 20px; height: 20px; background: var(--gold-pale); color: var(--gold-dark); font-size: 11px; }
.area-card__list span { font-size: 14px; line-height: 1.5; color: var(--ink); }

/* ---------- Quem somos ---------- */
.about { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 36px; align-items: start; }
.about__media { width: 100%; height: 430px; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); }
.about__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block; }
.about h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(26px, 4vw, 30px); line-height: 1.2; margin: 0 0 10px; color: var(--ink); }
.about__badge { display: inline-block; background: var(--gold-pale); color: var(--gold-dark); font-size: 13.5px; font-weight: 800; padding: 8px 16px; border-radius: 999px; margin-bottom: 24px; }
.about p { font-size: 15.5px; line-height: 1.8; color: var(--muted); margin: 0 0 18px; text-wrap: pretty; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 14px 0 36px; }
.value { background: var(--white); border-radius: 14px; padding: 20px; display: flex; flex-direction: column; gap: 6px; box-shadow: 0 4px 12px rgba(63,64,69,.05); }
.value__emoji { font-size: 22px; }
.value__title { font-size: 14.5px; font-weight: 800; color: var(--ink); }
.value__desc { font-size: 12.5px; line-height: 1.55; color: var(--faint); }

/* ---------- Conteúdos ---------- */
.articles { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.article-card { background: var(--white); border-radius: 18px; padding: 24px 22px; display: flex; flex-direction: column; gap: 14px; color: inherit; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.article-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(63,64,69,.1); color: inherit; }
.tag { align-self: flex-start; font-size: 12px; font-weight: 800; color: var(--gold-dark); background: var(--gold-pale); padding: 6px 14px; border-radius: 999px; }
.article-card h3, .article-card__h { font-size: 19px; font-weight: 800; line-height: 1.3; margin: 0; color: var(--ink); }
.article-card p { font-size: 14px; line-height: 1.65; color: var(--muted); margin: 0; flex: 1; }
.article-card__more { font-size: 13.5px; font-weight: 800; color: var(--gold-dark); }

/* ---------- Contato ---------- */
.contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 36px; align-items: start; }
.contact h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(26px, 4vw, 31px); line-height: 1.15; margin: 0 0 18px; color: var(--ink); }
.contact__intro { font-size: 16px; line-height: 1.75; color: var(--muted); margin: 0 0 32px; max-width: 460px; text-wrap: pretty; }
.contact__hours { margin-top: 20px; font-size: 13.5px; font-weight: 600; color: var(--faint); }
.contact-card { background: var(--white); border-radius: 20px; padding: 36px; display: flex; flex-direction: column; gap: 28px; box-shadow: var(--shadow-md); }
.contact-card__row { display: flex; flex-direction: column; gap: 6px; }
.contact-card__label { font-size: 13px; font-weight: 800; color: var(--gold-dark); letter-spacing: .04em; }
.contact-card__value { font-size: 22px; font-weight: 800; color: var(--ink); }
.contact-card__value--sm { font-size: 17px; }
.contact-card__value--text { font-size: 14.5px; line-height: 1.7; color: var(--muted); font-weight: 400; }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 80px 24px; gap: 18px; }
.notfound h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(40px, 8vw, 72px); color: var(--gold); margin: 0; }
.notfound h2 { font-family: var(--serif); font-weight: 700; font-size: 26px; color: var(--ink); margin: 0; }
.notfound p { font-size: 16px; color: var(--muted); max-width: 440px; margin: 0; }

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

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; position: relative; z-index: 51; }
  .brand { position: relative; z-index: 51; }
  /* Menu em tela cheia: overlay fixo que ocupa do rodapé do header até o
     fim da tela (o JS define --nav-top com a posição real do header).
     visibility:hidden no estado fechado tira o menu da ordem de tabulação
     do teclado; o body recebe .nav-open para travar a rolagem atrás. */
  .nav {
    position: fixed; left: 0; right: 0;
    top: var(--nav-top, 110px); bottom: 0;
    z-index: 49;
    flex-direction: column; align-items: stretch; gap: 10px;
    background: var(--white);
    padding: 24px 24px calc(28px + env(safe-area-inset-bottom));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    opacity: 0; visibility: hidden; pointer-events: none;
    transform: translateY(-10px);
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  }
  .nav.is-open {
    opacity: 1; visibility: visible; pointer-events: auto; transform: none;
    transition: opacity .2s ease, transform .2s ease;
  }
  .nav__link {
    font-size: 18px; padding: 16px; text-align: center;
    border-radius: 12px; color: var(--ink);
  }
  .nav .btn--wa { margin: 10px 0 0; width: 100%; font-size: 16px; padding: 16px 20px; }
  body.nav-open { overflow: hidden; }
}

@media (max-width: 820px) {
  .hero__inner { padding-top: 32px; min-height: 0; }
  .hero__portrait {
    position: static; width: min(300px, 78vw); margin: 4px auto 0; order: 2;
  }
  /* No mobile a foto vira um cartão limpo: as máscaras de esmaecimento e o
     mix-blend-mode (efeito artístico do desktop) deixam a imagem pequena com
     aparência borrada/lavada, então saem daqui. */
  .hero__portrait img {
    mix-blend-mode: normal;
    -webkit-mask-image: none;
    mask-image: none;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
  }
  .hero__col { max-width: 100%; }
  .values { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .section { padding: 44px 0; }
  .triagem { padding: 44px 0; }
  .quiz-card { padding: 24px 20px; }
  .area-card { padding: 24px 20px; }
  .contact-card { padding: 28px 22px; }
  .values { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .wa-float span { display: none; }
  .wa-float { padding: 14px; }
}

/* ============================================================
   Ênfase tipográfica no mobile
   No celular a pessoa decide em 1–2 segundos se lê ou sai, então os
   títulos precisam ser maiores e mais "firmes" para prender o olhar
   antes do corpo do texto. Técnicas aplicadas: tamanho maior (fluido
   com clamp, para escalar bem de 320px a 640px sem estourar), altura
   de linha menor (títulos grandes pedem entrelinhas justas) e um leve
   letter-spacing negativo (aperta o serif de exibição e dá aparência
   intencional/editorial). Só telas de toque pequenas — o desktop
   mantém os tamanhos originais do design.
   ============================================================ */
@media (max-width: 640px) {
  /* Título principal: é o "gancho" da dobra — o maior de todos */
  .hero__title {
    font-size: clamp(30px, 8.5vw, 36px);
    line-height: 1.1;
    letter-spacing: -0.015em;
  }
  .hero__text { font-size: 16px; line-height: 1.65; }

  /* Títulos das páginas internas (H1) */
  .page-hero h1,
  .post-hero h1,
  .about h1,
  .contact h1 {
    font-size: clamp(27px, 7.5vw, 32px);
    line-height: 1.15;
    letter-spacing: -0.012em;
  }

  /* Títulos de seção (H2) */
  .h2,
  .triagem__head h2,
  .insta__head h2 {
    font-size: 29px;
    line-height: 1.18;
    letter-spacing: -0.01em;
  }
  .cta-final h2 { font-size: 27px; letter-spacing: -0.01em; }

  /* --- Corpo de leitura: maior e fluido no celular ---
     16px+ é o mínimo confortável de leitura no toque; abaixo disso a
     pessoa aperta os olhos ou dá zoom e acaba saindo. O clamp faz o
     texto crescer junto com a largura da tela (mais responsivo) em vez
     de ficar preso num tamanho fixo pequeno. Linhas de leitura pedem
     entrelinha generosa (1.6–1.8) para não "colar" com a fonte maior. */
  .lead,
  .page-hero p,
  .contact__intro { font-size: clamp(16px, 4.2vw, 17.5px); line-height: 1.7; }

  .benefit-card__desc,
  .step__desc,
  .area-card__desc,
  .about p,
  .article-card p,
  .commit__desc,
  .faq__a p { font-size: clamp(15px, 4vw, 16.5px); line-height: 1.65; }
}

/* ============================================================
   Blog / Guias
   ============================================================ */
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--muted); margin: 0 0 18px; padding: 0; list-style: none; }
.breadcrumbs li { display: flex; align-items: center; gap: 6px; }
.breadcrumbs li + li::before { content: "›"; color: var(--faint); }
.breadcrumbs a { color: var(--gold-dark); }

.post-hero { background: var(--white); border-bottom: 1px solid var(--border); padding: 40px 0 34px; }
.post-hero h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(26px, 4vw, 34px); line-height: 1.2; color: var(--ink); margin: 0 0 14px; max-width: 760px; text-wrap: balance; }
.post-hero .post-lead { font-size: 16.5px; line-height: 1.7; color: var(--muted); max-width: 680px; margin: 0 0 16px; }
.post__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; font-size: 13.5px; font-weight: 600; color: var(--faint); }

.post-body { background: var(--cream); padding: 44px 0 56px; }
.post-wrap { max-width: 820px; margin: 0 auto; padding: 0 24px; }
.post { background: var(--white); border-radius: 20px; padding: 40px clamp(22px, 5vw, 48px); box-shadow: var(--shadow-sm); }
.post > :first-child { margin-top: 0; }
.post h2 { font-family: var(--serif); font-weight: 700; font-size: 24px; line-height: 1.25; color: var(--ink); margin: 36px 0 14px; }
.post h3 { font-size: 17.5px; font-weight: 800; color: var(--ink); margin: 26px 0 10px; }
.post p { font-size: 15.5px; line-height: 1.85; color: var(--muted); margin: 0 0 16px; }
.post ul, .post ol { margin: 0 0 18px; padding-left: 24px; color: var(--muted); font-size: 15.5px; line-height: 1.8; }
.post li { margin-bottom: 8px; }
.post li::marker { color: var(--gold); font-weight: 800; }
.post strong { color: var(--ink); }
.post a { text-decoration: underline; text-underline-offset: 2px; }
.table-wrap { overflow-x: auto; margin: 0 0 18px; border-radius: 12px; border: 1px solid var(--border); }
.post table { border-collapse: collapse; width: 100%; font-size: 14.5px; }
.post th { background: var(--gold-pale); color: var(--ink); font-weight: 800; text-align: left; padding: 12px 16px; white-space: nowrap; }
.post td { padding: 12px 16px; color: var(--muted); border-top: 1px solid var(--border); line-height: 1.6; }

.cta-box { background: var(--gold); border-radius: 18px; padding: 30px 28px; text-align: center; margin: 34px 0; }
.cta-box p:first-child { font-family: var(--serif); font-weight: 700; font-size: 21px; line-height: 1.3; color: #fff; margin: 0 0 8px; }
.cta-box p { color: #fff; font-size: 15px; margin: 0 0 18px; }
.cta-box .btn { margin: 0 auto; }

.author-box { display: flex; gap: 16px; align-items: center; background: var(--panel); border: 1px solid var(--border); border-radius: 16px; padding: 18px 20px; margin: 34px 0 0; }
.author-box img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: center 18%; flex: none; }
.author-box__name { font-size: 15px; font-weight: 800; color: var(--ink); margin: 0 0 2px; }
.author-box__bio { font-size: 13.5px; line-height: 1.6; color: var(--muted); margin: 0; }
.author-box__bio a { text-decoration: none; font-weight: 700; }

.disclaimer { font-size: 13px; line-height: 1.7; color: var(--faint); border-left: 3px solid var(--gold-soft); padding: 4px 0 4px 14px; margin: 26px 0 0; }

.related { margin: 40px auto 0; max-width: 820px; padding: 0 24px; }
.related h2 { font-family: var(--serif); font-weight: 700; font-size: 22px; color: var(--ink); margin: 0 0 18px; }
.related__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.related__grid .article-card { padding: 20px; }
.related__grid .article-card .article-card__h, .related__grid .article-card h3 { font-size: 16px; }

.post .faq__list { margin: 0 0 6px; }
.post .faq__item { background: var(--cream); }
.post .faq__q { font-size: 15px; padding: 16px 18px; }
.post .faq__a { padding: 0 18px 16px; }
.post .faq__a p { margin: 0; }

/* ============================================================
   Justificação de texto (parágrafos de leitura)
   text-align:justify sozinho cria "rios" de espaço em branco quando o
   navegador só pode esticar espaços entre palavras. hyphens:auto resolve
   isso: permite quebrar palavras longas (comuns em português) no fim da
   linha, então o navegador tem muito mais pontos onde encaixar a quebra
   e para de esticar tanto os espaços. text-align-last:left garante que a
   última linha de cada parágrafo não seja esticada (senão gera "rios"
   enormes em linhas curtas). Escopo deliberadamente restrito a texto de
   leitura corrida — nunca em botões, badges, menu, breadcrumbs, tags,
   perguntas do FAQ ou células de tabela, onde justificar frases curtas
   só pioraria o espaçamento.
   ============================================================ */
p,
.benefit-card__desc,
.step__desc,
.commit__desc,
.value__desc,
.contact-card__value--text,
.post li {
  text-align: justify;
  text-align-last: left;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  overflow-wrap: break-word;
}

/* ============================================================
   Corpo dos artigos no mobile (fim do arquivo de propósito)
   As regras base de .post ficam definidas mais acima; como têm a mesma
   especificidade, só um bloco colocado DEPOIS delas na cascata vence.
   Por isso o aumento de fonte da leitura longa (o "conteúdo" em si)
   mora aqui, e não no bloco de tipografia mobile lá de cima.
   Leitura longa pede o maior ganho: ~17px no celular, fluido com clamp
   e entrelinha 1.8 para o texto respirar.
   ============================================================ */
@media (max-width: 640px) {
  .post p,
  .post ul,
  .post ol { font-size: clamp(16.5px, 4.4vw, 18px); line-height: 1.8; }
  .post-hero .post-lead { font-size: clamp(16.5px, 4.5vw, 18px); line-height: 1.7; }

  /* Em tela estreita o justificado abre "rios" de espaço em branco
     (poucas palavras por linha = poucos espaços para absorver a sobra),
     e a fonte maior piora isso. No celular a leitura fica melhor
     alinhada à esquerda: espaçamento uniforme entre palavras, com a
     borda direita irregular (que o olho quase não percebe na vertical
     do telefone). O desktop, com coluna larga, mantém o justificado. */
  p,
  .benefit-card__desc,
  .step__desc,
  .commit__desc,
  .value__desc,
  .contact-card__value--text,
  .post li { text-align: left; }
}
