/* =========================================================
   Amar Nutrindo — Termos de Uso (página legal)
   Carregue ESTE arquivo logo após styles.css:
     <link rel="stylesheet" href="css/styles.css">
     <link rel="stylesheet" href="css/termos-de-uso.css">
   Depende dos tokens (:root) e das classes de nav/footer
   definidos em styles.css.
   ========================================================= */

.legal-hero { position: relative; display: flex; justify-content: center; padding: 56px 20px 40px; }
.legal-hero .hero__glow--amber { top: -120px; right: -160px; width: 520px; height: 520px; }
.legal-hero__inner { position: relative; width: 100%; max-width: 880px; }
.back-link { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; color: var(--dawn); margin-bottom: 22px; transition: gap .2s ease; }
.back-link:hover { gap: 11px; }
.back-link svg { width: 17px; height: 17px; flex-shrink: 0; fill: none; stroke: var(--dawn); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.legal-hero h1 { font-size: clamp(30px, 5vw, 48px); line-height: 1.08; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 16px; text-wrap: balance; }
.legal-hero__sub { font-size: clamp(15px, 2vw, 18px); line-height: 1.6; color: var(--muted); margin-bottom: 18px; max-width: 640px; }
.legal-hero__date { font-size: 13.5px; color: var(--muted-2); }

.legal-body { display: flex; justify-content: center; padding: 30px 20px 80px; }
.legal-grid { display: grid; grid-template-columns: 240px 1fr; gap: 56px; width: 100%; max-width: 1040px; align-items: start; }

.legal-toc { position: sticky; top: 104px; background: #fff; border: 1px solid rgba(45,28,16,0.07); border-radius: 18px; padding: 22px 20px; box-shadow: 0 14px 30px -20px rgba(45,28,16,0.18); }
.legal-toc__title { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2); font-weight: 600; margin-bottom: 14px; }
.legal-toc nav { display: flex; flex-direction: column; gap: 4px; }
.legal-toc a { font-size: 13.5px; font-weight: 500; color: #5b4d42; padding: 7px 9px; border-radius: 9px; line-height: 1.35; }
.legal-toc a:hover { background: var(--harmony); color: var(--dawn); }

.legal-article { background: #fff; border: 1px solid rgba(45,28,16,0.07); border-radius: 22px; padding: 46px 50px; box-shadow: 0 24px 50px -34px rgba(45,28,16,0.24); }
.legal-article h2 { font-size: 24px; font-weight: 700; letter-spacing: -0.01em; margin: 0 0 16px; display: flex; align-items: baseline; gap: 12px; scroll-margin-top: 110px; }
.legal-article h2 .num { font-size: 15px; font-weight: 700; color: var(--dawn); }
.legal-article > p { font-size: 15px; line-height: 1.72; color: #5b4d42; margin-bottom: 18px; }
.legal-article a { color: var(--dawn); font-weight: 600; }
.legal-section { margin-bottom: 34px; }
.legal-section:last-child { margin-bottom: 0; }

.legal-intro { background: var(--cream-bg); border: 1px solid rgba(45,28,16,0.06); border-radius: 16px; padding: 24px 26px; margin-bottom: 40px; }
.legal-intro p { font-size: 15px; line-height: 1.72; color: #5b4d42; margin-bottom: 12px; }
.legal-intro p:last-child { margin-bottom: 0; }
.legal-intro p:first-child { font-size: 16px; color: var(--roots); font-weight: 600; }

.deflist { display: flex; flex-direction: column; gap: 14px; margin-bottom: 18px; }
.deflist > div { border-left: 3px solid var(--dawn); padding-left: 16px; }
.deflist > div.def--amber { border-color: var(--energy); }
.deflist > div.def--orange { border-color: var(--citrus); }
.deflist > div.def--green { border-color: var(--green); }
.deflist dt { font-size: 15px; font-weight: 600; color: var(--roots); margin-bottom: 4px; }
.deflist dd { margin: 0; font-size: 14.5px; line-height: 1.7; color: #5b4d42; }

.clause-list { display: flex; flex-direction: column; gap: 16px; }
.clause-list .clause-title { font-size: 15px; font-weight: 600; color: var(--roots); margin-bottom: 3px; }
.clause-list p { font-size: 14.5px; line-height: 1.7; color: #5b4d42; margin: 0; }

/* Lista com marcadores (usada na Política de Privacidade) */
.legal-bullets { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-direction: column; gap: 9px; }
.legal-bullets li { position: relative; padding-left: 22px; font-size: 14.5px; line-height: 1.7; color: #5b4d42; }
.legal-bullets li::before { content: ""; position: absolute; left: 3px; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--dawn); }
.legal-bullets li strong { color: var(--roots); font-weight: 600; }
.clause-list .legal-bullets { margin-top: 4px; }

.legal-callout { background: var(--energy-soft); border-radius: 14px; padding: 20px 24px; }
.legal-callout h3 { font-size: 15px; font-weight: 600; color: var(--amber-text); margin-bottom: 6px; }
.legal-callout p { font-size: 14.5px; line-height: 1.72; color: #6b5226; margin: 0; }

.legal-note { font-size: 14.5px; line-height: 1.7; color: #5b4d42; }
.legal-note strong { color: var(--roots); }

.contact-card { display: flex; align-items: center; gap: 14px; background: var(--cream-bg); border: 1px solid rgba(45,28,16,0.06); border-radius: 14px; padding: 16px 18px; }
.contact-card + .contact-card { margin-top: 12px; }
.contact-card__ico { width: 40px; height: 40px; border-radius: 11px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-card__ico--purple { background: var(--dawn-soft); }
.contact-card__ico--green { background: var(--green-soft); }
.contact-card__ico svg { width: 20px; height: 20px; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contact-card__ico--purple svg { stroke: var(--dawn); }
.contact-card__ico--green svg { stroke: var(--green); }
.contact-card__label { font-size: 13px; color: var(--muted-2); }
.contact-card__value { font-size: 15px; font-weight: 600; color: var(--roots); }
.contact-card__value:hover { color: var(--dawn); }

.legal-footnote { border-top: 1px solid rgba(45,28,16,0.08); padding-top: 22px; }
.legal-footnote p { font-size: 13.5px; color: var(--muted-2); margin: 0; }

/* ---------- Responsivo ---------- */
@media (max-width: 900px) {
  .legal-grid { grid-template-columns: 1fr; gap: 0; }
  .legal-toc { position: static; margin-bottom: 36px; }
  .legal-article { padding: 36px 26px; }
}
