/* Kaydrosssweets — visual colorido e divertido, com as cores do logo (vermelho, amarelo-limão e laranja). */

:root {
  --red: #e8262b;
  --red-d: #c11b21;
  --lime: #e5f324;
  --lime-soft: #f7fcc4;
  --orange: #ff8a1f;
  --orange-soft: #ffe6cc;
  --cream: #fff8e3;
  --cream-2: #fff1c9;
  --ink: #2b1a14;
  --ink-2: #4a372f;
  --muted: #74625a;
  --card: #ffffff;
  --line: #2b1a14;
  --soft-line: #ecdcc0;

  --cao: #ff8a1f;   --cao-bg: #ffe6cc;
  --gato: #7b4fd6;  --gato-bg: #ece2ff;
  --ave: #2e9b3c;   --ave-bg: #dcf5d4;
  --roedor: #2f7bd2; --roedor-bg: #d8ebff;

  --c-alimentacao: #ff8a1f;
  --c-passeio: #2e9b3c;
  --c-brincadeira: #e8262b;
  --c-enriquecimento: #7b4fd6;
  --c-treino: #2f7bd2;
  --c-higiene: #13a39b;
  --c-limpeza: #9a6a3c;
  --c-saude: #e0457b;
  --c-convivencia: #c99400;
  --c-outro: #74625a;

  --r: 18px;
  --r-sm: 12px;
  --shadow: 4px 4px 0 var(--line);
  --shadow-sm: 3px 3px 0 var(--line);
  --bw: 2.5px;
  --font: 'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-h: 'Baloo 2', 'Nunito', system-ui, sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  background-image: radial-gradient(circle at 1px 1px, rgba(43, 26, 20, .07) 1.2px, transparent 0);
  background-size: 22px 22px;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red-d); text-underline-offset: 3px; }
a:hover { color: var(--red); }
h1, h2, h3, h4 { font-family: var(--font-h); line-height: 1.15; margin: 0 0 .5em; color: var(--ink); letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.mt { margin-top: 1.4rem; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; border-radius: 6px; }
html.js .no-js-only { display: none !important; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .7em 1.25em; border: var(--bw) solid var(--line); border-radius: 999px;
  font-weight: 800; font-size: .98rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  background: #fff; color: var(--ink); box-shadow: var(--shadow-sm);
  transition: transform .12s ease, box-shadow .12s ease, background .12s;
}
.btn:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--line); color: var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--line); }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-d); color: #fff; }
.btn-yellow { background: var(--lime); }
.btn-ghost { background: #fff; }
.btn-sm { padding: .45em .95em; font-size: .88rem; }
.btn-lg { padding: .9em 1.6em; font-size: 1.08rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 1rem; }
.icon-btn {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  border: var(--bw) solid var(--line); background: #fff; color: var(--ink); cursor: pointer; position: relative; text-decoration: none;
}
.icon-btn:hover { background: var(--lime); color: var(--ink); }
.icon-btn .icon { width: 20px; height: 20px; }
.link-more { display: inline-flex; align-items: center; gap: .35em; font-weight: 800; text-decoration: none; }
.link-more:hover { text-decoration: underline; }

/* ---------- Cabeçalho ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 248, 227, .94); backdrop-filter: blur(8px); border-bottom: var(--bw) solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 18px; min-height: 72px; }
.brand img { height: 40px; width: auto; }
.main-nav { display: flex; gap: 4px; margin: 0 auto; }
.main-nav a { padding: .45em .85em; border-radius: 999px; font-weight: 800; text-decoration: none; color: var(--ink); font-size: .95rem; border: 2px solid transparent; }
.main-nav a:hover { background: var(--lime-soft); color: var(--ink); }
.main-nav a[aria-current] { background: var(--lime); border-color: var(--line); }
.header-actions { display: flex; gap: 8px; align-items: center; }
.badge { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--red); color: #fff; font-size: .72rem; font-weight: 800; display: grid; place-items: center; border: 2px solid var(--cream); }
.menu-btn { display: none; }

.crumbs { padding-top: 16px; font-size: .88rem; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.crumbs li:not(:last-child)::after { content: '›'; margin-left: 6px; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--red); }
.crumbs span { color: var(--ink-2); font-weight: 700; }

/* Barra inferior (celular) */
.tabbar { display: none; }

/* ---------- Seções e títulos ---------- */
main { min-height: 50vh; padding-bottom: 40px; }
.page-head { padding-top: 28px; padding-bottom: 10px; }
.page-head .lead { max-width: 760px; }
.lead { font-size: 1.15rem; color: var(--ink-2); }
.eyebrow { display: inline-flex; align-items: center; gap: .45em; font-weight: 800; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--red-d); background: #fff; border: 2px solid var(--line); border-radius: 999px; padding: .3em .85em; margin-bottom: 14px; }
.eyebrow a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: .45em; }
.section { padding-top: 48px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.section-head h2, .section-head h3 { margin: 0; }
.prose-narrow { max-width: 820px; }
.updated { color: var(--muted); }

/* ---------- Grade e cartões ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cell > .card { height: 100%; }
.card {
  position: relative; background: var(--card); border: var(--bw) solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow); overflow: hidden;
}
.card-media { display: block; aspect-ratio: 3 / 2; overflow: hidden; border-bottom: var(--bw) solid var(--line); background: var(--cream-2); }
.card-img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.card:hover .card-img { transform: scale(1.04); }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.art-card { display: flex; flex-direction: column; }
.card-kicker { display: flex; align-items: center; gap: .4em; margin: 0; font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.card-title { font-size: 1.2rem; margin: 0; }
.card-title a { color: var(--ink); text-decoration: none; }
.card-title a:hover { color: var(--red); }
.card-title a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.card-text { color: var(--ink-2); font-size: .96rem; margin: 0; }
.card-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 8px; font-size: .85rem; }
.card-meta .muted { display: inline-flex; align-items: center; gap: .3em; font-weight: 700; }
.fav-btn {
  position: absolute; top: 12px; right: 12px; z-index: 3; width: 40px; height: 40px; border-radius: 50%;
  border: var(--bw) solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; color: var(--ink);
}
.fav-btn .icon { width: 19px; height: 19px; }
.fav-btn[aria-pressed="true"], [data-fav][aria-pressed="true"] .icon { color: var(--red); }
.fav-btn[aria-pressed="true"] .icon, .btn[data-fav][aria-pressed="true"] .icon { fill: var(--red); }
.pop { animation: pop .35s ease; }
@keyframes pop { 50% { transform: scale(1.25); } }
.ph { display: grid; place-items: center; width: 100%; height: 100%; background: var(--lime-soft); color: var(--orange); }
.ph-icon { width: 48px; height: 48px; }
.credit { display: block; font-size: .75rem; color: var(--muted); margin-top: 6px; }

/* Chips */
.chips { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: .3em; padding: .15em .6em; border-radius: 999px; font-size: .78rem; font-weight: 800; background: var(--cream-2); border: 1.5px solid var(--line); white-space: nowrap; }
.chip .icon { width: 14px; height: 14px; }
.chip-cao { background: var(--cao-bg); }
.chip-gato { background: var(--gato-bg); }
.chip-ave { background: var(--ave-bg); }
.chip-roedor { background: var(--roedor-bg); }
.chip-todos { background: var(--lime-soft); }

/* Filtros */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.fchip {
  display: inline-flex; align-items: center; gap: .4em; padding: .45em .95em; border-radius: 999px;
  background: #fff; border: 2px solid var(--line); font-weight: 800; font-size: .9rem; color: var(--ink); text-decoration: none; cursor: pointer;
}
.fchip small { opacity: .65; font-weight: 700; }
.fchip:hover { background: var(--lime-soft); color: var(--ink); }
.fchip.is-on { background: var(--ink); color: #fff; }
.fchip.is-on .icon { color: var(--lime); }
.fchip input { position: absolute; opacity: 0; pointer-events: none; }
.fchip-cao.is-on { background: var(--cao); color: var(--ink); }
.fchip-gato.is-on { background: var(--gato); color: #fff; }
.fchip-ave.is-on { background: var(--ave); color: #fff; }
.fchip-roedor.is-on { background: var(--roedor); color: #fff; }
.fchip-cao.is-on .icon, .fchip-gato.is-on .icon, .fchip-ave.is-on .icon, .fchip-roedor.is-on .icon { color: inherit; }
.empty { text-align: center; padding: 30px; color: var(--muted); font-weight: 700; }

/* Formulários */
.input {
  width: 100%; padding: .65em .85em; border: 2px solid var(--line); border-radius: var(--r-sm);
  background: #fff; font-size: 1rem; min-height: 46px;
}
.input:focus { outline: none; box-shadow: 0 0 0 4px var(--lime); }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 18px) 52%, calc(100% - 12px) 52%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 34px; }
.field { display: flex; flex-direction: column; gap: 6px; font-weight: 800; margin-bottom: 16px; flex: 1; min-width: 0; }
.field small { font-weight: 600; color: var(--muted); }
.field-label { font-weight: 800; }
.field-row { display: flex; gap: 14px; flex-wrap: wrap; }
.field-row > .field { min-width: 180px; }
.hp { position: absolute; left: -9999px; }
.form { padding: 24px; }
.contact-alt { margin-top: 16px; color: var(--muted); }

/* Caixas de destaque */
.box { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-sm); border: 2px solid var(--line); margin: 1.2em 0; background: #fff; }
.box > .icon { width: 24px; height: 24px; margin-top: 2px; }
.box p, .box ul { margin: 0; }
.box ul { padding-left: 18px; }
.box-tip { background: var(--lime-soft); }
.box-alert { background: #ffe1df; }
.box-alert > .icon { color: var(--red-d); }
.box-vet { background: #e3f6f4; }
.box-vet > .icon { color: var(--c-higiene); }

/* ---------- Hero da home ---------- */
.hero { padding: 40px 0 30px; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 5.4vw, 3.7rem); }
.hl { background: linear-gradient(transparent 58%, var(--lime) 58%); padding: 0 .1em; }
.hero-ask { font-weight: 800; margin: 22px 0 10px; }
.hero-pets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.hero-pet {
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 8px; border-radius: var(--r);
  border: var(--bw) solid var(--line); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); font-weight: 800; font-size: .92rem; text-align: center;
  transition: transform .15s ease, box-shadow .15s ease;
}
.hero-pet .icon { width: 38px; height: 38px; }
.hero-pet:hover { transform: translate(-2px, -3px) rotate(-1.5deg); box-shadow: 6px 7px 0 var(--line); color: var(--ink); }
.pet-cao.hero-pet { background: var(--cao-bg); }
.pet-gato.hero-pet { background: var(--gato-bg); }
.pet-ave.hero-pet { background: var(--ave-bg); }
.pet-roedor.hero-pet { background: var(--roedor-bg); }
.hero-sub { margin-top: 16px; font-weight: 800; }
.hero-sub a { text-decoration: none; display: inline-flex; gap: .3em; align-items: center; }
.hero-visual { position: relative; }
.hero-photo { margin: 0; position: relative; z-index: 2; border: var(--bw) solid var(--line); border-radius: 28px; overflow: hidden; box-shadow: 8px 8px 0 var(--line); transform: rotate(1.5deg); background: var(--cream-2); }
.hero-photo .cover, .hero-photo .ph { aspect-ratio: 4 / 3.3; width: 100%; object-fit: cover; }
.hero-photo .credit { position: absolute; right: 10px; bottom: 8px; margin: 0; background: rgba(255, 255, 255, .85); padding: 1px 8px; border-radius: 6px; }
.hero-card {
  position: absolute; z-index: 3; left: -34px; bottom: -26px; width: min(300px, 80%);
  background: #fff; border: var(--bw) solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 14px 16px; transform: rotate(-2deg);
}
.hero-card-title { display: flex; gap: .4em; align-items: center; font-weight: 800; margin: 0 0 8px; font-size: .92rem; }
.hero-card ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.hero-card li { display: flex; gap: 10px; align-items: center; font-size: .86rem; font-weight: 700; }
.hero-card time { font-weight: 800; background: var(--cream-2); border-radius: 6px; padding: 1px 6px; font-size: .8rem; }
.hero-card li span { display: inline-flex; gap: .35em; align-items: center; }
.hero-card-foot { margin: 10px 0 0; font-size: .78rem; color: var(--muted); font-weight: 700; }
.blob { position: absolute; border-radius: 50%; border: var(--bw) solid var(--line); z-index: 1; }
.blob-1 { width: 120px; height: 120px; background: var(--lime); top: -30px; right: -24px; }
.blob-2 { width: 64px; height: 64px; background: var(--orange); top: 40%; right: -40px; }

.today-strip { margin-top: 30px; }
.today-inner { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 14px 18px; background: #fff; border: var(--bw) solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.today-inner > div:nth-child(2) { flex: 1; min-width: 180px; }
.today-title { font-weight: 800; margin: 0; font-family: var(--font-h); font-size: 1.15rem; }
.today-inner p.muted { margin: 0; }

/* Ferramentas */
.tools-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tool {
  position: relative; display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: var(--r);
  border: var(--bw) solid var(--line); box-shadow: var(--shadow); text-decoration: none; color: var(--ink);
  transition: transform .15s ease, box-shadow .15s ease;
}
.tool:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--line); color: var(--ink); }
.tool strong { font-family: var(--font-h); font-size: 1.3rem; }
.tool > span:not(.tool-ico):not(.tool-go) { color: var(--ink-2); font-size: .96rem; }
.tool-ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: #fff; border: 2px solid var(--line); margin-bottom: 6px; }
.tool-ico .icon { width: 26px; height: 26px; }
.tool-go { position: absolute; right: 18px; top: 22px; }
.tool-1 { background: var(--lime); }
.tool-2 { background: var(--orange-soft); }
.tool-3 { background: var(--gato-bg); }
.tool-4 { background: var(--ave-bg); }
.tool-5 { background: var(--roedor-bg); }
.tool-6 { background: #ffe1df; }

/* Como funciona */
.how-band { margin-top: 56px; padding: 48px 0; background: var(--red); color: #fff; border-top: var(--bw) solid var(--line); border-bottom: var(--bw) solid var(--line); text-align: center; }
.how-band h2 { color: #fff; }
.how-steps { list-style: none; margin: 24px 0 28px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: left; }
.how-steps li { background: #fff; color: var(--ink); border: var(--bw) solid var(--line); border-radius: var(--r); padding: 20px; box-shadow: var(--shadow); }
.how-steps p { margin: 0; color: var(--ink-2); }
.how-n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--lime); border: 2px solid var(--line); font-weight: 800; font-family: var(--font-h); font-size: 1.3rem; margin-bottom: 8px; }
.how-band .btn-primary { background: var(--lime); color: var(--ink); }
.how-band .btn-primary:hover { background: #fff; }
.how { margin-bottom: 10px; }
.how-item { background: #fff; border: var(--bw) solid var(--line); border-radius: var(--r); padding: 20px; box-shadow: var(--shadow); }
.how-item p { margin: 0; color: var(--ink-2); }
.how-ico { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--lime); border: 2px solid var(--line); margin-bottom: 8px; }

/* Atividade do dia */
.day-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; padding: 30px; border-radius: 28px; background: var(--lime-soft); border: var(--bw) solid var(--line); }
.day-pick { margin-bottom: 26px; max-width: 520px; }

/* Espécies */
.species-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.species { border: var(--bw) solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.species-media { display: block; aspect-ratio: 4 / 3; border-bottom: var(--bw) solid var(--line); overflow: hidden; }
.species-media .cover, .species-media .ph { width: 100%; height: 100%; object-fit: cover; }
.species-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.species-body h3 { display: flex; gap: .35em; align-items: center; }
.species-body p { font-size: .94rem; color: var(--ink-2); }
.species-links { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: auto; font-weight: 800; font-size: .9rem; }
.species-cao { background: var(--cao-bg); }
.species-gato { background: var(--gato-bg); }
.species-ave { background: var(--ave-bg); }
.species-roedor { background: var(--roedor-bg); }

.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.trust-item { padding: 20px; background: #fff; border: 2px dashed var(--line); border-radius: var(--r); }
.trust-item p { margin: 0; color: var(--ink-2); }
.trust-ico { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--orange-soft); border: 2px solid var(--line); margin-bottom: 8px; }

.cta-band { margin-top: 48px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 28px; border-radius: 28px; background: var(--orange); border: var(--bw) solid var(--line); box-shadow: var(--shadow); }
.cta-band h2 { margin-bottom: .2em; }
.cta-band p { margin: 0; font-weight: 700; }

/* ---------- Rotinas ---------- */
.rot-card { padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.rot-icons { display: flex; gap: 6px; margin-bottom: 4px; }
.rot-pet { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; border: 2px solid var(--line); }
.rot-pet .icon { width: 26px; height: 26px; }
.pet-cao.rot-pet { background: var(--cao-bg); }
.pet-gato.rot-pet { background: var(--gato-bg); }
.pet-ave.rot-pet { background: var(--ave-bg); }
.pet-roedor.rot-pet { background: var(--roedor-bg); }
.rot-stats { list-style: none; margin: 6px 0 10px; padding: 0; display: grid; gap: 2px; font-size: .9rem; color: var(--ink-2); }
.rot-stats strong { color: var(--ink); }
.rot-card .btn { align-self: flex-start; margin-top: auto; position: relative; z-index: 2; }
.cor-laranja { border-top: 10px solid var(--cao); }
.cor-lilas { border-top: 10px solid var(--gato); }
.cor-verde { border-top: 10px solid var(--ave); }
.cor-azul { border-top: 10px solid var(--roedor); }

.rot-head { display: grid; grid-template-columns: 1.3fr .7fr; gap: 30px; align-items: center; padding: 26px 0 20px; }
.rot-head .chips { margin-top: 6px; }
.rot-head-img { margin: 0; }
.rot-head-img .cover, .rot-head-img .ph { border: var(--bw) solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; }

/* Resultado da rotina */
.rot-result { margin-top: 10px; }
.result-head { margin: 24px 0 14px; }
.result-head h2 { margin-bottom: .2em; }
.rot-summary { background: #fff; border: var(--bw) solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 18px; display: grid; gap: 14px; }
.rot-pets { display: flex; flex-wrap: wrap; gap: 8px; }
.pet-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 999px; border: 2px solid var(--line); }
.pet-pill .icon { width: 26px; height: 26px; }
.pet-pill small { display: block; font-size: .76rem; color: var(--ink-2); font-weight: 700; }
.pet-pill strong { display: block; line-height: 1.1; }
.pet-cao.pet-pill { background: var(--cao-bg); }
.pet-gato.pet-pill { background: var(--gato-bg); }
.pet-ave.pet-pill { background: var(--ave-bg); }
.pet-roedor.pet-pill { background: var(--roedor-bg); }
.rot-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.kpi { background: var(--cream); border: 2px solid var(--line); border-radius: var(--r-sm); padding: 10px 12px; }
.kpi strong { display: block; font-family: var(--font-h); font-size: 1.5rem; line-height: 1.1; }
.kpi span { font-size: .82rem; font-weight: 700; color: var(--ink-2); }
.meter-label { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: .9rem; margin-bottom: 6px; }
.meter-label span { display: inline-flex; gap: .35em; align-items: center; }
.meter-bar { height: 14px; border-radius: 999px; background: var(--cream-2); border: 2px solid var(--line); overflow: hidden; }
.meter-bar span { display: block; height: 100%; background: var(--ave); border-right: 2px solid var(--line); transition: width .4s ease; }
.meter.is-over .meter-bar span { background: var(--orange); }
.rot-toolbar { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.rot-alerts .box { margin: 10px 0; }

.tabs { display: flex; gap: 6px; margin: 22px 0 0; border-bottom: var(--bw) solid var(--line); overflow-x: auto; }
.tabs button { display: inline-flex; align-items: center; gap: .4em; padding: .65em 1.1em; border: var(--bw) solid var(--line); border-bottom: 0; border-radius: 14px 14px 0 0; background: var(--cream-2); font-weight: 800; cursor: pointer; white-space: nowrap; margin-bottom: -1px; }
.tabs button[aria-selected="true"] { background: #fff; position: relative; top: 1px; }
.tab-panel { background: #fff; border: var(--bw) solid var(--line); border-top: 0; border-radius: 0 0 var(--r) var(--r); padding: 20px; box-shadow: var(--shadow); }
html.js .tab-panel:not(.is-on) { display: none; }
html:not(.js) .tab-panel + .tab-panel { margin-top: 20px; border-top: var(--bw) solid var(--line); border-radius: var(--r); }

.day-progress { margin-bottom: 16px; font-weight: 800; font-size: .9rem; }
.day-progress .meter-bar { margin-top: 6px; }
.period { margin-bottom: 18px; }
.period-title { display: flex; align-items: center; gap: .4em; font-size: 1.1rem; padding: 6px 12px; border-radius: 10px; margin-bottom: 8px; }
.period-title small { font-family: var(--font); font-weight: 700; color: var(--muted); font-size: .8rem; margin-left: auto; }
.period-manha .period-title { background: var(--lime-soft); }
.period-tarde .period-title { background: var(--orange-soft); }
.period-noite .period-title { background: var(--gato-bg); }
.tasks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.task {
  display: grid; grid-template-columns: auto 92px 1fr auto; gap: 12px; align-items: start;
  padding: 10px 12px; border: 2px solid var(--line); border-radius: var(--r-sm); background: #fff; border-left: 8px solid var(--c, var(--c-outro));
}
.task.is-done { background: #f6f3ec; }
.task.is-done .task-title { text-decoration: line-through; color: var(--muted); }
.task-time { font-weight: 800; font-family: var(--font-h); font-size: 1.1rem; padding-top: 2px; }
.task-time input { width: 92px; padding: 2px 4px; border: 2px solid var(--line); border-radius: 8px; font-weight: 800; font-size: .92rem; }
.task-title { margin: 0; font-weight: 800; line-height: 1.3; }
.task-meta { margin: 2px 0 0; display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: .82rem; color: var(--ink-2); font-weight: 700; }
.tcat { display: inline-flex; align-items: center; gap: .3em; color: var(--c, var(--c-outro)); }
.ess { display: inline-block; font-size: .66rem; text-transform: uppercase; letter-spacing: .05em; background: var(--lime); border: 1.5px solid var(--line); border-radius: 6px; padding: 0 5px; vertical-align: 2px; }
.task-more { margin-top: 4px; font-size: .9rem; }
.task-more summary { cursor: pointer; font-weight: 800; color: var(--red-d); font-size: .82rem; }
.task-more p { margin: 6px 0; color: var(--ink-2); }
.task-more a { font-weight: 700; font-size: .86rem; }
.task-tools { display: flex; gap: 4px; }
.task-tools .icon-btn { width: 34px; height: 34px; border-width: 2px; }
.task-tools .icon-btn .icon { width: 16px; height: 16px; }
.task-check { cursor: pointer; padding-top: 2px; }
.task-check input, .ck-item input, .art-checklist input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cbox {
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; border: 2.5px solid var(--line); background: #fff; color: transparent; margin: 0; padding: 0; transition: background .15s;
}
.task-check input:checked + .cbox, .ck-item input:checked + .cbox, .art-checklist input:checked + .cbox { background: var(--ave); color: #fff; }
.task-check input:focus-visible + .cbox, .ck-item input:focus-visible + .cbox, .art-checklist input:focus-visible + .cbox { box-shadow: 0 0 0 3px var(--lime); }
.cbox .icon { width: 18px; height: 18px; }

.cat-alimentacao { --c: var(--c-alimentacao); }
.cat-passeio { --c: var(--c-passeio); }
.cat-brincadeira { --c: var(--c-brincadeira); }
.cat-enriquecimento { --c: var(--c-enriquecimento); }
.cat-treino { --c: var(--c-treino); }
.cat-higiene { --c: var(--c-higiene); }
.cat-limpeza { --c: var(--c-limpeza); }
.cat-saude { --c: var(--c-saude); }
.cat-convivencia { --c: var(--c-convivencia); }
.cat-outro { --c: var(--c-outro); }

.add-task { margin-top: 16px; padding: 16px; border: 2px dashed var(--line); border-radius: var(--r-sm); background: var(--cream); }
.add-title { font-weight: 800; display: flex; gap: .4em; align-items: center; }
.add-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.add-grid label { display: flex; flex-direction: column; gap: 4px; font-weight: 800; font-size: .88rem; }
.extra-list { margin-top: 20px; }
.extra-list h3 { display: flex; gap: .4em; align-items: center; font-size: 1.1rem; }
.extra-list ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.extra-list li { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding: 8px 12px; border: 2px solid var(--soft-line); border-radius: 10px; font-size: .94rem; }

.week-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.week-day { border: 2px solid var(--line); border-radius: var(--r-sm); padding: 10px; background: var(--cream); min-height: 140px; }
.week-day h4 { font-size: 1rem; margin-bottom: 6px; }
.week-day ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.wk-item { display: flex; gap: 6px; align-items: flex-start; font-size: .82rem; font-weight: 700; background: #fff; border-radius: 8px; padding: 6px; border-left: 4px solid var(--c); }
.wk-item .icon { color: var(--c); margin-top: 2px; }
.wk-item small { display: block; font-weight: 600; color: var(--muted); }
.month-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.month-list li { display: flex; gap: 12px; padding: 12px; border: 2px solid var(--soft-line); border-radius: var(--r-sm); border-left: 6px solid var(--c); }
.month-list p { margin: 4px 0; font-size: .92rem; color: var(--ink-2); }
.month-list small { color: var(--muted); font-weight: 700; }
.tcat-ico { color: var(--c); }
.freq { font-size: .78rem; font-weight: 800; background: var(--lime-soft); border: 1.5px solid var(--line); border-radius: 6px; padding: 0 6px; }
.rot-dicas { margin-top: 26px; padding: 20px; border-radius: var(--r); background: var(--lime-soft); border: var(--bw) solid var(--line); }
.rot-dicas h3 { display: flex; gap: .4em; align-items: center; }
.rot-dicas ul { margin: 0; padding-left: 20px; }
.rot-dicas li { margin-bottom: 6px; }
.rot-block { margin-top: 36px; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list .icon { color: var(--ave); margin-top: 4px; }
.saved-banner { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 16px; border-radius: var(--r); border: var(--bw) solid var(--line); background: var(--lime-soft); margin: 18px 0; }
.saved-banner p { margin: 0; flex: 1; min-width: 200px; }

/* ---------- Planejador ---------- */
.planner-hero { padding: 26px 0 10px; }
.planner-hero-inner { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: end; }
.steps-mini { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; }
.steps-mini li { display: flex; flex-direction: column; align-items: center; gap: 4px; font-weight: 800; font-size: .82rem; }
.steps-mini span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: var(--bw) solid var(--line); background: #fff; font-family: var(--font-h); font-size: 1.2rem; }
.steps-mini li.is-on span { background: var(--lime); }
.steps-mini li.is-done span { background: var(--ave); color: #fff; }
.planner-form-wrap { margin-top: 18px; }
.planner-form-sum { display: inline-flex; align-items: center; gap: .5em; cursor: pointer; font-weight: 800; padding: .6em 1.1em; border: var(--bw) solid var(--line); border-radius: 999px; background: #fff; box-shadow: var(--shadow-sm); list-style: none; }
.planner-form-sum::-webkit-details-marker { display: none; }
.planner-form-wrap[open] .planner-form-sum { margin-bottom: 16px; }
.planner-form { display: grid; gap: 20px; }
.pstep { background: #fff; border: var(--bw) solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 22px; }
html.js .planner-form.is-wizard .pstep:not(.is-on) { display: none; }
.pstep-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.pstep-head h2 { margin: 0; }
.pstep-head p { margin: 2px 0 0; color: var(--muted); }
.pstep-num { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--red); color: #fff; font-family: var(--font-h); font-weight: 800; font-size: 1.4rem; border: var(--bw) solid var(--line); }
.pstep-nav { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.pets-list { display: grid; gap: 16px; }
.pet-form { position: relative; border: 2px dashed var(--line); border-radius: var(--r); padding: 18px 16px 4px; margin: 0; background: var(--cream); min-width: 0; }
.pet-form legend { font-family: var(--font-h); font-weight: 800; font-size: 1.1rem; padding: 0 8px; background: var(--lime); border: 2px solid var(--line); border-radius: 999px; }
.pet-remove { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; }
.pets-list .pet-form:only-child .pet-remove { display: none; }
.choice-grid { display: grid; gap: 10px; }
.choice-pets { grid-template-columns: repeat(4, 1fr); }
.choice-3 { grid-template-columns: repeat(3, 1fr); }
.choice-focus { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice > span {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; height: 100%;
  padding: 12px 8px; border: 2px solid var(--line); border-radius: var(--r-sm); background: #fff; font-weight: 800; font-size: .92rem; transition: transform .12s, box-shadow .12s;
}
.choice > span .icon { width: 30px; height: 30px; }
.choice:hover > span { transform: translateY(-2px); }
.choice input:checked + span { background: var(--lime); box-shadow: var(--shadow-sm); }
.choice input:focus-visible + span { box-shadow: 0 0 0 4px var(--orange); }
.pet-cao.choice input:checked + span { background: var(--cao); }
.pet-gato.choice input:checked + span { background: var(--gato); color: #fff; }
.pet-ave.choice input:checked + span { background: var(--ave); color: #fff; }
.pet-roedor.choice input:checked + span { background: var(--roedor); color: #fff; }
.choice-check > span { align-items: flex-start; text-align: left; flex-direction: row; flex-wrap: wrap; gap: 4px 8px; }
.choice-check > span .icon { width: 22px; height: 22px; }
.choice-check small { flex-basis: 100%; font-weight: 600; color: var(--ink-2); }
.seg { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: inline-block; padding: .5em .95em; border: 2px solid var(--line); border-radius: 999px; background: #fff; font-weight: 800; font-size: .9rem; }
.seg input:checked + span { background: var(--ink); color: #fff; }
.seg input:focus-visible + span { box-shadow: 0 0 0 4px var(--lime); }
.seg input:disabled + span { opacity: .45; }
.times-row { display: flex; gap: 8px; flex-wrap: wrap; }
.input-time { width: 130px; }

/* ---------- Checklist ---------- */
.ck-source { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.ck-source .filter-bar { margin: 0; }
.ck-source p { margin: 0; }
.ck-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px; align-items: start; }
.ck-side { display: grid; gap: 22px; }
.ck-card { padding: 20px; }
.ck-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; flex-wrap: wrap; }
.ck-head h2 { margin: 0; }
.ck-head h2 small { display: block; font-family: var(--font); font-size: .85rem; color: var(--muted); font-weight: 700; }
.ck-head p { margin: 0; }
.ck-head .btn { margin-left: auto; }
.ck-head-sm { justify-content: space-between; }
.ck-head-sm h2 { font-size: 1.3rem; }
.ck-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ck-item label { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border: 2px solid var(--soft-line); border-left: 6px solid var(--c, var(--c-outro)); border-radius: 10px; cursor: pointer; background: #fff; }
.ck-item label:hover { border-color: var(--line); border-left-color: var(--c, var(--c-outro)); }
.ck-item time { font-weight: 800; font-family: var(--font-h); min-width: 48px; }
.ck-text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.ck-text small { color: var(--muted); font-weight: 700; display: inline-flex; gap: .3em; align-items: center; }
.ck-item.is-done strong { text-decoration: line-through; color: var(--muted); }
.ck-item.is-today label { background: var(--lime-soft); }
.ck-item .ck-del { margin-left: auto; width: 32px; height: 32px; border-width: 2px; }
.ck-extra { margin-top: 18px; }
.inline-form { display: flex; gap: 8px; margin-top: 10px; }
.inline-form .input { flex: 1; }
.ring { --p: 0; flex: none; width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; border: var(--bw) solid var(--line); background: conic-gradient(var(--ave) calc(var(--p) * 1%), var(--cream-2) 0); }
.ring span { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #fff; border: 2px solid var(--line); font-weight: 800; font-size: .9rem; }
.ring-sm { width: 58px; height: 58px; }
.ring-sm span { width: 40px; height: 40px; font-size: .78rem; }
.ck-streak h2 { display: flex; gap: .4em; align-items: center; font-size: 1.3rem; }
.ck-streak strong { font-family: var(--font-h); font-size: 2rem; color: var(--red); }
.streak-days { display: flex; gap: 5px; flex-wrap: wrap; }
.streak-days span { width: 26px; height: 26px; border-radius: 7px; border: 2px solid var(--line); background: var(--cream-2); display: grid; place-items: center; font-size: .7rem; font-weight: 800; }
.streak-days span.on { background: var(--ave); color: #fff; }
.streak-days span.mid { background: var(--lime); }

/* ---------- Agenda ---------- */
.ag-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.ag-toolbar p { margin: 0; flex-basis: 100%; order: 3; }
.ag-nav { display: flex; align-items: center; gap: 10px; }
.ag-nav strong { font-family: var(--font-h); font-size: 1.2rem; min-width: 150px; text-align: center; }
.ag-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.ag-form { padding: 20px; margin-bottom: 18px; }
.ag-form .add-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
.form-actions { display: flex; gap: 8px; }
.ag-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
.ag-day { background: #fff; border: var(--bw) solid var(--line); border-radius: var(--r-sm); padding: 10px; min-height: 180px; box-shadow: var(--shadow-sm); }
.ag-day.is-today { background: var(--lime-soft); }
.ag-day h3 { font-size: 1rem; margin-bottom: 4px; display: flex; justify-content: space-between; }
.ag-day h3 small { font-family: var(--font); color: var(--muted); font-weight: 700; }
.ag-daily { font-size: .76rem; font-weight: 700; color: var(--muted); display: flex; gap: .3em; align-items: center; margin-bottom: 8px; }
.ag-day ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ag-item { display: flex; gap: 6px; align-items: flex-start; font-size: .8rem; font-weight: 700; padding: 5px 6px; background: var(--cream); border-radius: 8px; border-left: 4px solid var(--c, var(--c-outro)); line-height: 1.3; }
.ag-item .icon { color: var(--c, var(--c-outro)); margin-top: 1px; width: 14px; height: 14px; }
.ag-item.is-event { background: #fff; border: 2px solid var(--line); border-left: 5px solid var(--c, var(--red)); }
.ag-item time { font-weight: 800; }
.ag-item button { margin-left: auto; border: 0; background: none; cursor: pointer; padding: 0; color: var(--muted); }
.ag-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 22px; }
.ag-bottom .card { padding: 20px; }
.ag-bottom h2 { font-size: 1.25rem; display: flex; gap: .4em; align-items: center; }
.ag-daylist { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; columns: 1; }
.ag-daylist li { display: flex; gap: 10px; font-size: .92rem; padding: 4px 0; border-bottom: 1px dashed var(--soft-line); }
.ag-daylist time { font-weight: 800; min-width: 46px; }
.ag-upcoming { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ag-upcoming li { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 8px 10px; border: 2px solid var(--soft-line); border-radius: 10px; font-size: .92rem; }
.ag-upcoming li.muted { border-style: dashed; }
.ag-upcoming small { color: var(--muted); font-weight: 700; }

/* ---------- Atividades ---------- */
.filters { padding: 18px; margin-bottom: 22px; }
.filter-pets { margin-bottom: 12px; }
.filter-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.filter { display: flex; flex-direction: column; gap: 4px; font-weight: 800; font-size: .85rem; }
.filter-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.act-card { padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.act-head { display: flex; gap: 12px; align-items: center; padding-right: 44px; }
.act-icon { flex: none; width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; border: 2px solid var(--line); background: var(--lime); }
.act-icon .icon { width: 26px; height: 26px; }
.tipo-enriquecimento .act-icon { background: var(--gato-bg); }
.tipo-treino .act-icon { background: var(--roedor-bg); }
.tipo-exercicio .act-icon { background: var(--ave-bg); }
.tipo-vinculo .act-icon { background: #ffe1df; }
.act-more { border-top: 2px dashed var(--soft-line); padding-top: 8px; }
.act-more summary { cursor: pointer; font-weight: 800; color: var(--red-d); }
.act-label { font-weight: 800; margin: 10px 0 4px; font-size: .9rem; }
.act-mat, .act-steps { margin: 0; padding-left: 20px; font-size: .94rem; }
.act-steps li { margin-bottom: 4px; }
.act-note { font-size: .92rem; margin: 10px 0 0; }
.act-safe { display: flex; gap: 8px; background: #fff3e6; padding: 8px 10px; border-radius: 10px; }
.act-safe .icon { color: var(--orange); margin-top: 3px; }
.act-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-top: 12px; }
.act-card.is-picked { animation: pick 1s ease; }
@keyframes pick { 0%, 100% { transform: none; } 30% { transform: scale(1.03) rotate(-1deg); box-shadow: 8px 8px 0 var(--red); } }

/* ---------- Artigos ---------- */
.art-search { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; max-width: 620px; background: #fff; border: var(--bw) solid var(--line); border-radius: 999px; padding: 4px 6px 4px 16px; box-shadow: var(--shadow-sm); }
.art-search .input { border: 0; min-height: 40px; padding: 0; }
.art-search .input:focus { box-shadow: none; }
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 5px; z-index: 60; }
.read-progress span { display: block; height: 100%; width: 0; background: var(--red); }
.art-head { padding-top: 24px; max-width: 900px; }
.art-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; font-size: .9rem; color: var(--ink-2); font-weight: 700; }
.art-meta span { display: inline-flex; gap: .35em; align-items: center; }
.art-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.art-figure { margin: 22px auto 0; }
.art-img, .art-figure .ph { width: 100%; max-height: 520px; object-fit: cover; border: var(--bw) solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); aspect-ratio: 16 / 9; }
.art-figure figcaption { text-align: right; }
.art-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 40px; margin-top: 30px; align-items: start; }
.art-toc { position: sticky; top: 96px; display: grid; gap: 16px; }
.toc-box { background: #fff; border: var(--bw) solid var(--line); border-radius: var(--r); padding: 16px; box-shadow: var(--shadow-sm); }
.toc-title { display: flex; gap: .4em; align-items: center; font-weight: 800; margin-bottom: 8px; }
.toc-box ol { margin: 0; padding-left: 20px; font-size: .9rem; display: grid; gap: 6px; }
.toc-box a { color: var(--ink-2); text-decoration: none; font-weight: 700; }
.toc-box a:hover, .toc-box a.is-on { color: var(--red); }
.toc-cta { display: flex; gap: 10px; align-items: flex-start; padding: 14px; border-radius: var(--r); border: var(--bw) solid var(--line); background: var(--lime); text-decoration: none; color: var(--ink); box-shadow: var(--shadow-sm); }
.toc-cta:hover { color: var(--ink); background: #f0fb6a; }
.toc-cta .icon { width: 28px; height: 28px; }
.toc-cta small { display: block; font-size: .82rem; font-weight: 600; }
.prose { font-size: 1.06rem; min-width: 0; }
.prose h2 { margin-top: 1.6em; scroll-margin-top: 96px; }
.prose section { scroll-margin-top: 96px; }
.prose h3 { margin-top: 1.3em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose ol.steps { list-style: none; padding: 0; counter-reset: s; }
.prose ol.steps li { counter-increment: s; position: relative; padding: 4px 0 4px 46px; margin-bottom: 10px; }
.prose ol.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--orange); border: 2px solid var(--line); display: grid; place-items: center; font-weight: 800; font-family: var(--font-h); }
.highlights { background: var(--lime-soft); border: var(--bw) solid var(--line); border-radius: var(--r); padding: 18px 20px; margin-bottom: 10px; }
.hl-title { display: flex; gap: .4em; align-items: center; font-weight: 800; font-family: var(--font-h); font-size: 1.15rem; margin-bottom: 8px; }
.highlights ul { margin: 0; }
.table-wrap { overflow-x: auto; margin: 1.2em 0; border: 2px solid var(--line); border-radius: var(--r-sm); background: #fff; }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 480px; }
.table-wrap th { background: var(--orange-soft); text-align: left; padding: 10px 12px; font-weight: 800; border-bottom: 2px solid var(--line); }
.table-wrap td { padding: 10px 12px; border-bottom: 1px solid var(--soft-line); vertical-align: top; }
.table-wrap tr:last-child td { border-bottom: 0; }
.art-checklist { margin-top: 2em; padding: 20px; border-radius: var(--r); border: var(--bw) solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.art-checklist h2 { margin-top: 0; display: flex; gap: .4em; align-items: center; }
.art-checklist ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.art-checklist label { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.art-checklist .cbox { flex: none; margin-top: 1px; }
.faq details { border: 2px solid var(--line); border-radius: var(--r-sm); background: #fff; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 14px 16px; font-weight: 800; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.faq summary::after { content: '+'; font-size: 1.4rem; line-height: 1; color: var(--red); }
.faq details[open] summary::after { content: '–'; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { padding: 0 16px 14px; margin: 0; }
.tool-cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 20px; margin-top: 2em; border-radius: var(--r); background: var(--orange); border: var(--bw) solid var(--line); box-shadow: var(--shadow); }
.tool-cta h2 { margin: 0; font-size: 1.3rem; }
.tool-cta p { margin: 0; }
.tool-cta > div { flex: 1; min-width: 200px; }
.tool-cta .tool-ico { margin: 0; }
.author-box { display: flex; gap: 14px; align-items: flex-start; margin-top: 2em; padding: 16px; border: 2px dashed var(--line); border-radius: var(--r); font-size: .95rem; }
.author-box img { border-radius: 50%; border: 2px solid var(--line); background: #fff; }
.author-box p { margin: 0 0 4px; }

/* Favoritos e vazio */
.empty-state { text-align: center; padding: 40px 20px; background: #fff; border: 2px dashed var(--line); border-radius: var(--r); }
.empty-ico { display: inline-grid; place-items: center; width: 70px; height: 70px; border-radius: 50%; background: #ffe1df; border: 2px solid var(--line); color: var(--red); }
.empty-ico .icon { width: 34px; height: 34px; }
.fav-item { padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.fav-item img { border-radius: 10px; border: 2px solid var(--line); aspect-ratio: 3 / 2; object-fit: cover; }
.fav-item .chip { align-self: flex-start; }
.nf { text-align: center; padding: 60px 20px; }
.nf-ico { display: inline-grid; place-items: center; width: 90px; height: 90px; border-radius: 50%; background: var(--lime); border: var(--bw) solid var(--line); margin-bottom: 14px; transform: rotate(-12deg); }
.nf-ico .icon { width: 46px; height: 46px; }
.sitemap-page ul { columns: 2; }

/* ---------- Busca ---------- */
.search-overlay { position: fixed; inset: 0; z-index: 80; background: rgba(43, 26, 20, .45); display: flex; justify-content: center; align-items: flex-start; padding: 70px 16px 16px; }
.search-panel { width: 100%; max-width: 640px; background: #fff; border: var(--bw) solid var(--line); border-radius: var(--r); box-shadow: 6px 6px 0 var(--line); overflow: hidden; }
.search-box { display: flex; align-items: center; gap: 10px; padding: 10px 12px 10px 16px; border-bottom: 2px solid var(--line); }
.search-box input { flex: 1; border: 0; font-size: 1.1rem; padding: 8px 0; outline: none; min-width: 0; }
.search-results { max-height: 60vh; overflow-y: auto; padding: 10px; }
.search-hint { margin: 6px; color: var(--muted); }
.search-hint button { border: 2px solid var(--line); background: var(--lime-soft); border-radius: 999px; padding: 2px 10px; font-weight: 700; cursor: pointer; margin: 3px 2px; }
.sr-group { font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin: 10px 8px 4px; }
.sr-item { display: flex; gap: 12px; align-items: center; padding: 8px; border-radius: 10px; text-decoration: none; color: var(--ink); }
.sr-item:hover, .sr-item.is-active { background: var(--lime-soft); color: var(--ink); }
.sr-item img, .sr-ph { width: 56px; height: 42px; border-radius: 8px; object-fit: cover; flex: none; border: 2px solid var(--line); background: var(--cream-2); display: grid; place-items: center; }
.sr-item strong { display: block; line-height: 1.25; }
.sr-item small { color: var(--muted); font-weight: 700; }
.sr-item mark { background: var(--lime); }
.sr-empty { padding: 10px; color: var(--muted); }

/* ---------- Rodapé ---------- */
.site-footer { margin-top: 60px; background: var(--ink); color: #f3e7dc; padding: 46px 0 24px; border-top: 6px solid var(--lime); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.footer-brand img { height: 44px; width: auto; background: #fff; border-radius: 12px; padding: 6px 10px; margin-bottom: 14px; }
.footer-brand p { font-size: .94rem; color: #d9c9bc; }
.site-footer h2 { color: var(--lime); font-size: 1.1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .94rem; }
.site-footer a { color: #f3e7dc; text-decoration: none; }
.site-footer a:hover { color: var(--lime); text-decoration: underline; }
.footer-bottom { margin-top: 30px; padding-top: 16px; border-top: 1px solid #5a463c; font-size: .84rem; color: #c3b1a4; }
.footer-bottom p { margin: 0; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 90; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px; font-weight: 700; box-shadow: 4px 4px 0 var(--lime); max-width: calc(100% - 32px); }
.toast a { color: var(--lime); margin-left: 8px; }
.cookie { position: fixed; z-index: 85; left: 16px; right: 16px; bottom: 16px; max-width: 760px; margin: 0 auto; display: flex; gap: 14px; align-items: center; padding: 14px 18px; background: #fff; border: var(--bw) solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); font-size: .9rem; }
.cookie p { margin: 0; flex: 1; }
.ad-slot { margin: 24px 0; text-align: center; grid-column: 1 / -1; }
.ad-label { display: block; font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .main-nav a { padding: .4em .6em; font-size: .9rem; }
  .filter-grid { grid-template-columns: repeat(3, 1fr); }
  .week-grid, .ag-week { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .menu-btn { display: inline-grid; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--cream); border-bottom: var(--bw) solid var(--line); padding: 8px 16px 14px; }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: .7em .8em; font-size: 1rem; }
  .header-actions { margin-left: auto; }
  .grid-3, .tools-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; margin: 10px auto 30px; width: 100%; }
  .hero-card { left: -6px; }
  .species-grid { grid-template-columns: repeat(2, 1fr); }
  .art-layout { grid-template-columns: 1fr; }
  .art-toc { position: static; }
  .ck-layout, .ag-bottom { grid-template-columns: 1fr; }
  .rot-head { grid-template-columns: 1fr; }
  .rot-head-img { max-width: 520px; }
  .day-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .planner-hero-inner { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  body { font-size: 16px; padding-bottom: 72px; }
  .wrap { padding: 0 16px; }
  .header-inner { min-height: 62px; gap: 10px; }
  .brand img { height: 30px; }
  .icon-btn { width: 38px; height: 38px; }
  .tabbar {
    display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    background: #fff; border-top: var(--bw) solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
  }
  .tabbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: .68rem; font-weight: 800; color: var(--ink-2); text-decoration: none; padding: 4px 0; }
  .tabbar a .icon { width: 22px; height: 22px; }
  .tabbar a[aria-current] { color: var(--red); }
  .tabbar .tab-main .icon { width: 44px; height: 44px; padding: 9px; margin-top: -22px; border-radius: 50%; background: var(--red); color: #fff; border: var(--bw) solid var(--line); box-shadow: 2px 2px 0 var(--line); }
  .tabbar .tab-main { color: var(--ink); }
  .grid-3, .tools-grid, .how-steps, .trust { grid-template-columns: 1fr; }
  .hero { padding-top: 24px; }
  .hero-pets { grid-template-columns: repeat(2, 1fr); }
  .hero-photo { transform: none; }
  .hero-card { position: relative; left: auto; bottom: auto; margin: -30px auto 0; transform: rotate(-1deg); width: 90%; }
  .blob-1 { width: 80px; height: 80px; right: -10px; }
  .blob-2 { display: none; }
  .species-grid { grid-template-columns: 1fr; }
  .rot-kpis { grid-template-columns: repeat(2, 1fr); }
  .choice-pets { grid-template-columns: repeat(2, 1fr); }
  .choice-3 { grid-template-columns: 1fr; }
  .choice-3 > .choice > span { flex-direction: row; justify-content: flex-start; }
  .task { grid-template-columns: auto 1fr auto; }
  .task-time { grid-column: 2; grid-row: 1; font-size: .95rem; }
  .task-body { grid-column: 1 / -1; grid-row: 2; }
  .task-tools { grid-column: 3; grid-row: 1; }
  .week-grid, .ag-week { grid-template-columns: 1fr 1fr; }
  .week-day, .ag-day { min-height: 0; }
  .add-grid, .ag-form .add-grid { grid-template-columns: 1fr 1fr; }
  .add-grid label:first-child { grid-column: 1 / -1; }
  .filter-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cookie { flex-direction: column; align-items: stretch; bottom: 80px; }
  .toast { bottom: 86px; }
  .pstep { padding: 16px; }
  .pet-form { padding: 16px 12px 4px; }
  .rot-toolbar .btn { flex: 1 1 auto; }
  .tabs button { padding: .55em .8em; font-size: .9rem; }
  .tab-panel { padding: 14px; }
  .sitemap-page ul { columns: 1; }
  .table-wrap table { font-size: .88rem; }
  .art-search { border-radius: var(--r); }
}

/* ---------- Impressão ---------- */
@media print {
  body { background: #fff; font-size: 12pt; padding: 0; }
  .site-header, .site-footer, .tabbar, .crumbs, .rot-toolbar, .tabs, .add-task, .task-tools, .fav-btn, .cookie, .toast, .search-overlay,
  .rot-block, .art-toc, .art-actions, .tool-cta, .author-box, .ag-toolbar, .ag-form, .planner-form-wrap, .saved-banner, .read-progress, .section .grid, .cta-band, .filters { display: none !important; }
  .card, .tab-panel, .rot-summary, .pstep, .ag-day, .task { box-shadow: none !important; }
  html.js .tab-panel:not(.is-on) { display: block; }
  .tab-panel { border: 0; padding: 0; margin-top: 16px; }
  .task { break-inside: avoid; }
  .task-more { display: none; }
  a { color: inherit; text-decoration: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
