/* ============================================================
   DEMO BESPOKE — Barbearia Navalha
   Identidade própria: vintage / old-school, dark + dourado/creme,
   Bebas Neue (display) + Oswald (títulos) + Barlow (corpo).
   Inspirado em barbeariatarantino.com.br. Não usa demo.css.
   ============================================================ */

:root {
    --bg: #141009;
    --bg2: #1b150d;
    --panel: #221b11;
    --line: rgba(200, 162, 76, .26);
    --gold: #c8a24c;
    --gold2: #e3c277;
    --cream: #f0e4cd;
    --muted: #ab9b7c;
    --red: #9b3b32;
    --navy: #2f4a6b;
    --display: "Bebas Neue", Impact, sans-serif;
    --head: "Oswald", system-ui, sans-serif;
    --body: "Barlow", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.barbearia {
    margin: 0;
    background: var(--bg);
    color: var(--cream);
    font-family: var(--body);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-wrap: break-word;
}
.barbearia a { color: inherit; text-decoration: none; }
.bb-wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* tipografia */
.barbearia h1, .barbearia h2 { font-family: var(--display); font-weight: 400; letter-spacing: .02em; line-height: .96; margin: 0; }
.barbearia h3 { font-family: var(--head); font-weight: 600; margin: 0; }
.bb-kick { font-family: var(--head); font-weight: 600; letter-spacing: .32em; text-transform: uppercase; font-size: .78rem; color: var(--gold); }

/* barber pole */
.bb-pole { height: 10px; background: repeating-linear-gradient(45deg, var(--red) 0 14px, var(--cream) 14px 28px, var(--navy) 28px 42px); opacity: .9; }

/* botões */
.bb-btn { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--head); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: .92rem; padding: .85em 1.5em; border: 2px solid var(--gold); cursor: pointer; transition: background .15s ease, color .15s ease, transform .12s ease; }
.bb-btn svg { width: 18px; height: 18px; }
.bb-btn:hover { transform: translateY(-2px); }
.bb-btn-solid { background: var(--gold); color: #1a1409; border-color: var(--gold); }
.bb-btn-solid:hover { background: var(--gold2); border-color: var(--gold2); }
.bb-btn-ghost { background: transparent; color: var(--cream); }
.bb-btn-ghost:hover { background: var(--gold); color: #1a1409; }

/* placeholder de imagem */
.ph { position: relative; background: linear-gradient(135deg, #221b11, #14100a); border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; }
.ph::after { content: attr(data-label); font-family: var(--head); font-weight: 600; letter-spacing: .2em; text-transform: uppercase; font-size: .72rem; color: rgba(240, 228, 205, .4); }
.ph .cam { position: absolute; top: 50%; left: 50%; transform: translate(-50%, calc(-50% - 16px)); width: 40px; height: 40px; color: rgba(240, 228, 205, .25); }
.ph.framed { border: 0; box-shadow: 0 0 0 1px var(--line), 0 0 0 10px var(--bg), 0 0 0 11px var(--line); }

/* selo de exemplo */
.bb-ribbon { display: flex; align-items: center; justify-content: center; gap: .75rem; flex-wrap: wrap; background: #0f0c07; border-bottom: 1px solid var(--line); color: var(--cream); font-size: .82rem; padding: .5rem 1rem; text-align: center; }
.bb-ribbon b { color: var(--gold); }
.bb-ribbon a { color: var(--gold); font-family: var(--head); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; font-size: .78rem; }

/* header */
.bb-header { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.bb-header .bar { display: flex; align-items: center; gap: 18px; height: 72px; }
.bb-logo { display: flex; align-items: center; gap: .7rem; }
.bb-logo .mk { width: 42px; height: 42px; border: 2px solid var(--gold); border-radius: 50%; display: grid; place-items: center; color: var(--gold); }
.bb-logo .mk svg { width: 22px; height: 22px; }
.bb-logo .nm { font-family: var(--display); font-size: 1.5rem; letter-spacing: .04em; color: var(--cream); line-height: 1; }
.bb-logo .nm small { display: block; font-family: var(--head); font-size: .58rem; letter-spacing: .34em; color: var(--gold); }
.bb-header nav { display: flex; gap: 4px; margin-left: auto; }
.bb-header nav a { font-family: var(--head); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; font-size: .82rem; color: var(--muted); padding: .5em .8em; transition: color .15s ease; }
.bb-header nav a:hover { color: var(--gold); }

/* hero (fundo full-bleed com a panorâmica + overlay) */
.bb-hero { position: relative; border-bottom: 1px solid var(--line); overflow: hidden; }
.bb-hero::before { content: ""; position: absolute; inset: 0; background: url('/img/demos/barbearia/ambiente.webp') center/cover; }
.bb-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(95deg, rgba(15,12,7,.95) 28%, rgba(15,12,7,.6) 70%, rgba(15,12,7,.35)); }
.bb-hero .inner { position: relative; z-index: 1; max-width: 620px; padding: 112px 0 124px; }
.bb-seal { width: 92px; height: 92px; border: 2px solid var(--gold); border-radius: 50%; display: grid; place-items: center; text-align: center; margin-bottom: 22px; box-shadow: inset 0 0 0 4px rgba(200, 162, 76, .15); }
.bb-seal span { font-family: var(--head); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; font-size: .6rem; color: var(--gold); line-height: 1.4; }
.bb-seal span b { display: block; font-family: var(--display); font-size: 1.5rem; letter-spacing: .04em; color: var(--cream); }
.bb-hero h1 { font-size: clamp(3rem, 7vw, 5.5rem); color: var(--cream); }
.bb-hero h1 em { font-style: normal; color: var(--gold); display: block; }
.bb-hero .sub { font-size: 1.12rem; color: var(--muted); max-width: 32rem; margin: 1.2rem 0 1.8rem; }
.bb-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* faixa de frase */
.bb-quote-strip { background: var(--bg2); border-block: 1px solid var(--line); text-align: center; padding: 40px 24px; }
.bb-quote-strip p { font-family: var(--display); font-size: clamp(1.6rem, 4vw, 2.6rem); letter-spacing: .03em; color: var(--cream); margin: 0; }
.bb-quote-strip p span { color: var(--gold); }

/* sobre */
.bb-section { padding: 84px 0; }
.bb-about { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: center; }
.bb-about .photo { aspect-ratio: 3/4; overflow: hidden; box-shadow: 0 0 0 1px var(--line), 0 0 0 10px var(--bg), 0 0 0 11px var(--line); }
.bb-about .photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bb-about h2 { font-size: clamp(2.2rem, 5vw, 3.2rem); color: var(--cream); margin: .4rem 0 1rem; }
.bb-about p { color: var(--muted); margin: 0 0 1rem; }

/* tabela de serviços (menu vintage) */
.bb-menu-head { text-align: center; margin-bottom: 48px; }
.bb-menu-head h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); color: var(--cream); margin-top: .4rem; }
.bb-menu { max-width: 760px; margin: 0 auto; display: grid; gap: 1.5rem; }
.menu-row { display: grid; gap: 3px; }
.menu-item { display: flex; align-items: baseline; gap: .6rem; }
.menu-item .nm { font-family: var(--head); font-weight: 600; font-size: 1.15rem; color: var(--cream); text-transform: uppercase; letter-spacing: .03em; white-space: nowrap; }
.menu-item .ds { flex: 1; border-bottom: 2px dotted var(--line); transform: translateY(-5px); min-width: 24px; }
.menu-item .pr { font-family: var(--display); font-size: 1.5rem; color: var(--gold); letter-spacing: .03em; white-space: nowrap; }
.menu-row .sub { font-family: var(--body); font-size: .9rem; color: var(--muted); }

/* galeria */
.bb-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.bb-gallery figure { position: relative; margin: 0; aspect-ratio: 1/1; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.bb-gallery a { display: block; width: 100%; height: 100%; cursor: zoom-in; }
.bb-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.bb-gallery figure:hover img { transform: scale(1.06); }
.bb-gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 14px; font-family: var(--head); font-weight: 500; letter-spacing: .06em; text-transform: uppercase; font-size: .76rem; color: var(--cream); background: linear-gradient(transparent, rgba(0,0,0,.7)); }

/* contato */
.bb-contact { display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: stretch; }
.bb-map { aspect-ratio: auto; min-height: 360px; box-shadow: 0 0 0 1px var(--line), 0 0 0 10px var(--bg), 0 0 0 11px var(--line); }
.bb-map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; filter: grayscale(.4) sepia(.3) contrast(1.05); }
.bb-cinfo h2 { font-size: clamp(2rem, 4.5vw, 3rem); color: var(--cream); margin: .4rem 0 1.2rem; }
.bb-cinfo .crow { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.bb-cinfo .crow .ic { width: 40px; height: 40px; flex: none; border: 1px solid var(--gold); border-radius: 50%; display: grid; place-items: center; color: var(--gold); }
.bb-cinfo .crow .ic svg { width: 18px; height: 18px; }
.bb-cinfo .crow b { display: block; font-family: var(--head); text-transform: uppercase; letter-spacing: .08em; font-size: .82rem; color: var(--cream); }
.bb-cinfo .crow span, .bb-cinfo .crow a { color: var(--muted); font-size: .96rem; }
.bb-cinfo .crow a:hover { color: var(--gold); }
.bb-cinfo .bb-btn { margin-top: 22px; }

/* footer */
.bb-footer { background: #0f0c07; border-top: 1px solid var(--line); padding: 48px 0 32px; }
.bb-footer .top { display: flex; justify-content: space-between; gap: 28px; flex-wrap: wrap; align-items: center; }
.bb-footer .bb-logo .nm { color: var(--cream); }
.bb-footer .socials { display: flex; gap: 12px; }
.bb-footer .socials a { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; color: var(--cream); transition: border-color .15s, color .15s; }
.bb-footer .socials a:hover { border-color: var(--gold); color: var(--gold); }
.bb-footer .socials svg { width: 20px; height: 20px; }
.bb-footer .legal { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; color: var(--muted); font-size: .82rem; }
.bb-footer .legal a { color: var(--gold); }

/* whatsapp float */
.bb-wafloat { position: fixed; right: 20px; bottom: 20px; z-index: 50; display: inline-flex; align-items: center; gap: .5rem; background: #25D366; color: #06310f; font-family: var(--head); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; padding: .85em 1.1em; border-radius: 999px; box-shadow: 0 10px 28px rgba(0,0,0,.5); transition: transform .12s ease; }
.bb-wafloat:hover { transform: scale(1.05); }
.bb-wafloat svg { width: 22px; height: 22px; }

/* responsivo */
@media (max-width: 900px) {
    .bb-hero .inner { padding: 72px 0 84px; }
    .bb-about { grid-template-columns: 1fr; }
    .bb-about .ph { max-width: 360px; }
    .bb-contact { grid-template-columns: 1fr; }
    .bb-gallery { grid-template-columns: repeat(2, 1fr); }
    .bb-header nav { display: none; }
}
@media (max-width: 520px) {
    .bb-gallery { grid-template-columns: 1fr; }
    .bb-wafloat .lbl { display: none; }
    .menu-item .sub { white-space: normal; }
}
