/* ==========================================================================
   Casa em Ritmo — folha de estilo única
   Paleta: terracota e creme, com verde-oliva de apoio.
   Tipografia: famílias já presentes nos sistemas, sem carregamento externo.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */

:root {
  /* Superfícies */
  --cream:        #fdf7f0;
  --cream-deep:   #f7ead9;
  --paper:        #fffdfa;
  --paper-warm:   #fff8f0;

  /* Tinta */
  --ink:          #2d2320;
  --ink-soft:     #5d4f48;
  --ink-faint:    #8b7a70;

  /* Acento principal */
  --terra:        #b8452a;
  --terra-strong: #96331c;
  --terra-light:  #d9603c;
  --terra-pale:   #f6d3c2;
  --terra-wash:   #fbe7dc;

  /* Acento de apoio */
  --olive:        #63713f;
  --olive-pale:   #e4e8d2;
  --olive-wash:   #f0f2e6;

  /* Sinalização */
  --warn:         #a8601a;
  --warn-wash:    #fdf0dd;
  --danger:       #a33125;
  --ok:           #4e7046;

  /* Linhas e sombras */
  --line:         #ecd9c6;
  --line-soft:    #f4e6d6;
  --shadow-sm:    0 1px 2px rgba(93, 51, 30, .06), 0 2px 6px rgba(93, 51, 30, .05);
  --shadow-md:    0 2px 4px rgba(93, 51, 30, .05), 0 10px 26px -6px rgba(93, 51, 30, .13);
  --shadow-lg:    0 4px 8px rgba(93, 51, 30, .05), 0 26px 54px -14px rgba(93, 51, 30, .2);
  --shadow-inset: inset 0 1px 0 rgba(255, 255, 255, .7);

  /* Formas */
  --r-sm:  8px;
  --r-md:  14px;
  --r-lg:  22px;
  --r-xl:  32px;
  --r-pill: 999px;

  /* Ritmo */
  --gap:   clamp(1rem, 2.4vw, 1.75rem);
  --pad-x: clamp(1.15rem, 5vw, 3rem);
  --wide:  1220px;
  --text:  72ch;

  /* Tipos */
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua",
           Georgia, "Times New Roman", serif;
  --sans:  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
           Arial, "Noto Sans", sans-serif;

  --ease:  cubic-bezier(.22, .61, .36, 1);
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(1rem, .97rem + .18vw, 1.075rem);
  line-height: 1.68;
  color: var(--ink);
  background-color: var(--cream);
  background-image:
    radial-gradient(1100px 620px at 88% -12%, rgba(217, 96, 60, .13), transparent 70%),
    radial-gradient(760px 520px at -8% 14%, rgba(99, 113, 63, .09), transparent 68%),
    radial-gradient(900px 700px at 50% 108%, rgba(184, 69, 42, .07), transparent 70%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -.012em;
  color: var(--ink);
  margin: 0 0 .5em;
  text-wrap: balance;
}

h1 { font-size: clamp(1.95rem, 1.3rem + 2.6vw, 3.1rem); }
h2 { font-size: clamp(1.45rem, 1.12rem + 1.35vw, 2.1rem); }
h3 { font-size: clamp(1.12rem, 1rem + .5vw, 1.35rem); }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--terra-strong);
  text-decoration-color: rgba(184, 69, 42, .32);
  text-underline-offset: .18em;
  text-decoration-thickness: 1px;
  transition: color .18s var(--ease), text-decoration-color .18s var(--ease);
}
a:hover { color: var(--terra-light); text-decoration-color: currentColor; }

strong { font-weight: 650; color: var(--ink); }
em { font-style: italic; }

ul, ol { margin: 0 0 1.15em; padding-left: 1.3em; }
li { margin-bottom: .45em; }
li:last-child { margin-bottom: 0; }

mark {
  background: linear-gradient(transparent 58%, var(--terra-pale) 58%);
  color: inherit;
  padding: 0 .08em;
}

time { font-variant-numeric: tabular-nums; }

hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

img, svg { max-width: 100%; }

:focus-visible {
  outline: 2.5px solid var(--terra-light);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--terra-pale); color: var(--ink); }

.skip {
  position: absolute;
  left: 50%;
  top: -100px;
  z-index: 200;
  transform: translateX(-50%);
  padding: .7rem 1.4rem;
  background: var(--terra);
  color: #fff;
  border-radius: 0 0 var(--r-md) var(--r-md);
  font-weight: 600;
  text-decoration: none;
  transition: top .2s var(--ease);
}
.skip:focus { top: 0; color: #fff; }

/* --------------------------------------------------------------------------
   3. Ícones
   -------------------------------------------------------------------------- */

.icon {
  width: 1.15em;
  height: 1.15em;
  flex: 0 0 auto;
  vertical-align: -.18em;
}

/* --------------------------------------------------------------------------
   4. Flor da marca
   -------------------------------------------------------------------------- */

.flower { display: block; width: 100%; height: 100%; }
.flower__outer  { fill: #ef7358; }
.flower__inner  { fill: #c4171e; }
.flower__core   { fill: #fbbfb9; }
.flower__stamen { stroke: #c4171e; stroke-width: 2.4; fill: #c4171e; }

/* --------------------------------------------------------------------------
   5. Cabeçalho e navegação
   -------------------------------------------------------------------------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 247, 240, .88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}

.topbar__inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: .7rem var(--pad-x);
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
  color: var(--ink);
  flex: 0 0 auto;
}
.brand__logo {
  display: block;
  height: 2.35rem;
  width: auto;
  flex: 0 0 auto;
  filter: drop-shadow(0 2px 6px rgba(196, 23, 30, .14));
  transition: transform .35s var(--ease);
}
.brand:hover .brand__logo { transform: scale(1.03); }
.brand__text { display: flex; flex-direction: column; line-height: 1.12; }
.brand__name {
  font-family: var(--serif);
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: -.015em;
}
.brand__sub {
  font-size: .705rem;
  letter-spacing: .085em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: .12rem;
}

.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }

.nav-button { display: none; }

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: .2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__list li { margin: 0; }
.nav__list a {
  display: block;
  padding: .48rem .68rem;
  border-radius: var(--r-pill);
  font-size: .935rem;
  font-weight: 550;
  color: var(--ink-soft);
  text-decoration: none;
  white-space: nowrap;
  transition: background .18s var(--ease), color .18s var(--ease);
}
.nav__list a:hover { background: var(--terra-wash); color: var(--terra-strong); }
.nav__list a.is-current {
  background: var(--terra);
  color: #fff;
  box-shadow: 0 3px 10px -2px rgba(184, 69, 42, .45);
}

.nav-search { flex: 0 0 auto; }
.nav-search__label {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.nav-search__field {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-inset);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.nav-search__field:focus-within {
  border-color: var(--terra-light);
  box-shadow: 0 0 0 3px rgba(217, 96, 60, .16);
}
.nav-search__icon {
  position: absolute;
  left: .8rem;
  color: var(--ink-faint);
  pointer-events: none;
}
.nav-search input {
  width: 12.5rem;
  padding: .52rem .8rem .52rem 2.35rem;
  border: 0;
  background: none;
  font: inherit;
  font-size: .9rem;
  color: var(--ink);
  border-radius: var(--r-pill);
}
.nav-search input::placeholder { color: var(--ink-faint); }
.nav-search input:focus { outline: none; }
.nav-search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.nav-search button {
  flex: 0 0 auto;
  margin: .2rem;
  padding: .36rem .95rem;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--terra);
  color: #fff;
  font: inherit;
  font-size: .845rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .18s var(--ease);
}
.nav-search button:hover { background: var(--terra-strong); }

/* --------------------------------------------------------------------------
   6. Botões e chips
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .78rem 1.45rem;
  border: 0;
  border-radius: var(--r-pill);
  font: inherit;
  font-size: .965rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .22s var(--ease),
              background .18s var(--ease), color .18s var(--ease);
}
.btn .icon { transition: transform .22s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }

.btn--primary {
  background: linear-gradient(165deg, var(--terra-light), var(--terra));
  color: #fff;
  box-shadow: 0 2px 4px rgba(150, 51, 28, .2), 0 12px 26px -8px rgba(184, 69, 42, .55);
}
.btn--primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(150, 51, 28, .22), 0 18px 34px -10px rgba(184, 69, 42, .6);
}
.btn--primary:active { transform: translateY(0); }

.btn--ghost {
  background: var(--paper);
  color: var(--terra-strong);
  border: 1px solid var(--terra-pale);
  box-shadow: var(--shadow-sm);
}
.btn--ghost:hover {
  color: var(--terra-strong);
  background: var(--terra-wash);
  border-color: var(--terra-light);
  transform: translateY(-2px);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  padding: .42rem .85rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink-soft);
  font-size: .885rem;
  font-weight: 550;
  line-height: 1.35;
  text-decoration: none;
  transition: all .18s var(--ease);
}
.chip:hover {
  color: var(--terra-strong);
  border-color: var(--terra-light);
  background: var(--terra-wash);
  transform: translateY(-1px);
}
.chip .icon { width: 1.05em; height: 1.05em; color: var(--terra-light); }
.chip em {
  font-style: normal;
  font-size: .78rem;
  font-variant-numeric: tabular-nums;
  padding: .05rem .4rem;
  border-radius: var(--r-pill);
  background: var(--cream-deep);
  color: var(--ink-faint);
}
.chip.is-on {
  background: var(--terra);
  border-color: var(--terra);
  color: #fff;
  box-shadow: 0 3px 10px -3px rgba(184, 69, 42, .5);
}
.chip.is-on .icon { color: rgba(255, 255, 255, .85); }
.chip.is-on em { background: rgba(255, 255, 255, .22); color: #fff; }
.chip--sm { padding: .3rem .68rem; font-size: .83rem; }
.chip--brand {
  background: var(--terra-wash);
  border-color: var(--terra-pale);
  color: var(--terra-strong);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   7. Estruturas de página
   -------------------------------------------------------------------------- */

main { display: block; min-height: 55vh; }

.page {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 1.1rem var(--pad-x) clamp(3.5rem, 7vw, 6rem);
}

.section {
  max-width: var(--wide);
  margin: 0 auto;
  padding: clamp(2.75rem, 6vw, 5rem) var(--pad-x) 0;
}
.section:last-of-type { padding-bottom: clamp(3rem, 7vw, 6rem); }

.section__head { max-width: 60ch; margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.section__head h2 { margin-bottom: .35em; }
.section__head p { color: var(--ink-soft); margin-bottom: 0; }
.section__link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: .9rem;
  font-weight: 600;
  font-size: .945rem;
  text-decoration: none;
}
.section__link .icon { transition: transform .22s var(--ease); }
.section__link:hover .icon { transform: translateX(4px); }

/* Trilha */
.crumbs { margin: 0 0 1.5rem; font-size: .855rem; }
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .3rem .45rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.crumbs li { display: flex; align-items: center; gap: .45rem; margin: 0; }
.crumbs a { color: var(--ink-faint); text-decoration: none; }
.crumbs a:hover { color: var(--terra); text-decoration: underline; }
.crumbs__sep { color: var(--terra-pale); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* Cabeçalho de página */
.pagehead {
  position: relative;
  max-width: 74ch;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.pagehead__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin: 0 0 .85rem;
  padding: .3rem .8rem .3rem .6rem;
  border-radius: var(--r-pill);
  background: var(--terra-wash);
  color: var(--terra-strong);
  font-size: .765rem;
  font-weight: 650;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.pagehead__eyebrow .icon { color: var(--terra-light); }
.pagehead__lede {
  font-size: clamp(1.05rem, 1rem + .35vw, 1.2rem);
  line-height: 1.62;
  color: var(--ink-soft);
}
.pagehead__note {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  margin: 1.25rem 0 0;
  padding: .85rem 1.1rem;
  border-left: 3px solid var(--warn);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  background: var(--warn-wash);
  font-size: .93rem;
  color: #6d431a;
}
.pagehead__note .icon { color: var(--warn); margin-top: .22em; }
.pagehead__count {
  margin: 1.2rem 0 0;
  font-size: .945rem;
  color: var(--ink-faint);
}
.pagehead__count strong {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--terra);
}
.pagehead__count span { display: block; font-size: .88rem; }
.pagehead--center { max-width: 62ch; margin-inline: auto; text-align: center; }
.pagehead--center .pagehead__eyebrow { margin-inline: auto; }
.pagehead--term::after {
  content: "";
  display: block;
  width: 4.5rem;
  height: 3px;
  margin-top: 1.6rem;
  border-radius: var(--r-pill);
  background: linear-gradient(90deg, var(--terra-light), var(--terra-pale));
}

/* --------------------------------------------------------------------------
   8. Hero da página inicial
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-bottom: clamp(1rem, 3vw, 2rem);
}
.hero__bg {
  position: absolute;
  inset: -30% -12% auto -12%;
  height: 150%;
  background:
    radial-gradient(48% 46% at 74% 30%, rgba(217, 96, 60, .2), transparent 72%),
    radial-gradient(40% 42% at 14% 8%, rgba(99, 113, 63, .13), transparent 70%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  max-width: var(--wide);
  margin: 0 auto;
  padding: clamp(2.25rem, 5vw, 4.25rem) var(--pad-x) 0;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, .97fr);
  align-items: center;
  gap: clamp(1.75rem, 4vw, 3.5rem);
}
.hero__copy { position: relative; z-index: 2; }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin: 0 0 1.15rem;
  padding: .38rem .95rem .38rem .7rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--terra-pale);
  background: rgba(255, 253, 250, .8);
  box-shadow: var(--shadow-sm);
  font-size: .78rem;
  font-weight: 650;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--terra-strong);
}
.hero__eyebrow .icon { color: var(--terra-light); }

.hero__title {
  font-size: clamp(2.2rem, 1.3rem + 3.7vw, 4.05rem);
  line-height: 1.05;
  letter-spacing: -.028em;
  margin-bottom: .55em;
}
.hero__title span {
  position: relative;
  color: var(--terra);
  white-space: nowrap;
}
.hero__title span::after {
  content: "";
  position: absolute;
  left: -.04em;
  right: -.04em;
  bottom: .06em;
  height: .26em;
  border-radius: var(--r-pill);
  background: linear-gradient(90deg, var(--terra-pale), rgba(246, 211, 194, .25));
  z-index: -1;
}

.hero__lede {
  max-width: 54ch;
  font-size: clamp(1.04rem, 1rem + .35vw, 1.18rem);
  line-height: 1.66;
  color: var(--ink-soft);
  margin-bottom: 1.9rem;
}

.hero__search label {
  display: block;
  margin-bottom: .55rem;
  font-size: .885rem;
  font-weight: 650;
  color: var(--ink);
}
.hero__field {
  position: relative;
  display: flex;
  align-items: center;
  gap: .3rem;
  padding: .38rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-md), var(--shadow-inset);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.hero__field:focus-within {
  border-color: var(--terra-light);
  box-shadow: var(--shadow-md), 0 0 0 4px rgba(217, 96, 60, .15);
}
.hero__field > .icon {
  position: absolute;
  left: 1.15rem;
  width: 1.2rem;
  height: 1.2rem;
  color: var(--ink-faint);
  pointer-events: none;
}
.hero__field input {
  flex: 1 1 auto;
  min-width: 0;
  padding: .72rem .9rem .72rem 2.9rem;
  border: 0;
  background: none;
  font: inherit;
  color: var(--ink);
}
.hero__field input::placeholder { color: var(--ink-faint); }
.hero__field input:focus { outline: none; }
.hero__field input::-webkit-search-cancel-button { -webkit-appearance: none; }
.hero__field .btn { flex: 0 0 auto; padding-inline: 1.5rem; }

.hero__suggest {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem;
  list-style: none;
  margin: 1.15rem 0 0;
  padding: 0;
  font-size: .875rem;
}
.hero__suggest li { margin: 0; }
.hero__suggest li:first-child span { color: var(--ink-faint); margin-right: .2rem; }
.hero__suggest a {
  display: inline-block;
  padding: .26rem .72rem;
  border-radius: var(--r-pill);
  border: 1px dashed var(--terra-pale);
  color: var(--ink-soft);
  text-decoration: none;
  transition: all .18s var(--ease);
}
.hero__suggest a:hover {
  border-style: solid;
  border-color: var(--terra-light);
  background: var(--paper);
  color: var(--terra-strong);
}

.hero__art {
  position: relative;
  z-index: 1;
  justify-self: center;
}
.houseart {
  display: block;
  width: min(100%, 34rem);
  height: auto;
  filter: drop-shadow(0 30px 50px rgba(150, 51, 28, .17));
}
.houseart__motes circle { animation: mote 7s var(--ease) infinite; }
.houseart__motes circle:nth-child(2) { animation-delay: -1.4s; }
.houseart__motes circle:nth-child(3) { animation-delay: -2.8s; }
.houseart__motes circle:nth-child(4) { animation-delay: -4.2s; }
.houseart__motes circle:nth-child(5) { animation-delay: -5.6s; }
@keyframes mote {
  0%, 100% { transform: translateY(0);     opacity: .28; }
  50%      { transform: translateY(-13px); opacity: .62; }
}

.hero__badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: .6rem;
  max-width: 13.5rem;
  padding: .7rem .95rem;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: rgba(255, 253, 250, .93);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow-md);
  font-size: .845rem;
  line-height: 1.4;
  color: var(--ink-soft);
}
.hero__badge .icon { width: 1.35rem; height: 1.35rem; color: var(--terra-light); }
.hero__badge strong { display: block; color: var(--ink); }
.hero__badge--a { left: -1rem;  top: 16%;    animation: float 6.5s var(--ease) infinite; }
.hero__badge--b { right: -1rem; bottom: 13%; animation: float 6.5s var(--ease) -3.2s infinite; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}

/* --------------------------------------------------------------------------
   9. Ambientes da casa
   -------------------------------------------------------------------------- */

.rooms {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13.5rem), 1fr));
  gap: .85rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.room { margin: 0; }
.room a {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "icon name arrow"
    "icon count arrow";
  align-items: center;
  gap: .1rem .9rem;
  height: 100%;
  padding: 1.05rem 1.1rem;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--paper), var(--paper-warm));
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  overflow: hidden;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease),
              border-color .22s var(--ease);
}
.room a::before {
  content: "";
  position: absolute;
  inset: auto -30% -70% auto;
  width: 11rem;
  height: 11rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 96, 60, .16), transparent 68%);
  opacity: 0;
  transition: opacity .28s var(--ease);
}
.room a:hover {
  transform: translateY(-3px);
  border-color: var(--terra-pale);
  box-shadow: var(--shadow-md);
}
.room a:hover::before { opacity: 1; }
.room__icon {
  grid-area: icon;
  display: grid;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: var(--r-sm);
  background: var(--terra-wash);
  color: var(--terra);
}
.room__icon .icon { width: 1.4rem; height: 1.4rem; }
.room__name {
  grid-area: name;
  font-family: var(--serif);
  font-size: 1.13rem;
  font-weight: 600;
  color: var(--ink);
}
.room__count { grid-area: count; font-size: .83rem; color: var(--ink-faint); }
.room__arrow {
  grid-area: arrow;
  color: var(--terra-pale);
  transition: transform .22s var(--ease), color .22s var(--ease);
}
.room a:hover .room__arrow { color: var(--terra); transform: translateX(3px); }

/* --------------------------------------------------------------------------
   10. Destaques
   -------------------------------------------------------------------------- */

.featured {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: var(--gap);
  align-items: start;
}

.fcard {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  padding: clamp(1.4rem, 3vw, 2.1rem);
  border-radius: var(--r-lg);
  border: 1px solid var(--terra-pale);
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(246, 211, 194, .5), transparent 60%),
    linear-gradient(165deg, var(--paper), var(--paper-warm));
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.fcard::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--terra-light), var(--terra), var(--olive));
}
.fcard__link { text-decoration: none; color: inherit; display: block; }
.fcard__tag {
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  margin-bottom: .9rem;
  padding: .32rem .8rem .32rem .58rem;
  border-radius: var(--r-pill);
  background: var(--terra-wash);
  color: var(--terra-strong);
  font-size: .8rem;
  font-weight: 650;
  letter-spacing: .03em;
}
.fcard__tag .icon { color: var(--terra-light); }
.fcard__link h3 {
  font-size: clamp(1.45rem, 1.15rem + 1.1vw, 2rem);
  margin-bottom: .45em;
  transition: color .18s var(--ease);
}
.fcard__link:hover h3 { color: var(--terra); }
.fcard__link p { color: var(--ink-soft); margin: 0; }

.fcard__facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr));
  gap: .2rem 1rem;
  margin: 0;
  padding: 1.1rem 0 0;
  border-top: 1px dashed var(--line);
}
.fcard__facts div { padding: .45rem 0; }
.fcard__facts dt {
  font-size: .715rem;
  font-weight: 650;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: .15rem;
}
.fcard__facts dd {
  margin: 0;
  font-weight: 600;
  font-size: .94rem;
  color: var(--ink);
}
.fcard > .btn { align-self: flex-start; }

.featured__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.featured__list li { margin: 0; }
.featured__list a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: .9rem;
  padding: .85rem 1rem;
  border-radius: var(--r-md);
  border: 1px solid var(--line-soft);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: transform .2s var(--ease), border-color .2s var(--ease),
              box-shadow .2s var(--ease);
}
.featured__list a:hover {
  transform: translateX(4px);
  border-color: var(--terra-pale);
  box-shadow: var(--shadow-md);
}
.flist__icon {
  display: grid;
  place-items: center;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: var(--r-sm);
  background: var(--olive-wash);
  color: var(--olive);
}
.flist__body { display: flex; flex-direction: column; gap: .12rem; min-width: 0; }
.flist__body strong {
  font-family: var(--serif);
  font-size: 1.03rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.28;
}
.flist__body em { font-style: normal; font-size: .81rem; color: var(--ink-faint); }
.flist__arrow { color: var(--terra-pale); transition: transform .2s var(--ease); }
.featured__list a:hover .flist__arrow { color: var(--terra); transform: translateX(3px); }

/* --------------------------------------------------------------------------
   11. Faixa de rotinas curtas
   -------------------------------------------------------------------------- */

.quickband {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(1.5rem, 3.5vw, 3rem);
  padding: clamp(1.6rem, 4vw, 2.9rem);
  border-radius: var(--r-xl);
  background:
    radial-gradient(70% 120% at 8% 0%, rgba(217, 96, 60, .22), transparent 62%),
    linear-gradient(150deg, #3a2b25, #2d2320 62%, #35291f);
  color: #f6e9df;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.quickband::before {
  content: "";
  position: absolute;
  inset: auto -6rem -9rem auto;
  width: 22rem;
  height: 22rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 113, 63, .34), transparent 66%);
  pointer-events: none;
}
.quickband__head { position: relative; }
.quickband__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin: 0 0 .9rem;
  padding: .3rem .85rem .3rem .62rem;
  border-radius: var(--r-pill);
  background: rgba(246, 211, 194, .16);
  color: #f3c3ab;
  font-size: .765rem;
  font-weight: 650;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.quickband h2 { color: #fff8f1; margin-bottom: .5em; }
.quickband p { color: rgba(246, 233, 223, .76); }
.quickband .btn--ghost {
  margin-top: 1.35rem;
  background: rgba(255, 253, 250, .08);
  border-color: rgba(246, 211, 194, .3);
  color: #fbd9c9;
  box-shadow: none;
}
.quickband .btn--ghost:hover {
  background: rgba(255, 253, 250, .16);
  border-color: #f3c3ab;
  color: #fff;
}

.quickband__list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: .55rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.quickband__list li { margin: 0; }
.quickband__list a {
  display: flex;
  align-items: center;
  gap: .8rem;
  height: 100%;
  padding: .8rem .95rem;
  border-radius: var(--r-md);
  border: 1px solid rgba(246, 211, 194, .16);
  background: rgba(255, 253, 250, .055);
  text-decoration: none;
  transition: background .2s var(--ease), border-color .2s var(--ease),
              transform .2s var(--ease);
}
.quickband__list a:hover {
  background: rgba(255, 253, 250, .12);
  border-color: rgba(243, 195, 171, .5);
  transform: translateY(-2px);
}
.qtime {
  flex: 0 0 auto;
  padding: .2rem .55rem;
  border-radius: var(--r-sm);
  background: var(--terra);
  color: #fff;
  font-size: .755rem;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.qname { font-size: .925rem; font-weight: 550; color: #f8eee6; line-height: 1.35; }

/* --------------------------------------------------------------------------
   12. Eixos de navegação
   -------------------------------------------------------------------------- */

.axes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: var(--gap);
  list-style: none;
  margin: 0;
  padding: 0;
}
.axis {
  margin: 0;
  padding: 1.35rem 1.4rem;
  border-radius: var(--r-md);
  border: 1px solid var(--line-soft);
  border-top: 3px solid var(--olive);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}
.axis h3 { margin-bottom: .4em; }
.axis h3 a { text-decoration: none; color: var(--ink); }
.axis h3 a:hover { color: var(--terra); }
.axis > p { font-size: .92rem; color: var(--ink-soft); margin-bottom: 1rem; }
.axis__terms {
  display: flex;
  flex-wrap: wrap;
  gap: .38rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.axis__terms li { margin: 0; }

/* --------------------------------------------------------------------------
   13. Bloco duplo da página inicial
   -------------------------------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
  gap: var(--gap);
}
.split__card {
  position: relative;
  padding: clamp(1.4rem, 3vw, 2.1rem);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(165deg, var(--paper), var(--paper-warm));
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.split__icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1.05rem;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}
.split__icon .icon { width: 1.55rem; height: 1.55rem; }
.split__card--glossary .split__icon { background: var(--olive-pale); color: var(--olive); }
.split__card--care .split__icon { background: var(--terra-wash); color: var(--terra); }
.split__card p { color: var(--ink-soft); }
.split__terms {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  list-style: none;
  margin: 0 0 1.35rem;
  padding: 0;
}
.split__terms li { margin: 0; }
.split__terms a {
  display: inline-block;
  padding: .26rem .7rem;
  border-radius: var(--r-pill);
  background: var(--olive-wash);
  color: #4d5a30;
  font-size: .83rem;
  text-decoration: none;
  transition: background .18s var(--ease);
}
.split__terms a:hover { background: var(--olive-pale); color: #3e4826; }

.carelist { list-style: none; margin: 0 0 1.45rem; padding: 0; }
.carelist li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: .9rem;
  font-size: .935rem;
  color: var(--ink-soft);
  line-height: 1.6;
}
.carelist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .6em;
  width: .55rem;
  height: .55rem;
  border-radius: 50%;
  background: var(--terra-light);
  box-shadow: 0 0 0 3px var(--terra-wash);
}
.carelist strong { color: var(--ink); }

/* --------------------------------------------------------------------------
   14. Catálogo e filtros
   -------------------------------------------------------------------------- */

.catalog {
  display: grid;
  grid-template-columns: 17.5rem minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: start;
}
.catalog__side { position: sticky; top: 5.25rem; }
.catalog__main { min-width: 0; }

.catalog__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .85rem;
  margin-bottom: 1.25rem;
  padding-bottom: .95rem;
  border-bottom: 1px solid var(--line);
}
.catalog__count { margin: 0; font-size: .935rem; color: var(--ink-soft); }
.catalog__count strong {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--terra);
  margin-right: .15rem;
}

.sortnav { display: flex; flex-wrap: wrap; gap: .25rem; }
.sortnav a {
  padding: .34rem .74rem;
  border-radius: var(--r-pill);
  font-size: .845rem;
  font-weight: 550;
  color: var(--ink-faint);
  text-decoration: none;
  transition: all .18s var(--ease);
}
.sortnav a:hover { background: var(--terra-wash); color: var(--terra-strong); }
.sortnav a.is-on { background: var(--ink); color: var(--cream); }

.filters {
  padding: 1.2rem 1.25rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(175deg, var(--paper), var(--paper-warm));
  box-shadow: var(--shadow-md);
}
.filters__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .75rem;
  padding-bottom: .8rem;
  margin-bottom: .9rem;
  border-bottom: 1px solid var(--line-soft);
}
.filters__head h2 {
  display: flex;
  align-items: center;
  gap: .45rem;
  margin: 0;
  font-size: 1.05rem;
}
.filters__head .icon { color: var(--terra-light); }
.filters__clear {
  font-size: .82rem;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
}
.filters__clear:hover { text-decoration: underline; }

.filters__active {
  display: flex;
  flex-direction: column;
  gap: .38rem;
  list-style: none;
  margin: 0 0 1.1rem;
  padding: 0;
}
.filters__active li { margin: 0; }
.filters__active a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding: .42rem .7rem;
  border-radius: var(--r-sm);
  background: var(--terra);
  color: #fff;
  font-size: .825rem;
  text-decoration: none;
  transition: background .18s var(--ease);
}
.filters__active a:hover { background: var(--terra-strong); color: #fff; }
.filters__active .icon { width: .95em; height: .95em; opacity: .75; }
.filters__active strong { font-weight: 650; }

.fgroup { border-bottom: 1px solid var(--line-soft); }
.fgroup:last-of-type { border-bottom: 0; }
.fgroup > summary {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 0;
  font-size: .8rem;
  font-weight: 650;
  letter-spacing: .075em;
  text-transform: uppercase;
  color: var(--ink-soft);
  cursor: pointer;
  list-style: none;
}
.fgroup > summary::-webkit-details-marker { display: none; }
.fgroup > summary::after {
  content: "";
  width: .45rem;
  height: .45rem;
  margin-left: auto;
  border-right: 2px solid var(--terra-light);
  border-bottom: 2px solid var(--terra-light);
  transform: rotate(45deg);
  transition: transform .2s var(--ease);
}
.fgroup[open] > summary::after { transform: rotate(-135deg); }
.fgroup > summary:hover { color: var(--terra-strong); }
.fgroup__badge {
  display: grid;
  place-items: center;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background: var(--terra);
  color: #fff;
  font-size: .7rem;
}
.fgroup__list {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  list-style: none;
  margin: 0;
  padding: 0 0 1rem;
}
.fgroup__list li { margin: 0; }
.fgroup__list .chip { font-size: .825rem; padding: .32rem .7rem; }

.filters__noscript {
  margin: 1rem 0 0;
  font-size: .85rem;
  color: var(--ink-soft);
}
.filters__fallback { display: none; }
.filters__fallback p { display: flex; flex-direction: column; gap: .25rem; margin-bottom: .7rem; }
.filters__fallback label {
  font-size: .78rem;
  font-weight: 650;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

select, input[type="text"], input[type="email"], input[type="search"], textarea {
  font: inherit;
  color: var(--ink);
}
.filters__fallback select {
  padding: .5rem .7rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--paper);
}

/* Sem scripts, os selects assumem o papel principal do painel. */
.no-js .filters__fallback { display: block; margin-top: 1rem; }

/* Grade de rotinas */
.rgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 17.5rem), 1fr));
  gap: var(--gap);
  list-style: none;
  margin: 0;
  padding: 0;
}
.rgrid > li { margin: 0; display: flex; }
.rgrid--tight { gap: .9rem; }

.rcard {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  border-radius: var(--r-md);
  border: 1px solid var(--line-soft);
  background: linear-gradient(168deg, var(--paper), var(--paper-warm));
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease),
              border-color .22s var(--ease);
}
.rcard::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--terra-light), var(--terra-pale));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.rcard:hover {
  transform: translateY(-4px);
  border-color: var(--terra-pale);
  box-shadow: var(--shadow-md);
}
.rcard:hover::before { transform: scaleX(1); }
.rcard__link {
  flex: 1 1 auto;
  padding: 1.2rem 1.25rem .9rem;
  text-decoration: none;
  color: inherit;
}
.rcard__env {
  display: inline-flex;
  align-items: center;
  gap: .38rem;
  margin-bottom: .75rem;
  font-size: .755rem;
  font-weight: 650;
  letter-spacing: .085em;
  text-transform: uppercase;
  color: var(--terra);
}
.rcard__env .icon { width: 1rem; height: 1rem; }
.rcard__title {
  font-size: 1.14rem;
  line-height: 1.3;
  margin-bottom: .45em;
  transition: color .18s var(--ease);
}
.rcard__link:hover .rcard__title { color: var(--terra); }
.rcard__summary {
  margin: 0;
  font-size: .89rem;
  line-height: 1.56;
  color: var(--ink-soft);
}
.rcard__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem .9rem;
  list-style: none;
  margin: 0;
  padding: .8rem 1.25rem 1rem;
  border-top: 1px dashed var(--line);
  font-size: .795rem;
  color: var(--ink-faint);
}
.rcard__meta li { display: flex; align-items: center; gap: .32rem; margin: 0; }
.rcard__meta .icon { width: 1rem; height: 1rem; color: var(--terra-light); }
.rcard__meta em { font-style: normal; opacity: .72; }
.rcard--wide { grid-column: 1 / -1; }
.rcard--wide .rcard__title { font-size: 1.4rem; }

/* Estado vazio */
.empty {
  max-width: 52ch;
  margin: 1rem auto;
  padding: clamp(1.75rem, 4vw, 3rem);
  border-radius: var(--r-lg);
  border: 1px dashed var(--terra-pale);
  background: var(--paper-warm);
  text-align: center;
}
.empty h2 { font-size: 1.35rem; }
.empty p { color: var(--ink-soft); }
.empty h3 { font-size: 1rem; margin-top: 1.5rem; }
.empty .crossnav__links { justify-content: center; margin-bottom: 1.5rem; }

/* --------------------------------------------------------------------------
   15. Página de rotina
   -------------------------------------------------------------------------- */

.routine { max-width: var(--wide); }

.rhead { position: relative; margin-bottom: clamp(2rem, 4vw, 3rem); }
.rhead__bg {
  position: absolute;
  inset: -2.5rem -50vw auto;
  height: 108%;
  background:
    radial-gradient(50% 100% at 22% 0%, rgba(217, 96, 60, .14), transparent 66%),
    linear-gradient(180deg, var(--cream-deep), rgba(247, 234, 217, 0));
  pointer-events: none;
  z-index: -1;
}
.rhead__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 20rem;
  gap: clamp(1.5rem, 3.5vw, 3rem);
  align-items: start;
  padding-top: .5rem;
}
.rhead__copy { min-width: 0; }
.rhead__tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  list-style: none;
  margin: 0 0 1.1rem;
  padding: 0;
}
.rhead__tags li { margin: 0; }
.rhead h1 { margin-bottom: .4em; }
.rhead__summary {
  max-width: 56ch;
  font-size: clamp(1.06rem, 1rem + .38vw, 1.22rem);
  line-height: 1.6;
  color: var(--ink-soft);
}
.rhead__intro {
  max-width: 62ch;
  margin: 1.15rem 0 0;
  font-size: 1.02rem;
  line-height: 1.68;
  color: var(--ink-soft);
}

.objective {
  margin-top: 1.75rem;
  padding: 1.2rem 1.4rem;
  border-radius: var(--r-md);
  border-left: 4px solid var(--olive);
  background: var(--olive-wash);
}
.objective h2 {
  font-family: var(--sans);
  font-size: .775rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #4d5a30;
  margin-bottom: .55em;
}
.objective p { margin: 0; color: #3f4a2a; }

.rfacts {
  position: sticky;
  top: 5.25rem;
  padding: 1.3rem 1.35rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(172deg, var(--paper), var(--paper-warm));
  box-shadow: var(--shadow-md);
}
.rfacts__title {
  font-family: var(--sans);
  font-size: .775rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding-bottom: .8rem;
  margin-bottom: .3rem;
  border-bottom: 1px solid var(--line-soft);
}
.rfacts dl { margin: 0; }
.rfacts dl > div { padding: .75rem 0; border-bottom: 1px dashed var(--line); }
.rfacts dl > div:last-child { border-bottom: 0; }
.rfacts dt {
  display: flex;
  align-items: center;
  gap: .42rem;
  font-size: .755rem;
  font-weight: 650;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: .28rem;
}
.rfacts dt .icon { width: 1.05rem; height: 1.05rem; color: var(--terra-light); }
.rfacts dd { margin: 0; font-weight: 600; font-size: .95rem; }
.rfacts dd a { text-decoration: none; }
.rfacts dd a:hover { text-decoration: underline; }
.rfacts__hint {
  display: block;
  font-weight: 400;
  font-size: .78rem;
  color: var(--ink-faint);
  margin-top: .1rem;
}

.rjump {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
  margin-top: 1.1rem;
  padding-top: 1.05rem;
  border-top: 1px solid var(--line-soft);
}
.rjump a {
  padding: .26rem .65rem;
  border-radius: var(--r-pill);
  background: var(--cream-deep);
  font-size: .79rem;
  font-weight: 550;
  color: var(--ink-soft);
  text-decoration: none;
  transition: all .18s var(--ease);
}
.rjump a:hover { background: var(--terra); color: #fff; }
.rjump a.is-reading {
  background: var(--terra-wash);
  color: var(--terra-strong);
  box-shadow: inset 0 0 0 1px var(--terra-pale);
}

.rbody { max-width: var(--text); }

.rnote {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .3rem 0;
  padding: 1.1rem 1.3rem;
  margin-bottom: 1.1rem;
  border-radius: var(--r-md);
  font-size: .945rem;
}
.rnote h2 {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .095em;
  text-transform: uppercase;
  margin-bottom: .35em;
}
.rnote p { grid-column: 1 / -1; margin: 0; }
.rnote--freq {
  background: var(--warn-wash);
  border: 1px solid #f2dcbd;
  color: #6d431a;
}
.rnote--freq h2 { color: var(--warn); }
.rnote--time {
  background: var(--olive-wash);
  border: 1px solid var(--olive-pale);
  color: #3f4a2a;
}
.rnote--time h2 { color: #4d5a30; }

.rsection { margin-top: clamp(2.25rem, 5vw, 3.25rem); }
.rsection > h2 {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding-bottom: .6rem;
  margin-bottom: 1.1rem;
  border-bottom: 2px solid var(--line);
}
.rsection > h2 .icon { width: 1.3rem; height: 1.3rem; color: var(--terra); }
.rsection h3 { margin-top: 1.6rem; font-size: 1.08rem; }
.rsection__note {
  font-size: .885rem;
  color: var(--ink-faint);
  font-style: italic;
}

/* Materiais */
.tickets {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
  gap: .5rem;
  list-style: none;
  margin: 0 0 1.15rem;
  padding: 0;
}
.tickets li {
  position: relative;
  margin: 0;
  padding: .7rem .9rem .7rem 2.25rem;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-soft);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  font-size: .915rem;
  line-height: 1.5;
}
.tickets li::before {
  content: "";
  position: absolute;
  left: .85rem;
  top: 1.12em;
  width: .5rem;
  height: .5rem;
  border-radius: 2px;
  background: var(--terra-light);
  transform: rotate(45deg);
}
.tickets--soft li { background: var(--cream); box-shadow: none; }
.tickets--soft li::before { background: var(--olive); }

/* Preparação */
.prep { list-style: none; margin: 0; padding: 0; }
.prep li {
  position: relative;
  padding-left: 1.7rem;
  margin-bottom: .65rem;
  line-height: 1.62;
}
.prep li::before {
  content: "";
  position: absolute;
  left: .28rem;
  top: .62em;
  width: .6rem;
  height: .6rem;
  border: 2px solid var(--terra-light);
  border-radius: 50%;
}

/* Etapas */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.step {
  position: relative;
  display: grid;
  grid-template-columns: 2.6rem 1fr;
  gap: 0 1.1rem;
  padding-bottom: 1.6rem;
  margin: 0;
}
.step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 1.29rem;
  top: 2.8rem;
  bottom: .2rem;
  width: 2px;
  background: linear-gradient(180deg, var(--terra-pale), var(--line-soft));
}
.step__num {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--terra-light), var(--terra));
  color: #fff;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  box-shadow: 0 4px 11px -3px rgba(184, 69, 42, .5);
}
.step__body { padding-top: .3rem; }
.step__body h3 { margin: 0 0 .35em; font-size: 1.1rem; }
.step__body p { margin: 0; color: var(--ink-soft); }
.step:target .step__body h3 { color: var(--terra); }

/* Segurança */
.rsection--safety > h2 .icon { color: var(--danger); }
.safety {
  list-style: none;
  margin: 0;
  padding: 1.25rem 1.4rem;
  border-radius: var(--r-md);
  border: 1px solid #f0cdc5;
  border-left: 4px solid var(--danger);
  background: #fdf0ed;
}
.safety li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: .75rem;
  color: #6f2a20;
  line-height: 1.6;
}
.safety li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .52em;
  width: .7rem;
  height: .7rem;
  background: var(--danger);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

/* Erros comuns */
.mistakes { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.mistakes li {
  position: relative;
  margin: 0;
  padding: .8rem 1rem .8rem 2.5rem;
  border-radius: var(--r-sm);
  background: var(--paper);
  border: 1px solid var(--line-soft);
  font-size: .93rem;
  line-height: 1.58;
  color: var(--ink-soft);
}
.mistakes li::before {
  content: "";
  position: absolute;
  left: .95rem;
  top: 1.15em;
  width: .75rem;
  height: 2px;
  border-radius: 2px;
  background: var(--warn);
  box-shadow: 0 5px 0 var(--warn);
}

/* Alternativas */
.adapt {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15.5rem), 1fr));
  gap: .85rem;
}
.adapt__card {
  padding: 1.1rem 1.2rem;
  border-radius: var(--r-md);
  border: 1px solid var(--olive-pale);
  background: linear-gradient(165deg, var(--olive-wash), var(--paper));
  box-shadow: var(--shadow-sm);
}
.adapt__card h3 {
  margin: 0 0 .45em;
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .075em;
  text-transform: uppercase;
  color: #4d5a30;
}
.adapt__card p { margin: 0; font-size: .915rem; line-height: 1.58; color: #3f4a2a; }

/* Checklist */
.rsection--check > h2 .icon { color: var(--ok); }
.checklist {
  list-style: none;
  margin: 1.1rem 0 0;
  padding: 1.3rem 1.45rem;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background:
    repeating-linear-gradient(180deg, transparent, transparent 2.55rem,
                              var(--line-soft) 2.55rem, var(--line-soft) calc(2.55rem + 1px)),
    var(--paper);
  box-shadow: var(--shadow-sm);
}
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  min-height: 2.55rem;
  margin: 0;
  padding: .3rem 0;
  line-height: 1.55;
}
.checklist .icon {
  flex: 0 0 auto;
  width: 1.2rem;
  height: 1.2rem;
  margin-top: .22em;
  padding: .15rem;
  border-radius: 4px;
  background: var(--olive-pale);
  color: var(--ok);
}

.revstamp {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem;
  margin: 1.5rem 0 0;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  font-size: .865rem;
  color: var(--ink-faint);
}
.revstamp .icon { color: var(--terra-light); }
.revstamp a { margin-left: auto; font-weight: 600; }

/* Termos usados */
.termlist { margin: 0; }
.termlist > div {
  padding: .85rem 0;
  border-bottom: 1px dashed var(--line);
}
.termlist > div:last-child { border-bottom: 0; }
.termlist dt { margin-bottom: .18rem; }
.termlist dt a {
  font-family: var(--serif);
  font-size: 1.06rem;
  font-weight: 600;
  text-decoration: none;
}
.termlist dt a:hover { text-decoration: underline; }
.termlist dd { margin: 0; font-size: .9rem; color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   16. Taxonomias
   -------------------------------------------------------------------------- */

.termgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr));
  gap: var(--gap);
  list-style: none;
  margin: 0;
  padding: 0;
}
.termcard { margin: 0; display: flex; }
.termcard a {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 1.4rem 1.45rem;
  border-radius: var(--r-md);
  border: 1px solid var(--line-soft);
  background: linear-gradient(168deg, var(--paper), var(--paper-warm));
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease),
              border-color .22s var(--ease);
}
.termcard a:hover {
  transform: translateY(-4px);
  border-color: var(--terra-pale);
  box-shadow: var(--shadow-md);
}
.termcard__icon {
  display: grid;
  place-items: center;
  width: 2.85rem;
  height: 2.85rem;
  margin-bottom: 1rem;
  border-radius: var(--r-sm);
  background: var(--terra-wash);
  color: var(--terra);
}
.termcard__icon .icon { width: 1.45rem; height: 1.45rem; }
.termcard h2 { font-size: 1.22rem; margin-bottom: .4em; }
.termcard a:hover h2 { color: var(--terra); }
.termcard p {
  flex: 1 1 auto;
  font-size: .89rem;
  line-height: 1.56;
  color: var(--ink-soft);
  margin-bottom: 1.1rem;
}
.termcard__count {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .82rem;
  font-weight: 650;
  color: var(--terra);
}
.termcard__count .icon { transition: transform .22s var(--ease); }
.termcard a:hover .termcard__count .icon { transform: translateX(4px); }

.crossnav {
  margin-top: clamp(2.5rem, 5vw, 3.75rem);
  padding: clamp(1.4rem, 3vw, 2.1rem);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--paper-warm);
}
.crossnav > h2 { font-size: 1.25rem; margin-bottom: 1.1rem; }
.crossnav__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 1.5rem;
}
.crossnav__cols h3 {
  font-family: var(--sans);
  font-size: .775rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: .7rem;
}
.crossnav__cols ul,
.crossnav__links {
  display: flex;
  flex-wrap: wrap;
  gap: .38rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.crossnav__cols li, .crossnav__links li { margin: 0; }
.crossnav__note {
  margin: 1.35rem 0 0;
  padding-top: 1rem;
  border-top: 1px dashed var(--line);
  font-size: .845rem;
  color: var(--ink-faint);
}
.crossnav--plain { background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding-inline: 0; }

.siblings { margin-top: clamp(2rem, 4vw, 3rem); }
.siblings h2 {
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: .8rem;
}
.siblings ul {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.siblings li { margin: 0; }

/* --------------------------------------------------------------------------
   17. Busca
   -------------------------------------------------------------------------- */

.bigsearch { margin-top: 1.75rem; max-width: 40rem; }
.pagehead--center .bigsearch { margin-inline: auto; }
.bigsearch label {
  display: block;
  margin-bottom: .5rem;
  font-size: .875rem;
  font-weight: 650;
}
.bigsearch__field {
  position: relative;
  display: flex;
  align-items: center;
  gap: .3rem;
  padding: .35rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow-md), var(--shadow-inset);
  text-align: left;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.bigsearch__field:focus-within {
  border-color: var(--terra-light);
  box-shadow: var(--shadow-md), 0 0 0 4px rgba(217, 96, 60, .15);
}
.bigsearch__field > .icon {
  position: absolute;
  left: 1.1rem;
  width: 1.2rem;
  height: 1.2rem;
  color: var(--ink-faint);
  pointer-events: none;
}
.bigsearch__field input {
  flex: 1 1 auto;
  min-width: 0;
  padding: .7rem .9rem .7rem 2.85rem;
  border: 0;
  background: none;
  font: inherit;
}
.bigsearch__field input:focus { outline: none; }
.bigsearch__field input::placeholder { color: var(--ink-faint); }
.bigsearch__field input::-webkit-search-cancel-button { -webkit-appearance: none; }

.searchhelp { max-width: 60ch; }
.searchhelp h2 { font-size: 1.2rem; }
.searchhelp .crossnav__links { margin-bottom: 1.35rem; }

.results { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: .75rem; }
.result { margin: 0; }
.result a {
  display: block;
  padding: 1.15rem 1.3rem;
  border-radius: var(--r-md);
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--terra-pale);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
  transition: transform .2s var(--ease), border-left-color .2s var(--ease),
              box-shadow .2s var(--ease);
}
.result a:hover {
  transform: translateX(4px);
  border-left-color: var(--terra);
  box-shadow: var(--shadow-md);
}
.result--glossario a { border-left-color: var(--olive-pale); }
.result--glossario a:hover { border-left-color: var(--olive); }
.result__kind {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-bottom: .5rem;
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.result__kind .icon { width: 1rem; height: 1rem; color: var(--terra-light); }
.result--glossario .result__kind .icon { color: var(--olive); }
.result h2 { font-size: 1.2rem; margin-bottom: .3em; }
.result a:hover h2 { color: var(--terra); }
.result p { margin: 0 0 .5rem; font-size: .91rem; color: var(--ink-soft); }
.result__meta { font-size: .8rem; color: var(--ink-faint); }

/* --------------------------------------------------------------------------
   18. Glossário
   -------------------------------------------------------------------------- */

.alpha {
  position: sticky;
  top: 4.6rem;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
  margin-bottom: 2rem;
  padding: .7rem .85rem;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: rgba(255, 253, 250, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}
.alpha a {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: var(--r-sm);
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
  transition: all .16s var(--ease);
}
.alpha a:hover { background: var(--terra); color: #fff; }

.glossblock { margin-bottom: 2.5rem; scroll-margin-top: 8rem; }
.glossblock__letter {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.75rem;
  color: var(--terra);
  margin-bottom: 1rem;
}
.glossblock__letter::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: linear-gradient(90deg, var(--terra-pale), transparent);
}
.glosslist {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr));
  gap: .6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.glosslist li { margin: 0; }
.glosslist a {
  display: block;
  height: 100%;
  padding: .95rem 1.1rem;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-soft);
  background: var(--paper);
  text-decoration: none;
  color: inherit;
  transition: transform .2s var(--ease), border-color .2s var(--ease),
              box-shadow .2s var(--ease);
}
.glosslist a:hover {
  transform: translateY(-2px);
  border-color: var(--terra-pale);
  box-shadow: var(--shadow-sm);
}
.glosslist strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.06rem;
  font-weight: 600;
  margin-bottom: .18rem;
}
.glosslist a:hover strong { color: var(--terra); }
.glosslist span { font-size: .865rem; line-height: 1.52; color: var(--ink-soft); }

.gterm { max-width: 74ch; }
.gterm__syn {
  font-size: .88rem;
  color: var(--ink-faint);
  font-style: italic;
  margin-bottom: 1rem;
}
.gterm__definition {
  font-size: clamp(1.08rem, 1rem + .4vw, 1.28rem);
  line-height: 1.58;
  color: var(--ink);
  padding-left: 1.1rem;
  border-left: 3px solid var(--terra-light);
}
.gterm__body .rgrid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); }

/* --------------------------------------------------------------------------
   19. Páginas institucionais
   -------------------------------------------------------------------------- */

.page--doc { max-width: 62rem; }

.doc { max-width: var(--text); }
.doc h2 {
  font-size: clamp(1.3rem, 1.15rem + .6vw, 1.6rem);
  margin-top: 2.5rem;
  padding-bottom: .45rem;
  border-bottom: 1px solid var(--line);
}
.doc h2:first-child { margin-top: 0; }
.doc h3 {
  font-size: 1.1rem;
  margin-top: 1.85rem;
  color: var(--terra-strong);
}
.doc p, .doc li { color: var(--ink-soft); }
.doc strong { color: var(--ink); }
.doc ul, .doc ol { padding-left: 1.35em; }
.doc li { margin-bottom: .55em; }

.numlist { list-style: none; padding: 0; counter-reset: n; }
.numlist > li {
  position: relative;
  counter-increment: n;
  padding-left: 2.6rem;
  margin-bottom: 1rem;
}
.numlist > li::before {
  content: counter(n);
  position: absolute;
  left: 0;
  top: .1em;
  display: grid;
  place-items: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  background: var(--terra-wash);
  color: var(--terra-strong);
  font-family: var(--serif);
  font-weight: 600;
  font-size: .95rem;
}

.changelog {
  margin: 1.25rem 0;
  padding: 1.25rem 1.4rem;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--paper-warm);
}
.changelog--empty { border-style: dashed; }
.changelog p { font-size: .93rem; margin-bottom: .7rem; }
.changelog p:last-child { margin-bottom: 0; }
.changelog .icon { color: var(--terra-light); margin-right: .3rem; }

.docnav {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: 2.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

/* --------------------------------------------------------------------------
   20. Contato
   -------------------------------------------------------------------------- */

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(1.5rem, 3.5vw, 2.75rem);
  align-items: start;
}
.contact__form { min-width: 0; }

.cform {
  padding: clamp(1.35rem, 3vw, 2rem);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(172deg, var(--paper), var(--paper-warm));
  box-shadow: var(--shadow-md);
}
.cfield { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.15rem; }
.cfield label {
  font-size: .835rem;
  font-weight: 650;
  letter-spacing: .04em;
  color: var(--ink);
}
.cfield label span { color: var(--terra); }
.cfield input, .cfield select, .cfield textarea {
  padding: .7rem .85rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--paper);
  box-shadow: var(--shadow-inset);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.cfield textarea { resize: vertical; min-height: 9rem; line-height: 1.6; }
.cfield input:focus, .cfield select:focus, .cfield textarea:focus {
  outline: none;
  border-color: var(--terra-light);
  box-shadow: 0 0 0 3px rgba(217, 96, 60, .15);
}
.cfield__hint { font-size: .81rem; color: var(--ink-faint); }
.cfield__error { font-size: .83rem; font-weight: 600; color: var(--danger); }
.cfield.has-error input,
.cfield.has-error textarea { border-color: var(--danger); background: #fdf6f4; }
.cfield--trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.cform__submit { margin: 1.5rem 0 0; }
.cform__privacy {
  margin: 1.1rem 0 0;
  font-size: .83rem;
  color: var(--ink-faint);
  line-height: 1.55;
}

.notice {
  padding: 1.25rem 1.4rem;
  margin-bottom: 1.5rem;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
}
.notice h2 {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: 1.15rem;
  margin-bottom: .5em;
}
.notice p:last-child { margin-bottom: 0; }
.notice--ok {
  background: var(--olive-wash);
  border-color: var(--olive-pale);
  color: #3f4a2a;
}
.notice--ok h2 { color: #41562f; }
.notice--ok .icon { color: var(--ok); }
.notice--ok .btn { margin-top: .5rem; }
.notice--error {
  background: #fdf0ed;
  border-color: #f0cdc5;
  color: #6f2a20;
}
.notice--error h2 { color: var(--danger); }
.notice--error .icon { color: var(--danger); }

.contact__side { display: grid; gap: .85rem; }
.sidecard {
  padding: 1.2rem 1.3rem;
  border-radius: var(--r-md);
  border: 1px solid var(--line-soft);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}
.sidecard h2 {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .085em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: .75em;
}
.sidecard h2 .icon { color: var(--terra-light); }
.sidecard p, .sidecard li { font-size: .895rem; line-height: 1.58; color: var(--ink-soft); }
.sidecard ul { margin: 0; padding-left: 1.15em; }
.sidecard ul li { margin-bottom: .55em; }
.sidecard--urgent {
  border-color: #f0cdc5;
  border-left: 3px solid var(--danger);
  background: #fdf0ed;
}
.sidecard--urgent h2 { color: var(--danger); }
.sidecard--urgent h2 .icon { color: var(--danger); }
.sidecard--urgent p { color: #6f2a20; }

/* --------------------------------------------------------------------------
   21. Rodapé
   -------------------------------------------------------------------------- */

.footer {
  position: relative;
  margin-top: clamp(3rem, 7vw, 6rem);
  background: linear-gradient(168deg, #342722, #2a201d 58%, #31261d);
  color: rgba(246, 233, 223, .8);
  overflow: hidden;
}
.footer__glow {
  position: absolute;
  inset: -50% -10% auto -10%;
  height: 120%;
  background:
    radial-gradient(38% 46% at 12% 4%, rgba(217, 96, 60, .22), transparent 66%),
    radial-gradient(34% 40% at 88% 18%, rgba(99, 113, 63, .2), transparent 68%);
  pointer-events: none;
}
.footer__inner {
  position: relative;
  max-width: var(--wide);
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4rem) var(--pad-x) clamp(1.75rem, 3vw, 2.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.15fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
}
.footer__brand { max-width: 32ch; }
.footer__logo {
  display: block;
  height: 2.4rem;
  width: auto;
  margin-bottom: .95rem;
  filter: brightness(0) invert(1) opacity(.94);
}
.footer__name {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: #fff8f1;
  margin: 0 0 .5rem;
}
.footer__pitch { font-size: .885rem; line-height: 1.62; margin-bottom: .9rem; }
.footer__domain {
  margin: 0;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(243, 195, 171, .75);
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 9.5rem), 1fr));
  gap: 1.6rem 1.25rem;
}
.footer__col h2 {
  font-family: var(--sans);
  font-size: .745rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #f3c3ab;
  margin-bottom: .85rem;
}
.footer__col ul { list-style: none; margin: 0; padding: 0; }
.footer__col li { margin-bottom: .48rem; }
.footer__col a {
  font-size: .885rem;
  color: rgba(246, 233, 223, .76);
  text-decoration: none;
  transition: color .16s var(--ease);
}
.footer__col a:hover { color: #fff8f1; text-decoration: underline; }

.footer__note {
  position: relative;
  max-width: var(--wide);
  margin: 0 auto;
  padding: 1.35rem var(--pad-x) 2rem;
  border-top: 1px solid rgba(246, 211, 194, .14);
}
.footer__note > p {
  max-width: 88ch;
  font-size: .81rem;
  line-height: 1.6;
  color: rgba(246, 233, 223, .58);
}
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem 1.25rem;
  margin: 1rem 0 0;
  font-size: .81rem;
  color: rgba(246, 233, 223, .58);
}
.footer__legal a { color: rgba(243, 195, 171, .85); text-decoration: none; }
.footer__legal a:hover { color: #fff8f1; text-decoration: underline; }

/* --------------------------------------------------------------------------
   22. Responsivo
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  .catalog { grid-template-columns: 15.5rem minmax(0, 1fr); }
  .rhead__inner { grid-template-columns: minmax(0, 1fr) 17.5rem; }
  .nav { gap: 1rem; }
  .nav__list a { padding-inline: .55rem; font-size: .9rem; }
  .nav-search input { width: 9.5rem; }
}

@media (max-width: 940px) {
  .hero__inner { grid-template-columns: 1fr; padding-top: clamp(1.5rem, 4vw, 2.5rem); }
  .hero__art { order: -1; max-width: 26rem; }
  .hero__badge { display: none; }
  .hero__title br { display: none; }

  .featured { grid-template-columns: 1fr; }
  .quickband { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }

  .rhead__inner { grid-template-columns: 1fr; }
  .rfacts { position: static; }
  .rjump { display: none; }

  .footer__inner { grid-template-columns: 1fr; }
}

/* Navegação em painel deslizante */
@media (max-width: 860px) {
  .topbar__inner { padding-block: .6rem; }

  .nav-button {
    display: flex;
    align-items: center;
    gap: .4rem;
    margin-left: auto;
    padding: .48rem .85rem;
    border-radius: var(--r-pill);
    border: 1px solid var(--line);
    background: var(--paper);
    box-shadow: var(--shadow-sm);
    color: var(--terra-strong);
    font-size: .875rem;
    font-weight: 650;
    cursor: pointer;
    user-select: none;
  }
  .nav-button__close { display: none; }
  .nav-toggle:checked ~ .nav-button .nav-button__open { display: none; }
  .nav-toggle:checked ~ .nav-button .nav-button__close { display: block; }

  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 120;
    width: min(21rem, 88vw);
    margin: 0;
    padding: 5.25rem 1.5rem 2rem;
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
    background: var(--paper);
    border-left: 1px solid var(--line);
    box-shadow: -18px 0 48px -18px rgba(93, 51, 30, .35);
    transform: translateX(102%);
    visibility: hidden;
    overflow-y: auto;
    transition: transform .3s var(--ease), visibility .3s var(--ease);
  }
  .nav-toggle:checked ~ .nav { transform: translateX(0); visibility: visible; }

  .nav__list { flex-direction: column; align-items: stretch; gap: .15rem; }
  .nav__list a {
    padding: .78rem 1rem;
    border-radius: var(--r-sm);
    font-size: 1.03rem;
  }

  .nav-search { order: -1; }
  .nav-search input { width: 100%; }

  /* O rótulo do menu também cobre a tela para fechar ao toque externo. */
  .nav-toggle:checked ~ .nav-button::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background: rgba(45, 35, 32, .45);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
  }
  .nav-button { position: relative; z-index: 130; }
}

@media (max-width: 780px) {
  .catalog { grid-template-columns: 1fr; }
  .catalog__side { position: static; }
  .filters { padding: 1rem 1.1rem; }
  .fgroup__list { padding-bottom: .85rem; }

  .rooms { grid-template-columns: repeat(auto-fit, minmax(min(100%, 11.5rem), 1fr)); }
  .room a { padding: .9rem .95rem; }
  .room__icon { width: 2.4rem; height: 2.4rem; }
  .room__name { font-size: 1.05rem; }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }

  .brand__text { display: none; }
  .brand__logo { height: 2.05rem; }

  .hero__field { flex-direction: column; align-items: stretch; border-radius: var(--r-lg); }
  .hero__field > .icon { top: 1.25rem; }
  .hero__field input { padding-block: .65rem; }
  .hero__field .btn { width: 100%; }

  .bigsearch__field { flex-direction: column; align-items: stretch; border-radius: var(--r-lg); }
  .bigsearch__field > .icon { top: 1.2rem; }
  .bigsearch__field .btn { width: 100%; }

  .rgrid { grid-template-columns: 1fr; }
  .glosslist { grid-template-columns: 1fr; }
  .tickets { grid-template-columns: 1fr; }
  .adapt { grid-template-columns: 1fr; }

  .step { grid-template-columns: 2.1rem 1fr; gap: 0 .85rem; }
  .step__num { width: 2.1rem; height: 2.1rem; font-size: 1rem; }
  .step:not(:last-child)::before { left: 1.04rem; top: 2.3rem; }

  .fcard__facts { grid-template-columns: 1fr 1fr; }
  .revstamp a { margin-left: 0; width: 100%; }
  .alpha { position: static; }
  .doc h2 { margin-top: 2rem; }
}

/* --------------------------------------------------------------------------
   23. Impressão
   -------------------------------------------------------------------------- */

@media print {
  body {
    background: #fff;
    color: #000;
    font-size: 11pt;
  }
  .topbar, .footer, .rjump, .crumbs, .hero__art, .hero__suggest,
  .catalog__side, .crossnav, .siblings, .sortnav, .docnav,
  .bigsearch, .hero__search, .nav-search { display: none !important; }
  .rhead__bg, .hero__bg, .footer__glow { display: none; }
  .page, .section { padding: 0; max-width: none; }
  .rhead__inner { display: block; }
  .rfacts { position: static; box-shadow: none; border: 1px solid #ccc; page-break-inside: avoid; }
  .rsection { page-break-inside: avoid; }
  .step { page-break-inside: avoid; }
  a { color: #000; text-decoration: none; }
  .checklist { background: #fff; border: 1px solid #999; }
  .checklist .icon { border: 1px solid #999; background: none; }
}
