/* =========================================================
   Léo's Barbershop — landing page (mobile first)
   ========================================================= */

:root {
  --bg: #0e0f10;
  --bg-2: #151718;
  --surface: #1b1d1f;
  --line: #2a2d2f;
  --text: #f1ece3;
  --muted: #a19d95;
  --gold: #d6a756;
  --gold-2: #f0c97f;
  --green: #3ecf6b;

  --font-head: 'Bebas Neue', 'Oswald', Impact, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --header-h: 64px;
  --radius: 14px;
  --ease: cubic-bezier(.16, .84, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
main { overflow-x: clip; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
svg { width: 20px; height: 20px; flex: none; }

.container { width: min(100% - 32px, 1140px); margin-inline: auto; }
.gold { color: var(--gold); }
.center { text-align: center; margin-top: 2.5rem; }

.title {
  font-family: var(--font-head); font-weight: 400;
  font-size: clamp(2.6rem, 10vw, 4.2rem);
  line-height: 1; letter-spacing: .02em; text-transform: uppercase;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  color: var(--gold);
  font-size: .75rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  margin-bottom: .7rem;
}
.eyebrow::before { content: ''; width: 24px; height: 2px; background: currentColor; }
.lead { color: var(--muted); margin: 1rem 0 1.4rem; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .85rem 1.4rem;
  background: var(--gold); color: #141109;
  font-weight: 700; font-size: .95rem;
  border: 2px solid var(--gold); border-radius: 10px;
  transition: transform .25s var(--ease), box-shadow .25s, background .25s;
}
.btn:hover { background: var(--gold-2); border-color: var(--gold-2); transform: translateY(-2px); box-shadow: 0 12px 28px -10px rgba(214,167,86,.6); }
.btn:active { transform: scale(.97); }
.btn--ghost { background: rgba(255,255,255,.06); color: var(--text); border-color: rgba(255,255,255,.28); backdrop-filter: blur(8px); }
.btn--ghost:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.4); box-shadow: none; }
.btn--sm { padding: .5rem 1rem; font-size: .85rem; }
.btn--lg { padding: 1rem 1.6rem; font-size: 1rem; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  transition: background .3s, box-shadow .3s;
}
.header::before {   /* sombra no topo para o menu ficar legível sobre a foto */
  content: ''; position: absolute; inset: 0 0 -40px 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(8,9,10,.92) 0%, rgba(8,9,10,.55) 60%, transparent 100%);
  transition: opacity .3s;
}
.header.is-scrolled { background: rgba(14,15,16,.94); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.header.is-scrolled::before { opacity: 0; }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: flex; align-items: center; gap: .6rem; font-family: var(--font-head); font-size: 1.4rem; letter-spacing: .05em; }
.brand img { width: 40px; height: 40px; border-radius: 50%; }
.brand b { font-weight: 400; color: var(--gold); }
.nav { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 24px) 0 84px;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; will-change: transform; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 18% 50%; animation: heroIn 1.8s var(--ease) both; }
@keyframes heroIn { from { transform: scale(1.15); opacity: .3; } }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,15,16,.55) 0%, rgba(14,15,16,.3) 16%, rgba(14,15,16,.86) 40%, rgba(14,15,16,.94) 70%, var(--bg) 100%); }
.hero__content { text-shadow: 0 2px 14px rgba(0,0,0,.6); }
.hero__content .btn { text-shadow: none; }
.hero__content { position: relative; z-index: 1; }
.hero__shade { z-index: 0; }
.hero__content > * { animation: fadeUp .9s var(--ease) both; }
.hero__content > :nth-child(1) { animation-delay: .2s; }
.hero__content > :nth-child(2) { animation-delay: .35s; }
.hero__content > :nth-child(3) { animation-delay: .45s; }
.hero__content > :nth-child(4) { animation-delay: .55s; }
.hero__content > :nth-child(5) { animation-delay: .65s; }
.hero__content > :nth-child(6) { animation-delay: .75s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } }

.hero__logo { width: 76px; height: 76px; border-radius: 50%; margin-bottom: 1.4rem; box-shadow: 0 0 0 3px rgba(214,167,86,.4), 0 16px 36px rgba(0,0,0,.6); }
.hero__kicker { color: var(--gold); font-weight: 700; font-size: .76rem; letter-spacing: .22em; text-transform: uppercase; }
.hero__title {
  font-family: var(--font-head); font-weight: 400; text-transform: uppercase;
  font-size: clamp(3.6rem, 17vw, 7.5rem); line-height: .9; letter-spacing: .01em;
  margin: .4rem 0 .9rem;
}
.hero__title span { display: block; }
.hero__lead { color: #e4dfd5; font-size: 1.15rem; font-weight: 500; max-width: 460px; margin-bottom: 1.6rem; }
.hero__actions { display: grid; gap: .7rem; margin-bottom: 1.6rem; }
.hero__info { display: grid; gap: .5rem; font-size: .9rem; color: #d3cec4; }
.hero__info li { display: flex; align-items: center; gap: .6rem; }
.hero__info svg { color: var(--gold); width: 18px; height: 18px; }
/* Status com poste de barbeiro: aceso e girando quando aberto, apagado e parado quando fechado */
.status { gap: .75rem; }
.status__text { font-weight: 600; }
.status.is-open .status__text { color: #9be8b4; }
.pole { display: inline-flex; flex-direction: column; align-items: center; flex: none; }
.pole__cap { width: 16px; height: 5px; border-radius: 3px; background: linear-gradient(90deg, #8d8d8d, #e9e9e9, #8d8d8d); }
.pole__glass {
  position: relative; overflow: hidden;
  width: 12px; height: 26px; margin: 1px 0;
  border-radius: 6px;
  background: #fff;
  box-shadow: inset -2px 0 3px rgba(0,0,0,.35), inset 2px 0 3px rgba(255,255,255,.6);
}
.pole__glass i {
  position: absolute; left: 0; right: 0; top: -28px; height: 56px;
  background: repeating-linear-gradient(-50deg, #d63a3a 0 4px, #fff 4px 7px, #2f5fb3 7px 11px, #fff 11px 14px);
}
.status.is-open .pole__glass { box-shadow: inset -2px 0 3px rgba(0,0,0,.25), 0 0 10px 2px rgba(255,255,255,.45), 0 0 18px 4px rgba(214,58,58,.35); }
.status.is-open .pole__glass i { animation: poleSpin .9s linear infinite; }
/* Fechado: gira, desacelera, pisca e apaga */
.status.is-closed .pole__glass i { transform: translateY(7px); animation: poleSpin .9s linear 2, poleStop 1.4s var(--ease) 1.8s both; }
.status.is-closed .pole__glass { filter: grayscale(1) brightness(.45); animation: poleOff 1.2s steps(1) 2.4s both; }
.status.is-closed .status__text { color: #c9c4ba; }
@keyframes poleSpin { to { transform: translateY(14px); } }
@keyframes poleStop { from { transform: translateY(0); } to { transform: translateY(7px); } }
@keyframes poleOff {
  0%   { filter: none; }
  20%  { filter: grayscale(1) brightness(.5); }
  35%  { filter: none; }
  50%  { filter: grayscale(1) brightness(.5); }
  65%  { filter: brightness(.85); }
  100% { filter: grayscale(1) brightness(.45); }
}

/* ---------- Seções ---------- */
.section { padding: 80px 0; }
.section--alt { background: var(--bg-2); }
.section__head { margin-bottom: 2.2rem; }

/* ---------- Serviços ---------- */
.services { display: grid; gap: 1rem; }
.services__group { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.3rem .6rem; }
.services__group h3 {
  font-family: var(--font-head); font-weight: 400; font-size: 1.6rem; letter-spacing: .04em;
  color: var(--gold); margin-bottom: .4rem;
}
.services__group li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: .85rem 0; border-top: 1px solid var(--line);
}
.services__group li span { font-weight: 600; font-size: .97rem; }
.services__group small { display: block; font-weight: 400; color: var(--muted); font-size: .8rem; margin-top: .1rem; }
.services__group b { font-family: var(--font-head); font-weight: 400; font-size: 1.55rem; letter-spacing: .02em; color: var(--text); white-space: nowrap; }

/* ---------- Espaço ---------- */
.amenities { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-bottom: 1.4rem; }
.amenities li {
  display: flex; align-items: center; gap: .6rem;
  padding: .85rem 1rem; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--line);
  font-weight: 600; font-size: .86rem; white-space: nowrap;
}
.amenities svg { color: var(--gold); }

.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "a a" "a a" "b c" "d e";
  grid-auto-rows: 160px;
  gap: .6rem;
}
.g { overflow: hidden; border-radius: var(--radius); background: var(--surface); }
.g--a { grid-area: a; }
.g--b { grid-area: b; }
.g--c { grid-area: c; }
.g--d { grid-area: d; }
.g--e { grid-area: e; }
.g img, .g video { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.g:hover img { transform: scale(1.05); }
.g--a img { object-position: 50% 60%; }
.fine { color: #6e6b66; font-size: .75rem; margin-top: 1rem; }

/* ---------- Profissional ---------- */
.pro { display: grid; gap: 2rem; }
.pro__photo { border-radius: var(--radius); overflow: hidden; }
.pro__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.checks li { position: relative; padding: .7rem 0 .7rem 1.8rem; border-top: 1px solid var(--line); font-size: .95rem; }
.checks li::before { content: '✓'; position: absolute; left: 0; top: .7rem; color: var(--gold); font-weight: 700; }

/* ---------- CTA ---------- */
.cta { position: relative; padding: 90px 0; overflow: hidden; text-align: center; }
.cta__bg { position: absolute; inset: -15% 0; background-size: cover; background-position: center; will-change: transform; }
.cta::before { content: ''; position: absolute; inset: 0; z-index: 1; background: rgba(14,15,16,.82); }
.cta__inner { position: relative; z-index: 2; }
.cta p { color: #d3cec4; margin: .8rem 0 1.8rem; }

/* ---------- Localização ---------- */
.location .lead { margin-bottom: 0; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); height: 360px; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4) contrast(1.05); }

/* ---------- Rodapé ---------- */
.footer { background: #090a0b; border-top: 1px solid var(--line); padding: 56px 0 120px; font-size: .92rem; }
.footer__grid { display: grid; gap: 2rem; }
.footer__brand { display: flex; align-items: center; gap: 1rem; }
.footer__brand img { width: 64px; height: 64px; border-radius: 50%; }
.footer__brand p { font-family: var(--font-head); font-size: 1.5rem; letter-spacing: .04em; line-height: 1.1; }
.footer__brand span { font-family: var(--font-body); font-size: .82rem; color: var(--muted); letter-spacing: 0; }
.footer h3 { font-size: .75rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: .6rem; }
.footer p { color: var(--muted); }
.footer__link { display: inline-block; margin-top: .5rem; font-weight: 600; color: var(--text); border-bottom: 1px solid var(--gold); }
.footer__links li + li { margin-top: .5rem; }
.footer__links a { display: inline-flex; align-items: center; gap: .6rem; color: var(--muted); transition: color .2s; }
.footer__links a:hover, .footer__link:hover { color: var(--gold); }
.footer__links svg { color: var(--gold); width: 18px; height: 18px; }
.footer__copy { text-align: center; color: #55524d; font-size: .78rem; margin-top: 2.5rem; }
.footer__admin { color: #6e6b66; border-bottom: 1px dotted #55524d; transition: color .2s; }
.footer__admin:hover { color: var(--gold); }
.ml { white-space: pre-line; }   /* textos de várias linhas editáveis pelo painel */

/* ---------- Barra fixa (celular) ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  display: flex; gap: .6rem;
  padding: .7rem 16px calc(.7rem + env(safe-area-inset-bottom));
  background: rgba(14,15,16,.92); backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform .45s var(--ease);
}
.mobile-bar.is-visible { transform: none; }
.mobile-bar .btn { flex: 1; padding: .95rem; }
.mobile-bar__whats { width: 54px; flex: none; display: grid; place-items: center; border-radius: 10px; background: #25d366; color: #fff; }
.mobile-bar__whats svg { width: 26px; height: 26px; }

/* ---------- Animações ao rolar ---------- */
[data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal="zoom"] { transform: scale(.92); }
.is-in[data-reveal] { opacity: 1; transform: none; }


/* ---------- Telas maiores ---------- */
@media (min-width: 700px) {
  .hero__actions { display: flex; flex-wrap: wrap; }
  .hero__info { display: flex; flex-wrap: wrap; gap: .6rem 1.8rem; }
  .amenities { grid-template-columns: repeat(4, 1fr); }
  .gallery { grid-template-columns: repeat(4, 1fr); grid-template-areas: "a b c c" "a d e e"; grid-auto-rows: 240px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 960px) {
  :root { --header-h: 76px; }
  .nav { display: flex; gap: 2rem; margin-left: auto; }
  .nav a { color: #ece6db; font-size: .92rem; font-weight: 600; text-shadow: 0 1px 8px rgba(0,0,0,.8); transition: color .2s; }
  .nav a:hover { color: var(--gold); }
  .section { padding: 110px 0; }
  /* texto do topo do lado direito, deixando o logo da Harley visível à esquerda */
  .hero { align-items: center; padding-bottom: 14vh; }
  .hero__content { display: flex; flex-direction: column; align-items: flex-start; padding-left: 52%; }
  .hero__shade { background: linear-gradient(270deg, rgba(14,15,16,.96) 0%, rgba(14,15,16,.8) 42%, rgba(14,15,16,.15) 75%, rgba(14,15,16,.05) 100%), linear-gradient(0deg, var(--bg) 0%, transparent 25%); }
  .hero__media img { object-position: 50% 40%; }
  .hero__title { font-size: clamp(4.5rem, 7.5vw, 6.6rem); }
  .section__head { text-align: center; }
  .section__head .eyebrow::after { content: ''; width: 24px; height: 2px; background: currentColor; }
  .map { height: 440px; }
  .services { grid-template-columns: repeat(3, 1fr); align-items: start; }
  .pro { grid-template-columns: 1.1fr 1fr; align-items: center; gap: 4rem; }
  .footer { padding-bottom: 40px; }
  .footer__grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
  .mobile-bar { left: auto; right: 24px; bottom: 24px; padding: 0; background: none; border: 0; backdrop-filter: none; }
  .mobile-bar .btn { display: none; }
  .mobile-bar__whats { width: 60px; height: 60px; border-radius: 50%; box-shadow: 0 12px 30px rgba(0,0,0,.5); }
}
