/* Imperium Barbearia — camada da marca: fonte do letreiro (Cinzel), dourado
   forte como o da tabela de valores, abertura com a logo animada, menu dourado
   no computador, nossa história e agendamento pelo AppBarber. */
:root {
  --brass: #f5b51e;
  --brass-2: #ffd863;
  --gold-grad: linear-gradient(180deg, #ffe7a1 0%, #ffc93c 30%, #f0a510 62%, #c47f05 100%);
  --gold-ink: #140e02;
  --f-brand: 'Cinzel', 'Trajan Pro', 'Times New Roman', serif;
}

/* ---------- botões dourados ---------- */
.btn-solid { background: var(--gold-grad); color: var(--gold-ink); text-shadow: 0 1px 0 rgba(255, 240, 200, .35); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 10px 30px -12px rgba(245, 181, 30, .75); }
.btn-solid:hover { background: var(--gold-grad); filter: brightness(1.08); }
.btn-grande { --h: 64px; padding-inline: 40px; font-size: 18px; }

/* ---------- nome da marca na fonte do letreiro ---------- */
.marca { font-family: var(--f-brand); text-transform: uppercase; }
.logo { gap: 12px; }
.logo-poste { width: 16px; height: 32px; flex: none; filter: drop-shadow(0 0 6px rgba(255, 200, 80, .35)); }
.poste-listras { animation: posteGira 2.4s linear infinite; }
@keyframes posteGira { to { transform: translateY(12px); } }
.logo-word.marca { display: grid; font-weight: 800; font-size: 21px; letter-spacing: .08em; line-height: 1; }
.logo-word.marca em { margin: 4px 0 0; font-family: var(--f-brand); font-style: normal; font-weight: 700; font-size: 9.5px; letter-spacing: .52em; color: var(--brass); }

/* ---------- abertura: logo animada ---------- */
.pl-center { position: absolute; inset: 0; z-index: 3; display: grid; place-content: center; justify-items: center; gap: 22px; transition: opacity .45s var(--ease), transform .45s var(--ease); }
.pl-center.is-out { opacity: 0; transform: scale(.96); }
.pl-logo { width: min(72vw, 380px); aspect-ratio: 1; object-fit: cover; -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent 100%); mask-image: radial-gradient(closest-side, #000 72%, transparent 100%); }
.pl-bar { width: min(50vw, 220px); height: 2px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.pl-bar i { display: block; height: 100%; background: var(--gold-grad); transform-origin: left; transform: scaleX(0); }

/* ---------- topo: símbolo da marca ao fundo, sem a tesoura ---------- */
.hero-logo { position: absolute; z-index: 0; right: max(var(--gutter), env(safe-area-inset-right, 0px)); top: 50%; transform: translateY(-56%); width: min(42vw, 540px); pointer-events: none; }
.hero-logo video { width: 100%; aspect-ratio: 1; object-fit: cover; -webkit-mask-image: radial-gradient(closest-side, #000 66%, transparent 100%); mask-image: radial-gradient(closest-side, #000 66%, transparent 100%); }
.hero-grid { position: relative; z-index: 1; }
.hero-title.marca { font-weight: 900; font-size: clamp(48px, 7.4vw, 116px); line-height: .95; letter-spacing: .01em; }
.ht-sub { display: block; margin-top: .42em; font-family: var(--f-brand); font-weight: 700; font-size: .3em; letter-spacing: .62em; color: var(--brass); }
.hero-lede strong { color: var(--brass-2); }

/* ---------- nossa história ---------- */
.hist-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.hist-texto .lede + .lede { margin-top: 16px; }
.hist-assinatura { margin: 32px 0 0; font-weight: 700; font-size: 20px; letter-spacing: .14em; color: var(--brass); }
.hist-fotos { display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; min-height: 520px; }
.hist-foto { position: relative; margin: 0; overflow: hidden; border: 1px solid var(--line-2); background: radial-gradient(60% 55% at 50% 40%, rgba(245, 181, 30, .18), transparent 72%), var(--coal-2); }
.hist-foto-a { grid-row: span 2; }
.hist-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .2; }
.hist-foto-b img { object-position: 50% 10%; transform: scale(1.6); }
.hist-foto-c img { object-position: 50% 80%; transform: scale(1.6); }
.hist-foto figcaption { position: absolute; left: 14px; bottom: 12px; color: var(--mute); }

/* ---------- cardápio: agendar no AppBarber, combos no WhatsApp ---------- */
.mi .price { color: var(--brass); }
.mi-add.is-wa { color: #25d366; }

/* ---------- agendamento pelo AppBarber ---------- */
.bk-cta { max-width: 760px; margin: 0 auto; display: grid; justify-items: center; text-align: center; }
.bk-cta .eyebrow { justify-content: center; }
.bk-cta .lede { margin: 20px auto 36px; }
.bk-poste { width: 28px; height: 56px; margin-bottom: 18px; filter: drop-shadow(0 0 14px rgba(255, 200, 80, .45)); }

/* ---------- rodapé ---------- */
.footer-big.marca { font-size: 6.3vw; letter-spacing: .02em; line-height: .9; }

/* ---------- botões flutuantes nas cores originais ---------- */
.fab-wa { background: #25d366; color: #fff; }
.fab-wa:hover { background: #1ebe5b; }
.fab-ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); color: #fff; box-shadow: none; }
.fab-ig:hover { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); filter: brightness(1.1); color: #fff; }

/* ---------- menu do topo dourado com letras pretas (só no computador) ---------- */
@media (min-width: 961px) {
  .nav, .nav.is-scrolled { background: var(--gold-grad); border-bottom-color: rgba(0, 0, 0, .25); box-shadow: 0 8px 26px -12px rgba(0, 0, 0, .7); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav .logo-word, .nav .logo-word em, .nav-links a, .nav .status { color: var(--gold-ink); }
  .nav-links a { font-weight: 500; }
  .nav-links a:hover, .nav-links a.is-active { color: #000; }
  .nav-links a::after { background: var(--gold-ink); }
  .nav .btn-solid { background: var(--gold-ink); color: var(--brass-2); text-shadow: none; box-shadow: none; }
  .nav .btn-solid:hover { background: #2a1e05; filter: none; }
  .nav .status::before { background: var(--gold-ink); }
  .nav .status.is-open::before { background: #0f6b2e; box-shadow: none; animation: none; }
  .nav .logo-poste { filter: none; }
  .hero { padding-top: calc(var(--nav-h) + 64px); }
}

@media (max-width: 960px) {
  .hist-grid { grid-template-columns: minmax(0, 1fr); }
  .hist-fotos { min-height: 420px; }
  .hero-logo { top: calc(var(--nav-h) + 8px); right: 50%; transform: translateX(50%); width: min(80vw, 360px); }
  .hero { justify-content: flex-end; }
  .footer-big.marca { font-size: 7.4vw; }
}
@media (prefers-reduced-motion: reduce) {
  .poste-listras { animation: none; }
}

/* título sem o deslocamento do "corte": fica inteiro, com um brilho dourado passando */
.hero-title .ht-cut::before, .hero-title .ht-cut::after,
.is-cut .hero-title .ht-cut::before, .is-cut .hero-title .ht-cut::after,
.hero-title.is-cut .ht-cut::before, .hero-title.is-cut .ht-cut::after { transform: none; color: var(--bone); }
.hero-title .ht-cut::before { clip-path: none; }
.hero-title .ht-cut::after { display: none; }

@media (max-width: 960px) {
  .hero { min-height: 0; padding-top: calc(var(--nav-h) + min(72vw, 340px) + 4px); }
  .hero-logo { width: min(72vw, 340px); top: calc(var(--nav-h) + 4px); }
}

/* ---------- logo em alta resolução com animação suave ---------- */
.logo-viva { position: relative; aspect-ratio: 1110 / 1056; -webkit-mask-image: radial-gradient(closest-side, #000 74%, transparent 100%); mask-image: radial-gradient(closest-side, #000 74%, transparent 100%); }
.logo-viva img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; animation: respira 6s ease-in-out infinite; }
/* reflexo de luz que atravessa a logo de vez em quando */
.logo-viva::after { content: ''; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: soft-light;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 236, 190, .55) 50%, transparent 62%) no-repeat;
  background-size: 260% 100%; background-position: 130% 0; animation: reflexo 7s ease-in-out infinite 1.2s; }
@keyframes respira { 0%, 100% { filter: brightness(.97) saturate(1); } 50% { filter: brightness(1.05) saturate(1.04); } }
@keyframes reflexo { 0%, 62% { background-position: 130% 0; } 100% { background-position: -30% 0; } }
.hero-logo { width: min(50vw, 680px); transform: translateY(-52%); }
.hero-logo video { display: none; }
.pl-logo { width: min(80vw, 480px); height: auto; animation: acende 1.6s var(--ease) both; }
@keyframes acende { from { opacity: 0; transform: scale(.96); filter: brightness(.6); } to { opacity: 1; transform: none; filter: none; } }
@media (max-width: 960px) {
  .hero { padding-top: calc(var(--nav-h) + min(82vw, 400px) * 0.95 + 4px); }
  .hero-logo { width: min(82vw, 400px); transform: translateX(50%); }
}
@media (prefers-reduced-motion: reduce) {
  .logo-viva img, .logo-viva::after, .pl-logo { animation: none; }
}
.hero-logo.logo-viva { position: absolute; }
@media (min-width: 961px) { .hero-logo { width: min(46vw, 620px); transform: translateY(-60%); } }
.hist-foto.is-real img { opacity: 1; transform: none; object-position: 50% 30%; }
.hist-foto.is-real figcaption { color: var(--bone); text-shadow: 0 1px 8px #000; }
.barber-portrait img[src$=".jpg"] { object-position: 50% 25%; }

/* botões flutuantes: só o ícone; o nome abre ao passar o mouse (computador) */
@media (hover: hover) and (pointer: fine) {
  .fab { padding-inline: 16px; gap: 0; }
  .fab span { display: inline-block; max-width: 0; overflow: hidden; white-space: nowrap; opacity: 0; transition: max-width .4s var(--ease), opacity .3s, margin .4s var(--ease); }
  .fab:hover span, .fab:focus-visible span { max-width: 120px; opacity: 1; margin-left: 10px; }
}
