/* ═══════════════════════════════════════════════════════════
   BRUTUS BARBER CLUB — Main Stylesheet
   Palette: Obsidian Black + Bourbon Gold + Ivory
   Fonts: Cormorant Garamond (display) + Jost (sans)
═══════════════════════════════════════════════════════════ */

:root {
  --black:      #0A0A0A;
  --black-2:    #111111;
  --black-3:    #1A1A1A;
  --gold:       #D4A017;
  --gold-light: #FFD166;
  --gold-dark:  #9A7200;
  --ivory:      #F5F0E8;
  --text-1:     #F0EBE0;
  --text-2:     #9E9580;
  --text-3:     #5A554A;
  --border:     rgba(212, 160, 23, 0.18);
  --border-sub: rgba(240, 235, 224, 0.1);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Jost', 'Helvetica Neue', sans-serif;

  --radius:  4px;
  --radius-lg: 8px;

  --nav-h: 72px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Reset ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--black);
  color: var(--text-1);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ─── Utility ──────────────────────────────────────────── */
.container {
  width: min(1200px, 92vw);
  margin-inline: auto;
}

/* ─── Scroll Reveal ────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1) var(--delay, 0s),
              transform 0.8s cubic-bezier(0.4,0,0.2,1) var(--delay, 0s);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Section Typography ───────────────────────────────── */
.section-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--text-1);
}
.section-title em {
  font-style: italic;
  color: var(--gold);
}
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

/* ─── CTA Button ───────────────────────────────────────── */
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  background: var(--gold);
  color: var(--black);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition),
              box-shadow var(--transition), transform 0.2s;
  white-space: nowrap;
}
.btn-cta:hover {
  background: transparent;
  color: var(--gold);
  box-shadow: 0 0 24px rgba(212,160,23,0.35);
  transform: translateY(-2px);
}
.btn-cta svg { transition: transform 0.3s; flex-shrink: 0; }
.btn-cta:hover svg { transform: translateX(4px); }

.btn-cta--large {
  padding: 1rem 2.4rem;
  font-size: 0.9rem;
}

.btn-outline {
  background: transparent;
  color: var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--black);
}

.btn-whatsapp {
  background: #25D366;
  border-color: #25D366;
  color: #fff;
  margin-top: 1.25rem;
}
.btn-whatsapp:hover {
  background: transparent;
  color: #25D366;
  border-color: #25D366;
}

/* ═══════════════════════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background var(--transition), box-shadow var(--transition);
}
.navbar.scrolled {
  background: rgba(10,10,10,0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: min(1200px, 92vw);
  margin-inline: auto;
}
.nav-logo img {
  height: 44px;
  width: auto;
  filter: brightness(1);
  transition: opacity var(--transition);
}
.nav-logo:hover img { opacity: 0.8; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}
.nav-links a {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-2);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-links a:hover { color: var(--text-1); }
.nav-links a:hover::after { width: 100%; }

.nav-cta { color: var(--black) !important; }
.nav-cta:hover {
  background: var(--gold-light) !important;
  color: var(--black) !important;
  border-color: var(--gold-light) !important;
  box-shadow: 0 0 28px rgba(212,160,23,0.55);
  transform: translateY(-2px);
}
.nav-cta::after { display: none; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-1);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  height: 100svh;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 25%;
  transform: scale(1.05);
  transition: transform 8s ease;
}
.hero:hover .hero-img { transform: scale(1.0); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(10,10,10,0.85) 0%,
    rgba(10,10,10,0.65) 50%,
    rgba(10,10,10,0.80) 100%
  );
}
.hero-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.6;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  padding: 0 1rem;
}
.hero-badge {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border);
  padding: 0.4rem 1.2rem;
  border-radius: 20px;
  background: rgba(212,160,23,0.06);
}
.hero-logo {
  height: 300px;
  width: auto;
  filter: drop-shadow(0 8px 40px rgba(212,160,23,0.45));
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10vw, 8rem);
  font-weight: 300;
  line-height: 0.95;
  color: var(--text-1);
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-headline .line { display: block; }
.hero-headline .italic {
  font-style: italic;
  color: var(--gold);
}
.hero-sub {
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-2);
  max-width: 420px;
  line-height: 1.75;
}
.btn-hero {
  padding: 1rem 2.5rem;
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  z-index: 2;
  animation: fadeUp 1s 2.5s both;
}
.hero-scroll-hint span {
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-3);
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; height: 32px; }
  50% { opacity: 1; height: 48px; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateX(-50%) translateY(16px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ═══════════════════════════════════════════════════════════
   SERVICES
═══════════════════════════════════════════════════════════ */
.services {
  padding: 7rem 0 5rem;
  background: var(--black-2);
  position: relative;
}
.services::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.4;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2px;
}

.service-card {
  padding: 3rem 2.5rem;
  background: var(--black-3);
  position: relative;
  transition: background var(--transition), transform var(--transition);
  cursor: default;
}
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}
.service-card:hover {
  background: rgba(212,160,23,0.04);
  transform: translateY(-4px);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 56px; height: 56px;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
  color: var(--text-1);
}
.service-card p {
  color: var(--text-2);
  font-size: 0.9rem;
  line-height: 1.8;
}
.service-line {
  width: 32px;
  height: 1px;
  background: var(--gold);
  margin-top: 2rem;
  opacity: 0.6;
}

.services-cta {
  text-align: center;
  margin-top: 3.5rem;
}

/* ═══════════════════════════════════════════════════════════
   GALLERY
═══════════════════════════════════════════════════════════ */
.gallery {
  padding: 7rem 0;
  background: var(--black);
}
.gallery-header {
  text-align: center;
  margin-bottom: 3rem;
  padding: 0 1rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  padding: 0;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  cursor: pointer;
}

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.gallery-item:hover img { transform: scale(1.06); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10,10,10,0.7));
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* ═══════════════════════════════════════════════════════════
   ABOUT
═══════════════════════════════════════════════════════════ */
.about {
  padding: 7rem 0;
  background: var(--black-2);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about-img-wrap {
  position: relative;
}
.about-img-wrap img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--radius);
}
.about-img-accent {
  position: absolute;
  bottom: -20px; right: -20px;
  width: 60%;
  height: 60%;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  opacity: 0.3;
  pointer-events: none;
  z-index: -1;
}

.about-text-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.about-text-col p {
  color: var(--text-2);
  font-size: 0.95rem;
  line-height: 1.85;
}

.about-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border-sub);
  border-bottom: 1px solid var(--border-sub);
  margin: 0.5rem 0;
}
.stat { text-align: center; }
.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}
.stat-number sup { font-size: 1rem; }
.stat-label {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-top: 0.3rem;
  display: block;
}
.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border-sub);
}

/* ═══════════════════════════════════════════════════════════
   FEATURES
═══════════════════════════════════════════════════════════ */
.features {
  padding: 7rem 0;
  background: var(--black);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
}
.feature-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.5rem;
  padding: 2.5rem;
  background: var(--black-3);
  border: 1px solid var(--border-sub);
  transition: border-color var(--transition), background var(--transition);
}
.feature-item:hover {
  border-color: var(--border);
  background: rgba(212,160,23,0.03);
}
.feature-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  color: var(--gold);
  opacity: 0.35;
  line-height: 1;
  align-self: start;
  transition: opacity var(--transition);
}
.feature-item:hover .feature-num { opacity: 0.7; }
.feature-body h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
  color: var(--text-1);
}
.feature-body p {
  color: var(--text-2);
  font-size: 0.875rem;
  line-height: 1.8;
}

/* ═══════════════════════════════════════════════════════════
   CTA BAND
═══════════════════════════════════════════════════════════ */
.cta-band {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.cta-band-bg {
  position: absolute;
  inset: 0;
}
.cta-band-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 60%;
  filter: brightness(0.5) saturate(0.8);
}
.cta-band-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10,10,10,0.9),
    rgba(30,20,5,0.75)
  );
}
.cta-band-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}
.cta-band-content h2 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 300;
  color: var(--text-1);
  line-height: 1.1;
}
.cta-band-content em { font-style: italic; color: var(--gold); }

/* ═══════════════════════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════════════════════ */
.contact {
  padding: 7rem 0;
  background: var(--black-2);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.contact-item {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border-sub);
}
.contact-item:last-child { border-bottom: none; }
.contact-icon {
  width: 22px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--gold);
}
.contact-icon svg { width: 20px; height: 20px; }
.contact-item strong {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.3rem;
  font-weight: 500;
}
.contact-item p, .contact-link {
  color: var(--text-2);
  font-size: 0.9rem;
  line-height: 1.65;
}
.contact-link { transition: color var(--transition); }
.contact-link:hover { color: var(--gold); }

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-sub);
}
.contact-map iframe { display: block; }

/* ═══════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════ */
.footer {
  background: var(--black);
  border-top: 1px solid var(--border-sub);
}
.footer-top { padding: 5rem 0 3rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
}

.footer-logo {
  height: 52px;
  width: auto;
  margin-bottom: 1rem;
  opacity: 0.9;
}
.footer-brand p {
  color: var(--text-3);
  font-size: 0.85rem;
  line-height: 1.7;
}

.footer-links-col h4 {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.footer-links-col ul li + li { margin-top: 0.6rem; }
.footer-links-col a {
  color: var(--text-3);
  font-size: 0.875rem;
  transition: color var(--transition);
}
.footer-links-col a:hover { color: var(--text-1); }

.footer-hours {
  color: var(--text-3);
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.footer-cta {
  padding: 0.65rem 1.4rem;
  font-size: 0.75rem;
}

.footer-bottom {
  border-top: 1px solid var(--border-sub);
  padding: 1.5rem 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom p {
  color: var(--text-3);
  font-size: 0.8rem;
}
.footer-legal {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.footer-legal a {
  color: var(--text-3);
  font-size: 0.8rem;
  transition: color var(--transition);
}
.footer-legal a:hover { color: var(--gold); }
.footer-legal span { color: var(--text-3); opacity: 0.4; }

/* ═══════════════════════════════════════════════════════════
   INNER PAGE (Termos / Privacidade)
═══════════════════════════════════════════════════════════ */
.inner-hero {
  padding: calc(var(--nav-h) + 5rem) 0 4rem;
  background: var(--black-2);
  text-align: center;
  border-bottom: 1px solid var(--border-sub);
}
.inner-hero .section-tag { display: block; margin-bottom: 0.75rem; }

.inner-content {
  padding: 5rem 0 7rem;
  background: var(--black);
}
.inner-content .container {
  max-width: 760px;
}
.prose {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.prose h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--gold);
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-sub);
}
.prose h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text-1);
}
.prose p, .prose li {
  color: var(--text-2);
  font-size: 0.95rem;
  line-height: 1.9;
}
.prose ul { padding-left: 1.5rem; list-style: disc; }
.prose li + li { margin-top: 0.4rem; }
.prose strong { color: var(--text-1); font-weight: 500; }
.prose a { color: var(--gold); text-decoration: underline; }
.prose .meta {
  font-size: 0.8rem;
  color: var(--text-3);
  font-style: italic;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-image-col { max-width: 480px; margin-inline: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --nav-h: 60px; }

  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: rgba(10,10,10,0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    gap: 0;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-sub);
    transform: translateY(-110%);
    transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
    z-index: 999;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 0.9rem 2rem;
    font-size: 0.85rem;
  }
  .nav-links a::after { display: none; }
  .nav-cta {
    margin: 0.5rem 2rem;
    text-align: center;
    justify-content: center;
  }

  .hero-headline { font-size: clamp(2.8rem, 12vw, 5rem); }
  .hero-logo { height: 200px; }

  .services-grid { grid-template-columns: 1fr; gap: 2px; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-brand { text-align: center; }
  .footer-brand .btn-whatsapp { margin-inline: auto; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }

  .about-stats { gap: 1.2rem; }
  .stat-number { font-size: 1.8rem; }

  .feature-item { grid-template-columns: 50px 1fr; gap: 1rem; padding: 1.75rem; }
  .feature-num { font-size: 2rem; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
