/* =============================================
   LYON – Cabeleireiros | Premium
   ============================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:      #080808;
  --black2:     #0f0f0f;
  --black3:     #181818;
  --gold:       #c9a04a;
  --gold-lt:    #e8d196;
  --champagne:  #f0e6c8;
  --white:      #ffffff;
  --off-white:  #f8f7f4;
  --text:       #1c1c1c;
  --muted:      #999;
  --ff-serif:   'Cormorant Garamond', Georgia, serif;
  --ff-sans:    'Jost', system-ui, sans-serif;
  --transition: .3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--ff-sans);
  font-size: 16px;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ---- LAYOUT ---- */
.container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
.container--split { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }
.container--narrow { max-width: 720px; }
.section { padding: 8rem 0; }
.section--dark { background: var(--black2); color: rgba(255,255,255,.75); }
.section--dark .section__label { color: var(--gold); }
.section--dark .section__title { color: var(--white); }

/* ---- SECTION HEAD ---- */
.section__head { text-align: center; margin-bottom: 4.5rem; }
.section__label {
  display: block;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.section__title {
  font-family: var(--ff-serif);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--text);
}
.section__title em { font-style: italic; color: var(--gold); }
.section__line {
  width: 48px;
  height: 1px;
  background: var(--gold);
  opacity: .5;
  margin: 1.5rem auto 0;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .9rem 2.4rem;
  font-family: var(--ff-sans);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}
.btn--gold {
  background: var(--gold);
  color: var(--black);
}
.btn--gold:hover {
  background: var(--gold-lt);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(201,160,74,.25);
}
.btn--outline {
  border: 1px solid rgba(255,255,255,.25);
  color: rgba(255,255,255,.8);
  background: transparent;
}
.btn--outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ---- HEADER ---- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.1rem 0;
  transition: all var(--transition);
}
.header.scrolled {
  background: rgba(8,8,8,.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: .7rem 0;
  border-bottom: 1px solid rgba(201,160,74,.1);
}
.header__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.logo-wrap {
  display: inline-block;
  background: var(--white);
  padding: 5px 14px;
  line-height: 0;
  flex-shrink: 0;
  transition: opacity var(--transition);
}
.logo-wrap:hover { opacity: .88; }
.logo-img { height: 40px; width: auto; display: block; }
.logo-text {
  font-family: var(--ff-serif);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: .12em;
  color: var(--black);
  display: inline-flex;
  flex-direction: column;
  line-height: 1.1;
  padding: 4px 0;
}
.logo-text span { font-size: .48rem; letter-spacing: .22em; font-family: var(--ff-sans); font-weight: 300; }

.nav { display: flex; align-items: center; gap: 2.5rem; }
.nav a {
  font-size: .73rem;
  font-weight: 400;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  text-decoration: none;
  transition: color var(--transition);
}
.nav a:hover { color: var(--gold); }
.nav__cta {
  background: var(--gold) !important;
  color: var(--black) !important;
  padding: .5rem 1.35rem !important;
  font-weight: 500 !important;
  letter-spacing: .1em !important;
  font-size: .72rem !important;
}
.nav__cta:hover {
  background: var(--gold-lt) !important;
  color: var(--black) !important;
  transform: none;
  box-shadow: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 300;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: all var(--transition);
  transform-origin: center;
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--black);
  overflow: hidden;
}
/* grain texture */
.hero::before {
  content: '';
  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='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: .04;
  pointer-events: none;
  z-index: 1;
}
/* ambient gold glow */
.hero::after {
  content: '';
  position: absolute;
  bottom: -15%;
  right: -5%;
  width: 65%;
  height: 75%;
  background: radial-gradient(ellipse, rgba(201,160,74,.07) 0%, transparent 65%);
  pointer-events: none;
  z-index: 1;
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 660px;
  padding: 9rem 2rem 5rem;
  margin-left: max(2rem, calc((100vw - 1100px) / 2));
}
.hero__ornament {
  display: flex;
  align-items: center;
  gap: .8rem;
  color: var(--gold);
  margin-bottom: 1.75rem;
  opacity: .7;
}
.hero__ornament span {
  display: block;
  flex: 0 0 36px;
  height: 1px;
  background: var(--gold);
}
.hero__tag {
  font-size: .68rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 1.5rem;
  display: block;
}
.hero__title {
  font-family: var(--ff-serif);
  font-size: clamp(3.5rem, 8vw, 6.2rem);
  font-weight: 300;
  line-height: 1.02;
  color: var(--white);
  margin-bottom: 1.75rem;
}
.hero__title em { font-style: italic; color: var(--champagne); }
.hero__sub {
  font-size: .98rem;
  font-weight: 300;
  color: rgba(255,255,255,.5);
  max-width: 400px;
  margin-bottom: 2.75rem;
  line-height: 1.85;
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.hero__rating {
  display: flex;
  align-items: center;
  gap: .8rem;
  font-size: .76rem;
  color: rgba(255,255,255,.32);
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255,255,255,.06);
}
.stars { color: var(--gold); letter-spacing: 2px; font-size: .9rem; }

.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero__scroll span {
  display: block;
  width: 1px;
  height: 52px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  45%  { transform: scaleY(1); transform-origin: top; }
  55%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---- SERVICES ---- */
#servicos {
  background: var(--black3);
}
#servicos .section__title { color: var(--white); }
#servicos .section__line { opacity: .35; }

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  padding: 2.75rem 2.25rem 2.5rem;
  position: relative;
  overflow: hidden;
  transition: background var(--transition), border-color var(--transition);
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--gold), var(--gold-lt));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s ease;
}
.service-card:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(201,160,74,.25);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card__num {
  display: block;
  font-family: var(--ff-serif);
  font-size: 3.2rem;
  font-weight: 300;
  color: rgba(201,160,74,.2);
  line-height: 1;
  margin-bottom: .9rem;
  transition: color var(--transition);
}
.service-card:hover .service-card__num { color: rgba(201,160,74,.4); }
.service-card h3 {
  font-family: var(--ff-serif);
  font-size: 1.42rem;
  font-weight: 400;
  color: rgba(255,255,255,.88);
  margin-bottom: .65rem;
  line-height: 1.2;
}
.service-card p {
  font-size: .87rem;
  color: rgba(255,255,255,.38);
  line-height: 1.75;
  font-weight: 300;
}

/* ---- ABOUT ---- */
.about__text .section__label { text-align: left; }
.about__text .section__title { text-align: left; margin-bottom: 1.5rem; }
.about__text p { color: rgba(255,255,255,.55); margin-bottom: 1rem; font-weight: 300; font-size: .97rem; }
.about__badge { display: flex; justify-content: center; align-items: center; }
.badge {
  width: 220px; height: 220px;
  border-radius: 50%;
  border: 1px solid rgba(201,160,74,.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: .4rem;
  padding: 1.5rem;
  position: relative;
}
.badge::before {
  content: '';
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  border: 1px solid rgba(201,160,74,.12);
}
.badge__score {
  font-family: var(--ff-serif);
  font-size: 4rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}
.badge__stars { color: var(--gold); font-size: .95rem; letter-spacing: 3px; }
.badge__label { font-size: .7rem; color: rgba(255,255,255,.38); letter-spacing: .06em; line-height: 1.6; }

/* ---- HOURS ---- */
#horarios {
  background: #f0e9db;
}
#horarios .section__title { color: #1a1209; }

.hours__table {
  border: 1px solid rgba(180,145,80,.2);
  overflow: hidden;
  background: rgba(255,255,255,.55);
  backdrop-filter: blur(4px);
}
.hours__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 1.6rem;
  border-bottom: 1px solid rgba(180,145,80,.15);
  transition: background var(--transition);
}
.hours__row:last-child { border-bottom: none; }
.hours__row:hover { background: rgba(201,160,74,.06); }
.hours__row.today {
  background: rgba(201,160,74,.12);
  border-left: 3px solid var(--gold);
  padding-left: calc(1.6rem - 2px);
}
.hours__row.today .hours__day { color: #1a1209; font-weight: 500; }
.hours__row.today .hours__time { color: var(--gold); font-weight: 400; }
.hours__day { font-size: .93rem; font-weight: 300; color: #5a4a30; }
.hours__time { font-size: .93rem; font-weight: 300; color: #2a1f0e; }
.hours__time--closed { color: #b0a08a; font-style: italic; }

/* ---- CONTACT ---- */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 5rem;
  align-items: start;
}
.contact__info { display: flex; flex-direction: column; gap: 2.25rem; }
.contact__item { display: flex; gap: 1.4rem; align-items: flex-start; }
.contact__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(201,160,74,.28);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-top: .1rem;
  transition: background var(--transition);
}
.contact__item:hover .contact__icon { background: rgba(201,160,74,.06); }
.contact__item strong {
  display: block;
  font-size: .66rem;
  font-weight: 400;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: .4rem;
}
.contact__item p {
  font-size: .92rem;
  color: rgba(255,255,255,.6);
  line-height: 1.75;
  font-weight: 300;
}
.contact__item a {
  color: rgba(255,255,255,.6);
  text-decoration: none;
  transition: color var(--transition);
}
.contact__item a:hover { color: var(--gold); }

/* ---- WHATSAPP FLOAT ---- */
.wa-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,.25), 0 2px 8px rgba(37,211,102,.2);
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}
.wa-float:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,.25), 0 4px 16px rgba(37,211,102,.35);
}
.wa-float::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(37,211,102,.45);
  z-index: -1;
  animation: waPulse 2.5s ease-out infinite;
}
@keyframes waPulse {
  0%   { transform: scale(1); opacity: .6; }
  75%  { transform: scale(1.75); opacity: 0; }
  100% { transform: scale(1.75); opacity: 0; }
}

/* ---- FOOTER ---- */
.footer {
  background: var(--black);
  border-top: 1px solid rgba(201,160,74,.12);
  color: rgba(255,255,255,.28);
  padding: 4rem 0 2.5rem;
}
.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 2.5rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.05);
  flex-wrap: wrap;
  gap: 2rem;
}
.footer__logo {
  height: 48px;
  width: auto;
  background: rgba(255,255,255,.1);
  padding: 6px 14px;
}
.footer__name {
  font-family: var(--ff-serif);
  font-size: 1.5rem;
  color: rgba(255,255,255,.38);
  letter-spacing: .2em;
}
.footer__links { display: flex; gap: 2.5rem; flex-wrap: wrap; }
.footer__links a {
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  text-decoration: none;
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--gold); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
  font-size: .76rem;
}

/* ---- ANIMATIONS ---- */
.animate-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .65s ease, transform .65s ease;
}
.animate-in.visible { opacity: 1; transform: translateY(0); }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
}


@media (max-width: 900px) {
  .container--split { grid-template-columns: 1fr; gap: 3.5rem; }
  .contact__grid { grid-template-columns: 1fr; gap: 3rem; }
  .about__badge { order: -1; }
  .hero__content { margin-left: 0; }
  .footer__top { flex-direction: column; align-items: flex-start; }
  .footer__bottom { flex-direction: column; gap: .25rem; }
  .about__text .section__title,
  .about__text .section__label { text-align: center; }
}

@media (max-width: 640px) {
  .nav {
    display: none;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: rgba(8,8,8,.98);
    justify-content: center;
    align-items: center;
    z-index: 200;
    gap: 0;
    padding: 2rem;
  }
  .nav.open { display: flex; }
  .nav a {
    font-size: 1rem;
    padding: 1rem 1.5rem;
    color: rgba(255,255,255,.65);
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,.05);
  }
  .nav__cta {
    margin-top: 1.25rem !important;
    border: none !important;
    border-bottom: none !important;
    border-radius: 2px !important;
    width: auto !important;
    padding: .85rem 2rem !important;
    font-size: .78rem !important;
  }
  .nav-toggle { display: flex; }

  .section { padding: 5.5rem 0; }
  .hero__title { font-size: 3rem; }
  .hero__content { padding-top: 8rem; padding-bottom: 4rem; }
  .hero__actions { flex-direction: column; }
  .btn { justify-content: center; }

  .services__grid { grid-template-columns: 1fr; gap: 1rem; }

  .hours__row { padding: 1rem 1.2rem; }
  .hours__row.today { padding-left: calc(1.2rem - 2px); }

  .footer__top { align-items: center; text-align: center; }
  .footer__links { justify-content: center; }
  .footer__bottom { text-align: center; justify-content: center; }

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