/* =========================================================
   Pet World Hotel Creche — estilos
   ========================================================= */

:root {
  --bark: #1f2a22;
  --bark-soft: #3a473e;
  --stone: #66726a;
  --cream: #faf6ee;
  --snow: #ffffff;
  --sand: #e8e0d0;
  --leaf: #15803d;
  --leaf-dark: #116530;
  --leaf-soft: #dcf0e2;
  --biscuit: #e9b872;
  --forest: #14301f;

  --r-lg: 22px;
  --r-sm: 12px;
  --soft-shadow: 0 20px 45px -22px rgba(20, 48, 31, 0.35);

  --f-title: "Lora", Georgia, serif;
  --f-text: "Open Sans", system-ui, sans-serif;
}

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

html { scroll-padding-top: 80px; }

body {
  margin: 0;
  font-family: var(--f-text);
  line-height: 1.7;
  color: var(--bark);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--f-title);
  line-height: 1.15;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.7rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }
a { color: inherit; }

.wrap {
  width: min(1140px, 100% - 32px);
  margin-inline: auto;
}

.tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--leaf);
  background: var(--leaf-soft);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
}

.tag--dark {
  color: var(--biscuit);
  background: rgba(233, 184, 114, 0.14);
}

/* ---------- Botões ---------- */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  background: var(--leaf);
  color: var(--snow);
  font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--leaf);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.cta:hover { background: var(--leaf-dark); border-color: var(--leaf-dark); transform: translateY(-2px); }

.cta--outline { background: transparent; color: var(--bark); border-color: var(--bark); }
.cta--outline:hover { background: var(--bark); border-color: var(--bark); color: var(--snow); }

.cta--cream { background: var(--cream); border-color: var(--cream); color: var(--forest); }
.cta--cream:hover { background: var(--snow); border-color: var(--snow); }

.cta--sm { padding: 0.5rem 1.1rem; font-size: 0.92rem; }

/* ---------- Logo ---------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}

.brand__paw {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--leaf);
  flex: none;
}

.brand__paw::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 17px;
  width: 18px;
  height: 14px;
  border-radius: 50% 50% 45% 45%;
  background: var(--cream);
}

.brand__paw::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cream);
  box-shadow: 7px -3px 0 var(--cream), 14px 0 0 var(--cream);
}

.brand__name {
  font-family: var(--f-title);
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1.05;
  display: flex;
  flex-direction: column;
}

.brand__name small {
  font-family: var(--f-text);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
  margin-top: 3px;
}

/* ---------- Cabeçalho ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 238, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--sand);
}

.topbar__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.menu {
  display: flex;
  align-items: center;
  gap: 1.9rem;
}

.menu a:not(.cta) {
  text-decoration: none;
  font-weight: 500;
  color: var(--bark-soft);
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.2s;
}

.menu a:not(.cta):hover { border-color: var(--leaf); }

.burger-check,
.burger { display: none; }

/* ---------- Abertura ---------- */
.opening {
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(3rem, 7vw, 5rem);
  overflow: hidden;
}

.opening__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.opening__lead {
  font-size: 1.12rem;
  color: var(--stone);
  max-width: 34rem;
  margin-bottom: 2rem;
}

.opening__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.opening__photo { margin: 1.5rem 0 0; }
.opening__photo img { width: 100%; border-radius: var(--r-lg); display: block; }

/* Visual: casinha de cachorro */
.kennel {
  position: relative;
  width: 100%;
  max-width: 430px;
  aspect-ratio: 1;
  justify-self: center;
}

.kennel__sun {
  position: absolute;
  top: 4%;
  right: 6%;
  width: 28%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--biscuit);
}

.kennel__ground {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8%;
  height: 14%;
  border-radius: 999px;
  background: var(--leaf-soft);
}

.kennel__house {
  position: absolute;
  left: 14%;
  bottom: 14%;
  width: 62%;
  height: 46%;
  background: var(--leaf);
  border-radius: 6px 6px 10px 10px;
}

.kennel__house::before {
  content: "";
  position: absolute;
  left: -8%;
  bottom: 100%;
  width: 116%;
  height: 62%;
  background: var(--forest);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.kennel__door {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 34%;
  height: 62%;
  transform: translateX(-50%);
  background: var(--forest);
  border-radius: 999px 999px 0 0;
}

.kennel__bone {
  position: absolute;
  right: 4%;
  bottom: 12%;
  width: 22%;
  height: 8%;
  background: var(--snow);
  border-radius: 999px;
  transform: rotate(-12deg);
  box-shadow: var(--soft-shadow);
}

.fact {
  position: absolute;
  background: var(--snow);
  border-radius: var(--r-sm);
  padding: 0.8rem 1.1rem;
  box-shadow: var(--soft-shadow);
  display: flex;
  flex-direction: column;
  min-width: 140px;
}

.fact span {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--stone);
}

.fact strong { font-family: var(--f-title); font-size: 1.2rem; }

.fact--one { top: 8%; left: -4%; }
.fact--two { top: 40%; right: -6%; }
.fact--three { bottom: 0; left: 4%; }

/* ---------- Faixa ---------- */
.ribbon {
  background: var(--forest);
  color: var(--snow);
  padding: 2.5rem 0;
}

.ribbon__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.ribbon__item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-left: 1.1rem;
  border-left: 3px solid var(--biscuit);
}

.ribbon__item strong {
  font-family: var(--f-title);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1;
}

.ribbon__item span { color: #bcd0c2; font-size: 0.93rem; }

/* ---------- Seções ---------- */
.block { padding: clamp(4rem, 9vw, 6.5rem) 0; }
.block--white { background: var(--snow); }

.block__head { max-width: 640px; margin-bottom: 2.8rem; }

/* ---------- Sobre ---------- */
.story {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

.story__text { font-size: 1.05rem; color: var(--bark-soft); }
.story__photo { margin: 0 0 1.5rem; }
.story__photo img { width: 100%; border-radius: var(--r-lg); display: block; }

/* ---------- Serviços ---------- */
.care {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.care__card {
  background: var(--cream);
  border: 1px solid var(--sand);
  border-radius: var(--r-lg);
  padding: 2rem;
  transition: transform 0.25s, box-shadow 0.25s;
}

.care__card:hover { transform: translateY(-5px); box-shadow: var(--soft-shadow); }

.care__no {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--leaf-soft);
  color: var(--leaf-dark);
  font-family: var(--f-title);
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.care__card p { color: var(--stone); margin: 0; }

.care__card--call {
  background: var(--leaf);
  border-color: var(--leaf);
  color: var(--snow);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.care__card--call p { color: rgba(255, 255, 255, 0.92); margin-bottom: 1.5rem; }

/* ---------- Como funciona (fundo escuro) ---------- */
.stay {
  background: var(--forest);
  color: var(--snow);
  overflow: hidden;
}

.stay__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.stay__steps {
  list-style: none;
  padding: 0;
  margin: 1.75rem 0 0;
  display: grid;
  gap: 1.3rem;
}

.stay__steps li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 1rem;
}

.stay__steps li::before {
  content: "";
  width: 24px;
  height: 24px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--biscuit)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314301f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E")
    center / 14px no-repeat;
}

.stay__steps strong { display: block; font-family: var(--f-title); font-size: 1.1rem; }
.stay__steps span { color: #c3d6c9; }

.stay__intro { color: #c3d6c9; font-size: 1.05rem; }

/* Visual: fileira de baias */
.stalls {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 380px;
  width: 100%;
  justify-self: center;
}

.stalls__box {
  aspect-ratio: 3 / 4;
  border-radius: 999px 999px 10px 10px;
  background: #21452f;
  position: relative;
}

.stalls__box::after {
  content: "";
  position: absolute;
  left: 22%;
  right: 22%;
  bottom: 0;
  height: 46%;
  border-radius: 999px 999px 0 0;
  background: var(--forest);
}

.stalls__box--lit { background: var(--biscuit); }
.stalls__box--green { background: var(--leaf); }

/* ---------- Perguntas ---------- */
.faq {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.faq__item {
  background: var(--snow);
  border: 1px solid var(--sand);
  border-left: 4px solid var(--leaf);
  border-radius: var(--r-sm);
  padding: 1.5rem 1.6rem;
}

.faq__item h3 { font-size: 1.1rem; margin-bottom: 0.4em; }
.faq__item p { margin: 0; color: var(--stone); }

/* ---------- Dados ---------- */
.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0;
  background: var(--sand);
  border: 1px solid var(--sand);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.facts__cell { background: var(--cream); padding: 1.4rem 1.7rem; }
.facts__cell--wide { grid-column: span 3; }

.facts dt {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 0.3rem;
}

.facts dd {
  margin: 0;
  font-family: var(--f-title);
  font-size: 1.12rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.15rem 0.8rem;
  border-radius: 999px;
  background: var(--leaf-soft);
  color: var(--leaf-dark);
  font-family: var(--f-text);
  font-size: 0.92rem;
}

.status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

/* ---------- Contato ---------- */
.reach { padding-top: 0; }

.reach__box {
  background: var(--forest);
  color: var(--snow);
  border-radius: 32px;
  padding: clamp(2rem, 6vw, 4rem);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.reach__box p { color: #c3d6c9; margin: 0; }

.reach__list { display: grid; gap: 0.9rem; }

.reach__link {
  display: flex;
  flex-direction: column;
  padding: 1.1rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--r-sm);
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}

.reach__link span {
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--biscuit);
}

.reach__link strong { font-family: var(--f-title); font-size: 1.1rem; overflow-wrap: anywhere; }

a.reach__link:hover { background: rgba(255, 255, 255, 0.07); border-color: var(--biscuit); }

/* ---------- Rodapé ---------- */
.bottom {
  border-top: 1px solid var(--sand);
  padding: 2.5rem 0;
  font-size: 0.9rem;
  color: var(--stone);
}

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

.bottom p { margin: 0; }

.bottom__legal { display: flex; flex-direction: column; gap: 0.3rem; align-items: flex-end; }
.bottom__legal nav { display: flex; gap: 1rem; font-size: 0.82rem; }
.bottom__legal nav a { color: var(--stone); }

.brand--foot .brand__paw { width: 30px; height: 30px; }
.brand--foot .brand__paw::before { left: 8px; top: 14px; width: 14px; height: 11px; }
.brand--foot .brand__paw::after { left: 7px; top: 6px; width: 5px; height: 5px; box-shadow: 6px -3px 0 var(--cream), 12px 0 0 var(--cream); }
.brand--foot .brand__name { font-size: 1.15rem; color: var(--bark); }

/* ---------- Páginas legais ---------- */
.legal-page {
  width: min(760px, 100% - 32px);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5rem) 0;
}

.legal-page h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.legal-page h2 { font-size: 1.35rem; margin-top: 2.2rem; }
.legal-page p { color: var(--bark-soft); }

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-width: 960px) {
  .opening__grid,
  .story,
  .stay__grid,
  .reach__box { grid-template-columns: 1fr; }

  .kennel { max-width: 360px; }
  .ribbon__row { grid-template-columns: repeat(2, 1fr); }
  .faq { grid-template-columns: 1fr; }

  .bottom__row { grid-template-columns: 1fr; gap: 1rem; }
  .bottom__legal { align-items: flex-start; }
}

@media (max-width: 760px) {
  .burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    cursor: pointer;
  }

  .burger span {
    display: block;
    height: 2px;
    width: 24px;
    margin-inline: auto;
    background: var(--bark);
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.25s;
  }

  .menu {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 16px 1.25rem;
    background: var(--cream);
    border-bottom: 1px solid var(--sand);
    display: none;
  }

  .menu a:not(.cta) { padding: 0.9rem 0; border-bottom: 1px solid var(--sand); }
  .menu .cta { margin-top: 1rem; }

  .burger-check:checked ~ .menu { display: flex; }

  .burger-check:checked + .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger-check:checked + .burger span:nth-child(2) { opacity: 0; }
  .burger-check:checked + .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .care { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .facts__cell--wide { grid-column: auto; }
}

@media (max-width: 560px) {
  .ribbon__row { grid-template-columns: 1fr; }
  .fact { min-width: 0; padding: 0.6rem 0.85rem; }
  .fact strong { font-size: 1rem; }
  .fact--one { left: 0; }
  .fact--two { right: 0; }
  .opening__actions .cta { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { }
  * { transition: none !important; }
}
