/* ============================================
   MOSCAPET HOTEL — Design tokens & base styles
   ============================================ */

:root {
  --navy: #2e266d;
  --navy-light: #433a8a;
  --pink: #f1388e;
  --hotpink: #ff65c3;
  --cyan: #5ce1e6;
  --blush: #fff4fa;
  --lavender: #f7f3ff;
  --white: #ffffff;
  --ink: #2e266d;

  --font-display: 'Fredoka', sans-serif;
  --font-body: 'Poppins', sans-serif;

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;

  --shadow-soft: 0 18px 40px rgba(46, 38, 109, 0.14);
  --shadow-card: 0 10px 24px rgba(46, 38, 109, 0.1);

  --container: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--blush);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.15;
  font-weight: 600;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
h3 { font-size: 1.3rem; }

p { max-width: 62ch; }

a { color: inherit; text-decoration: none; }

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

.btn-primary {
  background: var(--pink);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(241, 56, 142, 0.35);
}
.btn-primary:hover { box-shadow: 0 14px 30px rgba(241, 56, 142, 0.45); }

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-ghost:hover { background: var(--navy); color: var(--white); }

.btn-light {
  background: var(--white);
  color: var(--pink);
}

/* ---------- Pill tag ---------- */
.tag-pill {
  display: inline-block;
  background: var(--hotpink);
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 7px 18px;
  border-radius: 999px;
  transform: rotate(-2deg);
}

/* ---------- Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(46, 38, 109, 0.08);
}
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 244, 250, 0.92);
  backdrop-filter: blur(10px);
  z-index: -1;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--navy);
}
.nav-logo .paw { font-size: 1.4rem; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--navy);
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 3px;
  background: var(--pink);
  border-radius: 3px;
  transition: width .2s ease;
}
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { width: 100%; }
.nav-cta { display: none; }
.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  font-size: 1.6rem; color: var(--navy);
}

@media (min-width: 860px) {
  .nav-cta { display: inline-flex; }
}
@media (max-width: 859px) {
  .nav-links {
    position: fixed; inset: 65px 0 0 0;
    background: var(--blush);
    flex-direction: column;
    justify-content: flex-start;
    padding: 40px 24px;
    gap: 28px;
    transform: translateX(100%);
    transition: transform .3s ease;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-toggle { display: block; }
}

/* ---------- Blobs (decorative) ---------- */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(0px);
  z-index: 0;
}

/* ---------- Section rhythm ---------- */
section { position: relative; padding: 88px 0; }
.section-lavender { background: var(--lavender); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy h2, .section-navy h3 { color: var(--white); }

.eyebrow {
  font-family: var(--font-display);
  color: var(--pink);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 10px;
  display: inline-block;
}

/* ---------- Zigzag divider ---------- */
.zigzag-top {
  clip-path: polygon(
    0% 18px, 4% 0, 8% 18px, 12% 0, 16% 18px, 20% 0, 24% 18px, 28% 0,
    32% 18px, 36% 0, 40% 18px, 44% 0, 48% 18px, 52% 0, 56% 18px, 60% 0,
    64% 18px, 68% 0, 72% 18px, 76% 0, 80% 18px, 84% 0, 88% 18px, 92% 0,
    96% 18px, 100% 0, 100% 100%, 0% 100%
  );
}

/* ---------- Hero ---------- */
.hero {
  padding: 56px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; }
}
.hero-copy p { font-size: 1.1rem; color: var(--navy-light); margin: 18px 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-video-frame {
  position: relative;
  max-width: 320px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  background: var(--white);
  padding: 10px;
  box-shadow: var(--shadow-soft);
  transform: rotate(2deg);
}
.hero-video-frame video {
  width: 100%;
  border-radius: calc(var(--radius-lg) - 8px);
  display: block;
  aspect-ratio: 9/16;
  object-fit: cover;
  background: var(--navy);
}

/* ---------- Diferenciais strip ---------- */
.diferenciais {
  background: var(--navy);
  padding: 56px 0;
  overflow: hidden;
}
.diferenciais-track {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  max-width: 920px;
  margin: 0 auto;
}
@media (min-width: 560px) { .diferenciais-track { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 860px) { .diferenciais-track { grid-template-columns: repeat(3, 1fr); } }
.diferencial-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.18);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.95rem;
  padding: 12px 22px;
  border-radius: 999px;
}
.diferencial-pill .check {
  width: 22px; height: 22px;
  background: var(--cyan);
  color: var(--navy);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700; flex-shrink: 0;
}

/* ---------- Review bubbles ---------- */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-top: 48px;
}
@media (min-width: 720px) {
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1040px) {
  .reviews-grid { grid-template-columns: repeat(3, 1fr); }
}
.review-bubble {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  box-shadow: var(--shadow-card);
  position: relative;
}
.review-bubble:nth-child(3n+1) { transform: rotate(-1.4deg); }
.review-bubble:nth-child(3n+2) { transform: rotate(1deg); }
.review-bubble:nth-child(3n+3) { transform: rotate(-0.6deg); }
.review-stars { color: var(--pink); letter-spacing: 2px; margin-bottom: 10px; font-size: 1.05rem; }
.review-quote { font-size: 0.97rem; color: var(--navy-light); margin-bottom: 16px; }
.review-name { font-family: var(--font-display); font-weight: 600; color: var(--navy); font-size: 0.95rem; }

/* ---------- Institutional teaser ---------- */
.teaser {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
@media (min-width: 860px) {
  .teaser { grid-template-columns: 0.85fr 1.15fr; }
}
.teaser-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.teaser-photo img { width: 100%; height: 100%; object-fit: cover; }
.teaser-copy h2 { margin-bottom: 18px; }
.teaser-copy p { color: var(--navy-light); margin-bottom: 14px; font-size: 1.05rem; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--pink);
  color: var(--white);
  text-align: center;
  padding: 90px 0 72px;
}
.cta-banner h2 { color: var(--white); margin-bottom: 20px; }
.cta-banner p { margin: 0 auto 30px; color: rgba(255,255,255,0.9); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin-bottom: 36px;
}
@media (min-width: 760px) {
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 10px;
}
.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 14px;
}
.footer-col p, .footer-col a { color: rgba(255,255,255,0.75); font-size: 0.93rem; display: block; margin-bottom: 8px; }
.footer-col a:hover { color: var(--cyan); }
.footer-social { display: flex; gap: 14px; margin-top: 10px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 22px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  text-align: center;
}

/* ---------- WhatsApp floating button ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 22px; right: 22px;
  z-index: 200;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.45);
  font-size: 1.6rem;
  transition: transform .18s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: 64px 0 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero p { max-width: 54ch; margin: 14px auto 0; color: var(--navy-light); font-size: 1.08rem; }

/* ---------- Gallery (polaroid) ---------- */
.gallery-grid {
  column-count: 2;
  column-gap: 18px;
  margin-top: 20px;
}
@media (min-width: 640px) { .gallery-grid { column-count: 3; } }
@media (min-width: 960px) { .gallery-grid { column-count: 4; } }
.polaroid {
  background: var(--white);
  padding: 10px 10px 18px;
  border-radius: 6px;
  box-shadow: var(--shadow-card);
  margin-bottom: 18px;
  break-inside: avoid;
  display: inline-block;
  width: 100%;
}
.polaroid:nth-child(3n+1) { transform: rotate(-2deg); }
.polaroid:nth-child(3n+2) { transform: rotate(1.6deg); }
.polaroid:nth-child(3n+3) { transform: rotate(-1deg); }
.polaroid img { border-radius: 3px; width: 100%; height: auto; display: block; }

/* ---------- Video section (Sobre) ---------- */
.video-wrap {
  max-width: 760px;
  margin: 36px auto 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 16/9;
  background: var(--navy);
}
.video-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Timeline badge (5 anos hint) ---------- */
.badge-years {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--lavender);
  border-radius: 999px;
  padding: 10px 22px 10px 10px;
  margin-top: 10px;
}
.badge-years .num {
  width: 44px; height: 44px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 600; font-size: 1.1rem;
}
.badge-years span.label { font-family: var(--font-display); font-weight: 500; color: var(--navy); font-size: 0.95rem; }

/* ---------- Avaliações page extras ---------- */
.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  justify-content: center;
  margin-top: 30px;
}
.stat {
  text-align: center;
}
.stat .num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--pink);
  font-weight: 600;
}
.stat .label { color: var(--navy-light); font-size: 0.92rem; }

/* ---------- Contato page ---------- */
.contato-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 880px) {
  .contato-grid { grid-template-columns: 0.9fr 1.1fr; }
}
.contato-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-card);
}
.contato-item { display: flex; gap: 16px; margin-bottom: 24px; }
.contato-item .icon {
  width: 46px; height: 46px; flex-shrink: 0;
  background: var(--lavender);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.contato-item h4 { font-size: 1rem; margin-bottom: 4px; }
.contato-item p, .contato-item a { color: var(--navy-light); font-size: 0.95rem; }
.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  min-height: 380px;
}
.map-frame iframe { width: 100%; height: 100%; min-height: 380px; border: 0; }

.steps-list { counter-reset: step; margin-top: 18px; }
.step-item {
  display: flex; gap: 16px; margin-bottom: 18px; align-items: flex-start;
}
.step-item .step-num {
  counter-increment: step;
  width: 32px; height: 32px; flex-shrink: 0;
  background: var(--pink); color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 600; font-size: 0.9rem;
}
.step-item .step-num::before { content: counter(step); }
.step-item p { color: var(--navy-light); font-size: 0.95rem; margin: 0; }

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

/* ---------- Reveal-on-load ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  animation: reveal-in .7s ease forwards;
}
@keyframes reveal-in {
  to { opacity: 1; transform: translateY(0); }
}

/* =====================================================
   ANIMAÇÕES DE HOVER E PATINHAS
   ===================================================== */

/* ---------- Patinhas que seguem o mouse ---------- */
.paw-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 90;
  overflow: hidden;
}
.paw-print {
  position: absolute;
  width: 22px;
  height: 22px;
  margin: -11px 0 0 -11px;
  opacity: 0;
  animation: paw-fade 1.6s ease-out forwards;
}
@keyframes paw-fade {
  0%   { opacity: 0;   scale: 0.5; }
  15%  { opacity: 0.75; scale: 1; }
  100% { opacity: 0;   scale: 1; }
}

/* ---------- Patinhas caminhando no hero ---------- */
.paw-trail {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.paw-step {
  position: absolute;
  width: 26px;
  height: 26px;
  margin: -13px 0 0 -13px;
  opacity: 0;
  animation: paw-step 2.6s ease-out forwards;
}
@keyframes paw-step {
  0%   { opacity: 0;    scale: 0.4; }
  12%  { opacity: 0.6;  scale: 1; }
  70%  { opacity: 0.45; scale: 1; }
  100% { opacity: 0;    scale: 1; }
}

/* ---------- Hover: botões ---------- */
.btn:active { transform: translateY(0) scale(0.97); }
.btn-ghost:hover { box-shadow: 0 10px 22px rgba(46, 38, 109, 0.22); }
.btn-light:hover { box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18); }

/* ---------- Hover: logo e tag ---------- */
.nav-logo .paw { display: inline-block; transition: transform .3s ease; }
.nav-logo:hover .paw { transform: rotate(-18deg) scale(1.2); }

.tag-pill { transition: transform .25s ease; }
.tag-pill:hover { animation: wiggle .5s ease; }
@keyframes wiggle {
  0%, 100% { transform: rotate(-2deg); }
  25% { transform: rotate(4deg) scale(1.05); }
  50% { transform: rotate(-5deg) scale(1.05); }
  75% { transform: rotate(3deg); }
}

/* ---------- Hover: vídeo do hero ---------- */
.hero-video-frame { transition: transform .35s ease, box-shadow .35s ease; }
.hero-video-frame:hover {
  transform: rotate(0deg) scale(1.02);
  box-shadow: 0 26px 52px rgba(46, 38, 109, 0.22);
}

/* ---------- Hover: pílulas de diferenciais ---------- */
.diferenciais-track .diferencial-pill {
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
  cursor: default;
}
.diferenciais-track .diferencial-pill:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--cyan);
}
.diferencial-pill .check { transition: transform .3s ease; }
.diferencial-pill:hover .check { transform: rotate(360deg) scale(1.15); }

/* ---------- Hover: balões de avaliação ---------- */
.reviews-grid .review-bubble {
  transition: transform .3s ease, box-shadow .3s ease;
}
.reviews-grid .review-bubble:hover {
  transform: rotate(0deg) translateY(-8px) scale(1.02);
  box-shadow: 0 22px 44px rgba(46, 38, 109, 0.18);
}
.review-stars { transition: letter-spacing .3s ease; }
.review-bubble:hover .review-stars { letter-spacing: 5px; }

/* ---------- Hover: fotos (teaser, espaço, galeria) ---------- */
.teaser-photo img { transition: transform .6s ease; }
.teaser-photo:hover img { transform: scale(1.06); }

.zoom-frame {
  border-radius: 18px;
  overflow: hidden;
  height: 320px;
  box-shadow: var(--shadow-card);
}
.zoom-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.zoom-frame:hover img { transform: scale(1.08); }

.gallery-grid .polaroid {
  transition: transform .3s ease, box-shadow .3s ease;
}
.gallery-grid .polaroid:hover {
  transform: rotate(0deg) scale(1.06);
  box-shadow: 0 22px 40px rgba(46, 38, 109, 0.22);
  position: relative;
  z-index: 5;
}

/* ---------- Hover: selo de anos, estatísticas, contato ---------- */
.badge-years { transition: transform .25s ease; }
.badge-years:hover { transform: translateY(-3px); }
.badge-years .num { transition: transform .4s ease; }
.badge-years:hover .num { transform: rotate(360deg); background: var(--pink); }

.stat { transition: transform .25s ease; }
.stat:hover { transform: translateY(-5px) scale(1.06); }

.contato-item .icon { transition: transform .3s ease, background .3s ease; }
.contato-item:hover .icon { transform: scale(1.18) rotate(-8deg); background: var(--hotpink); }
.contato-card { transition: transform .3s ease, box-shadow .3s ease; }
.contato-card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(46, 38, 109, 0.14); }

.step-item .step-num { transition: transform .3s ease; }
.step-item:hover .step-num { transform: scale(1.2) rotate(10deg); }

/* ---------- Hover: rodapé e WhatsApp ---------- */
.footer-social a { transition: transform .25s ease, background .25s ease; }
.footer-social a:hover { transform: translateY(-4px); background: var(--pink); }

.whatsapp-float { animation: float-pulse 3s ease-in-out infinite; }
@keyframes float-pulse {
  0%, 100% { box-shadow: 0 10px 24px rgba(37, 211, 102, 0.45); }
  50% { box-shadow: 0 10px 24px rgba(37, 211, 102, 0.45), 0 0 0 12px rgba(37, 211, 102, 0.12); }
}

/* ---------- Ajustes de celular ---------- */
@media (max-width: 640px) {
  section { padding: 56px 0; }
  .hero { padding: 36px 0 84px; }
  .page-hero { padding: 44px 0 36px; }
  .cta-banner { padding: 72px 0 52px; }
  .contato-card { padding: 26px 22px; }
  .zoom-frame { height: 240px; }
  .stat-row { gap: 24px; }
}

/* ---------- Widget de avaliações (Elfsight) ---------- */
.elfsight-wrap { min-height: 320px; }

/* ---------- Logo ---------- */
.logo-mark { height: 42px; width: auto; display: block; }
.nav-logo { gap: 10px; }
.footer-logo {
  display: inline-block;
  background: var(--white);
  border-radius: 22px;
  padding: 12px 18px;
  margin-bottom: 16px;
  transition: transform .25s ease;
}
.footer-logo:hover { transform: rotate(-2deg) scale(1.03); }
.footer-logo img { height: 92px; width: auto; display: block; }

/* ---------- Vídeo do YouTube na vertical ---------- */
.video-wrap.video-vertical { max-width: 340px; aspect-ratio: 9 / 16; }

/* ---------- Vídeo vertical do topo (Vimeo) ---------- */
.hero-video-embed {
  border-radius: calc(var(--radius-lg) - 8px);
  overflow: hidden;
  aspect-ratio: 9 / 16;
  background: var(--navy);
}
.hero-video-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
