/* =============================================================================
   BULLBEAM — sistema visual
   Tudo nasce do bloco :root. A paleta vem da logo: oliva #374e16 do wordmark,
   verde-folha #8db457 e o rosa #f09fca da flor, este ultimo reservado para
   pontos raros de destaque. A base e um linho quente, nao um branco puro.
   ========================================================================== */

:root {
  /* ---- superficies ---- */
  --linen: #faf6ef;
  --linen-2: #f3ede2;
  --linen-3: #ebe3d4;
  --paper: #ffffff;
  --line: rgba(35, 42, 24, .12);
  --line-strong: rgba(35, 42, 24, .22);

  /* ---- texto ---- */
  --ink: #212617;
  --ink-soft: #545c45;
  --ink-mute: #877f6d;

  /* ---- marca ---- */
  --olive: #374e16;
  --olive-deep: #27390f;
  --olive-mid: #4e6b25;
  --olive-wash: #eef2e4;
  --leaf: #8db457;
  --blossom: #f09fca;
  --blossom-deep: #cf5f88;

  /* ---- semantico ---- */
  --ok: #4a7c3f;
  --warn: #b7791f;
  --alert: #b3452f;

  /* ---- profundidade: sombras quentes, nunca cinza puro ---- */
  --shadow-xs: 0 1px 2px rgba(58, 48, 28, .06);
  --shadow: 0 2px 6px rgba(58, 48, 28, .06), 0 14px 30px -18px rgba(58, 48, 28, .30);
  --shadow-lg: 0 30px 70px -40px rgba(48, 40, 22, .45);
  --shadow-lift: 0 4px 10px rgba(58, 48, 28, .08), 0 26px 50px -26px rgba(58, 48, 28, .38);
  --ring: 0 0 0 3px rgba(55, 78, 22, .28);

  /* ---- tipografia ---- */
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* ---- ritmo ---- */
  --r-xs: 8px;
  --r-sm: 12px;
  --r: 18px;
  --r-lg: 28px;
  --r-pill: 999px;
  --max: 1180px;
  --max-read: 720px;
  --pad: clamp(18px, 4.5vw, 44px);

  --ease: cubic-bezier(.22, .8, .3, 1);
}

/* ============================================================== base ==== */

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--linen);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: .1px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg, video { max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.015em;
  color: var(--ink);
  margin: 0;
  font-variation-settings: "SOFT" 20, "WONK" 1;
}

p { margin: 0; }

a { color: var(--olive); text-decoration: none; }
a:hover { color: var(--olive-deep); }

:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: var(--r-xs);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 200;
  background: var(--olive);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--r-sm);
  font-weight: 600;
}
.skip:focus { left: 16px; color: #fff; }

/* ============================================================ layout ==== */

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-tight { padding: clamp(40px, 5vw, 64px) 0; }

/* faixa alternada: quebra a monotonia sem precisar de card em tudo */
.band { background: var(--linen-2); }
.band-deep {
  background:
    radial-gradient(70% 120% at 82% 0%, rgba(141, 180, 87, .16), transparent 60%),
    var(--linen-3);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.section-head > div { max-width: 60ch; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); }
.section-head p {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 17px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--olive-mid);
  margin-bottom: 14px;
}
.kicker::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--leaf);
}

.aside {
  font-size: 13px;
  color: var(--ink-mute);
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 600;
}

/* ============================================================ topbar ==== */

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 239, .82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.topbar.stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -26px rgba(58, 48, 28, .8);
}
.bar {
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px var(--pad);
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand { display: flex; align-items: center; flex: none; }
.brand img {
  display: block;
  width: auto;
  height: 34px;
  transition: transform .35s var(--ease);
}
.brand:hover img { transform: scale(1.03); }

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav a {
  padding: 9px 15px;
  border-radius: var(--r-pill);
  font-size: 15px;
  font-weight: 550;
  color: var(--ink-soft);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.nav a:hover { background: var(--olive-wash); color: var(--olive-deep); }
.nav a[aria-current="page"] { background: var(--olive-wash); color: var(--olive-deep); }

.burger {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
}
.burger svg { width: 20px; height: 20px; }

/* =========================================================== botoes ==== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-family: var(--sans);
  font-size: 15.5px;
  font-weight: 650;
  line-height: 1;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease),
              background .2s var(--ease), color .2s var(--ease);
}
.btn svg { width: 18px; height: 18px; }

.btn-primary {
  background: var(--olive);
  color: #fdfdf9;
  box-shadow: 0 10px 24px -14px rgba(39, 57, 15, .9);
}
.btn-primary:hover {
  background: var(--olive-deep);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -14px rgba(39, 57, 15, .95);
}

.btn-ghost {
  background: var(--paper);
  border-color: var(--line-strong);
  color: var(--ink);
  box-shadow: var(--shadow-xs);
}
.btn-ghost:hover { border-color: var(--olive-mid); color: var(--olive-deep); transform: translateY(-2px); }

.btn-quiet {
  background: transparent;
  color: var(--olive);
  padding: 10px 14px;
}
.btn-quiet:hover { background: var(--olive-wash); }

.btn-sm { padding: 10px 18px; font-size: 14px; }

/* link com seta que anda no hover */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 650;
  font-size: 15px;
  color: var(--olive);
}
.arrow-link svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.arrow-link:hover svg { transform: translateX(4px); }

/* ============================================================== hero ==== */

.hero {
  position: relative;
  padding: clamp(40px, 6vw, 84px) 0 clamp(56px, 7vw, 96px);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 130%;
  z-index: -2;
  background:
    radial-gradient(46% 60% at 78% 22%, rgba(141, 180, 87, .22), transparent 62%),
    radial-gradient(38% 52% at 12% 8%, rgba(240, 159, 202, .16), transparent 60%),
    linear-gradient(180deg, #fbf8f2 0%, var(--linen) 62%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .93fr) minmax(0, 1.07fr);
  align-items: center;
  gap: clamp(28px, 4vw, 52px);
}

.hero h1 {
  font-size: clamp(36px, 5.1vw, 60px);
  line-height: 1.05;
  letter-spacing: -.025em;
  max-width: 14ch;
}
.hero h1 em {
  font-style: italic;
  color: var(--olive);
  font-variation-settings: "SOFT" 40, "WONK" 1;
}
.hero .lede {
  margin-top: 22px;
  max-width: 48ch;
  font-size: clamp(17px, 1.5vw, 19px);
  color: var(--ink-soft);
}
.hero-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px 7px 11px;
  border-radius: var(--r-pill);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-soft);
}
.pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--leaf);
}
.pill .dot.pink { background: var(--blossom); }

.hero-stats {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(22px, 4vw, 46px);
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.hero-stats b {
  display: block;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 600;
  line-height: 1;
  color: var(--olive-deep);
}
.hero-stats span {
  display: block;
  margin-top: 7px;
  font-size: 12.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 600;
}

/* ---- composicao ilustrada do hero ---- */
.hero-art { position: relative; }
.hero-art svg { display: block; width: 100%; height: auto; overflow: visible; }

/* etiquetas flutuantes que invadem a arte */
.tag-float {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 15px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .93);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  font-size: 13.5px;
  font-weight: 650;
  color: var(--ink);
  white-space: nowrap;
  animation: bob 7s ease-in-out infinite;
}
.tag-float svg { width: 16px; height: 16px; flex: none; }
.tag-a { top: 8%; left: -4%; animation-delay: -1s; }
.tag-b { top: 44%; right: -5%; animation-delay: -3.5s; }
.tag-c { bottom: 7%; left: 6%; animation-delay: -5s; }

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* =========================================================== cartoes ==== */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border-radius: var(--r-lg);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
a.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(78, 107, 37, .35);
}
.card h3 { font-size: 23px; margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: 15.5px; }
.card .card-foot { margin-top: auto; padding-top: 22px; }

.card-ico {
  width: 54px;
  height: 54px;
  margin-bottom: 20px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--olive-wash);
  color: var(--olive);
}
.card-ico svg { width: 27px; height: 27px; }
.card-ico.pink { background: #fdeef5; color: var(--blossom-deep); }
.card-ico.leaf { background: #edf4e2; color: #4e6b25; }

/* ---- as tres ferramentas: bloco de destaque, nao card comum ---- */
.tools {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.tool {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 32px;
  border-radius: var(--r-lg);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.tool:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.tool .art {
  position: absolute;
  right: -18px;
  bottom: -18px;
  width: 168px;
  opacity: .9;
  pointer-events: none;
}
.tool h3 { font-size: 25px; margin: 16px 0 10px; }
.tool p { color: var(--ink-soft); font-size: 15.5px; max-width: 30ch; }
.tool .card-foot { margin-top: auto; padding-top: 26px; }
.tool .badge {
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: var(--olive-wash);
  color: var(--olive-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* ========================================================== artigos ==== */

.posts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.post {
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.post:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.post .thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--olive-wash);
  overflow: hidden;
}
.post .thumb svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.post .body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.post h3 { font-size: 20.5px; line-height: 1.22; }
.post p { margin-top: 10px; color: var(--ink-soft); font-size: 15px; }
.post .metaline {
  margin-top: auto;
  padding-top: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: var(--ink-mute);
  font-weight: 600;
  letter-spacing: .04em;
}

.tagchip {
  display: inline-flex;
  align-self: flex-start;
  width: fit-content;
  padding: 4px 11px;
  border-radius: var(--r-pill);
  background: var(--olive-wash);
  color: var(--olive-deep);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.tagchip.pink { background: #fdeef5; color: var(--blossom-deep); }
.tagchip.leaf { background: #edf4e2; color: #4a6b22; }
.tagchip.sand { background: #f5eede; color: #8a6d2a; }

/* lista compacta de artigos (usada nas laterais e no fim) */
.postlist { display: grid; gap: 2px; }
.postlist a {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 18px 4px;
  border-top: 1px solid var(--line);
}
.postlist a:last-child { border-bottom: 1px solid var(--line); }
.postlist a:hover { background: rgba(238, 242, 228, .55); }
.postlist .num {
  font-family: var(--serif);
  font-size: 14px;
  color: var(--ink-mute);
}
.postlist b { display: block; font-size: 17px; font-weight: 600; color: var(--ink); }
.postlist span { display: block; margin-top: 4px; font-size: 14.5px; color: var(--ink-soft); }

/* =================================================== pagina de texto ==== */

.page-head { padding: clamp(28px, 4vw, 52px) 0 clamp(18px, 2.5vw, 30px); }
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12.5px;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 600;
  margin-bottom: 20px;
}
.crumbs a { color: var(--ink-mute); }
.crumbs a:hover { color: var(--olive); }

.page-head h1 {
  font-size: clamp(32px, 4.6vw, 52px);
  max-width: 20ch;
  line-height: 1.06;
}
.page-head .lede {
  margin-top: 20px;
  max-width: 62ch;
  font-size: 18.5px;
  color: var(--ink-soft);
}
.byline {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  font-size: 13.5px;
  color: var(--ink-mute);
  font-weight: 600;
}
.byline .sep { color: var(--line-strong); }

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
  padding-bottom: clamp(48px, 7vw, 88px);
}

/* corpo do artigo */
.prose { max-width: var(--max-read); font-size: 17.5px; line-height: 1.78; color: #2c3222; }
.prose > * + * { margin-top: 22px; }
.prose h2 {
  margin-top: 52px;
  font-size: clamp(25px, 3vw, 32px);
  scroll-margin-top: 100px;
}
.prose h3 { margin-top: 36px; font-size: 21px; }
.prose ul, .prose ol { margin-left: 0; padding-left: 24px; }
.prose li + li { margin-top: 9px; }
.prose li::marker { color: var(--olive-mid); }
.prose strong { font-weight: 650; color: var(--ink); }
.prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.prose img { border-radius: var(--r); }

.prose blockquote {
  margin: 34px 0;
  padding: 4px 0 4px 26px;
  border-left: 3px solid var(--leaf);
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.5;
  color: var(--olive-deep);
}

/* caixa de destaque dentro do texto */
.callout {
  margin: 34px 0;
  padding: 24px 26px;
  border-radius: var(--r);
  background: var(--olive-wash);
  border: 1px solid rgba(78, 107, 37, .2);
}
.callout b {
  display: block;
  margin-bottom: 8px;
  font-family: var(--sans);
  font-size: 12.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--olive);
}
.callout p { font-size: 16px; color: #333a26; }
.callout.pink { background: #fdeef5; border-color: rgba(207, 95, 136, .22); }
.callout.pink b { color: var(--blossom-deep); }
.callout.sand { background: #f7f1e4; border-color: rgba(160, 130, 60, .22); }
.callout.sand b { color: #8a6d2a; }

/* tabela dentro do texto */
.prose .tablewrap { margin: 32px 0; overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; background: var(--paper); }
.prose th, .prose td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.prose th {
  background: var(--linen-2);
  font-family: var(--sans);
  font-size: 12.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.prose tr:last-child td { border-bottom: 0; }

/* passo a passo numerado */
.steps { margin: 32px 0; display: grid; gap: 4px; counter-reset: passo; }
.steps > li {
  list-style: none;
  position: relative;
  padding: 20px 0 20px 56px;
  border-top: 1px solid var(--line);
}
.steps > li:last-child { border-bottom: 1px solid var(--line); }
.steps > li::before {
  counter-increment: passo;
  content: counter(passo);
  position: absolute;
  left: 0;
  top: 18px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--olive);
  color: #fff;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
}
.steps b { display: block; font-size: 17.5px; margin-bottom: 4px; }

/* ---- coluna lateral ---- */
.side { position: sticky; top: 96px; display: grid; gap: 22px; }
.side-box {
  padding: 24px;
  border-radius: var(--r);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
}
.side-box h4 {
  font-family: var(--sans);
  font-size: 12.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 16px;
}
.side-box ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.side-box li a { font-size: 15.5px; font-weight: 550; color: var(--ink); line-height: 1.4; display: block; }
.side-box li a:hover { color: var(--olive); }

/* indice do artigo */
.toc ol { margin: 0; padding: 0 0 0 18px; display: grid; gap: 10px; }
.toc a { font-size: 15px; color: var(--ink-soft); }
.toc a:hover { color: var(--olive); }

/* ======================================================= ferramentas ==== */

.tool-stage {
  border-radius: var(--r-lg);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.stage-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding: 20px 26px;
  border-bottom: 1px solid var(--line);
  background: var(--linen-2);
}
.stage-head h2 { font-size: 20px; }
.stage-head .spacer { margin-left: auto; }
.stage-body { padding: clamp(22px, 3vw, 34px); }
.stage-foot {
  padding: 18px 26px;
  border-top: 1px solid var(--line);
  background: var(--linen-2);
  font-size: 14.5px;
  color: var(--ink-soft);
}

/* campos */
.field { display: grid; gap: 8px; }
.field > label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.field .hint { font-size: 13.5px; color: var(--ink-mute); font-weight: 400; letter-spacing: 0; text-transform: none; }

.controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 32px;
}
@media (max-width: 720px) { .controls { grid-template-columns: 1fr; } }

select, input[type="text"], input[type="number"], textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-strong);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15.5px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
select:focus, input:focus, textarea:focus { border-color: var(--olive-mid); }

/* grupo de opcoes em botao */
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices button {
  min-width: 62px;
  padding: 10px 16px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-strong);
  background: var(--paper);
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s var(--ease);
}
.choices button:hover { border-color: var(--olive-mid); color: var(--olive-deep); }
.choices button[aria-pressed="true"] {
  background: var(--olive);
  border-color: var(--olive);
  color: #fff;
}

/* caixas de marcar */
.check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 15px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--paper);
  cursor: pointer;
  transition: background .18s var(--ease), border-color .18s var(--ease);
}
.check:hover { border-color: var(--olive-mid); background: #fcfdfa; }
.check input { position: absolute; opacity: 0; width: 0; height: 0; }
.check .box {
  flex: none;
  width: 21px;
  height: 21px;
  margin-top: 2px;
  border-radius: 6px;
  border: 1.8px solid var(--line-strong);
  display: grid;
  place-items: center;
  transition: all .18s var(--ease);
}
.check .box svg { width: 13px; height: 13px; opacity: 0; color: #fff; transition: opacity .15s var(--ease); }
.check input:checked ~ .box { background: var(--olive); border-color: var(--olive); }
.check input:checked ~ .box svg { opacity: 1; }
.check input:focus-visible ~ .box { box-shadow: var(--ring); }
.check .txt { font-size: 15.5px; line-height: 1.45; }
.check input:checked ~ .txt { color: var(--ink-mute); text-decoration: line-through; }
.check .when {
  display: block;
  margin-top: 3px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-mute);
  text-decoration: none;
}

/* barra de progresso */
.progress {
  height: 8px;
  border-radius: var(--r-pill);
  background: var(--linen-3);
  overflow: hidden;
}
.progress i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: var(--r-pill);
  background: linear-gradient(90deg, var(--leaf), var(--olive));
  transition: width .45s var(--ease);
}

/* cronograma gerado */
.plan { display: grid; gap: 14px; }
.day {
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--paper);
  overflow: hidden;
}
.day > header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  background: var(--olive-wash);
  border-bottom: 1px solid rgba(78, 107, 37, .16);
}
.day > header b { font-family: var(--serif); font-size: 18px; color: var(--olive-deep); }
.day > header .mins { margin-left: auto; font-size: 12.5px; font-weight: 700; color: var(--olive-mid); letter-spacing: .06em; }
.day ul { margin: 0; padding: 8px 10px; list-style: none; display: grid; gap: 2px; }
.day.rest > header { background: var(--linen-2); border-bottom-color: var(--line); }
.day.rest > header b { color: var(--ink-mute); }

/* resultado do quiz */
.result { display: none; }
.result.on { display: block; }
.result-hero {
  padding: clamp(26px, 4vw, 40px);
  border-radius: var(--r-lg);
  background:
    radial-gradient(70% 100% at 88% 0%, rgba(240, 159, 202, .22), transparent 62%),
    var(--olive-wash);
  border: 1px solid rgba(78, 107, 37, .2);
}
.result-hero .kicker { color: var(--olive); }
.result-hero h3 { font-size: clamp(27px, 3.6vw, 38px); }
.result-hero p { margin-top: 14px; max-width: 56ch; color: #333a26; font-size: 16.5px; }

.qcard { display: none; }
.qcard.on { display: block; animation: fade .35s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } }
.qcard h3 { font-size: clamp(22px, 3vw, 28px); max-width: 26ch; }
.qopts { margin-top: 24px; display: grid; gap: 10px; }
.qopt {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 16px 20px;
  border-radius: var(--r);
  border: 1px solid var(--line-strong);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 550;
  text-align: left;
  cursor: pointer;
  transition: all .2s var(--ease);
}
.qopt:hover { border-color: var(--olive-mid); background: #fcfdfa; transform: translateX(3px); }
.qopt .key {
  flex: none;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--olive-wash);
  color: var(--olive-deep);
  font-size: 13px;
  font-weight: 700;
}

/* ============================================================ rodape ==== */

.foot {
  margin-top: auto;
  padding: clamp(48px, 6vw, 72px) 0 32px;
  background: var(--linen-2);
  border-top: 1px solid var(--line);
}
.foot-cols {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 40px;
}
.foot-cols h4 {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 16px;
}
.foot-cols ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 11px; }
.foot-cols li a { font-size: 15px; color: var(--ink-soft); }
.foot-cols li a:hover { color: var(--olive); }
.foot .brand { margin-bottom: 16px; }
.foot .brand img { height: 30px; }
.foot-about { font-size: 14.5px; color: var(--ink-soft); max-width: 38ch; }

.foot-note {
  margin-top: clamp(36px, 5vw, 56px);
  padding: 20px 22px;
  border-radius: var(--r);
  background: var(--linen-3);
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.6;
}
.foot-base {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  font-size: 13.5px;
  color: var(--ink-mute);
}
.foot-base a { color: var(--ink-mute); }
.foot-base a:hover { color: var(--olive); }

/* ========================================================= consentimento ==== */

.consent {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translate(-50%, 130%);
  z-index: 300;
  width: min(680px, calc(100vw - 28px));
  padding: 20px 22px;
  border-radius: var(--r);
  background: var(--paper);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  transition: transform .5s var(--ease);
}
.consent.on { transform: translate(-50%, 0); }
.consent p { flex: 1 1 300px; font-size: 14.5px; color: var(--ink-soft); }
.consent p a { text-decoration: underline; }
.consent .acts { display: flex; gap: 10px; margin-left: auto; }

/* ======================================================== utilidades ==== */

.center { text-align: center; }
.center .section-head { flex-direction: column; align-items: center; text-align: center; }
.center .section-head > div { margin: 0 auto; }

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
}

.notice {
  padding: 20px 24px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 15.5px;
  color: var(--ink-soft);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
[data-reveal].seen { opacity: 1; transform: none; }

/* ======================================================== responsivo ==== */

@media (max-width: 1000px) {
  .layout { grid-template-columns: 1fr; }
  .side { position: static; }
  .tools { grid-template-columns: 1fr; }
  .tool { min-height: 0; }
  .tool .art { width: 130px; opacity: .55; }
  .foot-cols { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: 16ch; }
  .hero-art { order: -1; max-width: 460px; margin: 0 auto; }
  .tag-a { left: 0; }
  .tag-b { right: 0; }
}

@media (max-width: 720px) {
  .nav {
    position: fixed;
    inset: 64px 12px auto 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    border-radius: var(--r);
    background: var(--paper);
    border: 1px solid var(--line-strong);
    box-shadow: var(--shadow-lg);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 13px 16px; font-size: 16px; }
  .burger { display: inline-flex; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .hero-stats { gap: 20px 30px; }
  .hero-stats b { font-size: 25px; }
  .consent { bottom: 10px; padding: 18px; }
  .consent .acts { margin-left: 0; width: 100%; }
  .consent .acts .btn { flex: 1; }
  .prose { font-size: 17px; }
  .card, .tool { padding: 24px; }
}

@media (max-width: 480px) {
  .foot-cols { grid-template-columns: 1fr; }
  .brand img { height: 30px; }
  .tag-float { font-size: 12px; padding: 7px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  .topbar, .foot, .consent, .side, .burger { display: none !important; }
  body { background: #fff; }
  .layout { grid-template-columns: 1fr; }
}
