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

:root {
  --whatsapp: #25d366;
  --bg: #0a0a0a;
  --surface: rgba(20, 20, 20, .88);
  --surface-2: #141414;
  --surface-solid: #121212;
  --border: rgba(212, 175, 55, .22);
  --border-strong: rgba(212, 175, 55, .45);
  --text: #f5f5f5;
  --muted: #a3a3a3;
  --primary: #d4af37;
  --primary-dark: #b8962e;
  --accent: #f0d78c;
  --ok: #22c55e;
  --warn: #f59e0b;
  --err: #ef4444;
  --radius: 16px;
  --shadow: 0 12px 34px rgba(0, 0, 0, .45);
  --brand-font: "Montserrat", "Inter", sans-serif;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--brand-font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  position: relative;
  overflow-x: hidden;
  min-height: 100vh;
}
h1, h2, h3, .brand { font-family: var(--brand-font); letter-spacing: .02em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 1.25rem; position: relative; z-index: 1; }
.narrow { max-width: 720px; }
.center { text-align: center; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Acessibilidade */
.skip-link { position: absolute; left: -999px; top: 0; z-index: 2000; background: var(--primary); color: #04121a; padding: .7rem 1.2rem; font-weight: 600; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* Fundo */
.bg-grid {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(212, 175, 55, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, .06) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
}
.bg-glow {
  position: fixed; top: -260px; left: 50%; transform: translateX(-50%);
  width: 1100px; height: 700px; z-index: 0; pointer-events: none;
  background: radial-gradient(circle at 50% 40%, rgba(212, 175, 55, .22), transparent 55%),
              radial-gradient(circle at 30% 60%, rgba(212, 175, 55, .1), transparent 55%);
  filter: blur(20px);
}

/* Barra de demo */
.demo-bar {
  position: relative; z-index: 120;
  display: flex; align-items: center; justify-content: center; gap: .55rem; flex-wrap: wrap;
  background: linear-gradient(90deg, #0a0a0a, #1a1508);
  color: #f0d78c; font-size: .85rem; font-weight: 500;
  padding: .55rem 1rem; text-align: center;
  border-bottom: 1px solid rgba(212, 175, 55, .35);
}
.demo-bar strong { font-weight: 800; color: #d4af37; }
.demo-dot { width: 9px; height: 9px; border-radius: 50%; background: #d4af37; animation: pulse 1.6s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(10, 10, 10, .92); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: .6rem; font-weight: 700; font-size: 1.1rem; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; font-weight: 800; }
.brand-logo {
  height: 52px;
  width: auto;
  max-width: 170px;
  border-radius: 0;
  object-fit: contain;
  background: transparent;
}
.nav { display: flex; align-items: center; gap: 1.4rem; font-weight: 500; font-size: .95rem; }
.nav a { color: var(--muted); transition: color .2s; }
.nav a:hover { color: var(--text); }
.admin-link { font-size: .85rem; }
.btn-nav { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff !important; padding: .55rem 1.1rem; border-radius: 10px; font-weight: 700; }
.nav-toggle { display: none; background: var(--surface-2); border: 1px solid var(--border-strong); color: var(--text); width: 44px; height: 44px; border-radius: 11px; cursor: pointer; font-size: 1.2rem; }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .8rem 1.6rem; border-radius: 12px; font-weight: 700; cursor: pointer; border: 1px solid transparent; transition: transform .15s, box-shadow .2s; font-family: inherit; font-size: 1rem; }
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: .95rem 1.9rem; }
.btn-block { width: 100%; }
.btn-primary { background: linear-gradient(135deg, #f0d78c, #d4af37 55%, #b8962e); color: #0a0a0a; box-shadow: 0 10px 30px rgba(212, 175, 55, .28); }
.btn-outline { background: var(--surface); border-color: var(--border-strong); color: var(--text); }
.btn-outline:hover { border-color: var(--primary); }

/* Mensagens */
.messages-wrap { margin-top: 1rem; }
.flash { padding: .8rem 1.1rem; border-radius: 12px; margin-bottom: .6rem; font-weight: 500; }
.flash-error { background: rgba(239, 68, 68, .1); border: 1px solid rgba(239, 68, 68, .35); color: #9f1239; }
.flash-success { background: rgba(212, 175, 55, .12); border: 1px solid rgba(212, 175, 55, .2); color: #f0d78c; }

/* Hero */
.hero { padding: 4rem 0 3rem; }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.5rem; align-items: center; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); background: var(--surface-2); padding: .3rem .8rem; border-radius: 999px; margin-bottom: 1rem; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.1rem); line-height: 1.1; margin-bottom: 1rem; }
.hero .lead { color: var(--muted); font-size: 1.15rem; margin-bottom: 1.6rem; }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.hero-actions.center { justify-content: center; }
.hero-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.6rem; color: var(--muted); font-size: .9rem; }
.hero-badges li { display: flex; align-items: center; gap: .4rem; }
.hero-badges li::before { content: "✓"; color: var(--ok); font-weight: 800; }
.hero-card { background: var(--surface-solid); border: 1px solid var(--border); border-radius: 18px; padding: 1.5rem; box-shadow: var(--shadow); }
.hero-card-head { font-weight: 700; margin-bottom: 1rem; color: var(--accent); }
.hero-card-row { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-top: 1px solid var(--border); font-size: .95rem; }
.hero-card-row span { color: var(--muted); }
.hero-card .btn { margin-top: 1.2rem; }

/* Seções */
.section { padding: 3.4rem 0; position: relative; }
.section-title { font-size: clamp(1.5rem, 4vw, 2.1rem); text-align: center; }
.section-subtitle { text-align: center; color: var(--muted); margin-top: .4rem; margin-bottom: 2rem; }
.section-text { color: var(--muted); }

/* Cards */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; transition: border-color .2s, transform .2s; display: flex; flex-direction: column; }
a.card:hover, .card.is-clickable:hover { border-color: var(--primary); transform: translateY(-4px); }
.service-card h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.service-card p { color: var(--muted); font-size: .92rem; flex: 1; }
.card-meta { display: flex; gap: 1rem; margin-top: 1rem; color: var(--accent); font-weight: 600; font-size: .9rem; }
.card-cta { margin-top: 1rem; color: var(--primary); font-weight: 700; font-size: .9rem; }
.team-card { text-align: center; align-items: center; }
.avatar { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; font-weight: 800; font-size: 1.5rem; margin-bottom: 1rem; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-role { color: var(--accent); font-size: .85rem; font-weight: 600; }
.team-card p { color: var(--muted); font-size: .9rem; margin-top: .6rem; }
.empty { color: var(--muted); text-align: center; grid-column: 1 / -1; padding: 2rem 0; }

/* CTA */
.cta-section .cta-box { background: linear-gradient(135deg, rgba(189, 143, 140, .18), rgba(107, 48, 60, .12)); border: 1px solid var(--border-strong); border-radius: 20px; padding: 2.6rem; text-align: center; }
.cta-box h2 { font-size: 1.8rem; margin-bottom: .6rem; }
.cta-box p { color: var(--muted); margin-bottom: 1.4rem; }

/* Booking / wizard */
.booking { padding-top: 2.2rem; }
.booking-title { font-size: clamp(1.5rem, 4vw, 2rem); margin: 1rem 0 .4rem; }
.booking-sub { color: var(--muted); margin-bottom: 1.6rem; }
.back-link { color: var(--accent); font-weight: 600; font-size: .9rem; }
.steps { list-style: none; display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.steps li { display: flex; align-items: center; gap: .45rem; color: var(--muted); font-size: .85rem; font-weight: 600; background: var(--surface); border: 1px solid var(--border); padding: .4rem .8rem; border-radius: 999px; }
.steps li span { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); font-size: .8rem; }
.steps li.is-done { color: var(--text); }
.steps li.is-done span { background: var(--primary-dark); color: #fff; }
.steps li.is-active { border-color: var(--primary); color: var(--text); }
.steps li.is-active span { background: var(--primary); color: #fff; }

.date-form { display: flex; align-items: flex-end; gap: .8rem; margin: 1.4rem 0; }
.date-form label { display: block; color: var(--muted); font-size: .85rem; margin-bottom: .3rem; }
.date-form input[type="date"] { background: var(--surface-solid); border: 1px solid var(--border-strong); color: var(--text); padding: .7rem .9rem; border-radius: 10px; font: inherit; color-scheme: dark; }

.slots-title { font-size: 1.05rem; margin: 1.4rem 0 1rem; color: var(--muted); font-weight: 600; text-transform: capitalize; }
.slots-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: .7rem; }
.slot { text-align: center; padding: .8rem .4rem; border-radius: 12px; background: var(--surface); border: 1px solid var(--border-strong); font-weight: 700; transition: all .15s; }
.slot:hover { background: var(--primary); color: #fff; border-color: var(--primary); transform: translateY(-2px); }

/* Summary + form */
.summary { background: var(--surface-solid); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.2rem 1.4rem; margin: 1.2rem 0 1.6rem; }
.summary-row { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-top: 1px solid var(--border); }
.summary-row:first-child { border-top: none; }
.summary-row span { color: var(--muted); }
.booking-form { display: flex; flex-direction: column; gap: 1rem; max-width: 460px; }
.field label { display: block; color: var(--muted); font-size: .88rem; margin-bottom: .35rem; }
.field input, .booking-form input[type="text"], .booking-form input[type="password"] { width: 100%; background: var(--surface-solid); border: 1px solid var(--border-strong); color: var(--text); padding: .8rem .95rem; border-radius: 10px; font: inherit; }
.field input:focus { border-color: var(--primary); outline: none; }
#id_username, #id_password { width: 100%; background: var(--surface-solid); border: 1px solid var(--border-strong); color: var(--text); padding: .8rem .95rem; border-radius: 10px; font: inherit; }
.hp { position: absolute; left: -9999px; }

.success-check { width: 84px; height: 84px; border-radius: 50%; background: rgba(34,197,94,.16); border: 2px solid var(--ok); color: var(--ok); display: grid; place-items: center; font-size: 2.4rem; font-weight: 800; margin: 0 auto 1.2rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); margin-top: 2rem; padding: 2.4rem 0 1.6rem; background: rgba(10, 10, 10, .85); }
.footer-inner { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.footer-brand { font-family: var(--brand-font); font-weight: 700; font-size: 1.15rem; letter-spacing: .04em; }
.footer-inner p { color: var(--muted); font-size: .9rem; }
.footer-credit { text-align: right; }
.footer-credit p { color: var(--muted); font-size: .8rem; }
.footer-credit strong { font-family: var(--brand-font); font-size: 1.2rem; color: var(--primary-dark); }
.footer-credit span { display: block; color: var(--muted); font-size: .78rem; }
.footer-copy { margin-top: 1.6rem; padding-top: 1.2rem; border-top: 1px solid var(--border); color: var(--muted); font-size: .82rem; text-align: center; }

/* WhatsApp flutuante */
.whatsapp-float { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: var(--whatsapp); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(37, 211, 102, .45); }
.whatsapp-float:hover { transform: scale(1.06); }

/* Responsivo */
@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: .25rem; background: var(--surface-solid); border-bottom: 1px solid var(--border-strong); padding: .8rem 1.25rem 1.2rem; box-shadow: var(--shadow); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: transform .2s, opacity .2s; }
  .nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav a, .admin-link { padding: .75rem .25rem; border-bottom: 1px solid var(--border); font-size: 1rem; }
  .btn-nav { text-align: center; margin-top: .6rem; border-bottom: none; }
  .hero-inner { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .cards-grid { grid-template-columns: 1fr; }
  .hero { padding: 2.4rem 0; }
  .hero-actions .btn { width: 100%; }
  .footer-inner { flex-direction: column; }
  .footer-credit { text-align: left; }
  .date-form { flex-direction: column; align-items: stretch; }
}

/* Hero com identidade visual (sem fotos) */
.hero-with-photo .hero-inner { grid-template-columns: 1.05fr .95fr; }
.hero-brand-panel {
  position: relative;
  min-height: 320px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: 2.5rem 1.5rem;
  background:
    radial-gradient(circle at 20% 20%, rgba(212, 175, 55, .18), transparent 45%),
    linear-gradient(145deg, #0a0a0a 0%, #101010 55%, #0a0a0a 100%);
}
.pietra-brand-panel img {
  width: min(100%, 420px);
  height: auto;
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .5));
}
.hero-brand-mark {
  font-family: "Space Grotesk", "Arial Black", sans-serif;
  font-size: clamp(2.4rem, 6vw, 3.4rem);
  font-weight: 900;
  font-style: italic;
  line-height: 1;
  color: #111;
  text-shadow: 0 0 0 #fff, 1px 1px 0 #fff, -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff;
}
.hero-brand-mark span { color: #fff; text-shadow: none; }
.hero-brand-sub {
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .22em;
  color: #fff;
  background: var(--primary-dark);
  padding: .35rem .75rem;
  border-radius: 3px;
}
.hero-brand-services { color: rgba(255, 255, 255, .85); font-weight: 600; margin-top: .25rem; }
.hero-brand-badge {
  margin-top: 1rem;
  background: rgba(17, 17, 17, .82);
  border: 1px solid var(--border-strong);
  color: #fff;
  padding: .55rem .85rem;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 700;
  text-align: center;
}

.pietra-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.pietra-trust-grid article {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
  text-align: center;
}
.pietra-trust-grid strong { display: block; color: var(--accent); font-size: 1.2rem; }
.pietra-trust-grid span { color: var(--muted); font-size: .88rem; }

/* Demonstração em vídeo */
.demo-video-section { padding-top: 2rem; }
.demo-video-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: center; }
.demo-video-player {
  position: relative; border-radius: 20px; overflow: hidden;
  border: 1px solid var(--border-strong); background: #111; box-shadow: var(--shadow);
  aspect-ratio: 16 / 10;
}
.demo-video-backdrop {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 25%, rgba(226, 185, 178, .25), transparent 50%),
    linear-gradient(160deg, #111 0%, #3d1d24 45%, #7b454f 100%);
}
.demo-video-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 1rem; padding: 1.5rem;
  background: linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.72));
}
.demo-video-steps { list-style: none; display: grid; gap: .85rem; }
.demo-video-steps li {
  display: flex; gap: .75rem; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: .9rem 1rem;
}
.demo-video-steps strong { color: var(--primary); min-width: 1.4rem; }
.demo-video-steps span { color: var(--muted); font-size: .92rem; }
.demo-play-btn {
  width: 74px; height: 74px; border-radius: 50%; border: none; cursor: pointer;
  background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff;
  font-size: 1.6rem; box-shadow: 0 12px 30px rgba(107, 48, 60, .45);
}
.demo-play-label { color: #fff; font-weight: 700; text-align: center; }
.demo-screen {
  position: absolute; inset: 12%; border-radius: 16px; background: #fff; color: #111;
  padding: 1rem; opacity: 0; transform: translateY(12px); transition: opacity .45s ease, transform .45s ease;
  display: flex; flex-direction: column; gap: .55rem; font-size: .82rem;
}
.demo-screen.is-active { opacity: 1; transform: translateY(0); }
.demo-screen h4 { color: var(--primary); font-size: .95rem; }
.demo-screen p { color: #555; }
.hours-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; margin-top: 1rem; }
.hours-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 1rem; text-align: center; }
.hours-card strong { display: block; color: var(--primary); margin-bottom: .25rem; }
.hours-card span { color: var(--muted); font-size: .9rem; }

@media (max-width: 880px) {
  .demo-video-grid, .hero-with-photo .hero-inner { grid-template-columns: 1fr; }
  .pietra-trust-grid { grid-template-columns: 1fr; }
}
