/* ============ tokens ============ */
:root {
  --cream: #FFF7EC;
  --cream-warm: #FFFCF7;
  --sand: #FFE9CC;
  --royal: #1B3B8F;
  --royal-deep: #0F2050;
  --royal-soft: #E7ECFA;
  --tangerine: #F5871F;
  --tangerine-deep: #D96E0C;
  --tangerine-soft: #FDE3C6;
  --ink: #142042;
  --ink-soft: #4B5578;
  --line: rgba(20, 32, 66, .12);

  --font-display: "Fredoka", "Segoe UI", sans-serif;
  --font-body: "Nunito", "Segoe UI", sans-serif;
  --font-mono: "Space Mono", "Courier New", monospace;

  --max: 1180px;
  --pad: clamp(1.25rem, 4vw, 3.5rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}

em { font-style: normal; color: var(--tangerine-deep); }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--tangerine);
  outline-offset: 3px;
  border-radius: 4px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--royal);
  margin: 0 0 0.9rem;
}
.eyebrow--light { color: var(--tangerine); }
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ============ reading progress bar ============ */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--tangerine);
  z-index: 100;
}

/* ============ lazy image fade-in ============ */
.fade-img { opacity: 0; transition: opacity .6s ease; }
.fade-img.is-loaded { opacity: 1; }

/* ============ nav ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: .7rem var(--pad);
  background: rgba(255, 247, 236, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: padding .25s ease, box-shadow .25s ease;
}
.nav.nav--scrolled { padding-top: .45rem; padding-bottom: .45rem; }
.nav.nav--scrolled .nav__mark img { width: 34px; height: 34px; }
.nav__mark {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
  line-height: 1.15;
}
.nav__mark img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--royal);
  object-fit: cover;
  flex: none;
  transition: width .25s ease, height .25s ease;
}
.nav__mark-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  min-width: 0;
  white-space: nowrap;
}
.nav__mark-text small {
  font-style: normal;
  font-weight: 700;
  color: var(--tangerine-deep);
  font-size: .74rem;
  letter-spacing: .02em;
}
.nav__links {
  display: flex;
  gap: 1.9rem;
  font-size: 0.94rem;
  font-weight: 700;
}
.nav__links a { position: relative; color: var(--ink-soft); transition: color 0.2s ease; }
.nav__links a:hover { color: var(--royal); }
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -6px;
  height: 2px;
  background: var(--tangerine);
  transition: right .25s ease;
}
.nav__links a.is-active { color: var(--royal); }
.nav__links a.is-active::after { right: 0; }

@media (max-width: 860px) {
  .nav__links { display: none; }
}

@media (max-width: 520px) {
  .nav { padding: .55rem .8rem; gap: .5rem; }
  .nav__mark { font-size: .82rem; gap: .5rem; }
  .nav__mark img { width: 32px; height: 32px; }
  .nav__mark-text small { font-size: .62rem; }
  .nav .btn--primary { padding: .55rem .8rem; font-size: .76rem; white-space: nowrap; }
}

@media (max-width: 360px) {
  .nav__mark-text small { display: none; }
  .nav__mark { font-size: .78rem; }
}

/* ============ buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: 0.75rem 1.4rem;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.92rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn--primary {
  position: relative;
  overflow: hidden;
  background: var(--tangerine);
  color: #fff;
  box-shadow: 0 10px 22px -10px rgba(217, 110, 12, 0.6);
}
.btn--primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 35%;
  height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,.5), transparent);
  transform: skewX(-18deg);
  transition: left .55s ease;
}
.btn--primary:hover { background: var(--tangerine-deep); transform: translateY(-2px); }
.btn--primary:hover::after { left: 120%; }
@media (prefers-reduced-motion: reduce) {
  .btn--primary::after { display: none; }
}
.btn--ghost {
  border: 2px solid var(--royal);
  color: var(--royal);
  background: transparent;
}
.btn--ghost:hover { background: var(--royal); color: #fff; }
.btn--lg { padding: 0.95rem 2rem; font-size: 1rem; }
.btn--block { width: 100%; }

/* ============ hero ============ */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2.25rem, 7vw, 4.5rem) var(--pad) 2rem;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero__title {
  font-size: clamp(2.2rem, 4.4vw, 3.2rem);
  line-height: 1.14;
  letter-spacing: -0.01em;
}
.hero__lede {
  margin-top: 1.4rem;
  max-width: 46ch;
  color: var(--ink-soft);
  font-size: 1.05rem;
}
.hero__actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 1.9rem;
}

/* hero entrance is driven by Motion (see main.js) — spring physics, not CSS keyframes */
.hero__chips span {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--royal);
  background: var(--royal-soft);
  padding: .4rem .8rem;
  border-radius: 999px;
}

/* ---- dog-tag signature element (real die-cut shape, not a rounded box) ---- */
.hero__card { display: flex; justify-content: center; }
.tag {
  position: relative;
  width: 100%;
  max-width: 300px;
  aspect-ratio: 0.86 / 1;
  background: var(--royal);
  clip-path: polygon(11% 0%, 89% 0%, 100% 15%, 100% 79%, 50% 100%, 0% 79%, 0% 15%);
  filter: drop-shadow(0 22px 34px rgba(15, 32, 80, 0.45));
  padding: 2.5rem 1.5rem 3.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: .9rem;
  animation: tagFloat 5s ease-in-out 1s infinite;
}
@keyframes tagFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}
@media (prefers-reduced-motion: reduce) {
  .tag { animation: none; }
}
.tag__ring {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 7px solid var(--ink);
  background: var(--cream);
  filter: drop-shadow(0 4px 6px rgba(15,32,80,.3));
}
.tag__ring::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: var(--cream);
}
.tag img {
  width: 68%;
  height: auto;
  aspect-ratio: 1 / 1;
  margin-top: .6rem;
  border-radius: 50%;
  border: 4px solid var(--tangerine);
}
.tag__caption {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--tangerine-soft);
  text-align: center;
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero__card { order: -1; }
  .tag { max-width: 230px; }
}

@media (max-width: 640px) {
  .hero { padding-top: 1.5rem; padding-bottom: 1rem; gap: 1.4rem; }
  .hero__title { font-size: clamp(1.7rem, 8vw, 2.15rem); }
  .hero__lede { font-size: .95rem; margin-top: 1rem; }
  .hero__actions { margin-top: 1.3rem; gap: .7rem; }
  .hero__actions .btn--lg { padding: .8rem 1.3rem; font-size: .86rem; }
  .hero__chips { margin-top: 1.1rem; gap: .5rem; }
  .hero__chips span { font-size: .74rem; padding: .35rem .7rem; }
  .tag { max-width: 180px; padding: 1.6rem 1rem 2.1rem; gap: .6rem; }
  .tag__ring { width: 28px; height: 28px; border-width: 5px; top: -10px; }
  .tag__caption { font-size: .56rem; letter-spacing: .05em; }
}

/* ============ sections ============ */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5.5rem) var(--pad);
}
.section__head { margin-bottom: 2.5rem; max-width: 60ch; }
.section__head h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); }
.section__lede { margin-top: .9rem; color: var(--ink-soft); }

.section--navy {
  max-width: none;
  background: var(--royal-deep);
  color: var(--cream);
}
.section--navy .section__head h2 { color: var(--cream); }
.section--navy .section__lede { color: rgba(255, 247, 236, .74); }
.section--navy .section__inner { max-width: var(--max); margin: 0 auto; }

/* ============ services (cards with a real hanging tag tab) ============ */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 1.6rem;
}
.card {
  position: relative;
  background: var(--cream-warm);
  border: 1.5px solid var(--line);
  border-radius: 6px;
  padding: 2.1rem 1.6rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: .8rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card:hover { border-color: var(--tangerine); transform: translateY(-4px); }
.card__tab {
  position: absolute;
  top: -22px;
  left: 26px;
  width: 44px;
  height: 56px;
  background: var(--royal);
  clip-path: polygon(0% 0%, 100% 0%, 100% 64%, 50% 100%, 0% 64%);
  filter: drop-shadow(0 8px 12px rgba(20,32,66,.3));
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 9px;
}
.card:nth-child(2) .card__tab { background: var(--tangerine); }
.card__tab svg { width: 19px; height: 19px; color: var(--tangerine); }
.card:nth-child(2) .card__tab svg { color: var(--royal); }
.card h3 { font-size: 1.2rem; }
.card p { color: var(--ink-soft); font-size: 0.94rem; flex-grow: 1; }
.card__cta {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--royal);
  padding-top: 0.6rem;
  border-top: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.card__cta:hover { color: var(--tangerine-deep); }

@media (max-width: 980px) { .cards { grid-template-columns: 1fr; } }

/* ============ scroll reveal ============ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
/* higher-specificity override so components keep their own hover transition speed */
.card.reveal { transition: opacity .5s ease, transform .3s ease, border-color .2s ease; }

/* ============ como funciona (a real sequence, numbered) ============ */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.step { padding-top: 1.2rem; border-top: 3px solid var(--tangerine); }
.step__n {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--royal);
  margin-bottom: 0.6rem;
}
.step h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.step p { color: var(--ink-soft); font-size: 0.92rem; }

@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ============ diferenciais (photo cut on a diagonal, plain text panel below — no gradient scrim) ============ */
.diffs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.diff {
  background: var(--cream-warm);
  display: flex;
  flex-direction: column;
}
.diff__media {
  height: 168px;
  clip-path: polygon(0% 0%, 100% 0%, 100% 84%, 0% 100%);
  margin-bottom: -.6rem;
}
.diff__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.diff__mark {
  width: 26px;
  height: 26px;
  color: var(--royal);
  margin: 0 1.2rem;
  flex: none;
}
.diff h3 { color: var(--ink); font-size: 1.02rem; margin: .7rem 1.2rem 0; }
.diff p { color: var(--ink-soft); font-size: .87rem; margin: .4rem 1.2rem 1.3rem; }

.diff--accent .diff__mark--lg { width: 30px; height: 30px; color: var(--tangerine-deep); }

@media (max-width: 980px) { .diffs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .diffs { grid-template-columns: 1fr; } }

/* ============ momentos: a corkboard of pinned photos, not a copied app UI ============ */
.ig-carousel { position: relative; }
.ig-track {
  display: flex;
  align-items: flex-start;
  gap: 1.8rem;
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 1.4rem 1rem 2rem;
}
.ig-track::-webkit-scrollbar { display: none; }
.ig-post {
  flex: 0 0 296px;
  scroll-snap-align: start;
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 16px 28px -20px rgba(20,32,66,.35);
  transition: transform .2s ease, box-shadow .2s ease;
}
.ig-post:hover { transform: translateY(-4px); box-shadow: 0 20px 34px -18px rgba(20,32,66,.45); }
.ig-post__head {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .7rem .8rem;
}
.ig-post__avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--tangerine);
  flex: none;
}
.ig-post__user {
  font-weight: 700;
  font-size: .86rem;
  color: var(--ink);
}
.ig-post__dots { width: 18px; height: 18px; color: var(--ink-soft); margin-left: auto; }
.ig-post__photo { position: relative; display: block; aspect-ratio: 1/1; background: var(--royal-soft); overflow: hidden; }
.ig-post__photo img { width: 100%; height: 100%; object-fit: cover; }
.ig-post__actions {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: .7rem .8rem .3rem;
}
.ig-post__actions svg { width: 22px; height: 22px; color: var(--ink); }
.ig-post__save { margin-left: auto; }
.ig-post__likes {
  display: block;
  padding: .2rem .8rem 0;
  font-size: .8rem;
  font-weight: 700;
  color: var(--ink);
}
.ig-post__caption {
  display: block;
  padding: .35rem .8rem 1rem;
  font-size: .82rem;
  line-height: 1.4;
  color: var(--ink-soft);
}
.ig-post__caption strong { color: var(--ink); font-weight: 700; }

.ig-post--cta {
  background: var(--royal);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  aspect-ratio: 1/1.32;
  padding: 1.5rem 1rem;
  gap: .8rem;
}
.ig-post--cta svg { width: 40px; height: 40px; color: var(--tangerine); }
.ig-post__cta-text { color: #fff; font-weight: 800; font-size: .92rem; }

@media (max-width: 640px) {
  .ig-post { flex-basis: 250px; }
}

.ig-carousel__nav {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--cream-warm);
  color: var(--royal);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 8px 20px -12px rgba(20,32,66,.35);
}
.ig-carousel__nav--prev { left: -14px; }
.ig-carousel__nav--next { right: -14px; }

@media (max-width: 640px) {
  .ig-carousel__nav { display: none; }
}
/* ============ planos ============ */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.plan {
  background: var(--cream-warm);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.8rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .9rem;
  text-align: left;
}
.plan h3 { font-size: 1.1rem; }
.plan p { color: var(--ink-soft); font-size: .9rem; }
.plan__value {
  font-family: var(--font-mono);
  font-size: .82rem;
  font-weight: 700;
  color: var(--tangerine-deep);
  text-transform: uppercase;
  letter-spacing: .04em;
}

@media (max-width: 980px) { .plans { grid-template-columns: 1fr; } }

.plans-cta {
  margin-top: 2.5rem;
  text-align: center;
  padding: 2rem;
  background: var(--royal);
  border-radius: 24px;
  color: #fff;
}
.plans-cta h3 { color: #fff; font-size: 1.4rem; margin-bottom: .6rem; }
.plans-cta p { color: rgba(255,255,255,.82); margin-bottom: 1.4rem; }

/* ============ contato ============ */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}
.contact__list { display: flex; flex-direction: column; gap: 1.3rem; margin-top: 1.6rem; }
.contact__item { display: flex; gap: .9rem; align-items: flex-start; }
.contact__icon {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--royal-soft);
  color: var(--royal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 9px;
}
.contact__icon svg { width: 100%; height: 100%; }
.contact__item h4 { font-family: var(--font-display); font-weight: 600; font-size: 1rem; margin-bottom: .2rem; }
.contact__item p, .contact__item a { color: var(--ink-soft); font-size: .92rem; }
.contact__item a:hover { color: var(--royal); }
.contact__map {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4/3;
}
.contact__map iframe { width: 100%; height: 100%; border: 0; }

/* ============ form ============ */
.form-card {
  background: var(--cream-warm);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(1.6rem, 3vw, 2.2rem);
}
.form-card h3 { font-size: 1.25rem; margin-bottom: .4rem; }
.form-card__lede { color: var(--ink-soft); font-size: .92rem; margin-bottom: 1.5rem; }
.field { margin-bottom: 1.1rem; display: flex; flex-direction: column; gap: .4rem; }
.field label { font-size: .84rem; font-weight: 700; color: var(--ink); }
.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: .95rem;
  padding: .75rem .9rem;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink);
}
.field input:invalid:not(:placeholder-shown),
.field textarea:invalid:not(:placeholder-shown) {
  border-color: #D14343;
}
.field textarea { resize: vertical; min-height: 90px; }
.field__error {
  font-size: .78rem;
  color: #D14343;
  display: none;
}
.field.has-error .field__error { display: block; }
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #D14343; }
.form-note {
  font-size: .78rem;
  color: var(--ink-soft);
  margin-top: .9rem;
}
.form-success {
  display: none;
  align-items: center;
  gap: .6rem;
  background: var(--royal-soft);
  color: var(--royal);
  padding: .9rem 1rem;
  border-radius: 12px;
  font-size: .88rem;
  font-weight: 700;
  margin-bottom: 1.1rem;
}
.form-success.show { display: flex; }

@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }

/* ============ faq ============ */
.faq { display: flex; flex-direction: column; gap: .9rem; max-width: 760px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--cream-warm);
  overflow: hidden;
}
.faq-item summary {
  padding: 1.1rem 1.3rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--tangerine);
  flex: none;
  transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.faq-item__body p { padding: 0 1.3rem 1.2rem; color: var(--ink-soft); font-size: .92rem; }

/* ============ final cta ============ */
.cta {
  background: var(--royal-deep);
  color: var(--cream);
  padding: clamp(3.5rem, 8vw, 6rem) var(--pad);
}
.cta__inner { max-width: 640px; margin: 0 auto; text-align: center; }
.dog-draw { display: flex; justify-content: center; margin-bottom: 1.6rem; }
.dog-draw svg { width: 200px; height: auto; overflow: visible; }
.dog-draw path {
  fill: none;
  stroke: var(--tangerine);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cta h2 { color: var(--cream); font-size: clamp(2rem, 4vw, 2.6rem); margin-bottom: 1rem; }
.cta__lede { color: rgba(255, 247, 236, .74); margin-bottom: 2rem; }
.cta__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1.5rem;
  margin-top: 2.2rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: rgba(255, 247, 236, .68);
}

/* ============ footer ============ */
.footer {
  border-top: 1px solid var(--line);
}
.footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.4rem var(--pad) 1.4rem;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
}
.footer__brand { display: flex; align-items: center; gap: .7rem; }
.footer__brand img { width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--royal); }
.footer__brand strong { font-family: var(--font-display); font-weight: 600; }
.footer__brand p { color: var(--ink-soft); font-size: .84rem; margin-top: .2rem; }
.footer h5 { font-family: var(--font-mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--royal); margin-bottom: .8rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .55rem; }
.footer a { color: var(--ink-soft); font-size: .88rem; }
.footer a:hover { color: var(--royal); }
.footer__bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.2rem var(--pad) 1.6rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-soft);
}

@media (max-width: 780px) {
  .footer__inner { grid-template-columns: 1fr; }
}

/* ============ cookie banner ============ */
.cookie-bar {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 80;
  max-width: 620px;
  margin: 0 auto;
  background: var(--ink);
  color: var(--cream);
  border-radius: 18px;
  padding: 1.1rem 1.3rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 20px 40px -18px rgba(15, 32, 80, .5);
  transform: translateY(140%);
  transition: transform .4s ease;
}
.cookie-bar.show { transform: translateY(0); }
.cookie-bar p { font-size: .82rem; color: rgba(255,247,236,.85); flex: 1 1 240px; }
.cookie-bar .btn { flex: none; padding: .6rem 1.2rem; font-size: .82rem; }

/* ============ whatsapp float ============ */
.wa-float {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 70;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 30px -12px rgba(0,0,0,.4);
  transition: transform .18s ease;
}
.wa-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  animation: waPulse 2.6s ease-out infinite;
  z-index: -1;
}
@keyframes waPulse {
  0% { transform: scale(1); opacity: .55; }
  100% { transform: scale(1.9); opacity: 0; }
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

@media (prefers-reduced-motion: reduce) {
  .wa-float::before { animation: none; display: none; }
}

/* ============ lightbox (momentos gallery viewer) ============ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  padding: 2rem;
  background: rgba(10, 20, 50, .92);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox__figure { margin: 0; max-width: min(84vw, 440px); text-align: center; }
.lightbox__figure img { width: 100%; border-radius: 4px; display: block; }
.lightbox__figure figcaption {
  margin-top: 1rem;
  color: var(--cream);
  font-style: italic;
  font-size: .92rem;
}
.lightbox__close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.14);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background .2s ease;
}
.lightbox__close:hover { background: rgba(255,255,255,.26); }

/* ============ 404 ============ */
.notfound {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  gap: 1.3rem;
}
.notfound img { width: 96px; height: 96px; border-radius: 50%; border: 3px solid var(--royal); }
.notfound h1 { font-size: clamp(2rem, 6vw, 3rem); }
.notfound p { color: var(--ink-soft); max-width: 46ch; }
