/* ============================================================
   Pata & Carinho — v2 (multi-tema)
   Layout: cards-bolha glass (ref. Tail&Paws)
   Sem build: CSS puro. Paleta 100% em custom properties, trocável
   ao vivo via [data-theme] (seletor flutuante "Cor").
   Temas: aqua (padrão) · sunset · blue
   ============================================================ */

:root {
  /* Tokens NÃO-cromáticos (iguais em todos os temas) */
  --radius:  34px;
  --radius-sm: 22px;
  --radius-pill: 999px;
  --shadow:  0 24px 60px -22px rgba(20, 35, 45, 0.42);
  --shadow-sm: 0 12px 30px -14px rgba(20, 35, 45, 0.38);
  --maxw:    1180px;
  --glass:   rgba(255, 255, 255, 0.82);
  --glass-2: rgba(255, 255, 255, 0.55);
  --line:    rgba(22, 40, 48, 0.10);

  --font-display: "Baloo 2", system-ui, sans-serif;
  --font-body:    "Nunito", system-ui, sans-serif;
}

/* ===================== TEMAS ===================== */
[data-theme="aqua"] {
  --gold: #15c6cf; --coral: #2bbcab; --rose: #38c8e2;
  --magenta: #0c97a6; --violet: #2a7f8d; --plum: #0d4d57;
  --ink: #163a41; --ink-soft: #4f6e74; --on-accent: #ffffff;
  --page-bg:
    radial-gradient(120% 90% at 85% -5%,  #aef0e6 0%, transparent 45%),
    radial-gradient(120% 100% at 10% 10%, #7fdfd2 0%, transparent 50%),
    linear-gradient(155deg, #5fd8c6 0%, #3fcace 42%, #34bada 72%, #3aa2d2 100%);
  --tint-card: #eefaf8; --tint-process: #e6f7f4; --tint-quote: #e3f4f8; --tint-input: #f2fafb;
  --ico-1: #d8f5f0; --ico-2: #d3f1f7; --ico-3: #d9eefb; --ico-4: #cdeef0;
}
[data-theme="sunset"] {
  --gold: #ffc233; --coral: #ff7e5f; --rose: #f0568f;
  --magenta: #b8458f; --violet: #6a4c93; --plum: #3a2a4d;
  --ink: #2b2238; --ink-soft: #564a66; --on-accent: #3a2a4d;
  --page-bg:
    radial-gradient(120% 90% at 85% -5%,  #ffd07a 0%, transparent 45%),
    radial-gradient(120% 100% at 10% 10%, #ff8e6b 0%, transparent 50%),
    linear-gradient(155deg, #ff9a52 0%, #ef5f7e 42%, #a8519c 72%, #6a4c93 100%);
  --tint-card: #fff7ef; --tint-process: #fdeef4; --tint-quote: #f3edff; --tint-input: #faf8fc;
  --ico-1: #fff0d9; --ico-2: #ffe3ea; --ico-3: #eee2ff; --ico-4: #ffe9d6;
}
[data-theme="blue"] {
  --gold: #21a8e8; --accent-btn: #2081c7; --coral: #2f8fd4; --rose: #5cc4f0;
  --magenta: #1577bd; --violet: #2c6ca0; --plum: #103a56;
  --ink: #14313f; --ink-soft: #4a6577; --on-accent: #ffffff;
  --page-bg:
    radial-gradient(120% 90% at 85% -5%,  #c2e9fc 0%, transparent 45%),
    radial-gradient(120% 100% at 10% 10%, #8ed6f6 0%, transparent 50%),
    linear-gradient(155deg, #6cc8f2 0%, #36ace9 42%, #2b8fd8 72%, #2f6fc0 100%);
  --tint-card: #eaf6fe; --tint-process: #e3f2fd; --tint-quote: #e6f3fc; --tint-input: #f2f9fe;
  --ico-1: #d6edfc; --ico-2: #d3e9fb; --ico-3: #dcf0fd; --ico-4: #cfe8fb;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  line-height: 1.6;
  min-height: 100vh;
  background: var(--page-bg);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  transition: color .35s ease;
}

h1, h2, h3, .display { font-family: var(--font-display); font-weight: 700; line-height: 1.08; letter-spacing: -0.5px; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600;
  font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--violet);
  background: rgba(255,255,255,0.7);
  padding: 7px 16px; border-radius: var(--radius-pill);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--rose); box-shadow: 0 0 0 4px color-mix(in srgb, var(--rose) 28%, transparent); }

.pill {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600;
  padding: 13px 24px; border-radius: var(--radius-pill);
  transition: transform .15s ease, filter .15s ease, background .2s ease;
}
.pill:active { transform: scale(0.96); }
.pill--gold { background: var(--accent-btn, var(--gold)); color: var(--on-accent); box-shadow: 0 10px 24px -8px color-mix(in srgb, var(--accent-btn, var(--gold)) 70%, transparent); }
.pill--gold:hover { filter: brightness(1.08); }
.pill--dark { background: var(--ink); color: #fff; }
.pill--dark:hover { filter: brightness(1.35); }
.pill--ghost { background: rgba(255,255,255,0.85); color: var(--ink); }
.pill--ghost:hover { background: #fff; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  padding: 16px 0;
  transition: padding .25s ease;
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  background: var(--glass);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: var(--radius-pill);
  padding: 10px 12px 10px 22px;
  box-shadow: var(--shadow-sm);
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--ink); }
.brand .mark {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--coral));
  display: grid; place-items: center; color: #fff; font-size: 1.1rem;
  box-shadow: 0 6px 14px -4px color-mix(in srgb, var(--gold) 60%, transparent);
}
.brand b { color: var(--magenta); }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-family: var(--font-display); font-weight: 500; font-size: 0.98rem;
  color: var(--ink-soft); padding: 9px 16px; border-radius: var(--radius-pill);
  transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--ink); background: rgba(255,255,255,0.6); }

.nav-cta { display: flex; align-items: center; gap: 10px; }

.menu-btn { display: none; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; place-items: center; }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding: 26px 0 70px; }
.hero-card {
  position: relative;
  background: var(--glass);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: 44px;
  padding: 40px;
  box-shadow: var(--shadow);
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 36px; align-items: center;
  overflow: hidden;
}
.hero-blob { position: absolute; border-radius: 50%; filter: blur(40px); opacity: 0.5; pointer-events: none; }
.hero-blob.b1 { width: 220px; height: 220px; background: var(--gold); top: -60px; right: 30%; }
.hero-blob.b2 { width: 180px; height: 180px; background: var(--rose); bottom: -50px; left: -30px; }

.hero-copy { position: relative; z-index: 2; }
.hero-copy h1 { font-size: clamp(2.4rem, 5vw, 3.7rem); color: var(--ink); margin: 18px 0 16px; }
.hero-copy h1 .hl { color: var(--magenta); }
.hero-copy p { font-size: 1.1rem; color: var(--ink-soft); max-width: 30ch; margin-bottom: 28px; }
.hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 28px; margin-top: 30px; }
.hero-stats .stat b { font-family: var(--font-display); font-size: 1.7rem; color: var(--ink); display: block; }
.hero-stats .stat span { font-size: 0.85rem; color: var(--ink-soft); }

.hero-media { position: relative; }
.hero-photo {
  position: relative; border-radius: 32px; overflow: hidden;
  aspect-ratio: 4 / 5; box-shadow: var(--shadow);
  border: 5px solid #fff;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo .play {
  position: absolute; inset: 0; margin: auto; width: 64px; height: 64px;
  border-radius: 50%; background: rgba(255,255,255,0.9); color: var(--magenta);
  display: grid; place-items: center; font-size: 1.3rem;
  box-shadow: var(--shadow-sm);
}
.hero-tag {
  position: absolute; right: -10px; bottom: 24px; width: 210px;
  background: #fff; border-radius: var(--radius-sm); padding: 16px 18px;
  box-shadow: var(--shadow); z-index: 3;
}
.hero-tag .num { font-family: var(--font-display); font-weight: 700; color: var(--gold); font-size: 1.4rem; }
.hero-tag .num small { color: var(--ink-soft); font-size: 0.85rem; }
.hero-tag p { font-size: 0.9rem; color: var(--ink-soft); margin-top: 4px; }
.hero-badge {
  position: absolute; left: -12px; top: 20px;
  background: var(--ink); color: #fff; font-family: var(--font-display); font-weight: 600;
  padding: 10px 16px; border-radius: var(--radius-pill); font-size: 0.85rem; z-index: 3;
  box-shadow: var(--shadow-sm);
}

/* ============================================================
   SECTIONS (panels)
   ============================================================ */
.panel {
  background: rgba(255,255,255,0.92);
  border-radius: 48px 48px 0 0;
  margin-top: 10px;
}
.panel--rounded { border-radius: 48px; margin: 18px 0; }
.section { padding: 80px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 50px; }
.section-head h2 { font-size: clamp(2rem, 4vw, 2.8rem); color: var(--ink); margin: 14px 0 12px; }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; }
.section-head .eyebrow { color: var(--coral); }

/* Benefits */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.benefit {
  background: linear-gradient(160deg, #fff, var(--tint-card));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; transition: transform .2s ease, box-shadow .2s ease;
}
.benefit:hover { transform: translateY(-6px); box-shadow: var(--shadow-sm); }
.benefit .ico { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 16px; }
.benefit:nth-child(1) .ico { background: var(--ico-1); }
.benefit:nth-child(2) .ico { background: var(--ico-2); }
.benefit:nth-child(3) .ico { background: var(--ico-3); }
.benefit:nth-child(4) .ico { background: var(--ico-4); }
.benefit h3 { font-size: 1.15rem; color: var(--ink); margin-bottom: 8px; }
.benefit p { font-size: 0.95rem; color: var(--ink-soft); }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.service-img { aspect-ratio: 16 / 11; overflow: hidden; }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.service:hover .service-img img { transform: scale(1.06); }
.service-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.service-body h3 { font-size: 1.35rem; color: var(--ink); }
.service-body p { font-size: 0.95rem; color: var(--ink-soft); flex: 1; }
.service-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.price { font-family: var(--font-display); font-weight: 700; color: var(--magenta); font-size: 1.25rem; }
.price small { color: var(--ink-soft); font-weight: 400; font-size: 0.8rem; }
.service .tagchip {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  background: var(--gold); color: var(--on-accent); font-family: var(--font-display); font-weight: 600;
  font-size: 0.78rem; padding: 6px 14px; border-radius: var(--radius-pill);
}

/* Process */
.process-panel { background: linear-gradient(160deg, #fff, var(--tint-process)); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 28px 22px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.step .n {
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; color: #fff; font-size: 1.2rem; margin-bottom: 16px;
  background: linear-gradient(135deg, var(--coral), var(--magenta));
}
.step h3 { font-size: 1.1rem; color: var(--ink); margin-bottom: 8px; }
.step p { font-size: 0.92rem; color: var(--ink-soft); }

/* Gallery / testimonials */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.gallery-photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; border: 5px solid #fff; box-shadow: var(--shadow); }
.gallery-photo img { width: 100%; height: 100%; object-fit: cover; }
.slide { display: none; }
.slide.active { display: contents; }
.quote { background: linear-gradient(160deg, #fff, var(--tint-quote)); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); }
.quote .mark { font-family: Georgia, serif; font-size: 3.4rem; line-height: 0.4; color: var(--rose); opacity: 0.55; }
.quote p { font-size: 1.15rem; font-style: italic; color: var(--ink); margin: 8px 0 20px; }
.quote .who { font-family: var(--font-display); font-weight: 600; color: var(--ink); }
.quote .who span { display: block; font-family: var(--font-body); font-weight: 400; color: var(--ink-soft); font-size: 0.9rem; }
.gallery-controls { display: flex; gap: 12px; margin-top: 24px; }
.gallery-controls button { width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; box-shadow: var(--shadow-sm); font-size: 1.1rem; transition: background .15s, color .15s; }
.gallery-controls button:hover { background: var(--gold); color: var(--on-accent); }

/* Booking */
.booking-panel { background: linear-gradient(160deg, var(--tint-card), var(--tint-quote)); }
.booking { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: center; }
.booking-copy h2 { font-size: clamp(2rem, 4vw, 2.7rem); color: var(--ink); margin: 14px 0 14px; }
.booking-copy p { color: var(--ink-soft); margin-bottom: 24px; }
.booking-perks { list-style: none; display: grid; gap: 12px; }
.booking-perks li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--ink); }
.booking-perks li::before { content: "✓"; width: 26px; height: 26px; border-radius: 50%; background: var(--gold); color: var(--on-accent); display: grid; place-items: center; font-size: 0.85rem; flex: none; }

.booking-form { background: #fff; border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.field { margin-bottom: 16px; }
.field label { display: block; font-family: var(--font-display); font-weight: 500; font-size: 0.9rem; color: var(--ink); margin-bottom: 6px; }
.field input, .field select {
  width: 100%; font-family: inherit; font-size: 1rem; color: var(--ink);
  padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 16px;
  background: var(--tint-input); transition: border .15s, background .15s;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--magenta); background: #fff; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field .err { display: none; color: #d4326a; font-size: 0.82rem; margin-top: 5px; font-weight: 600; }
.field.invalid input, .field.invalid select { border-color: #d4326a; }
.field.invalid .err { display: block; }
.booking-form .pill--gold { width: 100%; justify-content: center; margin-top: 8px; padding: 15px; font-size: 1.05rem; }
.form-success { text-align: center; padding: 20px 0; }
.form-success .check { width: 70px; height: 70px; border-radius: 50%; background: var(--gold); color: var(--on-accent); display: grid; place-items: center; margin: 0 auto 18px; font-size: 2rem; }
.form-success h3 { font-size: 1.5rem; color: var(--ink); margin-bottom: 10px; }
.form-success p { color: var(--ink-soft); margin-bottom: 22px; }
.hidden { display: none !important; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--ink); text-align: left; }
.faq-q .ico { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--ico-1); color: var(--coral); display: grid; place-items: center; transition: transform .25s; font-size: 1.2rem; }
.faq-item.open .faq-q .ico { transform: rotate(45deg); background: var(--gold); color: var(--on-accent); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 24px 22px; color: var(--ink-soft); }

/* Footer */
.site-footer { background: var(--plum); color: rgba(255,255,255,0.78); padding: 64px 0 28px; margin-top: 18px; border-radius: 48px 48px 0 0; transition: background .35s ease; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer-brand .brand { color: #fff; margin-bottom: 14px; }
.footer-brand .brand b { color: var(--gold); }
.footer-brand p { font-size: 0.95rem; max-width: 30ch; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.1); display: grid; place-items: center; color: #fff; transition: background .15s; }
.socials a:hover { background: var(--gold); color: var(--on-accent); }
.footer-col h4 { font-family: var(--font-display); color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { font-size: 0.95rem; transition: color .15s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 44px; padding-top: 22px; text-align: center; font-size: 0.85rem; color: rgba(255,255,255,0.55); }

/* ============================================================
   SELETOR DE COR (demo)
   ============================================================ */
.theme-switch {
  position: fixed; right: 18px; bottom: 18px; z-index: 70;
  display: flex; align-items: center; gap: 10px;
  background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.6);
  padding: 10px 14px; border-radius: var(--radius-pill);
  box-shadow: var(--shadow);
}
.theme-switch__label { font-family: var(--font-display); font-weight: 600; font-size: 0.8rem; color: var(--ink); }
.theme-dot {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--c); border: 2px solid #fff;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.08); cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.theme-dot:hover { transform: scale(1.12); }
.theme-dot.active { box-shadow: 0 0 0 3px var(--c); transform: scale(1.12); }

/* ============================================================
   MOBILE MENU
   ============================================================ */
.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 60;
  background: rgba(20,30,40,0.5); backdrop-filter: blur(6px);
}
.mobile-menu.open { display: block; }
.mobile-panel {
  position: absolute; top: 14px; right: 14px; left: 14px;
  background: #fff; border-radius: var(--radius); padding: 22px;
  box-shadow: var(--shadow);
}
.mobile-panel .row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.mobile-panel a { display: block; padding: 14px 16px; border-radius: 16px; font-family: var(--font-display); font-weight: 500; color: var(--ink); }
.mobile-panel a:hover { background: var(--tint-card); }
.mobile-panel .pill--gold { width: 100%; justify-content: center; margin-top: 10px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .hero-card { grid-template-columns: 1fr; padding: 28px; }
  .hero-media { order: -1; max-width: 420px; margin: 0 auto; }
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .services { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .booking { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 680px) {
  .nav-links, .nav .pill--ghost, .nav .nav-cta .pill--gold { display: none; }
  .menu-btn { display: grid; }
  .benefits, .services, .steps { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .gallery-photo { max-width: 360px; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-tag { right: 0; }
  .section { padding: 60px 0; }
  .theme-switch { right: 12px; bottom: 12px; padding: 8px 12px; }
}
