/* ==============================
   BIEL BARBERSHOP — STYLESHEET
   ============================== */

/* === RESET & BASE === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-dark: #0D0D0D;
  --color-dark-2: #141414;
  --color-dark-3: #1C1C1C;
  --color-gold: #C41530;
  --color-gold-light: #E02040;
  --color-gold-dark: #9A1025;
  --color-cream: #F6F6F6;
  --color-cream-2: #EEEEEE;
  --color-text-light: #F0EDE8;
  --color-text-muted: #9A9090;
  --color-text-dark: #1A1A1A;
  --color-text-dark-2: #444444;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Lato', system-ui, sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-gold: 0 4px 24px rgba(196, 21, 48, 0.28);
  --shadow-dark: 0 8px 32px rgba(0, 0, 0, 0.5);
  --radius: 8px;
  --radius-lg: 16px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--color-dark);
  color: var(--color-text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

/* === UTILITIES === */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-gold { color: var(--color-gold); }

.hide-mobile { display: none; }

@media (min-width: 768px) {
  .hide-mobile { display: inline; }
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--gold {
  background: var(--color-gold);
  color: var(--color-dark);
  border-color: var(--color-gold);
}

.btn--gold:hover {
  background: var(--color-gold-light);
  border-color: var(--color-gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn--outline {
  background: transparent;
  color: var(--color-text-light);
  border-color: rgba(232, 224, 208, 0.4);
}

.btn--outline:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  transform: translateY(-2px);
}

.btn--lg {
  padding: 16px 36px;
  font-size: 1rem;
}

.btn--sm {
  padding: 10px 20px;
  font-size: 0.875rem;
  margin-top: 16px;
}

/* === SECTIONS === */
.section {
  padding: 96px 0;
}

.section--dark {
  background: var(--color-dark-2);
}

.section--light {
  background: var(--color-cream);
  color: var(--color-text-dark);
}

.section__eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 12px;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section__subtitle {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 540px;
}

.section--light .section__subtitle {
  color: var(--color-text-dark-2);
}

.section__header {
  text-align: center;
  margin-bottom: 64px;
}

.section__header .section__subtitle {
  margin: 0 auto;
}

/* === REVEAL ANIMATION === */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==============================
   NAVBAR
   ============================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all var(--transition);
}

.navbar.scrolled {
  background: rgba(17, 17, 17, 0.97);
  backdrop-filter: blur(12px);
  padding: 12px 0;
  border-bottom: 1px solid rgba(196, 21, 48, 0.2);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.navbar__logo {
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-text-light);
  letter-spacing: 0.02em;
}

.logo-accent {
  color: var(--color-gold);
  display: block;
  font-size: 0.75em;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.navbar__menu {
  display: none;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
  transition: color var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-gold);
  transition: width var(--transition);
}

.nav-link:hover {
  color: var(--color-gold);
}

.nav-link:hover::after {
  width: 100%;
}

.navbar__toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.navbar__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text-light);
  border-radius: 2px;
  transition: all var(--transition);
}

.navbar__toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.navbar__toggle.open span:nth-child(2) {
  opacity: 0;
}

.navbar__toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (min-width: 900px) {
  .navbar__menu { display: flex; }
  .navbar__toggle { display: none; }
}

/* Mobile nav */
.navbar__menu.open {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(16px);
  padding: 100px 32px 40px;
  gap: 28px;
  z-index: 999;
}

.navbar__menu.open .nav-link {
  font-size: 1.5rem;
  color: var(--color-text-light);
}

.navbar__menu.open .btn {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}

/* ==============================
   HERO
   ============================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--color-dark);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 40px,
      rgba(196, 21, 48, 0.03) 40px,
      rgba(196, 21, 48, 0.03) 41px
    );
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to bottom, transparent, var(--color-dark));
  pointer-events: none;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 60% 50%,
    rgba(196, 21, 48, 0.07) 0%,
    transparent 70%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-top: 100px;
  padding-bottom: 60px;
  max-width: 720px;
}

.hero__eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 20px;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 24px;
  color: var(--color-text-light);
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--color-text-muted);
  margin-bottom: 48px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.hero__scroll-hint span {
  display: block;
  width: 2px;
  height: 60px;
  background: linear-gradient(to bottom, var(--color-gold), transparent);
  margin: 0 auto;
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(0.7); }
}

/* ==============================
   SOBRE
   ============================== */
.sobre__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
  align-items: start;
}

.sobre__desc {
  color: var(--color-text-dark-2);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.sobre__pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.pillar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 28px;
  background: white;
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--color-gold);
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  transition: transform var(--transition), box-shadow var(--transition);
}

.pillar:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.pillar__icon {
  color: var(--color-gold);
  margin-bottom: 4px;
}

.pillar__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text-dark);
}

.pillar__text {
  font-size: 0.9rem;
  color: var(--color-text-dark-2);
  line-height: 1.6;
}

@media (min-width: 768px) {
  .sobre__pillars {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .sobre__grid {
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
  }
}

/* ==============================
   SERVIÇOS
   ============================== */
.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.service-card {
  position: relative;
  background: var(--color-dark-3);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  border-color: rgba(196, 21, 48, 0.3);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.service-card--featured {
  border-color: rgba(196, 21, 48, 0.4);
  background: linear-gradient(135deg, var(--color-dark-3) 0%, rgba(196, 21, 48, 0.06) 100%);
}

.service-card--featured:hover {
  border-color: var(--color-gold);
}

.service-card__badge {
  position: absolute;
  top: -1px;
  right: 20px;
  background: var(--color-gold);
  color: var(--color-dark);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 0 0 6px 6px;
}

.service-card__icon {
  color: var(--color-gold);
  margin-bottom: 20px;
}

.service-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-light);
  margin-bottom: 12px;
}

.service-card__desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  flex: 1;
}

/* ==============================
   KIDS
   ============================== */
.kids-section {
  background: linear-gradient(135deg, #0e0e0e 0%, #1a0408 50%, #0e0e0e 100%);
  position: relative;
  overflow: hidden;
}

.kids-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(196, 21, 48, 0.08) 0%, transparent 70%);
}

.kids__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.kids__emoji {
  font-size: 3rem;
  margin-bottom: 24px;
  line-height: 1;
}

.kids__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 24px;
  color: var(--color-text-light);
}

.kids__text {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 36px;
}

.kids__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
  max-width: 400px;
  margin: 0 auto 40px;
}

.kids__features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--color-text-light);
}

.kids__features li svg {
  color: var(--color-gold);
  flex-shrink: 0;
}

/* ==============================
   POR QUE NÓS
   ============================== */
.why__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .why__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .why__grid { grid-template-columns: repeat(4, 1fr); }
}

.why-card {
  padding: 32px 24px;
  background: white;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  transition: all var(--transition);
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}

.why-card__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(196, 21, 48, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--color-gold-dark);
}

.why-card__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 10px;
}

.why-card__text {
  font-size: 0.9rem;
  color: var(--color-text-dark-2);
  line-height: 1.65;
}

/* ==============================
   AGENDAMENTO
   ============================== */
.booking-section {
  background: var(--color-dark);
  position: relative;
  overflow: hidden;
}

.booking-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 60px,
      rgba(196, 21, 48, 0.025) 60px,
      rgba(196, 21, 48, 0.025) 61px
    );
}

.booking__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.booking__text {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 40px;
}

.booking__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

/* ==============================
   LOCALIZAÇÃO
   ============================== */
.location__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

@media (min-width: 900px) {
  .location__grid {
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
    align-items: start;
  }
}

.location__info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

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

.location__item-icon {
  width: 44px;
  height: 44px;
  background: rgba(196, 21, 48, 0.12);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold-dark);
  flex-shrink: 0;
  margin-top: 2px;
}

.location__item h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 6px;
}

.location__item p {
  font-size: 0.9rem;
  color: var(--color-text-dark-2);
  line-height: 1.7;
}

.location__link {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-gold-dark);
  transition: color var(--transition);
}

.location__link:hover {
  color: var(--color-gold);
}

.location__note {
  font-size: 0.8rem;
  color: var(--color-text-dark-2);
  opacity: 0.7;
  margin-top: 4px;
  display: block;
}

.location__map {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.map__wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 380px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  border: 2px solid var(--color-cream-2);
}

.map__cta {
  width: 100%;
  justify-content: center;
}

/* ==============================
   SOCIAL
   ============================== */
.social-section {
  background: var(--color-dark-2);
}

.social__inner {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.social__text {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: 40px;
}

.social__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.social__link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  border-radius: var(--radius-lg);
  font-weight: 700;
  font-size: 0.95rem;
  transition: all var(--transition);
  border: 2px solid transparent;
}

.social__link--instagram {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
  color: white;
}

.social__link--instagram:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(253, 29, 29, 0.3);
}

.social__link--facebook {
  background: #1877F2;
  color: white;
}

.social__link--facebook:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(24, 119, 242, 0.3);
}

/* ==============================
   FOOTER
   ============================== */
.footer {
  background: #0A0A0A;
  padding: 64px 0 0;
  border-top: 1px solid rgba(196, 21, 48, 0.15);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

@media (min-width: 640px) {
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .footer__grid { grid-template-columns: 2fr 1fr 1fr; }
}

.footer__tagline {
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  font-style: italic;
}

.footer__address {
  margin-top: 8px;
  font-size: 0.85rem;
  color: rgba(154, 144, 128, 0.7);
  line-height: 1.6;
}

.footer__nav h4,
.footer__contact h4 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 16px;
}

.footer__nav nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__nav a,
.footer__contact a {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  transition: color var(--transition);
  display: block;
}

.footer__nav a:hover,
.footer__contact a:hover {
  color: var(--color-gold);
}

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__contact h4 {
  margin-bottom: 6px;
}

.footer__social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.footer__social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  transition: all var(--transition);
}

.footer__social a:hover {
  background: var(--color-gold);
  color: var(--color-dark);
}

.footer__bottom {
  padding: 20px 0;
  text-align: center;
}

.footer__bottom p {
  font-size: 0.8rem;
  color: rgba(154, 144, 128, 0.5);
}

/* ==============================
   WHATSAPP FLOAT BUTTON
   ============================== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all var(--transition);
  animation: floatPulse 3s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.5);
}

@keyframes floatPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 32px rgba(37, 211, 102, 0.6); }
}

/* ==============================
   DELAY UTILITIES
   ============================== */
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }

.services__grid .reveal:nth-child(1) { transition-delay: 0s; }
.services__grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.services__grid .reveal:nth-child(3) { transition-delay: 0.2s; }
.services__grid .reveal:nth-child(4) { transition-delay: 0.3s; }

.why__grid .reveal:nth-child(1) { transition-delay: 0s; }
.why__grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.why__grid .reveal:nth-child(3) { transition-delay: 0.2s; }
.why__grid .reveal:nth-child(4) { transition-delay: 0.3s; }

/* ==============================
   RESPONSIVE FIXES
   ============================== */
@media (max-width: 480px) {
  .section { padding: 64px 0; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .booking__actions { flex-direction: column; }
  .booking__actions .btn { width: 100%; justify-content: center; }
}
