/* páginas de guia: leitura longa, no mesmo papel e na mesma tinta do site */
:root {
  --paper: #f1f0ed;
  --paper-2: #e5e4e0;
  --ink: #161412;
  --muted: #6f6861;
  --dark: #0d0c0b;
  --light: #eeedea;
  --gold: #b08d57;
  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --display: "Gambarino", Georgia, serif;
  --text: "General Sans", system-ui, sans-serif;
  --pad: clamp(16px, 5vw, 80px);
  --ease: cubic-bezier(.2,.7,.2,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--step-body)/1.65 var(--text); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.g-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px var(--pad); border-bottom: 1px solid var(--paper-2); }
.g-top .marca { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--display); font-size: 1.35rem; }
.g-top .marca img { width: 34px; height: 34px; }
.g-top nav { display: flex; gap: 22px; font-size: var(--step-small); }
.g-top nav a { text-decoration: none; }
.g-top nav a:hover { text-decoration: underline; text-underline-offset: 4px; }

.g-art { max-width: 760px; margin: 0 auto; padding: 72px var(--pad) 40px; }
.g-trilha { margin: 0 0 22px; font-size: var(--step-small); color: var(--muted); }
.g-trilha a { text-decoration: none; }
.g-trilha a:hover { text-decoration: underline; }
.g-art h1 { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.5rem); line-height: 1.02; letter-spacing: -0.015em; text-wrap: balance; }
.g-lead { margin: 24px 0 0; font-size: var(--step-lead); line-height: 1.5; }
.g-data { margin: 18px 0 0; font-size: var(--step-small); color: var(--muted); }
.g-art h2 { margin: 64px 0 0; font-family: var(--display); font-weight: 400; font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem); line-height: 1.1; }
.g-art h2 .n { display: block; margin-bottom: 8px; font-family: var(--text); font-size: var(--step-small); letter-spacing: .12em; color: var(--gold); }
.g-art p { margin: 18px 0 0; }
.g-art ul { margin: 18px 0 0; padding: 0; list-style: none; }
.g-art li { position: relative; padding: 14px 0 14px 28px; border-bottom: 1px solid var(--paper-2); }
.g-art li::before { content: ""; position: absolute; left: 4px; top: 1.45em; width: 10px; height: 1px; background: var(--gold); }
.g-art li b { font-weight: 500; }
.g-dica { margin: 28px 0 0; padding: 22px 24px; background: var(--paper-2); }
.g-dica b { font-weight: 500; }

.g-pecas { max-width: 1200px; margin: 56px auto 0; padding: 0 var(--pad); }
.g-pecas h2 { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem); }
.g-pecas .row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 28px; }
.g-pecas a { text-decoration: none; }
.g-pecas .ph { aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-2); }
.g-pecas img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.g-pecas a:hover img { transform: scale(1.05); }
.g-pecas b { display: block; margin-top: 14px; font-family: var(--display); font-weight: 400; font-size: 1.4rem; line-height: 1.1; }
.g-pecas small { display: block; margin-top: 4px; color: var(--muted); font-size: var(--step-small); }

.g-fala { margin: 96px 0 0; padding: 96px var(--pad); background: var(--ink); color: var(--light); }
.g-fala .in { max-width: 760px; margin: 0 auto; }
.g-fala h2 { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 1.5rem + 2vw, 3.25rem); line-height: 1.05; }
.g-fala p { margin: 18px 0 30px; color: #d6cfc5; font-size: var(--step-lead); line-height: 1.5; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 28px; background: var(--light); color: var(--dark); font: 500 var(--step-body)/1 var(--text); text-decoration: none; transition: background .3s var(--ease), transform .15s; }
.btn:hover { background: var(--gold); }
.btn:active { transform: scale(.97); }

.g-outros { max-width: 760px; margin: 0 auto; padding: 72px var(--pad); }
.g-outros h2 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 1.75rem; }
.g-outros ul { margin: 18px 0 0; padding: 0; list-style: none; }
.g-outros li a { display: block; padding: 16px 0; border-bottom: 1px solid var(--paper-2); font-family: var(--display); font-size: 1.35rem; text-decoration: none; transition: color .2s, padding-left .3s var(--ease); }
.g-outros li a:hover { color: var(--gold); padding-left: 8px; }
.g-pe { padding: 28px var(--pad) 40px; border-top: 1px solid var(--paper-2); font-size: var(--step-small); color: var(--muted); }

@media (max-width: 760px) {
  .g-top nav a:not(.keep) { display: none; }
  .g-pecas .row { grid-template-columns: repeat(3, 70%); overflow-x: auto; scroll-snap-type: x mandatory; }
  .g-pecas .row a { scroll-snap-align: start; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
