/* Instituto Auctus. Sistema visual derivado do kit Agrivo (Studio Niskala),
   remapeado para verde floresta. Tokens documentados em design-system/. */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var.woff2") format("woff2");
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --green: #14452F;
  --green-mid: #2E7050;
  --green-dark: #0F2A1E;
  --green-deeper: #0A1F16;
  --tint-200: #D5E6DC;
  --tint-100: #E8F1EB;
  --yellow: #FCC81C;
  --yellow-100: #FEF3CF;
  --cream: #FFFBEF;
  --ink: #1C1C1F;
  --ink-2: #4B4B53;
  --ink-3: #6B6B76;
  --line: #E4E5E1;
  --line-dark: rgb(255 255 255 / 0.16);
  --surface: #F4F5F2;
  --white: #FFFFFF;

  --font-head: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Poppins", "Inter", Arial, sans-serif;

  --fs-h1: clamp(2.5rem, 1.6rem + 3.8vw, 4.5rem);
  --fs-h2: clamp(2rem, 1.35rem + 2.6vw, 3.75rem);
  --fs-h3: clamp(1.375rem, 1.15rem + 0.8vw, 1.75rem);
  --fs-lead: clamp(1.5rem, 1.05rem + 1.8vw, 2.75rem);
  --fs-card: 1.25rem;
  --fs-body: 1rem;
  --fs-small: 0.875rem;

  --frame: 16px;
  --wrap: 1408px;
  --pad: clamp(16px, 2.2vw, 32px);
  --section-y: clamp(72px, 7vw, 112px);
  --gap: clamp(16px, 1.6vw, 24px);

  --r-pill: 99px;
  --r-panel: 30px;
  --r-card: 20px;
  --r-media: 12px;

  --t: 280ms cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--surface);
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin: 0;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.25; letter-spacing: -0.015em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--yellow); color: var(--ink); padding: 10px 16px; border-radius: var(--r-pill); z-index: 100; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- Layout ---------- */
.frame { padding-inline: var(--frame); max-width: calc(var(--wrap) + 2 * var(--frame)); margin-inline: auto; }
.wrap { padding-inline: var(--pad); }
.section { padding-block: var(--section-y); }
.panel { border-radius: var(--r-panel); overflow: hidden; position: relative; }
.panel--dark { background: var(--green-dark); color: rgb(255 255 255 / .78); }
.panel--dark h2, .panel--dark h3 { color: var(--white); }
.panel--white { background: var(--white); }
.stack > * + * { margin-top: var(--gap); }

.grid { display: grid; gap: var(--gap); }
@media (min-width: 900px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 640px) and (max-width: 899px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}

/* Cabeçalho de seção: etiqueta à esquerda, título ao centro, ação à direita (padrão Agrivo) */
.sec-head { display: grid; gap: 20px; margin-bottom: clamp(32px, 4vw, 48px); align-items: start; }
@media (min-width: 900px) {
  .sec-head { grid-template-columns: 1fr 2fr 1fr; }
  .sec-head .tag { justify-self: start; }
  .sec-head > :last-child:not(h2) { justify-self: end; align-self: end; }
}
.sec-head--center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.sec-head.sec-head--center > * { justify-self: center; }
.sec-head--center p { max-width: 62ch; }
.sec-head--center h2 { max-width: 22ch; }
.sec-head p { max-width: 36ch; }

/* ---------- Etiqueta em pílula ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-head); font-size: 0.95rem; line-height: 1.3;
  padding: 5px 12px; border: 1px solid currentColor; border-radius: var(--r-pill);
  color: var(--ink-2); white-space: nowrap;
}
.tag--light { color: rgb(255 255 255 / .92); border-color: rgb(255 255 255 / .7); }
.tag--yellow { color: var(--yellow); border-color: var(--yellow); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-size: 1rem; line-height: 1.3; letter-spacing: -0.01em;
  padding: 14px 22px; border-radius: var(--r-pill); border: 1px solid transparent;
  text-decoration: none; cursor: pointer; transition: background var(--t), color var(--t), border-color var(--t), transform var(--t);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform var(--t); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--green); color: var(--white); }
.btn--primary:hover { background: var(--yellow); color: var(--ink); }
.btn--yellow { background: var(--yellow); color: var(--ink); }
.btn--yellow:hover { background: var(--white); color: var(--green-dark); }
.btn--ghost { color: var(--ink); border-color: var(--ink-3); }
.btn--ghost:hover { border-color: var(--green); color: var(--green); }
.btn--ghost-light { color: var(--white); border-color: rgb(255 255 255 / .7); }
.btn--ghost-light:hover { border-color: var(--yellow); color: var(--yellow); }
.btn--sm { padding: 10px 18px; font-size: .95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Cabeçalho ---------- */
.site-header { position: sticky; top: 0; z-index: 50; padding-top: var(--frame); }
.nav {
  background: var(--green-dark); border-radius: var(--r-pill);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 10px 10px 24px; min-height: 64px;
  box-shadow: 0 10px 30px -18px rgb(10 31 22 / .6);
}
.nav__logo { display: block; flex-shrink: 0; }
.nav__logo img { height: 38px; width: auto; }
.nav__links { display: flex; gap: 4px; list-style: none; }
.nav__links a {
  display: block; padding: 8px 14px; border-radius: var(--r-pill);
  font-family: var(--font-head); font-size: .95rem; color: rgb(255 255 255 / .82); text-decoration: none; transition: color var(--t), background var(--t);
}
.nav__links a:hover { color: var(--white); background: rgb(255 255 255 / .08); }
.nav__links a[aria-current="page"] { color: var(--yellow); }
.nav__toggle { display: none; background: none; border: 0; color: var(--white); width: 44px; height: 44px; border-radius: 50%; cursor: pointer; }
.nav__toggle svg { width: 24px; height: 24px; margin: auto; }
@media (max-width: 1100px) {
  .nav { border-radius: 28px; flex-wrap: wrap; padding: 10px 10px 10px 20px; }
  .nav__toggle { display: grid; }
  .nav__cta { display: none; }
  .nav__menu { display: none; width: 100%; padding: 8px 0 12px; }
  .nav.is-open .nav__menu { display: block; }
  .nav__links { flex-direction: column; }
  .nav__links a { font-size: 1.1rem; padding: 12px 10px; }
  .nav__menu .btn { margin: 10px 10px 0; width: calc(100% - 20px); }
}
@media (min-width: 1101px) {
  .nav__menu { display: flex; align-items: center; gap: 16px; }
  .nav__menu .btn { display: none; }
}

/* ---------- Hero ---------- */
.hero { margin-top: var(--frame); min-height: min(86vh, 820px); display: flex; align-items: flex-end; color: var(--white); }
.hero__media, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgb(10 31 22 / .15) 0%, rgb(10 31 22 / .25) 40%, rgb(10 31 22 / .88) 100%),
              linear-gradient(90deg, rgb(10 31 22 / .55) 0%, rgb(10 31 22 / 0) 60%);
}
.hero__body { position: relative; width: 100%; padding: clamp(24px, 3vw, 40px); display: grid; gap: 28px; align-items: end; }
@media (min-width: 980px) { .hero__body { grid-template-columns: 1.5fr 1fr; } }
.hero h1 { color: var(--white); max-width: 14ch; margin-top: 14px; }
.hero__aside { display: grid; gap: 20px; justify-items: start; }
@media (min-width: 980px) { .hero__aside { justify-items: end; text-align: right; } .hero__aside .btn-row { justify-content: flex-end; } }
.hero__aside p { max-width: 38ch; color: rgb(255 255 255 / .9); }
.hero__card {
  position: absolute; top: clamp(20px, 3vw, 40px); right: clamp(20px, 3vw, 40px);
  width: 240px; padding: 16px; border-radius: var(--r-card);
  background: rgb(255 255 255 / .12); border: 1px solid rgb(255 255 255 / .35);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  font-size: .9rem; line-height: 1.45; color: var(--white);
}
.hero__card strong { display: block; font-family: var(--font-head); font-weight: 400; font-size: 1.5rem; letter-spacing: -.02em; color: var(--yellow); margin-bottom: 4px; }
@media (max-width: 760px) { .hero__card { display: none; } }

.hero--page { min-height: 440px; }
.hero--page h1 { max-width: 18ch; }

/* ---------- Faixa amarela (prova) ---------- */
.band { margin-top: var(--frame); background: var(--yellow); color: var(--ink); border-radius: var(--r-panel); padding: clamp(20px, 2.4vw, 28px); display: grid; gap: 20px; align-items: center; }
@media (min-width: 900px) { .band { grid-template-columns: 1fr 1fr 1fr 1.2fr; } }
.band__stat { display: flex; align-items: baseline; gap: 12px; }
.band__stat b { white-space: nowrap; font-family: var(--font-head); font-weight: 400; font-size: clamp(2.25rem, 1.6rem + 2vw, 3.25rem); letter-spacing: -.03em; line-height: 1; color: var(--green-dark); }
.band__stat span { font-size: .95rem; line-height: 1.35; max-width: 16ch; }
.band__media { position: relative; border-radius: var(--r-card); overflow: hidden; aspect-ratio: 16 / 9; }
.band__media img { width: 100%; height: 100%; object-fit: cover; }
.band__media span { position: absolute; left: 12px; bottom: 12px; background: var(--green-dark); color: var(--white); font-family: var(--font-head); font-size: .85rem; padding: 6px 12px; border-radius: var(--r-pill); }

/* ---------- Sobre / lead em dois tons ---------- */
.lead-split { display: grid; gap: 24px; }
@media (min-width: 900px) { .lead-split { grid-template-columns: 1fr 4fr; } }
.lead { font-family: var(--font-head); font-size: var(--fs-lead); line-height: 1.2; letter-spacing: -.025em; color: var(--ink); margin: 0; }
.lead .muted { color: var(--ink-3); }
.about-media { display: grid; gap: var(--gap); margin-top: clamp(32px, 4vw, 56px); }
@media (min-width: 900px) { .about-media { grid-template-columns: 1fr 1fr 0.8fr; align-items: end; } }
.about-media img { border-radius: var(--r-card); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.note { display: grid; gap: 14px; align-content: end; padding-bottom: 8px; }
.icon-dot { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--green-dark); color: var(--yellow); }
.icon-dot svg { width: 20px; height: 20px; }
.note h3 { font-size: var(--fs-card); }

/* ---------- Tripé (cartões de serviço) ---------- */
.pillars { display: grid; gap: var(--gap); }
@media (min-width: 1000px) { .pillars { grid-template-columns: 2.1fr 1fr 1fr; } }
.pillar { border-radius: var(--r-card); overflow: hidden; position: relative; min-height: 380px; display: flex; color: var(--white); text-decoration: none; }
.pillar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 600ms cubic-bezier(.2,.7,.2,1); }
.pillar:hover img { transform: scale(1.04); }
.pillar::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(10 31 22 / 0) 35%, rgb(10 31 22 / .9) 100%); }
.pillar__body > .tag, .pillar__body > .icon-yellow { justify-self: start; }
.pillar__body { position: relative; z-index: 1; margin-top: auto; padding: 24px; display: grid; gap: 10px; }
.pillar__body h3 { color: var(--white); font-size: var(--fs-card); }
.pillar__body p { font-size: .92rem; color: rgb(255 255 255 / .85); }
.pillar .icon-yellow { width: 44px; height: 44px; border-radius: 50%; background: var(--yellow); color: var(--green-dark); display: grid; place-items: center; }
.pillar .icon-yellow svg { width: 20px; height: 20px; }
.pillar--feature { background: var(--green-dark); padding: 16px; gap: 24px; flex-direction: column; }
.pillar--feature::after { display: none; }
.pillar--feature .pillar__img { position: relative; border-radius: var(--r-media); overflow: hidden; aspect-ratio: 4 / 3; }
.pillar--feature .pillar__img img { position: absolute; }
.pillar--feature .pillar__body { padding: 8px 12px 12px; margin-top: 0; }
.pillar--feature h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
@media (min-width: 700px) {
  .pillar--feature { flex-direction: row; }
  .pillar--feature .pillar__img { flex: 0 0 46%; aspect-ratio: auto; }
  .pillar--feature .pillar__body { align-content: space-between; padding: 12px 16px; }
}

/* ---------- Ladrilhos (benefícios) ---------- */
.tiles-layout { display: grid; gap: var(--gap); }
@media (min-width: 1000px) { .tiles-layout { grid-template-columns: 1.1fr 1fr; } }
.tile { border-radius: var(--r-card); background: var(--green-dark); color: rgb(255 255 255 / .8); padding: 24px; display: grid; gap: 14px; }
@media (min-width: 640px) { .tile { grid-template-columns: 0.8fr 1.2fr; align-items: start; } }
.tile h3 { color: var(--white); font-size: var(--fs-card); }
.tile--yellow { background: var(--yellow); color: var(--ink); }
.tile--yellow h3 { color: var(--ink); }
.tile ul { list-style: none; display: grid; gap: 8px; font-size: .92rem; line-height: 1.45; }
.tile li { display: grid; grid-template-columns: 16px 1fr; gap: 10px; }
.tile li svg { width: 16px; height: 16px; margin-top: 3px; color: var(--yellow); }
.tile--yellow li svg { color: var(--green); }
.tiles { display: grid; gap: 12px; }
.tiles-photo { border-radius: var(--r-card); overflow: hidden; min-height: 280px; }
.tiles-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 999px) { .tiles-photo--narrow { display: none; } }

/* ---------- Painel escuro com cartões contornados (NR-1) ---------- */
.dark-panel { padding: clamp(48px, 6vw, 96px) clamp(20px, 3vw, 40px); }
.dark-panel .sec-head p { color: rgb(255 255 255 / .78); max-width: 60ch; }
.outline-card { border: 1px solid rgb(166 231 129 / .45); border-radius: var(--r-card); padding: 24px; display: grid; gap: 14px; align-content: start; transition: background var(--t), border-color var(--t); }
.outline-card:hover { background: rgb(255 255 255 / .04); border-color: var(--yellow); }
.outline-card h3 { font-size: var(--fs-card); }
.outline-card p { font-size: .92rem; color: rgb(255 255 255 / .75); }
.outline-card .icon-yellow { width: 44px; height: 44px; border-radius: 50%; background: var(--yellow); color: var(--green-dark); display: grid; place-items: center; }
.outline-card .icon-yellow svg { width: 20px; height: 20px; }
.outline-card--solid { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.outline-card--solid h3 { color: var(--ink); }
.outline-card--solid p { color: var(--ink-2); }
.outline-card--solid .icon-yellow { background: var(--green-dark); color: var(--yellow); }
.outline-card--solid:hover { background: var(--yellow); }
.dark-panel__foot { margin-top: clamp(32px, 4vw, 48px); display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; border-top: 1px solid var(--line-dark); padding-top: 24px; font-size: .9rem; }

/* ---------- Calendário ---------- */
.months { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); list-style: none; }
@media (min-width: 700px) { .months { grid-template-columns: repeat(4, 1fr); } }
.month { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 20px; display: grid; gap: 28px; min-height: 150px; align-content: space-between; transition: transform var(--t), border-color var(--t); }
.month:hover { transform: translateY(-3px); border-color: var(--green); }
.month time { font-family: var(--font-head); font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--green); }
.month b { font-family: var(--font-head); font-weight: 400; font-size: 1.3rem; line-height: 1.2; letter-spacing: -.015em; color: var(--ink); }
.month--pink time { color: #B0346A; }
.month--blue time { color: #1F5C99; }

/* ---------- Dados (cartões brancos) ---------- */
.data-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 28px; display: grid; gap: 18px; align-content: space-between; }
.data-card b { font-family: var(--font-head); font-weight: 400; font-size: clamp(2.5rem, 1.8rem + 2.4vw, 3.75rem); letter-spacing: -.035em; line-height: 1; color: var(--green); }
.data-card p { color: var(--ink); }
.data-card cite { font-style: normal; font-size: var(--fs-small); color: var(--ink-3); border-top: 1px solid var(--line); padding-top: 14px; }
.data-card cite a { color: var(--green); }

/* ---------- Passos ---------- */
.steps { list-style: none; display: grid; gap: var(--gap); counter-reset: s; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { background: var(--white); border-radius: var(--r-card); padding: 28px; counter-increment: s; display: grid; gap: 12px; align-content: start; border: 1px solid var(--line); }
.step::before { content: counter(s, decimal-leading-zero); font-family: var(--font-head); font-size: .9rem; color: var(--green); width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--green); display: grid; place-items: center; }
.step h3 { font-size: var(--fs-card); }
.step p { font-size: .95rem; }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; gap: clamp(24px, 4vw, 64px); }
@media (min-width: 900px) { .faq-layout { grid-template-columns: 1fr 1.6fr; } .faq-layout > :first-child { position: sticky; top: 120px; align-self: start; } }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--white); border-radius: var(--r-card); border: 1px solid var(--line); transition: border-color var(--t); }
.faq details[open] { border-color: var(--green); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; display: flex; justify-content: space-between; gap: 16px; align-items: center; font-family: var(--font-head); font-size: 1.125rem; letter-spacing: -.01em; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: 0 0 28px; height: 28px; border-radius: 50%; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314452F' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform var(--t); }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--yellow); }
.faq .answer { padding: 0 24px 22px; }

/* ---------- CTA ---------- */
.cta { min-height: 520px; display: flex; align-items: flex-end; color: var(--white); }
.cta .hero__media::after { background: linear-gradient(180deg, rgb(10 31 22 / .05) 20%, rgb(10 31 22 / .85) 100%); }
.cta h2 { color: var(--yellow); max-width: 16ch; margin-top: 14px; }

/* ---------- Rodapé ---------- */
.site-footer { margin-top: var(--frame); padding-bottom: var(--frame); }
.footer { background: var(--green-deeper); color: rgb(255 255 255 / .72); border-radius: var(--r-panel); padding: clamp(40px, 5vw, 64px) clamp(20px, 3vw, 40px) 28px; }
.footer__grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer__brand img { height: 44px; width: auto; margin-bottom: 20px; }
.footer__brand p { max-width: 36ch; font-size: .95rem; }
.footer h2 { font-size: 1rem; color: #A6E781; letter-spacing: 0; margin-bottom: 16px; font-family: var(--font-head); }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer a { text-decoration: none; transition: color var(--t); }
.footer a:hover { color: var(--yellow); }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact svg { width: 18px; height: 18px; margin-top: 4px; flex-shrink: 0; color: #A6E781; }
.footer__base { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .85rem; }

/* ---------- Artigo (guia) ---------- */
.article { background: var(--white); border-radius: var(--r-panel); padding: clamp(28px, 5vw, 72px) var(--pad); }
.article__inner { max-width: 760px; margin-inline: auto; }
.article h2 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.25rem); margin: 2.2em 0 .6em; line-height: 1.15; }
.article h3 { margin: 1.6em 0 .5em; }
.article p, .article li { font-size: 1.05rem; line-height: 1.75; }
.article ul, .article ol { padding-left: 1.3em; margin: 0 0 1.2em; display: grid; gap: .4em; }
.article a { color: var(--green); }
.answer-box { background: var(--tint-100); border-left: 4px solid var(--green); border-radius: 0 var(--r-card) var(--r-card) 0; padding: 22px 26px; margin: 28px 0; }
.answer-box p { font-size: 1.12rem; color: var(--ink); }
.meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: var(--fs-small); color: var(--ink-3); margin-top: 18px; }
.sources { font-size: .92rem; border-top: 1px solid var(--line); margin-top: 48px; padding-top: 24px; }
.sources li { font-size: .92rem !important; line-height: 1.55 !important; }
.breadcrumb { font-size: var(--fs-small); color: rgb(255 255 255 / .8); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- Detalhe dos pilares (página do programa) ---------- */
.detail { display: grid; gap: clamp(24px, 4vw, 56px); align-items: center; }
@media (min-width: 900px) { .detail { grid-template-columns: 1fr 1fr; } .detail--rev > :first-child { order: 2; } }
.detail img { border-radius: var(--r-card); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.detail h2 { font-size: clamp(1.9rem, 1.4rem + 1.8vw, 3rem); margin: 14px 0 18px; }
.checklist { list-style: none; display: grid; gap: 12px; margin-top: 22px; }
.checklist li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; color: var(--ink); }
.checklist svg { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--tint-100); color: var(--green); }

/* ---------- Formulário ---------- */
.form-panel { background: var(--white); border-radius: var(--r-panel); padding: clamp(24px, 4vw, 48px); }
.form { display: grid; gap: 16px; }
@media (min-width: 700px) { .form { grid-template-columns: 1fr 1fr; } .form .full { grid-column: 1 / -1; } }
.form label { display: grid; gap: 6px; font-family: var(--font-head); font-size: .92rem; color: var(--ink); }
.form input, .form select, .form textarea {
  font: inherit; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  border: 1px solid var(--line); background: var(--surface); border-radius: 14px; padding: 13px 16px; width: 100%;
  transition: border-color var(--t), background var(--t);
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--green); background: var(--white); }
.form textarea { min-height: 130px; resize: vertical; }
.form small { color: var(--ink-3); font-family: var(--font-body); }
.contact-cards { display: grid; gap: 12px; }
.contact-card { background: var(--green-dark); color: rgb(255 255 255 / .8); border-radius: var(--r-card); padding: 24px; display: grid; gap: 6px; text-decoration: none; transition: background var(--t); }
.contact-card:hover { background: var(--green); }
.contact-card span { font-size: .85rem; color: #A6E781; font-family: var(--font-head); }
.contact-card b { font-family: var(--font-head); font-weight: 400; font-size: 1.4rem; color: var(--white); letter-spacing: -.01em; word-break: break-word; }

/* ---------- Linha do tempo / histórico ---------- */
.history { list-style: none; display: grid; gap: 12px; }
@media (min-width: 800px) { .history { grid-template-columns: repeat(3, 1fr); } }
.history li { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 24px; display: grid; gap: 8px; }
.history b { font-family: var(--font-head); font-weight: 400; font-size: 1.2rem; color: var(--ink); }
.history span { font-size: var(--fs-small); color: var(--green); font-family: var(--font-head); }

/* ---------- Revelação ao rolar ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 700ms ease, transform 700ms cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

.mt-0 { margin-top: 0; }
.muted { color: var(--ink-3); }
.text-link { color: var(--green); text-underline-offset: 3px; }
.panel--dark .text-link { color: var(--yellow); }

/* Ajustes finos */
.tag svg { width: 16px; height: 16px; flex-shrink: 0; }
.sec-head > .tag, .sec-head > .btn, .stack > .tag, .stack > .btn { justify-self: start; }
.stack { display: grid; }
@media (max-width: 600px) {
  :root { --fs-h1: 2.15rem; --fs-h2: 1.9rem; }
  .hero__media img { object-position: 65% 50%; }
  .hero__body { padding: 22px; }
  .nav__logo img { height: 34px; }
}

/* ---------- Caminhos por público (empresas / setor público) ---------- */
.paths { display: grid; gap: var(--gap); }
@media (min-width: 900px) { .paths { grid-template-columns: 1fr 1fr; } }
.path { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 12px; display: grid; grid-template-rows: auto 1fr; text-decoration: none; color: var(--ink-2); transition: border-color var(--t), transform var(--t), box-shadow var(--t); }
.path:hover { border-color: var(--green); transform: translateY(-3px); box-shadow: 0 24px 40px -28px rgb(10 31 22 / .45); }
.path__img { border-radius: var(--r-media); overflow: hidden; aspect-ratio: 16 / 9; }
.path__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms cubic-bezier(.2,.7,.2,1); }
.path:hover .path__img img { transform: scale(1.04); }
.path__body { padding: 22px 14px 12px; display: grid; gap: 14px; align-content: start; }
.path__body .tag { justify-self: start; color: var(--green); }
.path__body h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.path__body p { max-width: 52ch; }
.path__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; font-family: var(--font-head); color: var(--green); font-size: 1rem; }
.path__link svg { width: 18px; height: 18px; transition: transform var(--t); }
.path:hover .path__link svg { transform: translateX(4px); }

/* ---------- Atalhos de página ---------- */
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(28px, 3vw, 40px); }
.jump a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: var(--r-pill); background: var(--white); border: 1px solid var(--line); text-decoration: none; font-family: var(--font-head); font-size: .95rem; color: var(--ink); transition: border-color var(--t), background var(--t); }
.jump a:hover { border-color: var(--green); background: var(--tint-100); }
.jump svg { width: 18px; height: 18px; color: var(--green); }
[id] { scroll-margin-top: 110px; }

/* ---------- Variações ---------- */
.hero--tall { min-height: min(72vh, 640px); }
.mt-section { margin-top: clamp(32px, 4vw, 56px); }
.checklist--sm { margin-top: 0; gap: 10px; }
.checklist--sm li { color: var(--ink); font-size: .95rem; }
.outline-card--solid .checklist svg { background: rgb(255 255 255 / .55); }
.dark-panel__foot .btn-row { gap: 8px; }

/* ---------- Contato ---------- */
.page-intro { padding: clamp(40px, 5vw, 72px) clamp(24px, 4vw, 56px); }
.page-intro h1 { color: var(--white); margin-top: 18px; max-width: 18ch; }
.page-intro p { max-width: 56ch; margin-top: 18px; font-size: 1.05rem; }
.contact-layout { display: grid; gap: var(--gap); align-items: start; }
@media (min-width: 1000px) { .contact-layout { grid-template-columns: 1.7fr 1fr; } .contact-side { position: sticky; top: 110px; } }
.form-panel h2 { font-size: var(--fs-h3); margin-bottom: 8px; }
.form-panel > p { margin-bottom: 24px; }
.contact-side { display: grid; gap: 12px; }
.contact-card span { display: inline-flex; align-items: center; gap: 8px; }
.contact-card span svg { width: 16px; height: 16px; }
.next-steps { background: var(--white); border-radius: var(--r-card); padding: 24px; border: 1px solid var(--line); }
.next-steps h2 { font-size: var(--fs-card); margin-bottom: 16px; }
.next-steps ol { list-style: none; display: grid; gap: 14px; counter-reset: n; }
.next-steps li { counter-increment: n; display: grid; grid-template-columns: 32px 1fr; column-gap: 12px; font-size: .92rem; line-height: 1.5; }
.next-steps li::before { content: counter(n); grid-row: span 2; width: 32px; height: 32px; border-radius: 50%; background: var(--yellow); color: var(--green-dark); display: grid; place-items: center; font-family: var(--font-head); font-size: .9rem; }
.next-steps b { font-family: var(--font-head); font-weight: 400; color: var(--ink); font-size: 1rem; display: block; }
.choice { border: 0; padding: 0; margin: 0 0 4px; display: flex; flex-wrap: wrap; gap: 8px; }
.choice legend { font-family: var(--font-head); font-size: .92rem; color: var(--ink); margin-bottom: 8px; padding: 0; }
.form .choice label { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--surface); cursor: pointer; font-size: .95rem; transition: border-color var(--t), background var(--t); }
.form .choice label:has(input:checked) { border-color: var(--green); background: var(--tint-100); color: var(--green); }
.form .choice input { width: auto; accent-color: var(--green); margin: 0; }

/* ---------- Revisão UI/UX, rodada 1 ---------- */
/* Cabeçalho centralizado: anula as regras de alinhamento do cabeçalho em 3 colunas */
.sec-head.sec-head--center > *,
.sec-head.sec-head--center > .tag,
.sec-head.sec-head--center > :last-child:not(h2) { justify-self: center; align-self: auto; }
@media (max-width: 699px) {
  .sec-head--center { text-align: left; justify-items: start; }
  .sec-head.sec-head--center > *,
  .sec-head.sec-head--center > .tag,
  .sec-head.sec-head--center > :last-child:not(h2) { justify-self: start; }
}

/* Ladrilhos: a foto acompanha a altura dos cartões, e não o contrário */
@media (min-width: 1000px) {
  .tiles-photo { position: relative; min-height: 0; }
  .tiles-photo img { position: absolute; inset: 0; }
}
@media (max-width: 999px) { .tiles-photo { display: none; } }

/* Cartões de dados: número no topo, fonte sempre no rodapé */
.data-card { grid-template-rows: auto 1fr auto; align-content: stretch; }

/* Faixa amarela: divisórias entre os números */
@media (min-width: 900px) {
  .band__stat + .band__stat { border-left: 1px solid rgb(15 42 30 / .18); padding-left: clamp(16px, 2vw, 28px); }
}

/* Legibilidade sobre foto */
.hero__card { background: rgb(10 31 22 / .55); border-color: rgb(255 255 255 / .22); }
.cta .hero__media::after {
  background: linear-gradient(180deg, rgb(10 31 22 / .1) 15%, rgb(10 31 22 / .88) 100%),
              linear-gradient(90deg, rgb(10 31 22 / .6) 0%, rgb(10 31 22 / 0) 65%);
}
@media (max-width: 760px) {
  .hero__media::after, .cta .hero__media::after {
    background: linear-gradient(180deg, rgb(10 31 22 / .2) 0%, rgb(10 31 22 / .55) 35%, rgb(10 31 22 / .92) 100%);
  }
  .cta { min-height: 0; padding-top: 180px; }
  .hero--page { min-height: 380px; }
}

/* Ritmo no fim da página: o último bloco encosta no rodapé como os demais painéis */
main > section:last-child { padding-bottom: 0; }

/* ---------- Revisão UI/UX, rodada 2 ---------- */
h1, h2, h3 { text-wrap: balance; }
p, li, summary { text-wrap: pretty; }

/* Respiro entre a barra e o primeiro painel em todas as páginas */
main > section:first-child > .panel { margin-top: 12px; }
.site-header { padding-top: 12px; }

/* Texto do hero alinhado à esquerda, coluna própria */
@media (min-width: 980px) {
  .hero__aside { justify-items: start; text-align: left; }
  .hero__aside .btn-row { justify-content: flex-start; }
}
.hero__aside p { text-shadow: 0 1px 12px rgb(10 31 22 / .45); }
.hero__media::after {
  background: linear-gradient(180deg, rgb(10 31 22 / .12) 0%, rgb(10 31 22 / .3) 40%, rgb(10 31 22 / .9) 100%),
              linear-gradient(90deg, rgb(10 31 22 / .55) 0%, rgb(10 31 22 / 0) 60%);
}
.hero__card { background: rgb(10 31 22 / .78); border-color: rgb(252 200 28 / .5); backdrop-filter: none; -webkit-backdrop-filter: none; }
.hero--article h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.4rem); max-width: 22ch; }

/* CTA: véu uniforme mais forte */
.cta .hero__media::after {
  background: linear-gradient(0deg, rgb(10 31 22 / .92) 0%, rgb(10 31 22 / .55) 55%, rgb(10 31 22 / .35) 100%);
}

/* Cartões do tripé: véu mais alto atrás do texto */
.pillar::after { background: linear-gradient(0deg, rgb(10 31 22 / .95) 0%, rgb(10 31 22 / .78) 38%, rgb(10 31 22 / 0) 72%); }

/* Nota "complementa o plano" como cartão */
.note { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 24px; align-self: stretch; align-content: end; }

/* Calendário mais compacto */
.month { min-height: 118px; gap: 18px; }

/* Formulário: campos visíveis */
.form input, .form select, .form textarea { background: var(--white); border-color: #C3CCC5; }
.form input::placeholder, .form textarea::placeholder { color: #8A8F8B; }
.form input:focus, .form select:focus, .form textarea:focus { box-shadow: 0 0 0 3px rgb(20 69 47 / .15); }
.form .choice label { background: var(--white); border-color: #C3CCC5; }

/* Sumário do guia */
.toc { background: var(--surface); border-radius: var(--r-card); padding: 20px 24px; margin: 8px 0 12px; }
.toc b { font-family: var(--font-head); font-weight: 400; color: var(--ink); display: block; margin-bottom: 8px; }
.article .toc ol { margin: 0; padding-left: 1.2em; gap: .2em; }
.article .toc li { font-size: .98rem; line-height: 1.5; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }

/* CTA da barra no celular */
.nav__cta-short { display: none; }
@media (max-width: 1100px) {
  .nav { flex-wrap: wrap; }
  .nav__cta { display: inline-flex; margin-left: auto; padding: 9px 16px; }
  .nav__toggle { order: 3; }
  .nav__menu { order: 4; }
}
@media (max-width: 520px) {
  .nav__cta-long { display: none; }
  .nav__cta-short { display: inline; }
}

/* ---------- Rodada 3: sumário lateral no guia ---------- */
@media (min-width: 1240px) {
  .article__inner { max-width: 1040px; display: grid; grid-template-columns: 220px minmax(0, 760px); column-gap: 60px; }
  .article__inner > * { grid-column: 2; }
  .article__inner > .toc { grid-column: 1; grid-row: 1 / span 60; align-self: start; position: sticky; top: 110px; margin: 0; background: none; padding: 0; border-left: 1px solid var(--line); padding-left: 18px; }
  .article .toc ol { list-style: none; padding-left: 0; gap: .5em; }
  .article .toc li { font-size: .9rem; }
  .toc a { color: var(--ink-2); }
  .toc a:hover { color: var(--green); }
}

/* ---------- Rodada 3: correções ---------- */
/* Botões dentro do artigo herdavam a cor do link (texto invisível) */
.article .btn--primary { color: var(--white); white-space: normal; text-align: left; }
.article .btn--primary:hover { color: var(--ink); }
.article .btn { text-decoration: none; }
.btn--white { background: var(--white); color: var(--green-dark); }
.btn--white:hover { background: var(--yellow); color: var(--ink); }

/* Véu do hero mais denso na faixa do texto */
.hero__media::after {
  background: linear-gradient(180deg, rgb(10 31 22 / .1) 0%, rgb(10 31 22 / .3) 42%, rgb(10 31 22 / .78) 72%, rgb(10 31 22 / .93) 100%),
              linear-gradient(90deg, rgb(10 31 22 / .5) 0%, rgb(10 31 22 / 0) 60%);
}
.cta .hero__media::after { background: linear-gradient(0deg, rgb(10 31 22 / .94) 0%, rgb(10 31 22 / .66) 55%, rgb(10 31 22 / .42) 100%); }
.cta h2 { max-width: 20ch; }
@media (max-width: 760px) {
  .hero__media::after, .cta .hero__media::after {
    background: linear-gradient(180deg, rgb(10 31 22 / .3) 0%, rgb(10 31 22 / .7) 30%, rgb(10 31 22 / .94) 60%);
  }
  .cta .tags { display: none; }
  .hero .tags { gap: 6px 6px; margin-bottom: 4px; }
}

/* Calendário e nota alinhados ao topo */
.month { align-content: start; }
.note { align-content: start; }

/* Ladrilhos: menos coluna para o rótulo */
@media (min-width: 640px) { .tile { grid-template-columns: 0.62fr 1.38fr; } }

/* Faixa amarela: rótulos maiores e centralizados */
.band__stat { align-items: center; }
.band__stat span { font-size: 1rem; }

/* ---------- Acabamento final ---------- */
.history li { align-content: start; }
@media (min-width: 900px) { .note { align-self: end; } }
@media (min-width: 980px) {
  .hero__aside { background: rgb(10 31 22 / .42); border: 1px solid rgb(255 255 255 / .12); border-radius: var(--r-card); padding: 22px 24px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); justify-self: end; max-width: 460px; }
}
@media (max-width: 520px) { .nav__cta-long { display: inline; } .nav__cta-short { display: none; } .nav__cta { padding: 8px 14px; font-size: .9rem; } }
@media (max-width: 359px) { .nav__cta-long { display: none; } .nav__cta-short { display: inline; } }
.page-intro__grid { display: grid; gap: 24px; margin-top: 18px; align-items: end; }
.page-intro__grid p { margin: 0; }
@media (min-width: 900px) { .page-intro__grid { grid-template-columns: 1fr auto; } }
.intro-contacts { display: grid; gap: 10px; }
@media (min-width: 600px) { .intro-contacts { grid-template-columns: auto auto; } }
.intro-contacts a { display: flex; gap: 12px; align-items: center; padding: 14px 18px; border-radius: var(--r-card); background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .16); text-decoration: none; color: var(--white); font-family: var(--font-head); font-size: 1.15rem; transition: border-color var(--t), background var(--t); }
.intro-contacts a:hover { border-color: var(--yellow); background: rgb(255 255 255 / .1); }
.intro-contacts svg { width: 22px; height: 22px; color: var(--yellow); flex-shrink: 0; }
.intro-contacts small { display: block; font-size: .78rem; color: #A6E781; letter-spacing: .02em; }
@media (max-width: 520px) {
  .nav { gap: 8px; padding-left: 16px; }
  .nav__logo img { height: 30px; }
  .nav__cta-long { display: none; } .nav__cta-short { display: inline; }
}

/* Formulário Tally embutido */
.tally-embed { min-height: 760px; }
.tally-embed iframe { display: block; width: 100%; border: 0; background: transparent; }
@media (max-width: 520px) { .hide-sm { display: none; } }
.tally-embed { margin-inline: -8px; }

/* Rodada Sonnet + Fable */
:focus-visible { outline-color: var(--green); }
.nav :focus-visible, .hero :focus-visible, .cta :focus-visible, .footer :focus-visible, .panel--dark :focus-visible, .page-intro :focus-visible { outline-color: var(--yellow); }
.outline-card--solid p { color: var(--ink); }
.lead .muted { color: #55565C; }
@media (min-width: 900px) { .lead-split { grid-template-columns: 1fr 3fr; } }
.nowrap { white-space: nowrap; }
.answer-box .btn { margin-top: 16px; }
.answer-box .btn, .article .answer-box .btn { color: #fff; }
.form-fallback, .form-privacy { font-size: .88rem; color: var(--ink-3); margin: 12px 0 0; }
.form-fallback a, .form-privacy a { color: var(--green); }
@media (max-width: 640px) {
  .answer-box { padding: 16px 18px; }
  .answer-box p { font-size: 1rem; line-height: 1.6; }
}
@media (max-width: 480px) {
  .btn-row--stack { flex-direction: column; align-items: stretch; }
  .btn-row--stack .btn { justify-content: center; }
}
@media (max-width: 760px) {
  .hero--home .hero__media img { object-position: 78% 40%; }
  .hero--home .hero__media::after { background: linear-gradient(180deg, rgb(10 31 22 / .08) 0%, rgb(10 31 22 / .35) 26%, rgb(10 31 22 / .86) 48%, rgb(10 31 22 / .95) 70%); }
}

/* Cabeçalho de seção sem etiqueta: o título continua na coluna central */
@media (min-width: 900px) { .sec-head:not(.sec-head--center) > h2:first-child { grid-column: 2; } }
