/* ==========================================================================
   Quevão Barbeiro — Landing Page
   Tokens: Fundo #16120e · Dourado #c89b4a · Creme #f2e8d5
   Display: Fraunces · Rótulo/Botão: Oswald · Corpo: Inter
   ========================================================================== */

:root {
  --wood: #16120e;
  --wood-alt: #201a14;
  --wood-card: #241d16;
  --line: #382d20;
  --gold: #c89b4a;
  --gold-bright: #e6c17a;
  --cream: #f2e8d5;
  --stone: #a6957a;
  --pole-red: #8a2f2f;
  --pole-blue: #294a5c;
  --pole-cream: #ece2c8;
  --good: #5c9a6b;

  --font-display: "Fraunces", serif;
  --font-label: "Oswald", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius: 3px;
  --radius-lg: 6px;
  --container: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--wood);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--cream);
  background: var(--wood);
  background-image: radial-gradient(ellipse at 18% -8%, rgba(200, 155, 74, 0.1), transparent 45%),
    radial-gradient(ellipse at 100% 8%, rgba(138, 47, 47, 0.08), transparent 42%);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.08;
  margin: 0;
  color: var(--cream);
}

.accent {
  color: var(--gold-bright);
  font-style: italic;
  font-weight: 500;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

a.link {
  color: var(--gold-bright);
}

a.link:hover {
  text-decoration: underline;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--gold);
  font-weight: 500;
}

.section {
  padding: 96px 0;
}

.section--alt {
  background: var(--wood-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 620px;
  margin: 0 0 48px;
}

.section-head h2 {
  font-size: clamp(2rem, 3.8vw, 2.7rem);
  margin-top: 14px;
}

.section-head p {
  margin-top: 16px;
  color: var(--stone);
}

/* -------------------- Buttons -------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
  font-weight: 500;
  padding: 15px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--gold);
  color: var(--wood);
  background: var(--gold);
  transition: background 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease), color 0.2s var(--ease);
}

.btn:hover {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(200, 155, 74, 0.25);
}

.btn-ghost {
  background: transparent;
  color: var(--gold-bright);
}

.btn-ghost:hover {
  background: rgba(200, 155, 74, 0.1);
  color: var(--gold-bright);
}

.btn-small {
  padding: 11px 20px;
  font-size: 0.72rem;
}

.btn-block {
  width: 100%;
  margin-top: 24px;
}

/* -------------------- Header -------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(22, 18, 14, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand__mark {
  flex-shrink: 0;
}

.brand__word {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--cream);
}

.brand__word em {
  color: var(--gold);
  font-style: italic;
  font-weight: 500;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__links {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__links a {
  font-family: var(--font-label);
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--stone);
  transition: color 0.2s ease;
}

.nav__links a:hover {
  color: var(--gold-bright);
}

.nav__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--cream);
  cursor: pointer;
}

.nav__toggle:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
}

.mobile-nav {
  position: fixed;
  top: 76px;
  left: 0;
  right: 0;
  z-index: 49;
  background: var(--wood-alt);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  padding: 4px 24px 20px;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease);
}

.mobile-nav.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-nav a {
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  color: var(--stone);
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.mobile-nav .btn {
  margin-top: 16px;
  border-bottom: none;
}

/* -------------------- Hero -------------------- */

.hero {
  padding: 170px 0 110px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.hero__content h1 {
  font-size: clamp(2.5rem, 5vw, 4.1rem);
  margin-top: 24px;
}

.hero__content .lead {
  margin-top: 24px;
  max-width: 46ch;
  font-size: 1.05rem;
  color: var(--stone);
}

.hero__actions {
  margin-top: 38px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-label);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 11px 18px;
  border-radius: 100px;
  border: 1px solid var(--line);
  color: var(--stone);
}

.status-badge__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--stone);
}

.status-badge.is-open {
  border-color: var(--good);
  color: var(--cream);
}

.status-badge.is-open .status-badge__dot {
  background: var(--good);
  box-shadow: 0 0 0 3px rgba(92, 154, 107, 0.25);
}

.status-badge.is-closed {
  border-color: var(--line);
  color: var(--stone);
}

.hero-note {
  display: block;
  margin-top: 20px;
  font-family: var(--font-label);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stone);
}

.hero__panel {
  background: var(--wood-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  position: relative;
}

.hero__panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: repeating-linear-gradient(-45deg, var(--pole-red) 0 10px, var(--pole-cream) 10px 20px, var(--pole-blue) 20px 30px, var(--pole-cream) 30px 40px);
}

/* -------------------- Ticket / horários (elemento compartilhado) -------------------- */

.ticket__tag {
  display: block;
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  color: var(--gold);
  margin-bottom: 20px;
  font-weight: 500;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}

.hours-row:last-child {
  border-bottom: none;
}

.hours-row span:first-child {
  color: var(--stone);
}

.hours-row span:last-child {
  font-family: var(--font-label);
  font-weight: 500;
  color: var(--cream);
  letter-spacing: 0.03em;
}

/* -------------------- Marquee -------------------- */

.marquee {
  background: var(--wood-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.marquee__track span {
  display: inline-block;
  padding: 14px 0;
  font-family: var(--font-label);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  white-space: nowrap;
  color: var(--gold);
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track {
    animation: none;
  }
  .marquee__track span:last-child {
    display: none;
  }
}

/* -------------------- Tickets de serviço -------------------- */

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

.ticket {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  background: var(--wood-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
}

.ticket--combo {
  border-color: rgba(200, 155, 74, 0.4);
}

.ticket__name {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--cream);
}

.ticket__name em {
  display: block;
  margin-top: 3px;
  font-style: normal;
  font-family: var(--font-label);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.ticket__price {
  font-family: var(--font-label);
  font-weight: 500;
  font-size: 1rem;
  color: var(--gold-bright);
  white-space: nowrap;
}

.price-note {
  margin-top: 32px;
  color: var(--stone);
  font-size: 0.85rem;
}

/* -------------------- Barbeiros -------------------- */

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 760px;
  margin: 0 auto;
}

.team-card {
  --tilt: 0deg;
  background: var(--wood-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}

.team-card--tilt-left {
  --tilt: -1.4deg;
}

.team-card--tilt-right {
  --tilt: 1.4deg;
}

.team-card:hover {
  --tilt: 0deg;
  border-color: var(--gold);
}

.avatar {
  display: block;
  width: 92px;
  height: 92px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 4px var(--wood-card), 0 0 0 5px var(--line);
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar--icon {
  background: var(--wood-alt);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar--icon svg {
  width: 56%;
  height: 56%;
}

.team-card h3 {
  font-size: 1.4rem;
}

.team-card .role {
  display: inline-block;
  margin-top: 6px;
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.68rem;
  color: var(--gold);
}

.team-card .bio {
  margin-top: 16px;
  color: var(--stone);
  font-size: 0.92rem;
}

.socials {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
}

.socials a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-label);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: var(--stone);
  transition: color 0.2s ease;
}

.socials a:hover {
  color: var(--gold-bright);
}

.socials svg {
  width: 16px;
  height: 16px;
}

/* -------------------- Localização -------------------- */

.location__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.info-list {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.info-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

.info-item h4 {
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  color: var(--cream);
  margin: 0 0 4px;
}

.info-item p {
  color: var(--stone);
  font-size: 0.92rem;
}

.hours-panel {
  background: var(--wood-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}

/* -------------------- CTA final -------------------- */

.cta-final {
  text-align: center;
  padding: 110px 0;
}

.cta-final__mark {
  margin: 0 auto 28px;
}

.cta-final h2 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
}

.cta-final p {
  color: var(--stone);
  margin-top: 14px;
  max-width: 44ch;
  margin-left: auto;
  margin-right: auto;
}

.cta-final .btn {
  margin-top: 32px;
  padding: 16px 32px;
  font-size: 0.85rem;
}

/* -------------------- Footer -------------------- */

.site-footer {
  padding: 48px 0 32px;
  border-top: 1px solid var(--line);
}

.site-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fine {
  font-family: var(--font-label);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stone);
}

.socials--footer {
  margin-top: 0;
  gap: 18px;
}

.socials--footer a {
  color: var(--stone);
}

.socials--footer svg {
  width: 20px;
  height: 20px;
}

/* -------------------- Floating WhatsApp -------------------- */

.float-wa {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 60;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease, background 0.2s ease;
}

.float-wa:hover {
  transform: scale(1.06);
  background: var(--gold-bright);
}

.float-wa svg {
  width: 28px;
  height: 28px;
}

/* -------------------- Reveal on scroll -------------------- */

.js .reveal {
  opacity: 0;
  transform: translateY(18px) rotate(var(--tilt, 0deg));
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0) rotate(var(--tilt, 0deg));
}

.team-card.reveal.is-visible:hover {
  transform: translateY(-4px) rotate(var(--tilt, 0deg));
}

/* -------------------- Responsive -------------------- */

@media (max-width: 860px) {
  .nav__links,
  .nav > .btn {
    display: none;
  }

  .nav__toggle {
    display: flex;
  }

  .hero {
    padding: 150px 0 80px;
  }

  .hero__grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }

  .team-card--tilt-left,
  .team-card--tilt-right {
    transform: none;
  }

  .location__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 18px;
  }

  .section {
    padding: 64px 0;
  }

  .hero {
    padding: 120px 0 56px;
  }

  .hero__content .lead {
    font-size: 0.98rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .hero__actions .btn,
  .hero__actions .status-badge {
    justify-content: center;
    text-align: center;
  }

  .hero__panel {
    padding: 28px 22px;
  }

  .section-head {
    margin-bottom: 40px;
  }

  .ticket-grid {
    grid-template-columns: 1fr;
  }

  .cta-final {
    padding: 72px 0;
  }

  .cta-final .btn {
    width: 100%;
  }

  .site-footer .container {
    flex-direction: column;
    text-align: center;
  }

  .float-wa {
    width: 52px;
    height: 52px;
    bottom: 16px;
    right: 16px;
  }

  .float-wa svg {
    width: 24px;
    height: 24px;
  }
}
