/* Páginas de assunto do site (gestao-de-plantel-de-aves, importar-relacao-ibama-sispass e as outras).
   Mesmas fontes e cores da página inicial (site.css), num arquivo próprio e leve. */

@font-face {
  font-family: 'Figtree Variable';
  src: url('assets/fonts/figtree-latin-wght-normal.woff2') format('woff2');
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Quicksand Variable';
  src: url('assets/fonts/quicksand-latin-wght-normal.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --pine: #12302a;
  --pine-deep: #0b211c;
  --pine-soft: #1b433a;
  --gold: #e0a82e;
  --gold-dark: #c8921c;
  --paper: #f3f6f4;
  --surface: #ffffff;
  --ink: #12251f;
  --muted: #55655f;
  --line: #dbe4df;
  --mint: #cfe3db;
  --font-body: 'Figtree Variable', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Quicksand Variable', 'Figtree Variable', system-ui, sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.65 var(--font-body); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:focus-visible, summary:focus-visible, .btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
h1, h2 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* Botões e lojas */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px; border-radius: 12px; font-weight: 700; text-decoration: none; transition: background 0.15s; }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 1.05rem; }
.btn-gold { background: var(--gold); color: var(--pine-deep); }
.btn-gold:hover { background: var(--gold-dark); }
.stores { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.store-btn { display: inline-flex; align-items: center; gap: 12px; min-height: 58px; padding: 8px 20px 8px 16px; border-radius: 14px; background: #fff; color: var(--pine-deep); text-decoration: none; }
.store-btn:hover { background: #f4f1ea; }
.store-btn .store-ico { width: 26px; height: 26px; }
.store-btn [fill="#fff"] { fill: var(--pine-deep); }
.store-btn span { display: grid; line-height: 1.1; text-align: left; }
.store-btn small { font-size: 0.72rem; opacity: 0.8; }
.store-btn strong { font-family: var(--font-display); font-size: 1.15rem; }

/* Topo */
.top { background: var(--pine-deep); color: #fff; }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand img { width: 150px; height: auto; }
.top-nav { display: flex; align-items: center; gap: 20px; font-weight: 600; }
.top-nav a:not(.btn) { text-decoration: none; }
.top-nav a:not(.btn):hover { text-decoration: underline; text-underline-offset: 4px; }

/* Abertura */
.hero { background: radial-gradient(900px 520px at 85% 0%, rgb(224 168 46 / 0.16), transparent 70%), var(--pine); color: #fff; }
.hero-in { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; padding-top: 56px; padding-bottom: 64px; }
.hero-in.hero-phone { grid-template-columns: 1.4fr 0.6fr; }
.crumbs { margin: 0 0 18px; font-size: 0.95rem; color: var(--mint); }
.crumbs a { color: #fff; }
.hero h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
.hero .lead { margin: 20px 0 0; max-width: 58ch; color: var(--mint); font-size: 1.15rem; }
.hero .btn { margin-top: 28px; }

/* Prints do sistema */
.shot { margin: 0; }
.shot-desk img { border-radius: 14px; border: 1px solid rgb(255 255 255 / 0.12); box-shadow: 0 30px 60px -30px rgb(8 28 23 / 0.55); background: #fff; }
.shot-phone img { width: 100%; max-width: 280px; margin: 0 auto; border-radius: 30px; border: 7px solid #0a1512; box-shadow: 0 30px 60px -28px rgb(8 28 23 / 0.6); }
.topics .shot-desk img { border-color: var(--line); }

/* Assuntos */
.topics { padding-top: 72px; padding-bottom: 24px; }
.topic { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: center; margin-bottom: 72px; }
.topic-flip .topic-text { order: 2; }
.topic-plain { grid-template-columns: minmax(0, 720px); }
.topic h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); color: var(--pine); }
.topic p { margin: 14px 0 0; max-width: 62ch; }
.steps { margin: 18px 0 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 12px; max-width: 62ch; }
.steps li { counter-increment: step; position: relative; padding-left: 48px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: -2px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--pine); color: #fff; font: 700 0.95rem var(--font-display); }

/* Perguntas frequentes */
.faq { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.faq-in { max-width: 820px; padding-top: 56px; padding-bottom: 56px; }
.faq h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); color: var(--pine); margin-bottom: 16px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; font-weight: 700; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; font: 700 1.4rem/1 var(--font-display); color: var(--pine); }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: 0 0 18px; color: var(--muted); max-width: 66ch; }

/* Chamada final */
.cta { background: var(--pine-deep); color: #fff; text-align: center; }
.cta-in { display: grid; justify-items: center; gap: 22px; padding-top: 64px; padding-bottom: 64px; }
.cta h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }

/* Veja também */
.more { padding-top: 48px; padding-bottom: 56px; }
.more h2 { font-size: 1.25rem; color: var(--pine); }
.more ul { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.more a { display: inline-flex; min-height: 44px; align-items: center; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; font-weight: 600; color: var(--pine); }
.more a:hover { border-color: var(--pine); }

/* Rodapé */
.footer { background: var(--pine-deep); color: var(--mint); padding: 28px 0 36px; }
.footer .small { margin: 8px 0 0; font-size: 0.92rem; }
.footer a { color: #fff; }

@media (max-width: 900px) {
  .hero-in, .hero-in.hero-phone, .topic { grid-template-columns: 1fr; gap: 32px; }
  .hero-in { padding-top: 36px; padding-bottom: 44px; }
  .topic-flip .topic-text { order: 0; }
  .topics { padding-top: 48px; }
  .topic { margin-bottom: 52px; }
  .shot-phone img { max-width: 240px; }
}
@media (max-width: 520px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .top-nav { gap: 14px; }
  .top-nav a:not(.btn) { font-size: 0.95rem; }
  .brand img { width: 120px; }
  .hero .btn, .cta .btn { width: 100%; }
}
