/* =========================================================
   Desinib · Nessa Andrades
   Conceito: "A sua voz merece ocupar espaço"
   Mobile-first · paleta extraída do logotipo
   Ritmo: abertura clara, blocos escuros para a reflexão,
   amarelo nos momentos de decisão.
   ========================================================= */

:root {
  --ink: #121110;
  --ink-soft: #1E1C1A;
  --cream: #F6F1E7;
  --paper: #FFFDF8;
  --sun-tint: #FFEFC2;       /* amarelo do logo, suavizado */
  --sun-soft: #FFF8E4;
  --sun: #FEC416;

  --text: #1A1816;
  --muted: #5A544B;          /* sobre branco: ~7:1 */
  --muted-ink: #BDB6A8;      /* sobre preto: ~10:1 */
  --line: rgba(13, 13, 13, .16);
  --line-ink: rgba(246, 241, 231, .16);
  --error: #8A1C0B;

  --serif: "Literata", Georgia, "Times New Roman", serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1200px;
  --gutter: 16px;
  --radius: 999px;
  --focus: var(--ink);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
ul { list-style: none; }
h1, h2, h3 { font-weight: 600; line-height: 1.12; text-wrap: balance; }
h2 { font-family: var(--serif); font-size: clamp(1.9rem, 4.6vw, 3rem); letter-spacing: -.015em; }
h3 { font-family: var(--serif); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 640px) { :root { --gutter: 32px; } }

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

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--sun); color: var(--ink); padding: .75rem 1rem; font-weight: 700; border-radius: 8px;
}
.skip-link:focus { top: 12px; }

.eyebrow {
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 1rem;
}
.eyebrow--sun { color: var(--sun); }

/* Blocos escuros (dor, formatos, quem conduz, dúvidas) */
.pain, .formats, .faq { background: var(--ink); color: var(--cream); --focus: var(--sun); }
.pain .eyebrow, .formats .eyebrow, .faq .eyebrow { color: var(--sun); }

/* ---------- Botões e links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: .85rem 1.6rem;
  font: 700 1rem/1.2 var(--sans); text-decoration: none; text-align: center;
  border: 2px solid transparent; border-radius: var(--radius); cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--sm { min-height: 44px; padding: .55rem 1.1rem; font-size: .92rem; }
.btn--sun { background: var(--sun); color: var(--ink); }
.btn--sun:hover { background: #ffd34d; }
.btn--ink { background: var(--ink); color: var(--cream); }
.btn--ink:hover { background: #33302B; }
.btn--light { background: var(--cream); color: var(--ink); }
.btn--light:hover { background: #FFFFFF; }
.btn--ghost { background: transparent; color: var(--ink); border-color: rgba(13, 13, 13, .45); }
.btn--ghost:hover { border-color: var(--ink); }
.ico { width: 20px; height: 20px; fill: currentColor; flex: none; }

.link-arrow {
  display: inline-flex; align-items: center; min-height: 44px;
  font-weight: 600; text-underline-offset: 6px; text-decoration-thickness: 1px;
}
.link-arrow::after { content: "→"; margin-left: .5rem; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }

.link-btn {
  background: none; border: 0; padding: 0; font: inherit; color: inherit;
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}

/* ---------- Topbar + menu ---------- */
.topbar {
  position: sticky; top: 0; z-index: 40;
  background: var(--paper); border-bottom: 1px solid var(--line);
}
.topbar__inner { display: flex; align-items: center; gap: .5rem; min-height: 68px; }
.topbar__brand { display: inline-flex; align-items: center; min-height: 44px; margin-right: auto; }
.topbar__brand img { height: 26px; width: auto; }
.topbar__wa { min-width: 44px; padding-inline: .7rem; }
.topbar__wa-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.nav__toggle {
  display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; padding: 0 .9rem;
  font: 600 .95rem/1 var(--sans); color: var(--ink);
  background: transparent; border: 1.5px solid var(--line); border-radius: var(--radius); cursor: pointer;
}
.nav__icon { position: relative; width: 18px; height: 12px; }
.nav__icon::before, .nav__icon::after, .nav__icon span {
  content: ""; position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
.nav__icon::before { top: 0; }
.nav__icon span { top: 5px; }
.nav__icon::after { top: 10px; }
.nav__toggle[aria-expanded="true"] .nav__icon::before { transform: translateY(5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__icon span { opacity: 0; }
.nav__toggle[aria-expanded="true"] .nav__icon::after { transform: translateY(-5px) rotate(-45deg); }

.nav__list a {
  display: flex; align-items: center; min-height: 48px;
  font-weight: 600; text-decoration: none; color: var(--text);
}
.nav__list a:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--sun); text-decoration-thickness: 2px; }

/* menu recolhido (celular/tablet) */
.nav__list {
  display: grid; position: absolute; left: 0; right: 0; top: 100%;
  padding: .5rem var(--gutter) 1rem; background: var(--paper);
  border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px rgba(13, 13, 13, .08);
}
.nav__list li + li { border-top: 1px solid var(--line); }
.js .nav__list { display: none; }
.js .nav[data-open="true"] .nav__list { display: grid; }

@media (min-width: 480px) {
  .topbar__wa { padding-inline: 1.1rem; }
  .topbar__wa-label { position: static; width: auto; height: auto; overflow: visible; clip-path: none; }
}
@media (min-width: 1080px) {
  .topbar__inner { gap: 2rem; }
  .topbar__brand img { height: 34px; }
  .nav__toggle { display: none; }
  .nav__list, .js .nav__list {
    display: flex; position: static; gap: 1.75rem; padding: 0; background: none; border: 0; box-shadow: none;
  }
  .nav__list li + li { border: 0; }
  .nav__list a { font-size: .95rem; }
}

section[id] { scroll-margin-top: 68px; }

/* ---------- Hero ---------- */
.hero { background: var(--paper); color: var(--text); overflow: hidden; }
.hero__grid { display: grid; gap: 2.5rem; padding-top: 2.75rem; }
.hero__copy { position: relative; z-index: 1; }

.hero__kicker {
  display: block; max-width: 34ch; margin-bottom: 1.4rem;
  font: 700 .78rem/1.5 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.hero__title {
  display: block;
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(2.2rem, 9vw, 4.4rem); line-height: 1.08; letter-spacing: -.02em;
}
.voice-mark {
  position: relative; display: inline-block; white-space: nowrap;
  font-style: italic; font-weight: 500; z-index: 0; padding-bottom: .12em;
}
.voice-line {
  position: absolute; right: 0; bottom: -.1em; z-index: -1;
  width: 100%; max-width: none; height: .42em; overflow: visible; pointer-events: none;
}
.voice-line path, .about__wave path {
  fill: none; stroke: var(--sun); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.hero__lead { margin-top: 1.75rem; max-width: 52ch; font-size: 1.075rem; color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; margin-top: 2rem; }
.hero__facts {
  display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-top: 2.25rem; padding-top: 1.25rem;
  border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted);
}
.hero__facts li { display: inline-flex; align-items: center; gap: .5rem; }
.hero__facts li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 1px rgba(13, 13, 13, .25); }

.hero { padding-bottom: 3rem; }
.hero__photo { position: relative; z-index: 0; max-width: 520px; }
.hero__photo img { width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; object-position: 50% 16%; border-radius: 14px; }

@media (min-width: 960px) {
  .hero__grid {
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    gap: 4.5rem; padding-top: 0; align-items: center;
  }
  .hero { padding-bottom: 0; }
  .hero__photo { order: -1; max-width: none; }
  .hero__photo img { aspect-ratio: 4 / 5; max-height: 560px; object-position: 50% 18%; }
  .hero__copy { padding: 4.5rem 0; }
  .hero__title { font-size: clamp(3rem, 4.6vw, 4.6rem); }
}

/* ---------- Dor ---------- */
.pain { padding: 5rem 0; }
.pain__grid { display: grid; gap: 2rem; }
.pain h2 { max-width: 16ch; }
.pain__list li {
  padding: 1.15rem 0; border-top: 1px solid var(--line-ink);
  font-family: var(--serif); font-size: clamp(1.15rem, 2.3vw, 1.4rem); line-height: 1.45;
}
.pain__list li:last-child { border-bottom: 1px solid var(--line-ink); }
.pain__close { font-size: 1.1rem; font-weight: 500; max-width: 60ch; color: var(--cream); }
@media (min-width: 960px) {
  .pain { padding: 7.5rem 0; }
  .pain__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 4rem; }
  .pain__head { grid-row: span 2; position: sticky; top: 110px; align-self: start; }
}

/* ---------- Manifesto ---------- */
.manifesto { background: var(--paper); color: var(--ink); padding: 4.5rem 0; }
.manifesto__text {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(1.75rem, 4.6vw, 3.6rem); line-height: 1.18; letter-spacing: -.015em; max-width: 24ch;
}
.manifesto__text em, .manifesto__text strong {
  font-weight: 600; padding: 0 .12em; margin: 0 -.06em;
  background: linear-gradient(transparent 58%, var(--sun) 58%, var(--sun) 92%, transparent 92%);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.manifesto__text em { font-style: italic; font-weight: 500; }
@media (min-width: 960px) { .manifesto { padding: 7rem 0; } }

/* ---------- Formatos ---------- */
.formats { padding: 5rem 0; border-top: 1px solid var(--line-ink); }
.formats__head { max-width: 760px; margin-bottom: 2.5rem; }
.formats__head p:not(.eyebrow) { margin-top: 1.1rem; color: var(--muted-ink); font-size: 1.075rem; }
.format { display: grid; gap: 1rem; padding: 2.25rem 0; border-top: 1px solid var(--line-ink); }
.format:last-child { border-bottom: 1px solid var(--line-ink); }
.format__tag { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sun); }
.format h3 { font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.18; margin-bottom: .75rem; }
.format p:not(.format__tag) { color: var(--muted-ink); max-width: 60ch; }
.format .btn { justify-self: start; margin-top: .5rem; }
@media (min-width: 960px) {
  .formats { padding: 7.5rem 0; }
  .format { grid-template-columns: 200px minmax(0, 1fr) auto; column-gap: 3rem; align-items: start; padding: 3rem 0; }
  .format__tag { padding-top: .7rem; }
  .format .btn { margin-top: .2rem; }
}

/* ---------- Quem conduz ---------- */
.about { padding: 5rem 0; background: var(--sun-tint); color: var(--ink); }
.about .eyebrow { color: var(--muted); }
.about__grid { display: grid; gap: 2rem; }
.about h2 { font-size: clamp(2.6rem, 7vw, 4.6rem); line-height: 1.02; }
.about__wave { width: 220px; height: 30px; margin-top: 1.25rem; }
.about .about__wave path { stroke: var(--ink); }
.about__lead { font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 2.6vw, 1.75rem); line-height: 1.35; margin-bottom: 1.25rem; }
.about__body > p:not(.about__lead) { color: var(--muted); font-size: 1.05rem; max-width: 62ch; }
.about__creds { display: grid; margin-top: 2.25rem; }
.about__creds div { padding: 1rem 0; border-top: 1px solid var(--line); }
.about__creds dt { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.about__creds dd { font-family: var(--serif); font-size: 1.15rem; margin-top: .25rem; }
@media (min-width: 960px) {
  .about { padding: 7.5rem 0; }
  .about__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 4rem; }
  .about__creds { grid-template-columns: repeat(3, 1fr); column-gap: 1.5rem; }
}

/* ---------- Depoimentos ---------- */
.voices { padding: 5rem 0; background: var(--paper); color: var(--text); }
.voices .eyebrow--sun { color: var(--muted); }
.voices__head { max-width: 760px; margin-bottom: 2.5rem; }
.voices__grid { display: grid; gap: 1.25rem; }
.voices__col { display: grid; gap: 1.25rem; align-content: start; min-width: 0; }
.voice {
  display: grid; gap: 1.1rem; padding: 1.5rem;
  background: var(--sun-soft); border: 1px solid rgba(254, 196, 22, .55); border-radius: 16px;
}
.voice__author { padding-left: .85rem; border-left: 3px solid var(--sun); }
.voice__author strong { display: block; font-size: 1rem; color: var(--text); line-height: 1.3; }
.voice__org { display: block; font-size: .85rem; color: var(--muted); }
.voice blockquote p { font-size: 1rem; line-height: 1.7; color: var(--text); }
@media (min-width: 800px) {
  .voices__grid { grid-template-columns: 1fr 1fr; align-items: start; }
  .voice { padding: 2rem; }
}
@media (min-width: 960px) {
  .voices { padding: 7.5rem 0; }
}

/* ---------- FAQ ---------- */
.faq { padding: 5rem 0; }
.faq__grid { display: grid; gap: 2rem; }
.faq__head p:not(.eyebrow) { margin-top: 1rem; color: var(--muted-ink); max-width: 36ch; }
.faq details { border-top: 1px solid var(--line-ink); }
.faq details:last-child { border-bottom: 1px solid var(--line-ink); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  min-height: 64px; padding: 1rem 0; cursor: pointer; list-style: none;
  font-family: var(--serif); font-weight: 500; font-size: clamp(1.05rem, 2vw, 1.25rem); line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-size: 1.6rem; font-weight: 400; color: var(--sun); flex: none; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 2.5rem 1.4rem 0; color: var(--muted-ink); }
@media (min-width: 960px) {
  .faq { padding: 7.5rem 0; }
  .faq__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 4rem; }
}

/* ---------- Contato ---------- */
.contact { padding: 5rem 0; background: var(--sun); color: var(--ink); }
.contact__grid { display: grid; gap: 2.5rem; }
.contact h2 { max-width: 16ch; }
.contact__head p { margin-top: 1.25rem; max-width: 46ch; font-size: 1.05rem; }
.contact__head a { font-weight: 700; }

.form { display: grid; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field label { font-size: .9rem; font-weight: 700; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: .8rem 1rem;
  font: 400 1rem/1.4 var(--sans); color: var(--ink);
  background: var(--paper); border: 1.5px solid rgba(13, 13, 13, .55); border-radius: 12px;
}
.field textarea { resize: vertical; min-height: 104px; }
.field input::placeholder, .field textarea::placeholder { color: #6E675C; opacity: 1; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.field [aria-invalid="true"] { border-color: var(--error); border-width: 2px; }
.form__notice { font-size: .9rem; line-height: 1.5; }
.form .btn { width: 100%; }
.form__error { color: var(--error); font-weight: 700; font-size: .95rem; }
.form__status { font-size: .95rem; font-weight: 600; min-height: 1.5em; }
.form__status a { font-weight: 700; }
@media (min-width: 640px) {
  .form { grid-template-columns: 1fr 1fr; column-gap: 1rem; }
  .field--full, .form__error, .form .btn { grid-column: 1 / -1; }
}
@media (min-width: 960px) {
  .contact { padding: 7rem 0; }
  .contact__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 4rem; align-items: start; }
}

/* ---------- Rodapé ---------- */
.footer { background: var(--paper); color: var(--muted); padding: 3.5rem 0 1.5rem; }
.footer__top { display: grid; gap: 1.75rem; }
.footer__logo { width: 150px; height: auto; }
.footer__info { display: grid; gap: .35rem; font-size: .92rem; }
.footer__info a, .footer__info .link-btn { display: inline-flex; align-items: center; min-height: 36px; color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 960px) {
  .footer__top { grid-template-columns: auto 1fr; column-gap: 4rem; align-items: start; }
  .footer__info { grid-template-columns: repeat(2, auto); justify-content: end; column-gap: 3rem; }
}

/* ---------- Assinatura de autoria (Matheus Martello LPS) ---------- */
.mm-footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: .75rem 1.5rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line);
}
.mm-footer-copy { font-size: .8125rem; color: var(--muted); }
.mm-credit {
  display: inline-flex; align-items: center; gap: .5rem;
  min-height: 2.75rem; padding: .35rem .75rem .35rem .5rem;
  border: 1px solid rgba(26, 24, 22, .2); border-radius: var(--radius);
  color: rgba(26, 24, 22, .78);
  font-family: inherit; font-size: .8125rem; font-weight: 600; line-height: 1.2;
  text-decoration: none; transition: color .2s, border-color .2s;
}
.mm-credit:hover, .mm-credit:focus-visible { color: #1A1816; border-color: #fdd301; }
.mm-credit__icon { flex: none; display: block; }
.mm-credit--plate .mm-credit__plate { fill: #00165c; }
.mm-credit--plate .mm-credit__m-back { fill: #f7faf7; }
.mm-credit--bare .mm-credit__plate { fill: none; }
.mm-credit--bare .mm-credit__m-back { fill: currentColor; }

/* ---------- Política de Privacidade (modal) ---------- */
.privacy {
  width: min(640px, calc(100% - 32px)); max-height: 86vh; margin: auto;
  border: 0; border-radius: 20px; padding: 0; background: var(--paper); color: var(--text);
}
.privacy::backdrop { background: rgba(0, 0, 0, .65); }
.privacy__inner { padding: 2rem 1.5rem; }
.privacy h2 { font-size: 1.9rem; margin-bottom: 1.25rem; }
.privacy h3 { font-family: var(--sans); font-weight: 700; font-size: 1rem; margin: 1.25rem 0 .35rem; }
.privacy p { color: var(--muted); font-size: .95rem; }
.privacy .btn { margin-top: 1.75rem; }
@media (min-width: 640px) { .privacy__inner { padding: 2.5rem; } }

/* ---------- Consentimento de cookies ---------- */
.consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50;
  display: grid; gap: 1rem; max-width: 520px; padding: 1.1rem 1.25rem;
  background: var(--paper); color: var(--text); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .18); font-size: .9rem;
}
.consent[hidden] { display: none; }
.consent__actions { display: flex; gap: .6rem; justify-content: flex-end; }

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