/* ==========================================================================
   Canil Von Kestrel · Demo-Vitrine Bilíngue (Monografia Fotográfica Minimalista)
   HTML/CSS/JS puros · Fonte local Atkinson Hyperlegible Next
   ========================================================================== */

@font-face {
  font-family: "Atkinson Hyperlegible Next";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("./assets/fonts/atkinson-hyperlegible-next-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Atkinson Hyperlegible Next";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("./assets/fonts/atkinson-hyperlegible-next-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Paleta mineral medida do comp aprovado */
  --taupe-top: #8f7f70;
  --taupe-mid: #7d6e60;
  --taupe-floor: #6b5d50;
  --taupe-deep: #55493e;
  --alabaster: #f7f4ec;
  --stone-soft: #ede8de;
  --stone-line: #d6cec1;
  --ink: #1b1715;
  --ink-muted: #514841;
  --ivory: #fbf9f2;
  --ivory-soft: rgba(251, 249, 242, 0.84);
  --ivory-rule: rgba(251, 249, 242, 0.24);
  --ivory-pill: rgba(251, 249, 242, 0.14);

  /* Sinais funcionais contidos (apenas estados) */
  --copper: #8c4b26;
  --copper-bright: #b66537;
  --status-available: #265941;
  --status-available-bg: #e3efe8;
  --status-reserved: #854925;
  --status-reserved-bg: #f4e6dc;
  --status-sold: #5a524b;
  --status-sold-bg: #e7e2da;

  /* Tipografia e ritmo */
  --font-sans: "Atkinson Hyperlegible Next", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --container-max: 1320px;
  --gutter: clamp(1.25rem, 4.2vw, 4.5rem);
  --radius-sm: 4px;
  --radius-md: 8px;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: var(--alabaster);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scrollbar-color: var(--taupe-mid) var(--stone-soft);
  scrollbar-width: thin;
}

body {
  margin: 0;
  background-color: var(--alabaster);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: clip;
}

::selection {
  background-color: var(--copper);
  color: var(--ivory);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-underline-offset: 0.24em;
  text-decoration-thickness: 1px;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

input,
textarea {
  caret-color: var(--copper);
}

:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 3px;
}

.hero-band :focus-visible,
.apply-band :focus-visible {
  outline-color: var(--ivory);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 200;
  padding: 0.65rem 1.1rem;
  background: var(--ink);
  color: var(--ivory);
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 500;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.tabular {
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   01 · Primeira Dobra (Monografia em Estúdio Taupe Mineral)
   ========================================================================== */

.hero-band {
  position: relative;
  background-color: var(--taupe-floor);
  background-image:
    radial-gradient(62% 75% at 78% 48%, rgba(168, 152, 137, 0.36) 0%, rgba(112, 98, 86, 0) 70%),
    linear-gradient(180deg, #837365 0%, #746558 68%, #635549 100%);
  color: var(--ivory);
  min-height: 680px;
  padding: 0 1.25rem 0.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: clip;
}

/* Navegação superior minimalista */
.site-header {
  position: relative;
  z-index: 10;
  padding-block: clamp(1.1rem, 2.2vw, 1.75rem);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.brand-mark {
  justify-self: start;
  text-decoration: none;
  font-size: clamp(1.18rem, 1.8vw, 1.55rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ivory);
  line-height: 1;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.15rem, 2.5vw, 2.3rem);
}

.primary-nav a {
  text-decoration: none;
  font-size: 0.96rem;
  font-weight: 400;
  color: var(--ivory-soft);
  transition: color 180ms ease;
}

.primary-nav a:hover {
  color: var(--ivory);
  text-decoration: underline;
}

.header-utils {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.94rem;
  letter-spacing: 0.04em;
}

.lang-btn {
  background: transparent;
  border: 0;
  padding: 0.2rem 0.15rem;
  cursor: pointer;
  color: rgba(251, 249, 242, 0.78);
  font-weight: 400;
  transition: color 180ms ease;
}

.lang-btn[aria-pressed="true"] {
  color: var(--ivory);
  font-weight: 600;
}

.lang-btn:hover {
  color: var(--ivory);
}

.lang-sep {
  color: rgba(251, 249, 242, 0.4);
  user-select: none;
}

.social-links {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  color: var(--ivory);
  opacity: 0.88;
  transition: opacity 180ms ease, background-color 180ms ease;
}

.icon-link:hover {
  opacity: 1;
  background-color: rgba(251, 249, 242, 0.12);
}

/* Grid principal da dobra (3 zonas idênticas ao comp aprovado) */
.hero-stage {
  position: relative;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr) minmax(260px, 0.78fr);
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3rem);
  padding-top: clamp(0.75rem, 2vw, 1.5rem);
  padding-bottom: 0;
}

.hero-lead {
  position: relative;
  z-index: 2;
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.hero-numeral {
  position: absolute;
  top: clamp(-4.8rem, -6.5vw, -3.2rem);
  left: clamp(-2.2rem, -3vw, -0.5rem);
  font-size: clamp(9.5rem, 17vw, 15.5rem);
  font-weight: 500;
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: rgba(251, 249, 242, 0.13);
  pointer-events: none;
  user-select: none;
  z-index: -1;
}

.litter-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-left: clamp(0rem, 8vw, 7.5rem);
  margin-bottom: 1rem;
  padding: 0.42rem 0.95rem;
  border-radius: 999px;
  background-color: rgba(34, 28, 23, 0.24);
  border: 1px solid rgba(251, 249, 242, 0.18);
  font-size: 0.88rem;
  color: var(--ivory);
  text-decoration: none;
  transition: background-color 180ms ease;
}

.litter-pill:hover {
  background-color: rgba(34, 28, 23, 0.36);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  background-color: var(--copper-bright);
}

.status-dot--live {
  background-color: #79c49e;
}

.hero-title {
  margin: 0 0 1.75rem;
  font-size: clamp(3.15rem, 6.2vw, 5.75rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--ivory);
  text-wrap: balance;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.15rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.75rem;
  border-radius: var(--radius-sm);
  background-color: var(--ivory);
  color: var(--ink);
  border: 1px solid var(--ivory);
  font-size: 0.98rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 24px -14px rgba(20, 15, 11, 0.45);
  transition: transform 220ms var(--ease-out-expo), background-color 180ms ease, box-shadow 220ms ease;
}

.btn-primary:hover {
  background-color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px -14px rgba(20, 15, 11, 0.55);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.6rem;
  border-radius: var(--radius-sm);
  background-color: var(--ink);
  color: var(--ivory);
  border: 1px solid var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 180ms ease, transform 220ms var(--ease-out-expo);
}

.btn-dark:hover {
  background-color: #2f2925;
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.82rem 1.35rem;
  border-radius: var(--radius-sm);
  background-color: transparent;
  color: var(--ink);
  border: 1px solid var(--taupe-mid);
  font-size: 0.93rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease;
}

.btn-outline:hover {
  background-color: rgba(125, 110, 96, 0.1);
  border-color: var(--ink);
}

/* Tabela técnica central da dobra */
.hero-specs {
  z-index: 2;
  margin: 0;
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.spec-row {
  display: grid;
  grid-template-columns: minmax(98px, 0.38fr) 1fr;
  gap: 0.85rem;
  padding-top: 0.8rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--ivory-rule);
  align-items: baseline;
}

.spec-row:first-child {
  padding-top: 0.2rem;
}

.spec-row dt {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 500;
  color: rgba(251, 249, 242, 0.84);
}

.spec-row dd {
  margin: 0;
  font-size: 0.94rem;
  font-weight: 400;
  line-height: 1.45;
  color: var(--ivory);
}

/* Retrato recortado de estúdio do Doberman na dobra */
.hero-figure {
  align-self: end;
  justify-self: end;
  margin: 0 0 -0.75rem;
  width: 100%;
  max-width: 470px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  position: relative;
}

.hero-figure img {
  width: 100%;
  height: auto;
  max-height: clamp(390px, 68svh, 580px);
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 20px 28px rgba(20, 15, 11, 0.36));
  transform-origin: bottom center;
}

/* ==========================================================================
   Seções editoriais no scroll (ritmo calmo, zero cards genéricos)
   ========================================================================== */

.section-band {
  padding: 5.5rem 1.25rem;
}

.section-band--history {
  background-color: var(--alabaster);
  padding: 3.25rem 1.25rem 5.5rem;
}

.section-band--plantel {
  background-color: var(--alabaster);
  border-top: 1px solid var(--stone-line);
}

.section-band--litter {
  background-color: var(--stone-soft);
  border-top: 1px solid var(--stone-line);
  border-bottom: 1px solid var(--stone-line);
}

.section-band--apply {
  background-color: var(--taupe-deep);
  background-image: linear-gradient(180deg, #6f6053 0%, #52463c 100%);
  color: var(--ivory);
}

.section-heading {
  margin: 0 0 2.25rem;
  font-size: 2.25rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.section-heading--light {
  color: var(--ivory);
}

/* 02 · Nossa História (Formato Trajetória Sticky + Linha Vertical Progressiva) */
.journey-topbar {
  position: relative;
  height: 1px;
  background-color: var(--stone-line);
  margin-bottom: 3rem;
}

.journey-topbar-accent {
  position: absolute;
  top: -1px;
  left: 0;
  width: 44px;
  height: 3px;
  background-color: var(--copper);
}

.journey-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(2.5rem, 6vw, 6.5rem);
  align-items: start;
  margin-bottom: 5rem;
}

.journey-aside {
  position: sticky;
  top: 5.5rem;
}

.journey-title {
  margin-bottom: 1.15rem;
  color: var(--copper);
  letter-spacing: -0.025em;
}

.journey-intro {
  margin: 0 0 2.25rem;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--ink-muted);
  max-width: 38ch;
}

.journey-counter-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: 1.5rem;
}

.journey-counter {
  font-size: 5rem;
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: -0.04em;
  color: var(--copper);
  transition: opacity 180ms ease, transform 240ms var(--ease-out-expo);
}

.journey-context {
  margin-top: 0.55rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

.journey-stage-label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.journey-pager {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.journey-jump {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--stone-line);
  background-color: transparent;
  color: var(--ink-muted);
  font-size: 0.85rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.journey-jump:hover {
  border-color: var(--copper);
  color: var(--copper);
}

.journey-jump.is-lit {
  border-color: rgba(140, 75, 38, 0.55);
  color: var(--copper);
  background-color: rgba(140, 75, 38, 0.06);
}

.journey-jump.is-active {
  background-color: var(--copper);
  border-color: var(--copper);
  color: var(--ivory);
}

/* Coluna direita: trilho vertical progressivo e capítulos */
.journey-timeline {
  position: relative;
  padding-left: 2.75rem;
}

.journey-runway {
  position: absolute;
  top: 0.65rem;
  bottom: 0.75rem;
  left: 7px;
  width: 2px;
  background-color: var(--stone-line);
}

.journey-runway-fill {
  width: 100%;
  height: var(--runway-progress, 18%);
  background-color: var(--copper);
  transition: height 140ms linear;
}

.journey-step {
  position: relative;
  padding-top: 0.1rem;
  padding-bottom: 3.1rem;
  border-bottom: 1px solid var(--stone-line);
  margin-bottom: 3rem;
}

.journey-step:last-child {
  border-bottom: 0;
  padding-bottom: 0.5rem;
  margin-bottom: 0;
}

.journey-node {
  position: absolute;
  left: -2.75rem;
  top: 0.55rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--alabaster);
  border: 1.5px solid var(--stone-line);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 220ms ease, transform 220ms var(--ease-out-expo);
}

.journey-node::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: transparent;
  transition: background-color 220ms ease, transform 220ms var(--ease-out-expo);
}

.journey-step.is-lit .journey-node {
  border-color: var(--copper);
}

.journey-step.is-lit .journey-node::after {
  background-color: var(--copper);
}

.journey-step.is-current .journey-node {
  transform: scale(1.12);
}

.journey-step-title {
  margin: 0 0 0.45rem;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -0.015em;
  color: var(--ink-muted);
  transition: color 220ms ease;
}

.journey-step.is-current .journey-step-title {
  color: var(--copper);
}

.journey-step-sub {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}

.journey-step-desc {
  margin: 0 0 1.4rem;
  font-size: 1rem;
  line-height: 1.68;
  color: var(--ink-muted);
  max-width: 62ch;
  transition: color 220ms ease;
}

.journey-step.is-current .journey-step-desc {
  color: var(--ink);
}

.tag-row {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-chip {
  padding: 0.32rem 0.72rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--stone-line);
  background-color: transparent;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-muted);
  transition: border-color 220ms ease, color 220ms ease, background-color 220ms ease;
}

.journey-step.is-lit .tag-chip {
  border-color: rgba(140, 75, 38, 0.45);
  color: var(--ink);
  background-color: rgba(140, 75, 38, 0.04);
}

.history-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 4.5vw, 4.5rem);
  align-items: center;
  padding-top: 3.5rem;
  border-top: 1px solid var(--stone-line);
}

.editorial-frame {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background-color: var(--stone-soft);
}

.editorial-frame img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.editorial-caption {
  margin-top: 0.7rem;
  font-size: 0.86rem;
  color: var(--ink-muted);
}

.pillars-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pillars-list li {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--stone-line);
}

.pillars-list li:first-child {
  border-top: 1px solid var(--stone-line);
}

.pillars-list strong {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 1.03rem;
  font-weight: 600;
  color: var(--ink);
}

.pillars-list span {
  display: block;
  font-size: 0.95rem;
  color: var(--ink-muted);
  line-height: 1.55;
}

/* ==========================================================================
   03 · Plantel (Dois Dobermans · Padreador e Matriz + Laudos Reais)
   ========================================================================== */

.plantel-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.25rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.plantel-head .section-heading {
  margin-bottom: 0;
}

.dog-tabs {
  display: inline-flex;
  gap: 0.35rem;
  border-bottom: 1px solid var(--stone-line);
}

.dog-tab {
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 0.65rem 1.05rem;
  margin-bottom: -1px;
  cursor: pointer;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink-muted);
  transition: color 180ms ease, border-color 180ms ease;
}

.dog-tab:hover {
  color: var(--ink);
}

.dog-tab[aria-selected="true"] {
  color: var(--ink);
  border-bottom-color: var(--copper);
}

.dog-profile {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 4.8rem);
  align-items: start;
}

.dog-profile[hidden] {
  display: none;
}

.dog-portrait {
  margin: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background-color: var(--stone-soft);
}

.dog-portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.dog-dossier-header {
  padding-bottom: 1.35rem;
  border-bottom: 1px solid var(--stone-line);
  margin-bottom: 1.5rem;
}

.dog-name {
  margin: 0 0 0.45rem;
  font-size: clamp(1.75rem, 2.8vw, 2.35rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.dog-meta {
  margin: 0;
  font-size: 0.96rem;
  color: var(--ink-muted);
}

.dog-bio {
  margin: 0 0 1.8rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  max-width: 62ch;
}

.dossier-subtitle {
  margin: 0 0 0.8rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--copper);
}

.clearance-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.75rem;
}

.clearance-table th,
.clearance-table td {
  padding: 0.78rem 0;
  border-bottom: 1px solid var(--stone-line);
  text-align: left;
  vertical-align: top;
  font-size: 0.94rem;
}

.clearance-table th {
  width: 42%;
  font-weight: 500;
  color: var(--ink-muted);
  padding-right: 1rem;
}

.clearance-table td {
  color: var(--ink);
  font-weight: 500;
}

.clearance-result {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.clearance-check {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--status-available);
  flex-shrink: 0;
}

.pedigree-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  padding-top: 0.6rem;
}

.pedigree-strip div {
  padding-top: 0.7rem;
  border-top: 1px solid var(--stone-line);
}

.pedigree-label {
  display: block;
  font-size: 0.82rem;
  color: var(--ink-muted);
  margin-bottom: 0.25rem;
}

.pedigree-name {
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
}

/* Vista comparativa do casal */
.pair-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 3.5vw, 3rem);
}

.pair-grid[hidden] {
  display: none;
}

.pair-col figure {
  margin: 0 0 1.25rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background-color: var(--stone-soft);
}

.pair-col img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 22%;
}

.pair-col h3 {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  font-weight: 500;
}

.pair-col p {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: var(--ink-muted);
}

/* ==========================================================================
   04 · Ninhada G ao Vivo + Acesso ao Micro-Painel Mobile (20s)
   ========================================================================== */

.litter-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.82fr);
  gap: clamp(2rem, 4.5vw, 4.5rem);
  align-items: end;
  margin-bottom: clamp(2.2rem, 4.5vw, 3.5rem);
}

.litter-lead {
  margin: 0 0 1.5rem;
  font-size: 1.02rem;
  color: var(--ink-muted);
  max-width: 58ch;
}

.litter-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  padding-block: 1rem;
  border-top: 1px solid var(--stone-line);
  border-bottom: 1px solid var(--stone-line);
  margin-bottom: 1.4rem;
}

.summary-metric {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.litter-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
}

.litter-photos {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 0.85rem;
}

.litter-photos img {
  width: 100%;
  height: 100%;
  min-height: 210px;
  max-height: 280px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

/* Lista editorial regrada dos filhotes */
.puppy-list {
  border-top: 1px solid var(--taupe-mid);
}

.puppy-row {
  display: grid;
  grid-template-columns: minmax(170px, 1.35fr) minmax(130px, 0.9fr) minmax(150px, 1fr) minmax(145px, 0.85fr) auto;
  gap: 1rem;
  align-items: center;
  padding-block: 1.1rem;
  border-bottom: 1px solid var(--stone-line);
  transition: background-color 180ms ease;
}

.puppy-row:hover {
  background-color: rgba(251, 249, 242, 0.45);
}

.puppy-identity strong {
  display: block;
  font-size: 1.04rem;
  font-weight: 600;
  color: var(--ink);
}

.puppy-identity span {
  display: block;
  font-size: 0.86rem;
  color: var(--ink-muted);
}

.puppy-detail {
  font-size: 0.93rem;
  color: var(--ink);
}

.puppy-collar {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.collar-swatch {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(27, 23, 21, 0.25);
  flex-shrink: 0;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.32rem 0.72rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  width: fit-content;
}

.status-badge--available {
  background-color: var(--status-available-bg);
  color: var(--status-available);
}

.status-badge--reserved {
  background-color: var(--status-reserved-bg);
  color: var(--status-reserved);
}

.status-badge--sold {
  background-color: var(--status-sold-bg);
  color: var(--status-sold);
}

.status-mark {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: currentColor;
}

.puppy-cta {
  background: transparent;
  border: 1px solid var(--ink);
  color: var(--ink);
  padding: 0.48rem 0.95rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 160ms ease, color 160ms ease;
}

.puppy-cta:hover {
  background-color: var(--ink);
  color: var(--ivory);
}

.puppy-cta:disabled {
  border-color: var(--stone-line);
  color: var(--ink-muted);
  cursor: default;
  background-color: transparent;
}

.live-note {
  margin: 1.25rem 0 0;
  font-size: 0.88rem;
  color: var(--ink-muted);
}

/* ==========================================================================
   05 · Pré-seleção e Lista de Espera (Fechamento em Taupe Mineral)
   ========================================================================== */

.apply-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.apply-intro {
  margin: 0 0 2rem;
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--ivory-soft);
  max-width: 54ch;
}

.steps-list {
  list-style: none;
  margin: 0 0 2.2rem;
  padding: 0;
}

.steps-list li {
  display: grid;
  grid-template-columns: 2.2rem 1fr;
  gap: 0.8rem;
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
  border-top: 1px solid var(--ivory-rule);
}

.steps-list li:last-child {
  border-bottom: 1px solid var(--ivory-rule);
}

.step-num {
  font-weight: 600;
  color: rgba(251, 249, 242, 0.72);
}

.steps-list strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 1rem;
  color: var(--ivory);
}

.steps-list span {
  display: block;
  font-size: 0.92rem;
  color: var(--ivory-soft);
  line-height: 1.52;
}

.demo-disclosure {
  padding-top: 1.2rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(251, 249, 242, 0.78);
}

/* Formulário em superfície alabastro limpa */
.application-form {
  background-color: var(--alabaster);
  color: var(--ink);
  padding: clamp(1.5rem, 3.2vw, 2.6rem);
  border-radius: var(--radius-md);
  box-shadow: 0 24px 48px -28px rgba(18, 14, 10, 0.45);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
  align-items: end;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.74rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--stone-line);
  background-color: #ffffff;
  color: var(--ink);
  font-size: 0.95rem;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #6b6159;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--copper);
  outline: none;
  box-shadow: 0 0 0 3px rgba(140, 75, 38, 0.16);
}

.field-error {
  font-size: 0.82rem;
  color: #9e2a2b;
  min-height: 1.1em;
}

.form-footer {
  margin-top: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.form-note {
  font-size: 0.84rem;
  color: var(--ink-muted);
  max-width: 34ch;
}

/* Resultado organizado da triagem */
.application-preview {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--stone-line);
}

.application-preview[hidden] {
  display: none;
}

.preview-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.preview-head strong {
  font-size: 1rem;
  color: var(--status-available);
}

.preview-box {
  margin: 0 0 1rem;
  padding: 1rem 1.1rem;
  background-color: var(--stone-soft);
  border-radius: var(--radius-sm);
  border: 1px solid var(--stone-line);
  font-size: 0.9rem;
  line-height: 1.58;
  white-space: pre-wrap;
  color: var(--ink);
}

.preview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ==========================================================================
   Rodapé minimalista
   ========================================================================== */

.site-footer {
  background-color: var(--alabaster);
  border-top: 1px solid var(--stone-line);
  padding-block: 2.4rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.footer-brand {
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink);
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
}

.text-btn {
  background: transparent;
  border: 0;
  padding: 0;
  color: var(--ink);
  text-decoration: underline;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
}

/* ==========================================================================
   Micro-Painel Mobile do Criador (20s Demo Drawer)
   ========================================================================== */

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background-color: rgba(27, 23, 21, 0.48);
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms ease;
}

.drawer-backdrop[data-open="true"] {
  opacity: 1;
  pointer-events: auto;
}

.breeder-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  width: min(440px, 100vw);
  background-color: var(--alabaster);
  color: var(--ink);
  box-shadow: -16px 0 44px rgba(18, 14, 10, 0.25);
  transform: translateX(100%);
  transition: transform 320ms var(--ease-out-expo);
  display: flex;
  flex-direction: column;
}

.breeder-drawer[data-open="true"] {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--stone-line);
}

.drawer-header h2 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.drawer-close {
  background: transparent;
  border: 1px solid var(--stone-line);
  border-radius: var(--radius-sm);
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink);
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.4rem 1.5rem 2rem;
}

.pin-gate {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pin-gate[hidden],
.drawer-controls[hidden] {
  display: none;
}

.pin-hint {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-muted);
  line-height: 1.55;
}

.pin-row {
  display: flex;
  gap: 0.65rem;
}

.pin-input {
  flex: 1;
  padding: 0.72rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--stone-line);
  background: #ffffff;
  font-size: 1.15rem;
  letter-spacing: 0.25em;
  text-align: center;
}

.drawer-item {
  padding-block: 1rem;
  border-bottom: 1px solid var(--stone-line);
}

.drawer-item-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.65rem;
}

.drawer-item-head strong {
  font-size: 0.98rem;
}

.drawer-item-head span {
  font-size: 0.84rem;
  color: var(--ink-muted);
}

.segmented {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
}

.seg-btn {
  padding: 0.55rem 0.4rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--stone-line);
  background: #ffffff;
  font-size: 0.84rem;
  font-weight: 500;
  cursor: pointer;
  color: var(--ink-muted);
  transition: background-color 140ms ease, color 140ms ease, border-color 140ms ease;
}

.seg-btn[aria-pressed="true"][data-state="available"] {
  background-color: var(--status-available);
  border-color: var(--status-available);
  color: var(--ivory);
}

.seg-btn[aria-pressed="true"][data-state="reserved"] {
  background-color: var(--status-reserved);
  border-color: var(--status-reserved);
  color: var(--ivory);
}

.seg-btn[aria-pressed="true"][data-state="sold"] {
  background-color: var(--status-sold);
  border-color: var(--status-sold);
  color: var(--ivory);
}

.drawer-footer-bar {
  margin-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.toast-live {
  font-size: 0.85rem;
  color: var(--status-available);
  font-weight: 500;
}

/* ==========================================================================
   Responsividade (1280px, tablet e mobile 390px no 4G)
   ========================================================================== */

@media (max-width: 1080px) {
  .hero-stage {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: start;
  }

  .hero-figure {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: end;
    max-width: 340px;
  }

  .hero-specs {
    grid-column: 1;
    padding-top: 0;
  }

  .litter-pill {
    margin-left: 0;
  }

  .litter-top,
  .apply-layout,
  .history-feature,
  .dog-profile {
    grid-template-columns: 1fr;
  }

  .journey-layout {
    grid-template-columns: 1fr;
    gap: 2.75rem;
  }

  .journey-aside {
    position: static;
  }

  .journey-intro {
    max-width: 62ch;
    margin-bottom: 1.6rem;
  }

  .puppy-row {
    grid-template-columns: 1.2fr 0.9fr 1fr auto;
  }

  .puppy-collar {
    display: none;
  }
}

@media (max-width: 780px) {
  .section-band {
    padding: 3.5rem 0.75rem;
  }

  .section-band--history {
    padding: 2.25rem 0.75rem 3.5rem;
  }

  .section-heading {
    font-size: 1.65rem;
    margin-bottom: 1.5rem;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .primary-nav {
    display: none;
  }

  .hero-band {
    min-height: auto;
  }

  .hero-stage {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding-top: 1rem;
  }

  .hero-lead {
    padding-bottom: 0;
  }

  .hero-numeral {
    top: -1.8rem;
    left: -0.6rem;
    font-size: 8.5rem;
  }

  .hero-title {
    font-size: clamp(2.6rem, 11.5vw, 3.6rem);
    margin-bottom: 1.35rem;
  }

  .hero-specs {
    grid-column: 1;
    padding-bottom: 0.5rem;
  }

  .hero-figure {
    grid-column: 1;
    grid-row: auto;
    justify-self: center;
    max-width: 300px;
  }

  .hero-figure img {
    max-height: 330px;
  }

  .pair-grid,
  .form-grid,
  .pedigree-strip {
    grid-template-columns: 1fr;
  }

  .journey-timeline {
    padding-left: 2.1rem;
  }

  .journey-node {
    left: -2.1rem;
  }

  .journey-counter {
    font-size: 3.8rem;
  }

  .journey-step-title {
    font-size: 1.35rem;
  }

  .litter-photos {
    grid-template-columns: 1fr;
  }

  .puppy-row {
    grid-template-columns: 1fr auto;
    row-gap: 0.55rem;
  }

  .puppy-detail {
    grid-column: 1 / -1;
    color: var(--ink-muted);
    font-size: 0.88rem;
  }

  .puppy-cta {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
