/* =====================================================================
   SALAO 1.0 — Tema da vitrine publica (premium, acolhedor)
   ===================================================================== */

:root {
  /* Verde esmeralda + dourado. Nomes legados mantidos; valores remapeados. */
  --plum-900: #0a2417;  /* verde mais escuro */
  --plum-800: #0f3422;
  --wine-700: #15482f;  /* emerald profundo */
  --wine-600: #1c603f;  /* emerald */
  --rose-500: #248355;  /* acento primário (verde médio) */
  --rose-400: #3aa874;  /* verde claro */
  --rose-100: #e7f3ec;  /* verde pálido (fundos/hover) */
  --gold-600: #b8902f;  /* dourado escuro (gradientes/acentos) */
  --gold-500: #cda349;
  --gold-400: #dcbb6a;  /* dourado claro (gradientes) */
  --gold-300: #ecd596;
  --gold-700: #8a6a1c;  /* dourado AA: passa contraste sobre creme e branco */
  --cream-50: #f5f9f6;
  --cream-100: #eaf2ec;
  --ink-900:  #15231c;
  --ink-600:  #5c7066;
  --line:     #e3ebe6;
  --shadow-soft: 0 12px 40px rgba(10, 36, 23, .12);
  --shadow-card: 0 6px 26px rgba(10, 36, 23, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink-900);
  background: var(--cream-50);
  margin: 0;
}
h1, h2, h3, .serif { font-family: 'Playfair Display', Georgia, serif; }
a { color: var(--wine-600); }
.text-gold { color: var(--gold-500) !important; }
.text-wine { color: var(--wine-700) !important; }
.bg-cream { background: var(--cream-50); }
section { scroll-margin-top: 80px; }

/* ---------- Navbar ---------- */
.vnav {
  background: rgba(245, 249, 246, .88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 1020;
}
.vbrand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.vbrand .mark {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--rose-400), var(--gold-300));
  color: var(--plum-900); font-size: 1.15rem;
}
.vbrand .name { font-family: 'Playfair Display', serif; font-weight: 700; color: var(--plum-800); font-size: 1.2rem; line-height: 1; }
.vnav .nav-link { color: var(--ink-600); font-weight: 500; }
.vnav .nav-link:hover { color: var(--wine-600); }

/* navbar ganha sombra ao rolar */
.vnav { transition: box-shadow .25s ease, background .25s ease; }
.vnav.scrolled { box-shadow: 0 6px 26px rgba(10, 36, 23, .08); }

/* ---------- Botoes ---------- */
.btn { border-radius: 999px; font-weight: 600; padding: .6rem 1.4rem; }
.btn-primary {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--rose-500), var(--wine-600));
  border: none; box-shadow: 0 8px 20px rgba(15, 52, 34, .26);
  transition: transform .14s ease, box-shadow .2s ease, background .2s ease;
}
.btn-primary::after {
  content: ""; position: absolute; top: 0; left: -120%; width: 55%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.28), transparent);
  transition: left .55s ease;
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--wine-600), var(--plum-800));
  transform: translateY(-1px); box-shadow: 0 12px 26px rgba(15, 52, 34, .32);
}
.btn-primary:hover::after { left: 135%; }
.btn-outline-light-wine { border: 1.5px solid #fff; color: #fff; }
.btn-outline-light-wine:hover { background: #fff; color: var(--wine-700); }
/* Verde-WhatsApp escurecido p/ passar contraste AA com texto branco (5.41:1). */
.btn-wa { background: #0b7a44; border: none; color: #fff; }
.btn-wa:hover { background: #096537; color: #fff; }
.btn-outline-wine { border: 1.5px solid var(--rose-400); color: var(--wine-700); background: transparent; }
.btn-outline-wine:hover { background: var(--rose-100); color: var(--wine-700); }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    radial-gradient(900px 520px at 82% 6%, rgba(58,168,116,.34), transparent 60%),
    radial-gradient(720px 520px at 8% 96%, rgba(205,163,73,.26), transparent 56%),
    linear-gradient(150deg, var(--plum-900) 0%, var(--wine-700) 64%, var(--plum-800) 100%);
}
/* textura de pontos dourados */
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(236,213,150,.10) 1px, transparent 1.5px);
  background-size: 26px 26px; opacity: .5; pointer-events: none;
}
/* varredura de luz lenta */
.hero::after {
  content: ""; position: absolute; top: -40%; left: -55%;
  width: 55%; height: 180%; transform: rotate(8deg); pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.05) 46%, rgba(244,230,189,.08) 50%, transparent 60%);
  animation: heroSweep 11s ease-in-out infinite;
}
@keyframes heroSweep { 0%,100% { left: -55%; } 50% { left: 115%; } }
/* Inicial do salão como marca d'água gigante (antes era uma flor) */
.hero-flower {
  position: absolute; right: -40px; top: 50%; transform: translateY(-50%) rotate(-8deg);
  font-size: 400px; line-height: 1; color: #fff; opacity: .05; pointer-events: none; z-index: 0;
  font-family: 'Playfair Display', serif; font-weight: 700;
}
/* Monograma (inicial do salão) quando não há logo. Herda tamanho/cor do selo. */
.brand-mono { display: grid; place-items: center; width: 100%; height: 100%; font-family: 'Playfair Display', serif; font-weight: 700; line-height: 1; }
.hero-inner { position: relative; z-index: 1; padding: 92px 0 104px; }
.hero .eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  letter-spacing: 4px; text-transform: uppercase; font-size: .8rem;
  color: var(--gold-300); font-weight: 600; margin-bottom: 16px;
}
.hero .eyebrow::before { content: ""; width: 34px; height: 1px; background: linear-gradient(90deg, var(--gold-400), transparent); }
.hero h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 700; line-height: 1.08; margin-bottom: 18px; }
.hero h1 .text-gold {
  background: linear-gradient(120deg, var(--gold-200, #f4e6bd), var(--gold-500));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero p.lead { font-size: 1.15rem; color: #d3e6d9; max-width: 560px; }
/* onda divisória para o fundo creme */
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 72px; display: block; z-index: 1; }

/* status ao vivo (aberto/fechado) */
.hero-status {
  display: inline-flex; align-items: center; gap: 9px; margin-top: 4px;
  padding: 8px 16px; border-radius: 999px; font-size: .92rem;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(6px); color: #eaf4ee;
}
.hero-status strong { font-weight: 700; }
.hero-status .sep { opacity: .45; }
.hero-status .det { color: #c6dccd; }
.hero-status .dot { width: 9px; height: 9px; border-radius: 50%; flex: 0 0 auto; }
.hero-status.is-open .dot { background: #46d98a; box-shadow: 0 0 0 0 rgba(70,217,138,.6); animation: pulseDot 2.2s ease-out infinite; }
.hero-status.is-open strong { color: #8ff0bb; }
.hero-status.is-closed .dot { background: var(--gold-300); }
.hero-status.is-closed strong { color: var(--gold-300); }
@keyframes pulseDot {
  0%   { box-shadow: 0 0 0 0 rgba(70,217,138,.55); }
  70%  { box-shadow: 0 0 0 9px rgba(70,217,138,0); }
  100% { box-shadow: 0 0 0 0 rgba(70,217,138,0); }
}

/* chips de confiança sob os CTAs */
.hero-trust {
  list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px;
  padding: 0; margin: 26px 0 0; font-size: .9rem; color: #c6dccd;
}
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust i { color: var(--gold-300); font-size: 1rem; }

@media (prefers-reduced-motion: reduce) {
  .hero-status.is-open .dot { animation: none; }
}

/* ---------- Cartão-preview flutuante do hero (desktop) ---------- */
.hero-visual { position: relative; padding: 14px 18px; animation: hvFloat 6.5s ease-in-out infinite; }
@keyframes hvFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.hv-card {
  position: relative; z-index: 2; transform: rotate(-2.2deg);
  background: rgba(255, 255, 255, .97); border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 24px; padding: 24px 24px 20px;
  box-shadow: 0 36px 70px rgba(6, 24, 15, .45);
}
.hv-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.hv-mark {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; flex: 0 0 auto;
  background: linear-gradient(135deg, var(--rose-400), var(--gold-300)); color: var(--plum-900); font-size: 1.3rem;
}
.hv-id { display: flex; flex-direction: column; line-height: 1.15; }
.hv-name { font-family: 'Playfair Display', serif; font-size: 1.16rem; color: var(--plum-800); }
.hv-sub { font-size: .8rem; color: var(--ink-600); }
.hv-status {
  display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 600;
  padding: 6px 13px; border-radius: 999px; margin-bottom: 14px;
}
.hv-status .dot { width: 8px; height: 8px; border-radius: 50%; flex: 0 0 auto; }
.hv-status.is-open { background: var(--rose-100); color: var(--wine-700); }
.hv-status.is-open .dot { background: #2bb673; }
.hv-status.is-closed { background: #f8f0d8; color: #8a6a1c; }
.hv-status.is-closed .dot { background: var(--gold-500); }
.hv-rule { height: 1px; background: linear-gradient(90deg, var(--gold-300), transparent); margin-bottom: 4px; }
.hv-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.hv-row:last-of-type { border-bottom: 0; }
.hv-row-nome { color: var(--ink-900); font-weight: 500; font-size: .95rem; }
.hv-row-preco { color: var(--wine-700); font-weight: 700; font-family: 'Playfair Display', serif; white-space: nowrap; }
.hv-foot { margin-top: 12px; font-size: .8rem; color: var(--ink-600); display: flex; align-items: center; gap: 6px; }
.hv-foot i { color: var(--rose-500); }
.hv-chip {
  position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 7px;
  background: #fff; border-radius: 999px; padding: 9px 15px; font-size: .82rem; font-weight: 600;
  color: var(--wine-700); box-shadow: 0 14px 32px rgba(6, 24, 15, .3);
}
.hv-chip i { font-size: 1rem; }
.hv-chip-a { top: -6px; left: -12px; }
.hv-chip-a i { color: var(--gold-500); }
.hv-chip-b { bottom: 14px; right: -16px; }
.hv-chip-b i { color: #25d366; }
@media (prefers-reduced-motion: reduce) { .hero-visual { animation: none; } }

/* ---------- Como funciona (passos) ---------- */
.step-card {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: 20px; padding: 30px 26px 26px; height: 100%;
  box-shadow: var(--shadow-card); overflow: hidden;
  transition: transform .28s cubic-bezier(.22,.61,.36,1), box-shadow .28s ease;
}
.step-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); }
.step-num {
  position: absolute; top: 16px; right: 22px; font-family: 'Playfair Display', serif;
  font-size: 3.4rem; font-weight: 700; line-height: 1; color: var(--rose-100);
  user-select: none; pointer-events: none;
}
.step-ico {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  font-size: 1.5rem; color: #fff; margin-bottom: 16px;
  background: linear-gradient(135deg, var(--rose-500), var(--wine-600));
  box-shadow: 0 8px 18px rgba(28,96,63,.28);
}
.step-card h5 { font-weight: 600; margin-bottom: 8px; }
.step-card p { color: var(--ink-600); font-size: .94rem; margin: 0; }
/* conector pontilhado entre os passos (desktop) */
@media (min-width: 768px) {
  .steps .col-md-4:not(:last-child) .step-card::after {
    content: ""; position: absolute; top: 44px; right: -28px; width: 36px; height: 2px;
    background-image: linear-gradient(90deg, var(--gold-300) 0 6px, transparent 6px 12px);
    background-size: 12px 2px; z-index: 2;
  }
}

/* ===== Animações de entrada no scroll ===== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero::after { animation: none; }
}

/* ---------- Section heading ---------- */
.section-head { text-align: center; margin-bottom: 44px; }
.section-head .eyebrow { letter-spacing: 3px; text-transform: uppercase; font-size: .78rem; color: var(--gold-700); font-weight: 700; }
.section-head h2 { font-size: 2.1rem; font-weight: 700; color: var(--plum-800); margin-top: 6px; }
.section-head .sub { color: var(--ink-600); max-width: 560px; margin: 8px auto 0; }
.section-head .rule { width: 64px; height: 3px; border-radius: 3px; margin: 16px auto 0;
  background: linear-gradient(90deg, var(--rose-400), var(--gold-300)); }

/* ---------- Cards de servico ---------- */
.svc-card {
  position: relative;
  background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden;
  box-shadow: var(--shadow-card); height: 100%; display: flex; flex-direction: column;
  transition: transform .28s cubic-bezier(.22,.61,.36,1), box-shadow .28s ease, border-color .28s ease;
}
.svc-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; z-index: 2;
  background: linear-gradient(90deg, var(--rose-400), var(--gold-400));
  transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); border-color: var(--rose-100); }
.svc-card:hover::before { transform: scaleX(1); }
.svc-photo {
  aspect-ratio: 4/3; width: 100%; object-fit: cover; background: var(--cream-100);
  cursor: zoom-in; transition: transform .6s cubic-bezier(.22,.61,.36,1);
}
.svc-card:hover .svc-photo { transform: scale(1.06); }
.svc-photo-empty {
  aspect-ratio: 4/3; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--rose-100), var(--cream-100)); color: var(--rose-400); font-size: 2.4rem;
}
.svc-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex-grow: 1; }
.svc-cat { font-size: .72rem; letter-spacing: 1px; text-transform: uppercase; color: var(--rose-500); font-weight: 700; }
.svc-name { font-family: 'Playfair Display', serif; font-weight: 600; font-size: 1.22rem; color: var(--plum-800); margin: 2px 0 6px; }
.svc-desc { color: var(--ink-600); font-size: .9rem; margin-bottom: 14px; flex-grow: 1; }
.svc-meta { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.svc-price { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.3rem; color: var(--wine-700); }
.svc-dur { font-size: .85rem; color: var(--ink-600); }
.photo-count {
  position: absolute; top: 12px; right: 12px; background: rgba(44,14,31,.7); color: #fff;
  border-radius: 999px; font-size: .75rem; padding: 3px 10px; backdrop-filter: blur(4px);
}

/* ---------- Categoria chip nav (sticky + scroll-spy) ---------- */
.cat-pills {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  position: sticky; top: 56px; z-index: 1010;
  margin: 0 0 30px; padding: 12px 0;
  background: var(--cream-50);
  box-shadow: 0 10px 18px -14px rgba(10, 36, 23, .25);
}
.cat-section { scroll-margin-top: 132px; }
.cat-title { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.cat-count {
  display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 8px;
  border-radius: 999px; background: var(--rose-100); color: var(--wine-700);
  font-family: 'Inter', sans-serif; font-size: .8rem; font-weight: 700;
}
.cat-pill {
  border: 1.5px solid var(--line); background: #fff; color: var(--ink-600);
  border-radius: 999px; padding: 7px 18px; font-weight: 600; font-size: .9rem; text-decoration: none;
  transition: all .18s;
}
.cat-pill:hover, .cat-pill.active { background: var(--wine-600); color: #fff; border-color: var(--wine-600); }

/* ---------- Info / contato ---------- */
.info-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px; box-shadow: var(--shadow-card); height: 100%; }
.info-card .ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: var(--rose-100); color: var(--wine-600); font-size: 1.3rem; margin-bottom: 14px; }
.hours-row { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.hours-row:last-child { border-bottom: 0; }
.hours-row .closed { color: var(--wine-600); font-weight: 600; } /* contraste AA (7.5:1) */
.hours-row.is-today {
  background: var(--rose-100); border-radius: 9px; border-bottom-color: transparent;
  margin: 2px -10px; padding: 8px 10px;
}
.hours-row.is-today span { color: var(--wine-700); }
.hoje-tag {
  font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px;
  color: var(--rose-500); background: var(--cream-50); border-radius: 6px; padding: 1px 6px; margin-left: 6px;
}
.hours-status {
  display: inline-flex; align-items: center; gap: 7px; font-size: .76rem; font-weight: 700;
  padding: 4px 11px; border-radius: 999px; white-space: nowrap;
}
.hours-status .dot { width: 7px; height: 7px; border-radius: 50%; flex: 0 0 auto; }
.hours-status.is-open { background: var(--rose-100); color: var(--wine-700); }
.hours-status.is-open .dot { background: #2bb673; }
.hours-status.is-closed { background: var(--cream-100); color: var(--ink-600); }
.hours-status.is-closed .dot { background: var(--gold-500); }

/* ---------- Footer (premium) ---------- */
.vfooter {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #0d2f1e 0%, #08190f 100%);
  color: #c2d3c8; padding: 66px 0 30px;
  border-top: 1px solid rgba(205, 163, 73, .22);
}
.vfooter::before {  /* fio dourado no topo */
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-400), transparent); opacity: .75;
}
.vfoot-glow {  /* brilho verde sutil */
  position: absolute; right: -130px; top: -90px; width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(58, 168, 116, .16), transparent 70%); pointer-events: none;
}
.vfooter .container { position: relative; z-index: 1; }
.vfoot-brand .mark { width: 46px; height: 46px; }
.vfoot-brand .name { font-size: 1.55rem; }
.vfoot-tagline { max-width: 340px; color: #a6b8ac; line-height: 1.65; margin-bottom: 16px; }
.vfoot-h {  /* título "eyebrow" dourado */
  font-family: 'Inter', sans-serif; font-size: .72rem; font-weight: 700; letter-spacing: 2.4px;
  text-transform: uppercase; color: var(--gold-300); margin-bottom: 16px;
}
.vfoot-list, .vfoot-links { list-style: none; padding: 0; margin: 0; }
.vfoot-list li { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 13px; line-height: 1.5; }
.vfoot-list li > i { color: var(--gold-300); margin-top: 3px; flex: 0 0 auto; }
.vfoot-links li { margin-bottom: 11px; }
.vfoot-links a { display: inline-block; transition: color .15s ease, transform .15s ease; }
.vfoot-links a:hover { transform: translateX(4px); }
.vfooter a { color: var(--gold-300); text-decoration: none; }
.vfooter a:hover { color: #fff; }
.vfooter .vfoot-list a { color: #c2d3c8; }
.vfooter .vfoot-list a:hover { color: #fff; }
.vfoot-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 40px; padding-top: 22px;
  text-align: center; color: #7e9c8b; font-size: .85rem;
}
.vfoot-bottom .bi-heart-fill { color: var(--gold-400); }

/* ---------- Lightbox modal ---------- */
.modal-content { border: none; border-radius: 18px; overflow: hidden; }
.carousel-item img { width: 100%; max-height: 78vh; object-fit: contain; background: #0a1410; }

/* ---------- Selo de sucesso (agendamento confirmado) ---------- */
.success-badge {
  width: 76px; height: 76px; border-radius: 22px; margin: 0 auto;
  display: grid; place-items: center; font-size: 2.1rem; color: #fff;
  background: linear-gradient(135deg, var(--rose-400), var(--wine-600));
  box-shadow: 0 14px 30px rgba(36, 131, 85, .38);
  animation: pop .5s cubic-bezier(.2,.9,.3,1.4) both;
}
@keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .success-badge { animation: none; } }

/* Confete sutil sobre a tela de sucesso (atrás do selo) */
.confetti { position: absolute; left: 0; right: 0; top: 0; height: 1px; z-index: -1; pointer-events: none; }
.confetti span {
  position: absolute; top: -12px; width: 9px; height: 14px; border-radius: 2px; opacity: 0;
  animation-name: confFall; animation-timing-function: cubic-bezier(.4,.1,.7,1);
  animation-iteration-count: 1; animation-fill-mode: forwards;
}
@keyframes confFall {
  0%   { opacity: 0; transform: translateY(-12px) rotate(0); }
  12%  { opacity: 1; }
  100% { opacity: 0; transform: translateY(360px) rotate(540deg); }
}
@media (prefers-reduced-motion: reduce) { .confetti { display: none; } }

/* =====================================================================
   Acessibilidade — foco visível, skip link, utilitário visually-hidden
   ===================================================================== */
.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 2000;
  background: var(--wine-700); color: #fff; padding: 10px 16px; border-radius: 0 0 12px 12px;
  font-weight: 600; text-decoration: none; transition: top .2s ease;
}
.skip-link:focus { top: 0; color: #fff; outline: 2px solid var(--gold-300); outline-offset: 2px; }

:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 2px;
  border-radius: 4px;
}
/* No hero (fundo escuro) o foco fica dourado-claro para contraste */
.hero :focus-visible,
.vfooter :focus-visible,
.vmenu .btn-primary:focus-visible { outline-color: var(--gold-300); }
/* O Bootstrap remove o outline de .btn-close; devolvemos no foco por teclado */
.btn-close:focus-visible { outline: 2px solid var(--wine-600); outline-offset: 2px; }

/* visually-hidden (alinha com Bootstrap, garante presença mesmo sem o util) */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* =====================================================================
   Navbar mobile — botão hambúrguer + menu offcanvas
   ===================================================================== */
.vnav-toggle {
  border: 1.5px solid var(--line); background: #fff; color: var(--wine-700);
  width: 42px; height: 42px; border-radius: 12px; font-size: 1.3rem; line-height: 1;
  display: grid; place-items: center; transition: background .18s, border-color .18s;
}
.vnav-toggle:hover { background: var(--rose-100); border-color: var(--rose-400); }
.theme-toggle {
  width: 40px; height: 40px; border-radius: 11px; flex: 0 0 auto; cursor: pointer;
  display: grid; place-items: center; line-height: 1; font-size: 1.05rem;
  background: var(--cream-50); border: 1.5px solid var(--line); color: var(--ink-900);
  transition: background .18s, border-color .18s, color .18s, transform .12s;
}
.theme-toggle:hover { background: var(--rose-100); border-color: var(--rose-400); color: var(--wine-700); }
.theme-toggle:active { transform: scale(.94); }
.vmenu { max-width: 84vw; width: 320px; background: var(--cream-50); }
.vmenu .offcanvas-header { border-bottom: 1px solid var(--line); }
.vmenu-link {
  display: flex; align-items: center; padding: 13px 14px; border-radius: 12px;
  color: var(--ink-900); text-decoration: none; font-weight: 600; min-height: 48px;
  transition: background .15s, color .15s;
}
.vmenu-link:hover { background: var(--rose-100); color: var(--wine-700); }
.vmenu-link.active { background: var(--wine-600); color: #fff; }

/* =====================================================================
   Fluxo de agendamento — progresso, slots, validação, sucesso
   ===================================================================== */
/* Badge numerado de cada passo: estados "ativo" e "concluído" */
.step-badge {
  display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 999px;
  background: var(--cream-100); color: var(--ink-600); font-weight: 700; font-size: .9rem;
  border: 1.5px solid var(--line); transition: background .25s, color .25s, border-color .25s;
  flex: 0 0 auto;
}
.step-card-h { display: flex; align-items: center; gap: 10px; }
.passo.is-active .step-badge { border-color: var(--rose-400); color: var(--wine-700); background: var(--rose-100); }
.passo.is-done .step-badge {
  background: linear-gradient(135deg, var(--rose-500), var(--wine-600)); color: #fff; border-color: transparent;
}
.passo.is-done .step-badge::before { content: "\F26E"; font-family: "bootstrap-icons"; font-size: .95rem; }
.passo.is-done .step-badge .num { display: none; }

/* Botões de horário (slot): toque confortável + estado selecionado */
.slot-btn { font-variant-numeric: tabular-nums; min-width: 78px; }
.slot-btn:active { transform: scale(.97); }
.slot-btn.is-sel {
  background: linear-gradient(135deg, var(--rose-500), var(--wine-600));
  border-color: transparent; color: #fff; box-shadow: 0 6px 16px rgba(28,96,63,.3);
}
@media (prefers-reduced-motion: reduce) { .slot-btn:active { transform: none; } }

/* Rótulo de categoria dentro do passo 1 */
.svc-group-label {
  font-size: .72rem; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 700;
  color: var(--rose-500); margin: 18px 0 8px;
}
.svc-group-label:first-of-type { margin-top: 4px; }

/* Serviço = cartão selecionável (acende em verde quando marcado) */
.svc-row {
  display: flex; align-items: center; gap: 12px; cursor: pointer;
  min-height: 56px; padding: 12px 14px; margin-bottom: 8px;
  border: 1.5px solid var(--line); border-radius: 14px; background: #fff;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.svc-row:hover { border-color: var(--rose-400); background: #fcfefc; }
.svc-row.is-checked {
  border-color: var(--rose-400); background: var(--rose-100);
  box-shadow: 0 4px 14px rgba(36, 131, 85, .12);
}
.svc-row .svc-check { width: 1.2em; height: 1.2em; flex: 0 0 auto; }
.svc-row-nome { flex: 1 1 auto; font-weight: 500; color: var(--ink-900); }
.svc-row .svc-dur { font-size: .85rem; color: var(--ink-600); white-space: nowrap; }
.svc-row .svc-price { font-size: 1.05rem; min-width: 78px; flex: 0 0 auto; text-align: right; white-space: nowrap; }

/* Os passos empilham numa coluna flex (col-lg-7); não devem herdar o
   height:100% de .info-card (que serve p/ igualar cards lado a lado em outras telas). */
.info-card.passo { height: auto; }

/* Grade de horários */
.slots-area { display: flex; flex-wrap: wrap; gap: 8px; min-height: 40px; align-items: center; }

/* Seleção de profissional (passo entre serviços e horário) */
.prof-area { display: flex; flex-wrap: wrap; gap: 10px; min-height: 40px; align-items: center; }
.prof-pick {
  display: inline-flex; align-items: center; gap: 10px; text-align: left;
  padding: 8px 16px 8px 8px; border: 1.5px solid var(--line); border-radius: 16px;
  background: #fff; cursor: pointer;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .12s ease;
}
.prof-pick:hover { border-color: var(--rose-400); background: #fcfefc; }
.prof-pick.is-sel {
  border-color: transparent; color: #fff; box-shadow: 0 6px 16px rgba(28, 96, 63, .3);
  background: linear-gradient(135deg, var(--rose-500), var(--wine-600));
}
.prof-pick:active { transform: scale(.98); }
.prof-pick .pp-av {
  width: 42px; height: 42px; border-radius: 50%; overflow: hidden; flex: 0 0 auto;
  display: grid; place-items: center; background: var(--rose-100); color: var(--rose-500); font-size: 1.2rem;
}
.prof-pick .pp-av img { width: 100%; height: 100%; object-fit: cover; }
.prof-pick.is-sel .pp-av { background: rgba(255, 255, 255, .2); color: #fff; }
.prof-pick .pp-info { display: flex; flex-direction: column; line-height: 1.2; }
.prof-pick .pp-nome { font-weight: 600; }
.prof-pick .pp-esp { font-size: .8rem; opacity: .8; }
@media (prefers-reduced-motion: reduce) { .prof-pick:active { transform: none; } }

/* ===== Cartão de resumo (coluna direita, fixo no desktop) ===== */
.resumo-card {
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--shadow-card); overflow: hidden;
}
/* top: 132px limpa a navbar (~55px) + o stepper fixo acima do conteúdo (~50px),
   senão o stepper (z-index maior) cobre o cabeçalho "Seu agendamento" ao rolar. */
@media (min-width: 992px) { .resumo-card { position: sticky; top: 132px; } }
.resumo-head {
  display: flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, var(--wine-700), var(--plum-800));
  color: #fff; padding: 16px 20px; font-family: 'Playfair Display', serif;
  font-weight: 600; font-size: 1.15rem;
}
.resumo-head i { color: var(--gold-300); font-size: 1.15rem; }
.resumo-body { padding: 18px 20px; }
.resumo-vazio { color: var(--ink-600); font-size: .92rem; margin: 0; }
#resumo-itens .ri {
  display: flex; justify-content: space-between; gap: 12px; align-items: baseline;
  padding: 8px 0; border-bottom: 1px dashed var(--line);
}
#resumo-itens .ri:last-child { border-bottom: 0; }
#resumo-itens .ri .nome { color: var(--ink-900); font-size: .95rem; }
#resumo-itens .ri .preco { color: var(--wine-700); font-weight: 600; white-space: nowrap; }
.resumo-quando {
  margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 7px;
}
.resumo-quando .linha { display: flex; align-items: center; gap: 9px; color: var(--ink-900); font-weight: 500; }
.resumo-quando .linha i { color: var(--rose-500); }
.resumo-total {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 14px; padding-top: 14px; border-top: 2px solid var(--rose-100);
}
.resumo-total > span:first-child { font-weight: 600; color: var(--ink-900); }
.resumo-total-val { color: var(--ink-600); font-size: .9rem; }
.resumo-total-val strong { font-family: 'Playfair Display', serif; font-size: 1.4rem; color: var(--wine-700); }
.resumo-dados { padding: 4px 20px 0; border-top: 1px solid var(--line); margin-top: 2px; padding-top: 18px; }
.resumo-foot { padding: 18px 20px 20px; }

@media (max-width: 575.98px) {
  .resumo-head { font-size: 1.05rem; padding: 14px 16px; }
  .resumo-body, .resumo-dados, .resumo-foot { padding-left: 16px; padding-right: 16px; }
}

/* Honeypot anti-bot: fora da tela, fora da tabulação, invisível a humanos */
.hp-field { position: absolute !important; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* Validação inline dos campos */
.form-control.is-valid, .form-control.is-invalid { background-position: right .75rem center; }
.field-hint { font-size: .82rem; margin-top: 4px; min-height: 1.1em; }
.field-hint.ok { color: var(--wine-600); }
.field-hint.err { color: #c0392b; }

/* Botão confirmar travado até escolher horário */
.btn[disabled], .btn.is-locked { opacity: .55; cursor: not-allowed; box-shadow: none; pointer-events: none; }

/* Tela de sucesso — convite ao próximo passo */
.success-name { color: var(--wine-700); font-weight: 700; }

/* =====================================================================
   Responsividade — refinos mobile (a vitrine é usada no celular)
   ===================================================================== */
@media (max-width: 575.98px) {
  /* Mais respiro nas laterais no celular (o gutter padrao do Bootstrap, ~12px,
     deixava o conteudo "colado" na borda). Vale pro hero e todas as secoes. */
  .container { padding-left: 26px !important; padding-right: 26px !important; }
  section { padding-top: 2.2rem !important; padding-bottom: 2.2rem !important; }
  .hero-inner { padding: 64px 0 76px; }
  .hero p.lead { font-size: 1.02rem; }
  .hero-trust { gap: 6px 16px; font-size: .85rem; }
  .section-head { margin-bottom: 32px; }
  .section-head h2 { font-size: 1.7rem; }
  .info-card { padding: 18px; }
  .btn-lg { padding: .6rem 1.1rem; font-size: .98rem; }
  .modal-lg { --bs-modal-width: 96vw; }
  .vfooter { padding: 44px 0 24px; text-align: center; }
  .vfooter .vbrand { justify-content: center; }
  .vfoot-tagline { margin-left: auto; margin-right: auto; }
  .vfoot-list li { justify-content: center; }
}

/* =====================================================================
   Acabamento mobile — vitrine pública. Impede a inicial gigante (marca
   d'água) de causar rolagem horizontal e melhora os alvos de toque do
   fluxo de agendamento. Só afeta o celular.
   ===================================================================== */
@media (max-width: 575.98px) {
  .hero { overflow: hidden; }                 /* clipa a inicial gigante na seção */
  .hero-flower { font-size: 168px; right: -30px; opacity: .04; }
  .vmenu { width: min(86vw, 300px); }         /* gaveta não toma a tela inteira */
  .slot-btn { min-height: 44px; }             /* bom alvo de toque ao escolher o horário */
  .prof-pick { padding: 12px; }
  .vnav-toggle { min-width: 44px; min-height: 44px; }  /* hambúrguer com alvo confortável */
  #data { max-width: 100% !important; }       /* seletor de data usa a largura toda no celular */
}

/* ---- Acabamento mobile (3ª passada): toque e anti-zoom iOS ---- */
body { -webkit-tap-highlight-color: rgba(36, 131, 85, .12); }

@media (max-width: 575.98px) {
  /* Impede o zoom automático do iOS ao focar inputs pequenos (fonte < 16px) */
  .form-control:not(.form-control-lg), .form-select:not(.form-select-lg) { font-size: 16px; }
  .confetti span:nth-child(n+9) { display: none; }   /* menos confete no celular (pintura) */
}
@media (max-width: 359.98px) {
  .svc-row { flex-wrap: wrap; }
  .svc-row-nome { flex: 1 1 100%; }
}

/* Linha de servico (mobile): impede o PRECO de estourar pra fora do card.
   min-width:0 + overflow-wrap deixam o nome CEDER espaco (quebrando se preciso),
   entao o preco a direita sempre cabe. Miniatura/gaps/duracao mais compactos. */
@media (max-width: 575.98px) {
  .svc-row { gap: 8px; padding: 11px 12px; }
  .svc-row-thumb { width: 38px; height: 38px; }
  .svc-row-nome { min-width: 0; overflow-wrap: anywhere; }
  .svc-row .svc-dur { font-size: .78rem; }
  .svc-row .svc-price { min-width: 0; }
}

/* Botão flutuante de WhatsApp (canto inferior direito da vitrine) */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 1025;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25d366; color: #fff; font-size: 1.75rem; line-height: 1; text-decoration: none;
  box-shadow: 0 10px 26px rgba(37, 211, 102, .42);
  transition: transform .15s ease, box-shadow .15s ease;
}
.wa-float > i { line-height: 1; }
.wa-float::after {  /* anel de pulso sutil para chamar a atenção */
  content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); animation: waPulse 2.4s ease-out infinite;
}
.wa-float:hover { transform: translateY(-2px) scale(1.05); color: #fff; box-shadow: 0 14px 32px rgba(37, 211, 102, .55); }
.wa-float:active { transform: scale(.97); }
@keyframes waPulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .45); } 70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }
@supports (padding: env(safe-area-inset-bottom)) { .wa-float { bottom: calc(18px + env(safe-area-inset-bottom)); } }
@media (prefers-reduced-motion: reduce) { .wa-float { transition: none; } .wa-float::after { animation: none; } }

/* Mapa embutido (seção "Onde e quando") */
.vmap { border-radius: 14px; overflow: hidden; border: 1px solid var(--rose-100); box-shadow: 0 6px 18px rgba(10, 36, 23, .08); }
.vmap iframe { display: block; width: 100%; height: 200px; border: 0; }

/* Barra de ação fixa do agendamento (só no celular/tablet): total + atalho */
.agendar-bar, .agendar-bar-spacer { display: none; }
@media (max-width: 991.98px) {
  .agendar-bar {
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030;
    padding: 10px 16px; padding-bottom: calc(10px + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, #103a26, #0a2417);
    box-shadow: 0 -6px 22px rgba(10, 36, 23, .18);
  }
  .agendar-bar .ab-total { line-height: 1.1; }
  .agendar-bar .ab-label { display: block; font-size: .68rem; color: rgba(255, 255, 255, .72); }
  .agendar-bar .ab-val { font-size: 1.12rem; color: #fff; }
  .agendar-bar .btn { white-space: nowrap; min-height: 46px; padding: 0 22px; background: var(--gold-400); border: 0; color: #0a2417; font-weight: 600; }
  .agendar-bar .btn:active { filter: brightness(.96); }
  .agendar-bar-spacer { display: block; height: 78px; }   /* espaço p/ a barra não cobrir o conteúdo */
}

/* =====================================================================
   Comparador antes/depois (lightbox do catálogo)
   ---------------------------------------------------------------------
   Duas fotos sobrepostas; a de "antes" é recortada via clip-path até
   --pos. Um <input range> invisível por cima controla a posição (arraste,
   clique e setas do teclado). Sem JS, abre dividido a 50%.
   ===================================================================== */
.ba-compare {
  position: relative; width: 100%; aspect-ratio: 4 / 3; overflow: hidden;
  --pos: 50%; background: var(--plum-900, #0a2417); user-select: none;
}
.ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.ba-after  { z-index: 1; }
.ba-before { z-index: 2; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-divider { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; z-index: 3; box-shadow: 0 0 10px rgba(0, 0, 0, .45); pointer-events: none; }
.ba-handle {
  position: absolute; top: 50%; left: var(--pos); transform: translate(-50%, -50%);
  width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--wine-600);
  display: grid; place-items: center; font-size: 1.05rem; z-index: 4; pointer-events: none;
  box-shadow: 0 3px 12px rgba(0, 0, 0, .4);
}
.ba-tag {
  position: absolute; bottom: 14px; z-index: 3; pointer-events: none;
  font-size: .66rem; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: #fff;
  background: rgba(10, 36, 23, .62); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  padding: 5px 11px; border-radius: 999px;
}
.ba-tag-before { left: 14px; }
.ba-tag-after  { right: 14px; }
.ba-range {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; z-index: 5;
  opacity: 0; cursor: ew-resize; touch-action: none;
  -webkit-appearance: none; appearance: none; background: transparent;
}
.ba-range::-webkit-slider-thumb { -webkit-appearance: none; width: 44px; height: 100%; cursor: ew-resize; }
.ba-range::-moz-range-thumb { width: 44px; height: 100%; border: 0; background: transparent; cursor: ew-resize; }
.ba-compare:focus-within .ba-handle { box-shadow: 0 0 0 3px var(--gold-300), 0 3px 12px rgba(0, 0, 0, .4); }

/* Selo "Antes & depois" no card do catálogo (top-left; photo-count fica à direita) */
.svc-ba-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  display: inline-flex; align-items: center; gap: 5px; font-size: .68rem; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--rose-400), var(--wine-600));
  padding: 4px 10px; border-radius: 999px; box-shadow: 0 3px 10px rgba(10, 36, 23, .35);
}

/* =====================================================================
   Agendar — UX: busca, fotos nos serviços, faixa de dias, horários por
   período, chips removíveis no resumo.
   ===================================================================== */
/* Busca rápida de serviços */
.svc-search { position: relative; margin-bottom: 12px; }
.svc-search > i { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--rose-500); pointer-events: none; }
.svc-search input {
  width: 100%; padding: 10px 14px 10px 38px; border: 1.5px solid var(--line); border-radius: 12px;
  background: #fff; color: var(--ink-900); font-size: .95rem; transition: border-color .16s, box-shadow .16s;
}
.svc-search input:focus { outline: none; border-color: var(--rose-400); box-shadow: 0 0 0 4px rgba(58,168,116,.13); }

/* Miniatura da foto em cada linha de serviço */
.svc-row-thumb {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: 11px; overflow: hidden;
  display: grid; place-items: center; background: var(--rose-100); color: var(--rose-500); font-size: 1.2rem;
}
.svc-row-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Faixa de dias (chips horizontais roláveis) */
.day-strip {
  display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 6px;
  scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch;
}
.day-chip {
  flex: 0 0 auto; scroll-snap-align: start; cursor: pointer;
  min-width: 64px; padding: 9px 6px; border: 1.5px solid var(--line); border-radius: 14px;
  background: #fff; color: var(--ink-900); text-align: center; line-height: 1.15;
  display: flex; flex-direction: column; gap: 1px; transition: border-color .16s, background .16s, box-shadow .16s, transform .12s;
}
.day-chip:hover { border-color: var(--rose-400); background: #fcfefc; }
.day-chip:active { transform: scale(.97); }
.day-chip .dc-dow { font-size: .68rem; font-weight: 600; color: var(--ink-600); text-transform: uppercase; letter-spacing: .3px; }
.day-chip .dc-day { font-family: 'Playfair Display', Georgia, serif; font-size: 1.3rem; font-weight: 700; }
.day-chip .dc-mon { font-size: .64rem; color: var(--ink-600); text-transform: uppercase; }
.day-chip.is-sel {
  border-color: transparent; color: #fff; box-shadow: 0 6px 16px rgba(28,96,63,.3);
  background: linear-gradient(135deg, var(--rose-500), var(--wine-600));
}
.day-chip.is-sel .dc-dow, .day-chip.is-sel .dc-mon { color: rgba(255,255,255,.85); }
.day-more { margin-top: 10px; }
.day-more summary { cursor: pointer; color: var(--rose-500); font-size: .86rem; font-weight: 600; list-style: none; display: inline-flex; align-items: center; gap: 6px; }
.day-more summary::-webkit-details-marker { display: none; }
.day-more summary:hover { color: var(--wine-700); }
@media (prefers-reduced-motion: reduce) { .day-chip:active { transform: none; } }

/* Horários agrupados por período (pílula colorida por turno) */
.slot-group { flex: 1 1 100%; }
.slot-group + .slot-group { margin-top: 14px; }
.slot-group-h {
  display: inline-flex; align-items: center; gap: 6px; margin: 0 0 9px;
  padding: 4px 11px; border-radius: 999px;
  font-size: .7rem; letter-spacing: 1px; text-transform: uppercase; font-weight: 700;
}
.sg-manha .slot-group-h { background: rgba(205, 163, 73, .16); color: #a9801f; }
.sg-manha .slot-group-h i { color: var(--gold-600); }
.sg-tarde .slot-group-h { background: rgba(58, 168, 116, .16); color: var(--rose-500); }
.sg-noite .slot-group-h { background: rgba(94, 106, 168, .16); color: #5e6aa8; }
.sg-noite .slot-group-h i { color: #6e7bc4; }
.slot-chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* Entrada animada (cascata) — serviços, dias e chips de horário */
@keyframes agIn { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: none; } }
.svc-row { animation: agIn .5s cubic-bezier(.22, .61, .36, 1) both; animation-delay: calc(min(var(--svc-i, 0), 14) * .04s); }
.day-chip { animation: agIn .45s cubic-bezier(.22, .61, .36, 1) both; animation-delay: calc(min(var(--i, 0), 13) * .03s); }
.slot-in { animation: agIn .38s cubic-bezier(.22, .61, .36, 1) both; animation-delay: calc(min(var(--i, 0), 24) * .022s); }
@media (prefers-reduced-motion: reduce) {
  .svc-row, .day-chip, .slot-in { animation: none; }
}

/* Botão de remover serviço no resumo */
#resumo-itens .ri .ri-rm {
  flex: 0 0 auto; border: 0; background: transparent; color: var(--ink-600); cursor: pointer;
  width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-size: .8rem;
  transition: background .15s, color .15s;
}
#resumo-itens .ri .ri-rm:hover { background: #fdecec; color: #b3261e; }

/* ----- Barra de progresso (stepper) fixa no topo do formulário ----- */
.stepper {
  display: flex; align-items: center; gap: 4px; margin: 0 0 22px; padding: 9px 12px;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  position: sticky; top: 70px; z-index: 20;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 4px 16px rgba(10, 36, 23, .06);
}
.stepper .step {
  display: inline-flex; align-items: center; gap: 7px; flex: 0 0 auto;
  background: none; border: 0; cursor: pointer; padding: 4px 8px; border-radius: 9px;
  color: var(--ink-600); font-size: .82rem; font-weight: 600; white-space: nowrap;
  transition: color .15s, background .15s;
}
.stepper .step:not(:last-child)::after { content: ""; width: 16px; height: 2px; border-radius: 2px; background: var(--line); margin-left: 4px; }
.stepper .step .st-n {
  width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; flex: 0 0 auto;
  background: var(--line); color: var(--ink-600); font-size: .74rem; font-weight: 700;
  transition: background .15s, color .15s;
}
.stepper .step:hover { background: var(--rose-100); }
.stepper .step.is-active { color: var(--wine-700); }
.stepper .step.is-active .st-n { background: var(--rose-500); color: #fff; }
.stepper .step.is-done { color: var(--rose-500); }
.stepper .step.is-done .st-n { background: var(--rose-400); color: #fff; }
@media (max-width: 575.98px) {
  .stepper { top: 62px; }
  .stepper .step .st-l { display: none; }              /* só números no celular */
  .stepper .step:not(:last-child)::after { width: 9px; }
}

/* ----- "Primeiro horário livre" ----- */
.passo3-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.btn-primeiro {
  display: inline-flex; align-items: center; gap: 7px; cursor: pointer;
  border: 1.5px solid var(--gold-400); background: linear-gradient(135deg, #fff, #fffdf5);
  color: var(--wine-700); font-weight: 600; font-size: .85rem; padding: 8px 14px; border-radius: 999px;
  transition: background .16s, border-color .16s, transform .12s, box-shadow .16s;
}
.btn-primeiro:hover { border-color: var(--gold-500); box-shadow: 0 4px 12px rgba(205, 163, 73, .25); transform: translateY(-1px); }
.btn-primeiro i { color: var(--gold-600); }
.btn-primeiro[disabled] { opacity: .7; cursor: progress; }
.spin-mini { width: 14px; height: 14px; border: 2px solid rgba(28, 96, 63, .25); border-top-color: var(--wine-600); border-radius: 50%; display: inline-block; vertical-align: -2px; animation: spinMini .7s linear infinite; }
@keyframes spinMini { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spin-mini { animation: none; } .btn-primeiro:hover { transform: none; } }

/* ============================================================
   Modal premium de pedido de produto (.ped-*)
   Painel visual verde+dourado (constante nos 2 temas) | form segue o tema
   ============================================================ */
.ped-modal .modal-content {
  border: none; border-radius: 22px; overflow: hidden;
  box-shadow: 0 40px 90px rgba(8, 24, 16, .5);
}
.ped-grid { display: grid; grid-template-columns: 1fr; }
@media (min-width: 768px) { .ped-grid { grid-template-columns: 0.9fr 1.1fr; } }

.ped-visual {
  position: relative; overflow: hidden; color: #eef5f0;
  background: linear-gradient(165deg, #06180f, #15482f 58%, #1c603f);
  padding: 32px 28px; display: flex; flex-direction: column; gap: 16px; justify-content: center;
}
.ped-glow {
  position: absolute; left: -30%; top: -35%; width: 90%; height: 70%;
  background: radial-gradient(closest-side, rgba(236, 213, 150, .22), transparent 70%);
  pointer-events: none;
}
.ped-figure {
  position: relative; align-self: center; width: 100%; max-width: 220px; aspect-ratio: 1;
  border-radius: 18px; overflow: hidden; display: grid; place-items: center;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(236, 213, 150, .25);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
}
.ped-figure img { width: 100%; height: 100%; object-fit: cover; }
.ped-figure-empty { font-size: 3.2rem; color: rgba(236, 213, 150, .5); }
.ped-visual-info { position: relative; }
.ped-cat {
  display: inline-block; font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: #0a2417; background: linear-gradient(135deg, #ecd596, #cda349);
  padding: 3px 11px; border-radius: 999px; margin-bottom: 10px;
}
.ped-title { font-family: 'Playfair Display', Georgia, serif; font-weight: 700; font-size: 1.5rem; line-height: 1.2; color: #fff; margin: 0; }
.ped-preco { font-family: 'Playfair Display', Georgia, serif; font-weight: 700; font-size: 1.55rem; color: #ecd596; margin-top: 10px; }
.ped-desc { color: #cfe2d6; font-size: .9rem; line-height: 1.55; margin: 12px 0 0; }

.ped-form { padding: 30px 28px; }
.ped-eyebrow {
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: #b8862f; margin: 0 0 6px; display: flex; align-items: center; gap: 6px;
}
.ped-lead { font-size: .9rem; line-height: 1.5; margin: 0 0 20px; }
.ped-form .form-label { font-size: .82rem; font-weight: 600; margin-bottom: 4px; }
.ped-hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.ped-actions { display: flex; align-items: center; justify-content: flex-end; gap: 6px; margin-top: 18px; }
.ped-cancel { text-decoration: none; font-weight: 600; }
.ped-enviar {
  background: linear-gradient(135deg, #2aa269, #15633f); color: #fff; font-weight: 600;
  border: none; padding: 11px 22px; border-radius: 13px;
  box-shadow: 0 10px 24px rgba(20, 99, 63, .35); transition: transform .15s ease, box-shadow .15s ease;
}
.ped-enviar:hover, .ped-enviar:focus-visible { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(20, 99, 63, .45); color: #fff; }
.ped-close {
  position: absolute; top: 14px; right: 14px; z-index: 4;
  background-color: rgba(255, 255, 255, .9); border-radius: 50%; padding: .55rem; opacity: 1;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
}
.ped-close:hover { background-color: #fff; }
@media (max-width: 575.98px) {
  .ped-visual { padding: 26px 22px 22px; }
  .ped-figure { max-width: 150px; }
  .ped-form { padding: 24px 22px; }
}
@media (prefers-reduced-motion: reduce) { .ped-enviar { transition: none; } .ped-enviar:hover { transform: none; } }

/* =====================================================================
   PWA — convite "adicionar à tela inicial" (banner on-brand)
   ===================================================================== */
.pwa-banner {
  position: fixed; left: 12px; right: 12px; bottom: 14px; z-index: 1040;
  margin: 0 auto; max-width: 460px;
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; border-radius: 18px;
  background: #fff; border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(10, 36, 23, .22);
  transform: translateY(140%); opacity: 0;
  transition: transform .34s cubic-bezier(.22, .61, .36, 1), opacity .34s ease;
}
.pwa-banner.is-in { transform: translateY(0); opacity: 1; }
.pwab-ic {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: 13px;
  display: grid; place-items: center; font-size: 1.45rem; color: #fff;
  background: linear-gradient(135deg, var(--rose-400), var(--wine-600));
  box-shadow: 0 6px 16px rgba(36, 131, 85, .35);
}
.pwab-txt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.pwab-txt strong { font-size: .95rem; color: var(--ink-900); line-height: 1.2; }
.pwab-txt span { font-size: .82rem; color: var(--ink-600); line-height: 1.3; }
.pwab-txt span .bi { color: var(--wine-600); }
.pwab-acts { flex: 0 0 auto; display: flex; align-items: center; gap: 6px; }
.pwab-add {
  appearance: none; border: 0; cursor: pointer; white-space: nowrap;
  background: linear-gradient(135deg, var(--rose-400), var(--rose-500)); color: #fff;
  font-size: .9rem; font-weight: 600; padding: 9px 16px; border-radius: 999px;
  box-shadow: 0 6px 16px rgba(36, 131, 85, .3); transition: transform .15s ease, box-shadow .15s ease;
}
.pwab-add:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(36, 131, 85, .42); }
.pwab-add:active { transform: translateY(0); }
.pwab-close {
  appearance: none; border: 0; cursor: pointer; background: var(--rose-100); color: var(--wine-700);
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: .9rem;
  transition: background .15s ease;
}
.pwab-close:hover { background: var(--cream-100); }
.pwa-banner :focus-visible { outline: 2px solid var(--rose-500); outline-offset: 2px; }
/* Quando o banner está aberto, sobe o botão flutuante de WhatsApp p/ não cobrir. */
.pwa-open .wa-float { transform: translateY(-86px); }
@supports (padding: env(safe-area-inset-bottom)) {
  .pwa-banner { bottom: calc(14px + env(safe-area-inset-bottom)); }
}
@media (max-width: 575.98px) {
  .pwab-add { padding: 9px 13px; }
  .pwab-txt span { font-size: .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  .pwa-banner { transition: none; }
  .pwab-add { transition: none; }
  .pwa-open .wa-float { transition: none; }
}
