:root {
  --bg: #f6f6f4;
  --ink: #111111;
  --muted: #6b6b6b;
  --line: rgba(17, 17, 17, 0.08);
  --paper: #ffffff;
  --dot: #0000ff;
  --title: "Outfit", "Segoe UI", sans-serif;
  --text: "Outfit", "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1rem;
  line-height: 1.5;
}
a { color: inherit; }
button, input { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 4vw;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 0;
  max-width: 150px;
  height: 36px;
  overflow: hidden;
  text-decoration: none;
}
.logo img {
  height: 36px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  object-position: left center;
}
.menu { display: flex; gap: 1.4rem; }
.menu a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
}
.menu a:hover { color: var(--ink); }
.menu a[aria-current="page"] { color: var(--ink); }

.shell {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 2.4rem;
  width: min(1180px, calc(100% - 3rem));
  margin: 0 auto;
  padding: 2.2rem 0 5rem;
}
.page-head h1 {
  margin: 0;
  font-family: var(--title);
  font-weight: 650;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  letter-spacing: -0.045em;
  line-height: 1.05;
}
.count { margin: 0.4rem 0 1.5rem; color: var(--muted); font-size: 0.95rem; }

.filters { display: grid; align-content: start; gap: 0.2rem; }
.cat-box {
  margin-top: 1.1rem;
  padding: 0.9rem 1rem 1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
}
.cat-box .kicker { margin: 0 0 0.3rem; }
.cat-box h1 {
  margin: 0 0 0.65rem;
  font-family: var(--title);
  font-weight: 650;
  font-size: 1.12rem;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.cat-box .prose p {
  margin: 0 0 0.5rem;
  max-width: none;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--muted);
}
.cat-box .prose p:last-child { margin: 0; }
.filters-label {
  margin: 0 0 0.55rem;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.filter {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.52rem 0.7rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  text-align: left;
  text-decoration: none;
  color: var(--muted);
  cursor: pointer;
}
.filter:hover { background: var(--paper); color: var(--ink); }
.filter svg { width: 16px; height: 16px; flex: none; }
.filter .n { margin-left: auto; font-size: 0.75rem; font-variant-numeric: tabular-nums; color: #9a9a9a; }
.filter.on {
  background: var(--ink);
  color: #fff;
}
.filter.on .n { color: rgba(255, 255, 255, 0.7); }
.filter:focus-visible, .card:focus-visible, .menu a:focus-visible, .cta:focus-visible {
  outline: 2px solid var(--dot);
  outline-offset: 3px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.1rem;
}
.card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(17, 17, 17, 0.08);
}
.photo {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #ecece8;
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.card:hover img { transform: scale(1.04); }
.photo--empty {
  display: grid;
  place-items: center;
  font-family: var(--title);
  font-size: 2rem;
  font-weight: 650;
  color: #b0b0aa;
}
.card-body { padding: 0.95rem 1rem 1.15rem; }
.card-body .cat {
  margin: 0 0 0.28rem;
  color: var(--dot);
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.card h2 {
  margin: 0;
  font-family: var(--title);
  font-weight: 650;
  font-size: 1.18rem;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.excerpt { margin: 0.4rem 0 0; color: var(--muted); font-size: 0.92rem; }
.empty {
  grid-column: 1 / -1;
  padding: 2.2rem 1.4rem;
  border: 1px dashed var(--line);
  border-radius: 18px;
  background: var(--paper);
  color: var(--muted);
}
.empty a { color: var(--ink); font-weight: 600; }
.colophon {
  width: min(1180px, calc(100% - 3rem));
  margin: 0 auto;
  padding: 0 0 2rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.hero-cover {
  position: relative;
  min-height: min(72vh, 620px);
  display: grid;
  align-items: end;
  color: #fff;
}
.hero-cover > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.72) 100%);
}
.hero-cover-copy {
  position: relative;
  z-index: 1;
  width: min(820px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 5rem 0 2.8rem;
}
.hero-cover .kicker { color: #9db4ff; }
.hero-cover h1 {
  margin: 0;
  font-family: var(--title);
  font-weight: 650;
  font-size: clamp(2.4rem, 6vw, 4.1rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}
.hero-cover .lead { color: rgba(255, 255, 255, 0.82); }
.rubro-hero {
  margin: 0 0 1.3rem;
  overflow: hidden;
  border-radius: 18px;
  aspect-ratio: 16 / 7;
  background: #111;
}
.rubro-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.story {
  width: min(820px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 3.2rem 0 5rem;
}
.kicker {
  margin: 0 0 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 650;
  color: var(--dot);
}
.story h1 {
  margin: 0;
  font-family: var(--title);
  font-weight: 650;
  font-size: clamp(2.4rem, 6vw, 4.1rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}
.lead { font-size: 1.12rem; max-width: 38rem; color: var(--muted); }
.story h2 {
  margin: 3rem 0 1rem;
  font-family: var(--title);
  font-weight: 650;
  font-size: 1.7rem;
  letter-spacing: -0.03em;
}
.templates { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; }
.template {
  min-height: 180px;
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: 16px;
}
.template strong { font-family: var(--title); font-size: 1.35rem; font-weight: 650; }
.template span { color: inherit; opacity: 0.75; }
.template.clasica { background: #f3eee6; color: #241c16; }
.template.moderna { background: #111111; color: #f3efe6; }
.template.minimal { background: #fff; color: #161616; border: 1px solid var(--line); }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li {
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  gap: 0.8rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps b { font-family: var(--title); font-size: 1.15rem; font-weight: 650; }
.prices { display: flex; gap: 2rem; flex-wrap: wrap; }
.prices p { margin: 0; }
.prices strong { display: block; font-family: var(--title); font-size: 2.2rem; font-weight: 650; }
.cta {
  display: inline-block;
  margin-top: 1.6rem;
  padding: 0.85rem 1.15rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: center; }
.cta-row .cta { margin-top: 0; }
.prose p { margin: 0 0 0.9rem; max-width: 42rem; }
.prose h2, .story h3 {
  font-family: var(--title);
  font-weight: 650;
  letter-spacing: -0.03em;
}
.story h3 { margin: 1.6rem 0 0.4rem; font-size: 1.25rem; }
.rubro-links, .faq { margin: 0; padding: 0; list-style: none; }
.rubro-links { display: grid; grid-template-columns: 1fr 1fr; gap: 0.35rem 1.4rem; }
.rubro-links a, .faq a { color: inherit; }
.include { margin: 0; padding-left: 1.1rem; }
.include li { margin: 0.35rem 0; }
.faq li { padding: 0.9rem 0; border-top: 1px solid var(--line); }
.faq li:last-child { border-bottom: 1px solid var(--line); }
.faq strong { display: block; margin-bottom: 0.25rem; }
.note-box {
  margin-top: 2.4rem;
  padding: 1.4rem;
  border-radius: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
}
.note-box h2 {
  margin: 0 0 0.6rem;
  font-family: var(--title);
  font-weight: 650;
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  letter-spacing: -0.03em;
}
.wa-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 40;
  padding: 0.8rem 1.05rem;
  border-radius: 999px;
  background: #128c7e;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
}

@media (prefers-reduced-motion: reduce) {
  .card, .card:hover, .card:hover img { transform: none; }
}
@media (max-width: 800px) {
  .shell { grid-template-columns: 1fr; gap: 1.1rem; width: min(1180px, calc(100% - 1.6rem)); }
  .filters {
    position: static;
    display: flex;
    gap: 0.4rem;
    overflow-x: auto;
    padding-bottom: 0.3rem;
  }
  .filters-label { display: none; }
  .filter {
    width: auto;
    background: var(--paper);
    white-space: nowrap;
  }
  .filter .n { display: none; }
  .templates, .steps li, .rubro-links { grid-template-columns: 1fr; }
  .story { padding-top: 2.2rem; }
}
