/* ==========================================================================
   Black Iron Barber · design system (preto + dourado metálico)
   ========================================================================== */
:root {
  --bg: #0b0908;
  --bg2: #100d0b;
  --card: #15110e;
  --card2: #1b1612;
  --line: rgba(226,184,118,.14);
  --line2: rgba(255,255,255,.08);
  --text: #f4efe8;
  --muted: #b0a79b;
  --gold: #b98a4c;
  --gold2: #e2b876;
  --gold3: #7c5a2a;
  --danger: #e0574f;
  --ok: #4cc38a;
  --radius: 10px;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --script: "Caveat", "Brush Script MT", cursive;
  --ease: cubic-bezier(.2,.8,.2,1);
  --grad: linear-gradient(135deg, #f0cf94 0%, #e2b876 35%, #b98a4c 100%);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { font-family: var(--sans); background: var(--bg); color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 1; opacity: .045;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
h1, h2, h3 { font-family: var(--serif); }
.container { width: min(1180px, 100% - 40px); margin-inline: auto; position: relative; z-index: 2; }
.narrow { width: min(780px, 100% - 40px); }
section { padding: 96px 0; position: relative; }
section.alt { background: linear-gradient(180deg, var(--bg2), var(--bg)); }
[hidden] { display: none !important; }
.skip { position: absolute; left: -999px; top: 8px; }
.skip:focus { left: 12px; z-index: 100; background: var(--gold2); color: #1a1405; padding: 10px 16px; border-radius: 8px; font-weight: 700; }
:focus-visible { outline: 2px solid var(--gold2); outline-offset: 3px; }

/* ---------- Ícones ---------- */
.ico { display: inline-grid; place-items: center; width: 1.2em; height: 1.2em; flex: none; }
.ico svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.ico svg .fill { fill: currentColor; stroke: none; }

/* ---------- Títulos ---------- */
.eyebrow { display: block; color: var(--gold2); text-transform: uppercase; letter-spacing: .32em; font-size: .72rem; font-weight: 600; }
.section-title { font-size: clamp(1.7rem, 3.6vw, 2.6rem); line-height: 1.12; margin: 12px 0 14px; text-transform: uppercase; letter-spacing: .03em; font-weight: 700; }
.section-sub { color: var(--muted); max-width: 520px; }
.gold-text { background: linear-gradient(100deg, #b98a4c, #f0cf94 30%, #fff1cf 50%, #e2b876 70%, #b98a4c); background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 7s linear infinite; }
@keyframes shimmer { to { background-position: -250% 0; } }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 40px; flex-wrap: wrap; }
.sec-head .section-title { margin-bottom: 0; }
.link-all { background: none; border: 0; color: var(--text); font: 600 .74rem var(--sans); text-transform: uppercase; letter-spacing: .18em; cursor: pointer; padding: 8px 0; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.link-all:hover { color: var(--gold2); border-color: var(--gold2); }
.link-all span { display: inline-block; transition: transform .25s; margin-left: 6px; }
.link-all:hover span { transform: translateX(5px); }

/* ---------- Barra de rolagem / brilho ---------- */
#scroll-bar { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 60; background: var(--grad); box-shadow: 0 0 12px var(--gold); }
.cursor-glow { position: fixed; left: 0; top: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px; z-index: 0; pointer-events: none; background: radial-gradient(circle, rgba(226,184,118,.08), transparent 60%); will-change: transform; }
@media (hover: none) { .cursor-glow { display: none; } }

/* ---------- Header ---------- */
header.top { position: fixed; inset: 0 0 auto 0; z-index: 50; border-bottom: 1px solid transparent; transition: background .3s, border-color .3s, backdrop-filter .3s; }
header.top.scrolled { background: rgba(11,9,8,.86); backdrop-filter: blur(14px) saturate(1.3); border-color: var(--line); }
header.top .container { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 78px; }
.logo { display: flex; align-items: center; gap: 12px; font: 700 1.1rem var(--serif); text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }
.logo-img { height: 48px; width: 48px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px var(--gold3), 0 0 18px rgba(226,184,118,.3); }
nav { display: flex; align-items: center; gap: 26px; }
nav > a { position: relative; color: #ddd6cb; font-size: .84rem; padding: 6px 0; transition: color .2s; }
nav > a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0; background: var(--gold2); transition: width .3s var(--ease); }
nav > a:hover, nav > a.ativo { color: var(--gold2); }
nav > a:hover::after, nav > a.ativo::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 8px; border: 1px solid var(--line); background: rgba(255,255,255,.04); color: var(--gold2); cursor: pointer; font-size: 1.15rem; transition: border-color .2s, background .2s; }
.icon-btn:hover { border-color: var(--gold2); background: rgba(226,184,118,.1); }
.user-chip { color: var(--gold2); font-size: .85rem; white-space: nowrap; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 8px; border: 1px solid var(--line); background: rgba(255,255,255,.05); cursor: pointer; place-content: center; gap: 5px; }
.menu-btn span { display: block; width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s, opacity .25s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 1100px) {
  .menu-btn { display: grid; }
  header nav { position: fixed; top: 78px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 6px 20px 18px; background: rgba(11,9,8,.98); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(-10px); pointer-events: none; transition: opacity .25s, transform .25s, visibility .25s; }
  header nav.open { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
  header nav > a:not([hidden]) { display: block; padding: 16px 4px; font-size: 1rem; border-bottom: 1px solid var(--line2); }
  header nav > a::after { display: none; }
  body.menu-aberto header.top { background: rgba(11,9,8,.98); }
}
@media (max-width: 560px) { .logo-img ~ span { display: none; } .nav-actions .btn .txt { display: none; } .nav-actions .btn { padding: 10px 12px; } }

/* ---------- Botões ---------- */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer; border: 0; border-radius: 8px;
  background: var(--grad); color: #1a1208; font: 700 .8rem var(--sans); text-transform: uppercase; letter-spacing: .1em; padding: 13px 22px;
  box-shadow: 0 8px 24px rgba(185,138,76,.28), inset 0 1px 0 rgba(255,255,255,.4); transition: transform .25s var(--ease), box-shadow .25s; }
.btn::after { content: ""; position: absolute; top: 0; left: -80%; width: 50%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.5), transparent); transform: skewX(-20deg); transition: left .7s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(185,138,76,.4), inset 0 1px 0 rgba(255,255,255,.5); }
.btn:hover::after { left: 130%; }
.btn:active { transform: none; }
.btn.small { padding: 10px 16px; font-size: .72rem; }
.btn.big { padding: 17px 30px; font-size: .84rem; }
.btn.block { width: 100%; }
.btn.outline, .btn.ghost { background: rgba(255,255,255,.03); color: var(--text); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }
.btn.outline { color: var(--gold2); box-shadow: inset 0 0 0 1px var(--gold); }
.btn.outline:hover, .btn.ghost:hover { box-shadow: inset 0 0 0 1px var(--gold2), 0 10px 28px rgba(185,138,76,.18); background: rgba(226,184,118,.08); }
.btn.danger { background: linear-gradient(135deg, #f0776f, var(--danger)); color: #fff; box-shadow: 0 6px 18px rgba(224,87,79,.3); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn .ico { font-size: 1.1rem; }
.link-btn { background: none; border: 0; color: var(--gold2); cursor: pointer; font: inherit; text-decoration: underline; padding: 0; }
.muted-link { color: var(--muted); text-decoration: underline; }
.gold-link { color: var(--gold2); }

/* ---------- HERO ---------- */
.hero { min-height: min(100svh, 820px); display: flex; align-items: center; padding: 130px 0 90px; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -3; background: radial-gradient(ellipse 60% 70% at 78% 45%, rgba(185,138,76,.16), transparent 70%), var(--bg); }
.hero.has-photo .hero-bg { left: 30%; background: url("../assets/hero.jpg") 60% center / cover no-repeat; animation: kenburns 26s ease-in-out infinite alternate;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 38%); mask-image: linear-gradient(90deg, transparent 0, #000 38%); }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.08) translate3d(-1.5%, 0, 0); } }
.hero-shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, var(--bg) 0%, rgba(11,9,8,.8) 34%, rgba(11,9,8,.1) 70%, rgba(11,9,8,.35) 100%), linear-gradient(0deg, var(--bg) 0%, transparent 22%), linear-gradient(180deg, rgba(11,9,8,.6) 0%, transparent 22%); }
#particulas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .8; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero-copy .eyebrow { margin-bottom: 20px; opacity: 0; animation: fade .9s .1s forwards; }
.hero h1 { font-size: clamp(2.8rem, 6.6vw, 5.4rem); line-height: 1.02; text-transform: uppercase; font-weight: 900; letter-spacing: .01em; margin-bottom: 22px; }
.hero h1 span { display: block; opacity: 0; transform: translateY(34px); filter: blur(8px); animation: rise .9s var(--ease) forwards; }
.hero h1 .l1 { animation-delay: .2s; }
.hero h1 .l2 { animation: rise .9s .38s var(--ease) forwards, shimmer 7s linear infinite; }
@keyframes rise { to { opacity: 1; transform: none; filter: none; } }
@keyframes fade { to { opacity: 1; } }
.hero p.lead { color: #d8d1c6; font-size: clamp(1rem, 1.5vw, 1.15rem); max-width: 470px; margin-bottom: 32px; opacity: 0; animation: fade 1s .7s forwards; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; opacity: 0; animation: fade 1s .9s forwards; }
.hero-proof { list-style: none; display: flex; flex-wrap: wrap; margin-top: 38px; opacity: 0; animation: fade 1s 1.1s forwards; }
.hero-proof li { display: flex; align-items: center; gap: 10px; padding: 4px 22px; color: #d3ccc0; font-size: .82rem; border-left: 1px solid var(--line); }
.hero-proof li:first-child { padding-left: 0; border-left: 0; }
.hero-proof .ico { color: var(--gold2); font-size: 1.3rem; }
/* emblema (só aparece se não houver foto de fundo) */
.hero-art { position: relative; display: grid; place-items: center; min-height: 380px; }
.hero.has-photo .hero-art { display: none; }
.hero.has-photo .hero-grid { grid-template-columns: 1fr; }
.emblem { position: relative; width: min(360px, 76vw); aspect-ratio: 1; display: grid; place-items: center; animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-14px); } }
.emblem .core { position: relative; width: 74%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at 30% 25%, #26262e, #0c0c0f); box-shadow: 0 0 0 2px var(--gold3), 0 0 80px rgba(185,138,76,.35); }
.emblem .core img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.emblem .core svg { width: 46%; color: var(--gold2); filter: drop-shadow(0 0 14px rgba(226,184,118,.6)); stroke: currentColor; fill: none; }
.ring { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed rgba(226,184,118,.45); animation: spin 28s linear infinite; }
.ring.r2 { inset: 7%; border: 1px solid rgba(226,184,118,.2); animation-duration: 40s; animation-direction: reverse; }
.ring::after { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--gold2); box-shadow: 0 0 14px 3px var(--gold); }
@keyframes spin { to { transform: rotate(360deg); } }
.pole { position: absolute; right: -6%; top: 6%; width: 44px; height: 62%; border-radius: 22px; overflow: hidden; transform: rotate(8deg);
  background: repeating-linear-gradient(-45deg, #f4efe8 0 14px, var(--gold) 14px 28px, #16110e 28px 42px); background-size: 60px 60px; animation: pole 2.2s linear infinite; box-shadow: 0 0 30px rgba(185,138,76,.3), inset -6px 0 10px rgba(0,0,0,.45); }
@keyframes pole { to { background-position: 0 60px; } }
@media (max-width: 900px) {
  .hero { padding: 110px 0 70px; min-height: 0; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { min-height: 0; order: -1; } .emblem { width: min(220px, 56vw); } .pole { display: none; }
  .hero.has-photo .hero-bg { left: 0; -webkit-mask-image: none; mask-image: none; background-position: 70% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(11,9,8,.94), rgba(11,9,8,.62)), linear-gradient(0deg, var(--bg) 0%, transparent 25%); }
  .hero-proof { gap: 10px 0; } .hero-proof li { padding: 4px 14px; }
  .hero .actions .btn { flex: 1 1 100%; }
}

/* ---------- Faixa de diferenciais ---------- */
.strip { padding: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg); }
.strip .container { display: grid; grid-template-columns: repeat(5, 1fr); }
.dif { display: flex; align-items: center; gap: 14px; padding: 26px 18px; font-size: .85rem; color: #ddd6cb; line-height: 1.35; }
.dif .ico { font-size: 2rem; color: var(--gold2); }
.dif .ico svg { stroke-width: 2; }
@media (max-width: 1000px) { .strip .container { grid-template-columns: repeat(2, 1fr); } .dif { padding: 18px 10px; } .dif:last-child { grid-column: 1 / -1; } }

/* ---------- Revelar ao rolar ---------- */
[data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
[data-reveal].in { opacity: 1; transform: none; }

.grid { display: grid; gap: 20px; }
.grid.barbers { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }

/* ---------- Cards de serviço (retrato, com foto) ---------- */
.cards { grid-template-columns: repeat(4, 1fr); }
.svc, .team, .feat { --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%; transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .25s var(--ease), border-color .3s, box-shadow .3s; }
.svc { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 3 / 4.15; border-radius: var(--radius); border: 1px solid var(--line); background: radial-gradient(circle at 50% 28%, rgba(185,138,76,.28), transparent 62%), #120e0b; }
.svc.extra { display: none; }
.cards.todos .svc.extra { display: flex; animation: passo .5s var(--ease); }
.svc:hover { border-color: rgba(226,184,118,.6); box-shadow: 0 26px 60px rgba(0,0,0,.55), 0 0 40px rgba(185,138,76,.12); }
.svc-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform .9s var(--ease); }
.svc:hover .svc-photo { transform: scale(1.07); }
.svc::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(9,7,6,.97) 0%, rgba(9,7,6,.88) 30%, rgba(9,7,6,.12) 62%, transparent 100%); }
.svc-icon-big { position: absolute; top: 14%; left: 50%; translate: -50% 0; width: 92px; height: 92px; display: grid; place-items: center; color: var(--gold2); border: 1px solid rgba(226,184,118,.35); border-radius: 26px; background: rgba(9,7,6,.55); box-shadow: 0 0 40px rgba(185,138,76,.25); }
.svc-icon-big .ico { width: 52%; height: 52%; }
.svc-body { position: relative; z-index: 2; padding: 18px 16px 16px; display: grid; gap: 8px; }
.svc-body h3 { font: 800 .98rem var(--sans); text-transform: uppercase; letter-spacing: .05em; }
.svc-desc { color: #c6bdb0; font-size: .8rem; line-height: 1.45; min-height: 3.5em; }
.svc-meta { display: flex; justify-content: space-between; align-items: center; margin: 4px 0 6px; color: var(--muted); font-size: .8rem; }
.svc-meta .tempo { display: inline-flex; align-items: center; gap: 7px; }
.svc-meta .tempo .ico { color: var(--gold2); }
.svc-price { font: 800 1.55rem var(--sans); color: var(--gold2); letter-spacing: -.01em; }
.glare { position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255,240,205,.12), transparent 45%); }
.svc:hover .glare, .team:hover .glare, .feat:hover .glare { opacity: 1; }
@media (max-width: 1100px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .cards { gap: 12px; } .svc { aspect-ratio: 3 / 4.6; } .svc-desc { display: none; } .svc-body { padding: 12px; } .svc-body h3 { font-size: .82rem; } .svc-price { font-size: 1.25rem; } .svc-meta { font-size: .72rem; }
}

/* ---------- Agendamento (passo a passo) ---------- */
#agendar { background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(185,138,76,.1), transparent 70%), var(--bg); }
.howto { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 28px 0 30px; }
.howto li { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.025); font-size: .92rem; color: #d6d0c6; }
.howto b { flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--grad); color: #1a1208; font-size: .85rem; }
@media (max-width: 760px) { .howto { grid-template-columns: 1fr; gap: 10px; } }
.booking-shell { border-radius: 16px; padding: clamp(20px, 4vw, 44px); background: linear-gradient(160deg, rgba(255,255,255,.05), rgba(255,255,255,.012)); border: 1px solid var(--line); backdrop-filter: blur(12px); box-shadow: 0 40px 100px rgba(0,0,0,.5); }
.stepper { list-style: none; display: flex; margin-bottom: 34px; }
.stepper li { flex: 1; position: relative; }
.stepper li + li::before { content: ""; position: absolute; top: 18px; left: -50%; width: 100%; height: 2px; background: var(--line); }
.stepper button { position: relative; z-index: 1; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 8px; background: none; border: 0; color: var(--muted); font: 600 .78rem var(--sans); text-transform: uppercase; letter-spacing: .08em; cursor: pointer; padding: 0 2px; }
.stepper button b { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: #17130f; font-size: .95rem; transition: all .25s var(--ease); }
.stepper button.atual { color: var(--text); }
.stepper button.atual b { background: var(--grad); color: #1a1208; border-color: transparent; box-shadow: 0 0 20px rgba(185,138,76,.5); transform: scale(1.1); }
.stepper button.done b { background: rgba(76,195,138,.15); border-color: var(--ok); color: var(--ok); font-size: 0; }
.stepper button.done b::after { content: "✓"; font-size: 1rem; }
.stepper button:disabled { opacity: .4; cursor: not-allowed; }
.stepper button:not(:disabled):hover b { border-color: var(--gold2); }
.booking-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 36px; align-items: start; }
.booking-layout > * { min-width: 0; }
@media (max-width: 900px) { .booking-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; } .resumo-card { position: static !important; } }
.wizard .step { animation: passo .45s var(--ease); }
@keyframes passo { from { opacity: 0; transform: translateX(18px); } }
.wizard .step h3 { font: 700 clamp(1.2rem, 3vw, 1.5rem) var(--serif); margin-bottom: 22px; outline: none; }
#opt-servicos { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
#opt-barbeiros { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.option { min-height: 68px; cursor: pointer; text-align: left; color: inherit; font: inherit; display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,.03); border: 1px solid var(--line2); border-radius: var(--radius); padding: 14px 16px; transition: transform .25s var(--ease), border-color .25s, background .25s, box-shadow .25s; }
.option:hover { transform: translateY(-3px); border-color: rgba(226,184,118,.55); }
.option.selected { border-color: var(--gold2); background: linear-gradient(135deg, rgba(226,184,118,.2), rgba(226,184,118,.04)); box-shadow: 0 0 0 1px var(--gold2), 0 10px 30px rgba(185,138,76,.2); }
.opt-ico { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; color: var(--gold2); background: rgba(9,7,6,.55); border: 1px solid rgba(226,184,118,.3); font-weight: 700; font-family: var(--serif); }
.opt-ico .ico { width: 24px; height: 24px; }
.option.selected .opt-ico { background: var(--gold2); color: #1a1208; }
.opt-txt { display: grid; gap: 2px; }
.opt-txt strong { font-size: .95rem; }
.meta { color: var(--muted); font-size: .82rem; }
.wiz-nav { margin-top: 24px; min-height: 22px; }
input[type=date], input[type=text], input[type=tel], input[type=password] { width: 100%; padding: 14px 16px; border-radius: 10px; font: inherit; background: rgba(255,255,255,.04); color: var(--text); border: 1px solid var(--line2); color-scheme: dark; transition: border-color .2s, box-shadow .2s, background .2s; }
input:focus { outline: 0; border-color: var(--gold2); box-shadow: 0 0 0 4px rgba(226,184,118,.15); background: rgba(255,255,255,.06); }
.fields { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
label { display: block; font-size: .78rem; color: var(--muted); margin-bottom: 6px; letter-spacing: .06em; text-transform: uppercase; }
.days-wrap { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.days { flex: 1; display: flex; gap: 10px; overflow-x: auto; padding: 8px 4px 12px; scroll-snap-type: x proximity; scrollbar-width: none; }
.days::-webkit-scrollbar { display: none; }
.dia { flex: none; width: 76px; padding: 12px 0; display: grid; gap: 1px; justify-items: center; cursor: pointer; scroll-snap-align: start; border-radius: 12px; border: 1px solid var(--line2); background: rgba(255,255,255,.035); color: var(--text); font: inherit; transition: transform .2s var(--ease), border-color .2s, background .2s; }
.dia small { color: var(--muted); text-transform: uppercase; font-size: .66rem; letter-spacing: .1em; font-weight: 600; }
.dia strong { font: 700 1.6rem var(--serif); line-height: 1.2; }
.dia:hover { border-color: var(--gold2); transform: translateY(-3px); }
.dia.selected { background: var(--grad); border-color: transparent; color: #1a1208; box-shadow: 0 10px 26px rgba(185,138,76,.4); }
.dia.selected small { color: #4a3512; }
.days-arrow { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.05); color: var(--gold2); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.days-arrow:hover { border-color: var(--gold2); }
@media (hover: none) { .days-arrow { display: none; } }
.periodo h4 { font: 700 .74rem var(--sans); text-transform: uppercase; letter-spacing: .2em; color: var(--gold2); margin: 20px 0 12px; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 10px; }
.slot { padding: 11px 0; text-align: center; cursor: pointer; font: 600 .92rem var(--sans); color: inherit; background: rgba(255,255,255,.04); border: 1px solid var(--line2); border-radius: 10px; transition: transform .2s var(--ease), background .2s, border-color .2s; animation: pop .4s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 18ms); }
@keyframes pop { from { opacity: 0; transform: scale(.7); } }
.slot:hover:not(:disabled) { border-color: var(--gold2); transform: translateY(-2px); }
.slot.selected { background: var(--grad); color: #1a1208; border-color: transparent; box-shadow: 0 8px 22px rgba(185,138,76,.4); }
.slot:disabled { opacity: .25; cursor: not-allowed; text-decoration: line-through; }
.hint { color: var(--muted); font-size: .9rem; }
.error { color: #ff8a83; font-size: .9rem; min-height: 1.4em; margin-top: 10px; }
.resumo-card { position: sticky; top: 96px; padding: 24px; border-radius: 14px; border: 1px solid rgba(226,184,118,.4); background: linear-gradient(150deg, rgba(226,184,118,.14), rgba(226,184,118,.03)); }
.resumo-card h4 { font: 700 1.1rem var(--serif); margin-bottom: 16px; text-transform: uppercase; letter-spacing: .04em; }
.resumo-card dl, .ticket { display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; }
.resumo-card dt, .ticket dt { color: var(--muted); font-size: .82rem; }
.resumo-card dd, .ticket dd { text-align: right; font-weight: 600; font-size: .92rem; }
.resumo-card dd.vazio { color: var(--muted); font-weight: 400; }
.total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 16px; padding-top: 16px; border-top: 1px dashed rgba(226,184,118,.5); }
.total strong { font: 800 1.7rem var(--sans); color: var(--gold2); }
#btn-confirmar:disabled { opacity: .5; }
.success { position: relative; text-align: center; padding: 48px 20px; border-radius: 14px; border: 1px solid rgba(76,195,138,.5); background: radial-gradient(ellipse at 50% 0%, rgba(76,195,138,.15), transparent 70%), rgba(255,255,255,.02); }
.success .check { width: 88px; height: 88px; margin: 0 auto 18px; }
.success .check circle { stroke: var(--ok); stroke-width: 3; fill: none; stroke-dasharray: 170; stroke-dashoffset: 170; animation: draw .8s .1s var(--ease) forwards; }
.success .check path { stroke: var(--ok); stroke-width: 4; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 50; stroke-dashoffset: 50; animation: draw .5s .8s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.success h3 { font-size: clamp(1.6rem, 4vw, 2.2rem); color: var(--ok); margin-bottom: 8px; outline: none; }
.success .ticket { max-width: 420px; margin: 22px auto 0; padding: 20px 24px; border-radius: 12px; border: 1px dashed rgba(76,195,138,.6); background: rgba(76,195,138,.06); text-align: left; }
.success .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
#confete { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 80; }

/* ---------- Equipe ---------- */
.team { position: relative; overflow: hidden; padding: 34px 20px 28px; text-align: center; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.team:hover, .feat:hover { border-color: rgba(226,184,118,.55); box-shadow: 0 24px 60px rgba(0,0,0,.5); }
.ring-av { position: relative; width: 108px; height: 108px; margin: 0 auto 18px; border-radius: 50%; padding: 4px; background: conic-gradient(from 0deg, var(--gold3), var(--gold2), var(--gold3), var(--gold2), var(--gold3)); animation: spin 8s linear infinite; }
.ring-av .avatar { animation: spin 8s linear infinite reverse; }
.avatar { width: 100%; height: 100%; border-radius: 50%; display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at 30% 25%, #2b2520, #100d0b); font: 700 2.4rem var(--serif); color: var(--gold2); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.team h3 { font: 800 1rem var(--sans); text-transform: uppercase; letter-spacing: .08em; }
.team p { color: var(--muted); font-size: .9rem; margin: 4px 0 14px; }
.tag { display: inline-flex; align-items: center; gap: 7px; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ok); }
.tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(76,195,138,0); } 100% { box-shadow: 0 0 0 0 rgba(76,195,138,0); } }

/* ---------- Galeria e avaliações ---------- */
.two-col { display: grid; grid-template-columns: minmax(240px, .8fr) 2.2fr; gap: 48px; align-items: center; }
.two-col > * { min-width: 0; }
.two-col .lead2 { color: var(--muted); margin-top: 14px; max-width: 340px; }
@media (max-width: 900px) { .two-col { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
.gal-wrap { position: relative; }
.gal { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.gal::-webkit-scrollbar { display: none; }
.gal button { flex: none; width: calc((100% - 48px) / 4); min-width: 150px; aspect-ratio: 3 / 4; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; cursor: zoom-in; background: #120e0b; scroll-snap-align: start; position: relative; }
.gal img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .4s; }
.gal button:hover img { transform: scale(1.08); }
.gal button::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(9,7,6,.5), transparent 40%); pointer-events: none; }
.gal-arrow { position: absolute; right: -14px; top: 42%; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: rgba(11,9,8,.88); color: var(--gold2); font-size: 1.6rem; line-height: 1; cursor: pointer; z-index: 3; backdrop-filter: blur(6px); }
.gal-arrow:hover { border-color: var(--gold2); }
.gal-cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 22px; padding: 18px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.02); }
.gal-cta .ico { font-size: 1.8rem; color: var(--gold2); }
.gal-cta b { flex: 1; min-width: 200px; font: 700 .82rem var(--sans); text-transform: uppercase; letter-spacing: .12em; }
@media (max-width: 700px) { .gal button { width: 44%; } .gal-arrow { right: 4px; } }
.lightbox { padding: 0; background: transparent; border: 0; max-width: 94vw; max-height: 94vh; overflow: visible; }
.lightbox::backdrop { background: rgba(0,0,0,.88); backdrop-filter: blur(6px); }
.lightbox img { max-width: 92vw; max-height: 90vh; border-radius: 12px; display: block; box-shadow: 0 30px 100px rgba(0,0,0,.8); }
.lightbox .fechar { position: absolute; top: -14px; right: -14px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #15110e; color: var(--text); cursor: pointer; font-size: 1.1rem; }
.dep-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.dep { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); display: grid; gap: 14px; align-content: start; }
.dep-head { display: flex; align-items: center; gap: 14px; }
.dep-av { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #2b2520, #100d0b); border: 1px solid var(--gold3); color: var(--gold2); font: 700 1.1rem var(--serif); }
.dep-head b { display: block; font-size: .95rem; }
.estrelas { display: flex; gap: 2px; color: var(--gold2); font-size: .9rem; }
.dep q { color: #d8d1c6; font-size: .93rem; line-height: 1.55; quotes: "“" "”"; }
.aviso-exemplo { margin-top: 22px; font-size: .78rem; color: var(--muted); border-left: 2px solid var(--gold3); padding-left: 12px; max-width: 320px; }
@media (max-width: 1100px) { .dep-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font: 600 1.05rem var(--sans); position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 4px; top: 50%; translate: 0 -50%; font: 300 1.8rem var(--sans); color: var(--gold2); transition: transform .3s var(--ease); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--muted); padding: 0 40px 24px 0; animation: fade .4s; }

/* ---------- Faixa de localização ---------- */
.loc { padding: 0; border-top: 1px solid var(--line); }
.loc-grid { display: grid; grid-template-columns: 1.1fr 1fr 1.1fr; min-height: 430px; }
.loc-photo { position: relative; overflow: hidden; min-height: 300px; }
.loc-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.72) saturate(1.05); }
.loc-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 55%, var(--bg) 100%), linear-gradient(0deg, rgba(11,9,8,.7), transparent 55%); }
.script { position: absolute; z-index: 2; left: 8%; right: 12%; bottom: 12%; font: 700 clamp(1.7rem, 2.8vw, 2.5rem) var(--script); line-height: 1.05; color: var(--gold2); transform: rotate(-4deg); text-shadow: 0 2px 14px rgba(0,0,0,.8); }
.loc-info { display: grid; align-content: center; gap: 18px; padding: 48px clamp(22px, 3vw, 44px); }
.loc-info .section-title { margin: 8px 0 0; }
.loc-row { display: flex; gap: 14px; align-items: flex-start; color: #d6d0c6; font-size: .92rem; }
.loc-row .ico { font-size: 1.4rem; color: var(--gold2); margin-top: 2px; }
.hours { list-style: none; width: 100%; }
.hours li { display: flex; justify-content: space-between; gap: 18px; padding: 5px 0; color: #cdc6ba; font-size: .86rem; }
.hours li.today { color: var(--gold2); font-weight: 700; }
.hours li.today span:first-child::after { content: " · hoje"; font-weight: 400; opacity: .8; }
.loc-map { position: relative; min-height: 300px; padding: 26px; display: grid; }
.map-card, .loc-map iframe { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; width: 100%; height: 100%; min-height: 280px; display: block; position: relative; background: #1a1613; }
.map-card svg { width: 100%; height: 100%; position: absolute; inset: 0; }
.map-label { position: absolute; left: 50%; top: 54%; translate: -50% 0; padding: 7px 14px; border-radius: 8px; background: #fff; color: #201a14; font: 700 .78rem var(--sans); box-shadow: 0 6px 20px rgba(0,0,0,.5); white-space: nowrap; }
.map-card:hover { border-color: var(--gold2); }
@media (max-width: 1000px) { .loc-grid { grid-template-columns: minmax(0, 1fr); } .loc-photo { min-height: 260px; } .loc-photo::after { background: linear-gradient(0deg, var(--bg) 0%, rgba(11,9,8,.3) 60%, transparent); } }

/* ---------- Rodapé ---------- */
footer { position: relative; padding: 38px 0 30px; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }
.foot { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center; }
.foot .logo { justify-self: start; }
.slogan { font: 600 .72rem var(--sans); text-transform: uppercase; letter-spacing: .38em; color: #d3ccc0; text-align: center; }
.foot .copy { justify-self: end; text-align: right; }
@media (max-width: 900px) { .foot { grid-template-columns: 1fr; text-align: center; } .foot .logo, .foot .copy { justify-self: center; text-align: center; } }

.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: flex; align-items: center; gap: 9px; background: #25d366; color: #052e16; padding: 13px 20px; border-radius: 999px; font-weight: 800; box-shadow: 0 10px 30px rgba(37,211,102,.35); }
.wa-float svg { width: 20px; height: 20px; fill: currentColor; }
.cta-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; padding: 22px 16px calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(0deg, var(--bg) 55%, transparent); }
.cta-bar .btn { width: 100%; }
@media (min-width: 901px) { .cta-bar { display: none !important; } }
body.com-cta .wa-float { bottom: 92px; }
body.com-cta footer { padding-bottom: 110px; }

/* ---------- Conta / diálogo ---------- */
.demo-hint { margin-top: 14px; padding: 9px 12px; border: 1px dashed rgba(226,184,118,.4); border-radius: 10px; font-size: .82rem; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { font-size: 1.1rem; margin-bottom: 4px; }
.card p { color: var(--muted); font-size: .92rem; }
.card.muted, tr.muted { opacity: .45; }
#lista-meus { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
dialog { margin: auto; width: min(400px, calc(100% - 32px)); padding: 26px; background: linear-gradient(160deg, var(--card2), var(--card)); color: var(--text); border: 1px solid rgba(226,184,118,.3); border-radius: 14px; box-shadow: 0 40px 100px rgba(0,0,0,.7); }
dialog[open] { animation: pop .35s var(--ease); }
dialog::backdrop { background: rgba(0,0,0,.72); backdrop-filter: blur(6px); }
.dlg-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
dialog label { margin-top: 12px; }

/* ---------- Painel do dono ---------- */
.admin-bar { display: flex; gap: 12px; flex-wrap: wrap; align-items: end; margin-bottom: 20px; }
.admin-bar > div { min-width: 180px; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 13px 10px; border-bottom: 1px solid var(--line); font-size: .92rem; }
th { color: var(--muted); font-weight: 500; font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; }
tbody tr:hover { background: rgba(255,255,255,.03); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; padding: 6px 10px; background: var(--card); }
.login { max-width: 380px; margin: 14vh auto; padding: 32px; }
.kpis { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); margin-bottom: 26px; }
.kpi { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--card2), var(--card)); border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px; }
.kpi strong { display: block; font: 700 2rem var(--serif); color: var(--gold2); }
body.admin section { padding: 100px 0 40px; }
body.admin .logo { text-transform: none; }

/* ---------- Modo ?static (capturas de teste) + movimento reduzido ---------- */
.static .hero { min-height: 800px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .hero h1 span, .hero p.lead, .hero .actions, .hero-proof, .hero-copy .eyebrow { opacity: 1; transform: none; filter: none; }
}


/* ==========================================================================
   Correções da revisão visual
   ========================================================================== */
section { padding: clamp(60px, 7vw, 88px) 0; }

/* ícones das opções do assistente (SVG entra direto, sem .ico) */
.opt-ico svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.opt-ico svg .fill { fill: currentColor; stroke: none; }
#opt-servicos, #opt-barbeiros { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 520px) { #opt-servicos, #opt-barbeiros { grid-template-columns: minmax(0, 1fr); } }

/* etapas legíveis */
.stepper button { font-size: .7rem; letter-spacing: .05em; }
.stepper button:disabled { opacity: .65; }
@media (max-width: 520px) { .stepper button { font-size: .6rem; letter-spacing: .02em; gap: 6px; } }

/* cards de serviço: rosto no alto, texto sobre o degradê embaixo */
.svc { aspect-ratio: 3 / 4; }
.svc-photo { object-position: center 14%; }
.svc::before { background: linear-gradient(0deg, rgba(9,7,6,.98) 0%, rgba(9,7,6,.9) 34%, rgba(9,7,6,.15) 60%, transparent 100%); }
.svc-desc { color: #e0d8cc; font-size: .84rem; }
@media (max-width: 560px) { .svc { aspect-ratio: 3 / 4.5; } }

/* topo: mais luz na foto, frase da parede inteira, sem área morta */
.hero { padding: 120px 0 64px; }
.hero.has-photo .hero-bg { background-position: right center; }
.hero-shade { background: linear-gradient(90deg, var(--bg) 0%, rgba(11,9,8,.74) 28%, rgba(11,9,8,0) 62%, rgba(11,9,8,.2) 100%), linear-gradient(0deg, var(--bg) 0%, transparent 16%), linear-gradient(180deg, rgba(11,9,8,.55) 0%, transparent 18%); }
@media (max-width: 900px) {
  .hero.has-photo .hero-bg { background-position: 66% 20%; }
  .hero-shade { background: linear-gradient(0deg, var(--bg) 6%, rgba(11,9,8,.86) 42%, rgba(11,9,8,.3) 100%), linear-gradient(180deg, rgba(11,9,8,.55) 0%, transparent 20%); }
}
@media (max-width: 600px) { .hero-proof li { border-left: 0; padding: 6px 0; width: 100%; } }

/* dias: sem brilho sujo, sem chip escondido atrás da seta */
.dia.selected { box-shadow: 0 4px 14px rgba(185,138,76,.35); }
.days { padding-right: 24px; }

/* botões alinhados no celular */
@media (max-width: 600px) {
  .success .actions .btn, #btn-confirmar { width: 100%; }
  .success dd { text-wrap: balance; }
}
.success .ticket { text-wrap: pretty; }

/* equipe centralizada */
.grid.barbers { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); max-width: 920px; margin-inline: auto; }

/* foto do bloco de localização e frase legível */
.loc-photo img { filter: brightness(.7) saturate(.85); }
.loc-photo::after { background: linear-gradient(90deg, transparent 55%, var(--bg) 100%), linear-gradient(0deg, rgba(11,9,8,.88), transparent 60%); }

/* menu do celular: botão Agendar dentro do menu + fundo escurecido */
nav .nav-cta { display: none; }
@media (max-width: 1100px) {
  header nav > a.nav-cta { display: flex; justify-content: center; margin-top: 16px; padding: 15px; border: 0; }
  body.menu-aberto::after { content: ""; position: fixed; inset: 78px 0 0; background: rgba(0,0,0,.6); z-index: 40; }
}

/* ajustes finais da segunda revisão */
.dia.selected { box-shadow: 0 2px 8px rgba(185,138,76,.25); }
.hero-shade { background: linear-gradient(90deg, var(--bg) 0%, rgba(11,9,8,.6) 24%, rgba(11,9,8,0) 52%, rgba(11,9,8,.2) 100%), linear-gradient(0deg, var(--bg) 0%, transparent 16%), linear-gradient(180deg, rgba(11,9,8,.5) 0%, transparent 18%); }
@media (max-width: 900px) {
  .hero.has-photo .hero-bg { background-position: 68% 24%; }
  .hero-shade { background: linear-gradient(0deg, var(--bg) 4%, rgba(11,9,8,.78) 40%, rgba(11,9,8,.15) 100%), linear-gradient(180deg, rgba(11,9,8,.5) 0%, transparent 18%); }
  .hero { padding-bottom: 40px; }
}
#agendar, .booking-shell, .step { scroll-margin-top: 96px; }
#equipe .container { text-align: center; }
#equipe .section-sub { margin-inline: auto; }
@media (max-width: 1000px) { .dif:last-child { justify-content: center; } }

/* logo nova: ícone quadrado no menu/rodapé, arte completa no emblema */
.logo-img { border-radius: 10px; }
.emblem .core { border-radius: 28px; width: 82%; box-shadow: 0 0 0 2px var(--gold3), 0 0 80px rgba(185,138,76,.35); }
.emblem .core img { object-fit: contain; }


/* ==========================================================================
   Animações de acabamento (todas respeitam "reduzir movimento")
   ========================================================================== */
:root { --intro-delay: 1.1s; }
@media (prefers-reduced-motion: reduce) { :root { --intro-delay: 0s; } #intro { display: none; } }
.static { --intro-delay: 0s; }
.static #intro { display: none; }

/* abertura: logo aparece, barra dourada preenche, cortina sobe */
#intro { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: radial-gradient(circle at 50% 45%, #1a140e, var(--bg) 65%); pointer-events: none; animation: introOut .7s 1.05s var(--ease) forwards; }
#intro img { width: 96px; height: 96px; border-radius: 22px; box-shadow: 0 0 0 1px var(--gold3), 0 0 70px rgba(185,138,76,.5); animation: introLogo 1.1s var(--ease) both; }
#intro .intro-bar { position: absolute; top: calc(50% + 78px); left: 50%; width: 130px; height: 2px; translate: -50% 0; background: rgba(255,255,255,.08); overflow: hidden; }
#intro .intro-bar::after { content: ""; position: absolute; inset: 0; background: var(--grad); transform: scaleX(0); transform-origin: left; animation: introBar 1s .1s var(--ease) forwards; }
@keyframes introLogo { from { opacity: 0; transform: scale(.7); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes introBar { to { transform: scaleX(1); } }
@keyframes introOut { to { opacity: 0; visibility: hidden; transform: scale(1.04); } }

/* textos do topo esperam a abertura terminar */
.hero-copy .eyebrow { animation-delay: calc(.1s + var(--intro-delay)); }
.hero h1 .l1 { animation-delay: calc(.2s + var(--intro-delay)); }
.hero h1 .l2 { animation-delay: calc(.38s + var(--intro-delay)), 0s; }
.hero p.lead { animation-delay: calc(.7s + var(--intro-delay)); }
.hero .actions { animation-delay: calc(.9s + var(--intro-delay)); }
.hero-proof { animation-delay: calc(1.1s + var(--intro-delay)); }

/* menu some ao rolar para baixo e volta ao rolar para cima */
header.top { transition: transform .4s var(--ease), background .3s, border-color .3s, backdrop-filter .3s; }
header.top.oculto { transform: translateY(-100%); }

/* profundidade suave na foto do topo */
.hero-bg { translate: 0 var(--py, 0px); }

/* títulos: entram "de dentro" de uma máscara, com linha dourada que se desenha */
.section-title[data-reveal] { clip-path: inset(0 0 100% 0); transform: translateY(36px); transition: clip-path .9s var(--ease), transform .9s var(--ease), opacity .6s; }
.section-title[data-reveal].in { clip-path: inset(-10% -5% -30% -5%); transform: none; }
.section-title::after { content: ""; display: block; width: 0; height: 2px; margin-top: 16px; background: var(--grad); transition: width 1s .35s var(--ease); }
.section-title.in::after { width: 64px; }
#equipe .section-title::after { margin-inline: auto; }
.sec-head .section-title::after { margin-top: 14px; }

/* fotos "aproximam" ao entrar na tela */
.svc:not(.in) .svc-photo { transform: scale(1.22); }
.svc-photo { transition: transform 1.6s var(--ease); }
.svc:hover .svc-photo { transition-duration: .9s; }
[data-reveal]:not(.in) .gal img { transform: scale(1.25); }
.gal img { transition: transform 1.6s var(--ease), filter .4s; }
.gal button:hover img { transition-duration: .8s; }

/* "Ver todos": cards extras entram em sequência */
.cards.todos .svc.extra { animation: passo .6s var(--ease) both; animation-delay: calc(var(--k, 0) * 110ms); }

/* botões magnéticos + brilho que percorre o botão principal */
.btn { translate: var(--tx, 0px) var(--ty, 0px); transition: transform .25s var(--ease), box-shadow .25s, translate .25s var(--ease); }
.btn.big:not(.outline):not(.ghost) { animation: pulsoOuro 3.6s 3s infinite; }
@keyframes pulsoOuro { 0%, 100% { box-shadow: 0 8px 24px rgba(185,138,76,.28), inset 0 1px 0 rgba(255,255,255,.4); } 50% { box-shadow: 0 8px 34px rgba(226,184,118,.55), inset 0 1px 0 rgba(255,255,255,.5); } }

/* horários e dias: entrada em cascata mais suave */
.dia { animation: pop .45s var(--ease) backwards; }
.periodo { animation: passo .5s var(--ease) backwards; }

@media (prefers-reduced-motion: reduce) {
  header.top.oculto { transform: none; }
  .section-title[data-reveal] { clip-path: none; transform: none; }
  .section-title::after { width: 64px; }
  .svc:not(.in) .svc-photo, [data-reveal]:not(.in) .gal img { transform: none; }
  .btn.big { animation: none !important; }
}
.in .section-title::after { width: 64px; }

/* correção: a máscara do título só existe durante a animação (recorte impede o "entrou na tela") */
.section-title[data-reveal] { clip-path: none; opacity: 0; transform: none; transition: none; }
.section-title[data-reveal].in { opacity: 1; animation: tituloIn 1s var(--ease) both; }
@keyframes tituloIn { from { clip-path: inset(0 0 100% 0); transform: translateY(36px); } to { clip-path: inset(-10% -5% -30% -5%); transform: none; } }


/* ==========================================================================
   Painel do dono: abas, lista de serviços, diálogos
   ========================================================================== */
select, textarea { width: 100%; padding: 14px 16px; border-radius: 10px; font: inherit; background: rgba(255,255,255,.04); color: var(--text); border: 1px solid var(--line2); color-scheme: dark; transition: border-color .2s, box-shadow .2s; }
select:focus, textarea:focus { outline: 0; border-color: var(--gold2); box-shadow: 0 0 0 4px rgba(226,184,118,.15); }
select option { background: #15110e; color: var(--text); }
textarea { resize: vertical; min-height: 84px; }
.adm-tag { margin-left: 10px; padding: 3px 9px; font: 700 .62rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #1a1208; background: var(--grad); border-radius: 6px; }
.spacer { flex: 1; }
.admin-bar .btn .ico { font-size: 1.1rem; }

.tabs { display: flex; gap: 6px; margin-bottom: 26px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tab { position: relative; padding: 14px 20px; background: none; border: 0; color: var(--muted); font: 600 .9rem var(--sans); cursor: pointer; white-space: nowrap; }
.tab::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: -1px; height: 2px; background: var(--grad); transform: scaleX(0); transition: transform .3s var(--ease); }
.tab[aria-selected="true"] { color: var(--gold2); }
.tab[aria-selected="true"]::after { transform: scaleX(1); }
.tab:hover { color: var(--text); }

.badge { display: inline-block; padding: 2px 8px; border-radius: 999px; font: 700 .64rem var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--gold2); border: 1px solid rgba(226,184,118,.4); background: rgba(226,184,118,.08); vertical-align: middle; }

.adm-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.adm-title { font: 700 1.5rem var(--serif); text-transform: uppercase; letter-spacing: .03em; }
.adm-list { display: grid; gap: 12px; }
.adm-svc { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); transition: border-color .2s, opacity .2s; }
.adm-svc:hover { border-color: rgba(226,184,118,.45); }
.adm-svc.oculto { opacity: .6; }
.adm-thumb { width: 76px; height: 100px; border-radius: 8px; overflow: hidden; display: grid; place-items: center; background: #100d0b; border: 1px solid var(--line); text-align: center; font-size: .7rem; }
.adm-thumb img { width: 100%; height: 100%; object-fit: cover; }
.adm-info h3 { font: 700 1.05rem var(--sans); margin-bottom: 4px; }
.adm-desc { color: var(--muted); font-size: .86rem; margin-bottom: 6px; overflow-wrap: anywhere; }
.adm-meta { font-size: .9rem; } .adm-meta strong { color: var(--gold2); font-size: 1.1rem; }
.adm-acoes { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.adm-acoes .btn:disabled { opacity: .3; }
@media (max-width: 720px) {
  .adm-svc { grid-template-columns: 64px minmax(0, 1fr); }
  .adm-thumb { width: 64px; height: 86px; }
  .adm-acoes { grid-column: 1 / -1; justify-content: flex-start; }
}

dialog.dlg-wide { width: min(720px, calc(100% - 24px)); max-height: 92vh; overflow: auto; }
.dlg-actions { display: flex; gap: 12px; justify-content: flex-end; margin-top: 18px; flex-wrap: wrap; }
.sv-edit { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 26px; }
.sv-foto { display: grid; gap: 10px; align-content: start; justify-items: start; }
.sv-prev { width: 200px; aspect-ratio: 3 / 4; border-radius: 12px; overflow: hidden; display: grid; place-items: center; background: #100d0b; border: 1px dashed var(--line); }
.sv-prev img { width: 100%; height: 100%; object-fit: cover; }
.sv-campos { display: grid; gap: 14px; align-content: start; }
.check { display: flex; align-items: center; gap: 10px; color: var(--text); font-size: .92rem; letter-spacing: 0; text-transform: none; cursor: pointer; margin: 0; }
.check input { width: 18px; height: 18px; accent-color: var(--gold); }
@media (max-width: 640px) { .sv-edit { grid-template-columns: minmax(0, 1fr); } .sv-prev { width: 150px; } }

.toast { position: fixed; left: 50%; bottom: 28px; translate: -50% 0; z-index: 120; max-width: min(92vw, 460px); padding: 14px 20px; border-radius: 12px; background: #15110e; border: 1px solid rgba(76,195,138,.6); color: var(--text); box-shadow: 0 16px 50px rgba(0,0,0,.6); animation: pop .35s var(--ease); }
.toast.erro { border-color: rgba(224,87,79,.7); }

/* ---- acabamento do painel (revisão visual) ---- */
.tabs { overflow-y: hidden; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
input[type=number] { width: 100%; padding: 14px 16px; border-radius: 10px; font: inherit; background: rgba(255,255,255,.04); color: var(--text); border: 1px solid var(--line2); color-scheme: dark; transition: border-color .2s, box-shadow .2s; }
input[type=number]:focus { outline: 0; border-color: var(--gold2); box-shadow: 0 0 0 4px rgba(226,184,118,.15); }
select { appearance: none; -webkit-appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23E2B876' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; cursor: pointer; }
textarea { resize: none; }
.admin-bar { align-items: flex-end; }
.admin-bar .btn { min-height: 50px; }
.admin-bar .spacer { margin-left: auto; }
.dlg-actions { position: sticky; bottom: -26px; margin: 18px -26px -26px; padding: 14px 26px; background: #15110e; border-top: 1px solid var(--line); z-index: 2; }
.toast { bottom: auto; top: 90px; }
@media (max-width: 720px) { .adm-acoes .btn { min-height: 44px; padding-inline: 14px; } .adm-acoes { gap: 10px; } }

/* ---- caixa "Ambiente de teste" no painel ---- */
.teste-box { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; padding: 16px 20px; border: 1px dashed rgba(226,184,118,.45); border-radius: 12px; background: rgba(226,184,118,.06); }
.teste-txt { flex: 1 1 320px; min-width: 0; }
.teste-txt strong { display: block; font: 700 .72rem var(--sans); text-transform: uppercase; letter-spacing: .16em; color: var(--gold2); margin-bottom: 4px; }
.teste-txt p { color: #d6d0c6; font-size: .88rem; }
.teste-acoes { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; flex: 1 1 380px; justify-content: flex-end; }
.teste-acoes input { flex: 1 1 240px; min-width: 0; padding: 10px 12px; font-size: .82rem; }
