/* Instrument Sans servida pelo próprio site (nenhum dado vai para terceiros) */
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url("/fonts/instrument-sans-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url("/fonts/instrument-sans-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Nutri Presente, site público.
   Estilo suíço: uma fonte, um acento (#002fa7), linhas de 1px, raio pequeno.
   Vermelho (#c8102e) só para a menção a crise e alerta. */

:root {
  --bg: #f7f7f8;
  --surface: #ffffff;
  --ink: #0b0b0c;
  --ink-2: #2e3036;
  --ink-3: #55585f;
  --line: #e4e4e7;
  --accent: #002fa7;
  --accent-hover: #00248a;
  --accent-soft: #eef2fb;
  --alert: #c8102e;
  --radius: 8px;
  --radius-sm: 6px;
  --gutter: 16px;
  --max: 1200px;
  --header-h: 64px;
  --font: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

@media (min-width: 768px) {
  :root { --gutter: 32px; }
}
@media (min-width: 1280px) {
  :root { --gutter: 40px; }
}

/* ---------- base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-2);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

p { margin: 0; }

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

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

strong { font-weight: 600; color: var(--ink); }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

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

.skip {
  position: absolute;
  left: 8px; top: -48px;
  z-index: 100;
  padding: 8px 12px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-sm);
  text-decoration: none;
}
.skip:focus { top: 8px; color: #fff; }

/* ---------- botões ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font: inherit;
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-secondary:hover { border-color: #b9bbc2; color: var(--ink); }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 15px; }

/* ---------- cabeçalho ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand:hover { color: var(--ink); }
.brand svg { width: 28px; height: 28px; flex: none; }

.nav { display: flex; align-items: center; gap: 20px; }
.nav-links { display: none; list-style: none; margin: 0; padding: 0; gap: 24px; }
.nav-links a, .nav-login {
  color: var(--ink-2);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}
.nav-links a:hover, .nav-login:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 16px; }

@media (min-width: 1000px) {
  .nav-links { display: flex; }
  .nav { gap: 32px; }
}
@media (max-width: 359px) {
  .nav-login { display: none; }
}

/* ---------- seções ---------- */

.sec {
  padding: 64px 0;
  border-top: 1px solid var(--line);
}
@media (min-width: 768px) { .sec { padding: 96px 0; } }
@media (min-width: 1100px) { .sec { padding: 112px 0; } }

.sec-head {
  display: grid;
  gap: 12px;
  margin-bottom: 40px;
}
.sec-label {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: var(--ink-3);
  font-size: 14px;
  font-weight: 500;
}
.sec-label .n { color: var(--accent); font-variant-numeric: tabular-nums; }
.sec-head h2 {
  font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem);
  line-height: 1.1;
  max-width: 22ch;
}
.sec-intro {
  margin-top: 16px;
  max-width: 62ch;
  font-size: 18px;
  color: var(--ink-3);
}

@media (min-width: 1000px) {
  .sec-head {
    grid-template-columns: 3fr 9fr;
    column-gap: 32px;
    margin-bottom: 56px;
  }
  .sec-head .sec-label { padding-top: 10px; }
  .sec-body { margin-left: calc((100% - 32px) * 0.25 + 32px); }
}

/* ---------- hero ---------- */

.hero { padding: 48px 0 64px; }
@media (min-width: 768px) { .hero { padding: 80px 0 96px; } }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 500;
}
.mark {
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 2px;
  flex: none;
}
.mark-alert { background: var(--alert); }

.hero h1 {
  font-size: clamp(2.25rem, 1.3rem + 4.4vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  max-width: 17ch;
}
.lede {
  margin-top: 24px;
  max-width: 60ch;
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-2);
}
@media (min-width: 768px) { .lede { font-size: 20px; } }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.fine { margin-top: 14px; font-size: 14px; color: var(--ink-3); }

.shot.hero-shot { margin-top: 48px; }
@media (min-width: 768px) { .shot.hero-shot { margin-top: 72px; } }

/* ---------- capturas de tela ---------- */

.shot { margin: 0; }
.shot-frame {
  overflow: hidden;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: 0 0 0 1px var(--line);
}
.shot-frame img { width: 100%; }
.shot figcaption {
  margin-top: 12px;
  font-size: 14px;
  color: var(--ink-3);
}
.shot-phone { max-width: 300px; }
.shot-phone .shot-frame { border-radius: 12px; }

/* ---------- passos ---------- */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}
.steps li {
  padding: 24px 0 28px;
  border-top: 1px solid var(--ink);
}
.step-n {
  display: block;
  margin-bottom: 20px;
  color: var(--accent);
  font-size: 15px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.steps h3 { font-size: 20px; line-height: 1.25; margin-bottom: 10px; }
.steps p { color: var(--ink-3); }

@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; }
}

/* ---------- lista de recursos ---------- */

.features {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.features li {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.features h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  line-height: 1.3;
  margin-bottom: 6px;
}
.features p { color: var(--ink-3); }

@media (min-width: 700px) {
  .features { grid-template-columns: 1fr 1fr; column-gap: 32px; }
}

/* WhatsApp: recursos + exemplo */
.wa-grid { display: grid; gap: 48px; }
@media (min-width: 1000px) {
  .wa-grid { grid-template-columns: 7fr 5fr; gap: 48px; align-items: start; }
  .wa-grid .features { grid-template-columns: 1fr 1fr; }
}

.chat {
  margin: 0;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: 0 0 0 1px var(--line);
  padding: 20px;
}
@media (min-width: 1000px) { .chat { position: sticky; top: calc(var(--header-h) + 24px); } }
.chat-title {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-3);
}
.chat-title strong { font-weight: 600; color: var(--ink); }
.chat ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.msg { max-width: 88%; }
.msg-who {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-3);
}
.msg p {
  padding: 10px 12px;
  border-radius: var(--radius);
  box-shadow: 0 0 0 1px var(--line);
  background: var(--surface);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.5;
}
.msg-in { justify-self: end; text-align: left; }
.msg-in .msg-who { text-align: right; }
.msg-in p { background: var(--bg); }
.msg-photo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-3);
  font-size: 14px;
}
.msg-photo::before {
  content: "";
  width: 28px; height: 28px;
  border-radius: 4px;
  background: #d9dbe0;
  flex: none;
}
.chat-note { margin-top: 16px; font-size: 13px; color: var(--ink-3); }

.rules {
  display: grid;
  gap: 0;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
}
.rules li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
}
@media (min-width: 900px) {
  .rules { grid-template-columns: repeat(3, 1fr); column-gap: 32px; }
}
.kw {
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.04em;
}

/* ---------- painel ---------- */

.rows { display: grid; gap: 64px; }
.row { display: grid; gap: 24px; align-items: start; }
.row h3 { font-size: 22px; line-height: 1.2; margin-bottom: 10px; }
.row p { color: var(--ink-3); }
.row p + p { margin-top: 10px; }
@media (min-width: 1000px) {
  .rows { gap: 96px; }
  .row { grid-template-columns: 4fr 8fr; gap: 48px; }
  .row-text { padding-top: 8px; }
}

.minis {
  display: grid;
  gap: 32px;
  align-items: start;
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
@media (min-width: 1000px) {
  .minis { margin-top: 96px; grid-template-columns: 4fr 8fr; gap: 48px; }
}
.minis-list {
  display: grid;
  align-content: start;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.minis-list li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.minis-list li:first-child { padding-top: 0; }
.minis-list h3 { font-size: 17px; margin-bottom: 4px; }
.minis-list p { color: var(--ink-3); }

/* ---------- o que não faz ---------- */

.nots {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
}
.nots li {
  display: grid;
  gap: 4px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.nots h3 { font-size: 18px; line-height: 1.3; }
.nots p { color: var(--ink-3); }
@media (min-width: 700px) {
  .nots { grid-template-columns: 1fr 1fr; column-gap: 32px; }
}

/* ---------- segurança ---------- */

.doc-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}
.doc-links a { font-weight: 500; }

/* ---------- preço ---------- */

.price {
  display: grid;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: 0 0 0 1px var(--line);
}
.price-col { padding: 28px 24px; }
.price-col + .price-col { border-top: 1px solid var(--line); }
.price-k { font-size: 14px; font-weight: 500; color: var(--ink-3); }
.price-v {
  margin: 10px 0 12px;
  color: var(--ink);
  font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.price-v small { font-size: 16px; font-weight: 500; color: var(--ink-3); letter-spacing: 0; }
.price-col p:not(.price-k):not(.price-v) { color: var(--ink-3); }
.price-col p + p:not(.price-v) { margin-top: 6px; }
.price-cta { margin-top: 24px; }
@media (min-width: 800px) {
  .price { grid-template-columns: 1fr 1fr; }
  .price-col { padding: 36px 32px; }
  .price-col + .price-col { border-top: 0; border-left: 1px solid var(--line); }
}

/* ---------- perguntas ---------- */

.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative;
  display: block;
  padding: 20px 40px 20px 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 26px;
  width: 9px; height: 9px;
  border-right: 1.5px solid var(--ink-2);
  border-bottom: 1.5px solid var(--ink-2);
  transform: rotate(45deg);
  transition: transform .15s ease;
}
.faq details[open] summary::after { transform: rotate(225deg); top: 30px; }
.faq summary:hover { color: var(--accent); }
.faq .answer { padding: 0 0 22px; max-width: 68ch; color: var(--ink-2); }
.faq .answer p + p { margin-top: 10px; }

/* ---------- chamada final ---------- */

.cta-final h2 {
  font-size: clamp(2rem, 1.3rem + 3vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  max-width: 18ch;
}
.cta-final p { margin-top: 16px; font-size: 18px; color: var(--ink-3); max-width: 56ch; }

/* ---------- rodapé ---------- */

.site-footer {
  padding: 56px 0 40px;
  background: var(--surface);
  border-top: 1px solid var(--line);
  font-size: 15px;
}
.foot-grid { display: grid; gap: 32px; }
@media (min-width: 800px) {
  .foot-grid { grid-template-columns: 5fr 4fr 4fr; gap: 48px; }
}
.foot-about { margin-top: 12px; max-width: 40ch; color: var(--ink-3); }
.foot-title { margin-bottom: 12px; color: var(--ink); font-size: 14px; font-weight: 600; }
.foot-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-list a { color: var(--ink-2); text-decoration: none; }
.foot-list a:hover { color: var(--accent); text-decoration: underline; }
.foot-list span { display: block; color: var(--ink-3); font-size: 14px; }
.site-footer-min { padding-top: 0; }
.site-footer-min .foot-bottom { margin-top: 0; }
.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 14px;
}

/* ---------- documentos legais ---------- */

.doc-page { padding: 40px 0 80px; }
@media (min-width: 768px) { .doc-page { padding: 64px 0 112px; } }

.doc-layout { display: grid; gap: 32px; }
@media (min-width: 1100px) {
  .doc-layout {
    grid-template-columns: 260px minmax(0, 70ch);
    gap: 72px;
    align-items: start;
  }
}

.doc-head { margin-bottom: 32px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.doc-kicker { margin-bottom: 12px; font-size: 14px; font-weight: 500; color: var(--ink-3); }
.doc-head h1 {
  font-size: clamp(2rem, 1.5rem + 2.2vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
}
.doc-meta { margin-top: 14px; font-size: 14px; color: var(--ink-3); }
.doc-summary { margin-top: 18px; font-size: 18px; line-height: 1.55; color: var(--ink-2); }

.toc {
  padding: 18px 20px;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: 0 0 0 1px var(--line);
  font-size: 15px;
}
.toc-title { margin-bottom: 10px; font-size: 13px; font-weight: 600; color: var(--ink); }
.toc ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.toc a { color: var(--ink-2); text-decoration: none; display: inline-block; line-height: 1.35; }
.toc a:hover { color: var(--accent); text-decoration: underline; }
@media (min-width: 1100px) {
  .toc {
    position: sticky;
    top: calc(var(--header-h) + 32px);
    max-height: calc(100vh - var(--header-h) - 64px);
    overflow-y: auto;
    padding: 0;
    background: transparent;
    box-shadow: none;
    font-size: 14px;
  }
  .toc ol { gap: 4px; }
  .toc a { padding: 3px 0; }
}

.doc { min-width: 0; color: var(--ink-2); font-size: 16.5px; line-height: 1.7; }
.doc section { padding-top: 8px; }
.doc section + section { margin-top: 40px; }
.doc h2 { font-size: 22px; line-height: 1.25; margin-bottom: 14px; }
.doc h3 { font-size: 17px; line-height: 1.35; margin: 24px 0 8px; }
.doc p + p, .doc p + ul, .doc ul + p, .doc p + ol, .doc ol + p, .doc ul + ul { margin-top: 12px; }
.doc ul, .doc ol { margin: 0; padding-left: 22px; }
.doc li + li { margin-top: 6px; }
.doc li::marker { color: var(--ink-3); }
.doc a { word-break: break-word; }
.doc .clause { display: block; }
.doc .cn { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; margin-right: 2px; }

.callout {
  margin: 16px 0;
  padding: 16px 18px;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: 0 0 0 1px var(--line);
}
.callout-alert { box-shadow: 0 0 0 1px var(--line), inset 3px 0 0 var(--alert); }
.callout strong { display: block; margin-bottom: 4px; }

/* tabelas legíveis no celular: cada linha vira um bloco */
.tbl { width: 100%; margin: 16px 0; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.tbl th, .tbl td { padding: 12px 12px 12px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.tbl th { color: var(--ink); font-weight: 600; font-size: 14px; border-bottom-color: var(--ink); }
.tbl td:first-child { color: var(--ink); font-weight: 500; }
@media (max-width: 639px) {
  .tbl thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .tbl, .tbl tbody, .tbl tr, .tbl td { display: block; width: 100%; }
  .tbl tr { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .tbl td { padding: 2px 0; border: 0; }
  .tbl td[data-label]::before {
    content: attr(data-label);
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--ink-3);
    margin-top: 6px;
  }
  .tbl td:first-child::before { margin-top: 0; }
}

.doc-end {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-3);
}

/* ---------- 404 ---------- */

.notfound { padding: 96px 0 128px; }
.notfound h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem); line-height: 1.08; max-width: 18ch; }
.notfound p { margin-top: 16px; font-size: 18px; color: var(--ink-3); max-width: 50ch; }

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